diff options
author | Armin Kuster <akuster808@gmail.com> | 2016-03-27 10:58:59 -0700 |
---|---|---|
committer | Armin Kuster <akuster808@gmail.com> | 2016-04-11 07:31:28 -0700 |
commit | f6aaf4560415c70e0434749408b3f3861a44eeb9 (patch) | |
tree | b3e8d117b0e3fe4213e487b9ad9ab382d7874a7f | |
parent | edb340e81d9aa0f77a7123ea011d3e3c52e52d21 (diff) | |
download | meta-security-f6aaf4560415c70e0434749408b3f3861a44eeb9.tar.gz |
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>
-rw-r--r-- | recipes-security/paxctl/paxctl_0.9.bb | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/recipes-security/paxctl/paxctl_0.9.bb b/recipes-security/paxctl/paxctl_0.9.bb index 8eadad1..d69219f 100644 --- a/recipes-security/paxctl/paxctl_0.9.bb +++ b/recipes-security/paxctl/paxctl_0.9.bb | |||
@@ -8,13 +8,13 @@ LIC_FILES_CHKSUM = "file://paxctl.c;beginline=1;endline=5;md5=0ddd065c61020dda79 | |||
8 | file://paxctl-elf.c;beginline=1;endline=5;md5=99f453ce7f6d1687ee808982e2924813 \ | 8 | file://paxctl-elf.c;beginline=1;endline=5;md5=99f453ce7f6d1687ee808982e2924813 \ |
9 | " | 9 | " |
10 | 10 | ||
11 | SRC_URI = "http://pax.grsecurity.net/paxctl-${PV}.tar.gz" | 11 | SRC_URI = "http://pax.grsecurity.net/${BP}.tar.gz" |
12 | |||
12 | SRC_URI[md5sum] = "9bea59b1987dc4e16c2d22d745374e64" | 13 | SRC_URI[md5sum] = "9bea59b1987dc4e16c2d22d745374e64" |
13 | SRC_URI[sha256sum] = "a330ddd812688169802a3ba29e5e3b19956376b8f6f73b8d7e9586eb04423c2e" | 14 | SRC_URI[sha256sum] = "a330ddd812688169802a3ba29e5e3b19956376b8f6f73b8d7e9586eb04423c2e" |
14 | 15 | ||
16 | EXTRA_OEMAKE = "CC='${CC}' DESTDIR='${D}'" | ||
17 | |||
15 | do_install() { | 18 | do_install() { |
16 | oe_runmake 'DESTDIR=${D}' install | 19 | oe_runmake install |
17 | } | 20 | } |
18 | |||
19 | FILES_${PN} = "${base_sbindir}/paxctl" | ||
20 | FILES_${PN}-doc = "${mandir}/man1/paxctl.1" | ||