diff options
author | Peter Volkov <pva@gentoo.org> | 2008-10-10 19:14:20 +0000 |
---|---|---|
committer | Peter Volkov <pva@gentoo.org> | 2008-10-10 19:14:20 +0000 |
commit | d9cfd0a8922110220a21cf523a936a3fff67690d (patch) | |
tree | 08f24e585938a65c56733527bb93fa7ba27f569e /net-analyzer | |
parent | Removing use.mask of x11-themes/qtcurve-qt4 kde, as kde-4.1.2 is now unmasked. (diff) | |
download | gentoo-2-d9cfd0a8922110220a21cf523a936a3fff67690d.tar.gz gentoo-2-d9cfd0a8922110220a21cf523a936a3fff67690d.tar.bz2 gentoo-2-d9cfd0a8922110220a21cf523a936a3fff67690d.zip |
Version bump. Some cleanups in ebuild.
(Portage version: 2.2_rc11/cvs/Linux 2.6.26-gentoo-r1 i686)
Diffstat (limited to 'net-analyzer')
-rw-r--r-- | net-analyzer/wireshark/ChangeLog | 9 | ||||
-rw-r--r-- | net-analyzer/wireshark/files/wireshark-1.1.0-as-needed.patch | 23 | ||||
-rw-r--r-- | net-analyzer/wireshark/wireshark-1.1.1.ebuild (renamed from net-analyzer/wireshark/wireshark-1.1.0.ebuild) | 56 |
3 files changed, 28 insertions, 60 deletions
diff --git a/net-analyzer/wireshark/ChangeLog b/net-analyzer/wireshark/ChangeLog index be88994b81c2..7a2ac5d2d5a5 100644 --- a/net-analyzer/wireshark/ChangeLog +++ b/net-analyzer/wireshark/ChangeLog @@ -1,6 +1,13 @@ # ChangeLog for net-analyzer/wireshark # Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/net-analyzer/wireshark/ChangeLog,v 1.123 2008/10/04 11:51:15 pva Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-analyzer/wireshark/ChangeLog,v 1.124 2008/10/10 19:14:20 pva Exp $ + +*wireshark-1.1.1 (10 Oct 2008) + + 10 Oct 2008; Peter Volkov <pva@gentoo.org> + -files/wireshark-1.1.0-as-needed.patch, -wireshark-1.1.0.ebuild, + +wireshark-1.1.1.ebuild: + Version bump. Some cleanups in ebuild. 04 Oct 2008; Peter Volkov <pva@gentoo.org> metadata.xml, wireshark-1.1.0.ebuild: diff --git a/net-analyzer/wireshark/files/wireshark-1.1.0-as-needed.patch b/net-analyzer/wireshark/files/wireshark-1.1.0-as-needed.patch deleted file mode 100644 index 58bccc247618..000000000000 --- a/net-analyzer/wireshark/files/wireshark-1.1.0-as-needed.patch +++ /dev/null @@ -1,23 +0,0 @@ ---- wiretap/Makefile.am 2008-09-16 15:03:24 +0000 -+++ wiretap/Makefile.am 2008-09-16 15:12:01 +0000 -@@ -68,7 +68,7 @@ - $(GENERATOR_FILES) \ - $(GENERATED_FILES) - --libwiretap_la_LIBADD = libwiretap_generated.la $(GLIB_LIBS) -+libwiretap_la_LIBADD = libwiretap_generated.la $(GLIB_LIBS) ${top_builddir}/wsutil/libwsutil.la - libwiretap_la_DEPENDENCIES = libwiretap_generated.la - - RUNLEX = $(top_srcdir)/tools/runlex.sh - ---- epan/dissectors/Makefile.am 2008-09-16 16:16:16 +0000 -+++ epan/dissectors/Makefile.am 2008-09-16 16:27:30 +0000 -@@ -42,6 +42,7 @@ - $(PIDL_DISSECTOR_SRC) \ - $(DISSECTOR_SUPPORT_SRC) - libdissectors_la_CFLAGS = $(AM_CLEAN_CFLAGS) -+libdissectors_la_LIBADD = $(top_builddir)/wiretap/libwiretap.la - - - EXTRA_DIST = \ - diff --git a/net-analyzer/wireshark/wireshark-1.1.0.ebuild b/net-analyzer/wireshark/wireshark-1.1.1.ebuild index f6db31337fea..96cc10e2bd3a 100644 --- a/net-analyzer/wireshark/wireshark-1.1.0.ebuild +++ b/net-analyzer/wireshark/wireshark-1.1.1.ebuild @@ -1,9 +1,8 @@ # Copyright 1999-2008 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-analyzer/wireshark/wireshark-1.1.0.ebuild,v 1.3 2008/10/04 11:51:15 pva Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-analyzer/wireshark/wireshark-1.1.1.ebuild,v 1.1 2008/10/10 19:14:20 pva Exp $ EAPI=1 -WANT_AUTOMAKE="1.9" inherit autotools libtool flag-o-matic eutils toolchain-funcs DESCRIPTION="A network protocol analyzer formerly known as ethereal" @@ -13,29 +12,28 @@ HOMEPAGE="http://www.wireshark.org/" [[ -n ${PV#*_rc} && ${PV#*_rc} != ${PV} ]] && { SRC_URI="http://www.wireshark.org/download/prerelease/${PN}-${PV/_rc/pre}.tar.gz"; S=${WORKDIR}/${PN}-${PV/_rc/pre} ; } || \ -SRC_URI="http://www.wireshark.org/download/src/all-versions/${P}.tar.gz" +SRC_URI="http://www.wireshark.org/download/src/${P}.tar.gz" LICENSE="GPL-2" SLOT="0" KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd" -IUSE="adns gtk ipv6 lua portaudio gnutls ares gcrypt zlib kerberos threads profile smi +pcap pcre +caps selinux" +IUSE="adns +gtk ipv6 lua portaudio gnutls ares gcrypt zlib kerberos threads profile smi +pcap pcre +caps selinux" -RDEPEND="zlib? ( sys-libs/zlib ) +RDEPEND=">=dev-libs/glib-2.4.0:2 + zlib? ( sys-libs/zlib ) smi? ( net-libs/libsmi ) - gtk? ( >=dev-libs/glib-2.0.4 - =x11-libs/gtk+-2* + gtk? ( >=x11-libs/gtk+-2.4.0:2 x11-libs/pango dev-libs/atk ) - !gtk? ( =dev-libs/glib-1.2* ) gnutls? ( net-libs/gnutls ) gcrypt? ( dev-libs/libgcrypt ) pcap? ( net-libs/libpcap ) pcre? ( dev-libs/libpcre ) caps? ( sys-libs/libcap ) - ares? ( >=net-dns/c-ares-1.5 ) - !ares? ( adns? ( net-libs/adns ) ) kerberos? ( virtual/krb5 ) portaudio? ( media-libs/portaudio ) + ares? ( >=net-dns/c-ares-1.5 ) + !ares? ( adns? ( net-libs/adns ) ) lua? ( >=dev-lang/lua-5.1 ) selinux? ( sec-policy/selinux-wireshark )" @@ -48,7 +46,7 @@ DEPEND="${RDEPEND} pkg_setup() { if ! use gtk; then - ewarn "USE=-gtk will mean no gui called wireshark will be created and" + ewarn "USE=-gtk will means no gui called wireshark will be created and" ewarn "only command line utils are available" fi @@ -67,13 +65,7 @@ pkg_setup() { src_unpack() { unpack ${A} - # Try to drop --as-needed patches for 1.0.1. All problems are supposed to be - # fixed there... - cd "${S}" - #epatch "${FILESDIR}"/${PN}-0.99.7-asneeded.patch - epatch "${FILESDIR}"/${P}-as-needed.patch - - # again our hardened toolchain bug... + # our hardened toolchain bug... cd "${S}"/epan epatch "${FILESDIR}"/wireshark-except-double-free.diff @@ -98,13 +90,6 @@ src_compile() { # profile and -fomit-frame-pointer are incompatible, bug #215806 use profile && filter-flags -fomit-frame-pointer - if use gtk; then - einfo "Building with gtk support" - else - einfo "Building without gtk support" - myconf="${myconf} --disable-wireshark" - fi - # Workaround bug #213705. If krb5-config --libs has -lcrypto then pass # --with-ssl to ./configure. (Mimics code from acinclude.m4). if use kerberos; then @@ -114,11 +99,10 @@ src_compile() { fi # dumpcap requires libcap, setuid-install requires dumpcap - econf $(use_enable gtk gtk2) \ + econf $(use_enable gtk wireshark) \ $(use_enable profile profile-build) \ $(use_with gnutls) \ $(use_with gcrypt) \ - $(use_enable gtk wireshark) \ $(use_enable ipv6) \ $(use_enable threads) \ $(use_with lua) \ @@ -148,15 +132,15 @@ src_install() { doins wiretap/wtap.h # FAQ is not required as is installed from help/faq.txt - dodoc AUTHORS ChangeLog NEWS README{,bsd,linux,macos,vmware} doc/randpkt.txt - - if use gtk ; then - insinto /usr/share/icons/hicolor/16x16/apps - newins image/hi16-app-wireshark.png wireshark.png - insinto /usr/share/icons/hicolor/32x32/apps - newins image/hi32-app-wireshark.png wireshark.png - insinto /usr/share/icons/hicolor/48x48/apps - newins image/hi48-app-wireshark.png wireshark.png + dodoc AUTHORS ChangeLog NEWS README{,.bsd,.linux,.macos,.vmware} doc/randpkt.txt + + if use gtk; then + for c in hi lo; do + for d in 16 32 48; do + insinto /usr/share/icons/${c}color/${d}x${d}/apps + newins image/${c}${d}-app-wireshark.png wireshark.png + done + done insinto /usr/share/applications doins wireshark.desktop fi |