diff options
author | Sebastien Fabbro <bicatali@gentoo.org> | 2007-05-04 14:48:13 +0000 |
---|---|---|
committer | Sebastien Fabbro <bicatali@gentoo.org> | 2007-05-04 14:48:13 +0000 |
commit | 17d4bee0b48fd85e8c85be2d127cb76f44f0ade8 (patch) | |
tree | cacd18b34b2cdb0d102e41865bd5f1748849cf4d /sci-misc | |
parent | Add gstreamer herd as the primary herd for the package (diff) | |
download | gentoo-2-17d4bee0b48fd85e8c85be2d127cb76f44f0ade8.tar.gz gentoo-2-17d4bee0b48fd85e8c85be2d127cb76f44f0ade8.tar.bz2 gentoo-2-17d4bee0b48fd85e8c85be2d127cb76f44f0ade8.zip |
fixed sandbox violation when root installs it (bug #176949)
(Portage version: 2.1.2.2)
Diffstat (limited to 'sci-misc')
-rw-r--r-- | sci-misc/ncview/ChangeLog | 5 | ||||
-rw-r--r-- | sci-misc/ncview/ncview-1.93b.ebuild | 9 |
2 files changed, 11 insertions, 3 deletions
diff --git a/sci-misc/ncview/ChangeLog b/sci-misc/ncview/ChangeLog index 120fd781428d..4c7902dfeaf4 100644 --- a/sci-misc/ncview/ChangeLog +++ b/sci-misc/ncview/ChangeLog @@ -1,6 +1,9 @@ # ChangeLog for sci-misc/ncview # Copyright 2002-2007 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sci-misc/ncview/ChangeLog,v 1.7 2007/04/30 11:12:46 bicatali Exp $ +# $Header: /var/cvsroot/gentoo-x86/sci-misc/ncview/ChangeLog,v 1.8 2007/05/04 14:48:13 bicatali Exp $ + + 04 May 2007; Sébastien Fabbro <bicatali@gentoo.org> ncview-1.93b.ebuild: + fixed sandbox violation when root installs it (bug #176949) *ncview-1.93b (30 Apr 2007) diff --git a/sci-misc/ncview/ncview-1.93b.ebuild b/sci-misc/ncview/ncview-1.93b.ebuild index 08ba3ac2c12e..21f430b1ff8c 100644 --- a/sci-misc/ncview/ncview-1.93b.ebuild +++ b/sci-misc/ncview/ncview-1.93b.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2007 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sci-misc/ncview/ncview-1.93b.ebuild,v 1.1 2007/04/30 11:12:46 bicatali Exp $ +# $Header: /var/cvsroot/gentoo-x86/sci-misc/ncview/ncview-1.93b.ebuild,v 1.2 2007/05/04 14:48:13 bicatali Exp $ inherit multilib @@ -28,8 +28,13 @@ src_compile() { } src_install() { - dodir /usr/share/X11/app-defaults + local appdef=/usr/share/X11/app-defaults + dodir ${appdef} dodir /usr/share/${PN} + # fix when root installs it. + sed -i \ + -e "s:/usr/lib/X11/app-defaults:${D}${appdef}:g" \ + install-appdef || die "sed failed" emake \ DESTDIR="${D}" \ BINDIR="${D}/usr/bin" \ |