Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 6518 - tcpdump should install into /usr/sbin
Summary: tcpdump should install into /usr/sbin
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Daniel Ahlberg (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-08-15 07:45 UTC by Hannes Mehnert (RETIRED)
Modified: 2008-11-03 04:15 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 Hannes Mehnert (RETIRED) gentoo-dev 2002-08-15 07:45:18 UTC
tcpdump requires root to be executed (it sets the network interface to 
promiscous mode), so it would be nicer if it would be in /usr/sbin. 
Here are the diffs for the ebuilds: 
 
hannes@neptun ~ $ diff -u 
/usr/portage/net-analyzer/tcpdump/tcpdump-3.6.2-r1.ebuild 
/home/portage/net-analyzer/tcpdump/tcpdump-3.6.2-r1.ebuild  
--- /usr/portage/net-analyzer/tcpdump/tcpdump-3.6.2-r1.ebuild   Wed Aug 14 
14:20:51 2002 
+++ /home/portage/net-analyzer/tcpdump/tcpdump-3.6.2-r1.ebuild   Thu Aug 15 
14:30:58 2002 
@@ -35,7 +35,7 @@ 
  
 src_install() {                                                                 
        into /usr 
-       dobin tcpdump 
+       dosbin tcpdump 
        doman tcpdump.1 
        dodoc README FILES VERSION CHANGES 
 } 
 
hannes@neptun ~ $ diff -u 
/usr/portage/net-analyzer/tcpdump/tcpdump-3.7.1.ebuild 
/home/portage/net-analyzer/tcpdump/tcpdump-3.7.1.ebuild  
--- /usr/portage/net-analyzer/tcpdump/tcpdump-3.7.1.ebuild      Wed Aug 14 
14:20:51 2002 
+++ /home/portage/net-analyzer/tcpdump/tcpdump-3.7.1.ebuild      Thu Aug 15 
14:31:05 2002 
@@ -28,7 +28,7 @@ 
  
 src_install() {                                                                 
        into /usr 
-       dobin tcpdump 
+       dosbin tcpdump 
        doman tcpdump.1 
        dodoc *.awk 
        dodoc README FILES VERSION CHANGES
Comment 1 Daniel Ahlberg (RETIRED) gentoo-dev 2002-08-18 08:11:45 UTC
Fixed, thanks for catching this.
Comment 2 Bertrand Jacquin 2008-11-03 04:15:17 UTC
That's right if you want to run tcpdump for current flow on interfaces, but not when replaying (-r) pcap files.