summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--net-analyzer/ethereal/ChangeLog8
-rw-r--r--net-analyzer/ethereal/Manifest8
-rw-r--r--net-analyzer/ethereal/ethereal-0.10.3.ebuild85
-rw-r--r--net-analyzer/ethereal/files/digest-ethereal-0.10.31
4 files changed, 98 insertions, 4 deletions
diff --git a/net-analyzer/ethereal/ChangeLog b/net-analyzer/ethereal/ChangeLog
index 92aa928cbef5..12974a54c2fb 100644
--- a/net-analyzer/ethereal/ChangeLog
+++ b/net-analyzer/ethereal/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for net-analyzer/ethereal
# Copyright 2002-2004 Gentoo Technologies, Inc.; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-analyzer/ethereal/ChangeLog,v 1.53 2004/03/24 21:01:48 mr_bones_ Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-analyzer/ethereal/ChangeLog,v 1.54 2004/03/27 17:45:10 solar Exp $
+
+*ethereal-0.10.3 (27 Mar 2004)
+
+ 27 Mar 2004; <solar@gentoo.org> ethereal-0.10.3.ebuild:
+ Multiple (13) Ethereal remote overflows discovered by Stefan Esser. Bugzilla
+ Bug #45543
24 Mar 2004; Michael Sterrett <mr_bones_@gentoo.org> ethereal-0.9.14.ebuild:
don't use deprecated ?: use syntax; use sed -i; tidy
diff --git a/net-analyzer/ethereal/Manifest b/net-analyzer/ethereal/Manifest
index 46f41e6e69ac..d88cd493d6f1 100644
--- a/net-analyzer/ethereal/Manifest
+++ b/net-analyzer/ethereal/Manifest
@@ -1,8 +1,10 @@
-MD5 2844d90a1db653628a5885b73fdddeed ChangeLog 7969
+MD5 594be3bc9d61a9a8da0ac18f94174651 ChangeLog 8152
+MD5 2089d641bd4cf1571bbefd779f3fbcf2 ethereal-0.10.3.ebuild 2210
MD5 6e0f276d66f2643937ae994414254992 ethereal-0.9.14.ebuild 2123
-MD5 2089d641bd4cf1571bbefd779f3fbcf2 ethereal-0.10.2.ebuild 2210
-MD5 77d374070619f1af75c642ff37146586 ethereal-0.9.16.ebuild 2264
MD5 f33c38d229ebb061f2182891e109d03d ethereal-0.9.16-r1.ebuild 2337
+MD5 77d374070619f1af75c642ff37146586 ethereal-0.9.16.ebuild 2264
+MD5 2089d641bd4cf1571bbefd779f3fbcf2 ethereal-0.10.2.ebuild 2210
+MD5 923bd4108aa5e66d0f86506ef47d5132 files/digest-ethereal-0.10.3 69
MD5 380524e1a6116898080fe64bed810144 files/digest-ethereal-0.9.14 69
MD5 3ce13570e210d6dc1669b91936d2f051 files/digest-ethereal-0.9.16 69
MD5 3ce13570e210d6dc1669b91936d2f051 files/digest-ethereal-0.9.16-r1 69
diff --git a/net-analyzer/ethereal/ethereal-0.10.3.ebuild b/net-analyzer/ethereal/ethereal-0.10.3.ebuild
new file mode 100644
index 000000000000..3f3142522bc2
--- /dev/null
+++ b/net-analyzer/ethereal/ethereal-0.10.3.ebuild
@@ -0,0 +1,85 @@
+# Copyright 1999-2004 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-analyzer/ethereal/ethereal-0.10.3.ebuild,v 1.1 2004/03/27 17:45:10 solar Exp $
+
+IUSE="adns gtk ipv6 snmp ssl gtk2"
+
+inherit libtool
+
+DESCRIPTION="A commercial-quality network protocol analyzer"
+SRC_URI="mirror://sourceforge/${PN}/${P}.tar.bz2"
+RESTRICT="nomirror"
+HOMEPAGE="http://www.ethereal.com/"
+SLOT="0"
+LICENSE="GPL-2"
+KEYWORDS="~x86 ~sparc ~ppc ~alpha ~amd64 ~ia64"
+
+replace-flags '-O3' '-O'
+replace-flags '-O2' '-O'
+
+RDEPEND=">=sys-libs/zlib-1.1.4
+ snmp? ( virtual/snmp )
+ >=dev-util/pkgconfig-0.15.0
+ gtk? (
+ gtk2? ( >=dev-libs/glib-2.0.4 =x11-libs/gtk+-2* )
+ !gtk2? ( =x11-libs/gtk+-1.2* )
+ )
+ !gtk? ( =dev-libs/glib-1.2* )
+ ssl? ( >=dev-libs/openssl-0.9.6e )
+ >=net-libs/libpcap-0.7.1
+ >=dev-libs/libpcre-4.2
+ adns? ( net-libs/adns )"
+
+DEPEND="${RDEPEND}
+ dev-lang/perl
+ sys-devel/bison
+ sys-devel/flex"
+
+src_unpack() {
+ unpack ${A} && cd ${S} || die
+
+ # running a full elibtoolize seems to break things in this
+ # package... see bug 41831 (17 Feb 2004 agriffis)
+ elibtoolize --patch-only
+}
+
+src_compile() {
+ local myconf="
+ $(use_with ssl)
+ $(use_enable ipv6)
+ $(use_with adns)"
+
+ if use gtk; then
+ myconf="${myconf} $(use_enable gtk2)"
+ else
+ myconf="${myconf} --disable-ethereal"
+ # 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
+
+ # if USE=snmp, then one of the snmp libraries will be available,
+ # thanks to virtual/snmp. In that case, let Ethereal use
+ # whichever it finds.
+ if ! use snmp; then
+ myconf="${myconf} --without-ucd-snmp --without-net-snmp"
+ fi
+
+ econf \
+ --enable-dftest \
+ --enable-randpkt \
+ --sysconfdir=/etc/ethereal \
+ ${myconf} || die "bad ./configure"
+
+ addwrite "/usr/share/snmp/mibs/.index"
+ emake || die "compile problem"
+}
+
+src_install() {
+ addwrite "/usr/share/snmp/mibs/.index"
+ dodir /usr/lib/ethereal/plugins/${PV}
+ make DESTDIR=${D} install
+ dodoc AUTHORS COPYING ChangeLog INSTALL.* NEWS README* TODO
+ insinto "/usr/share/pixmaps/"
+ doins "image/hi48-app-ethereal.png"
+}
diff --git a/net-analyzer/ethereal/files/digest-ethereal-0.10.3 b/net-analyzer/ethereal/files/digest-ethereal-0.10.3
new file mode 100644
index 000000000000..76729790db98
--- /dev/null
+++ b/net-analyzer/ethereal/files/digest-ethereal-0.10.3
@@ -0,0 +1 @@
+MD5 6902272eb5304f57db76bf91abe453d1 ethereal-0.10.3.tar.bz2 4840005