summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobin H. Johnson <robbat2@gentoo.org>2003-10-27 05:50:53 +0000
committerRobin H. Johnson <robbat2@gentoo.org>2003-10-27 05:50:53 +0000
commit9815cec74a983b79a807551adb1df2071d677883 (patch)
tree76deb841c516b4bc25bbff259a1897559ccff94f /net-analyzer/iplog/iplog-2.2.3-r2.ebuild
parentadd my own startup script for iplog (diff)
downloadgentoo-2-9815cec74a983b79a807551adb1df2071d677883.tar.gz
gentoo-2-9815cec74a983b79a807551adb1df2071d677883.tar.bz2
gentoo-2-9815cec74a983b79a807551adb1df2071d677883.zip
add my own startup script for iplog
Diffstat (limited to 'net-analyzer/iplog/iplog-2.2.3-r2.ebuild')
-rw-r--r--net-analyzer/iplog/iplog-2.2.3-r2.ebuild38
1 files changed, 38 insertions, 0 deletions
diff --git a/net-analyzer/iplog/iplog-2.2.3-r2.ebuild b/net-analyzer/iplog/iplog-2.2.3-r2.ebuild
new file mode 100644
index 000000000000..0925008d8ed2
--- /dev/null
+++ b/net-analyzer/iplog/iplog-2.2.3-r2.ebuild
@@ -0,0 +1,38 @@
+# Copyright 1999-2003 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-analyzer/iplog/iplog-2.2.3-r2.ebuild,v 1.1 2003/10/27 05:50:50 robbat2 Exp $
+
+inherit eutils
+
+DESCRIPTION="iplog is a TCP/IP traffic logger"
+HOMEPAGE="http://ojnk.sourceforge.net/"
+SRC_URI="mirror://sourceforge/ojnk/${P}.tar.gz"
+
+LICENSE="GPL-2 | FDL-1.1"
+SLOT="0"
+KEYWORDS="~x86 ~ppc ~sparc"
+
+DEPEND="net-libs/libpcap"
+
+src_unpack() {
+ unpack ${A}
+ cd ${S}
+ epatch ${FILESDIR}/${PV}-DLT_LINUX_SSL.patch
+}
+
+src_compile() {
+ econf || die
+ make CFLAGS="${CFLAGS} -D_REENTRANT" all || die
+}
+
+src_install() {
+ make \
+ prefix=${D}/usr \
+ mandir=${D}/usr/share/man \
+ install || die
+ dodoc AUTHORS COPYING.* NEWS README TODO example-iplog.conf
+ into /
+ insinto /etc/init.d
+ newins ${FILESDIR}/iplog.rc6 iplog
+ chmod +x ${D}/etc/init.d/iplog
+}