diff options
author | Markus Ullmann <jokey@gentoo.org> | 2006-03-26 11:49:58 +0000 |
---|---|---|
committer | Markus Ullmann <jokey@gentoo.org> | 2006-03-26 11:49:58 +0000 |
commit | 6197d4dd45fe1bc5edef5e4e4d84a61529ec67fc (patch) | |
tree | 11216f657217fda4c317a6c5615adbad123d3642 /net-analyzer/driftnet | |
parent | Remove old non-working CVS ebuild and bump to recent SVN (diff) | |
download | gentoo-2-6197d4dd45fe1bc5edef5e4e4d84a61529ec67fc.tar.gz gentoo-2-6197d4dd45fe1bc5edef5e4e4d84a61529ec67fc.tar.bz2 gentoo-2-6197d4dd45fe1bc5edef5e4e4d84a61529ec67fc.zip |
Changed mpg123 dependency to info message, removed makedepend from RDEPEND wrt bug #127146
(Portage version: 2.1_pre6-r7)
Diffstat (limited to 'net-analyzer/driftnet')
-rw-r--r-- | net-analyzer/driftnet/ChangeLog | 8 | ||||
-rw-r--r-- | net-analyzer/driftnet/Manifest | 24 | ||||
-rw-r--r-- | net-analyzer/driftnet/driftnet-0.1.6-r3.ebuild | 81 | ||||
-rw-r--r-- | net-analyzer/driftnet/files/digest-driftnet-0.1.6-r3 | 6 |
4 files changed, 118 insertions, 1 deletions
diff --git a/net-analyzer/driftnet/ChangeLog b/net-analyzer/driftnet/ChangeLog index ca0252d8872a..ab641ddabd90 100644 --- a/net-analyzer/driftnet/ChangeLog +++ b/net-analyzer/driftnet/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for net-analyzer/driftnet # Copyright 2002-2006 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/net-analyzer/driftnet/ChangeLog,v 1.22 2006/03/12 17:24:03 vanquirius Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-analyzer/driftnet/ChangeLog,v 1.23 2006/03/26 11:49:58 jokey Exp $ + +*driftnet-0.1.6-r3 (26 Mar 2006) + + 26 Mar 2006; Markus Ullmann <jokey@gentoo.org> +driftnet-0.1.6-r3.ebuild: + Changed mpg123 dependency to info message, removed makedepend from RDEPEND + wrt bug #127146 12 Mar 2006; Marcelo Goes <vanquirius@gentoo.org> driftnet-0.1.6-r2.ebuild: diff --git a/net-analyzer/driftnet/Manifest b/net-analyzer/driftnet/Manifest index 9bdd2bd88e21..26dd5d12c4cc 100644 --- a/net-analyzer/driftnet/Manifest +++ b/net-analyzer/driftnet/Manifest @@ -1,9 +1,33 @@ MD5 625a9c802b9529eafb021cfef451c841 ChangeLog 2686 +RMD160 fab160d5eb18e591d6f98140736fe0002a91fe20 ChangeLog 2686 +SHA256 c078d7d3607e6eded127df6adb17313232d8a67aa98f0cea50bcf0a94b102b2d ChangeLog 2686 MD5 8d0a51db0a19d57014de6babefd1205a driftnet-0.1.6-r1.ebuild 1771 +RMD160 d10fbdcbf2c094938843bb3a30461f6bd7195b1f driftnet-0.1.6-r1.ebuild 1771 +SHA256 c0565591ecfb98c6aa71b5a6c8d00d88c551f4e17e4ea89d74e363b8fedfb2bd driftnet-0.1.6-r1.ebuild 1771 MD5 ea2ed7736cea003c82bb0ec9f635f0a3 driftnet-0.1.6-r2.ebuild 1897 +RMD160 daef1158c2f8d2f694183d408faa2fbcdad2a8d8 driftnet-0.1.6-r2.ebuild 1897 +SHA256 2c13de980e81c67f27309080691fcafc0b46970b1bba1418324a794c7383c2c2 driftnet-0.1.6-r2.ebuild 1897 +MD5 9b9f407fa42b30e30abe3ddbe03248ee driftnet-0.1.6-r3.ebuild 2057 +RMD160 8da22f0ff7a628fe1b8f51ffde4fa772d501a5a5 driftnet-0.1.6-r3.ebuild 2057 +SHA256 a188c0de396b457ce6c3bc164c0f9185d8321e5e350e70c0ac677b98f43f34ba driftnet-0.1.6-r3.ebuild 2057 MD5 9430e0effe2265e9590f1882b5242763 driftnet-0.1.6.ebuild 1747 +RMD160 860979d26143a71b5fe815374ea5eea81ebadcd8 driftnet-0.1.6.ebuild 1747 +SHA256 a0eaf7582a7f3a1d4bf98f2a436cc46ad425d738694ecbafc6770539e024844e driftnet-0.1.6.ebuild 1747 MD5 c0c08c9836402b53a0eb51c3b6c6201a files/digest-driftnet-0.1.6 65 +RMD160 73cf9c973e8defe244f77f0af600662d9562fdd6 files/digest-driftnet-0.1.6 65 +SHA256 49bab5bd4fbabd9f1e0103cfe3fed7774321181964fa7955cdcf826f451031de files/digest-driftnet-0.1.6 65 MD5 c0c08c9836402b53a0eb51c3b6c6201a files/digest-driftnet-0.1.6-r1 65 +RMD160 73cf9c973e8defe244f77f0af600662d9562fdd6 files/digest-driftnet-0.1.6-r1 65 +SHA256 49bab5bd4fbabd9f1e0103cfe3fed7774321181964fa7955cdcf826f451031de files/digest-driftnet-0.1.6-r1 65 MD5 b4c568f613429f5cffb9e7d3cf7cbd58 files/digest-driftnet-0.1.6-r2 137 +RMD160 1685ecd9103a126df6dc74ec20542b83bac73c8c files/digest-driftnet-0.1.6-r2 137 +SHA256 c61350ded3f0bdb483a55379a8b579b09fb529c078294861964cf00715738034 files/digest-driftnet-0.1.6-r2 137 +MD5 8138c844e5f5ca61e6af9924bf289b12 files/digest-driftnet-0.1.6-r3 503 +RMD160 b3a2ad5d568d29378029274ad6bd5345bd244f2a files/digest-driftnet-0.1.6-r3 503 +SHA256 6fffe5aed84a926ec614ba9474854747880191df55e91ed3cfbd0d3b5817fada files/digest-driftnet-0.1.6-r3 503 MD5 197d8c21e7593ec2c40a08c80e5b9808 files/driftnet-0.1.6-tmpnam-is-bad.diff 2096 +RMD160 93605857f246cbeb87690beb4e49055a5fff69b9 files/driftnet-0.1.6-tmpnam-is-bad.diff 2096 +SHA256 9920eb429a018f459d786635d0957185a3edf7a10bbe6d5148fcf55798bf5748 files/driftnet-0.1.6-tmpnam-is-bad.diff 2096 MD5 fe5d2611299b3a390d7681e92ff4d5c5 metadata.xml 287 +RMD160 f5a05509893b609f9bc3c7b0ccc73d037656b15b metadata.xml 287 +SHA256 0132f6f9154547c2766f5ad9598aeed4c9ddddd70acf9ba1b333dda556a2f994 metadata.xml 287 diff --git a/net-analyzer/driftnet/driftnet-0.1.6-r3.ebuild b/net-analyzer/driftnet/driftnet-0.1.6-r3.ebuild new file mode 100644 index 000000000000..b32dac998ad4 --- /dev/null +++ b/net-analyzer/driftnet/driftnet-0.1.6-r3.ebuild @@ -0,0 +1,81 @@ +# Copyright 1999-2006 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-r3.ebuild,v 1.1 2006/03/26 11:49:58 jokey Exp $ + +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}-4.diff.gz" + +LICENSE="GPL-2" +KEYWORDS="~amd64 ~ppc ~sparc ~x86" +SLOT="0" +IUSE="gtk" + +DEPEND="${RDEPEND} + || ( + ( >=x11-misc/makedepend-1.0.0 ) + virtual/x11 + )" + +RDEPEND="media-libs/jpeg + media-libs/giflib + media-libs/libpng + net-libs/libpcap + gtk? ( >=x11-libs/gtk+-2.0.0 )" + +S="${WORKDIR}/${P}.orig" + +src_unpack() { + unpack ${A} + cd "${S}" + + epatch "${DISTDIR}"/${MY_P}-4.diff.gz + + # use giflib - bug 85720 + sed -i 's/-lungif/-lgif/' Makefile || die "sed giflib failed" + # don't use gtk+ by default + sed -i 's:^\(.*gtk-config.*\)$:#\1:g' Makefile || die "sed disable gtk failed" +} + +src_compile() { + append-ldflags $(bindnow-flags) + + if use gtk; then + sed -i 's:^#\(.*gtk-config.*\)$:\1:g' Makefile || die "sed enable gtk failed" + emake || die "gtk+ build failed" + mv driftnet driftnet-gtk + make clean || die + else + append-flags -DNO_DISPLAY_WINDOW + fi + + emake || die "emake failed" +} + +src_install () { + dobin driftnet || die "dobin failed" + doman driftnet.1 || die "doman failed" + + use gtk && { dobin driftnet-gtk || die "dobin failed (gtk)" ; } + + dodoc CHANGES CREDITS README TODO || die "dodoc failed" + + einfo "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" +} + +pkg_postinst() { + if ! has_version 'virtual/mpg123' ; then + einfo + einfo "In case you want driftnet to be able to play" + einfo "audio files found on the streams, you need to do:" + einfo " # emerge mpg123" + einfo + fi +}
\ No newline at end of file diff --git a/net-analyzer/driftnet/files/digest-driftnet-0.1.6-r3 b/net-analyzer/driftnet/files/digest-driftnet-0.1.6-r3 new file mode 100644 index 000000000000..b2b292e5eba5 --- /dev/null +++ b/net-analyzer/driftnet/files/digest-driftnet-0.1.6-r3 @@ -0,0 +1,6 @@ +MD5 b9e776d649c5d51624958da35d2e9b41 driftnet_0.1.6-4.diff.gz 5844 +RMD160 36e3a753f0b93a6c954c01049ff97c590d582d2a driftnet_0.1.6-4.diff.gz 5844 +SHA256 c9ecabcf5062c1a5d7b670fcc4edf856c8390d8d199b2702d9987f6faa73bb78 driftnet_0.1.6-4.diff.gz 5844 +MD5 041663e29bd393fb136c9a1e7025fd81 driftnet_0.1.6.orig.tar.gz 36700 +RMD160 d33e8538b9cc985cbf90e92d4000b77b51d1ec87 driftnet_0.1.6.orig.tar.gz 36700 +SHA256 d3cb92ce27e36c3bd7225f01e893f51a6deb04ad3235d79f5e92e17941d7511b driftnet_0.1.6.orig.tar.gz 36700 |