Anonymous avatar Anonymous committed f70c374

use paxctl-ng to support the favorised method of pax marking via filesystem attributes

Comments (0)

Files changed (3)

dev-lang/mono/mono-3.0.11.ebuild

 DEPEND="${COMMONDEPEND}
 	sys-devel/bc
 	virtual/yacc
-	pax_kernel? ( sys-apps/paxctl )
+	pax_kernel? ( sys-apps/elfix )
 "
 
 pkg_pretend() {
 	cat "${S}/mono/metadata/Makefile.am.in" > "${S}/mono/metadata/Makefile.am" || die
 
 	eautoreconf
-	# we need to sed in the paxctl -mr in the runtime/mono-wrapper.in so it don't
+	# we need to sed in the paxctl-ng -mr in the runtime/mono-wrapper.in so it don't
 	# get killed in the build proces when MPROTEC is enable. #286280
 	# RANDMMAP kill the build proces to #347365
 	if use pax_kernel ; then
 		ewarn "We are disabling MPROTECT on the mono binary."
-		sed '/exec/ i\paxctl -mr "$r/@mono_runtime@"' -i "${S}"/runtime/mono-wrapper.in
+		sed '/exec/ i\paxctl-ng -mr "$r/@mono_runtime@"' -i "${S}"/runtime/mono-wrapper.in
 	fi
 
 	# mono build system can fail otherwise

dev-lang/mono/mono-3.0.7.ebuild

 DEPEND="${COMMONDEPEND}
 	sys-devel/bc
 	virtual/yacc
-	pax_kernel? ( sys-apps/paxctl )
+	pax_kernel? ( sys-apps/elfix )
 "
 
 pkg_pretend() {
 }
 
 src_prepare() {
-	# we need to sed in the paxctl -mr in the runtime/mono-wrapper.in so it don't
+	# we need to sed in the paxctl-ng -mr in the runtime/mono-wrapper.in so it don't
 	# get killed in the build proces when MPROTEC is enable. #286280
 	# RANDMMAP kill the build proces to #347365
 	if use pax_kernel ; then
 		ewarn "We are disabling MPROTECT on the mono binary."
-		sed '/exec/ i\paxctl -mr "$r/@mono_runtime@"' -i "${S}"/runtime/mono-wrapper.in
+		sed '/exec/ i\paxctl-ng -mr "$r/@mono_runtime@"' -i "${S}"/runtime/mono-wrapper.in
 	fi
 
 	# mono build system can fail otherwise

dev-lang/mono/mono-9999.ebuild

 DEPEND="${COMMONDEPEND}
 	sys-devel/bc
 	virtual/yacc
-	pax_kernel? ( sys-apps/paxctl )
+	pax_kernel? ( sys-apps/elfix )
 "
 
 pkg_pretend() {
 	cat "${S}/mono/metadata/Makefile.am.in" > "${S}/mono/metadata/Makefile.am" || die
 
 	eautoreconf
-	# we need to sed in the paxctl -mr in the runtime/mono-wrapper.in so it don't
+	# we need to sed in the paxctl-ng -mr in the runtime/mono-wrapper.in so it don't
 	# get killed in the build proces when MPROTEC is enable. #286280
 	# RANDMMAP kill the build proces to #347365
 	if use pax_kernel ; then
 		ewarn "We are disabling MPROTECT on the mono binary."
-		sed '/exec/ i\paxctl -mr "$r/@mono_runtime@"' -i "${S}"/runtime/mono-wrapper.in
+		sed '/exec/ i\paxctl-ng -mr "$r/@mono_runtime@"' -i "${S}"/runtime/mono-wrapper.in
 	fi
 
 	# mono build system can fail otherwise
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.