diff options
author | Peter Volkov <pva@gentoo.org> | 2008-01-16 08:52:48 +0000 |
---|---|---|
committer | Peter Volkov <pva@gentoo.org> | 2008-01-16 08:52:48 +0000 |
commit | 38dc87d7e0e4b17f06d3d417afbb2541be753b56 (patch) | |
tree | dba0b4417c8abd920a21490ab074b8963b82157c /net-misc | |
parent | Add anjuta-2.3* and its required deps to p.mask (diff) | |
download | gentoo-2-38dc87d7e0e4b17f06d3d417afbb2541be753b56.tar.gz gentoo-2-38dc87d7e0e4b17f06d3d417afbb2541be753b56.tar.bz2 gentoo-2-38dc87d7e0e4b17f06d3d417afbb2541be753b56.zip |
Version bump.
(Portage version: 2.1.3.19)
Diffstat (limited to 'net-misc')
-rw-r--r-- | net-misc/l7-protocols/ChangeLog | 7 | ||||
-rw-r--r-- | net-misc/l7-protocols/files/digest-l7-protocols-2008.01.16 | 3 | ||||
-rw-r--r-- | net-misc/l7-protocols/l7-protocols-2008.01.16.ebuild | 61 |
3 files changed, 70 insertions, 1 deletions
diff --git a/net-misc/l7-protocols/ChangeLog b/net-misc/l7-protocols/ChangeLog index e83b3e8f15de..dd7687ecb1e8 100644 --- a/net-misc/l7-protocols/ChangeLog +++ b/net-misc/l7-protocols/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for net-misc/l7-protocols # Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/net-misc/l7-protocols/ChangeLog,v 1.45 2008/01/12 08:05:50 pva Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-misc/l7-protocols/ChangeLog,v 1.46 2008/01/16 08:52:47 pva Exp $ + +*l7-protocols-2008.01.16 (16 Jan 2008) + + 16 Jan 2008; <pva@gentoo.org> +l7-protocols-2008.01.16.ebuild: + Version bump. *l7-protocols-2008.01.09 (12 Jan 2008) diff --git a/net-misc/l7-protocols/files/digest-l7-protocols-2008.01.16 b/net-misc/l7-protocols/files/digest-l7-protocols-2008.01.16 new file mode 100644 index 000000000000..98eb0cc412f2 --- /dev/null +++ b/net-misc/l7-protocols/files/digest-l7-protocols-2008.01.16 @@ -0,0 +1,3 @@ +MD5 6441e3261ebe115d875f94eebd7b86c6 l7-protocols-2008-01-16.tar.gz 126169 +RMD160 186bf01f892dd251ce1fd9a6b0aee986f161ce7b l7-protocols-2008-01-16.tar.gz 126169 +SHA256 b5b4e08ca0120a734e61b2f34e595c5188335479eedeb845461c4002624b342a l7-protocols-2008-01-16.tar.gz 126169 diff --git a/net-misc/l7-protocols/l7-protocols-2008.01.16.ebuild b/net-misc/l7-protocols/l7-protocols-2008.01.16.ebuild new file mode 100644 index 000000000000..46d58a89468e --- /dev/null +++ b/net-misc/l7-protocols/l7-protocols-2008.01.16.ebuild @@ -0,0 +1,61 @@ +# Copyright 1999-2008 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/net-misc/l7-protocols/l7-protocols-2008.01.16.ebuild,v 1.1 2008/01/16 08:52:47 pva 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 + ht_fix_file "${S}"/testing/*.sh +} + +src_compile() { + emake -C testing || die +} + +# 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} + pushd testing > /dev/null + cp -pPR randprintable randchars test_speed-{kernel,userspace} README \ + match_kernel speeds-2007-10-02-450MHz *.sh data "${D}"/usr/share/${PN} + popd > /dev/null + mv example_traffic "${D}"/usr/share/${PN} + + dodoc README CHANGELOG HOWTO WANTED + for dir in extra file_types malware ; do + newdoc ${dir}/README README.${dir} + done + rm -rf README CHANGELOG HOWTO LICENSE Makefile WANTED */README testing + + dodir /etc/l7-protocols + cp -R * "${D}"/etc/l7-protocols + chown -R root:0 "${D}" +} |