summaryrefslogtreecommitdiff
path: root/net-analyzer/ippl
diff options
context:
space:
mode:
Diffstat (limited to 'net-analyzer/ippl')
-rw-r--r--net-analyzer/ippl/Manifest4
-rw-r--r--net-analyzer/ippl/files/ippl-1.4.14-fix-build-system.patch44
-rw-r--r--net-analyzer/ippl/ippl-1.4.14-r3.ebuild54
-rw-r--r--net-analyzer/ippl/ippl-1.4.14-r5.ebuild56
-rw-r--r--net-analyzer/ippl/ippl-1.4.14-r6.ebuild46
5 files changed, 92 insertions, 112 deletions
diff --git a/net-analyzer/ippl/Manifest b/net-analyzer/ippl/Manifest
index e992e13dfe08..47b68e2f092f 100644
--- a/net-analyzer/ippl/Manifest
+++ b/net-analyzer/ippl/Manifest
@@ -1,3 +1,4 @@
+AUX ippl-1.4.14-fix-build-system.patch 1031 BLAKE2B 93a35f8dcd2955e3189b459b3758427b4405468cc639a7eb911854076327427f205370555542a86a6e0f7580e0f24007c896be46eaad19f6a38ad3a99679a519 SHA512 1c360bd88f8bf82cc7e739d71f0ee260cd87926658be43bbbf3450fd15647a590d5b79846759f9342806dbd13cd1ebec2a30830ed59081b21e6d295ef584408c
AUX ippl-1.4.14-format-warnings.patch 645 BLAKE2B 24d9d12e456fc5686c04ed003dcf7c7b4e3c3c9188fda4c36c14a052740d0286c6c617c36965f06ab212c73c6ac2ef330ab39d2bb8eb3c60802f451b0399db1b SHA512 e3b247d5628883c4bbc5ae24e39bf4ef0910ed15dbcc7a13d586eddbea6ee1dfa5de1c4252c07fa87564da60febbb200f0e78a58cf29547db4b7446eebc73544
AUX ippl-1.4.14-includes.patch 374 BLAKE2B 8f870033fa01978bba0d0e950c74ddc6e06a5d82bdd411aa1b561cdae8f5ff6c901dc0b70db638bc91176038e156a0ecc3fd588f3d8898a77a4722b7b746cee1 SHA512 5e7c8ab27770e3f50d09ee7e1f68246828d1b540a87c50c5c1afb3bbbe646af3b3d71369dfe2e41a1f04c306d88b8ef20f2be80edca8c201f7cb6d8c5539dfc9
AUX ippl-1.4.14-manpage.patch 306 BLAKE2B 46c9901a4f365bceb67610bf1ecc4fb5be0011320af552a7afcaf2ec863de972d523f81436c60a81bcbeada3056f1e246c3ec5bf125c518ab03e637c6f74332e SHA512 4dc5b6ad12875c94a5b86ca380aeabb003734aabfd54b97edba20614b449dab35d8ba748e8faeda8a2bf2608158d4dd5c6e34c82b664ddf4fd12710ab81498ef
@@ -5,6 +6,5 @@ AUX ippl-1.4.14-noportresolve.patch 10610 BLAKE2B 94061b2dac8aeb383b149ced13d8a6
AUX ippl-1.4.14-privilege-drop.patch 4289 BLAKE2B 456854f3a9df7d802a5a18ba98a657cb61ddbf52fbeb05a9098c7854dc3f7fe0c6a93a525bfd2d0c02b69092d491effe8099dfefebca08fd9a0c08c8c8ff7bcb SHA512 7b711bd0ac56867a6936035f63b047c1e86fe072f215dcc18eb8dada58d1087964a29b05c1eadef0303d203329a91a053e747c997d78ecd1697788e9f7a15f2f
AUX ippl.rc 573 BLAKE2B c70512acb076fc08e0106bcac078463e7e0d37697c2dee7cc6ebd1cffb726239838d7da4794ce1e70a5b4a9e2169019b7b463c1d3a28778afc03daad8b163673 SHA512 2aadbb7cf33c83addef03e7815dd5d6c6a983ee0b269677d251a3b4550e2c038db4436b03a27024ea5ce12f0ca1eb2b87f33ba267e78f70afb06436119b99396
DIST ippl-1.4.14.tar.gz 54030 BLAKE2B 384747ea50e55e52695606538850958320afe53dbe3c71e42c90302dff0b535d2167d18a40f0b2953f941cda1aa238490bfe7b7fde8f675071668ea5f561af74 SHA512 3d71afc3ec7a0420cc9b269bf67dc008a777464c68d233dfbad4ee7a2dd2b960e114500e42866977e31b9dbeee26bbefea937fef8a09aa41cf87f96361ba0088
-EBUILD ippl-1.4.14-r3.ebuild 1164 BLAKE2B 6077913dff48feaed40e8e37945c9ffaf89be2614748f9d4cb95349ed0edb8cc7f8cc7b6f6656581d090c77081c723ee19ca1f46f948c1f2bd7f11cafa2ec099 SHA512 1d840eb3757d941ba84955d80799425f45732db03151b5b00e45a6cf7e97b84ed7b4c3c017677d99748cb8d88b1b119796acc6ea01c0a5b1938022416fa85c1c
-EBUILD ippl-1.4.14-r5.ebuild 1133 BLAKE2B 2d29cba5a827c13d122257585a621c9104f3fe4f09fe8adf1775f315a1b0a9936c19daa5ddf53e02488f5427cb4887645e26552e5f02efe8b8922fcc49fbf988 SHA512 6da05595f41493eee312d43f6120ebb961806e949a132a28541d38e0b501305650b51e386bd08f89d709afd4b56a28380eb0014ddb56e274625e84af319669ce
+EBUILD ippl-1.4.14-r6.ebuild 938 BLAKE2B 25fc383a267fb292660407110b346ffb1d1cd0d7e00a3bca9fe5e79e549fb4ac22a6247ff92b596e4a6b252e49bf34c5fd0f604bc021b87c70ca59c3d4972e32 SHA512 43d60378476a2e18bbeb1b80dc118a8080dd454b758b26a6209700f83cd23c2f50e321dff517fbc9a0882dc7dca4dd3a1c4141fb51e683f23975df37e0669b8e
MISC metadata.xml 276 BLAKE2B e21811549278e73aa9a14acfe242fd022106a39ac1300caa00615772d7f54d08a433052659a271f9ac0d453c7776fc2b9e8d86e6d3f637817c214174dde52cb2 SHA512 f0e6c6bc89659e01e157d9bf30d0a2f3fd2d71bc26c8d12489c4a44fc5237159946e25b46e7295ab4676aea63559194977a0b1e76aced31d81cf6387dd0f4250
diff --git a/net-analyzer/ippl/files/ippl-1.4.14-fix-build-system.patch b/net-analyzer/ippl/files/ippl-1.4.14-fix-build-system.patch
new file mode 100644
index 000000000000..c6c65cb14d50
--- /dev/null
+++ b/net-analyzer/ippl/files/ippl-1.4.14-fix-build-system.patch
@@ -0,0 +1,44 @@
+--- a/Makefile.in
++++ b/Makefile.in
+@@ -11,10 +11,10 @@
+ all: binary docs
+
+ binary: Makefile Source/Makefile
+- @cd Source && make && cd ..
++ @cd Source && $(MAKE) && cd ..
+
+ docs:
+- @cd Docs && make && cd ..
++ @cd Docs && $(MAKE) && cd ..
+
+ install: all
+ $(INSTALL) -d -m 755 $(SBINDIR)
+@@ -29,7 +29,7 @@
+ $(INSTALL) -m 644 Docs/ippl.conf.5 $(MANDIR)/man5/ippl.conf.5
+
+ clean:
+- @cd Source && make clean && cd .. && cd Docs && make clean && cd ..
++ @cd Source && $(MAKE) clean && cd .. && cd Docs && $(MAKE) clean && cd ..
+
+ distclean: clean
+ $(RM) *~ Makefile.common Makefile Source/Makefile Docs/Makefile build-stamp install-stamp
+--- a/Source/Makefile.in
++++ b/Source/Makefile.in
+@@ -10,7 +10,7 @@
+ CC=@CC@
+ CFLAGS=@CFLAGS@
+ WARNINGS=-Wall@PEDANTIC@
+-LDFLAGS=
++LDFLAGS=@LDFLAGS@
+
+ SRCS= main.c \
+ configuration.c \
+@@ -49,7 +49,7 @@
+ y.tab.c: ippl.y Makefile ../Makefile.common
+ $(YACC) -d $<
+
+-lex.yy.c: ippl.l Makefile ../Makefile.common
++lex.yy.c: ippl.l y.tab.c Makefile ../Makefile.common
+ $(LEX) $<
+
+ clean:
diff --git a/net-analyzer/ippl/ippl-1.4.14-r3.ebuild b/net-analyzer/ippl/ippl-1.4.14-r3.ebuild
deleted file mode 100644
index 9f807cd264aa..000000000000
--- a/net-analyzer/ippl/ippl-1.4.14-r3.ebuild
+++ /dev/null
@@ -1,54 +0,0 @@
-# Copyright 1999-2013 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI="4"
-
-inherit eutils toolchain-funcs user
-
-DESCRIPTION="A daemon which logs TCP/UDP/ICMP packets"
-HOMEPAGE="http://pltplp.net/ippl/"
-SRC_URI="http://pltplp.net/ippl/archive/${P}.tar.gz"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="amd64 ~ppc x86"
-IUSE=""
-
-DEPEND="virtual/yacc
- >=sys-devel/flex-2.5.4a-r4"
-RDEPEND=""
-
-src_prepare() {
- epatch \
- "${FILESDIR}"/ippl-1.4.14-noportresolve.patch \
- "${FILESDIR}"/ippl-1.4.14-manpage.patch \
- "${FILESDIR}"/ippl-1.4.14-privilege-drop.patch \
- "${FILESDIR}"/ippl-1.4.14-includes.patch
- sed -i Source/Makefile.in \
- -e 's|^LDFLAGS=|&@LDFLAGS@|g' \
- || die "sed Source/Makefile.in"
- sed -i Makefile.in \
- -e 's|make |$(MAKE) |g' \
- || die "sed Makefile.in"
- # fix for bug #351287
- sed -i -e '/lex.yy.c/s/ippl.l/& y.tab.c/' Source/Makefile.in \
- || die "sed src/Makefile.in"
- tc-export CC
-}
-
-src_install() {
- dosbin Source/ippl
-
- insinto "/etc"
- doins ippl.conf
-
- doman Docs/{ippl.8,ippl.conf.5}
-
- dodoc BUGS CREDITS HISTORY README TODO
-
- newinitd "${FILESDIR}"/ippl.rc ippl
-}
-
-pkg_postinst() {
- enewuser ippl
-}
diff --git a/net-analyzer/ippl/ippl-1.4.14-r5.ebuild b/net-analyzer/ippl/ippl-1.4.14-r5.ebuild
deleted file mode 100644
index e436f03ac433..000000000000
--- a/net-analyzer/ippl/ippl-1.4.14-r5.ebuild
+++ /dev/null
@@ -1,56 +0,0 @@
-# Copyright 1999-2015 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=5
-inherit eutils toolchain-funcs user
-
-DESCRIPTION="A daemon which logs TCP/UDP/ICMP packets"
-HOMEPAGE="http://pltplp.net/ippl/"
-SRC_URI="http://pltplp.net/ippl/archive/${P}.tar.gz"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="amd64 ~ppc x86"
-
-DEPEND="virtual/yacc
- >=sys-devel/flex-2.5.4a-r4"
-
-src_prepare() {
- epatch \
- "${FILESDIR}"/ippl-1.4.14-noportresolve.patch \
- "${FILESDIR}"/ippl-1.4.14-manpage.patch \
- "${FILESDIR}"/ippl-1.4.14-privilege-drop.patch \
- "${FILESDIR}"/ippl-1.4.14-includes.patch \
- "${FILESDIR}"/ippl-1.4.14-format-warnings.patch
-
- sed -i Source/Makefile.in \
- -e 's|^LDFLAGS=|&@LDFLAGS@|g' \
- || die
-
- sed -i Makefile.in \
- -e 's|make |$(MAKE) |g' \
- || die
-
- # fix for bug #351287
- sed -i -e '/lex.yy.c/s/ippl.l/& y.tab.c/' Source/Makefile.in \
- || die
-
- tc-export CC
-}
-
-src_install() {
- dosbin Source/ippl
-
- insinto "/etc"
- doins ippl.conf
-
- doman Docs/{ippl.8,ippl.conf.5}
-
- dodoc BUGS CREDITS HISTORY README TODO
-
- newinitd "${FILESDIR}"/ippl.rc ippl
-}
-
-pkg_postinst() {
- enewuser ippl
-}
diff --git a/net-analyzer/ippl/ippl-1.4.14-r6.ebuild b/net-analyzer/ippl/ippl-1.4.14-r6.ebuild
new file mode 100644
index 000000000000..1cddf3d999fa
--- /dev/null
+++ b/net-analyzer/ippl/ippl-1.4.14-r6.ebuild
@@ -0,0 +1,46 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit toolchain-funcs
+
+DESCRIPTION="A daemon which logs TCP/UDP/ICMP packets"
+HOMEPAGE="http://pltplp.net/ippl/"
+SRC_URI="http://pltplp.net/ippl/archive/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="amd64 ~ppc x86"
+
+BDEPEND="
+ virtual/yacc
+ sys-devel/flex"
+RDEPEND="acct-user/ippl"
+
+PATCHES=(
+ "${FILESDIR}"/${PN}-1.4.14-noportresolve.patch
+ "${FILESDIR}"/${PN}-1.4.14-manpage.patch
+ "${FILESDIR}"/${PN}-1.4.14-privilege-drop.patch
+ "${FILESDIR}"/${PN}-1.4.14-includes.patch
+ "${FILESDIR}"/${PN}-1.4.14-format-warnings.patch
+ # bug #351287
+ "${FILESDIR}"/${PN}-1.4.14-fix-build-system.patch
+)
+
+src_configure() {
+ tc-export CC
+ default
+}
+
+src_install() {
+ dosbin Source/ippl
+
+ insinto /etc
+ doins ippl.conf
+
+ doman Docs/{ippl.8,ippl.conf.5}
+ dodoc BUGS CREDITS HISTORY README TODO
+
+ newinitd "${FILESDIR}"/ippl.rc ippl
+}