# 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)
--- /dev/null
+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
-# 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
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
--- /dev/null
+# 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}
+}