From: Daniel Black Date: Sun, 21 Jan 2007 04:55:21 +0000 (+0000) Subject: version bump as per bug #161804 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=46f040a2a99c229550d55082b779695646b3ecd8;p=gentoo.git version bump as per bug #161804 Package-Manager: portage-2.1.2_rc4-r6 --- diff --git a/net-misc/l7-protocols/ChangeLog b/net-misc/l7-protocols/ChangeLog index 07cccc428b99..3cc5f9faec71 100644 --- a/net-misc/l7-protocols/ChangeLog +++ b/net-misc/l7-protocols/ChangeLog @@ -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 + -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 index 000000000000..89a06e56ba05 --- /dev/null +++ b/net-misc/l7-protocols/files/digest-l7-protocols-2007.01.14 @@ -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 diff --git a/net-misc/l7-protocols/l7-protocols-2006.12.12.ebuild b/net-misc/l7-protocols/l7-protocols-2006.12.12.ebuild index 3260a5d5fa84..d01fb4eaa55f 100644 --- a/net-misc/l7-protocols/l7-protocols-2006.12.12.ebuild +++ b/net-misc/l7-protocols/l7-protocols-2006.12.12.ebuild @@ -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 index 000000000000..c2a1360ed79f --- /dev/null +++ b/net-misc/l7-protocols/l7-protocols-2007.01.14.ebuild @@ -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} +}