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
21 PKG_CPE_ID
:=cpe
:/a
:gentoo
:pax-utils
23 include $(INCLUDE_DIR
)/package.mk
24 include $(INCLUDE_DIR
)/meson.mk
26 define Package
/pax-utils
29 TITLE
:=ELF utils for security relevant property checking
30 URL
:=https
://wiki.gentoo.org
/wiki
/Hardened
/PaX_Utilities
34 define Package
/pax-utils
/description
35 A suite of ELF tools to aid auditing systems. Contains various
36 ELF related utils for ELF32
, ELF64 binaries useful for displaying
37 PaX and security
info on a large groups of binary files.
40 define Package
/pax-utils
/config
41 source
"$(SOURCE)/Config.in"
45 -Dlddtree_implementation
=sh \
46 -Duse_seccomp
=$(if
$(CONFIG_PAX_UTILS_SECCOMP
),true
,false
)
48 define Package
/pax-utils
/install
49 $(INSTALL_DIR
) $(1)/usr
/bin
/
50 $(INSTALL_BIN
) $(PKG_INSTALL_DIR
)/usr
/bin
/{dumpelf
,lddtree
,pspax
,scanelf
,scanmacho
,symtree
} $(1)/usr
/bin
/
53 $(eval
$(call BuildPackage
,pax-utils
))