summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrandon Low <lostlogic@gentoo.org>2003-05-04 21:06:20 +0000
committerBrandon Low <lostlogic@gentoo.org>2003-05-04 21:06:20 +0000
commit912bd050105e3d984f1a4c9e1228adadb5ec75d1 (patch)
tree7c56049ab8567ef6a8610a4c51b977c0416c7929 /net-analyzer
parentBump, unstable (diff)
downloadhistorical-912bd050105e3d984f1a4c9e1228adadb5ec75d1.tar.gz
historical-912bd050105e3d984f1a4c9e1228adadb5ec75d1.tar.bz2
historical-912bd050105e3d984f1a4c9e1228adadb5ec75d1.zip
Bump, unstable
Diffstat (limited to 'net-analyzer')
-rw-r--r--net-analyzer/ethereal/Manifest2
-rw-r--r--net-analyzer/ethereal/ethereal-0.9.12.ebuild77
-rw-r--r--net-analyzer/ethereal/files/digest-ethereal-0.9.121
3 files changed, 79 insertions, 1 deletions
diff --git a/net-analyzer/ethereal/Manifest b/net-analyzer/ethereal/Manifest
index 4c28bdb7a271..150296c225e4 100644
--- a/net-analyzer/ethereal/Manifest
+++ b/net-analyzer/ethereal/Manifest
@@ -1,7 +1,7 @@
MD5 136f313c8528f362e7ffe806da893e03 ethereal-0.9.9.ebuild 1963
MD5 68c7f21c633c3a5eee268bb5e30bf362 ethereal-0.9.10.ebuild 1963
MD5 01745544dcf1ee3534ebc85e2f4407b3 ethereal-0.9.8-r1.ebuild 1968
-MD5 f8a6f8a09144d42f95576806cea00e68 ethereal-0.9.12.ebuild 1950
+MD5 20e847d9cf9d81d9bf8049abd0555ad2 ethereal-0.9.12.ebuild 1953
MD5 41671adb3867166118e39caa9390ed65 ChangeLog 4234
MD5 f8a6f8a09144d42f95576806cea00e68 ethereal-0.9.11.ebuild 1950
MD5 8b9d978e964fa8a3a3a27bbb23e2e0c9 files/digest-ethereal-0.9.8-r1 68
diff --git a/net-analyzer/ethereal/ethereal-0.9.12.ebuild b/net-analyzer/ethereal/ethereal-0.9.12.ebuild
new file mode 100644
index 000000000000..2de79c5d276d
--- /dev/null
+++ b/net-analyzer/ethereal/ethereal-0.9.12.ebuild
@@ -0,0 +1,77 @@
+# Copyright 1999-2003 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-analyzer/ethereal/ethereal-0.9.12.ebuild,v 1.1 2003/05/04 21:06:13 lostlogic Exp $
+
+IUSE="gtk ipv6 snmp ssl gtk2"
+
+S=${WORKDIR}/${P}
+DESCRIPTION="A commercial-quality network protocol analyzer"
+SRC_URI="http://www.ethereal.com/distribution/${P}.tar.bz2"
+HOMEPAGE="http://www.ethereal.com/"
+
+SLOT="0"
+LICENSE="GPL-2"
+KEYWORDS="~x86 ~sparc ~ppc"
+
+RDEPEND=">=sys-libs/zlib-1.1.4
+ snmp? ( >=net-analyzer/ucd-snmp-4.2.5 )
+ gtk2? ( >=dev-libs/glib-2.0.4 =x11-libs/gtk+-2* ) : ( gtk? ( =x11-libs/gtk+-1.2* =dev-libs/glib-1.2* ) )
+ gtk? ( =x11-libs/gtk+-1.2* =dev-libs/glib-1.2* )
+ ssl? ( >=dev-libs/openssl-0.9.6e )
+ >=net-libs/libpcap-0.7.1"
+
+DEPEND="${RDEPEND}
+ dev-lang/perl
+ sys-devel/bison
+ sys-devel/flex"
+
+src_unpack() {
+ unpack ${A}
+ cd ${S}
+
+ # gcc related configure script braindamage
+ mv configure configure.broken
+ sed "s|-I/usr/local/include||" configure.broken > configure
+ chmod +x ./configure
+
+}
+
+src_compile() {
+ local myconf
+ if [ "`use gtk2`" ]
+ then
+ myconf="--enable-gtk2"
+ elif [ -z "`use gtk`" ]
+ then
+ myconf="--disable-ethereal"
+ fi
+
+ use ssl || myconf="${myconf} --without-ssl"
+ use snmp || myconf="${myconf} --without-ucdsnmp"
+ use ipv6 && myconf="${myconf} --enable-ipv6"
+ use gtk || myconf="${myconf} --disable-ethereal"
+
+ addwrite "/usr/share/snmp/mibs/"
+
+ econf \
+ --enable-pcap \
+ --enable-zlib \
+ --enable-tethereal \
+ --enable-editcap \
+ --enable-mergecap \
+ --enable-text2cap \
+ --enable-idl2eth \
+ --enable-dftest \
+ --enable-randpkt \
+ --sysconfdir=/etc/ethereal \
+ --with-plugindir=/usr/lib/ethereal/plugins/${PV} \
+ ${myconf} || die "bad ./configure"
+
+ emake || die "compile problem"
+}
+
+src_install() {
+ dodir /usr/lib/ethereal/plugins/${PV}
+ make DESTDIR=${D} install
+ dodoc AUTHORS COPYING ChangeLog INSTALL.* NEWS README* TODO
+}
diff --git a/net-analyzer/ethereal/files/digest-ethereal-0.9.12 b/net-analyzer/ethereal/files/digest-ethereal-0.9.12
new file mode 100644
index 000000000000..b2cb16ceac75
--- /dev/null
+++ b/net-analyzer/ethereal/files/digest-ethereal-0.9.12
@@ -0,0 +1 @@
+MD5 b25d815f98293f78f72ac0db75637496 ethereal-0.9.12.tar.bz2 3708148