summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnthony G. Basile <blueness@gentoo.org>2012-08-28 03:08:17 +0000
committerAnthony G. Basile <blueness@gentoo.org>2012-08-28 03:08:17 +0000
commitc6582e64aa297de7cabc1abb4dc0ad6adca0b3da (patch)
treeb0a56fe2ebebaea1f5347d91955622f460cb8861 /sys-apps
parentInitial import, ebuild by me (diff)
downloadhistorical-c6582e64aa297de7cabc1abb4dc0ad6adca0b3da.tar.gz
historical-c6582e64aa297de7cabc1abb4dc0ad6adca0b3da.tar.bz2
historical-c6582e64aa297de7cabc1abb4dc0ad6adca0b3da.zip
sys-apps/chpax: removed from the tree, bug #365825
Diffstat (limited to 'sys-apps')
-rw-r--r--sys-apps/chpax/ChangeLog140
-rw-r--r--sys-apps/chpax/Manifest16
-rw-r--r--sys-apps/chpax/chpax-0.7.ebuild49
-rw-r--r--sys-apps/chpax/files/pax-conf.d65
-rw-r--r--sys-apps/chpax/files/pax-init.d92
-rw-r--r--sys-apps/chpax/metadata.xml5
6 files changed, 0 insertions, 367 deletions
diff --git a/sys-apps/chpax/ChangeLog b/sys-apps/chpax/ChangeLog
deleted file mode 100644
index 5652401f3f56..000000000000
--- a/sys-apps/chpax/ChangeLog
+++ /dev/null
@@ -1,140 +0,0 @@
-# ChangeLog for sys-apps/chpax
-# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-apps/chpax/ChangeLog,v 1.38 2012/07/11 23:41:18 blueness Exp $
-
- 11 Jul 2012; Anthony G. Basile <blueness@gentoo.org> chpax-0.7.ebuild:
- Add GPL-2 for init scripts, bug #426138
-
- 08 Jun 2012; Pacho Ramos <pacho@gentoo.org> metadata.xml:
- Drop maintainer from metadata as talked with him.
-
- 08 Oct 2010; Mart Raudsepp <leio@gentoo.org> chpax-0.7.ebuild:
- Drop to ~mips
-
- 14 Oct 2008; Diego Pettenò <flameeyes@gentoo.org> chpax-0.7.ebuild:
- Fix CFLAGS handling so they get injected during src_compile rather than
- set in stone during src_unpack; properly respect LDFLAGS (they go before
- the object files, not after).
-
- 19 Dec 2006; <solar@gentoo.org> chpax-0.7.ebuild:
- - make note about chpax being obsolete and suggest paxctl
-
- 22 Apr 2005; <solar@gentoo.org> -chpax-0.6.1.ebuild, chpax-0.7.ebuild:
- - removed old ebuild from the tree. SRC_URI no longer fetchable
-
- 15 Mar 2005; Daniel Ostrow <dostrow@gentoo.org> chpax-0.7.ebuild:
- Stable on ppc64
-
- 14 Mar 2005; <solar@gentoo.org> chpax-0.7.ebuild:
- - stable mips
-
- 28 Oct 2004; <solar@gentoo.org> -chpax-0.5.ebuild, chpax-0.6.1.ebuild,
- chpax-0.7.ebuild:
- fixed CC usage to use new toolchain-funcs.eclass. bug 69286
-
- 13 Oct 2004; Guy Martin <gmsoft@gentoo.org> chpax-0.7.ebuild:
- Stable on hppa.
-
- 03 Oct 2004; Jason Wever <weeve@gentoo.org> chpax-0.7.ebuild:
- Stable on sparc.
-
- 28 Sep 2004; Sven Wegener <swegener@gentoo.org> files/pax-init.d:
- Gentoo Technologies, Inc. -> Gentoo Foundation
-
- 16 Sep 2004; <solar@gentoo.org> files/pax-conf.d, chpax-0.7.ebuild:
- marked stable for x86* added sunjdk to exemptions
-
-*chpax-0.7 (22 Jul 2004)
-
- 22 Jul 2004; <solar@gentoo.org> chpax-0.7.ebuild, files/pax-conf.d,
- files/pax-init.d:
- version bump, now with bubble gum flavor and support for more arches
-
- 30 Jun 2004; Aron Griffis <agriffis@gentoo.org> chpax-0.6.1.ebuild:
- sync IUSE (-static), add sed-4 dep
-
- 27 Jun 2004; <solar@gentoo.org> files/pax-conf.d:
- updated conf.d script from bug #40665
-
- 06 Jun 2004; <solar@gentoo.org> files/pax-conf.d, files/pax-init.d:
- Updated chpax/paxctl init/conf scripts. Submitted by John Richard Moser. bug
- #40665
-
- 11 Apr 2004; Jason Wever <weeve@gentoo.org> chpax-0.6.1.ebuild:
- Stable on sparc.
-
- 08 Mar 2004; Jon Portnoy <avenj@gentoo.org> chpax-0.6.1.ebuild :
- Stable on AMD64 to make repoman happy.
-
- 18 Feb 2004; Guy Martin <gmsoft@gentoo.org> chpax-0.6.1.ebuild :
- Marked stable on hppa.
-
- 17 Feb 2004; Aron Griffis <agriffis@gentoo.org> chpax-0.6.1.ebuild:
- stable on alpha and ia64
-
- 20 Jan 2004; <solar@gentoo.org> chpax-0.6.1.ebuild, files/pax-conf.d:
- marking 0.6.1 stable on x86. Added a few more entrys to pageexec/segmexec
- exempt
-
-*chpax-0.6.1 (02 Jan 2004)
-
- 02 Jan 2004; <solar@gentoo.org> chpax-0.6.1.ebuild, chpax-0.6.ebuild:
- PaX has moved homepages to http://pax.grsecurity.net. This change was
- reflected in the upstream version of the chpax-0.6 release after it's initial
- release... so our mirror's see a bad chpax md5sums. A -q flag was also added
- for use in shell scripts to be a little less verbose with error reporting
-
-*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.
-
- 05 Dec 2003; Jason Wever <weeve@gentoo.org> chpax-0.5.ebuild:
- Marked stable on sparc.
-
- 22 Nov 2003; <solar@gentoo.org> chpax-0.4.ebuild, files/pax-conf.d,
- files/pax-init.d:
- extended functionality added for initscript, added sane settings to keep bugs
- down. no version bump needed
-
- 27 Oct 2003; <solar@gentoo.org> chpax-0.5.ebuild, files/pax-conf.d,
- files/pax-init.d:
- init.d/conf.d name changes..
-
- 08 Oct 2003; <solar@gentoo.org> chpax-0.5.ebuild:
- bumping to stable
-
-*chpax-0.5 (05 Oct 2003)
-
- 05 Oct 2003; <solar@gentoo.org> chpax-0.5.ebuild, files/pax-conf.d,
- files/pax-init.d:
- version bump of chpax, adds manpage, little more verbose when -v is used in
- combo with other flags. this should go stable pretty quickly
-
- 26 Sep 2003; <solar@gentoo.org> chpax-0.4.ebuild:
- marking stable for sparc
-
- 12 Sep 2003; <solar@gentoo.org> chpax-0.4.ebuild:
- marking stable for ppc
-
- 05 Jul 2003; <solar@gentoo.org> metadata.xml:
- Added metadata.xml
-
-*chpax-0.4 (16 May 2003)
-
- 24 Jun 2003; Ned Ludd <solar@gentoo.org> chpax-0.4.ebuild:
- added ~ppc to keywords
-
- 24 Jun 2003; Guy Martin <gmsoft@gentoo.org> chpax-0.4.ebuild :
- Added hppa to KEYWORDS.
-
- 02 Jun 2003; <solar@gentoo.org> Manifest, chpax-0.4.ebuild:
- Moved to stable x86/ added ~sparc keyword
-
- 16 May 2003; Joshua Brindle <method@gentoo.org> Manifest, chpax-0.4.ebuild:
- Initial import courtesy of solarx <solar@linbsd.net>
-
diff --git a/sys-apps/chpax/Manifest b/sys-apps/chpax/Manifest
deleted file mode 100644
index 498ee7784376..000000000000
--- a/sys-apps/chpax/Manifest
+++ /dev/null
@@ -1,16 +0,0 @@
------BEGIN PGP SIGNED MESSAGE-----
-Hash: SHA256
-
-AUX pax-conf.d 2743 SHA256 548412a7569aa64d64d02171e6ac3f7295bf79908ff358730a9392023f408ae0 SHA512 4601a8ca124f304f2311caf5deb983b542056d60d19f9337e15d4b62fc30125008bdbd2aa46599fc426301f89060fd0beacaba0aa2411e8a36b4bddccec301df WHIRLPOOL 9309f0e2f86f6379cb800f11628d098622a3acbed5064067f3529bba5f7d31dbf6d38ffe2271b2578fe2881ef0133bafee1721253f435f6fce03743e128de4d2
-AUX pax-init.d 2536 SHA256 6eb236ac2efd3fbe977d52d78d08fdb8a065dc03d7241740073dc0234be3c80d SHA512 69761666d11e45f195cbead1a31f8bc2ac5bda716ac79ef9afcafff2b8e3dcee44d88d6ba6a069d32822cfa129eab1a540a4bfe5575609eeda1223a64a7aa406 WHIRLPOOL 28f61932bcc213570c38e699d76c39da56fc6c91186f41d0fd0ed7ff6649fe0903bce6c041cf946043cc390d5c714cf39ce93c6b68c90041c6db147d9b3d21fa
-DIST chpax-0.7.tar.gz 5255 RMD160 5c8aeb9f43b8831a07cca8a99723d15768b2f6a8 SHA1 da2b8d9c4cc57974b3c3cd7274c73058c9ea4be7 SHA256 9c6c12d486a0200c3060745dfe56c54ec67a6566499093e71e3f234dfc961c44
-EBUILD chpax-0.7.ebuild 1296 SHA256 7135d56aadf3f66a7c91331229ddc02dd3586b35f8b146ee54c01b7629d9a023 SHA512 315145cc43601fd255459d1930c18c750e2f42f86f030d63161f51bebaaa428f0af6c6aba315742b4c008f6022cf1607184c94d7275bc9af9e2b0fbbdb75528c WHIRLPOOL 56d085565f98cdf3a758bb9112f171231071989b635cce03f2933aecb70d22f565f0e333e61b1156e3dd7be014939b3d786ddb5f30efe9230a5b57bd3757ae12
-MISC ChangeLog 5010 SHA256 ecb2ae4421288dc892d82484e7c773b1648d4e395585bd18ec11f8de52fefb5e SHA512 2c422a0769ad22126fc809dd7d3ec73fe996825341ab8044f85aca211c86186c8db8443b2a28b75ec4062b429e80f3d84fb18ad1aada94a5d04ab5ef1442018e WHIRLPOOL ec1f8d48b6a6ea49ebc1846064f5e0fc7f0c894f03e776139a2452248d9f1a263cae00aff5009fc9777cdf5fe100ee33499191b7560c3a6c9c5ee5ac5b531ea5
-MISC metadata.xml 161 SHA256 f9146563cc3df2b0d02d2f554c5293d439b56a4d36bc5aed0c66aa83dfb06c2f SHA512 b8a0bad8b2f803b7a2a0cc585378710a96c1dd3c1c2640bff387eea84331cb05c47335357e1173dac8172e3c197a858079abd0e1e2ab8db2831e90752ce8e6b7 WHIRLPOOL cfdc0f21d520638166d4bfc55da9e522e5ef978fdaaaf62d856dd3d77b10523aba2a93012b45e9d3cadfb168b1095ac4b3ce1e969b1c68e88859a4f4e819f6b2
------BEGIN PGP SIGNATURE-----
-Version: GnuPG v2.0.19 (GNU/Linux)
-
-iEYEAREIAAYFAk/+DykACgkQl5yvQNBFVTX6lACfZzpl8HnwUObbpz2jNFyFzgU4
-0ccAn1doZ/qW1yu05xUfu6TExFdEAtF1
-=rMS+
------END PGP SIGNATURE-----
diff --git a/sys-apps/chpax/chpax-0.7.ebuild b/sys-apps/chpax/chpax-0.7.ebuild
deleted file mode 100644
index 8ed0817bfbaa..000000000000
--- a/sys-apps/chpax/chpax-0.7.ebuild
+++ /dev/null
@@ -1,49 +0,0 @@
-# Copyright 1999-2012 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-apps/chpax/chpax-0.7.ebuild,v 1.17 2012/07/11 23:41:18 blueness Exp $
-
-inherit flag-o-matic toolchain-funcs
-
-DESCRIPTION="Manages various PaX related flags for ELF32, ELF64, and a.out binaries."
-HOMEPAGE="http://pax.grsecurity.net/"
-SRC_URI="http://pax.grsecurity.net/${P}.tar.gz"
-
-LICENSE="public-domain GPL-2"
-SLOT="0"
-KEYWORDS="alpha amd64 arm hppa ia64 ~mips ppc ppc64 s390 sparc x86"
-IUSE=""
-
-RDEPEND=""
-DEPEND="${RDEPEND}"
-
-src_unpack() {
- unpack ${A}
- sed -i \
- -e '/^CFLAGS/s:=:+=:' \
- -e '/TARGET/s:CFLAGS:LDFLAGS:' \
- "${S}"/Makefile || die "sed in Makefile failed"
-}
-
-src_compile() {
- # use static && append-ldflags -static ; # breaks with current ssp.
- emake CC="$(tc-getCC)" || die "Parallel Make Failed"
-}
-
-src_install() {
- into /
- dosbin chpax || die
- 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
-}
-
-pkg_postinst() {
- ewarn "chpax is now obsolete in favor of sys-apps/paxctl which uses PT_PAX_FLAGS"
- ewarn "Please use paxctl from now on. Any bugs filed for chpax will be closed as WONTFIX"
-}
diff --git a/sys-apps/chpax/files/pax-conf.d b/sys-apps/chpax/files/pax-conf.d
deleted file mode 100644
index b56b5d747215..000000000000
--- a/sys-apps/chpax/files/pax-conf.d
+++ /dev/null
@@ -1,65 +0,0 @@
-####################################################################
-# Copyright 1999-2004 Gentoo Foundation #
-# Distributed under the terms of the GNU General Public License v2 #
-###################################################################
-# chpax prefix description
-# p PE do not enforce paging based non-executable pages
-# E ET emulate trampolines
-# r RE do not randomize mmap() base [ELF only]
-# m ME do not restrict mprotect()
-# s SE do not enforce segmentation based non-executable pages
-# x XE do not randomize ET_EXEC base [ELF only]
-# psem PSE same as PE + SE + ME, or -psem
-
-# NOTE: PS_EXEC_EXEMPT is {PAGE,SEGM}_EXEC_EXEMPT. For executables
-# with BOTH, you should use this, as it enables -e and -m, to make
-# sure that pax doesn't cry about odd flag settings in softmode
-
-# chpax command. If using multiple tools, can separate by spaces.
-# This one hits BOTH chpax and paxctl
-CHPAX="/sbin/chpax /sbin/paxctl"
-
-# yes to be annoyed
-#VERBOSE="yes"
-
-#########################################################################
-# Here's some basic apps we'll use, that we have to apply much stuff to #
-########################################################################
-
-# I'm debating if I should do the eval here or in the actual script; I'm
-# currently opting for doing it in the init.d script.
-#
-# To do it here, set things ="`eval echo /path/to/{some,binaries}`"
-
-#java=/opt/blackdown-{jdk-*/{,jre/},jre-*/}bin/{java{,_vm,c},keytool,kinit,klist,ktab,orbd,policytool,rmi{d,registry},servertool,tnameserv,*}
-java="/opt/*-{j{,2s}dk-*/{,jre/},jre-*/}bin/*"
-wine="/usr/lib/wine/bin/{wine{,build,clipsrv,dump,gcc,server,wrap,-{k,p}thread},w{mc,rc,idl}}"
-x11="/usr/X11R6/bin/{XFree86,Xorg}"
-xine="/usr/bin/{g,}xine"
-openoffice="/opt/OpenOffice.org*/program/soffice.bin"
-mozilla="/usr/lib/MozillaFirefox/firefox-bin /usr/lib/mozilla/mozilla-bin"
-xmms="/usr/bin/xmms"
-mplayer="/usr/bin/{g,}mplayer"
-
-#####################################################
-# Miscillaneous things that need each of these tags #
-####################################################
-
-PSE_misc="/usr/bin/blender /usr/bin/totem /usr/bin/acme \
- /usr/bin/gnome-sound-recorder /usr/games/bin/bzflag /usr/bin/xfce4-panel"
-
-####################################
-# Settings are really applied here #
-###################################
-
-PS_EXEC_EXEMPT="${PSE_misc} ${x11} ${xine} ${wine} ${java} ${openoffice} ${mplayer}"
-PAGEEXEC_EXEMPT=""
-TRAMPOLINE_EXEMPT=""
-MPROTECT_EXEMPT="${java} ${mozilla} ${xmms}"
-RANDMMAP_EXEMPT="${java} ${x11}"
-SEGMEXEC_EXEMPT="${PAGEEXEC_EXEMPT}"
-RANDEXEC_EXEMPT="${java} ${x11}"
-
-# when zero flag mask is set to "yes" it will remove all pax flags from all files on reboot/stop
-#ZERO_FLAG_MASK="yes"
-
diff --git a/sys-apps/chpax/files/pax-init.d b/sys-apps/chpax/files/pax-init.d
deleted file mode 100644
index 50df0b743c70..000000000000
--- a/sys-apps/chpax/files/pax-init.d
+++ /dev/null
@@ -1,92 +0,0 @@
-#!/sbin/runscript
-# Copyright 1999-2004 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-apps/chpax/files/pax-init.d,v 1.8 2004/09/28 01:49:28 swegener Exp $
-
-depend() {
- need bootmisc
-}
-
-checkconfig() {
- if [ "x$CHPAX" = "x" ]; then
- CHPAX="/sbin/chpax /sbin/paxctl"
- fi
- # Find non-existant chpaxes
- REALCHPAX=""
- for i in $CHPAX; do
- REALCHPAX="$REALCHPAX`$i -v $i >/dev/null 2>&1 && echo \ $i`"
- done
- if [ "x$REALCHPAX" = "x" ]; then
- eerror "error: none of the specified chpax commands exist!"
- return 1
- fi
- CHPAX="$REALCHPAX"
-}
-
-chpax_flag() {
- flag=$1
- fname=$2
-
- #if [ -w ${fname} ]; then
- #einfo "-${flag} flagging ${fname}"
- for i in $CHPAX; do
- #einfo " with $i"
- # nonverbose is ultraquiet
- if [ "$VERBOSE" = "yes" -a -x ${fname} ]; then
- einfo "-${flag} flagging ${fname} with $i"
- $i -$flag ${fname}
- [ $? != 0 ] && eerror "error: $i -$flag ${fname}"
- else
- [ -x ${fname} ] && $i -$flag ${fname} 2>/dev/null >/dev/null
- fi
- done
- #fi
-}
-
-fix_exempts() {
- #need to do this for foo{,bar,baz} expressions to work.
- PAGEEXEC_EXEMPT=`eval echo $PAGEEXEC_EXEMPT`
- TRAMPOLINE_EXEMPT=`eval echo $TRAMPOLINE_EXEMPT`
- RANDMMAP_EXEMPT=`eval echo $RANDMMAP_EXEMPT`
- MPROTECT_EXEMPT=`eval echo $MPROTECT_EXEMPT`
- SEGMEXEC_EXEMPT=`eval echo $SEGMEXEC_EXEMPT`
- PS_EXEC_EXEMPT=`eval echo $PS_EXEC_EXEMPT`
- RANDEXEC_EXEMPT=`eval echo $RANDEXEC_EXEMPT`
-}
-
-start() {
- checkconfig || return 1
-
- fix_exempts
-
- ebegin "Setting PaX flags on binaries"
- for e in $TRAMPOLINE_EXEMPT; do chpax_flag e ${e} ;done
- for r in $RANDMMAP_EXEMPT; do chpax_flag r ${r} ;done
- for m in $MPROTECT_EXEMPT; do chpax_flag m ${m} ;done
- for p in $PAGEEXEC_EXEMPT; do chpax_flag p ${p} ;done
- for s in $SEGMEXEC_EXEMPT; do chpax_flag s ${s} ;done
- for s in $PS_EXEC_EXEMPT; do chpax_flag psem ${s} ;done
- for x in $RANDEXEC_EXEMPT; do chpax_flag x ${x} ;done
-
- eend
- return 0
-}
-
-stop() {
- checkconfig || return 1
-
- [ "$ZERO_FLAG_MASK" = "yes" ] || return 0
- fix_exempts
- einfo "chpax zero flag masking"
- for p in $PAGEEXEC_EXEMPT; do chpax_flag ze ${p} ;done
- for e in $TRAMPOLINE_EXEMPT; do chpax_flag ze ${e} ;done
- for r in $RANDMMAP_EXEMPT; do chpax_flag ze ${r} ;done
- for m in $MPROTECT_EXEMPT; do chpax_flag ze ${m} ;done
- for s in $SEGMEXEC_EXEMPT; do chpax_flag ze ${s} ;done
- for s in $PS_EXEC_EXEMPT; do chpax_flag ze ${s} ;done
- for x in $RANDEXEC_EXEMPT; do chpax_flag ze ${x} ;done
-
- return 0
-}
-
-
diff --git a/sys-apps/chpax/metadata.xml b/sys-apps/chpax/metadata.xml
deleted file mode 100644
index 191d9d0695c5..000000000000
--- a/sys-apps/chpax/metadata.xml
+++ /dev/null
@@ -1,5 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
-<pkgmetadata>
-<herd>hardened</herd>
-</pkgmetadata>