summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Black <dragonheart@gentoo.org>2006-12-16 21:46:57 +0000
committerDaniel Black <dragonheart@gentoo.org>2006-12-16 21:46:57 +0000
commitd21e137d50a4fa8244e480b7fc1718a429091633 (patch)
tree66c5273973b6e0563268415dc9f85cc0a90f82bf /net-misc/l7-protocols
parentversion bump (diff)
downloadhistorical-d21e137d50a4fa8244e480b7fc1718a429091633.tar.gz
historical-d21e137d50a4fa8244e480b7fc1718a429091633.tar.bz2
historical-d21e137d50a4fa8244e480b7fc1718a429091633.zip
version bump
Package-Manager: portage-2.1.2_rc3
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.12.123
-rw-r--r--net-misc/l7-protocols/l7-protocols-2006.12.12.ebuild54
3 files changed, 64 insertions, 1 deletions
diff --git a/net-misc/l7-protocols/ChangeLog b/net-misc/l7-protocols/ChangeLog
index df054c110e49..07cccc428b99 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.35 2006/11/12 12:10:54 dragonheart Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-misc/l7-protocols/ChangeLog,v 1.36 2006/12/16 21:46:18 dragonheart Exp $
+
+*l7-protocols-2006.12.12 (16 Dec 2006)
+
+ 16 Dec 2006; Daniel Black <dragonheart@gentoo.org>
+ +l7-protocols-2006.12.12.ebuild:
+ version bump
*l7-protocols-2006.10.18 (12 Nov 2006)
diff --git a/net-misc/l7-protocols/files/digest-l7-protocols-2006.12.12 b/net-misc/l7-protocols/files/digest-l7-protocols-2006.12.12
new file mode 100644
index 000000000000..43965304acd3
--- /dev/null
+++ b/net-misc/l7-protocols/files/digest-l7-protocols-2006.12.12
@@ -0,0 +1,3 @@
+MD5 f50105c03ebb470291db4325d34d007c l7-protocols-2006-12-12.tar.gz 119926
+RMD160 a0a3d6922d368577b1fe57ffdabec889f7305f37 l7-protocols-2006-12-12.tar.gz 119926
+SHA256 59876cbb9c3f03d2bb4724b235c69e7423f0abd4b9c0f4049209bd15d8c51b8f l7-protocols-2006-12-12.tar.gz 119926
diff --git a/net-misc/l7-protocols/l7-protocols-2006.12.12.ebuild b/net-misc/l7-protocols/l7-protocols-2006.12.12.ebuild
new file mode 100644
index 000000000000..3260a5d5fa84
--- /dev/null
+++ b/net-misc/l7-protocols/l7-protocols-2006.12.12.ebuild
@@ -0,0 +1,54 @@
+# 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.12.12.ebuild,v 1.1 2006/12/16 21:46:18 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 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86"
+S=${WORKDIR}/${MY_P}
+
+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}
+}