diff options
author | Jeroen Roovers <jer@gentoo.org> | 2020-09-25 16:12:44 +0200 |
---|---|---|
committer | Jeroen Roovers <jer@gentoo.org> | 2020-09-25 16:14:07 +0200 |
commit | dfc2504d0372cfd0e7b52ed85eca78ccd337095a (patch) | |
tree | da13f1d6b6d3c0960cdfc212174cb99d132a1561 /net-analyzer/driftnet | |
parent | net-analyzer/driftnet: Version 1.3.0 (diff) | |
download | gentoo-dfc2504d0372cfd0e7b52ed85eca78ccd337095a.tar.gz gentoo-dfc2504d0372cfd0e7b52ed85eca78ccd337095a.tar.bz2 gentoo-dfc2504d0372cfd0e7b52ed85eca78ccd337095a.zip |
net-analyzer/driftnet: Old
Package-Manager: Portage-3.0.8, Repoman-3.0.1
Signed-off-by: Jeroen Roovers <jer@gentoo.org>
Diffstat (limited to 'net-analyzer/driftnet')
-rw-r--r-- | net-analyzer/driftnet/driftnet-0.1.6_p20090401.ebuild | 65 |
1 files changed, 0 insertions, 65 deletions
diff --git a/net-analyzer/driftnet/driftnet-0.1.6_p20090401.ebuild b/net-analyzer/driftnet/driftnet-0.1.6_p20090401.ebuild deleted file mode 100644 index 9de58dda9d5f..000000000000 --- a/net-analyzer/driftnet/driftnet-0.1.6_p20090401.ebuild +++ /dev/null @@ -1,65 +0,0 @@ -# Copyright 1999-2020 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=5 -inherit eutils flag-o-matic toolchain-funcs - -DESCRIPTION="A program which listens to network traffic and picks out images from TCP streams it observes" -HOMEPAGE="http://www.ex-parrot.com/~chris/driftnet/" -SRC_URI="https://github.com/downloads/rbu/${PN}/${P}.tar.gz" - -LICENSE="GPL-2" -KEYWORDS="~amd64 ppc -sparc x86" -SLOT="0" -IUSE="gtk mp3 suid" - -CDEPEND="net-libs/libpcap - gtk? ( x11-libs/gtk+:2 - virtual/jpeg - media-libs/giflib - media-libs/libpng )" - -DEPEND="${CDEPEND} - virtual/pkgconfig" -RDEPEND="${CDEPEND} - mp3? ( media-sound/mpg123 )" - -src_prepare() { - 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:' \ - Makefile || die -} - -src_compile() { - export CC=$(tc-getCC) - 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 -} |