diff options
author | Ned Ludd <solar@gentoo.org> | 2003-12-30 21:26:16 +0000 |
---|---|---|
committer | Ned Ludd <solar@gentoo.org> | 2003-12-30 21:26:16 +0000 |
commit | a5d357ed34c1f87ece9c25130dbeddc75060a938 (patch) | |
tree | 353896a14cf09ded788bf01ae634e24ac8a51def | |
parent | This release adds mips and mips64 support. Currently Gentoo does not support ... (diff) | |
download | gentoo-2-a5d357ed34c1f87ece9c25130dbeddc75060a938.tar.gz gentoo-2-a5d357ed34c1f87ece9c25130dbeddc75060a938.tar.bz2 gentoo-2-a5d357ed34c1f87ece9c25130dbeddc75060a938.zip |
This release adds mips and mips64 support. Currently Gentoo does not support mips64 but when we do chpax can be ~mips64 keyworded
-rw-r--r-- | sys-apps/chpax/ChangeLog | 8 | ||||
-rw-r--r-- | sys-apps/chpax/Manifest | 4 | ||||
-rw-r--r-- | sys-apps/chpax/chpax-0.6.ebuild | 43 | ||||
-rw-r--r-- | sys-apps/chpax/files/digest-chpax-0.6 | 1 | ||||
-rw-r--r-- | sys-apps/chpax/files/pax-conf.d | 8 |
5 files changed, 57 insertions, 7 deletions
diff --git a/sys-apps/chpax/ChangeLog b/sys-apps/chpax/ChangeLog index 70ba84c3af0d..acbc472971ca 100644 --- a/sys-apps/chpax/ChangeLog +++ b/sys-apps/chpax/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for sys-apps/chpax # Copyright 2000-2003 Gentoo Technologies, Inc.; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sys-apps/chpax/ChangeLog,v 1.13 2003/12/09 05:48:19 solar Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-apps/chpax/ChangeLog,v 1.14 2003/12/30 21:26:08 solar Exp $ + +*chpax-0.6 (30 Dec 2003) + + 30 Dec 2003; <solar@gentoo.org> chpax-0.6.ebuild, files/pax-conf.d: + This release adds mips and mips64 support. Currently Gentoo does not support + mips64 but when we do chpax can be ~mips64 keyworded 09 Dec 2003; <solar@gentoo.org> chpax-0.5.ebuild: permission change on chpax so the portage user can execute it. diff --git a/sys-apps/chpax/Manifest b/sys-apps/chpax/Manifest index 2e94e204b866..8b65d7178c26 100644 --- a/sys-apps/chpax/Manifest +++ b/sys-apps/chpax/Manifest @@ -1,5 +1,5 @@ -MD5 6ac60e5d68731642288e56e2feed339a ChangeLog 1748 -MD5 a1ad2cfb1c8adbf28ab345ec5b31a9c5 chpax-0.6.ebuild 1025 +MD5 72f1815fcf644efbcfc1d4881d259873 ChangeLog 1979 +MD5 7a85934fc4010e0a3c39c1b1f011683e chpax-0.6.ebuild 1025 MD5 9a09f8d531c582e78977dbfd96edc1f2 metadata.xml 164 MD5 0ff6b5cc322eacad2902b4c8fb538da8 chpax-0.5.ebuild 952 MD5 644b57ed00f0b489cab221da32fe7f1d files/pax-init.d 1261 diff --git a/sys-apps/chpax/chpax-0.6.ebuild b/sys-apps/chpax/chpax-0.6.ebuild new file mode 100644 index 000000000000..f9f6f3688570 --- /dev/null +++ b/sys-apps/chpax/chpax-0.6.ebuild @@ -0,0 +1,43 @@ +# Copyright 1999-2003 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/sys-apps/chpax/chpax-0.6.ebuild,v 1.1 2003/12/30 21:26:08 solar Exp $ + +inherit flag-o-matic + +DESCRIPTION="Manages various PaX related flags for ELF32, ELF64, and a.out binaries." +SRC_URI="http://pageexec.virtualave.net/chpax-${PV}.tar.gz" +HOMEPAGE="http://pageexec.virtualave.net" +KEYWORDS="~x86 ~amd64 ~sparc ~ppc ~hppa ~ia64 ~mips" +LICENSE="public-domain" +SLOT="0" + +#IUSE="static" +DEPEND="virtual/glibc" + +src_unpack() { + unpack ${A} + cd ${S} + sed -i -e "s|-Wall|${CFLAGS}|" Makefile +} + +src_compile() { + # breaks with current ssp. + # use static && append-ldflags -static + + emake CC="${CC}" TARGET="chpax ${LDFLAGS:0}" || die "Parallel Make Failed" +} + +src_install() { + into / + dosbin chpax + fperms 711 /sbin/chpax + + dodoc Changelog README + doman chpax.1 + + insinto /etc/conf.d + newins ${FILESDIR}/pax-conf.d chpax + exeinto /etc/init.d + newexe ${FILESDIR}/pax-init.d chpax + +} diff --git a/sys-apps/chpax/files/digest-chpax-0.6 b/sys-apps/chpax/files/digest-chpax-0.6 new file mode 100644 index 000000000000..d19033a3232a --- /dev/null +++ b/sys-apps/chpax/files/digest-chpax-0.6 @@ -0,0 +1 @@ +MD5 799d948632feb4344f3373fe90ba54cc chpax-0.6.tar.gz 5068 diff --git a/sys-apps/chpax/files/pax-conf.d b/sys-apps/chpax/files/pax-conf.d index b0d8c204ae85..798d3dab675c 100644 --- a/sys-apps/chpax/files/pax-conf.d +++ b/sys-apps/chpax/files/pax-conf.d @@ -10,12 +10,12 @@ # s do not enforce segmentation based non-executable pages # x do not randomize ET_EXEC base [ELF only] -PAGEEXEC_EXEMPT="/usr/X11R6/bin/XFree86 /usr/lib/wine/bin/wine /opt/blackdown-jdk-*/jre/bin/[a-z]*" +PAGEEXEC_EXEMPT="/usr/X11R6/bin/xinit /usr/X11R6/bin/XFree86 /opt/blackdown-jdk-*/jre/bin/[a-z]* /opt/blackdown-jdk-*/jre/[a-z]* /usr/bin/xmms /usr/bin/mplayer /usr/lib/wine/bin/wine /usr/bin/blender /usr/bin/gxine /usr/bin/totem /usr/bin/acme" TRAMPOLINE_EXEMPT="" -MPROTECT_EXEMPT="/opt/blackdown-jdk-*/jre/bin/[a-z]*" +MPROTECT_EXEMPT="" RANDMMAP_EXEMPT="" -SEGMEXEC_EXEMPT="/usr/X11R6/bin/xinit /usr/X11R6/bin/XFree86 /opt/blackdown-jdk-*/jre/bin/[a-z]* /usr/bin/xmms /usr/bin/mplayer /usr/bin/blender /usr/bin/gxine /usr/bin/totem /usr/bin/acme" -RANDEXEC_EXEMPT="" +SEGMEXEC_EXEMPT="${PAGEEXEC_EXEMPT}" +RANDEXEC_EXEMPT="/opt/blackdown-jdk-*/jre/bin/[a-z]* /opt/blackdown-jdk-*/jre/[a-z]*" # when zero flag mask is set to "yes" it will remove all pax flags from all files on reboot/stop ZERO_FLAG_MASK=no |