summaryrefslogtreecommitdiff
path: root/app-admin/paxtest
diff options
context:
space:
mode:
authorroot <root@alpha.trunkmasters.com>2026-06-04 16:24:49 -0500
committerroot <root@alpha.trunkmasters.com>2026-06-04 16:24:49 -0500
commita3ceca1b4c0d9bdb550dc23f06ffbb5a8e033bc7 (patch)
tree0c52bbae1c242fbc296bd650fcd1167685f81492 /app-admin/paxtest
parentbfd9c39e4712ebdb442d4ca0673061faed1e70e1 (diff)
downloadbaldeagleos-repo-a3ceca1b4c0d9bdb550dc23f06ffbb5a8e033bc7.tar.gz
baldeagleos-repo-a3ceca1b4c0d9bdb550dc23f06ffbb5a8e033bc7.tar.xz
baldeagleos-repo-a3ceca1b4c0d9bdb550dc23f06ffbb5a8e033bc7.zip
Adding metadata
Diffstat (limited to 'app-admin/paxtest')
-rw-r--r--app-admin/paxtest/Manifest1
-rw-r--r--app-admin/paxtest/files/paxtest-0.9.13-Makefile.patch20
-rw-r--r--app-admin/paxtest/metadata.xml24
-rw-r--r--app-admin/paxtest/paxtest-0.9.15-r2.ebuild41
4 files changed, 0 insertions, 86 deletions
diff --git a/app-admin/paxtest/Manifest b/app-admin/paxtest/Manifest
deleted file mode 100644
index 061ed83d0785..000000000000
--- a/app-admin/paxtest/Manifest
+++ /dev/null
@@ -1 +0,0 @@
-DIST paxtest-0.9.15.tar.gz 37929 BLAKE2B 0b0290212fa27b8f27bea62c209423b6ea57e9c3e7d972fd069f0213b3963eb7a65921c669ac402b5d83f6556ba9ede90375b58f0f7ec6daf6cc3a293372edf5 SHA512 e152f5ada943f69b3745b51ac6d80f35a4c1aff777e93360287ef18b117d07861216d9d0d2075d2511d33e2cb4ea07168bb9ff2f00e79de6060e546b6806c487
diff --git a/app-admin/paxtest/files/paxtest-0.9.13-Makefile.patch b/app-admin/paxtest/files/paxtest-0.9.13-Makefile.patch
deleted file mode 100644
index 4dd4831eb453..000000000000
--- a/app-admin/paxtest/files/paxtest-0.9.13-Makefile.patch
+++ /dev/null
@@ -1,20 +0,0 @@
---- a/Makefile
-+++ b/Makefile
-@@ -52,12 +52,14 @@
- endif
-
- # for some reason the .c files need it, else GNU_STACK=RWE
--OPT_FLAGS := -O2 $(ASFLAGS)
-+# Gentoo's CFLAGS should be honored
-+OPT_FLAGS := $(CFLAGS) $(ASFLAGS)
- PTHREAD := -lpthread
- # define stripping of binaries/libs here, or set these on make's commandline,
- # else you'll loose the chpax flags!
--LDFLAGS :=
--SHLDFLAGS :=
-+# Gentoo's LDFLAGS should be honored
-+LDFLAGS := $(LDFLAGS)
-+SHLDFLAGS := $(LDFLAGS)
- ifndef RUNDIR
- RUNDIR := .
- endif
diff --git a/app-admin/paxtest/metadata.xml b/app-admin/paxtest/metadata.xml
deleted file mode 100644
index e57f785d5475..000000000000
--- a/app-admin/paxtest/metadata.xml
+++ /dev/null
@@ -1,24 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
-<pkgmetadata>
- <maintainer type="project">
- <email>hardened@gentoo.org</email>
- <name>Gentoo Hardened</name>
- </maintainer>
- <longdescription>Test suite for the PaX kernel patch
- PaX is a Linux kernel patch which adds much stricter control on how memory
- is being used by applications. A normal Linux kernel leaves the control to the
- application and does not implement any enforcement. Especially buffer overflow
- attacks benefit from the absense of kernel enforced memory control. PaX tries
- to do its best to enforce this control of memory used by applications, thereby
- making it harder to succesfully exploit buffer overflows.
-
- Furthermore, it adds several randomisations, which also make it harder for
- buffer overflows to succeed.
-
- The test programs test all this functionality, but not all PaX functionality
- is covered.
-
- For more information about PaX, see http://pageexec.virtualave.net/.
- </longdescription>
-</pkgmetadata>
diff --git a/app-admin/paxtest/paxtest-0.9.15-r2.ebuild b/app-admin/paxtest/paxtest-0.9.15-r2.ebuild
deleted file mode 100644
index 527152002920..000000000000
--- a/app-admin/paxtest/paxtest-0.9.15-r2.ebuild
+++ /dev/null
@@ -1,41 +0,0 @@
-# Copyright 1999-2023 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-inherit toolchain-funcs
-
-DESCRIPTION="PaX regression test suite"
-HOMEPAGE="https://pax.grsecurity.net"
-SRC_URI="https://grsecurity.net/~spender/${P}.tar.gz"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="~alpha ~amd64 ~arm ~hppa ~mips ~ppc ~ppc64 ~sparc ~x86"
-
-DEPEND="sys-apps/paxctl"
-
-# EI_PAX flags are not strip safe.
-RESTRICT="strip"
-
-PATCHES=(
- "${FILESDIR}/${PN}-0.9.13-Makefile.patch"
-)
-
-src_prepare() {
- mv Makefile.psm Makefile || die
- default
- sed -e "s/^CC := gcc/CC := $(tc-getCC)/" -i Makefile || die
- sed -e "s/^LD := ld/LD := $(tc-getLD)/" -i Makefile || die
-}
-
-src_compile() {
- emake RUNDIR=/usr/$(get_libdir)/paxtest
-}
-
-src_install() {
- emake DESTDIR="${ED}" BINDIR=/usr/bin RUNDIR=/usr/$(get_libdir)/paxtest install
-
- newman debian/manpage.1.ex paxtest.1
- dodoc ChangeLog README
-}