1################################################################################ 2# 3# paxtest 4# 5################################################################################ 6 7PAXTEST_VERSION = 0.9.15 8PAXTEST_SITE = https://www.grsecurity.net/~spender 9PAXTEST_LICENSE = GPL-2.0+ 10PAXTEST_LICENSE_FILES = README 11PAXTEST_CPE_ID_VENDOR = grsecurity 12 13define PAXTEST_BUILD_CMDS 14 $(TARGET_MAKE_ENV) $(TARGET_CONFIGURE_OPTS) $(MAKE) -C $(@D) \ 15 RUNDIR="/usr/lib/paxtest" CC="$(TARGET_CC)" LD="$(TARGET_CC)" linux 16endef 17 18# The files installed to RUNDIR include test apps and shared libs. 19# Assuming /usr/bin/paxtest script solely uses these libs and apps, the 20# genpaxtest script updates LD_LIBRARY_PATH in the paxtest script 21# as part of the paxtest's creation to include the RUNDIR path for shared 22# library use. 23define PAXTEST_INSTALL_TARGET_CMDS 24 $(TARGET_MAKE_ENV) $(TARGET_CONFIGURE_OPTS) $(MAKE) -C $(@D) \ 25 CC="$(TARGET_CC)" LD="$(TARGET_CC)" \ 26 DESTDIR=$(TARGET_DIR) \ 27 BINDIR="usr/bin" \ 28 RUNDIR="/usr/lib/paxtest" -f Makefile.psm install 29endef 30 31$(eval $(generic-package)) 32