diff options
Diffstat (limited to 'net-analyzer/iplog/iplog-2.2.3-r2.ebuild')
-rw-r--r-- | net-analyzer/iplog/iplog-2.2.3-r2.ebuild | 36 |
1 files changed, 36 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..4bb47dd40553 --- /dev/null +++ b/net-analyzer/iplog/iplog-2.2.3-r2.ebuild @@ -0,0 +1,36 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 +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="alpha ~mips ppc sparc x86 ~amd64" + +DEPEND="net-libs/libpcap" +RDEPEND="${DEPEND}" + +src_prepare() { + epatch "${FILESDIR}"/${PV}-DLT_LINUX_SSL.patch +} + +src_compile() { + emake CFLAGS="${CFLAGS} -D_REENTRANT" all +} + +src_install() { + emake \ + prefix="${D}"/usr \ + mandir="${D}"/usr/share/man \ + install + + dodoc AUTHORS NEWS README TODO example-iplog.conf + + newinitd "${FILESDIR}"/iplog.rc6 iplog +} |