diff options
author | Khem Raj <raj.khem@gmail.com> | 2019-08-05 19:32:30 -0700 |
---|---|---|
committer | Khem Raj <raj.khem@gmail.com> | 2019-08-06 12:04:33 -0700 |
commit | 0b56ee2b49f771226c69b57841de9285ff33c451 (patch) | |
tree | 6f29ee3c69f8181de9757bb4e8055ace58a520b5 | |
parent | 3b8a7ca0267312a49755a88c26109a536a04bd40 (diff) | |
download | meta-openembedded-0b56ee2b49f771226c69b57841de9285ff33c451.tar.gz |
gradm: Upgrade to 3.1-201903191516 release
Pass empty LIBS to build, otherwise its computed using `uname` logic
which does not work in cross builds [1]
Rename recipe to have snapshot number in PV otherwise its not easy to
identify upgrade
[1] https://cvsweb.grsecurity.net/?p=gradm.git;a=commitdiff;h=ef7ff56de7d31b4db1604f0a10fc2c5541a1bff7
Signed-off-by: Khem Raj <raj.khem@gmail.com>
-rw-r--r-- | meta-oe/recipes-support/gradm/gradm_3.1-201903191516.bb (renamed from meta-oe/recipes-support/gradm/gradm_3.1.bb) | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/meta-oe/recipes-support/gradm/gradm_3.1.bb b/meta-oe/recipes-support/gradm/gradm_3.1-201903191516.bb index a7d0607f8d..7ed46f82c5 100644 --- a/meta-oe/recipes-support/gradm/gradm_3.1.bb +++ b/meta-oe/recipes-support/gradm/gradm_3.1-201903191516.bb | |||
@@ -11,12 +11,12 @@ LICENSE = "GPL-2.0" | |||
11 | LIC_FILES_CHKSUM = "file://LICENSE;md5=4641e94ec96f98fabc56ff9cc48be14b" | 11 | LIC_FILES_CHKSUM = "file://LICENSE;md5=4641e94ec96f98fabc56ff9cc48be14b" |
12 | DEPENDS = "flex-native bison-native ${@bb.utils.contains('DISTRO_FEATURES', 'pam', 'libpam', '', d)}" | 12 | DEPENDS = "flex-native bison-native ${@bb.utils.contains('DISTRO_FEATURES', 'pam', 'libpam', '', d)}" |
13 | 13 | ||
14 | SRC_URI = "http://grsecurity.net/stable/${BP}-201507191652.tar.gz \ | 14 | SRC_URI = "http://grsecurity.net/stable/${BP}.tar.gz \ |
15 | file://0001-Makefile-remove-strip.patch \ | 15 | file://0001-Makefile-remove-strip.patch \ |
16 | file://0001-Makefile-Append-instead-of-overriding-LDFLAGS.patch \ | 16 | file://0001-Makefile-Append-instead-of-overriding-LDFLAGS.patch \ |
17 | " | 17 | " |
18 | SRC_URI[md5sum] = "ecec72d3a9b6d84c00eda97957b707b6" | 18 | SRC_URI[md5sum] = "5099c715433981d5a3eed8ded7c5bbc0" |
19 | SRC_URI[sha256sum] = "2f14c357bf0459e502a4e108b76c3f6240aa484762d07bb1687796b9b9297a50" | 19 | SRC_URI[sha256sum] = "d3a0b6383ff97a2054941d71133c737efae66afdd8eef59346c031ae15c75ff3" |
20 | 20 | ||
21 | S = "${WORKDIR}/gradm" | 21 | S = "${WORKDIR}/gradm" |
22 | 22 | ||
@@ -24,6 +24,7 @@ inherit autotools-brokensep | |||
24 | 24 | ||
25 | do_compile() { | 25 | do_compile() { |
26 | oe_runmake 'CC=${CC}' \ | 26 | oe_runmake 'CC=${CC}' \ |
27 | 'LIBS=' \ | ||
27 | 'OPT_FLAGS=${CFLAGS}' \ | 28 | 'OPT_FLAGS=${CFLAGS}' \ |
28 | 'LLEX=${STAGING_BINDIR_NATIVE}/lex' \ | 29 | 'LLEX=${STAGING_BINDIR_NATIVE}/lex' \ |
29 | 'FLEX=${STAGING_BINDIR_NATIVE}/flex' \ | 30 | 'FLEX=${STAGING_BINDIR_NATIVE}/flex' \ |
@@ -34,6 +35,7 @@ do_compile() { | |||
34 | do_install() { | 35 | do_install() { |
35 | oe_runmake 'CC=${CC}' \ | 36 | oe_runmake 'CC=${CC}' \ |
36 | 'DESTDIR=${D}' \ | 37 | 'DESTDIR=${D}' \ |
38 | 'LIBS=' \ | ||
37 | 'LLEX=${STAGING_BINDIR_NATIVE}/lex' \ | 39 | 'LLEX=${STAGING_BINDIR_NATIVE}/lex' \ |
38 | 'FLEX=${STAGING_BINDIR_NATIVE}/flex' \ | 40 | 'FLEX=${STAGING_BINDIR_NATIVE}/flex' \ |
39 | 'BISON=${STAGING_BINDIR_NATIVE}/bison' \ | 41 | 'BISON=${STAGING_BINDIR_NATIVE}/bison' \ |