Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 321309 - net-analyzer/wireshark keyword request for ~x64-macos
Summary: net-analyzer/wireshark keyword request for ~x64-macos
Status: RESOLVED OBSOLETE
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Keywording (show other bugs)
Hardware: All OS X
: High normal (vote)
Assignee: Gentoo Netmon project
URL:
Whiteboard:
Keywords: KEYWORDREQ
Depends on:
Blocks:
 
Reported: 2010-05-24 14:09 UTC by Florian CROUZAT (SuperFlo)
Modified: 2017-11-13 16:42 UTC (History)
3 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Florian CROUZAT (SuperFlo) 2010-05-24 14:09:57 UTC
I ecopied wireshark from main tree and compiled with success.
I tried a few binaries provided by the package, they worked fine.

Only one thing seems weird to me, I can't get tshark to capture on my wifi interface even with su/sudo. 
I had to chown $USER /dev/bpf0 to be able to capture. I don't really know how bpf works, but it appears OSX binary Wireshark.app can capture without changing the ownership of the /dev/bpf* files.

Arch: x64-macos.
Uses: -adns -ares -caps -gcrypt -geoip -gnutls -gtk +ipv6 -kerberos -lua -pcap +pcre -portaudio -profile -selinux -smi -threads +zlib
Comment 1 Paweł Hajdan, Jr. (RETIRED) gentoo-dev 2011-06-04 13:52:43 UTC
The basic case works for me, but for example for USE=gtk more ebuilds need to be imported.

Just using ecopy for wireshark itself works:


ph@phjr-macbookpro /Volumes/gentoo-prefix/usr/local/portage $ /Volumes/gentoo-prefix/usr/portage/scripts/ecopy net-analyzer/wireshark
wireshark-1.6.0_rc1.ebuild
2011-06-04 13:40:20 URL:http://tinderbox.dev.gentoo.org/portage/net-analyzer/wireshark/ChangeLog [43897/43897] -> "ChangeLog" [1]
2011-06-04 13:40:20 URL:http://tinderbox.dev.gentoo.org/portage/net-analyzer/wireshark/metadata.xml [2242/2242] -> "metadata.xml" [1]
2011-06-04 13:40:20 URL:http://tinderbox.dev.gentoo.org/portage/net-analyzer/wireshark/Manifest [4135/4135] -> "Manifest" [1]
2011-06-04 13:40:20 URL:http://tinderbox.dev.gentoo.org/portage/net-analyzer/wireshark/wireshark-1.6.0_rc1.ebuild [6282/6282] -> "wireshark-1.6.0_rc1.ebuild" [1]
Processing wireshark-1.6.0_rc1.ebuild
  replacing ${D} -> ${ED} ... not found
  replacing ${ROOT} -> ${EROOT} ... 1 occurence
Processing wireshark-1.6.0_rc1.ebuild ... 
wireshark-1.6.0_rc1.ebuild
--- wireshark-1.6.0_rc1.ebuild	2011-06-04 13:40:21.000000000 +0200
+++ wireshark-1.6.0_rc1.ebuild.new	2011-06-04 13:40:21.000000000 +0200
@@ -16 +16 @@
-KEYWORDS=""
+KEYWORDS="~x64-macos"
Appending /Volumes/gentoo-prefix/usr/local/portage to PORTDIR_OVERLAY...
>>> Creating Manifest for /Volumes/gentoo-prefix/usr/local/portage/net-analyzer/wireshark


Portage 2.2.01.18706-prefix (prefix/darwin/macos/10.6/x64, gcc-4.2.1, unavailable, 10.7.0 i386)
=================================================================
System uname: Darwin-10.7.0-i386-64bit
Timestamp of tree: Sat, 04 Jun 2011 09:40:05 +0000
distcc 3.1-toolwhip.1 i386-apple-darwin10.0 [disabled]
app-shells/bash:      4.2_p10
dev-lang/python:      2.7.1-r1
sys-devel/autoconf:   2.68
sys-devel/automake:   1.11.1
sys-devel/gcc-config: 1.4.1-r00.2
sys-devel/libtool:    2.4-r1
sys-devel/make:       3.82
Repositories: gentoo_prefix local
Installed sets: 
ACCEPT_KEYWORDS="~x64-macos"
ACCEPT_LICENSE="* -@EULA"
CBUILD="x86_64-apple-darwin10"
CFLAGS="-O2 -pipe -march=nocona"
CHOST="x86_64-apple-darwin10"
CONFIG_PROTECT="/etc"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/gconf /etc/portage /etc/revdep-rebuild /etc/terminfo"
CXXFLAGS="-O2 -pipe -march=nocona"
DISTDIR="/Volumes/gentoo-prefix/usr/portage/distfiles"
FEATURES="assume-digests binpkg-logs collision-protect distlocks ebuild-locks fixlafiles fixpackages news nostrip parallel-fetch preserve-libs protect-owned sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch"
FFLAGS=""
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LANG="en_US.UTF-8"
LDFLAGS="-Wl,-dead_strip_dylibs"
MAKEOPTS="-j5"
PKGDIR="/Volumes/gentoo-prefix/usr/portage/packages"
PORTAGE_CONFIGROOT="/Volumes/gentoo-prefix/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/Volumes/gentoo-prefix/var/tmp"
PORTDIR="/Volumes/gentoo-prefix/usr/portage"
PORTDIR_OVERLAY="/Volumes/gentoo-prefix/usr/local/portage"
SYNC="rsync://rsync.prefix.freens.org/gentoo-portage-prefix"
USE="aqua coreaudio cracklib cxx mmx mmxext modules ncurses nls objc objc++ perl prefix readline sse sse2 ssl subversion unicode x64-macos zlib" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="braindump flow karbon kexi kpresenter krita tables words" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" ELIBC="Darwin" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ubx" INPUT_DEVICES="keyboard mouse" KERNEL="Darwin" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" PHP_TARGETS="php5-3" RUBY_TARGETS="ruby18" USERLAND="GNU" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account" 
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, LINGUAS, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 2 Fabian Groffen gentoo-dev 2011-12-15 19:16:03 UTC
The ebuild is imported and most obvious problems in the ebuild have been fixed.  I don't dare to keyword, since it has so many deps.
Comment 3 Fabian Groffen gentoo-dev 2017-11-13 16:42:26 UTC
wireshark is in the tree should it be necessary, the keywording can be done through package.accept_keywords