summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAaron Bauman <bman@gentoo.org>2020-12-12 18:01:43 -0500
committerAaron Bauman <bman@gentoo.org>2020-12-12 18:01:43 -0500
commit73550a5d74c76d1b46a5733c2d1dba393e74b1c5 (patch)
tree7033f7a29bde3432c556e14ff72de5ea95cc097b
parentnet-analyzer/driftnet: amd64 stable (diff)
downloadgentoo-73550a5d74c76d1b46a5733c2d1dba393e74b1c5.tar.gz
gentoo-73550a5d74c76d1b46a5733c2d1dba393e74b1c5.tar.bz2
gentoo-73550a5d74c76d1b46a5733c2d1dba393e74b1c5.zip
net-analyzer/driftnet: drop old
Closes: https://bugs.gentoo.org/756970 Signed-off-by: Aaron Bauman <bman@gentoo.org>
-rw-r--r--net-analyzer/driftnet/Manifest1
-rw-r--r--net-analyzer/driftnet/driftnet-0.1.6_p20090401-r1.ebuild85
2 files changed, 0 insertions, 86 deletions
diff --git a/net-analyzer/driftnet/Manifest b/net-analyzer/driftnet/Manifest
index 64dfbfd5032..51e6594562f 100644
--- a/net-analyzer/driftnet/Manifest
+++ b/net-analyzer/driftnet/Manifest
@@ -1,2 +1 @@
-DIST driftnet-0.1.6_p20090401.tar.gz 43683 BLAKE2B a3f5c57c5f57247feca37815b84630422f9fdb9ec978791eadaaf0f0b51d1f744674931ea9bb1b9291fc9e556ec9758ff44210a442d219ceeabf71e0ea3a193f SHA512 93b2f7b644603bf2fea09163c3c8cc6eed7ed61f3ad7f6770a754e1a31afde5a75e27464c399261bfdafbe37729f201e6bbcb06bb6c59bf52ac0ede4393a15fa
DIST driftnet-1.3.0.tar.gz 4971618 BLAKE2B 1cf0a46caac2267c093bf21a0d8e150518dbfe0e76acbe21ef87cd760ccbe964313116ee24d25ad7759b3eeba19ef7925200caee4fd06bb28f9836217d889256 SHA512 45f1016a850cf9e5e294756e47e40eccb13f57a316ae7fa885eac2d5e53f68b9d9ef86868415eca76b108f7aa1f4080c550a91f789265edb0f6e3a55e05f5f0c
diff --git a/net-analyzer/driftnet/driftnet-0.1.6_p20090401-r1.ebuild b/net-analyzer/driftnet/driftnet-0.1.6_p20090401-r1.ebuild
deleted file mode 100644
index 6e4749e79a2..00000000000
--- a/net-analyzer/driftnet/driftnet-0.1.6_p20090401-r1.ebuild
+++ /dev/null
@@ -1,85 +0,0 @@
-# Copyright 1999-2019 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=5
-inherit eutils fcaps flag-o-matic toolchain-funcs
-
-DESCRIPTION="Listen to network traffic and pick out images from TCP streams observed"
-HOMEPAGE="http://www.ex-parrot.com/~chris/driftnet/"
-SRC_URI="https://github.com/downloads/rbu/${PN}/${P}.tar.gz"
-
-LICENSE="GPL-2"
-KEYWORDS="amd64 ~arm64 ppc -sparc x86"
-SLOT="0"
-IUSE="gtk mp3 suid"
-
-CDEPEND="
- net-libs/libpcap
- gtk? (
- x11-libs/gtk+:2
- virtual/jpeg:0
- media-libs/giflib:=
- media-libs/libpng:=
- )
-"
-
-DEPEND="
- ${CDEPEND}
- virtual/pkgconfig
-"
-RDEPEND="
- ${CDEPEND}
- mp3? ( media-sound/mpg123 )
-"
-
-src_prepare() {
- epatch "${FILESDIR}"/${PN}-0.1.6-giflib-5.patch
-
- sed -i \
- -e 's:png_set_gray_1_2_4_to_8:png_set_expand_gray_1_2_4_to_8:' \
- png.c || die
-
- # With newer libpng, --cflags causes build failures.
- sed -i \
- -e 's:pkg-config --cflags libpng:$(PKG_CONFIG) --libs libpng:' \
- -e 's:_BSD_SOURCE:_DEFAULT_SOURCE:g' \
- Makefile || die
-}
-
-src_compile() {
- tc-export CC PKG_CONFIG
-
- if use gtk; then
- emake
- mv driftnet driftnet-gtk || die
- emake clean
- fi
-
- # build a non-gtk version for all users
- sed -i 's:^\(.*gtk.*\)$:#\1:g' Makefile || die "sed disable gtk failed"
- append-flags -DNO_DISPLAY_WINDOW
- emake
-}
-
-src_install() {
- dosbin driftnet
- doman driftnet.1
-
- use gtk && dosbin driftnet-gtk
-
- dodoc CHANGES CREDITS README TODO
-
- if use suid ; then
- elog "marking the no-display driftnet as setuid root."
- fowners root:wheel "/usr/sbin/driftnet"
- fperms 710 "/usr/sbin/driftnet"
- fperms u+s "/usr/sbin/driftnet"
- fi
-}
-
-pkg_postinst() {
- fcaps cap_dac_read_search,cap_net_raw,cap_net_admin \
- "${EROOT}"/usr/sbin/driftnet
- use gtk && fcaps cap_dac_read_search,cap_net_raw,cap_net_admin \
- "${EROOT}"/usr/sbin/driftnet-gtk
-}