diff options
author | Markus Ullmann <jokey@gentoo.org> | 2006-04-20 23:57:27 +0000 |
---|---|---|
committer | Markus Ullmann <jokey@gentoo.org> | 2006-04-20 23:57:27 +0000 |
commit | ae1e22cd4423f323618566ad3cd42a50ca0640e1 (patch) | |
tree | 4740a7d3cab3803c31b463920a036a11c01b7131 /net-analyzer/dsniff | |
parent | Stable on alpha wrt security #129850 (diff) | |
download | historical-ae1e22cd4423f323618566ad3cd42a50ca0640e1.tar.gz historical-ae1e22cd4423f323618566ad3cd42a50ca0640e1.tar.bz2 historical-ae1e22cd4423f323618566ad3cd42a50ca0640e1.zip |
Adding X USE flag for webspy
Package-Manager: portage-2.1_pre7-r5
Diffstat (limited to 'net-analyzer/dsniff')
-rw-r--r-- | net-analyzer/dsniff/ChangeLog | 9 | ||||
-rw-r--r-- | net-analyzer/dsniff/Manifest | 18 | ||||
-rw-r--r-- | net-analyzer/dsniff/dsniff-2.3-r10.ebuild | 70 | ||||
-rw-r--r-- | net-analyzer/dsniff/dsniff-2.4_beta1-r3.ebuild | 69 | ||||
-rw-r--r-- | net-analyzer/dsniff/files/digest-dsniff-2.3-r10 | 3 | ||||
-rw-r--r-- | net-analyzer/dsniff/files/digest-dsniff-2.4_beta1-r3 | 6 |
6 files changed, 171 insertions, 4 deletions
diff --git a/net-analyzer/dsniff/ChangeLog b/net-analyzer/dsniff/ChangeLog index 3c5fc1edb079..650ec323518a 100644 --- a/net-analyzer/dsniff/ChangeLog +++ b/net-analyzer/dsniff/ChangeLog @@ -1,6 +1,13 @@ # ChangeLog for net-analyzer/dsniff # Copyright 2002-2006 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/net-analyzer/dsniff/ChangeLog,v 1.34 2006/04/20 22:54:59 jokey Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-analyzer/dsniff/ChangeLog,v 1.35 2006/04/20 23:57:27 jokey Exp $ + +*dsniff-2.4_beta1-r3 (20 Apr 2006) +*dsniff-2.3-r10 (20 Apr 2006) + + 20 Apr 2006; Markus Ullmann <jokey@gentoo.org> +dsniff-2.3-r10.ebuild, + +dsniff-2.4_beta1-r3.ebuild: + Adding X USE flag for webspy 20 Apr 2006; Markus Ullmann <jokey@gentoo.org> dsniff-2.3-r7.ebuild, dsniff-2.3-r8.ebuild, dsniff-2.3-r9.ebuild, dsniff-2.4_beta1-r1.ebuild, diff --git a/net-analyzer/dsniff/Manifest b/net-analyzer/dsniff/Manifest index 282012a86c6f..a7a5226474a3 100644 --- a/net-analyzer/dsniff/Manifest +++ b/net-analyzer/dsniff/Manifest @@ -1,6 +1,9 @@ -MD5 128e60476fbfa707d7ed36e31720e24c ChangeLog 5002 -RMD160 4bad7b6f7f9f8074ffa806156f2177d4b9a2b7a3 ChangeLog 5002 -SHA256 4de7c66b22bbca8d2d124cfd0f61b989baa4885e59f9413d751aec18389583a7 ChangeLog 5002 +MD5 9c117b8e15a04e81b2fd01879de4df28 ChangeLog 5204 +RMD160 b77a96a3f2fc45838a1494f1508f9d72495590b6 ChangeLog 5204 +SHA256 9ea68a46e17732d9955a455c3ebeba70725155ce249ab2e570e261e6c8e1f0b5 ChangeLog 5204 +MD5 2f4ad5952cf33b663ddab137ea13021e dsniff-2.3-r10.ebuild 1888 +RMD160 6fa7ba25adf57960a968cd35ef82a973bb9b13ec dsniff-2.3-r10.ebuild 1888 +SHA256 bb1b3871e8e0afa939db48c537d8ce617c2bdf3d4891e5023ef450aa1944514b dsniff-2.3-r10.ebuild 1888 MD5 8c036a0c225068283476ef0fe53e1979 dsniff-2.3-r7.ebuild 1586 RMD160 abe46f2a8f42143145ed370f48e595fcb4008962 dsniff-2.3-r7.ebuild 1586 SHA256 54138af3692897a0602dd36b306cfa51e0b07236c82fc0fb7b945061749cf92e dsniff-2.3-r7.ebuild 1586 @@ -16,12 +19,18 @@ SHA256 baa007e955e57b8c3152cbc46ce6f17950777bcc2b394ce8f042788bc0e3f12b dsniff-2 MD5 1d81ec13642b0423501d0b6b84f7e206 dsniff-2.4_beta1-r2.ebuild 1738 RMD160 7cb1dc861be2c2c1001515224595d5a0093220df dsniff-2.4_beta1-r2.ebuild 1738 SHA256 58c16d4929b8d0f21bbfb4caeb5ce4cb8cae15c61eeba388859c92c5ab2e8a56 dsniff-2.4_beta1-r2.ebuild 1738 +MD5 614281c2ca51d261f8bec7d152bd554d dsniff-2.4_beta1-r3.ebuild 1815 +RMD160 3024d3ca974a4b1961b6635a85623a7b95845850 dsniff-2.4_beta1-r3.ebuild 1815 +SHA256 a2116ac9126e6abec9de8e6ab69de4028cdc7e5b3f53ba077e4a6094448a3bab dsniff-2.4_beta1-r3.ebuild 1815 MD5 9206faea6a9be25f7d1aa0ac0a2ff6e3 files/2.3-libnet-1.0.patch 6110 RMD160 955785d1f3a92615afbe4aeda200cf54fa2df42f files/2.3-libnet-1.0.patch 6110 SHA256 7e0a1236d7c57826c3c71cd78246dfdb10e8633217aac0b1784dff2889482136 files/2.3-libnet-1.0.patch 6110 MD5 f41ad0aeacc05042ec27551b257845d3 files/2.3-makefile.patch 1531 RMD160 babd313c726824db4e475dc3b350e28f266f183b files/2.3-makefile.patch 1531 SHA256 eeb39dafa708b85d309d96e48fa27f526e906f725e240142b7ad12fabac2616a files/2.3-makefile.patch 1531 +MD5 ecdfe27e4c9ebcf4ce1ea120033f0799 files/digest-dsniff-2.3-r10 232 +RMD160 2d529bfe6bec77608023bb500bbfcf32892896a2 files/digest-dsniff-2.3-r10 232 +SHA256 873e56e84042ef6b43ff2549d741f7aed70ef5adfe81324808fcc6291d5205c4 files/digest-dsniff-2.3-r10 232 MD5 0e5d8e4adda8f4876e972a02bed13cc3 files/digest-dsniff-2.3-r7 62 RMD160 5eed069f214a1ada7cfcb6a7dc9753f9ff77d1c3 files/digest-dsniff-2.3-r7 62 SHA256 dc0369d0febcdb5ef5f489f7c3e5b2f1e0c9a0219db420c5d2312c3e0947c888 files/digest-dsniff-2.3-r7 62 @@ -37,6 +46,9 @@ SHA256 0bc47b0e626badae875b48e1bba190d77345a67c47877d69166429a7ef73b80b files/di MD5 b109ec1eccaa5b60e6b7188576f0485e files/digest-dsniff-2.4_beta1-r2 524 RMD160 1cbdedadad5dceefade75ede34ce6d6a191aee73 files/digest-dsniff-2.4_beta1-r2 524 SHA256 0bc47b0e626badae875b48e1bba190d77345a67c47877d69166429a7ef73b80b files/digest-dsniff-2.4_beta1-r2 524 +MD5 b109ec1eccaa5b60e6b7188576f0485e files/digest-dsniff-2.4_beta1-r3 524 +RMD160 1cbdedadad5dceefade75ede34ce6d6a191aee73 files/digest-dsniff-2.4_beta1-r3 524 +SHA256 0bc47b0e626badae875b48e1bba190d77345a67c47877d69166429a7ef73b80b files/digest-dsniff-2.4_beta1-r3 524 MD5 449ef7ee0534e261c2ce91d9b754b290 files/dsniff-httppostfix.patch 675 RMD160 562c527409fe633e07d9a9ce60298ed9caf14f78 files/dsniff-httppostfix.patch 675 SHA256 320dab87c7c7f9ce86acf8830041da39aa367ba4149fa4eeffac93041d459293 files/dsniff-httppostfix.patch 675 diff --git a/net-analyzer/dsniff/dsniff-2.3-r10.ebuild b/net-analyzer/dsniff/dsniff-2.3-r10.ebuild new file mode 100644 index 000000000000..e42c6fb91fc1 --- /dev/null +++ b/net-analyzer/dsniff/dsniff-2.3-r10.ebuild @@ -0,0 +1,70 @@ +# Copyright 1999-2006 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/net-analyzer/dsniff/dsniff-2.3-r10.ebuild,v 1.1 2006/04/20 23:57:27 jokey Exp $ + +inherit eutils flag-o-matic + +DESCRIPTION="A collection of tools for network auditing and penetration testing" +HOMEPAGE="http://monkey.org/~dugsong/${PN}/" +SRC_URI="http://monkey.org/~dugsong/${PN}/${P}.tar.gz" +LICENSE="DSNIFF" +SLOT="0" +KEYWORDS="~alpha ~ppc ~x86" +IUSE="X" + +RDEPEND="net-libs/libpcap + <net-libs/libnet-1.1 + >=net-libs/libnet-1.0.2a-r3 + =net-libs/libnids-1.18 + >=dev-libs/openssl-0.9.6e + ~sys-libs/db-3.2.9 + sys-apps/sed + X? ( + || ( virtual/x11 x11-libs/libXmu ) + )" + +src_unpack() { + unpack ${A} + + # Making sure data files get correctly installed and that dsniff + # can find them + # Working around dsniff b0rky config script + # Data stuff goes into /etc/dsniff + cd "${S}" + epatch "${FILESDIR}"/${PV}-libnet-1.0.patch + sed -i \ + -e 's:-ldb:-ldb -lpthread:' \ + -e "s:lib':':" \ + configure || die "sed configure" + sed -i 's:-DDSNIFF_LIBDIR=\\\"$(libdir)/\\\"::' Makefile.in || die "sed makefile" + sed -i 's:/usr/local/lib:/etc/dsniff:' pathnames.h || die "sed pathnames" + epatch "${FILESDIR}"/${PV}-makefile.patch + + # Allow amd64 compilation + append-ldflags -lresolv + + # Fix for the local ip inversion (see bug #108144) + sed -i "s/de->ip = htonl(lnet_ip);/de->ip = lnet_ip;/" dnsspoof.c \ + || die "sed dnsspoof" + + # bug 125084 + epatch ${FILESDIR}/${PN}-httppostfix.patch +} + +src_compile() { + econf \ + $(use_with X x) \ + || die "econf failed" + + if has_version '>=sys-libs/glibc-2.4' ; then + append-flags -DCLK_TCK=CLOCKS_PER_SEC + fi + emake || die "emake failed" +} + +src_install() { + make install install_prefix="${D}" || die + dodir /etc/dsniff + mv "${D}"/usr/{dnsspoof.hosts,dsniff.{magic,services}} "${D}"/etc/dsniff/ + dodoc CHANGES README TODO +} diff --git a/net-analyzer/dsniff/dsniff-2.4_beta1-r3.ebuild b/net-analyzer/dsniff/dsniff-2.4_beta1-r3.ebuild new file mode 100644 index 000000000000..675e709b6343 --- /dev/null +++ b/net-analyzer/dsniff/dsniff-2.4_beta1-r3.ebuild @@ -0,0 +1,69 @@ +# Copyright 1999-2006 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/net-analyzer/dsniff/dsniff-2.4_beta1-r3.ebuild,v 1.1 2006/04/20 23:57:27 jokey Exp $ + +inherit eutils flag-o-matic + +DESCRIPTION="A collection of tools for network auditing and penetration testing" +HOMEPAGE="http://monkey.org/~dugsong/dsniff/" +SRC_URI="http://monkey.org/~dugsong/dsniff/beta/${P/_beta/b}.tar.gz + mirror://gentoo/${PN}-2.4_beta1-debian-r1.patch.bz2" +LICENSE="DSNIFF" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~ppc ~x86" +IUSE="X" + +RDEPEND="net-libs/libpcap + >=net-libs/libnet-1.1.2.1-r1 + =net-libs/libnids-1.18 + >=dev-libs/openssl-0.9.6e + >=sys-libs/db-4.2.52_p4 + sys-apps/sed + X? ( + || ( virtual/x11 x11-libs/libXmu ) + )" + +S="${WORKDIR}/${P/_beta1/}" + +src_unpack() { + unpack ${A} + + # Debian's patchset + epatch "${DISTDIR}"/${PN}-2.4_beta1-debian-r1.patch.bz2 + + # Making sure data files get correctly installed and that dsniff + # can find them + # Working around dsniff b0rky config script + # Data stuff goes into /etc/dsniff + cd "${S}" + sed -i \ + -e 's:-ldb2:-ldb2 -lpthread:' \ + -e "s:lib':':" \ + configure || die "sed configure" + sed -i 's:-DDSNIFF_LIBDIR=\\\"$(libdir)/\\\"::' Makefile.in || die "sed makefile" + epatch "${FILESDIR}"/2.3-makefile.patch + + # Bug 125084 + epatch ${FILESDIR}/${PN}-httppostfix.patch + + # Allow amd64 compilation + append-ldflags -lresolv +} + +src_compile() { + if has_version '>=sys-libs/glibc-2.4' ; then + append-flags -DCLK_TCK=CLOCKS_PER_SEC + fi + econf \ + $(use_with X x) \ + || die "econf failed" + emake || die "emake failed" +} + +src_install() { + make install install_prefix="${D}" || die + dodir /etc/dsniff + cp "${D}"/usr/share/dsniff/{dnsspoof.hosts,dsniff.{magic,services}} \ + "${D}"/etc/dsniff/ + dodoc CHANGES README TODO +} diff --git a/net-analyzer/dsniff/files/digest-dsniff-2.3-r10 b/net-analyzer/dsniff/files/digest-dsniff-2.3-r10 new file mode 100644 index 000000000000..9854036e78ff --- /dev/null +++ b/net-analyzer/dsniff/files/digest-dsniff-2.3-r10 @@ -0,0 +1,3 @@ +MD5 183e336a45e38013f3af840bddec44b4 dsniff-2.3.tar.gz 126797 +RMD160 89dad0259e90acef30a7aa5f3471de3aaeb06147 dsniff-2.3.tar.gz 126797 +SHA256 82e492455486e655c315f027d393dbeb49ad930804acccdc51b30d57e1294ff5 dsniff-2.3.tar.gz 126797 diff --git a/net-analyzer/dsniff/files/digest-dsniff-2.4_beta1-r3 b/net-analyzer/dsniff/files/digest-dsniff-2.4_beta1-r3 new file mode 100644 index 000000000000..a5fcc7947779 --- /dev/null +++ b/net-analyzer/dsniff/files/digest-dsniff-2.4_beta1-r3 @@ -0,0 +1,6 @@ +MD5 674c6ff31d58bdda51ca56accab9cc8f dsniff-2.4_beta1-debian-r1.patch.bz2 18280 +RMD160 dd4ef3e4c9274e22a9f168b6d406260d4c306427 dsniff-2.4_beta1-debian-r1.patch.bz2 18280 +SHA256 3974390e0970bbbb6ddddebf735a7de74abf110d20a867494a2ecd2298c19c39 dsniff-2.4_beta1-debian-r1.patch.bz2 18280 +MD5 2f761fa3475682a7512b0b43568ee7d6 dsniff-2.4b1.tar.gz 131666 +RMD160 4d5dee193f0d252d22cfe2417f067460db9638b1 dsniff-2.4b1.tar.gz 131666 +SHA256 a9803a7a02ddfe5fb9704ce86f0ffc48453c321e88db85810db411ba0841152a dsniff-2.4b1.tar.gz 131666 |