1 |
commit: fef3c3e18aecab4764a7d19011e3e3ebdac2e1ba |
2 |
Author: Andrew Savchenko <bircoph <AT> gentoo <DOT> org> |
3 |
AuthorDate: Mon Nov 4 16:49:06 2019 +0000 |
4 |
Commit: Andrew Savchenko <bircoph <AT> gentoo <DOT> org> |
5 |
CommitDate: Mon Nov 4 16:50:35 2019 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fef3c3e1 |
7 |
|
8 |
net-misc/l7-protocols: remove old version |
9 |
|
10 |
Package-Manager: Portage-2.3.78, Repoman-2.3.17 |
11 |
Signed-off-by: Andrew Savchenko <bircoph <AT> gentoo.org> |
12 |
|
13 |
.../l7-protocols/l7-protocols-2009.05.28.ebuild | 65 ---------------------- |
14 |
1 file changed, 65 deletions(-) |
15 |
|
16 |
diff --git a/net-misc/l7-protocols/l7-protocols-2009.05.28.ebuild b/net-misc/l7-protocols/l7-protocols-2009.05.28.ebuild |
17 |
deleted file mode 100644 |
18 |
index c6dc39ec239..00000000000 |
19 |
--- a/net-misc/l7-protocols/l7-protocols-2009.05.28.ebuild |
20 |
+++ /dev/null |
21 |
@@ -1,65 +0,0 @@ |
22 |
-# Copyright 1999-2018 Gentoo Foundation |
23 |
-# Distributed under the terms of the GNU General Public License v2 |
24 |
- |
25 |
-EAPI=0 |
26 |
- |
27 |
-inherit eutils fixheadtails toolchain-funcs |
28 |
- |
29 |
-IUSE="" |
30 |
- |
31 |
-MY_P=${PN}-${PV//./-} |
32 |
- |
33 |
-DESCRIPTION="Protocol definitions of l7-filter kernel modules" |
34 |
-HOMEPAGE="http://l7-filter.sourceforge.net/protocols" |
35 |
- |
36 |
-SRC_URI="mirror://sourceforge/l7-filter/${MY_P}.tar.gz" |
37 |
- |
38 |
-LICENSE="GPL-2" |
39 |
-SLOT="0" |
40 |
-KEYWORDS="~alpha amd64 ~arm ~hppa ~ia64 ppc ppc64 ~s390 ~sh sparc x86" |
41 |
-S=${WORKDIR}/${MY_P} |
42 |
- |
43 |
-src_unpack() { |
44 |
- unpack ${A} |
45 |
- |
46 |
- cd "${S}" |
47 |
- sed -e "s|gcc.*\-o|$(tc-getCC) ${CFLAGS} ${LDFLAGS} -o|g" \ |
48 |
- -e "s|g++.*\-o|$(tc-getCXX) ${CXXFLAGS} ${LDFLAGS} -o|g" \ |
49 |
- -i testing/Makefile |
50 |
- ht_fix_file testing/*.sh |
51 |
-} |
52 |
- |
53 |
-src_compile() { |
54 |
- emake -C testing || die |
55 |
-} |
56 |
- |
57 |
-# NOTE Testing mechanism is currently broken: |
58 |
-# stack smashing attack in function main() |
59 |
- |
60 |
-# Is also extraordinarly inefficent getting random data. |
61 |
-# |
62 |
-#src_test() { |
63 |
-# cd testing |
64 |
-# find ${S} -name \*.pat -print -exec ./test_match.sh {} \; \ |
65 |
-# -exec ./timeit.sh {} \; || die "failed tests" |
66 |
-# einfo "patterns past testing" |
67 |
-#} |
68 |
- |
69 |
-src_install() { |
70 |
- dodir /usr/share/${PN} |
71 |
- pushd testing > /dev/null |
72 |
- cp -pPR randprintable randchars test_speed-{kernel,userspace} README \ |
73 |
- match_kernel *.sh data "${D}"/usr/share/${PN} |
74 |
- popd > /dev/null |
75 |
- mv example_traffic "${D}"/usr/share/${PN} |
76 |
- |
77 |
- dodoc README CHANGELOG HOWTO WANTED || die |
78 |
- for dir in extra file_types malware ; do |
79 |
- newdoc ${dir}/README README.${dir} |
80 |
- done |
81 |
- rm -rf README CHANGELOG HOWTO LICENSE Makefile WANTED */README testing |
82 |
- |
83 |
- dodir /etc/l7-protocols |
84 |
- cp -R * "${D}"/etc/l7-protocols |
85 |
- chown -R root:0 "${D}" |
86 |
-} |