summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Reffett <creffett@gentoo.org>2014-08-22 14:30:56 +0000
committerChris Reffett <creffett@gentoo.org>2014-08-22 14:30:56 +0000
commitc0a6092a22d62331f4d3202c7d0d72df67a8214e (patch)
treefce105e5c337f09718aba24846ffffffc8c526e8 /net-analyzer
parentold (diff)
downloadhistorical-c0a6092a22d62331f4d3202c7d0d72df67a8214e.tar.gz
historical-c0a6092a22d62331f4d3202c7d0d72df67a8214e.tar.bz2
historical-c0a6092a22d62331f4d3202c7d0d72df67a8214e.zip
QA: revbump, convert to EAPI 5.
Package-Manager: portage-2.2.8-r1/cvs/Linux x86_64
Diffstat (limited to 'net-analyzer')
-rw-r--r--net-analyzer/driftnet/ChangeLog8
-rw-r--r--net-analyzer/driftnet/Manifest27
-rw-r--r--net-analyzer/driftnet/driftnet-0.1.6-r5.ebuild68
3 files changed, 79 insertions, 24 deletions
diff --git a/net-analyzer/driftnet/ChangeLog b/net-analyzer/driftnet/ChangeLog
index 03ff7df3b5b2..59c967aa875a 100644
--- a/net-analyzer/driftnet/ChangeLog
+++ b/net-analyzer/driftnet/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for net-analyzer/driftnet
# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-analyzer/driftnet/ChangeLog,v 1.45 2014/07/27 11:18:47 phajdan.jr Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-analyzer/driftnet/ChangeLog,v 1.46 2014/08/22 14:30:54 creffett Exp $
+
+*driftnet-0.1.6-r5 (22 Aug 2014)
+
+ 22 Aug 2014; Christopher Reffett <2011creffett@gentoo.org>
+ +driftnet-0.1.6-r5.ebuild:
+ QA: revbump, convert to EAPI 5.
26 Jul 2014; Pawel Hajdan jr <phajdan.jr@gentoo.org>
driftnet-0.1.6_p20090401.ebuild:
diff --git a/net-analyzer/driftnet/Manifest b/net-analyzer/driftnet/Manifest
index 3daba12dbcc3..61eb45d7703d 100644
--- a/net-analyzer/driftnet/Manifest
+++ b/net-analyzer/driftnet/Manifest
@@ -1,27 +1,8 @@
------BEGIN PGP SIGNED MESSAGE-----
-Hash: SHA256
-
DIST driftnet-0.1.6_p20090401.tar.gz 43683 SHA256 6ed5d66ddc219a9e98a3879aa1317a9437dc7fc97b7a2bf538a0cb8bb32f4dca SHA512 93b2f7b644603bf2fea09163c3c8cc6eed7ed61f3ad7f6770a754e1a31afde5a75e27464c399261bfdafbe37729f201e6bbcb06bb6c59bf52ac0ede4393a15fa WHIRLPOOL 2523114d08ee789cf0194fafb3cf1886b1173d1106091cd73973f9a213656a94fa721ef08c1037d1f5efa488caa79c936df527e9463414445ea8c0c4a87333a7
-DIST driftnet_0.1.6-8.diff.gz 6343 SHA256 16b2ad387d3a06f2a00699b66e99de4b9c4a8636127d303d1f148862a1d65215
-DIST driftnet_0.1.6.orig.tar.gz 36700 SHA256 d3cb92ce27e36c3bd7225f01e893f51a6deb04ad3235d79f5e92e17941d7511b
+DIST driftnet_0.1.6-8.diff.gz 6343 SHA256 16b2ad387d3a06f2a00699b66e99de4b9c4a8636127d303d1f148862a1d65215 SHA512 0c5c47f6943516be35da2addaf72071ac6046d21addaea558c66ce7da88862a50afdb4a6da5976a0b296f4cfc2ee1f523a4509f44b525fa85aabe83d09e5d419 WHIRLPOOL 2d8e39611b4e68ee11920d51b156fe93bd87c939a715e68e4711ac63ffb508f694cac5ac5776ff3b5279e5df4e90440df9d167bf05f7bb5d9c50a306148c0b73
+DIST driftnet_0.1.6.orig.tar.gz 36700 SHA256 d3cb92ce27e36c3bd7225f01e893f51a6deb04ad3235d79f5e92e17941d7511b SHA512 57acfe25fb354508ea5d6bb41da167aefb3363a4a1f7130e32eae42416b106cd756967d7c251b0dd655de2e8e9f7d4cdf73c29e398de816513cfbed2b4932bb0 WHIRLPOOL 9aaae369ec8aff9d36bbd4bae574df4c7768a18cfcd9b1a22a7b7fb5c2a686c2a35d72ab8b3f18773bedcfecc58b925e9fe6190cb6c80b3700cbc068a7000b96
EBUILD driftnet-0.1.6-r4.ebuild 1695 SHA256 492df8cddb742a339fe4384dc4b7ee555e7dfaf8157c39f621635a211e265536 SHA512 f4e9f870e0d77a0842a98b01a9322f06f8895eb217205f3593971bbffa31711b7f653bd9fb9453d4591588c88ff99b4f7fd2e9f31c041677404bb1ff00377087 WHIRLPOOL 7a67b30c473f4b3b37198850811ca167c41d5124458d1e48a248b971a4cef1c6942bd0b1b62c13959eb42416e2b277e107dac678ad9255f0e9943d5a63fe17cd
+EBUILD driftnet-0.1.6-r5.ebuild 1596 SHA256 1ae3b9bf372e3679db0d91ee02f6e87aa1a54be80be78b34617f38a6305aaca9 SHA512 417ed64f8e5cb0e7e036ee4ce4d802a7868e1613335b4d819788431991e3503d303e5fddd3ce838e09b5b5a94bbb986ca25dcb8af76de8993d42593c7910b5a3 WHIRLPOOL 62afea3d73fe5a13e9d6f784dc6a0099c7eba5e9b6d049fce97538a17a1f3ea946a3a86a113a74cd57328d659555e3bc720c04e86fe182f89cc0cfce223350b3
EBUILD driftnet-0.1.6_p20090401.ebuild 1629 SHA256 fb56e46823be41d1eea499b6414d98ce780c76e7ab8fd4bfd96cec39a569cbff SHA512 2a37bb902cda7769c9cda9446f31a1f75a87254a50051320bf552684831d9404ca702889a0aea1d61de9c4e26270069196c39cc9767081819aaf71cc6aa4d7bb WHIRLPOOL 192504d8ef4d2c1d24bb7a9a592288cf8adb930a5ab69dc933cb12a024b41b27378996bdf4538b337e3342439f9da24bc791070b057230432eaeb3ccb97af375
-MISC ChangeLog 6009 SHA256 04782c9f6ca4eee599c2ff76508efa4f8a35fa84871e22429f18fd9804cc519b SHA512 44213aec35f7786289f31473825ac6b4049567b1f2ee232071181e4cb7d8d0e3b433d3f00afe7fb9efcd46ae2808aaad07976aa88307308a0648d3773bde492b WHIRLPOOL d40980a77434a6c3469cf9183b2ffee35abba90e76401873076b5519309c35970a7a1cfd8c0eacf906a81c6cfee771b0e3121b36f50a64f28edf733d4352d305
+MISC ChangeLog 6166 SHA256 d60d2f78194cd6be6dd5bb6faee4909e5c5b9f31080ff5de8ebf56acf128c0fe SHA512 a6939ea236fdd061b0805fe78857ea13cfb4f213ffc9396fe73c01f9cb4d1f20c403e25d573eeab3911f21fe334ef92ad6980e67015fe03584b6a36a9cc73739 WHIRLPOOL a836e41c3e1cbecaf7e18b400b3a11efa5bdd282f38a996c23c2f0063e6c0f951cf5f1c2bd4f6e4b756fcb85861e3757d32ef0dbf7899489b9e24722f05b4f85
MISC metadata.xml 287 SHA256 0132f6f9154547c2766f5ad9598aeed4c9ddddd70acf9ba1b333dda556a2f994 SHA512 3accb56aa14af50af1b2835662e4e3c6cf203e060722b277421f1bf0678b900201a566c92186031e1976b74e26093306fee245967db9eb7b63a57aa58c14705f WHIRLPOOL 0cb46a4fc7f7661ce9f47ba3099c8ccb7caf335b78e23ab0a46cdb77b9e3d50e5b7fe80001f814201b396f03366b159ca192449f63461635cf88f4133744b1f1
------BEGIN PGP SIGNATURE-----
-Version: GnuPG v2
-
-iQIcBAEBCAAGBQJT1CBgAAoJEE8aJVXqcZkdTncQAMjQ9U4w6+2G69NGUkiR+Ygl
-K025LV+A070HYHhZpEAX1C5dxk4Ebli5zok5f9AbjHm204Eeg62FhrP1gk/aVUFp
-Se/rYfMDg8wsqjkReQzi11tqRIvV3r6SJfUTrm/eAuXcDcT2dkI3/wIlrkNM7+jA
-iEyP9rjpa/p/DExaVr1EMrSVIrqD/YJ5c+ELu5DLSC7RFvzQc2sOWuncMOpwUIcf
-7Anu7fVYC01LLH0Rmm0Akmy+ARn/vUxU1/AqDwMAQolfCdAbbvPnAmdL6MTPkdLp
-xGY9hALfVA92X7hIg8wbPD1Yy/bYT7iq1i880sUW2nowfww4YEufUk/syzBvNA5h
-118ykvdXSEBorv+cZhpQ1Z5eYvlEbbPPtSZM8rB3+plTd/yyA5W2otWxRsEaVopP
-Mq/k7dNKM6J6WluoX1EME6vrYdkTat0rxnVOYvWp//murkObe18WXUBEnU8ue8x7
-xxZua3CIXCTUqPFKESTHsYYOcOs+4IiFrejeDa2w7QIMnN3TEFMFKVctB5aNty4b
-IMoy4HLNCGHA0imx0NNagKEURViM9ZG8oYVL5Ljdi2h5n75vIlHx3rZuDSYllHXY
-XE84d5CjVRZi20sir1OsZ9oAXHi3g6Zj4FjUvyZslQEGKIjKw+3/GdIQa4iHKgnv
-P7k4BevMsg4TRaBc1yRA
-=4+ZO
------END PGP SIGNATURE-----
diff --git a/net-analyzer/driftnet/driftnet-0.1.6-r5.ebuild b/net-analyzer/driftnet/driftnet-0.1.6-r5.ebuild
new file mode 100644
index 000000000000..3a13bdb6780c
--- /dev/null
+++ b/net-analyzer/driftnet/driftnet-0.1.6-r5.ebuild
@@ -0,0 +1,68 @@
+# Copyright 1999-2014 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-r5.ebuild,v 1.1 2014/08/22 14:30:54 creffett Exp $
+
+EAPI=5
+inherit eutils flag-o-matic
+
+MY_P="${PN}_${PV}"
+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="mirror://debian/pool/main/d/driftnet/${MY_P}.orig.tar.gz
+ mirror://debian/pool/main/d/driftnet/${MY_P}-8.diff.gz"
+
+LICENSE="GPL-2"
+KEYWORDS="~amd64 ~ppc -sparc ~x86"
+SLOT="0"
+IUSE="gtk"
+
+RDEPEND="virtual/jpeg
+ media-libs/giflib
+ media-libs/libpng
+ net-libs/libpcap
+ gtk? ( x11-libs/gtk+:2 )"
+
+DEPEND="${RDEPEND}
+ >=x11-misc/makedepend-1.0.0
+ virtual/pkgconfig"
+
+S="${WORKDIR}/${P}.orig"
+
+src_prepare() {
+ epatch "${DISTDIR}"/${MY_P}-8.diff.gz
+
+ # don't use gtk+ by default
+ sed -i 's:^\(.*gtk-config.*\)$:#\1:g' Makefile || die "sed disable gtk failed"
+}
+
+src_configure() {
+ if use gtk; then
+ sed -i 's:^#\(.*gtk-config.*\)$:\1:g' Makefile || die "sed enable gtk failed"
+ else
+ append-flags -DNO_DISPLAY_WINDOW
+ fi
+}
+
+src_compile() {
+ if use gtk; then
+ emake || die "gtk+ build failed"
+ mv driftnet driftnet-gtk
+ make clean || die
+ fi
+
+ emake
+}
+
+src_install () {
+ dobin driftnet
+ doman driftnet.1
+
+ use gtk && dobin driftnet-gtk
+
+ dodoc CHANGES CREDITS README TODO
+
+ elog "marking the no-display driftnet as setuid root."
+ chown root:wheel "${D}/usr/bin/driftnet"
+ chmod 750 "${D}/usr/bin/driftnet"
+ chmod u+s "${D}/usr/bin/driftnet"
+}