[proaudio] [1316] fixup sandboxing

[ Thread Index | Date Index | More lists.tuxfamily.org/proaudio Archives ]


Revision: 1316
Author:   evermind
Date:     2008-09-16 20:00:34 +0200 (Tue, 16 Sep 2008)

Log Message:
-----------
fixup sandboxing

Modified Paths:
--------------
    trunk/overlays/proaudio/dev-lang/faust/ChangeLog
    trunk/overlays/proaudio/dev-lang/faust/Manifest
    trunk/overlays/proaudio/dev-lang/faust/faust-0.9.9.4.ebuild
    trunk/overlays/proaudio/media-sound/SMSTools/Manifest
    trunk/overlays/proaudio/media-sound/SMSTools/SMSTools-0.4.10.ebuild
    trunk/overlays/proaudio/media-sound/SMSTools/SMSTools-0.4.9.ebuild


Modified: trunk/overlays/proaudio/dev-lang/faust/ChangeLog
===================================================================
--- trunk/overlays/proaudio/dev-lang/faust/ChangeLog	2008-09-16 15:44:26 UTC (rev 1315)
+++ trunk/overlays/proaudio/dev-lang/faust/ChangeLog	2008-09-16 18:00:34 UTC (rev 1316)
@@ -2,6 +2,10 @@
 # Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
 # $Header: $
 
+  16 Sep 2008; Frieder Buerzele <evermind@xxxxxxxxxxxxx;
+  faust-0.9.9.4.ebuild:
+  fixup sandboxing
+
   16 Sep 2008; Frieder Buerzele <evermind@xxxxxxxxxxxxx; ChangeLog:
   initial ebuild
 

Modified: trunk/overlays/proaudio/dev-lang/faust/Manifest
===================================================================
--- trunk/overlays/proaudio/dev-lang/faust/Manifest	2008-09-16 15:44:26 UTC (rev 1315)
+++ trunk/overlays/proaudio/dev-lang/faust/Manifest	2008-09-16 18:00:34 UTC (rev 1316)
@@ -1,3 +1,3 @@
 DIST faust-0.9.9.4b.tar.gz 3934697 RMD160 c126b11f23451a28ec932f9b51bf080613fab4e7 SHA1 65882219ccd96fb8a64eec208bbad3a127b7a777 SHA256 0509f9a49f0f1c7a03a2c14f560793b1f65cbaf9e0efcd44c572f93af5a39dea
-EBUILD faust-0.9.9.4.ebuild 783 RMD160 ae939a568927fe114e477bd24089f766981eb260 SHA1 9acb36ecb488a42e271dff68253aaffe15870e77 SHA256 6f42f8f50a31f47bfb1bab34adf6790bd1edf3abb26251b75da9bf48db013592
-MISC ChangeLog 201 RMD160 d2745c55018546c842f51e4d975ef7d86f38a1ec SHA1 533b8e94e0c6ab3a853afc70faed001509917dfa SHA256 339de425342f4f9b0d5b5d8dd5136a763a11a1b9e7a6647f9b1d48d8be86b4db
+EBUILD faust-0.9.9.4.ebuild 1140 RMD160 5c8f8f69a5ec3199a898a5ba034c25fa1a2e6399 SHA1 db9f768408fec03cb518d718470bbe2c96090fe0 SHA256 8a060868d766c74d6466e750b5bf934b4e11fb96f6bca969025eb499af7f8ed6
+MISC ChangeLog 302 RMD160 2eb441e29018805afc5909aaedebfd49c0da3998 SHA1 bcd6f73f8459de56e0379c92992b6e6771f234bf SHA256 f9779ea44b8b671537b42e9bdfccf490c82b108a2f3aed7b386cfe32072d166e

Modified: trunk/overlays/proaudio/dev-lang/faust/faust-0.9.9.4.ebuild
===================================================================
--- trunk/overlays/proaudio/dev-lang/faust/faust-0.9.9.4.ebuild	2008-09-16 15:44:26 UTC (rev 1315)
+++ trunk/overlays/proaudio/dev-lang/faust/faust-0.9.9.4.ebuild	2008-09-16 18:00:34 UTC (rev 1316)
@@ -1,7 +1,9 @@
-# Copyright 1999-2005 Gentoo Foundation
+# Copyright 1999-2008 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 # $Header: $
 
+inherit exteutils
+
 IUSE="doc"
 
 SLOT="0"
@@ -16,8 +18,19 @@
 		 sys-devel/flex"
 DEPEND="sys-apps/sed"
 
+src_unpack() {
+	unpack "${A}"
+	cd "${S}"
+	# missing destdir
+	esed_check -i -e 's@\($(prefix)\)@$(DESTDIR)/\1@g' Makefile
+	esed_check -i -e 's@mkdir -p \($(DESTDIR).*\)@install -d \1@g' Makefile
+	# create dir for binary
+	esed_check -i -e 's@^\(install :.*\)@\1\n\tinstall -d $(DESTDIR)/$(prefix)/bin@g' Makefile
+	# fix prefix
+	esed_check -i -e "s\/usr/local\ /usr\ " Makefile
+}
+
 src_compile() {
-	sed -i "s\/usr/local\ /usr\ " Makefile
 	emake || die "parallel make failed"
 }
 

Modified: trunk/overlays/proaudio/media-sound/SMSTools/Manifest
===================================================================
--- trunk/overlays/proaudio/media-sound/SMSTools/Manifest	2008-09-16 15:44:26 UTC (rev 1315)
+++ trunk/overlays/proaudio/media-sound/SMSTools/Manifest	2008-09-16 18:00:34 UTC (rev 1316)
@@ -2,10 +2,10 @@
 DIST SMSTools-0.4.7.tar.gz 2121623 RMD160 f6b674341f0bb8bdf3068adcbbb76a3953bf47b5 SHA1 72ff88d1774a00af05f8d06c3fe9b0a746cbb1cf SHA256 fea03bc04b419625302781bdc0cced418ebc11be43dcd74bbb49525df00a41f6
 DIST SMSTools-0.4.8.tar.gz 2165553 RMD160 8e6bf919faf3a0a462db170cef8dcf329e48eaf4 SHA1 e757f0122090e55e13d1608cb2278976d1567b9f SHA256 ccdf80cdfa2969fd89e02751fa64efd09733d8dbc934a4db59af4f4b09643a72
 DIST SMSTools-0.4.9.tar.gz 2168620 RMD160 9c648d7c9890e5bf16869472a9def51e85137f43 SHA1 cb91a5ecd5352637e41f774608378c8760e65440 SHA256 eb4e7b0c5389483801f18f4a820e9fd68d3a6926482f659bd3ccd8b4eba0653e
-EBUILD SMSTools-0.4.10.ebuild 1169 RMD160 e37cc85722b6b9edf8f327928e53e843c5cdfab5 SHA1 df8d8e6389725c148c769bc9403c031327f4ee70 SHA256 0851feff05c36fbc9579a4ad6e805b89cb8bd30933a1409dfdebcd9c04e28733
+EBUILD SMSTools-0.4.10.ebuild 1229 RMD160 bac0ea2ce1124c2d3aced7165ca3d31343086173 SHA1 15297c4aec68ecc9f96519fe4c3ccc8382939c83 SHA256 11a461d125475d77a33e49f5c1a3a8423693d3f9aacaffa6f3e16443f4fe723b
 EBUILD SMSTools-0.4.7-r1.ebuild 1177 RMD160 d6841597a52c55bbe50094ad33390ef7a3ae79ee SHA1 efac605639197ed8a0d79be512b15b408b9f93c5 SHA256 8d3c4e2f630baca11a617f5a9b64724fb45db58171b0ce0dbb28b993d5c34c6b
 EBUILD SMSTools-0.4.8.ebuild 1185 RMD160 ad089627ab55d0e72f30321cb9e6bbdb0ab738ca SHA1 ae710f272b3c06c09fd656a551174b0defd40ff9 SHA256 ffb7c769250cc85c48a1ef34e9f7b36c730ba3edbb19555a881003285df7bed8
-EBUILD SMSTools-0.4.9.ebuild 1169 RMD160 e37cc85722b6b9edf8f327928e53e843c5cdfab5 SHA1 df8d8e6389725c148c769bc9403c031327f4ee70 SHA256 0851feff05c36fbc9579a4ad6e805b89cb8bd30933a1409dfdebcd9c04e28733
+EBUILD SMSTools-0.4.9.ebuild 1227 RMD160 18ba5626de978c4b22d4171cd4afd040e324b37d SHA1 8a07ea06777c573f12475e1c1b4c1d0979dc262a SHA256 b1a4ce240346ee2ff90126c2410fa58724a406f5e7eb19bffe9f4a55952aed25
 EBUILD SMSTools-9999.ebuild 1199 RMD160 b8facf7b99fb2d1cae5d73acfde0129c21b30032 SHA1 f6121afa77be807c3d3ecf60bd7cadccd86a37ab SHA256 5cd462c1442e017554d8d2da53f440ebf77703b6869d64b0c437614b09da5649
 MISC ChangeLog 299 RMD160 b73b984d461250804ae7d1be9538aa5ba824e0e3 SHA1 6e88ea0a3eac671043313f40297b009f6dfe3103 SHA256 f0acf4929b189de6479f299793964a9bb8858fd4eb8b432bec706191aac70a9d
 MISC metadata.xml 268 RMD160 facc07bd885f20615a1f2555069329c642e1a566 SHA1 2456bdb8a218c9d477d2d6ee4bf158de070c7be4 SHA256 96629b266b743f566c29158d4498edeeb1cd6b1f0cd9629e42d4f10b4da82f89

Modified: trunk/overlays/proaudio/media-sound/SMSTools/SMSTools-0.4.10.ebuild
===================================================================
--- trunk/overlays/proaudio/media-sound/SMSTools/SMSTools-0.4.10.ebuild	2008-09-16 15:44:26 UTC (rev 1315)
+++ trunk/overlays/proaudio/media-sound/SMSTools/SMSTools-0.4.10.ebuild	2008-09-16 18:00:34 UTC (rev 1316)
@@ -27,6 +27,7 @@
 	# required for scons to "see" intermediate install location
 	mkdir -p ${D}/usr
 	addpredict /usr/share/clam/sconstools
+	addpredict /usr/qt/3/etc/settings/.qt_plugins_3.3rc.lock
 
 	cd ${S}
 	scons clam_prefix=/usr DESTDIR="${D}/usr" prefix="${D}/usr" release=yes || die "Build failed"
@@ -34,7 +35,7 @@
 }
 
 src_install() {
-	cd ${S}
+	cd "${S}"
 	dodir /usr
 	addpredict /usr/share/clam/sconstools
 

Modified: trunk/overlays/proaudio/media-sound/SMSTools/SMSTools-0.4.9.ebuild
===================================================================
--- trunk/overlays/proaudio/media-sound/SMSTools/SMSTools-0.4.9.ebuild	2008-09-16 15:44:26 UTC (rev 1315)
+++ trunk/overlays/proaudio/media-sound/SMSTools/SMSTools-0.4.9.ebuild	2008-09-16 18:00:34 UTC (rev 1316)
@@ -27,6 +27,7 @@
 	# required for scons to "see" intermediate install location
 	mkdir -p ${D}/usr
 	addpredict /usr/share/clam/sconstools
+	addpredict /usr/qt/3/etc/settings/.qt_plugins_3.3rc.lock
 
 	cd ${S}
 	scons clam_prefix=/usr DESTDIR="${D}/usr" prefix="${D}/usr" release=yes || die "Build failed"


Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/