mirror of
https://git.yoctoproject.org/meta-security
synced 2026-06-02 13:30:33 +00:00
paxctl: fix compile issue.
use CC from build not host via EXTRA_OEMAKE thanks khem this fixes the below error. WARNING: paxctl-0.9-r0 do_package_qa: QA Issue: /sbin/paxctl contained in package paxctl requires libc.so.6(GLIBC_2.3.4)(64bit), but no providers found in RDEPENDS_paxctl? [file-rdeps] minor recipe cleanup Signed-off-by: Armin Kuster <akuster808@gmail.com>
This commit is contained in:
@@ -8,13 +8,13 @@ LIC_FILES_CHKSUM = "file://paxctl.c;beginline=1;endline=5;md5=0ddd065c61020dda79
|
|||||||
file://paxctl-elf.c;beginline=1;endline=5;md5=99f453ce7f6d1687ee808982e2924813 \
|
file://paxctl-elf.c;beginline=1;endline=5;md5=99f453ce7f6d1687ee808982e2924813 \
|
||||||
"
|
"
|
||||||
|
|
||||||
SRC_URI = "http://pax.grsecurity.net/paxctl-${PV}.tar.gz"
|
SRC_URI = "http://pax.grsecurity.net/${BP}.tar.gz"
|
||||||
|
|
||||||
SRC_URI[md5sum] = "9bea59b1987dc4e16c2d22d745374e64"
|
SRC_URI[md5sum] = "9bea59b1987dc4e16c2d22d745374e64"
|
||||||
SRC_URI[sha256sum] = "a330ddd812688169802a3ba29e5e3b19956376b8f6f73b8d7e9586eb04423c2e"
|
SRC_URI[sha256sum] = "a330ddd812688169802a3ba29e5e3b19956376b8f6f73b8d7e9586eb04423c2e"
|
||||||
|
|
||||||
do_install() {
|
EXTRA_OEMAKE = "CC='${CC}' DESTDIR='${D}'"
|
||||||
oe_runmake 'DESTDIR=${D}' install
|
|
||||||
}
|
|
||||||
|
|
||||||
FILES_${PN} = "${base_sbindir}/paxctl"
|
do_install() {
|
||||||
FILES_${PN}-doc = "${mandir}/man1/paxctl.1"
|
oe_runmake install
|
||||||
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user