1*4882a593SmuzhiyunSUMMARY = "Security-focused ELF files checking tool" 2*4882a593SmuzhiyunDESCRIPTION = "This is a small set of various PaX aware and related \ 3*4882a593Smuzhiyunutilities for ELF binaries. It can check ELF binary files and running \ 4*4882a593Smuzhiyunprocesses for issues that might be relevant when using ELF binaries \ 5*4882a593Smuzhiyunalong with PaX, such as non-PIC code or executable stack and heap." 6*4882a593SmuzhiyunHOMEPAGE = "http://www.gentoo.org/proj/en/hardened/pax-utils.xml" 7*4882a593SmuzhiyunLICENSE = "GPL-2.0-or-later" 8*4882a593SmuzhiyunLIC_FILES_CHKSUM = "file://COPYING;md5=eb723b61539feef013de476e68b5c50a" 9*4882a593Smuzhiyun 10*4882a593SmuzhiyunSRC_URI = "https://dev.gentoo.org/~vapier/dist/pax-utils-${PV}.tar.xz" 11*4882a593SmuzhiyunSRC_URI[sha256sum] = "eeca7fbd98bc66bead4a77000c2025d9f17ea8201b84245882406ce00b9b6b14" 12*4882a593Smuzhiyun 13*4882a593SmuzhiyunRDEPENDS:${PN} += "bash" 14*4882a593Smuzhiyun 15*4882a593Smuzhiyunexport GNULIB_OVERRIDES_WINT_T = "0" 16*4882a593Smuzhiyun 17*4882a593Smuzhiyundo_configure:prepend() { 18*4882a593Smuzhiyun touch ${S}/NEWS ${S}/AUTHORS ${S}/ChangeLog ${S}/README 19*4882a593Smuzhiyun} 20*4882a593Smuzhiyun 21*4882a593Smuzhiyundo_install() { 22*4882a593Smuzhiyun oe_runmake PREFIX=${D}${prefix} DESTDIR=${D} install 23*4882a593Smuzhiyun} 24*4882a593Smuzhiyun 25*4882a593SmuzhiyunBBCLASSEXTEND = "native" 26*4882a593Smuzhiyun 27*4882a593Smuzhiyuninherit autotools pkgconfig 28*4882a593Smuzhiyun 29*4882a593SmuzhiyunPACKAGECONFIG ??= "" 30*4882a593Smuzhiyun 31*4882a593SmuzhiyunPACKAGECONFIG[libcap] = "--with-caps, --without-caps, libcap" 32*4882a593SmuzhiyunPACKAGECONFIG[libseccomp] = "--with-seccomp, --without-seccomp, libseccomp" 33*4882a593SmuzhiyunPACKAGECONFIG[pyelftools] = "--with-python, --without-python,, pyelftools" 34*4882a593Smuzhiyun 35*4882a593SmuzhiyunEXTRA_OECONF += "--enable-largefile" 36