diff options
author | Markus Ullmann <jokey@gentoo.org> | 2006-06-30 13:27:33 +0000 |
---|---|---|
committer | Markus Ullmann <jokey@gentoo.org> | 2006-06-30 13:27:33 +0000 |
commit | 4cce47c9b2ef0620f9d25b0cf494318c52f24c47 (patch) | |
tree | f502c096d7a60463e3d3d4b0473df0a3b631c8b8 /net-analyzer | |
parent | New technology preview. Keyworded -* until it has a bit more testing and the... (diff) | |
download | historical-4cce47c9b2ef0620f9d25b0cf494318c52f24c47.tar.gz historical-4cce47c9b2ef0620f9d25b0cf494318c52f24c47.tar.bz2 historical-4cce47c9b2ef0620f9d25b0cf494318c52f24c47.zip |
Initial import, fixes bug #136729 , thanks to gentooperson@yahoo.com for providing the ebuild
Package-Manager: portage-2.1.1_pre1-r5
Diffstat (limited to 'net-analyzer')
-rw-r--r-- | net-analyzer/wireshark/ChangeLog | 12 | ||||
-rw-r--r-- | net-analyzer/wireshark/Manifest | 30 | ||||
-rw-r--r-- | net-analyzer/wireshark/files/digest-wireshark-0.99.1_pre1 | 3 | ||||
-rw-r--r-- | net-analyzer/wireshark/files/wireshark-0.99.1_pre1-as-needed.patch | 12 | ||||
-rw-r--r-- | net-analyzer/wireshark/metadata.xml | 6 | ||||
-rw-r--r-- | net-analyzer/wireshark/wireshark-0.99.1_pre1.ebuild | 132 |
6 files changed, 195 insertions, 0 deletions
diff --git a/net-analyzer/wireshark/ChangeLog b/net-analyzer/wireshark/ChangeLog new file mode 100644 index 000000000000..ac3e43ed4860 --- /dev/null +++ b/net-analyzer/wireshark/ChangeLog @@ -0,0 +1,12 @@ +# ChangeLog for net-analyzer/wireshark +# Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/net-analyzer/wireshark/ChangeLog,v 1.1 2006/06/30 13:27:33 jokey Exp $ + +*wireshark-0.99.1_pre1 (30 Jun 2006) + + 30 Jun 2006; Markus Ullmann <jokey@gentoo.org> + +files/wireshark-0.99.1_pre1-as-needed.patch, +metadata.xml, + +wireshark-0.99.1_pre1.ebuild: + Initial import, fixes bug #136729 , thanks to gentooperson@yahoo.com for + providing an ebuild + diff --git a/net-analyzer/wireshark/Manifest b/net-analyzer/wireshark/Manifest new file mode 100644 index 000000000000..ac9b451e52b7 --- /dev/null +++ b/net-analyzer/wireshark/Manifest @@ -0,0 +1,30 @@ +-----BEGIN PGP SIGNED MESSAGE----- +Hash: SHA1 + +AUX wireshark-0.99.1_pre1-as-needed.patch 939 RMD160 cf9ef5378783881a193c35606c3edf3ed310232f SHA1 74ed27014bfd18d58ba8e117efeafc66ac35cbff SHA256 57e405fefff48024fa06b5d4632f5cc7e888417471a1ba81b743c355ff7c8863 +MD5 9e02d41b59850b077faa7b96613069a6 files/wireshark-0.99.1_pre1-as-needed.patch 939 +RMD160 cf9ef5378783881a193c35606c3edf3ed310232f files/wireshark-0.99.1_pre1-as-needed.patch 939 +SHA256 57e405fefff48024fa06b5d4632f5cc7e888417471a1ba81b743c355ff7c8863 files/wireshark-0.99.1_pre1-as-needed.patch 939 +DIST wireshark-0.99.1pre1.tar.gz 11258134 RMD160 70d730b3c3b3150853ee41734e5f631e3d025657 SHA1 759ebdb0ba359ac5a20ef6023f36c5e0458ac6e2 SHA256 b8cc4eb246c7464360746d3563c8cc1e870c5c91bc5424804a1284071cc8a060 +EBUILD wireshark-0.99.1_pre1.ebuild 4009 RMD160 61378b320591df3607cf5a279c43ff56a52519f1 SHA1 89895732053324b591eb892efe05cee296bba28a SHA256 4cbc342dfc6e0c359c802f3d98aae2eec22dbeab03aec8b598766ee0ed0abe65 +MD5 8eb5eb9fbae432d49a36fc9908ca3427 wireshark-0.99.1_pre1.ebuild 4009 +RMD160 61378b320591df3607cf5a279c43ff56a52519f1 wireshark-0.99.1_pre1.ebuild 4009 +SHA256 4cbc342dfc6e0c359c802f3d98aae2eec22dbeab03aec8b598766ee0ed0abe65 wireshark-0.99.1_pre1.ebuild 4009 +MISC ChangeLog 497 RMD160 0fa9466972c4a3c4ceefeb9d62f854d1f3afc991 SHA1 63d1e7a7b52de446988a2544eae065c65978e02c SHA256 a9d163aa6bf492cd4095833fc9783aa81784418e69a9e49abece88405f1b90c6 +MD5 24b5515b14280e82b439c0aec0c4b92d ChangeLog 497 +RMD160 0fa9466972c4a3c4ceefeb9d62f854d1f3afc991 ChangeLog 497 +SHA256 a9d163aa6bf492cd4095833fc9783aa81784418e69a9e49abece88405f1b90c6 ChangeLog 497 +MISC metadata.xml 241 RMD160 e54fec44f06e7d8c93e399d9bd98e56f231920be SHA1 3f1b8ff204522d99acbe339fe83cbc916d460554 SHA256 684412188c16efe278e263e010f4bf09d33f17f2762d4829516e3e3a47ab3c02 +MD5 94e03a4ff2917efc81b0e0f07040afde metadata.xml 241 +RMD160 e54fec44f06e7d8c93e399d9bd98e56f231920be metadata.xml 241 +SHA256 684412188c16efe278e263e010f4bf09d33f17f2762d4829516e3e3a47ab3c02 metadata.xml 241 +MD5 1af7d91ed4e2f8a09df958d9a0625fd1 files/digest-wireshark-0.99.1_pre1 268 +RMD160 d9f0b1efda93b13c994d6efeb7953c1fadefd7b9 files/digest-wireshark-0.99.1_pre1 268 +SHA256 70b1edef99ce9dd28b7f4569c9dfb13a59b4fe2d9c78fe5f36429d83bcd869cd files/digest-wireshark-0.99.1_pre1 268 +-----BEGIN PGP SIGNATURE----- +Version: GnuPG v1.4.4 (GNU/Linux) + +iD8DBQFEpSbsz974XjDVpbkRApxaAJ9YG/6ueydIYmgS4PfFq0h3irBO0gCgibCd +aYIF0xwSNDaOGNgBN5cwzSM= +=3lEt +-----END PGP SIGNATURE----- diff --git a/net-analyzer/wireshark/files/digest-wireshark-0.99.1_pre1 b/net-analyzer/wireshark/files/digest-wireshark-0.99.1_pre1 new file mode 100644 index 000000000000..6749054048f9 --- /dev/null +++ b/net-analyzer/wireshark/files/digest-wireshark-0.99.1_pre1 @@ -0,0 +1,3 @@ +MD5 3f3bfed8727cb24d41fd4f10f7b91d9f wireshark-0.99.1pre1.tar.gz 11258134 +RMD160 70d730b3c3b3150853ee41734e5f631e3d025657 wireshark-0.99.1pre1.tar.gz 11258134 +SHA256 b8cc4eb246c7464360746d3563c8cc1e870c5c91bc5424804a1284071cc8a060 wireshark-0.99.1pre1.tar.gz 11258134 diff --git a/net-analyzer/wireshark/files/wireshark-0.99.1_pre1-as-needed.patch b/net-analyzer/wireshark/files/wireshark-0.99.1_pre1-as-needed.patch new file mode 100644 index 000000000000..99d53a712a79 --- /dev/null +++ b/net-analyzer/wireshark/files/wireshark-0.99.1_pre1-as-needed.patch @@ -0,0 +1,12 @@ +diff -uNr wireshark-0.99.1pre1.orig/epan/Makefile.am wireshark-0.99.1pre1/epan/Makefile.am +--- wireshark-0.99.1pre1/epan/Makefile.am 2006-04-17 14:46:53.000000000 +0000 ++++ wireshark-0.99.1pre1/epan/Makefile.am 2006-04-25 21:21:15.000000000 +0000 +@@ -84,7 +84,7 @@ + # + # Add the object files for missing routines, if any. + # +-libwireshark_la_LIBADD = @G_ASCII_STRTOULL_LO@ @INET_ATON_LO@ @INET_PTON_LO@ @INET_NTOP_LO@ dfilter/libdfilter.la ftypes/libftypes.la dissectors/libdissectors.la ++libwireshark_la_LIBADD = @G_ASCII_STRTOULL_LO@ @INET_ATON_LO@ @INET_PTON_LO@ @INET_NTOP_LO@ dfilter/libdfilter.la ftypes/libftypes.la dissectors/libdissectors.la @ADNS_LIBS@ @LIBGNUTLS_LIBS@ @KRB5_LIBS@ @SNMP_LIBS@ @SSL_LIBS@ -lm + libwireshark_la_DEPENDENCIES = @G_ASCII_STRTOULL_LO@ @INET_ATON_LO@ @INET_PTON_LO@ @INET_NTOP_LO@ dfilter/libdfilter.la ftypes/libftypes.la dissectors/libdissectors.la + + tvbtest: tvbtest.o tvbuff.o except.o strutil.o diff --git a/net-analyzer/wireshark/metadata.xml b/net-analyzer/wireshark/metadata.xml new file mode 100644 index 000000000000..57eb635f010e --- /dev/null +++ b/net-analyzer/wireshark/metadata.xml @@ -0,0 +1,6 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<herd>netmon</herd> +<longdescription>A commercial-quality network protocol analyzer</longdescription> +</pkgmetadata> diff --git a/net-analyzer/wireshark/wireshark-0.99.1_pre1.ebuild b/net-analyzer/wireshark/wireshark-0.99.1_pre1.ebuild new file mode 100644 index 000000000000..9de4de14a9cb --- /dev/null +++ b/net-analyzer/wireshark/wireshark-0.99.1_pre1.ebuild @@ -0,0 +1,132 @@ +# 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.1_pre1.ebuild,v 1.1 2006/06/30 13:27:33 jokey Exp $ + +inherit libtool flag-o-matic eutils autotools libtool + +MY_P=${P/_/} +S=${WORKDIR}/${MY_P} + +DESCRIPTION="A commercial-quality network protocol analyzer" +HOMEPAGE="http://www.wireshark.org/" +SRC_URI="http://www.wireshark.org/download/prerelease/${MY_P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~x86" +IUSE="adns gtk ipv6 snmp ssl kerberos threads" + +RDEPEND=">=sys-libs/zlib-1.1.4 + !net-analyzer/ethereal + 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 )" +# 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_unpack() { + unpack ${A} + # bug 117716 + epatch "${FILESDIR}/${P}-as-needed.patch" + cd "${S}" + AT_M4DIR="${S}/aclocal-fallback" eautomake + elibtoolize +} + +src_compile() { + replace-flags -O? -O + + # Fix gcc-3.4 segfault #49238 + #[ "`gcc-version`" == "3.4" ] && append-flags -fno-unroll-loops + + 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 +} + +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." +} |