2 # Copyright (C) 2019 Daniel Engberg <daniel.engberg.lists@pyret.net>
4 # This is free software, licensed under the GNU General Public License v2.
5 # See /LICENSE for more information.
8 include $(TOPDIR
)/rules.mk
14 PKG_SOURCE
:=$(PKG_NAME
)-$(PKG_VERSION
).
tar.xz
15 PKG_SOURCE_URL
:=https
://dev.gentoo.org
/~sam
/distfiles
/app-misc
/pax-utils
/
16 PKG_HASH
:=108362d29668d25cf7b0cadc63b15a4c1cfc0dbc71adc151b33c5fe7dece939a
18 PKG_MAINTAINER
:=Oskari Rauta
<oskari.rauta@gmail.com
>
19 PKG_LICENSE
:=GPL-2.0
-only
20 PKG_LICENSE_FILES
:=LICENSE
22 include $(INCLUDE_DIR
)/package.mk
23 include $(INCLUDE_DIR
)/meson.mk
25 define Package
/pax-utils
28 TITLE
:=ELF utils for security relevant property checking
29 URL
:=https
://wiki.gentoo.org
/wiki
/Hardened
/PaX_Utilities
33 define Package
/pax-utils
/description
34 A suite of ELF tools to aid auditing systems. Contains various
35 ELF related utils for ELF32
, ELF64 binaries useful for displaying
36 PaX and security
info on a large groups of binary files.
39 define Package
/pax-utils
/config
40 source
"$(SOURCE)/Config.in"
44 -Dlddtree_implementation
=sh \
45 -Duse_seccomp
=$(if
$(CONFIG_PAX_UTILS_SECCOMP
),true
,false
)
47 define Package
/pax-utils
/install
48 $(INSTALL_DIR
) $(1)/usr
/bin
/
49 $(INSTALL_BIN
) $(PKG_INSTALL_DIR
)/usr
/bin
/{dumpelf
,lddtree
,pspax
,scanelf
,scanmacho
,symtree
} $(1)/usr
/bin
/
52 $(eval
$(call BuildPackage
,pax-utils
))