Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 6517 - net-analyzer/iptraf should install iptraf into /usr/sbin, not /usr/bin
Summary: net-analyzer/iptraf should install iptraf into /usr/sbin, not /usr/bin
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:38 UTC by Hannes Mehnert (RETIRED)
Modified: 2002-08-18 07:52 UTC (History)
1 user (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: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.