summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Black <dragonheart@gentoo.org>2006-06-04 12:44:40 +0000
committerDaniel Black <dragonheart@gentoo.org>2006-06-04 12:44:40 +0000
commit390875d7a0c0f0684361d6ee7a24575841ecd5cd (patch)
treedf4fea2ce826bc38a28a49c9a54951e4142e0b33 /net-misc/l7-protocols
parentremove gpg-agent mask, add foomatic-db-ppds to foomatic mask (diff)
downloadgentoo-2-390875d7a0c0f0684361d6ee7a24575841ecd5cd.tar.gz
gentoo-2-390875d7a0c0f0684361d6ee7a24575841ecd5cd.tar.bz2
gentoo-2-390875d7a0c0f0684361d6ee7a24575841ecd5cd.zip
version bump
(Portage version: 2.1_rc4)
Diffstat (limited to 'net-misc/l7-protocols')
-rw-r--r--net-misc/l7-protocols/ChangeLog8
-rw-r--r--net-misc/l7-protocols/files/digest-l7-protocols-2006.06.033
-rw-r--r--net-misc/l7-protocols/l7-protocols-2006.06.03.ebuild57
3 files changed, 67 insertions, 1 deletions
diff --git a/net-misc/l7-protocols/ChangeLog b/net-misc/l7-protocols/ChangeLog
index 3c0a7d922670..3488b0e3a67e 100644
--- a/net-misc/l7-protocols/ChangeLog
+++ b/net-misc/l7-protocols/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for net-misc/l7-protocols
# Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-misc/l7-protocols/ChangeLog,v 1.23 2006/05/02 12:24:41 dragonheart Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-misc/l7-protocols/ChangeLog,v 1.24 2006/06/04 12:44:40 dragonheart Exp $
+
+*l7-protocols-2006.06.03 (04 Jun 2006)
+
+ 04 Jun 2006; Daniel Black <dragonheart@gentoo.org>
+ +l7-protocols-2006.06.03.ebuild:
+ version bump
02 May 2006; Daniel Black <dragonheart@gentoo.org>
-l7-protocols-2005.09.12.ebuild, -l7-protocols-2005.12.16.ebuild:
diff --git a/net-misc/l7-protocols/files/digest-l7-protocols-2006.06.03 b/net-misc/l7-protocols/files/digest-l7-protocols-2006.06.03
new file mode 100644
index 000000000000..b1f2f019d404
--- /dev/null
+++ b/net-misc/l7-protocols/files/digest-l7-protocols-2006.06.03
@@ -0,0 +1,3 @@
+MD5 8e3d7383d369765503332e09779a4a58 l7-protocols-2006-06-03.tar.gz 90779
+RMD160 1018107411c87ee672b9f9b9b3b7739e2c2eb726 l7-protocols-2006-06-03.tar.gz 90779
+SHA256 f0d65ea4547fb83dffb202ad4c167294edf1ee0f7dbe20113348a63779e85f9e l7-protocols-2006-06-03.tar.gz 90779
diff --git a/net-misc/l7-protocols/l7-protocols-2006.06.03.ebuild b/net-misc/l7-protocols/l7-protocols-2006.06.03.ebuild
new file mode 100644
index 000000000000..874edbb56b3d
--- /dev/null
+++ b/net-misc/l7-protocols/l7-protocols-2006.06.03.ebuild
@@ -0,0 +1,57 @@
+# Copyright 1999-2006 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-misc/l7-protocols/l7-protocols-2006.06.03.ebuild,v 1.1 2006/06/04 12:44:40 dragonheart Exp $
+
+inherit 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 ~ppc ~sparc ~x86"
+S=${WORKDIR}/${MY_P}
+
+RDEPEND="net-misc/l7-filter"
+
+
+src_compile() {
+ sed -i -e "s/gcc.*-O2/$(tc-getCC) ${CFLAGS}/g" testing/Makefile
+ sed -i -e 's/-1/-n 1/g' testing/*.sh
+ emake -C testing
+}
+
+# NOTE Testing mechanism is currently broken:
+# stack smashing attack in function main()
+#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}
+ cd testing
+ cp -pPR randprintable randchars test_speed match README *.sh ${D}/usr/share/${PN}
+ cd ${S}
+
+ dodoc README CHANGELOG HOWTO WANTED
+ newdoc README.weakpatterns
+ newdoc extra/README README.extra
+ newdoc file_types/README README.file_types
+ newdoc malware/README README.malware
+ newdoc testing/README README.testing
+ rm -rf README CHANGELOG HOWTO LICENSE WANTED */README testing
+
+ make PREFIX=${D} install || die
+ rm ${D}/etc/${PN}/Makefile
+ chown -R root:0 ${D}
+}