SecBSD's official ports repository
This commit is contained in:
commit
2c0afcbbf3
64331 changed files with 5339189 additions and 0 deletions
39
devel/pax-utils/Makefile
Normal file
39
devel/pax-utils/Makefile
Normal file
|
@ -0,0 +1,39 @@
|
|||
COMMENT = ELF related utils for ELF 32/64 binaries
|
||||
|
||||
DISTNAME = pax-utils-1.3.7
|
||||
EXTRACT_SUFX = .tar.xz
|
||||
REVISION = 0
|
||||
|
||||
CATEGORIES = devel
|
||||
|
||||
HOMEPAGE = https://wiki.gentoo.org/wiki/Hardened/PaX_Utilities
|
||||
|
||||
MAINTAINER = Frederic Cambus <fcambus@openbsd.org>
|
||||
|
||||
# GPLv2
|
||||
PERMIT_PACKAGE = Yes
|
||||
|
||||
COMPILER = base-clang ports-gcc
|
||||
COMPILER_LANGS = c
|
||||
|
||||
WANTLIB += c
|
||||
|
||||
MASTER_SITES = https://dev.gentoo.org/~sam/distfiles/app-misc/pax-utils/
|
||||
|
||||
MODULES = devel/meson
|
||||
|
||||
RUN_DEPENDS = shells/bash
|
||||
|
||||
CONFIGURE_ARGS = -Dlddtree_implementation=sh \
|
||||
-Dbuild_manpages=disabled \
|
||||
-Duse_libcap=disabled \
|
||||
-Duse_fuzzing=false
|
||||
|
||||
pre-configure:
|
||||
sed -i 's,bin/bash,${LOCALBASE}/bin/bash,' ${WRKSRC}/lddtree.sh
|
||||
sed -i 's,bin/bash,${LOCALBASE}/bin/bash,' ${WRKSRC}/symtree.sh
|
||||
|
||||
post-install:
|
||||
rm ${PREFIX}/bin/pspax ${PREFIX}/man/man1/pspax.1 # Requires procfs
|
||||
|
||||
.include <bsd.port.mk>
|
2
devel/pax-utils/distinfo
Normal file
2
devel/pax-utils/distinfo
Normal file
|
@ -0,0 +1,2 @@
|
|||
SHA256 (pax-utils-1.3.7.tar.xz) = EINi0pZo0lz3sMrcY7FaTBz8DbxxrcFRszxf597Ok5o=
|
||||
SIZE (pax-utils-1.3.7.tar.xz) = 113740
|
14
devel/pax-utils/patches/patch-lddtree_sh
Normal file
14
devel/pax-utils/patches/patch-lddtree_sh
Normal file
|
@ -0,0 +1,14 @@
|
|||
Allow lddtree to find Xenocara libraries.
|
||||
|
||||
Index: lddtree.sh
|
||||
--- lddtree.sh.orig
|
||||
+++ lddtree.sh
|
||||
@@ -45,7 +45,7 @@ elf_specs() {
|
||||
sed -E 's: (LINUX|GNU)$: NONE:'
|
||||
}
|
||||
|
||||
-lib_paths_fallback="${ROOT}lib* ${ROOT}usr/lib* ${ROOT}usr/local/lib*"
|
||||
+lib_paths_fallback="${ROOT}lib* ${ROOT}usr/lib* ${ROOT}usr/local/lib* ${ROOT}usr/X11R6/lib*"
|
||||
c_ldso_paths_loaded='false'
|
||||
find_elf() {
|
||||
_find_elf=''
|
10
devel/pax-utils/pkg/DESCR
Normal file
10
devel/pax-utils/pkg/DESCR
Normal file
|
@ -0,0 +1,10 @@
|
|||
pax-utils is a small set of utilities for performing Q/A (mostly security)
|
||||
checks on systems (most notably, `scanelf`). It is focused on the ELF
|
||||
format, but does include a Mach-O helper too for OS X systems.
|
||||
|
||||
While heavily integrated into Gentoo's build system, it can be used on any
|
||||
distro as it is a generic toolset.
|
||||
|
||||
Originally focused only on PaX, it has been expanded to be generally
|
||||
security focused. It still has a good number of PaX helpers for people
|
||||
interested in that.
|
8
devel/pax-utils/pkg/PLIST
Normal file
8
devel/pax-utils/pkg/PLIST
Normal file
|
@ -0,0 +1,8 @@
|
|||
@bin bin/dumpelf
|
||||
bin/lddtree
|
||||
@bin bin/scanelf
|
||||
@bin bin/scanmacho
|
||||
bin/symtree
|
||||
@man man/man1/dumpelf.1
|
||||
@man man/man1/scanelf.1
|
||||
@man man/man1/scanmacho.1
|
Loading…
Add table
Add a link
Reference in a new issue