diff options
-rw-r--r-- | net-analyzer/driftnet/ChangeLog | 12 | ||||
-rw-r--r-- | net-analyzer/driftnet/Manifest | 6 | ||||
-rw-r--r-- | net-analyzer/driftnet/driftnet-0.1.6_p20090401.ebuild | 57 | ||||
-rw-r--r-- | net-analyzer/driftnet/metadata.xml | 4 |
4 files changed, 75 insertions, 4 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/Manifest b/net-analyzer/driftnet/Manifest index 3e105fc329cc..e991cf2bb289 100644 --- a/net-analyzer/driftnet/Manifest +++ b/net-analyzer/driftnet/Manifest @@ -1,5 +1,7 @@ +DIST driftnet-0.1.6_p20090401.tar.gz 43683 RMD160 5a564b37f1e95e26224ed698f1afab5046eae08d SHA1 b0b984624b9053c1ebb12cf36928c89ac1492253 SHA256 6ed5d66ddc219a9e98a3879aa1317a9437dc7fc97b7a2bf538a0cb8bb32f4dca DIST driftnet_0.1.6-8.diff.gz 6343 RMD160 86efe61f62c727ea1cceaabfdd7ec5aaf9f4a28a SHA1 a8c79bed181549a06c5e2f13e1e4dab2d698332f SHA256 16b2ad387d3a06f2a00699b66e99de4b9c4a8636127d303d1f148862a1d65215 DIST driftnet_0.1.6.orig.tar.gz 36700 RMD160 d33e8538b9cc985cbf90e92d4000b77b51d1ec87 SHA1 eaf1501e85b010e1f4600e2b0a173ff509df0e68 SHA256 d3cb92ce27e36c3bd7225f01e893f51a6deb04ad3235d79f5e92e17941d7511b EBUILD driftnet-0.1.6-r4.ebuild 1951 RMD160 085602b0ce6923d2c16ea93b32f441c86b0be747 SHA1 446d8e3d8dc4abe1f404d10ec0ed14b9445b1277 SHA256 6365a1c84bc6e0429dd47f5ddb31c06e5038ebcd5c91f25e2de8936003ecfffb -MISC ChangeLog 4377 RMD160 93f1c9d6d906d9b18a573b08ae3f943e2ad4556a SHA1 9cfa21a7ca42ebe1fac65803c2d0f20d8f351ac6 SHA256 bc8155dff1a6c0f07495f4207bddffa0a056bb2a6306936291bbeaf0e38423e8 -MISC metadata.xml 287 RMD160 f5a05509893b609f9bc3c7b0ccc73d037656b15b SHA1 d13e9a26c5d26ded3f1e936b99bf37b912a184b4 SHA256 0132f6f9154547c2766f5ad9598aeed4c9ddddd70acf9ba1b333dda556a2f994 +EBUILD driftnet-0.1.6_p20090401.ebuild 1539 RMD160 ab7b83b6d191d268e3b2d0e231b0359871c43cbe SHA1 9f6d6753c75763a86f903958ef71396cea3f105a SHA256 ecbd74e1d648569681a2d4e612a8ded80706a55709979a64ea5a51a78f85b823 +MISC ChangeLog 4682 RMD160 6e7917f77edbbd7eefd97fae7597448573c26610 SHA1 f06eadce5e9245ac6c5fa3a6fa59bb7d74d35b6f SHA256 3820cf20dd492fd6b9eb3caee079b8404d02f1e2dd8262728f9b8aee7b44b5fd +MISC metadata.xml 377 RMD160 d0e0701a550f7b41696e355d6f863b7aad4abde9 SHA1 27907c9d905efa5a148fbc62c002c09e7ee5fcea SHA256 25ff2bc9b8c841924653202969f6df015acac21bd2f8d0e8b213f6bb59f42b1a 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> |