summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeroen Roovers <jer@gentoo.org>2014-01-12 13:31:27 +0000
committerJeroen Roovers <jer@gentoo.org>2014-01-12 13:31:27 +0000
commitc67a0873c0e3ca51aa5761bd1a0e6d67ee951fe5 (patch)
treefb61bdd75c91d9235b4594d6871b3d52eeefe5f6 /net-analyzer
parentStable for ia64, wrt bug #494612 (diff)
downloadhistorical-c67a0873c0e3ca51aa5761bd1a0e6d67ee951fe5.tar.gz
historical-c67a0873c0e3ca51aa5761bd1a0e6d67ee951fe5.tar.bz2
historical-c67a0873c0e3ca51aa5761bd1a0e6d67ee951fe5.zip
Old.
Package-Manager: portage-2.2.8/cvs/Linux x86_64 Manifest-Sign-Key: 0xA792A613
Diffstat (limited to 'net-analyzer')
-rw-r--r--net-analyzer/wireshark/ChangeLog6
-rw-r--r--net-analyzer/wireshark/Manifest24
-rw-r--r--net-analyzer/wireshark/wireshark-1.10.3.ebuild223
-rw-r--r--net-analyzer/wireshark/wireshark-1.8.11.ebuild212
4 files changed, 10 insertions, 455 deletions
diff --git a/net-analyzer/wireshark/ChangeLog b/net-analyzer/wireshark/ChangeLog
index 56bfae55133d..76acffcbb2af 100644
--- a/net-analyzer/wireshark/ChangeLog
+++ b/net-analyzer/wireshark/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for net-analyzer/wireshark
# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-analyzer/wireshark/ChangeLog,v 1.583 2014/01/12 13:17:34 ago Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-analyzer/wireshark/ChangeLog,v 1.584 2014/01/12 13:31:25 jer Exp $
+
+ 12 Jan 2014; Jeroen Roovers <jer@gentoo.org> -wireshark-1.10.3.ebuild,
+ -wireshark-1.8.11.ebuild:
+ Old.
12 Jan 2014; Agostino Sarubbo <ago@gentoo.org> wireshark-1.10.5.ebuild,
wireshark-1.8.12.ebuild:
diff --git a/net-analyzer/wireshark/Manifest b/net-analyzer/wireshark/Manifest
index d99855cb7ab3..69a5e8930200 100644
--- a/net-analyzer/wireshark/Manifest
+++ b/net-analyzer/wireshark/Manifest
@@ -1,5 +1,5 @@
-----BEGIN PGP SIGNED MESSAGE-----
-Hash: SHA512
+Hash: SHA256
AUX wireshark-1.10.1-oldlibs.patch 795 SHA256 2ae88c478ea5c76cbb6eeb6fabb93ed85eba614a3cfa5a906a8989d76d3c2730 SHA512 1b147f3671fc96577612d8ef50b929ca1e255dbdedd47301dbfad964054880804317af5648fbbd2e86cddfd58d0b3560b57f9f62ddababec43b7ab6c52f02d96 WHIRLPOOL e2793c481dc43e1a4430206074a4f566b223d1a0f11f22d6a7ca0479899bf8fee42715b2fd28e9043c060ff1d01e11806ca6b521fa6e7a3ae44c71d2c42e4a33
AUX wireshark-1.10.4-gtk-deprecated-warnings.patch 714 SHA256 a1ec1a9025194bb1c847ba62019202df2494c1b8a4bbee5b6cc70d9b08583e5d SHA512 21b534d53c2dae04e65423cc69aea3d4748e5fc8993443b9a3a51c400c3d80fa195da167e95c633866460691e00a2b9ec71e502b9620e424604105c5b3ddd07f WHIRLPOOL 1839d24a7bc8866c02edf6d2d1383f776a29d7c5436803eb0b3647e0484b122a63b72d2be486097b90fd06b769c0146691ce278c769b4e8df089bcddbb5602e8
@@ -8,34 +8,20 @@ AUX wireshark-1.11.2-gtk-deprecated-warnings.patch 771 SHA256 0d50a37bf81821eda0
AUX wireshark-1.11.3-gtk-deprecated-warnings.patch 1068 SHA256 0211d3f345617554add63f3101a548a990e26219b31b28003e4dbf607d38de88 SHA512 9ea643e8f707d9f9fe3ce61b875ae1828c77cd81c636423fc5572420fd3b103042e078f89541c5145db49f133828d333c55d1c2c3b9a162f0756051ef9d946b9 WHIRLPOOL b04cad3b70bc37b9cbc833227bdf9c32c17e67ad067902d3fb35f467fb76520546ecd508de1805ef810b76ebe4f0b686e483817c790cb4ede75c229505596502
AUX wireshark-1.6.13-ldflags.patch 230 SHA256 bb56440fb9de9ed480b992d202feac93a53003e9fa47869f54c6f2f30d315720 SHA512 c4a2c66e6ea9b523ca9f5a3e37411221f5aa630de07d7bf84633855ac44da60b3b493671e578dbfd67de94e87ab1c79203f9b80b57f9460f2a81ee39f58171b3 WHIRLPOOL ca20e190c7a8d7ca69c6d90cfb28f8f1c8896b6793b9a026567ec4df4f7080ca6424ab249d01754db1059891d32362444178272489b4425e895f3031a0e1e0f7
AUX wireshark-1.8.12-gtk-deprecated-warnings.patch 940 SHA256 9969d68caeb0277ef78b4fa2078aafe6ffb2452de68b17bea5882a1b474ccf00 SHA512 e4bb971475ed019d6231179213f6fc9641d0ea91bac89ae0871e351b4def31741c6d3a9e0ff45fbc741e82804d1db5b1ff3f902d9aa22f598292009716a2f3b0 WHIRLPOOL d482ee4e9c74867e01104a1f85804535e791350006ad90e64c51887904c389d684223c3de1569e0261372e7cb3fa186b0d9cdc75831246644761f170751fca73
-DIST wireshark-1.10.3.tar.bz2 26672853 SHA256 c1641b36aeb0ca2c1a95fb01d2c647888b65e00a215c9a6464b5fc61e0fd498c SHA512 38a0cb0382789d62acc273bd9751c7c06b4891313dbe3fbd8a4dfaa64a1b5b9f9649a539204053835a70951b259b4ae64f67d3a2064cfa7089ef1390bd0be2be WHIRLPOOL 768c480e9caf580bfdad5f265a13d967eefcfb4cee7607eca8c33c8f115fc2e4102fc1e994282d20da1a9c421d59db5fd56b4e08efedf3c9981b5b86395e1b65
DIST wireshark-1.10.5.tar.bz2 26666846 SHA256 a02190da9573dd381e7598277a31d0c63b05b2af9fe05ab6b7fc058bbea141f5 SHA512 c72d8f23d3018ece52ccebbaa49f6a389e57ce5ab6df93d26f82888b8ed6fb29dd3caf4f5cb022f153f9589261f5666f7bacaf14b2d64b10f56c4e8ef9cc43e7 WHIRLPOOL f2b12e44ebea344e5dafa58892ae03b1cb140eb116c044ea214ec879d2a24daa2c2bbabba377238cddb32a38426e07ed50b0a997ea065b12e3a8f97a0f43b176
DIST wireshark-1.11.2.tar.bz2 27696007 SHA256 233f7b2e1315982efc34cee60fad6431d2a26f5f68b03b7a439a108bab95f01c SHA512 40b29bc10a106862f521026a1a3e9c9af5a0eeb034fc5f8054e7f9939393a12fe9d3c67df5562461911a1ce2b903624ae750720dbb10c72070b67d5403e678d2 WHIRLPOOL ca193c5718d908ab9b5e86b67423b8aa6c160aee21a678c25039d1caf479d4509b19382213b055588ad284a7272fbe150abeed12c2b9dea8a285b353349f3d99
DIST wireshark-1.11.3-SVN-54663.tar.bz2 27947248 SHA256 1c2ae4aef2c3212ffa0317dda776e7289fca9cb42a99cf6316101ae842041b54 SHA512 5451868de9e642e75b4811154e38e6863b7104b92dc88dab5857708ec9bad0e3a580f9639915e583c2391d170975eb54b57cbc255e67e3320663f354ff8babfb WHIRLPOOL 6b2a69ff17831718912a7dd7fa99e4714a5c8496a60c5ef3aaa85cf1c8c7f6d2c0ea2a67ab4d5bf9fb38d03b942ea9d7e3c71660ad36eafe120d8dae45f88efe
-DIST wireshark-1.8.11.tar.bz2 24131276 SHA256 fcba2bd7ccd85d0d68cda18d0d6422be45a7f04dcd897b59a4aa859ff48f8fdb SHA512 4b361e6750906c3680d443bbf7bafb3b882577b883e270835fecef541aaaef507230a4699fa3400f955244a0f6b2c724133d52ba8f013b7c8ed02486b733d411 WHIRLPOOL 7da0331c5a5506cb1056fc2c5903b57650b6acb3ca728fd656c8eeb2cfc308c870f82267b026a169b8c7ae927c7f876bba8f188efa3206e07bf9b82ec307e1d9
DIST wireshark-1.8.12.tar.bz2 24132271 SHA256 f99080ad249b01c22371cc4e0feae9260312053e0162f1785d6849708bc0cb93 SHA512 3bfc8b2c9657a4c5234cf537a5eac63ea6964476785797ddac191d99f6ec6cd8333389707dc1316221291f9e91542fc933550042f344228b3ea6afbc034a8528 WHIRLPOOL aaa8fe6fbba82adfc6ad81780dff5ca9606db74d1358d24a4f5515f04b83d22d97a66cc937b40a4490b817093a8003202cf0e8485b067abfab04a67f15cddfc1
-EBUILD wireshark-1.10.3.ebuild 5694 SHA256 cc44c1d7ed92f5a4ef75f2fccd8ebc5e985e21d637b8ca19dfe7e16655eb0b19 SHA512 21337cf88d2f1d8db8189ef4f7fec2c92dfa28a82ed6fed160c2dc31125867e9e57d26546e44e5cad5b616d980eae534f206ab6e61a2b46f86a3333a4ce6725b WHIRLPOOL 78d634d19fd82303e79bf3db9608e96b6cb57da4cef29e11d3d5e772a84ee0107be6292049bf2738bc06d7e0f0fd16fe10002de36a83f128463b49c5ac2e75ab
EBUILD wireshark-1.10.5.ebuild 5755 SHA256 eb862c327327114684bd5195b30ddd16b524de7bd49a46f76b673a70f8f73fca SHA512 97837836e08f9f3a8ddd97426a56377abf7e468830ac657025e9a6e7ce249fc0625bcfedc7e013f91081f69ee39a9bc878758b862e25246e9397ed94c3d1f370 WHIRLPOOL a4cac2209addbf8c0bbd4af6a2c7aa4df1cd8f6ae7cd5188a68f2a2532a84be23e5ac2f8744d5dd04873c73da4876c468c83b5fe2cb5ce4de6f15d98f8e13e9e
EBUILD wireshark-1.11.2.ebuild 5549 SHA256 fb771c29ca2d4c0b7634a7cb5e2055dd064e2838810167224ae8752330f58550 SHA512 3537fdcf3b9674015547452d720c602a35cbbec822322249c52b6053da6dceefd00fe36980e059fa3e56d40c271c3afb630f2407bd9c58a7ed1cee389c611749 WHIRLPOOL a76a587905f4d3ff609f14304a3a76d66d93f7a707dcde8ffe2d3d3783e2a8ce24b04904ef6494a6b29ab0ff3fe64928e9f53e401096e7cf9c208f4b8d88ab35
EBUILD wireshark-1.11.3_pre54663.ebuild 5593 SHA256 a66b9b214d5931b0951de19b08a765579d598dd59a06091e5afcd346d091e997 SHA512 706dfa2640d1d1aec4b36576fd000c9ba7e11cb4a0c755ea9285924f25681ca0fdd460a3becba67647a9ec59ddead588d2ea5c00b1835e1a163b9591b2762280 WHIRLPOOL 8774749ab631b6a4432c107931547fc2177c6f4cfb0927509884cc14e67940f98a1f397859d1e5f534acdaef0aa7018a68a28be0a1c69a322632830539ac6b38
-EBUILD wireshark-1.8.11.ebuild 5504 SHA256 0c2717e88b54db24fed99061651415329b0a9a186834b9b8383bde4ad61c585d SHA512 a78f48906dfa17665cb976f3d53cd73f2d1e6e2c300c12a8904fe78ae3754fe5cec467b2815210d49e57ee2fed9d10575017f7faa7bc586415e6ea2c794075a8 WHIRLPOOL bea372ef4bd0de7b617d2ea2ddd3c05b6dfa506a28af5aa4b2f073c04d58ee3e05aaf271fb5a7e8a425cc1c529a1cd0dc892c98d84d168717da35413b4a0c490
EBUILD wireshark-1.8.12.ebuild 5568 SHA256 865ba6b20b946d5a255f3dd3e08301dff890313c1028b70d97a00724bef11752 SHA512 71de1ecd6eb0fc2f20aaaf99d74757cdc66976a444dfe82f95b9b86e99453f429a6e69b459e9d50f1d7296aaac3a763cb09e353324e5c534bb3b5bd22fd85a97 WHIRLPOOL e305af203b4860944dac46f1a1921207fc5b0cdd94376283499452bda2f50844c42cb4186e0b05d1b451172314ce0ddcbfcbfc1e14f6871192ae98bf06c0cc1e
-MISC ChangeLog 85319 SHA256 d3cac63f282632855bcc5316ef5cb8dd0b73fb28b1ea97b57eb9d9b4708bd0ac SHA512 e8055c05eca37e5ebcc349323ca70039fa0610673fd13e7005df70da19b5d493d8dce6c41fe3f39a05442855de34d175890b47e09cb2073207fb40f3ed95862c WHIRLPOOL 44566537a7a64899bbf97837fa1ca247fd2e9d8a44e0cac2284f41e936e8c95700114613d17b8fe3f668c3447a47bd0cb4e3ae669edd2e4609766b4119dba6ac
+MISC ChangeLog 85428 SHA256 33329a9eca169c84ad47e06f59af9a6cfc182fb4297033e81f136c7d393887ae SHA512 0f75ada42e04d554e08d0ff0aada47bb9d34d3507cdb169650b860d794a65608c412906aaeec004e30e96ec3ddd84928325c133653b3c618b90c5820a20cbe00 WHIRLPOOL 2f61de6ab371449ab77a962c4b7627b61e9e12afdb288ba139dc6ddbae335fd883cf69d7af04e421813e88af126f3a7c4421196580744f7bb5d7e9abab747121
MISC metadata.xml 2662 SHA256 aa3e958ce2704697a912374dfd9df72310353b54883e63de57b1f4e925f804eb SHA512 2eaf02dbd17d346b42dd2ecbb10318c08f8cba0e6bf0cd0dd76f145cc37c1eb35788c4a60d90c42b92c8b7e554315a40046b3b94c5d1a004ebb88650eb296dda WHIRLPOOL 21d6545372ed8aae96efb37f295904a3b14a721e754daf3bab74284d2e7527944fa6c75dc34c3229dea0c815641574f46f72b4b173d0653c6a92bf06341b81a5
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.22 (GNU/Linux)
-iQIcBAEBCgAGBQJS0pT2AAoJELp701BxlEWfyBMP/0KpVAQWvvmyQd4N23f7AW07
-OGZV21ELZ/C76i/VE74NcIBKeMt6/7227MUKLGEIBkED9ZpVIDybe045TsuTcJgy
-R+4oVavraqW0tuTm/NruBFh8fbJztvjFRfyyTrhYq1Ci/C2B2CvP0oX5vyEPGpmX
-rtexRji/T3jBYCfy+Qt5JgVMd04MTzy6AtVtqStiE6LWwi99eRgnrWMDWfkm2deE
-GFcTAeB0L/j9mUZiP8FAsfbNQcZMeYXZ3If73FsVk6azSLKldWTvyThS1/WyST6X
-D5cP7WUneEPEag5kVeZQkmMXAS6OvIvlvueuDvZ20OwNzvVPT2TQ1wamty83c5Y4
-bTuILoAOqtQAQYIU68Y8LKSzh1cm2pXUkhpVsbQh0cV5NhGBJIdlobppK3qK3oU4
-T1l64ZAoQRLlMohwSeFm5QeX5AJS3BnkOlwVBpgoFHIOCcYl+0YfkUL+DFE3YmeE
-ojDieiLeKI0C8mNxOLA/4IrW8MtsErQ3t0Dfw63h4i7lqu5OkyfnkkBhD52ak0An
-TlecJcUU0n46v9CU70sGdLNR8Adi0JHZ0Zh/5cfcuGlBlE1e04LHwdn3MQBOdC63
-IBJ0gmTLZZycqWUiH5F+q4Xrxxmb1VLOhJ7dTdYPztZAg+pKiHix50oRLKwuG0g0
-yXZjBbRCViuFu+zSzfEa
-=e53n
+iEYEAREIAAYFAlLSmS8ACgkQVWmRsqeSphOYGwCbBN5rOPwQMwRttEtAlRTNEwsg
+b50AoIAeu/ATAZCPjO1xPBQu/yjZ+vq+
+=BgLq
-----END PGP SIGNATURE-----
diff --git a/net-analyzer/wireshark/wireshark-1.10.3.ebuild b/net-analyzer/wireshark/wireshark-1.10.3.ebuild
deleted file mode 100644
index 262a51aa5a00..000000000000
--- a/net-analyzer/wireshark/wireshark-1.10.3.ebuild
+++ /dev/null
@@ -1,223 +0,0 @@
-# Copyright 1999-2013 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-analyzer/wireshark/wireshark-1.10.3.ebuild,v 1.10 2013/12/17 11:59:18 jer Exp $
-
-EAPI=5
-inherit autotools eutils fcaps user
-
-[[ -n ${PV#*_rc} && ${PV#*_rc} != ${PV} ]] && MY_P=${PN}-${PV/_} || MY_P=${P}
-DESCRIPTION="A network protocol analyzer formerly known as ethereal"
-HOMEPAGE="http://www.wireshark.org/"
-SRC_URI="http://www.wireshark.org/download/src/all-versions/${MY_P}.tar.bz2"
-
-LICENSE="GPL-2"
-SLOT="0/${PV}"
-KEYWORDS="alpha amd64 ~arm hppa ia64 ppc ppc64 sparc x86 ~x86-fbsd"
-IUSE="
- adns +caps crypt doc doc-pdf geoip +gtk2 gtk3 ipv6 kerberos libadns lua
- +netlink +pcap portaudio qt4 selinux smi ssl zlib
-"
-REQUIRED_USE="
- ?? ( gtk2 gtk3 qt4 )
- ssl? ( crypt )
-"
-
-GTK_COMMON_DEPEND="
- x11-libs/gdk-pixbuf
- x11-libs/pango
- x11-misc/xdg-utils
-"
-RDEPEND="
- >=dev-libs/glib-2.14:2
- netlink? ( dev-libs/libnl )
- adns? ( !libadns? ( >=net-dns/c-ares-1.5 ) )
- crypt? ( dev-libs/libgcrypt:= )
- caps? ( sys-libs/libcap )
- geoip? ( dev-libs/geoip )
- gtk2? (
- ${GTK_COMMON_DEPEND}
- >=x11-libs/gtk+-2.4.0:2
- )
- gtk3? (
- ${GTK_COMMON_DEPEND}
- x11-libs/gtk+:3
- )
- kerberos? ( virtual/krb5 )
- libadns? ( net-libs/adns )
- lua? ( >=dev-lang/lua-5.1 )
- pcap? ( net-libs/libpcap[-netlink] )
- portaudio? ( media-libs/portaudio )
- qt4? (
- dev-qt/qtcore:4
- dev-qt/qtgui:4
- x11-misc/xdg-utils
- )
- selinux? ( sec-policy/selinux-wireshark )
- smi? ( net-libs/libsmi )
- ssl? ( net-libs/gnutls )
- zlib? ( sys-libs/zlib !=sys-libs/zlib-1.2.4 )
-"
-
-DEPEND="
- ${RDEPEND}
- doc? (
- app-doc/doxygen
- app-text/asciidoc
- dev-libs/libxml2
- dev-libs/libxslt
- doc-pdf? ( dev-java/fop )
- www-client/lynx
- )
- >=virtual/perl-Pod-Simple-3.170.0
- sys-devel/bison
- sys-devel/flex
- virtual/perl-Getopt-Long
- virtual/perl-Time-Local
- virtual/pkgconfig
-"
-
-S=${WORKDIR}/${MY_P}
-
-pkg_setup() {
- # Add group for users allowed to sniff.
- enewgroup wireshark
-}
-
-src_prepare() {
- epatch \
- "${FILESDIR}"/${PN}-1.6.13-ldflags.patch \
- "${FILESDIR}"/${PN}-1.10.1-oldlibs.patch
-
- epatch_user
-
- eautoreconf
-}
-
-src_configure() {
- local myconf
-
- if use adns; then
- if use libadns; then
- myconf+=( "--with-adns --without-c-ares" )
- else
- myconf+=( "--without-adns --with-c-ares" )
- fi
- else
- if use libadns; then
- myconf+=( "--with-adns --without-c-ares" )
- else
- myconf+=( "--without-adns --without-c-ares" )
- fi
- 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
- case $(krb5-config --libs) in
- *-lcrypto*)
- ewarn "Kerberos was built with ssl support: linkage with openssl is enabled."
- ewarn "Note there are annoying license incompatibilities between the OpenSSL"
- ewarn "license and the GPL, so do your check before distributing such package."
- myconf+=( "--with-ssl" )
- ;;
- esac
- fi
-
- # Enable wireshark binary with any supported GUI toolkit (bug #473188)
- if use gtk2 || use gtk3 || use qt4 ; then
- myconf+=( "--enable-wireshark" )
- else
- myconf+=( "--disable-wireshark" )
- fi
-
- # Hack around inability to disable doxygen/fop doc generation
- use doc || export ac_cv_prog_HAVE_DOXYGEN=false
- use doc-pdf || export ac_cv_prog_HAVE_FOP=false
-
- # dumpcap requires libcap, setuid-install requires dumpcap
- # --disable-profile-build bugs #215806, #292991, #479602
- econf \
- $(use pcap && use_enable !caps setuid-install) \
- $(use pcap && use_enable caps setcap-install) \
- $(use_enable ipv6) \
- $(use_with caps libcap) \
- $(use_with crypt gcrypt) \
- $(use_with geoip) \
- $(use_with kerberos krb5) \
- $(use_with lua) \
- $(use_with netlink libnl) \
- $(use_with pcap dumpcap-group wireshark) \
- $(use_with pcap) \
- $(use_with portaudio) \
- $(use_with qt4 qt) \
- $(use_with smi libsmi) \
- $(use_with ssl gnutls) \
- $(use_with zlib) \
- $(usex gtk3 --with-gtk3=yes --with-gtk3=no) \
- --disable-extra-gcc-checks \
- --disable-profile-build \
- --disable-usr-local \
- --sysconfdir="${EPREFIX}"/etc/wireshark \
- ${myconf[@]}
-}
-
-src_compile() {
- default
- use doc && emake -j1 -C docbook
-}
-
-src_install() {
- default
- if use doc; then
- dohtml -r docbook/{release-notes.html,ws{d,u}g_html{,_chunked}}
- if use doc-pdf; then
- insinto /usr/share/doc/${PF}/pdf/
- doins docbook/{{developer,user}-guide,release-notes}-{a4,us}.pdf
- fi
- fi
-
- # FAQ is not required as is installed from help/faq.txt
- dodoc AUTHORS ChangeLog NEWS README{,.bsd,.linux,.macos,.vmware} \
- doc/{randpkt.txt,README*}
-
- # install headers
- local wsheader
- for wsheader in $( echo $(< debian/wireshark-dev.header-files ) ); do
- insinto /usr/include/wireshark/$( dirname ${wsheader} )
- doins ${wsheader}
- done
-
- #with the above this really shouldn't be needed, but things may be looking in wiretap/ instead of wireshark/wiretap/
- insinto /usr/include/wiretap
- doins wiretap/wtap.h
-
- if use gtk2 || use gtk3 || use qt4; then
- local c d
- 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
- domenu wireshark.desktop
- fi
-
- use pcap && chmod o-x "${ED}"/usr/bin/dumpcap #357237
-
- prune_libtool_files
-}
-
-pkg_postinst() {
- # Add group for users allowed to sniff.
- enewgroup wireshark
-
- if use pcap; then
- fcaps -o 0 -g wireshark -m 4550 -M 0750 \
- cap_dac_read_search,cap_net_raw,cap_net_admin \
- "${EROOT}"/usr/bin/dumpcap
- fi
-
- ewarn "NOTE: To run wireshark as normal user you have to add yourself to"
- ewarn "the wireshark group. This security measure ensures that only trusted"
- ewarn "users are allowed to sniff your traffic."
-}
diff --git a/net-analyzer/wireshark/wireshark-1.8.11.ebuild b/net-analyzer/wireshark/wireshark-1.8.11.ebuild
deleted file mode 100644
index a414b94f9007..000000000000
--- a/net-analyzer/wireshark/wireshark-1.8.11.ebuild
+++ /dev/null
@@ -1,212 +0,0 @@
-# Copyright 1999-2013 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-analyzer/wireshark/wireshark-1.8.11.ebuild,v 1.10 2013/12/17 11:59:18 jer Exp $
-
-EAPI=5
-PYTHON_COMPAT=( python2_6 python2_7 )
-inherit autotools eutils fcaps flag-o-matic python-single-r1 user
-
-[[ -n ${PV#*_rc} && ${PV#*_rc} != ${PV} ]] && MY_P=${PN}-${PV/_} || MY_P=${P}
-DESCRIPTION="A network protocol analyzer formerly known as ethereal"
-HOMEPAGE="http://www.wireshark.org/"
-SRC_URI="http://www.wireshark.org/download/src/all-versions/${MY_P}.tar.bz2"
-
-LICENSE="GPL-2"
-SLOT="0/${PV}"
-KEYWORDS="alpha amd64 ~arm hppa ia64 ppc ppc64 sparc x86 ~x86-fbsd"
-IUSE="
- adns +caps crypt doc doc-pdf geoip gtk ipv6 kerberos libadns lua +pcap
- portaudio python selinux smi ssl zlib
-"
-REQUIRED_USE="
- ssl? ( crypt )
-"
-RDEPEND="
- >=dev-libs/glib-2.14:2
- adns? ( !libadns? ( >=net-dns/c-ares-1.5 ) )
- caps? ( sys-libs/libcap )
- crypt? ( dev-libs/libgcrypt:= )
- geoip? ( dev-libs/geoip )
- gtk? (
- >=x11-libs/gtk+-2.4.0:2
- dev-libs/atk
- x11-libs/pango
- x11-misc/xdg-utils
- )
- kerberos? ( virtual/krb5 )
- libadns? ( net-libs/adns )
- lua? ( <dev-lang/lua-5.2 )
- pcap? ( net-libs/libpcap )
- portaudio? ( media-libs/portaudio )
- python? ( ${PYTHON_DEPS} )
- selinux? ( sec-policy/selinux-wireshark )
- smi? ( net-libs/libsmi )
- ssl? ( net-libs/gnutls )
- zlib? ( sys-libs/zlib !=sys-libs/zlib-1.2.4 )
-"
-
-DEPEND="
- ${RDEPEND}
- doc? (
- app-doc/doxygen
- dev-libs/libxml2
- dev-libs/libxslt
- doc-pdf? ( dev-java/fop )
- )
- >=virtual/perl-Pod-Simple-3.170.0
- sys-devel/bison
- sys-devel/flex
- virtual/perl-Getopt-Long
- virtual/perl-Time-Local
- virtual/pkgconfig
-"
-
-S=${WORKDIR}/${MY_P}
-
-pkg_setup() {
- if ! use gtk; then
- ewarn "USE=-gtk disables gtk-based gui called wireshark."
- ewarn "Only command line utils will be built available"
- fi
-
- if use python; then
- python-single-r1_pkg_setup
- fi
-
- # Add group for users allowed to sniff.
- enewgroup wireshark
-}
-
-src_prepare() {
- epatch "${FILESDIR}"/${PN}-1.6.13-ldflags.patch
-
- sed -i -e '/^Icon/s|.png||g' ${PN}.desktop || die
-
- epatch_user
-
- eautoreconf
-}
-
-src_configure() {
- local myconf
-
- if use adns; then
- if use libadns; then
- myconf+=( "--with-adns --without-c-ares" )
- else
- myconf+=( "--without-adns --with-c-ares" )
- fi
- else
- if use libadns; then
- myconf+=( "--with-adns --without-c-ares" )
- else
- myconf+=( "--without-adns --without-c-ares" )
- fi
- 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
- case `krb5-config --libs` in
- *-lcrypto*)
- ewarn "Kerberos was built with ssl support: linkage with openssl is enabled."
- ewarn "Note there are annoying license incompatibilities between the OpenSSL"
- ewarn "license and the GPL, so do your check before distributing such package."
- myconf+=( "--with-ssl" )
- ;;
- esac
- fi
-
- # Hack around inability to disable doxygen/fop doc generation
- use doc || export ac_cv_prog_HAVE_DOXYGEN=false
- use doc-pdf || export ac_cv_prog_HAVE_FOP=false
-
- # dumpcap requires libcap, setuid-install requires dumpcap
- # --disable-profile-build bugs #215806, #292991, #479602
- econf \
- $(use pcap && use_enable !caps setuid-install) \
- $(use pcap && use_enable caps setcap-install) \
- $(use_enable gtk wireshark) \
- $(use_enable ipv6) \
- $(use_with crypt gcrypt) \
- $(use_with caps libcap) \
- $(use_with geoip) \
- $(use_with kerberos krb5) \
- $(use_with lua) \
- $(use_with pcap dumpcap-group wireshark) \
- $(use_with pcap) \
- $(use_with portaudio) \
- $(use_with python) \
- $(use_with smi libsmi) \
- $(use_with ssl gnutls) \
- $(use_with zlib) \
- --disable-extra-gcc-checks \
- --disable-profile-build \
- --disable-usr-local \
- --sysconfdir="${EPREFIX}"/etc/wireshark \
- ${myconf[@]}
-}
-
-src_compile() {
- default
- use doc && emake -j1 -C docbook
-}
-
-src_install() {
- default
- if use doc; then
- dohtml -r docbook/{release-notes.html,ws{d,u}g_html{,_chunked}}
- if use doc-pdf; then
- insinto /usr/share/doc/${PF}/pdf/
- doins docbook/{{developer,user}-guide,release-notes}-{a4,us}.pdf
- fi
- fi
-
- # FAQ is not required as is installed from help/faq.txt
- dodoc AUTHORS ChangeLog NEWS README{,.bsd,.linux,.macos,.vmware} \
- doc/{randpkt.txt,README*}
-
- # install headers
- local wsheader
- for wsheader in $( echo $(< debian/wireshark-dev.header-files ) ); do
- insinto /usr/include/wireshark/$( dirname ${wsheader} )
- doins ${wsheader}
- done
-
- #with the above this really shouldn't be needed, but things may be looking in wiretap/ instead of wireshark/wiretap/
- insinto /usr/include/wiretap
- doins wiretap/wtap.h
-
- 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
- domenu wireshark.desktop
- fi
-
- use pcap && chmod o-x "${ED}"/usr/bin/dumpcap #357237
-
- if use python; then
- python_optimize "${ED}"/usr/lib*/wireshark/python
- fi
-
- prune_libtool_files
-}
-
-pkg_postinst() {
- # Add group for users allowed to sniff.
- enewgroup wireshark
-
- if use pcap; then
- fcaps -o 0 -g wireshark -m 4550 -M 0750 \
- cap_dac_read_search,cap_net_raw,cap_net_admin \
- "${EROOT}"/usr/bin/dumpcap
- fi
-
- ewarn "NOTE: To run wireshark as normal user you have to add yourself to"
- ewarn "the wireshark group. This security measure ensures that only trusted"
- ewarn "users are allowed to sniff your traffic."
-}