Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 6521 - net-analyzer/mtr should install to /usr/bin, because it can be executed by any user
Summary: net-analyzer/mtr should install to /usr/bin, because it can be executed by an...
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 08:17 UTC by Hannes Mehnert (RETIRED)
Modified: 2015-05-15 20:17 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 08:17:19 UTC
Wrote a patch for the ebuild to have it installed into /usr/bin, not  /usr/sbin.    hannes@neptun ~ $ diff -u /usr/portage/net-analyzer/mtr/mtr-0.49-r1.ebuild  /home/portage/net-analyzer/mtr/mtr-0.49-r1.ebuild   --- /usr/portage/net-analyzer/mtr/mtr-0.49-r1.ebuild    Wed Aug 14 14:20:50  2002  +++ /home/portage/net-analyzer/mtr/mtr-0.49-r1.ebuild    Thu Aug 15 15:13  :13 2002  @@ -17,9 +17,9 @@   src_compile() {          local myconf          use gtk || myconf="${myconf} --without-gtk"          ./configure --host=${HOST} --prefix=/usr \                  --mandir=/usr/share/man \  +               --sbindir=/usr/bin \                  $myconf || die             make || die  @@ -28,7 +28,7 @@   src_install() {          # this binary is universal. ie: it does both console and gtk.     -       make prefix=${D}/usr mandir=${D}/usr/share/man install || die  +       make prefix=${D}/usr mandir=${D}/usr/share/man sbindir=${D}/usr/bin  inst  all || die             dodoc AUTHORS COPYING ChangeLog FORMATS NEWS README SECURITY TODO   }
Comment 1 Daniel Ahlberg (RETIRED) gentoo-dev 2002-08-26 06:04:19 UTC
Fixed, thanks for catching this!
Comment 2 Anthony Ryan 2015-05-15 20:17:20 UTC
Can this issue be reopened?

It seems to have moved back to /usr/sbin but uses cap_net_raw so it can be executed by anyone.