Forums

Skip to content

Advanced search
  • Quick links
    • Unanswered topics
    • Active topics
    • Search
  • FAQ
  • Login
  • Register
  • Board index Discussion & Documentation Documentation, Tips & Tricks
  • Search

An Example of Local Overlay Install: Wireshark

Unofficial documentation for various parts of Gentoo Linux. Note: This is not a support forum.
Post Reply
Advanced search
1 post • Page 1 of 1
Author
Message
miroR
l33t
l33t
Posts: 826
Joined: Wed Mar 05, 2008 1:56 pm
Contact:
Contact miroR
Website

An Example of Local Overlay Install: Wireshark

  • Quote

Post by miroR » Mon Nov 23, 2015 10:52 am

title: An Example of Local Overlay Install: Wireshark
---

I am dying to see the solution to my issue at:

How to extract content from tshark-saved streams? (current title)
https://forums.gentoo.org/viewtopic-t-1033844.html

And, the 10 hours wait for the changes to propagate looked too long for me...

I looked up:

https://packages.gentoo.org/packages/ne ... /wireshark

where I followed the link under "Changelog" to:

https://gitweb.gentoo.org/repo/gentoo.g ... ?showmsg=1

where the latest commit message:

net-analyzer/wireshark: Version bump (bug #566180 by Pavel Půlpán).

contains the link:

https://gitweb.gentoo.org/repo/gentoo.g ... a96c93feb8

and looking a bit around, I managed to download the ebuild:

Code: Select all

$ wget https://gitweb.gentoo.org/repo/gentoo.git/plain/net-analyzer/wireshark/wireshark-2.0.0.ebuild?id=76079176be6a22502c25090057341fa96c93feb8
The package must be in the machine's distfiles:

Code: Select all

cp -iav /my-local-mirror/distfiles/wireshark-2.0.0.tar.bz2 /usr/portage/distfiles/
chown portage:portage /usr/portage/distfiles/wireshark-2.0.0.tar.bz2
Next I created (seeing there is /usr/portage/net-analyzer/wireshark/, but for
local overlay, pls. see on the Wiki:

Overlay/Local overlay
https://wiki.gentoo.org/wiki/Overlay/Local_overlay

):

[Next I created]... and read what the commands do without my comments ( ;-) ):

Code: Select all

mkdir -p /usr/local/portage/net-analyzer/wireshark/
cp -iav /where-I-downloaded-it/wireshark-2.0.0.ebuild\?id\=76079176be6a22502c25090057341fa96c93feb8 /usr/local/portage/net-analyzer/wireshark/wireshark-2.0.0.ebuild
mkdir /usr/local/portage/net-analyzer/wireshark/files/ 
chown -R portage:portage /usr/local/portage/net-analyzer/
Before posting, I'll check this again on my Air-Gapped (part of this I did in the online, wearable, clone):

Code: Select all

for i in $(cat /usr/local/portage/net-analyzer/wireshark/wireshark-2.0.0.ebuild \
	| grep '\.patch' | cut -d} -f3 | sed 's/ \\//'); \
	do cp -iav /usr/portage/net-analyzer/wireshark/files/*$i \
	/usr/local/portage/net-analyzer/wireshark/files/ ;\
done ;
( I checked, it is correct, but pls. should you have problems, see:

phpBB Strange White Space problem
https://forums.gentoo.org/viewtopic-t-1032010.html

)

And check that the necessary patches are there:

Code: Select all

ls -l /usr/local/portage/net-analyzer/wireshark/files/ 
Now the system does what it needs with:

Code: Select all

cd /usr/local/portage/net-analyzer/wireshark/
repoman manifest
And now:

Code: Select all

gbn ~ # emerge -tuDN wireshark |& tee /Cmn/BAK_/emerge.d/emerge-tuDN_wireshark_$(date +%s)

These are the packages that would be merged, in reverse order:

Calculating dependencies  . ... done!
[ebuild     U  ] net-analyzer/wireshark-2.0.0:0/2.0.0::miro [1.12.8-r1:0/1.12.8::gentoo] USE="caps crypt doc filecaps gtk3 ipv6 lua netlink pcap qt4 smi ssl zlib -adns -doc-pdf -geoip -kerberos -portaudio -qt5 -sbc (-selinux)" CPU_FLAGS_X86="-sse4_2%" 0 KiB

Total: 1 package (1 upgrade), Size of downloads: 0 KiB
...
And it installed.

Code: Select all

# equery l wireshark
[I-O] [  ] net-analyzer/wireshark-2.0.0:0/2.0.0
#
I know this is not much, but I thought it would be useful to newbies.
Miroslav Rovis
Zagreb, Croatia
www.CroatiaFidelis.hr
Try refute: rootkit hooks in kernel,
linux capabilities for intrusion? (Linus?)
Top
Post Reply
1 post • Page 1 of 1

Return to “Documentation, Tips & Tricks”

Jump to
  • Assistance
  • ↳   News & Announcements
  • ↳   Frequently Asked Questions
  • ↳   Installing Gentoo
  • ↳   Multimedia
  • ↳   Desktop Environments
  • ↳   Networking & Security
  • ↳   Kernel & Hardware
  • ↳   Portage & Programming
  • ↳   Gamers & Players
  • ↳   Other Things Gentoo
  • ↳   Unsupported Software
  • Discussion & Documentation
  • ↳   Documentation, Tips & Tricks
  • ↳   Gentoo Chat
  • ↳   Gentoo Forums Feedback
  • ↳   Duplicate Threads
  • International Gentoo Users
  • ↳   中文 (Chinese)
  • ↳   Dutch
  • ↳   Finnish
  • ↳   French
  • ↳   Deutsches Forum (German)
  • ↳   Diskussionsforum
  • ↳   Deutsche Dokumentation
  • ↳   Greek
  • ↳   Forum italiano (Italian)
  • ↳   Forum di discussione italiano
  • ↳   Risorse italiane (documentazione e tools)
  • ↳   Polskie forum (Polish)
  • ↳   Instalacja i sprzęt
  • ↳   Polish OTW
  • ↳   Portuguese
  • ↳   Documentação, Ferramentas e Dicas
  • ↳   Russian
  • ↳   Scandinavian
  • ↳   Spanish
  • ↳   Other Languages
  • Architectures & Platforms
  • ↳   Gentoo on ARM
  • ↳   Gentoo on PPC
  • ↳   Gentoo on Sparc
  • ↳   Gentoo on Alternative Architectures
  • ↳   Gentoo on AMD64
  • ↳   Gentoo for Mac OS X (Portage for Mac OS X)
  • Board index
  • All times are UTC
  • Delete cookies

© 2001–2026 Gentoo Foundation, Inc.

Powered by phpBB® Forum Software © phpBB Limited

Privacy Policy

 

 

magic