diff options
author | Jeremy Olexa <darkside@gentoo.org> | 2010-07-02 18:27:02 +0000 |
---|---|---|
committer | Jeremy Olexa <darkside@gentoo.org> | 2010-07-02 18:27:02 +0000 |
commit | 2d84c512e8658561a85f3df1369cf7095ebb865e (patch) | |
tree | b708f5dc4dc9d85dabc107f93a276f9847157575 /net-analyzer | |
parent | Stable on x86 wrt bug #321413. (diff) | |
download | gentoo-2-2d84c512e8658561a85f3df1369cf7095ebb865e.tar.gz gentoo-2-2d84c512e8658561a85f3df1369cf7095ebb865e.tar.bz2 gentoo-2-2d84c512e8658561a85f3df1369cf7095ebb865e.zip |
Fix suid/permission handling. Bug 296413, approved by pva
(Portage version: 2.1.8.3/cvs/Linux x86_64)
Diffstat (limited to 'net-analyzer')
-rw-r--r-- | net-analyzer/mtr/ChangeLog | 5 | ||||
-rw-r--r-- | net-analyzer/mtr/mtr-0.79.ebuild | 11 |
2 files changed, 11 insertions, 5 deletions
diff --git a/net-analyzer/mtr/ChangeLog b/net-analyzer/mtr/ChangeLog index cd343b820db7..b0754ed823f6 100644 --- a/net-analyzer/mtr/ChangeLog +++ b/net-analyzer/mtr/ChangeLog @@ -1,6 +1,9 @@ # ChangeLog for net-analyzer/mtr # Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/net-analyzer/mtr/ChangeLog,v 1.91 2010/06/15 16:09:52 jer Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-analyzer/mtr/ChangeLog,v 1.92 2010/07/02 18:27:02 darkside Exp $ + + 02 Jul 2010; Jeremy Olexa <darkside@gentoo.org> mtr-0.79.ebuild: + Fix suid/permission handling. Bug 296413, approved by pva *mtr-0.79 (15 Jun 2010) diff --git a/net-analyzer/mtr/mtr-0.79.ebuild b/net-analyzer/mtr/mtr-0.79.ebuild index b63b5d05f765..ae4c30ab2ed0 100644 --- a/net-analyzer/mtr/mtr-0.79.ebuild +++ b/net-analyzer/mtr/mtr-0.79.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2010 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-analyzer/mtr/mtr-0.79.ebuild,v 1.1 2010/06/15 16:09:52 jer Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-analyzer/mtr/mtr-0.79.ebuild,v 1.2 2010/07/02 18:27:02 darkside Exp $ EAPI="2" @@ -14,7 +14,7 @@ SRC_URI="ftp://ftp.bitwizard.nl/mtr/${P}.tar.gz LICENSE="GPL-2" SLOT="0" KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86" -IUSE="gtk ipv6" +IUSE="gtk ipv6 suid" RDEPEND="sys-libs/ncurses gtk? ( >=x11-libs/gtk+-2.4.0 )" @@ -37,7 +37,10 @@ src_install() { emake DESTDIR="${D}" install || die "make install failed" fowners root:0 /usr/sbin/mtr - fperms 4710 /usr/sbin/mtr - + if use suid; then + fperms 4711 /usr/sbin/mtr + else + fperms 0710 /usr/sbin/mtr + fi dodoc AUTHORS ChangeLog FORMATS NEWS README SECURITY TODO || die } |