diff options
author | Daniel Black <dragonheart@gentoo.org> | 2004-09-03 23:08:51 +0000 |
---|---|---|
committer | Daniel Black <dragonheart@gentoo.org> | 2004-09-03 23:08:51 +0000 |
commit | de5eda6f6c481605161b47aecea6d59bcac61d6d (patch) | |
tree | 0918b301ce5c767e83624fdd72dcaa33be4beaf9 /net-misc/l7-protocols | |
parent | Moved virtual/ruby from DEPEND to PDEPEND to avoid circular dependency. Thank... (diff) | |
download | gentoo-2-de5eda6f6c481605161b47aecea6d59bcac61d6d.tar.gz gentoo-2-de5eda6f6c481605161b47aecea6d59bcac61d6d.tar.bz2 gentoo-2-de5eda6f6c481605161b47aecea6d59bcac61d6d.zip |
Initial import thanks to S.Caglar Onur <caglar.onur@tubitak.gov.tr> in bug #60655
Diffstat (limited to 'net-misc/l7-protocols')
-rw-r--r-- | net-misc/l7-protocols/ChangeLog | 11 | ||||
-rw-r--r-- | net-misc/l7-protocols/Manifest | 3 | ||||
-rw-r--r-- | net-misc/l7-protocols/files/digest-l7-protocols-20040819 | 1 | ||||
-rw-r--r-- | net-misc/l7-protocols/l7-protocols-20040819.ebuild | 57 | ||||
-rw-r--r-- | net-misc/l7-protocols/metadata.xml | 11 |
5 files changed, 83 insertions, 0 deletions
diff --git a/net-misc/l7-protocols/ChangeLog b/net-misc/l7-protocols/ChangeLog new file mode 100644 index 000000000000..f14f82823f67 --- /dev/null +++ b/net-misc/l7-protocols/ChangeLog @@ -0,0 +1,11 @@ +# ChangeLog for net-misc/l7-protocols +# Copyright 1999-2004 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/net-misc/l7-protocols/ChangeLog,v 1.1 2004/09/03 23:08:51 dragonheart Exp $ + +*l7-protocols-20040819 (04 Sep 2004) + + 04 Sep 2004; Daniel Black <dragonheart@gentoo.org> +metadata.xml, + +l7-protocols-20040819.ebuild: + Initial import thanks to S.Caglar Onur <caglar.onur@tubitak.gov.tr> in bug + #60655 + diff --git a/net-misc/l7-protocols/Manifest b/net-misc/l7-protocols/Manifest new file mode 100644 index 000000000000..f046a8ae4861 --- /dev/null +++ b/net-misc/l7-protocols/Manifest @@ -0,0 +1,3 @@ +MD5 351cc35005f6d2c3788ad2a0d8ca4106 l7-protocols-20040819.ebuild 492 +MD5 89edb769612add8464eb3c324f09e197 metadata.xml 374 +MD5 8fcc2bb64c6850837d5f0f8fc4c6cd00 files/digest-l7-protocols-20040819 74 diff --git a/net-misc/l7-protocols/files/digest-l7-protocols-20040819 b/net-misc/l7-protocols/files/digest-l7-protocols-20040819 new file mode 100644 index 000000000000..3e18bb29a42f --- /dev/null +++ b/net-misc/l7-protocols/files/digest-l7-protocols-20040819 @@ -0,0 +1 @@ +MD5 559df48400982c665d84115ff3ffeee8 l7-protocols-2004_08_19.tar.gz 51404 diff --git a/net-misc/l7-protocols/l7-protocols-20040819.ebuild b/net-misc/l7-protocols/l7-protocols-20040819.ebuild new file mode 100644 index 000000000000..0671105b53ee --- /dev/null +++ b/net-misc/l7-protocols/l7-protocols-20040819.ebuild @@ -0,0 +1,57 @@ +# Copyright 1999-2004 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/net-misc/l7-protocols/l7-protocols-20040819.ebuild,v 1.1 2004/09/03 23:08:51 dragonheart Exp $ + +IUSE="" + +MY_P=l7-protocols-2004_08_19 + +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" +RESTRICT="nomirror" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="x86" +S=${WORKDIR}/${MY_P} + +RDEPEND="net-misc/l7-filter" + + +src_compile() { + sed -i -e 's/gcc.*-O2/${CC} ${CFLAGS}/g' testing/Makefile + sed -i -e 's/-1/-n 1/g' testing/*.sh + emake -C testing +} + +# NOTE Testing mechanism is currently broken - it doesn't stop until it fails +# This is bad when it works. + +#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 -a randprintable randchars test_speed match README *.sh ${D}/usr/share/${PN} + cd ${S} + + dodoc README CHANGELOG HOWTO WANTED + docinto weakpatterns/README README.weakpatterns + docinto extra/README README.extra + docinto file_types/README README.file_types + docinto malware/README README.malware + docinto testing/README README.testing + + rm -rf README CHANGELOG HOWTO LICENSE WANTED */README testing + + make PREFIX=${D} install || die + rm ${D}/etc/${PN}/Makefile +} diff --git a/net-misc/l7-protocols/metadata.xml b/net-misc/l7-protocols/metadata.xml new file mode 100644 index 000000000000..0c1a76dd4a07 --- /dev/null +++ b/net-misc/l7-protocols/metadata.xml @@ -0,0 +1,11 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<herd>no-herd</herd> +<maintainer> + <email>dragonheart@gentoo.org</email> + <name>Daniel Black</name> + <description>If you have a change you want to make - go for it</description> +</maintainer> +<longdescription></longdescription> +</pkgmetadata> |