diff options
author | Robin H. Johnson <robbat2@gentoo.org> | 2003-08-01 05:02:39 +0000 |
---|---|---|
committer | Robin H. Johnson <robbat2@gentoo.org> | 2003-08-01 05:02:39 +0000 |
commit | 41ba17bfe8547b6c9e8550c7c9f16b9e4e0cfa34 (patch) | |
tree | aa8fb7a29cbdb750944c3aa24a27e5518c77806c /net-mail/qlogtools | |
parent | initial commit (diff) | |
download | historical-41ba17bfe8547b6c9e8550c7c9f16b9e4e0cfa34.tar.gz historical-41ba17bfe8547b6c9e8550c7c9f16b9e4e0cfa34.tar.bz2 historical-41ba17bfe8547b6c9e8550c7c9f16b9e4e0cfa34.zip |
initial commit
Diffstat (limited to 'net-mail/qlogtools')
-rw-r--r-- | net-mail/qlogtools/Manifest | 7 | ||||
-rw-r--r-- | net-mail/qlogtools/files/digest-qlogtools-3.1 | 1 | ||||
-rw-r--r-- | net-mail/qlogtools/files/qlogtools-3.1-errno.patch | 13 | ||||
-rw-r--r-- | net-mail/qlogtools/qlogtools-3.1.ebuild | 39 |
4 files changed, 56 insertions, 4 deletions
diff --git a/net-mail/qlogtools/Manifest b/net-mail/qlogtools/Manifest index a0a6ebe44982..80589a425bf6 100644 --- a/net-mail/qlogtools/Manifest +++ b/net-mail/qlogtools/Manifest @@ -1,5 +1,4 @@ -MD5 23756999e0720945a74f7ac0f979efa9 qlogtools-3.1.ebuild 974 -MD5 23756999e0720945a74f7ac0f979efa9 qlogtools-3.1.ebuild~ 974 -MD5 2522f348421a6acab16c6bf15e7d9e4c ChangeLog 358 -MD5 c96a370699200816c4726353815e3ea2 files/digest-qmail-qfilter-1.5 68 +MD5 d07a2c9de8ea653738c7caf84473a156 qlogtools-3.1.ebuild 1001 +MD5 736cd80f9c5e8624edc5a2eb3e3df2a4 ChangeLog 377 MD5 2df904dc305771de6a4c777478ec8712 files/digest-qlogtools-3.1 64 +MD5 691cfa100503c2769d798b04b47dba04 files/qlogtools-3.1-errno.patch 348 diff --git a/net-mail/qlogtools/files/digest-qlogtools-3.1 b/net-mail/qlogtools/files/digest-qlogtools-3.1 new file mode 100644 index 000000000000..47769b14d87c --- /dev/null +++ b/net-mail/qlogtools/files/digest-qlogtools-3.1 @@ -0,0 +1 @@ +MD5 8f2ed59f16006c456c4b5a896308de7e qlogtools-3.1.tar.gz 20868 diff --git a/net-mail/qlogtools/files/qlogtools-3.1-errno.patch b/net-mail/qlogtools/files/qlogtools-3.1-errno.patch new file mode 100644 index 000000000000..b080e1d285f8 --- /dev/null +++ b/net-mail/qlogtools/files/qlogtools-3.1-errno.patch @@ -0,0 +1,13 @@ +diff -ur qlogtools-3.1.orig/qfilelog.c qlogtools-3.1/qfilelog.c +--- qlogtools-3.1.orig/qfilelog.c 2001-06-12 14:41:47.000000000 -0700 ++++ qlogtools-3.1/qfilelog.c 2003-07-31 21:52:51.000000000 -0700 +@@ -3,8 +3,7 @@ + #include <stdlib.h> + #include <string.h> + #include <unistd.h> +- +-extern int errno; ++#include <errno.h> + + #define PAUSE sleep(60) + diff --git a/net-mail/qlogtools/qlogtools-3.1.ebuild b/net-mail/qlogtools/qlogtools-3.1.ebuild new file mode 100644 index 000000000000..43986a1109e4 --- /dev/null +++ b/net-mail/qlogtools/qlogtools-3.1.ebuild @@ -0,0 +1,39 @@ +# Copyright 1999-2003 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/net-mail/qlogtools/qlogtools-3.1.ebuild,v 1.1 2003/08/01 05:02:36 robbat2 Exp $ + +S=${WORKDIR}/${P} +DESCRIPTION="Qmail Log processing tools" +SRC_URI="http://untroubled.org/qlogtools/${P}.tar.gz" +HOMEPAGE="http://untroubled.org/qlogtools/" + +SLOT="0" +LICENSE="GPL-2" +KEYWORDS="~x86 ~sparc ~ppc" + +DEPEND="virtual/glibc" +RDEPEND="" + +src_unpack() { + unpack ${A} + patch -p1 -d ${P} < ${FILESDIR}/qlogtools-3.1-errno.patch +} + +src_compile() { + cd ${S} + echo "${CC} ${CFLAGS}" > conf-cc + echo "${CC} ${LDFLAGS}" > conf-ld + echo "${D}/usr/bin" > conf-bin + echo "${D}/usr/share/man/" > conf-man + emake || die +} + +src_install () { + dodir /usr/bin /usr/share/man/ + ./installer || die "Installer failed" + dodoc ANNOUNCEMENT COPYING FILES NEWS README TARGETS VERSION +} + +pkg_postinst() { + einfo "Please see /usr/share/doc/${PF}/README for configuration information" +} |