summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobin H. Johnson <robbat2@gentoo.org>2003-08-01 05:02:39 +0000
committerRobin H. Johnson <robbat2@gentoo.org>2003-08-01 05:02:39 +0000
commit386a4cb93cba1a4a2b5d9a0626926a1b002f69c0 (patch)
tree43c1fe5d7126c4f60ac009f0c71298ca44a86dc1 /net-mail/qlogtools
parentinitial commit (diff)
downloadgentoo-2-386a4cb93cba1a4a2b5d9a0626926a1b002f69c0.tar.gz
gentoo-2-386a4cb93cba1a4a2b5d9a0626926a1b002f69c0.tar.bz2
gentoo-2-386a4cb93cba1a4a2b5d9a0626926a1b002f69c0.zip
initial commit
Diffstat (limited to 'net-mail/qlogtools')
-rw-r--r--net-mail/qlogtools/ChangeLog10
-rw-r--r--net-mail/qlogtools/Manifest7
-rw-r--r--net-mail/qlogtools/files/digest-qlogtools-3.11
-rw-r--r--net-mail/qlogtools/files/qlogtools-3.1-errno.patch13
-rw-r--r--net-mail/qlogtools/qlogtools-3.1.ebuild39
5 files changed, 66 insertions, 4 deletions
diff --git a/net-mail/qlogtools/ChangeLog b/net-mail/qlogtools/ChangeLog
new file mode 100644
index 000000000000..fdcbd09b398a
--- /dev/null
+++ b/net-mail/qlogtools/ChangeLog
@@ -0,0 +1,10 @@
+# ChangeLog for net-mail/qlogtools
+# Copyright 2000-2003 Gentoo Technologies, Inc.; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/net-mail/qlogtools/ChangeLog,v 1.1 2003/08/01 05:02:36 robbat2 Exp $
+
+*qlogtools-3.1 (31 Jul 2003)
+
+ 31 Jul 2003; RObin H. Johnson <robbat2@gentoo.org> qlogtools-3.1.ebuild,
+ files/qlogtools-3.1-errno.patch:
+ Initial commit
+
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"
+}