public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] repo/gentoo:master commit in: net-misc/l7-protocols/
@ 2019-11-04 16:51 Andrew Savchenko
  0 siblings, 0 replies; 5+ messages in thread
From: Andrew Savchenko @ 2019-11-04 16:51 UTC (permalink / raw
  To: gentoo-commits

commit:     c2dd3f7636dffb178bda50774168e403a02d7a59
Author:     Andrew Savchenko <bircoph <AT> gentoo <DOT> org>
AuthorDate: Mon Nov  4 16:46:30 2019 +0000
Commit:     Andrew Savchenko <bircoph <AT> gentoo <DOT> org>
CommitDate: Mon Nov  4 16:50:31 2019 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c2dd3f76

net-misc/l7-protocols: update longdescription

Update the metadata long description with modern howto explations.

Package-Manager: Portage-2.3.78, Repoman-2.3.17
Signed-off-by: Andrew Savchenko <bircoph <AT> gentoo.org>

 net-misc/l7-protocols/metadata.xml | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/net-misc/l7-protocols/metadata.xml b/net-misc/l7-protocols/metadata.xml
index 30de8b041c0..4f319e6eb95 100644
--- a/net-misc/l7-protocols/metadata.xml
+++ b/net-misc/l7-protocols/metadata.xml
@@ -7,9 +7,9 @@
   </maintainer>
   <longdescription>
   These are patterns (protocol definitions) for the Linux layer 7 packet
-  classifier (l7-filter). To use them, you need the kernel and iptables patches
-  (or l7-filter userspace version) available trough ebuild tree as
-  net-misc/l7-filter and net-firewall/iptables built with l7filter USE flag.
+  classifier (l7-filter). To use them, you need the l7-filter userspace version
+  available trough ebuild tree as net-misc/l7-filter and net-firewall/iptables
+  built with netlink USE flag.
 </longdescription>
   <upstream>
     <remote-id type="sourceforge">l7-filter</remote-id>


^ permalink raw reply related	[flat|nested] 5+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: net-misc/l7-protocols/
@ 2019-11-04 16:51 Andrew Savchenko
  0 siblings, 0 replies; 5+ messages in thread
From: Andrew Savchenko @ 2019-11-04 16:51 UTC (permalink / raw
  To: gentoo-commits

commit:     fef3c3e18aecab4764a7d19011e3e3ebdac2e1ba
Author:     Andrew Savchenko <bircoph <AT> gentoo <DOT> org>
AuthorDate: Mon Nov  4 16:49:06 2019 +0000
Commit:     Andrew Savchenko <bircoph <AT> gentoo <DOT> org>
CommitDate: Mon Nov  4 16:50:35 2019 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fef3c3e1

net-misc/l7-protocols: remove old version

Package-Manager: Portage-2.3.78, Repoman-2.3.17
Signed-off-by: Andrew Savchenko <bircoph <AT> gentoo.org>

 .../l7-protocols/l7-protocols-2009.05.28.ebuild    | 65 ----------------------
 1 file changed, 65 deletions(-)

diff --git a/net-misc/l7-protocols/l7-protocols-2009.05.28.ebuild b/net-misc/l7-protocols/l7-protocols-2009.05.28.ebuild
deleted file mode 100644
index c6dc39ec239..00000000000
--- a/net-misc/l7-protocols/l7-protocols-2009.05.28.ebuild
+++ /dev/null
@@ -1,65 +0,0 @@
-# Copyright 1999-2018 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=0
-
-inherit eutils fixheadtails toolchain-funcs
-
-IUSE=""
-
-MY_P=${PN}-${PV//./-}
-
-DESCRIPTION="Protocol definitions of l7-filter kernel modules"
-HOMEPAGE="http://l7-filter.sourceforge.net/protocols"
-
-SRC_URI="mirror://sourceforge/l7-filter/${MY_P}.tar.gz"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="~alpha amd64 ~arm ~hppa ~ia64 ppc ppc64 ~s390 ~sh sparc x86"
-S=${WORKDIR}/${MY_P}
-
-src_unpack() {
-	unpack ${A}
-
-	cd "${S}"
-	sed -e "s|gcc.*\-o|$(tc-getCC) ${CFLAGS} ${LDFLAGS} -o|g" \
-		-e "s|g++.*\-o|$(tc-getCXX) ${CXXFLAGS} ${LDFLAGS} -o|g" \
-			-i testing/Makefile
-	ht_fix_file testing/*.sh
-}
-
-src_compile() {
-	emake -C testing || die
-}
-
-# NOTE Testing mechanism is currently broken:
-#  stack smashing attack in function main()
-
-# Is also extraordinarly inefficent getting random data.
-#
-#src_test() {
-#	cd testing
-#	find ${S} -name \*.pat -print -exec ./test_match.sh {} \; \
-#		-exec ./timeit.sh {} \; || die "failed tests"
-#	einfo "patterns past testing"
-#}
-
-src_install() {
-	dodir /usr/share/${PN}
-	pushd testing > /dev/null
-	cp -pPR randprintable randchars test_speed-{kernel,userspace} README \
-		match_kernel *.sh data "${D}"/usr/share/${PN}
-	popd > /dev/null
-	mv example_traffic "${D}"/usr/share/${PN}
-
-	dodoc README CHANGELOG HOWTO WANTED || die
-	for dir in extra file_types malware ; do
-		newdoc ${dir}/README README.${dir}
-	done
-	rm -rf README CHANGELOG HOWTO LICENSE Makefile WANTED */README testing
-
-	dodir /etc/l7-protocols
-	cp -R * "${D}"/etc/l7-protocols
-	chown -R root:0 "${D}"
-}


^ permalink raw reply related	[flat|nested] 5+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: net-misc/l7-protocols/
@ 2019-11-04 16:51 Andrew Savchenko
  0 siblings, 0 replies; 5+ messages in thread
From: Andrew Savchenko @ 2019-11-04 16:51 UTC (permalink / raw
  To: gentoo-commits

commit:     51abeb57143e77e3c5751f6be5e3cd543c8fde1f
Author:     Andrew Savchenko <bircoph <AT> gentoo <DOT> org>
AuthorDate: Mon Nov  4 16:40:19 2019 +0000
Commit:     Andrew Savchenko <bircoph <AT> gentoo <DOT> org>
CommitDate: Mon Nov  4 16:50:27 2019 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=51abeb57

net-misc/l7-protocols: bugfixes and cleanup

- Bump to EAPI 7.
- l7-protocols is only useful with l7-filter-userspace, so drop
  keywords not supported by l7-filter-userspace --- they are
  remnants from the long gone l7-filter-kernel package.
- Install helper binaries to /usr/lib/$PN instead of
  /usr/share/$PN.

Closes: https://bugs.gentoo.org/305255
Closes: https://bugs.gentoo.org/697240
Package-Manager: Portage-2.3.78, Repoman-2.3.17
Signed-off-by: Andrew Savchenko <bircoph <AT> gentoo.org>

 .../l7-protocols/l7-protocols-2009.05.28-r1.ebuild | 66 ++++++++++++++++++++++
 1 file changed, 66 insertions(+)

diff --git a/net-misc/l7-protocols/l7-protocols-2009.05.28-r1.ebuild b/net-misc/l7-protocols/l7-protocols-2009.05.28-r1.ebuild
new file mode 100644
index 00000000000..2508abfe201
--- /dev/null
+++ b/net-misc/l7-protocols/l7-protocols-2009.05.28-r1.ebuild
@@ -0,0 +1,66 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit eutils fixheadtails toolchain-funcs
+
+IUSE=""
+
+MY_P=${PN}-${PV//./-}
+
+DESCRIPTION="Protocol definitions of l7-filter kernel modules"
+HOMEPAGE="http://l7-filter.sourceforge.net/protocols"
+
+SRC_URI="mirror://sourceforge/l7-filter/${MY_P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~x86"
+S=${WORKDIR}/${MY_P}
+
+src_prepare() {
+	sed -e "s|gcc.*\-o|$(tc-getCC) ${CFLAGS} ${LDFLAGS} -o|" \
+		-e "s|g++.*\-o|$(tc-getCXX) ${CFLAGS} ${LDFLAGS} -o|" \
+			-i testing/Makefile || die
+	sed -e "s|f in data|f in ${EPREFIX}/usr/share/l7-protocols/data|" \
+		testing/timeit.sh || die
+	ht_fix_file testing/*.sh
+	eapply_user
+}
+
+src_compile() {
+	emake -C testing
+}
+
+# NOTE Testing mechanism is currently broken:
+#  stack smashing attack in function main()
+
+# Is also extraordinarly inefficent getting random data.
+#
+#src_test() {
+#	cd testing
+#	find ${S} -name \*.pat -print -exec ./test_match.sh {} \; \
+#		-exec ./timeit.sh {} \; || die "failed tests"
+#	einfo "patterns past testing"
+#}
+
+src_install() {
+	dodir /usr/{share,lib}/${PN}
+	mv testing/data example_traffic "${ED}"/usr/share/${PN} || die
+
+	pushd testing >/dev/null || die
+	cp -pPR randprintable randchars test_speed-{kernel,userspace} README \
+		match_kernel *.sh "${ED}"/usr/lib/${PN} || die
+	popd >/dev/null || die
+
+	dodoc README CHANGELOG HOWTO WANTED
+	for dir in extra file_types malware ; do
+		newdoc ${dir}/README README.${dir}
+	done
+	rm -rf README CHANGELOG HOWTO LICENSE Makefile WANTED */README testing || die
+
+	dodir /etc/l7-protocols
+	cp -R * "${ED}"/etc/l7-protocols || die
+	chown -R root:0 "${ED}" || die
+}


^ permalink raw reply related	[flat|nested] 5+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: net-misc/l7-protocols/
@ 2019-11-04 19:03 Andrew Savchenko
  0 siblings, 0 replies; 5+ messages in thread
From: Andrew Savchenko @ 2019-11-04 19:03 UTC (permalink / raw
  To: gentoo-commits

commit:     8f99a4634bc21353eb3759c90a52b8f1fe25d88a
Author:     Andrew Savchenko <bircoph <AT> gentoo <DOT> org>
AuthorDate: Mon Nov  4 17:10:18 2019 +0000
Commit:     Andrew Savchenko <bircoph <AT> gentoo <DOT> org>
CommitDate: Mon Nov  4 19:02:47 2019 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8f99a463

net-misc/l7-protocols: update HOMEPAGE

Package-Manager: Portage-2.3.78, Repoman-2.3.17
Signed-off-by: Andrew Savchenko <bircoph <AT> gentoo.org>

 net-misc/l7-protocols/l7-protocols-2009.05.28-r1.ebuild | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/net-misc/l7-protocols/l7-protocols-2009.05.28-r1.ebuild b/net-misc/l7-protocols/l7-protocols-2009.05.28-r1.ebuild
index 2508abfe201..a6f18a630b6 100644
--- a/net-misc/l7-protocols/l7-protocols-2009.05.28-r1.ebuild
+++ b/net-misc/l7-protocols/l7-protocols-2009.05.28-r1.ebuild
@@ -10,7 +10,8 @@ IUSE=""
 MY_P=${PN}-${PV//./-}
 
 DESCRIPTION="Protocol definitions of l7-filter kernel modules"
-HOMEPAGE="http://l7-filter.sourceforge.net/protocols"
+HOMEPAGE="http://l7-filter.sourceforge.net/protocols
+	https://l7-filter.clearos.com/docs/start"
 
 SRC_URI="mirror://sourceforge/l7-filter/${MY_P}.tar.gz"
 


^ permalink raw reply related	[flat|nested] 5+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: net-misc/l7-protocols/
@ 2023-11-11  6:31 Sam James
  0 siblings, 0 replies; 5+ messages in thread
From: Sam James @ 2023-11-11  6:31 UTC (permalink / raw
  To: gentoo-commits

commit:     36ebed561d63bb5c928149341f958cc9ad8378a7
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Sat Nov 11 06:31:12 2023 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sat Nov 11 06:31:12 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=36ebed56

net-misc/l7-protocols: fix broken sed

Seems to just be used for tests so no revbump, not that I really looked into the
package.

Closes: https://bugs.gentoo.org/917152
Signed-off-by: Sam James <sam <AT> gentoo.org>

 net-misc/l7-protocols/l7-protocols-2009.05.28-r1.ebuild | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/net-misc/l7-protocols/l7-protocols-2009.05.28-r1.ebuild b/net-misc/l7-protocols/l7-protocols-2009.05.28-r1.ebuild
index 8fae2ce8e5f2..5dcd7cb600b7 100644
--- a/net-misc/l7-protocols/l7-protocols-2009.05.28-r1.ebuild
+++ b/net-misc/l7-protocols/l7-protocols-2009.05.28-r1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2021 Gentoo Authors
+# Copyright 1999-2023 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
@@ -18,10 +18,10 @@ SLOT="0"
 KEYWORDS="~amd64 ~arm ~x86"
 
 src_prepare() {
-	sed -e "s|gcc.*\-o|$(tc-getCC) ${CFLAGS} ${LDFLAGS} -o|" \
+	sed -i -e "s|gcc.*\-o|$(tc-getCC) ${CFLAGS} ${LDFLAGS} -o|" \
 		-e "s|g++.*\-o|$(tc-getCXX) ${CFLAGS} ${LDFLAGS} -o|" \
-			-i testing/Makefile || die
-	sed -e "s|f in data|f in ${EPREFIX}/usr/share/l7-protocols/data|" \
+			testing/Makefile || die
+	sed -i -e "s|f in data|f in ${EPREFIX}/usr/share/l7-protocols/data|" \
 		testing/timeit.sh || die
 	ht_fix_file testing/*.sh
 	eapply_user


^ permalink raw reply related	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2023-11-11  6:31 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-11-04 16:51 [gentoo-commits] repo/gentoo:master commit in: net-misc/l7-protocols/ Andrew Savchenko
  -- strict thread matches above, loose matches on Subject: below --
2019-11-04 16:51 Andrew Savchenko
2019-11-04 16:51 Andrew Savchenko
2019-11-04 19:03 Andrew Savchenko
2023-11-11  6:31 Sam James

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox