1 |
commit: 7f3a21db1fc9ab061685003e267ab4a5b982b96e |
2 |
Author: Jeroen Roovers <jer <AT> gentoo <DOT> org> |
3 |
AuthorDate: Tue Feb 14 13:38:48 2017 +0000 |
4 |
Commit: Jeroen Roovers <jer <AT> gentoo <DOT> org> |
5 |
CommitDate: Tue Feb 14 13:38:48 2017 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7f3a21db |
7 |
|
8 |
net-analyzer/tcpdump: Old. |
9 |
|
10 |
Package-Manager: Portage-2.3.3, Repoman-2.3.1 |
11 |
|
12 |
net-analyzer/tcpdump/Manifest | 1 - |
13 |
net-analyzer/tcpdump/tcpdump-4.8.0.ebuild | 98 ------------------------------- |
14 |
2 files changed, 99 deletions(-) |
15 |
|
16 |
diff --git a/net-analyzer/tcpdump/Manifest b/net-analyzer/tcpdump/Manifest |
17 |
index c22362e4ca..c4f435637e 100644 |
18 |
--- a/net-analyzer/tcpdump/Manifest |
19 |
+++ b/net-analyzer/tcpdump/Manifest |
20 |
@@ -1,3 +1,2 @@ |
21 |
-DIST tcpdump-4.8.0.tar.gz 1149698 SHA256 6d80fe345d0f5ee42fd273bfafe076231ad700c2daaf56805d17dc8159a6d1a7 SHA512 c35b26bd170706116a5274846f967893c2d6f1f67082c0aa264d0811b6bdd2d7bd9dcde3f725179b0916c0160088bc87298af061179d2f1ca47a0f3e2cd870ab WHIRLPOOL 43129349417cb68b2076efb2d01683f122d998d98e625e39edc25c336d06fc714ccb06beb85e8ce4bcbe12f185cff9865c27583e242420dd3b44b7b26dd3ca90 |
22 |
DIST tcpdump-4.8.1.tar.gz 1156643 SHA256 3cdfd4ef11ae751fd6ac2622148d93784b3ef8385b671d61f56c3b38c432a69b SHA512 b7d4afbaf30389954d3ca6e91db5d3351aa229a48a330eec89602e8650d16ba3284de51f66b2e365f064b8c2b906b67b469d0a00e603e0518ec22e5215724466 WHIRLPOOL 76f5f51f482f0834899a5f07ab6b6ab14688f8527810e2065c425356c1b08a0013b932017d95fdf140cb38d80db4d7df735cc815c0ffb418560c8ea4113eb98b |
23 |
DIST tcpdump-4.9.0.tar.gz 1260309 SHA256 eae98121cbb1c9adbedd9a777bf2eae9fa1c1c676424a54740311c8abcee5a5e SHA512 e98d73ae706d42e96b4069e196cf17af892eb97935664eebd08779b55b4da858bc1732d714efd16924f862aad0ba5550ceb2213c68414ed48907c46456c9fc82 WHIRLPOOL bd2284919bd3a2af166c6e05254e6fb7fa757b76f269d1a4951fe0ccfb6ad282a50f5670d3f8a38f6bffd1834bc809effd2e8575f9f0dd2fd7eaa4b4fdce5552 |
24 |
|
25 |
diff --git a/net-analyzer/tcpdump/tcpdump-4.8.0.ebuild b/net-analyzer/tcpdump/tcpdump-4.8.0.ebuild |
26 |
deleted file mode 100644 |
27 |
index b7b9046f72..0000000000 |
28 |
--- a/net-analyzer/tcpdump/tcpdump-4.8.0.ebuild |
29 |
+++ /dev/null |
30 |
@@ -1,98 +0,0 @@ |
31 |
-# Copyright 1999-2017 Gentoo Foundation |
32 |
-# Distributed under the terms of the GNU General Public License v2 |
33 |
-# $Id$ |
34 |
- |
35 |
-EAPI=6 |
36 |
-inherit flag-o-matic toolchain-funcs user |
37 |
- |
38 |
-DESCRIPTION="A Tool for network monitoring and data acquisition" |
39 |
-HOMEPAGE="http://www.tcpdump.org/" |
40 |
-SRC_URI=" |
41 |
- https://github.com/the-${PN}-group/${PN}/archive/${P}.tar.gz |
42 |
-" |
43 |
- |
44 |
-LICENSE="BSD" |
45 |
-SLOT="0" |
46 |
-KEYWORDS="alpha amd64 arm ~arm64 hppa ~ia64 ~mips ~ppc ppc64 ~s390 ~sh ~sparc x86 ~x86-fbsd ~amd64-linux ~arm-linux ~x86-linux" |
47 |
-IUSE="+drop-root libressl smi ssl samba suid test" |
48 |
- |
49 |
-RDEPEND=" |
50 |
- drop-root? ( sys-libs/libcap-ng ) |
51 |
- net-libs/libpcap |
52 |
- smi? ( net-libs/libsmi ) |
53 |
- ssl? ( |
54 |
- !libressl? ( >=dev-libs/openssl-0.9.6m:0 ) |
55 |
- libressl? ( dev-libs/libressl ) |
56 |
- ) |
57 |
-" |
58 |
-DEPEND=" |
59 |
- ${RDEPEND} |
60 |
- drop-root? ( virtual/pkgconfig ) |
61 |
- test? ( |
62 |
- || ( app-arch/sharutils sys-freebsd/freebsd-ubin ) |
63 |
- dev-lang/perl |
64 |
- ) |
65 |
-" |
66 |
- |
67 |
-S=${WORKDIR}/${PN}-${P} |
68 |
- |
69 |
-pkg_setup() { |
70 |
- if use drop-root || use suid; then |
71 |
- enewgroup tcpdump |
72 |
- enewuser tcpdump -1 -1 -1 tcpdump |
73 |
- fi |
74 |
-} |
75 |
- |
76 |
-src_configure() { |
77 |
- # tcpdump needs some optimization. see bug #108391 |
78 |
- # but do not replace -Os |
79 |
- filter-flags -O[0-9] |
80 |
- has -O? ${CFLAGS} || append-cflags -O2 |
81 |
- |
82 |
- filter-flags -finline-functions |
83 |
- |
84 |
- if use drop-root; then |
85 |
- append-cppflags -DHAVE_CAP_NG_H |
86 |
- export LIBS=$( $(tc-getPKG_CONFIG) --libs libcap-ng ) |
87 |
- fi |
88 |
- |
89 |
- econf \ |
90 |
- $(use_enable samba smb) \ |
91 |
- $(use_with drop-root chroot '') \ |
92 |
- $(use_with smi) \ |
93 |
- $(use_with ssl crypto "${EPREFIX}/usr") \ |
94 |
- $(usex drop-root "--with-user=tcpdump" "") |
95 |
-} |
96 |
- |
97 |
-src_test() { |
98 |
- if [[ ${EUID} -ne 0 ]] || ! use drop-root; then |
99 |
- sed -i -e '/^\(espudp1\|eapon1\)/d;' tests/TESTLIST || die |
100 |
- emake check |
101 |
- else |
102 |
- ewarn "If you want to run the test suite, make sure you either" |
103 |
- ewarn "set FEATURES=userpriv or set USE=-drop-root" |
104 |
- fi |
105 |
-} |
106 |
- |
107 |
-src_install() { |
108 |
- dosbin tcpdump |
109 |
- doman tcpdump.1 |
110 |
- dodoc *.awk |
111 |
- dodoc CHANGES CREDITS README.md |
112 |
- |
113 |
- if use suid; then |
114 |
- fowners root:tcpdump /usr/sbin/tcpdump |
115 |
- fperms 4110 /usr/sbin/tcpdump |
116 |
- fi |
117 |
-} |
118 |
- |
119 |
-pkg_preinst() { |
120 |
- if use drop-root || use suid; then |
121 |
- enewgroup tcpdump |
122 |
- enewuser tcpdump -1 -1 -1 tcpdump |
123 |
- fi |
124 |
-} |
125 |
- |
126 |
-pkg_postinst() { |
127 |
- use suid && elog "To let normal users run tcpdump add them into tcpdump group." |
128 |
-} |