version bump as per bug #161804
authorDaniel Black <dragonheart@gentoo.org>
Sun, 21 Jan 2007 04:55:21 +0000 (04:55 +0000)
committerDaniel Black <dragonheart@gentoo.org>
Sun, 21 Jan 2007 04:55:21 +0000 (04:55 +0000)
Package-Manager: portage-2.1.2_rc4-r6

net-misc/l7-protocols/ChangeLog
net-misc/l7-protocols/files/digest-l7-protocols-2007.01.14 [new file with mode: 0644]
net-misc/l7-protocols/l7-protocols-2006.12.12.ebuild
net-misc/l7-protocols/l7-protocols-2007.01.14.ebuild [new file with mode: 0644]

index 07cccc428b99e3178c4b87ee7692248987fab81a..3cc5f9faec71ab7b12550a9af47b33976f901b2c 100644 (file)
@@ -1,6 +1,14 @@
 # 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.36 2006/12/16 21:46:18 dragonheart Exp $
+# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/net-misc/l7-protocols/ChangeLog,v 1.37 2007/01/21 04:55:21 dragonheart Exp $
+
+*l7-protocols-2007.01.14 (21 Jan 2007)
+
+  21 Jan 2007; Daniel Black <dragonheart@gentoo.org>
+  -l7-protocols-2005.09.05.ebuild, -l7-protocols-2006.09.10.ebuild,
+  -l7-protocols-2006.10.18.ebuild, l7-protocols-2006.12.12.ebuild,
+  +l7-protocols-2007.01.14.ebuild:
+  version bump as per bug #161804 thanks cilly
 
 *l7-protocols-2006.12.12 (16 Dec 2006)
 
diff --git a/net-misc/l7-protocols/files/digest-l7-protocols-2007.01.14 b/net-misc/l7-protocols/files/digest-l7-protocols-2007.01.14
new file mode 100644 (file)
index 0000000..89a06e5
--- /dev/null
@@ -0,0 +1,3 @@
+MD5 02a928851613eed6f9d52fabe52312d0 l7-protocols-2007-01-14.tar.gz 122897
+RMD160 8d3e9704030391b1c3f1004303ddd31ed26b1bcb l7-protocols-2007-01-14.tar.gz 122897
+SHA256 02198b5a56848dce2e9e5aeab945172c6067015e83578afd2e1413d0c293293a l7-protocols-2007-01-14.tar.gz 122897
index 3260a5d5fa8428bcd6f328beda733cc3cf28b7a2..d01fb4eaa55f58b982690763fc315a1ff24036cb 100644 (file)
@@ -1,6 +1,6 @@
-# Copyright 1999-2006 Gentoo Foundation
+# 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-2006.12.12.ebuild,v 1.1 2006/12/16 21:46:18 dragonheart Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-misc/l7-protocols/l7-protocols-2006.12.12.ebuild,v 1.2 2007/01/21 04:55:21 dragonheart Exp $
 
 inherit toolchain-funcs
 
@@ -41,7 +41,7 @@ src_install() {
        cd ${S}
 
        dodoc README CHANGELOG HOWTO WANTED
-       newdoc README.weakpatterns
+       dodoc README.weakpatterns
        newdoc extra/README README.extra
        newdoc file_types/README README.file_types
        newdoc malware/README README.malware
diff --git a/net-misc/l7-protocols/l7-protocols-2007.01.14.ebuild b/net-misc/l7-protocols/l7-protocols-2007.01.14.ebuild
new file mode 100644 (file)
index 0000000..c2a1360
--- /dev/null
@@ -0,0 +1,63 @@
+# 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.01.14.ebuild,v 1.1 2007/01/21 04:55:21 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="~amd64 ~hppa ~ia64 ~ppc ~ppc64 ~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}
+}