summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Black <dragonheart@gentoo.org>2006-11-12 12:10:54 +0000
committerDaniel Black <dragonheart@gentoo.org>2006-11-12 12:10:54 +0000
commit0fdfe1fe85999368f1386feb090e0d71215f25c6 (patch)
treeedd8ea16dcdb6d6623075958dd26c9dfeff506a6 /net-misc/l7-protocols
parentThanks a7x, didier who made great efforts with upstream to prove it was a Gen... (diff)
downloadgentoo-2-0fdfe1fe85999368f1386feb090e0d71215f25c6.tar.gz
gentoo-2-0fdfe1fe85999368f1386feb090e0d71215f25c6.tar.bz2
gentoo-2-0fdfe1fe85999368f1386feb090e0d71215f25c6.zip
version bump as per bug #154629 thanks to Nebojsa Trpkovic
(Portage version: 2.1.2_rc1-r4)
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.10.183
-rw-r--r--net-misc/l7-protocols/l7-protocols-2006.10.18.ebuild54
3 files changed, 64 insertions, 1 deletions
diff --git a/net-misc/l7-protocols/ChangeLog b/net-misc/l7-protocols/ChangeLog
index 64a16de57bb2..df054c110e49 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.34 2006/10/14 21:41:45 agriffis Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-misc/l7-protocols/ChangeLog,v 1.35 2006/11/12 12:10:54 dragonheart Exp $
+
+*l7-protocols-2006.10.18 (12 Nov 2006)
+
+ 12 Nov 2006; Daniel Black <dragonheart@gentoo.org>
+ +l7-protocols-2006.10.18.ebuild:
+ version bump as per bug #154629 thanks to Nebojsa Trpkovic
14 Oct 2006; Aron Griffis <agriffis@gentoo.org>
l7-protocols-2006.09.10.ebuild:
diff --git a/net-misc/l7-protocols/files/digest-l7-protocols-2006.10.18 b/net-misc/l7-protocols/files/digest-l7-protocols-2006.10.18
new file mode 100644
index 000000000000..dbcf0d67d905
--- /dev/null
+++ b/net-misc/l7-protocols/files/digest-l7-protocols-2006.10.18
@@ -0,0 +1,3 @@
+MD5 c5090f77414438b4d6c63ffed7baeb41 l7-protocols-2006-10-18.tar.gz 117637
+RMD160 bc25c5115f49dbbb8ffb4f9eb3a0a8322fbe4753 l7-protocols-2006-10-18.tar.gz 117637
+SHA256 22b1da476deec68189598f46d25b0269c88bd219bb9c4c791b2014a766831ce5 l7-protocols-2006-10-18.tar.gz 117637
diff --git a/net-misc/l7-protocols/l7-protocols-2006.10.18.ebuild b/net-misc/l7-protocols/l7-protocols-2006.10.18.ebuild
new file mode 100644
index 000000000000..faa86452de11
--- /dev/null
+++ b/net-misc/l7-protocols/l7-protocols-2006.10.18.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.10.18.ebuild,v 1.1 2006/11/12 12:10:54 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}
+}