pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/devel/pax-utils
Module Name: pkgsrc
Committed By: fcambus
Date: Tue Jan 11 15:21:04 UTC 2022
Added Files:
pkgsrc/devel/pax-utils: DESCR Makefile PLIST distinfo
pkgsrc/devel/pax-utils/patches: patch-porting.h
Log Message:
devel/pax-utils: import pax-utils-1.3.3.
pax-utils is a small set of utilities for peforming 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.
To generate a diff of this commit:
cvs rdiff -u -r0 -r1.1 pkgsrc/devel/pax-utils/DESCR \
pkgsrc/devel/pax-utils/Makefile pkgsrc/devel/pax-utils/PLIST \
pkgsrc/devel/pax-utils/distinfo
cvs rdiff -u -r0 -r1.1 pkgsrc/devel/pax-utils/patches/patch-porting.h
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Added files:
Index: pkgsrc/devel/pax-utils/DESCR
diff -u /dev/null pkgsrc/devel/pax-utils/DESCR:1.1
--- /dev/null Tue Jan 11 15:21:04 2022
+++ pkgsrc/devel/pax-utils/DESCR Tue Jan 11 15:21:04 2022
@@ -0,0 +1,10 @@
+pax-utils is a small set of utilities for peforming 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.
Index: pkgsrc/devel/pax-utils/Makefile
diff -u /dev/null pkgsrc/devel/pax-utils/Makefile:1.1
--- /dev/null Tue Jan 11 15:21:04 2022
+++ pkgsrc/devel/pax-utils/Makefile Tue Jan 11 15:21:04 2022
@@ -0,0 +1,26 @@
+# $NetBSD: Makefile,v 1.1 2022/01/11 15:21:04 fcambus Exp $
+
+DISTNAME= pax-utils-1.3.3
+CATEGORIES= devel
+MASTER_SITES= ${MASTER_SITE_GITHUB:=gentoo/}
+GITHUB_TAG= v${PKGVERSION_NOREV}
+
+MAINTAINER= fcambus%NetBSD.org@localhost
+HOMEPAGE= https://wiki.gentoo.org/wiki/Hardened/PaX_Utilities
+COMMENT= ELF related utils for ELF 32/64 binaries
+LICENSE= gnu-gpl-v2
+
+USE_TOOLS+= bash:run gmake
+REPLACE_BASH+= symtree.sh
+REPLACE_PYTHON+= lddtree.py
+
+BUILD_DEPENDS+= xmlto-[0-9]*:../../textproc/xmlto
+DEPENDS+= ${PYPKGPREFIX}-pyelftools-[0-9]*:../../devel/py-pyelftools
+
+MAKE_FLAGS= PREFIX=${DESTDIR}${PREFIX} MANDIR=${DESTDIR}${PREFIX}/${PKGMANDIR}
+
+post-build:
+ ${RUN}cd ${WRKSRC}/man && ${GMAKE}
+
+.include "../../lang/python/application.mk"
+.include "../../mk/bsd.pkg.mk"
Index: pkgsrc/devel/pax-utils/PLIST
diff -u /dev/null pkgsrc/devel/pax-utils/PLIST:1.1
--- /dev/null Tue Jan 11 15:21:04 2022
+++ pkgsrc/devel/pax-utils/PLIST Tue Jan 11 15:21:04 2022
@@ -0,0 +1,14 @@
+@comment $NetBSD: PLIST,v 1.1 2022/01/11 15:21:04 fcambus Exp $
+bin/dumpelf
+bin/lddtree
+bin/pspax
+bin/scanelf
+bin/scanmacho
+bin/symtree
+man/man1/dumpelf.1
+man/man1/pspax.1
+man/man1/scanelf.1
+man/man1/scanmacho.1
+share/doc/pax-utils/BUGS
+share/doc/pax-utils/README.md
+share/doc/pax-utils/TODO
Index: pkgsrc/devel/pax-utils/distinfo
diff -u /dev/null pkgsrc/devel/pax-utils/distinfo:1.1
--- /dev/null Tue Jan 11 15:21:04 2022
+++ pkgsrc/devel/pax-utils/distinfo Tue Jan 11 15:21:04 2022
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.1 2022/01/11 15:21:04 fcambus Exp $
+
+BLAKE2s (pax-utils-1.3.3.tar.gz) = ae54acd4ee2bfcd13bca61fae006338106e120aeb8bcac1eb4a0ceddf395c105
+SHA512 (pax-utils-1.3.3.tar.gz) = 219d9492b0ba17cbaea36b445947e1dbf60ca6ddcf52e289e0baac54a34fd55a6736d9856d47dbf2fe465062b3d98254356e84aed150f6b96987581016be334e
+Size (pax-utils-1.3.3.tar.gz) = 152086 bytes
+SHA1 (patch-porting.h) = 4967398b589a09f5e0a55dc09d690eebae1a926b
Index: pkgsrc/devel/pax-utils/patches/patch-porting.h
diff -u /dev/null pkgsrc/devel/pax-utils/patches/patch-porting.h:1.1
--- /dev/null Tue Jan 11 15:21:04 2022
+++ pkgsrc/devel/pax-utils/patches/patch-porting.h Tue Jan 11 15:21:04 2022
@@ -0,0 +1,15 @@
+$NetBSD: patch-porting.h,v 1.1 2022/01/11 15:21:04 fcambus Exp $
+
+Don't include alloca.h on NetBSD.
+
+--- porting.h.orig 2021-07-22 21:23:46.000000000 +0000
++++ porting.h
+@@ -41,7 +41,7 @@
+ #include <sys/stat.h>
+ #include <sys/types.h>
+ #include "elf.h"
+-#if !defined(__FreeBSD__) && !defined(__OpenBSD__)
++#if !defined(__FreeBSD__) && !defined(__NetBSD__) && !defined(__OpenBSD__)
+ # include <alloca.h>
+ #endif
+ #if defined(__linux__)
Home |
Main Index |
Thread Index |
Old Index