summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobert Buchholz <rbu@gentoo.org>2009-04-25 13:25:16 +0000
committerRobert Buchholz <rbu@gentoo.org>2009-04-25 13:25:16 +0000
commit85532c8db8ac41f8fd038bdabbe51289f1684115 (patch)
tree3036f9da5d7720241453afcdea20a40d1a78c0ff /net-analyzer/driftnet
parentRevbump fixing local printing problems caused by client.conf settings due to ... (diff)
downloadgentoo-2-85532c8db8ac41f8fd038bdabbe51289f1684115.tar.gz
gentoo-2-85532c8db8ac41f8fd038bdabbe51289f1684115.tar.bz2
gentoo-2-85532c8db8ac41f8fd038bdabbe51289f1684115.zip
Bump to a forked bugfix release, fixes bug #257717 (driftnet does not display any pictures). Remove bindnow-flags (bug #226985 by Diego E. 'Flameeyes' Pettenò).
(Portage version: 2.1.6.11/cvs/Linux x86_64)
Diffstat (limited to 'net-analyzer/driftnet')
-rw-r--r--net-analyzer/driftnet/ChangeLog12
-rw-r--r--net-analyzer/driftnet/driftnet-0.1.6_p20090401.ebuild57
-rw-r--r--net-analyzer/driftnet/metadata.xml4
3 files changed, 71 insertions, 2 deletions
diff --git a/net-analyzer/driftnet/ChangeLog b/net-analyzer/driftnet/ChangeLog
index a429d0002e22..5ac408b4f3ef 100644
--- a/net-analyzer/driftnet/ChangeLog
+++ b/net-analyzer/driftnet/ChangeLog
@@ -1,6 +1,14 @@
# ChangeLog for net-analyzer/driftnet
-# Copyright 2002-2008 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-analyzer/driftnet/ChangeLog,v 1.34 2008/05/16 18:23:23 nixnut Exp $
+# Copyright 2002-2009 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/net-analyzer/driftnet/ChangeLog,v 1.35 2009/04/25 13:25:16 rbu Exp $
+
+*driftnet-0.1.6_p20090401 (25 Apr 2009)
+
+ 25 Apr 2009; Robert Buchholz <rbu@gentoo.org> metadata.xml,
+ +driftnet-0.1.6_p20090401.ebuild:
+ Bump to a forked bugfix release, fixes bug #257717 (driftnet does not display
+ any pictures). Remove bindnow-flags (bug #226985 by Diego E. 'Flameeyes'
+ Pettenò).
16 May 2008; nixnut <nixnut@gentoo.org> driftnet-0.1.6-r4.ebuild:
Stable on ppc wrt bug 222289
diff --git a/net-analyzer/driftnet/driftnet-0.1.6_p20090401.ebuild b/net-analyzer/driftnet/driftnet-0.1.6_p20090401.ebuild
new file mode 100644
index 000000000000..76945eba35d1
--- /dev/null
+++ b/net-analyzer/driftnet/driftnet-0.1.6_p20090401.ebuild
@@ -0,0 +1,57 @@
+# Copyright 1999-2009 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-analyzer/driftnet/driftnet-0.1.6_p20090401.ebuild,v 1.1 2009/04/25 13:25:16 rbu Exp $
+
+EAPI=2
+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="http://cloud.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.0.0
+ media-libs/jpeg
+ media-libs/giflib
+ media-libs/libpng )"
+
+DEPEND="${CDEPEND}
+ dev-util/pkgconfig"
+RDEPEND="${CDEPEND}
+ mp3? ( virtual/mpg123 )"
+
+
+src_compile() {
+ export CC=$(tc-getCC)
+ if use gtk; then
+ emake || die "gtk+ build failed"
+ mv driftnet driftnet-gtk
+ make clean || die
+ 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 || die "emake failed"
+}
+
+src_install () {
+ dosbin driftnet || die "dobin failed"
+ doman driftnet.1 || die "doman failed"
+
+ use gtk && { dosbin driftnet-gtk || die "dosbin failed (gtk)" ; }
+
+ dodoc CHANGES CREDITS README TODO || die "dodoc failed"
+
+ 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
+}
diff --git a/net-analyzer/driftnet/metadata.xml b/net-analyzer/driftnet/metadata.xml
index 6c3eac426b2c..627c76a531cf 100644
--- a/net-analyzer/driftnet/metadata.xml
+++ b/net-analyzer/driftnet/metadata.xml
@@ -2,5 +2,9 @@
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<herd>netmon</herd>
+<maintainer>
+ <email>rbu@gentoo.org</email>
+ <name>Robert Buchholz</name>
+</maintainer>
<longdescription>A program which listens to network traffic and picks out images from TCP streams it observes</longdescription>
</pkgmetadata>