diff options
author | 2006-08-24 11:31:05 +0000 | |
---|---|---|
committer | 2006-08-24 11:31:05 +0000 | |
commit | c392478418b3974af80f03d0e5c4967f8d26d517 (patch) | |
tree | 69230128e578636dee719be4f93db73f7a3c5dd5 /net-analyzer/wireshark | |
parent | Removed duplicate 'inherit eutils' entry. Closes bug #144950. (diff) | |
download | historical-c392478418b3974af80f03d0e5c4967f8d26d517.tar.gz historical-c392478418b3974af80f03d0e5c4967f8d26d517.tar.bz2 historical-c392478418b3974af80f03d0e5c4967f8d26d517.zip |
version bump - security bug #144946
Package-Manager: portage-2.1.1_pre5-r3
Diffstat (limited to 'net-analyzer/wireshark')
-rw-r--r-- | net-analyzer/wireshark/Manifest | 19 | ||||
-rw-r--r-- | net-analyzer/wireshark/files/digest-wireshark-0.99.3 | 6 | ||||
-rw-r--r-- | net-analyzer/wireshark/wireshark-0.99.3.ebuild | 122 |
3 files changed, 147 insertions, 0 deletions
diff --git a/net-analyzer/wireshark/Manifest b/net-analyzer/wireshark/Manifest index e92c23a6af69..8e6e6e24d488 100644 --- a/net-analyzer/wireshark/Manifest +++ b/net-analyzer/wireshark/Manifest @@ -1,12 +1,21 @@ +-----BEGIN PGP SIGNED MESSAGE----- +Hash: SHA1 + AUX wireshark-0.99.2-libgcrypt-asneeded.patch 929 RMD160 06adf09d918fcd84e3e303bfd76deec1e4c859ff SHA1 f5e1e1e33e08392aacc8580c9dbe9c3b98259e70 SHA256 28a46207aaa1dc9a7a50e4db59e912f127ba7ef7dd4c6cc282ea4ffe3bc439e4 MD5 f5f53335313638ea0bc8c0565f3e3410 files/wireshark-0.99.2-libgcrypt-asneeded.patch 929 RMD160 06adf09d918fcd84e3e303bfd76deec1e4c859ff files/wireshark-0.99.2-libgcrypt-asneeded.patch 929 SHA256 28a46207aaa1dc9a7a50e4db59e912f127ba7ef7dd4c6cc282ea4ffe3bc439e4 files/wireshark-0.99.2-libgcrypt-asneeded.patch 929 DIST wireshark-0.99.2.tar.gz 12358081 RMD160 c3ea4c0b104326b493aadf02d32b317de0741315 SHA1 bf7fce12b521d297d03935883193a43dc7c89c89 SHA256 ef2f857fd8d1001890b86834dc3275214f7717fa6948c27829f6575d9b8023bf +DIST wireshark-0.99.3-extras.tar.bz2 6347 RMD160 013bc5c00f5138e105ad09aa785e85e6a304dea5 SHA1 6ee30b47bcfbc5f035e415e6b9d1fe7caae8b7b5 SHA256 6502d33b6ae06f32727fc8e0db6125d0a2cb9f86d16470390659afc0b77c000d +DIST wireshark-0.99.3.tar.bz2 10036646 RMD160 60a094b6b2c8d3d289cb7cbc1c01b84d378f9443 SHA1 e037c64ef95153fe06c0439ee5d0f54de4d12d78 SHA256 e669d188e6e9824e3831e2e465cce5a19db404964a8ee648cca0f40bbb902919 EBUILD wireshark-0.99.2.ebuild 4058 RMD160 6e4c8adaa46a1db93afcf8fafb03e712e4925fb5 SHA1 379b56f8d9993cadb7e9e988985f35a99343f778 SHA256 633e0ad53cd4c4bb7a118a8261c919bd6d212efb0bd4381d3725afea0dc63191 MD5 5570f15d5d760e4b969f47154745e227 wireshark-0.99.2.ebuild 4058 RMD160 6e4c8adaa46a1db93afcf8fafb03e712e4925fb5 wireshark-0.99.2.ebuild 4058 SHA256 633e0ad53cd4c4bb7a118a8261c919bd6d212efb0bd4381d3725afea0dc63191 wireshark-0.99.2.ebuild 4058 +EBUILD wireshark-0.99.3.ebuild 3985 RMD160 0adb9b06b5d93a39f50608aa68c0c9ac099aecbc SHA1 0d7ab872a6a8dc910b133994597982cf3cb03728 SHA256 498d2f8c50caf3039bb474f05ee3772ce9185e9d043088905f6bdedf28baaf64 +MD5 2067a8a73dc7ac6e1fb9c56c68730acc wireshark-0.99.3.ebuild 3985 +RMD160 0adb9b06b5d93a39f50608aa68c0c9ac099aecbc wireshark-0.99.3.ebuild 3985 +SHA256 498d2f8c50caf3039bb474f05ee3772ce9185e9d043088905f6bdedf28baaf64 wireshark-0.99.3.ebuild 3985 MISC ChangeLog 2743 RMD160 f27b78a1afcf76c3c5910520e398ce188d1a6391 SHA1 bb48f9819bda4e55002e71ec81b9131931722d1b SHA256 4a0ffb42c1b4683be66c1c38d07767e5ddf6daacf4c3739dd3ab51bdec667150 MD5 3f2ad53c43fd05b08b6c9ffcd0fe2219 ChangeLog 2743 RMD160 f27b78a1afcf76c3c5910520e398ce188d1a6391 ChangeLog 2743 @@ -18,3 +27,13 @@ SHA256 684412188c16efe278e263e010f4bf09d33f17f2762d4829516e3e3a47ab3c02 metadata MD5 c832422b7fac51e019c10c58f316c9b6 files/digest-wireshark-0.99.2 256 RMD160 082e9a1e64bdcf57d705ae286bd44accf07ae913 files/digest-wireshark-0.99.2 256 SHA256 b98a04fe26db29233db26717378fe1258b82b5064dc58dd40df12ee3c028b2fd files/digest-wireshark-0.99.2 256 +MD5 11fcb55d67ff8719324ac3bda33805b3 files/digest-wireshark-0.99.3 527 +RMD160 61ab85b45c68272b3420404f7ff926712f51e1f5 files/digest-wireshark-0.99.3 527 +SHA256 dc9dda0e3a29bf53970365f9ff2202b4ce86a3ff5cbcd2993987ece2c05bf5a3 files/digest-wireshark-0.99.3 527 +-----BEGIN PGP SIGNATURE----- +Version: GnuPG v1.4.5-ecc0.1.6 (GNU/Linux) + +iD8DBQFE7ZFqmdTrptrqvGERAqlVAKCQQK9er0ZH3lrJe2s/fXn63GMVgwCePrSF +OYU1/C07I40ulmEW0A9D6y4= +=W5Mi +-----END PGP SIGNATURE----- diff --git a/net-analyzer/wireshark/files/digest-wireshark-0.99.3 b/net-analyzer/wireshark/files/digest-wireshark-0.99.3 new file mode 100644 index 000000000000..1f9bf573c04d --- /dev/null +++ b/net-analyzer/wireshark/files/digest-wireshark-0.99.3 @@ -0,0 +1,6 @@ +MD5 fe7c16592750cab629ff9f1bdd8a6552 wireshark-0.99.3-extras.tar.bz2 6347 +RMD160 013bc5c00f5138e105ad09aa785e85e6a304dea5 wireshark-0.99.3-extras.tar.bz2 6347 +SHA256 6502d33b6ae06f32727fc8e0db6125d0a2cb9f86d16470390659afc0b77c000d wireshark-0.99.3-extras.tar.bz2 6347 +MD5 85f43a4ea365248d6823853359b9eda8 wireshark-0.99.3.tar.bz2 10036646 +RMD160 60a094b6b2c8d3d289cb7cbc1c01b84d378f9443 wireshark-0.99.3.tar.bz2 10036646 +SHA256 e669d188e6e9824e3831e2e465cce5a19db404964a8ee648cca0f40bbb902919 wireshark-0.99.3.tar.bz2 10036646 diff --git a/net-analyzer/wireshark/wireshark-0.99.3.ebuild b/net-analyzer/wireshark/wireshark-0.99.3.ebuild new file mode 100644 index 000000000000..c8ad4c1309c6 --- /dev/null +++ b/net-analyzer/wireshark/wireshark-0.99.3.ebuild @@ -0,0 +1,122 @@ +# Copyright 1999-2006 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/net-analyzer/wireshark/wireshark-0.99.3.ebuild,v 1.1 2006/08/24 11:31:05 dragonheart Exp $ + +inherit libtool flag-o-matic eutils autotools + +DESCRIPTION="A commercial-quality network protocol analyzer" +HOMEPAGE="http://www.wireshark.org/" +#SRC_URI="http://www.wireshark.org/download/src/${MY_P}.tar.bz2" +SRC_URI="mirror://sourceforge/wireshark/${P}.tar.bz2 + mirror://gentoo/${P}-extras.tar.bz2" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~ia64 ~ppc ~ppc64 ~sparc ~x86" +IUSE="adns gtk ipv6 snmp ssl kerberos threads selinux" + +RDEPEND=">=sys-libs/zlib-1.1.4 + snmp? ( >=net-analyzer/net-snmp-5.1.1 ) + gtk? ( >=dev-libs/glib-2.0.4 + =x11-libs/gtk+-2* + x11-libs/pango + dev-libs/atk ) + !gtk? ( =dev-libs/glib-1.2* ) + ssl? ( >=dev-libs/openssl-0.9.6e ) + !ssl? ( net-libs/gnutls ) + net-libs/libpcap + >=dev-libs/libpcre-4.2 + adns? ( net-libs/adns ) + kerberos? ( virtual/krb5 ) + selinux? ( sec-policy/selinux-wireshark )" +# lua fails with version 5.0 and 5.1 is not in portage yet - 2006-04-25 +# lua? ( >=dev-lang/lua-5.1 )" + +DEPEND="${RDEPEND} + >=dev-util/pkgconfig-0.15.0 + dev-lang/perl + sys-devel/bison + sys-devel/flex + sys-apps/sed" + +pkg_setup() { + # bug 119208 + if built_with_use dev-lang/perl minimal ; then + ewarn "wireshark will not build if dev-lang/perl is compiled with" + ewarn "USE=minimal. Rebuild dev-lang/perl with USE=-minimal and try again." + ebeep 5 + die "dev-lang/perl compiled with USE=minimal" + fi +} + +src_compile() { + replace-flags -O? -O + filter-flags -fstack-protector # see bug #133092 + + local myconf + + if use gtk; then + einfo "Building with gtk support" + else + einfo "Building without gtk support" + myconf="${myconf} --disable-wireshark" + # the asn1 plugin needs gtk + sed -i -e '/plugins.asn1/d' Makefile.in || die "sed failed" + sed -i -e '/^SUBDIRS/s/asn1//' plugins/Makefile.in || die "sed failed" + fi + + # $(use_with lua) \ + econf \ + $(use_with ssl) \ + $(use_enable ipv6) \ + $(use_with adns) \ + $(use_with kerberos krb5) \ + $(use_with snmp net-snmp) \ + $(use_enable gtk gtk2) \ + $(use_enable threads) \ + --without-ucd-snmp \ + --enable-dftest \ + --enable-randpkt \ + --sysconfdir=/etc/wireshark \ + --enable-editcap \ + --enable-capinfos \ + --enable-text2pcap \ + --enable-dftest \ + --enable-randpkt \ + ${myconf} || die "econf failed" + + # fixes an access violation caused by libnetsnmp - see bug 79068 + use snmp && export MIBDIRS="${D}/usr/share/snmp/mibs" + + emake || die "emake failed" +} + +src_install() { + dodir /usr/lib/wireshark/plugins/${PV} + emake DESTDIR="${D}" install || die "emake install failed" + + dodoc AUTHORS ChangeLog NEWS README* + + insinto /usr/share/icons/hicolor/16x16/apps + newins "${S}"/image/hi16-app-wireshark.png wireshark.png + insinto /usr/share/icons/hicolor/32x32/apps + newins "${S}"/image/hi32-app-wireshark.png wireshark.png + insinto /usr/share/icons/hicolor/48x48/apps + newins "${S}"/image/hi48-app-wireshark.png wireshark.png + make_desktop_entry wireshark "Wireshark" wireshark + dosym tshark /usr/bin/tethereal + dosym wireshark /usr/bin/ethereal +} + +pkg_postinst() { + ewarn "Due to a history of security flaws in this piece of software, it may contain more flaws." + ewarn "To protect yourself against malicious damage due to potential flaws in this product we recommend" + ewarn "you take the following security precautions when running wireshark in an untrusted environment:" + ewarn "do not run any longer than you need to;" + ewarn "use in a root jail - prefereably one that has been hardened with grsec like rootjail protections;" + ewarn "use a hardened operating system;" + ewarn "do not listen to addition interfaces;" + ewarn "if possible, run behind a firewall;" + ewarn "take a capture with tcpdump and analyze running wireshark as a least privileged user;" + ewarn "and subscribe to wireshark's announce list to be notified of newly discovered vulnerabilities." +} |