Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 6517

Summary: net-analyzer/iptraf should install iptraf into /usr/sbin, not /usr/bin
Product: Gentoo Linux Reporter: Hannes Mehnert (RETIRED) <hannes>
Component: New packagesAssignee: Daniel Ahlberg (RETIRED) <aliz>
Status: RESOLVED FIXED    
Severity: normal CC: kevin
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Hannes Mehnert (RETIRED) gentoo-dev 2002-08-15 07:38:52 UTC
It would make sense if iptraf would be installed into /usr/sbin, because only 
root can execute it (it sets the network interface to promiscous mode). 
 
Here is a diff: 
hannes@neptun ~ $ diff -u 
/home/portage/net-analyzer/iptraf/iptraf-2.7.0.ebuild 
/usr/portage/net-analyzer/iptraf/iptraf-2.7.0.ebuild  
--- /home/portage/net-analyzer/iptraf/iptraf-2.7.0.ebuild        Thu Aug 15 
14:29:54 2002 
+++ /usr/portage/net-analyzer/iptraf/iptraf-2.7.0.ebuild        Wed Aug 14 
14:20:50 2002 
@@ -16,11 +16,11 @@ 
  
 src_compile() { 
        cd src 
-       emake TARGET="/usr/sbin" WORKDIR="/var/lib/iptraf" \ 
+       emake TARGET="/usr/bin" WORKDIR="/var/lib/iptraf" \ 
        clean all || die "emake failed" 
 } 
 src_install() { 
-       dosbin src/{iptraf,cfconv,rvnamed} 
+       dobin src/{iptraf,cfconv,rvnamed} 
        dodoc  FAQ README* CHANGES RELEASE-NOTES 
        doman Documentation/*.8 
        htmlinto html
Comment 1 Daniel Ahlberg (RETIRED) gentoo-dev 2002-08-18 07:52:39 UTC
Fixed. Thanks for catching this.