summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Black <dragonheart@gentoo.org>2007-09-16 12:28:14 +0000
committerDaniel Black <dragonheart@gentoo.org>2007-09-16 12:28:14 +0000
commit0ae2ab7dc20dc681f7d03c522ea8c33bc8e0eea2 (patch)
tree2d19077453a3eaf8fa46d48f151eafd9786e56a4 /net-misc/l7-protocols
parentreadd mod_fastcgi; #133563 (diff)
downloadgentoo-2-0ae2ab7dc20dc681f7d03c522ea8c33bc8e0eea2.tar.gz
gentoo-2-0ae2ab7dc20dc681f7d03c522ea8c33bc8e0eea2.tar.bz2
gentoo-2-0ae2ab7dc20dc681f7d03c522ea8c33bc8e0eea2.zip
version bump
(Portage version: 2.1.3.9)
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-2007.07.273
-rw-r--r--net-misc/l7-protocols/l7-protocols-2007.07.27.ebuild62
3 files changed, 72 insertions, 1 deletions
diff --git a/net-misc/l7-protocols/ChangeLog b/net-misc/l7-protocols/ChangeLog
index 94ef3bb6a0d4..1310cea02f29 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-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-misc/l7-protocols/ChangeLog,v 1.40 2007/07/08 01:09:15 dragonheart Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-misc/l7-protocols/ChangeLog,v 1.41 2007/09/16 12:28:14 dragonheart Exp $
+
+*l7-protocols-2007.07.27 (16 Sep 2007)
+
+ 16 Sep 2007; Daniel Black <dragonheart@gentoo.org>
+ +l7-protocols-2007.07.27.ebuild:
+ version bump
*l7-protocols-2007.06.22 (08 Jul 2007)
diff --git a/net-misc/l7-protocols/files/digest-l7-protocols-2007.07.27 b/net-misc/l7-protocols/files/digest-l7-protocols-2007.07.27
new file mode 100644
index 000000000000..784a97bbee86
--- /dev/null
+++ b/net-misc/l7-protocols/files/digest-l7-protocols-2007.07.27
@@ -0,0 +1,3 @@
+MD5 d007dd322e174a5c0ec722061ba8a57b l7-protocols-2007-07-27.tar.gz 123471
+RMD160 2a7cc47bd3266dabd4e669b32b64fd7415712e87 l7-protocols-2007-07-27.tar.gz 123471
+SHA256 e8fa34c321e1a30b0001e231eb1dbc2e2150748b1bdd9a664f07e60a702a35ad l7-protocols-2007-07-27.tar.gz 123471
diff --git a/net-misc/l7-protocols/l7-protocols-2007.07.27.ebuild b/net-misc/l7-protocols/l7-protocols-2007.07.27.ebuild
new file mode 100644
index 000000000000..16a7b474609b
--- /dev/null
+++ b/net-misc/l7-protocols/l7-protocols-2007.07.27.ebuild
@@ -0,0 +1,62 @@
+# Copyright 1999-2007 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-misc/l7-protocols/l7-protocols-2007.07.27.ebuild,v 1.1 2007/09/16 12:28:14 dragonheart Exp $
+
+inherit 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}
+ sed -i -e "s/gcc.*\-o/$(tc-getCC) ${CFLAGS} -o/g" \
+ -e "s/g++.*\-o/$(tc-getCXX) ${CXXFLAGS} -o/g" "${S}"/testing/Makefile
+ htfix_file "${S}"/testing/*.sh
+}
+
+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/${PN}
+ cd testing
+ cp -pPR randprintable randchars test_speed match README *.sh ${D}/usr/share/${PN}
+ cd "${S}"
+
+ dodoc README CHANGELOG HOWTO WANTED
+ dodoc 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}"
+}