diff options
| author | Yi Zhao <yi.zhao@windriver.com> | 2018-09-05 08:18:15 +0800 |
|---|---|---|
| committer | Joe MacDonald <joe_macdonald@mentor.com> | 2018-09-07 16:13:57 -0400 |
| commit | 883a6d9c6569b27482aee6cf4a3788b0625a811c (patch) | |
| tree | e923606963f520bb97ddc3dd3de3f308dad94eb5 | |
| parent | a42c6cde1eefc08b5afdbbab24c3d52164f0e5de (diff) | |
| download | meta-selinux-883a6d9c6569b27482aee6cf4a3788b0625a811c.tar.gz | |
libsemanage: uprev to 2.8 (20180524)
Rebase patch:
0001-src-Makefile-fix-includedir-in-libselinux.pc.patch
Signed-off-by: Yi Zhao <yi.zhao@windriver.com>
Signed-off-by: Joe MacDonald <joe_macdonald@mentor.com>
| -rw-r--r-- | recipes-security/selinux/libsemanage.inc | 12 | ||||
| -rw-r--r-- | recipes-security/selinux/libsemanage/0001-src-Makefile-fix-includedir-in-libselinux.pc.patch | 20 | ||||
| -rw-r--r-- | recipes-security/selinux/libsemanage_2.8.bb (renamed from recipes-security/selinux/libsemanage_2.7.bb) | 6 |
3 files changed, 16 insertions, 22 deletions
diff --git a/recipes-security/selinux/libsemanage.inc b/recipes-security/selinux/libsemanage.inc index d957d89..be0a5f1 100644 --- a/recipes-security/selinux/libsemanage.inc +++ b/recipes-security/selinux/libsemanage.inc | |||
| @@ -32,18 +32,10 @@ do_compile_append() { | |||
| 32 | PYTHONLIBDIR='${PYLIB}' | 32 | PYTHONLIBDIR='${PYLIB}' |
| 33 | } | 33 | } |
| 34 | 34 | ||
| 35 | do_install() { | 35 | do_install_append() { |
| 36 | oe_runmake install \ | ||
| 37 | DESTDIR="${D}" \ | ||
| 38 | PREFIX="${D}/${prefix}" \ | ||
| 39 | INCLUDEDIR="${D}/${includedir}" \ | ||
| 40 | LIBDIR="${D}/${libdir}" \ | ||
| 41 | SHLIBDIR="${D}/${libdir}" | ||
| 42 | |||
| 43 | oe_runmake install-pywrap swigify \ | 36 | oe_runmake install-pywrap swigify \ |
| 44 | DESTDIR=${D} \ | ||
| 45 | PYCEXT='.so' \ | 37 | PYCEXT='.so' \ |
| 46 | PYSITEDIR='${D}${libdir}/python${PYTHON_BASEVERSION}/site-packages' \ | 38 | PYTHONLIBDIR='${D}${libdir}/python${PYTHON_BASEVERSION}/site-packages' \ |
| 47 | PYLIBVER='python${PYTHON_BASEVERSION}' \ | 39 | PYLIBVER='python${PYTHON_BASEVERSION}' \ |
| 48 | PYLIBDIR='${D}/${libdir}/$(PYLIBVER)' | 40 | PYLIBDIR='${D}/${libdir}/$(PYLIBVER)' |
| 49 | 41 | ||
diff --git a/recipes-security/selinux/libsemanage/0001-src-Makefile-fix-includedir-in-libselinux.pc.patch b/recipes-security/selinux/libsemanage/0001-src-Makefile-fix-includedir-in-libselinux.pc.patch index 3d1e110..73613d3 100644 --- a/recipes-security/selinux/libsemanage/0001-src-Makefile-fix-includedir-in-libselinux.pc.patch +++ b/recipes-security/selinux/libsemanage/0001-src-Makefile-fix-includedir-in-libselinux.pc.patch | |||
| @@ -1,4 +1,4 @@ | |||
| 1 | From 992d02fe0d08361529a5d158119c02521786798f Mon Sep 17 00:00:00 2001 | 1 | From e773c0952b06370d81e9b113f9b0b3388e323e52 Mon Sep 17 00:00:00 2001 |
| 2 | From: Robert Yang <liezhi.yang@windriver.com> | 2 | From: Robert Yang <liezhi.yang@windriver.com> |
| 3 | Date: Thu, 18 Feb 2016 02:39:16 +0000 | 3 | Date: Thu, 18 Feb 2016 02:39:16 +0000 |
| 4 | Subject: [PATCH] src/Makefile: fix includedir in libselinux.pc | 4 | Subject: [PATCH] src/Makefile: fix includedir in libselinux.pc |
| @@ -6,21 +6,23 @@ Subject: [PATCH] src/Makefile: fix includedir in libselinux.pc | |||
| 6 | Upstream-Status: Pending | 6 | Upstream-Status: Pending |
| 7 | 7 | ||
| 8 | Signed-off-by: Robert Yang <liezhi.yang@windriver.com> | 8 | Signed-off-by: Robert Yang <liezhi.yang@windriver.com> |
| 9 | 9 | Signed-off-by: Yi Zhao <yi.zhao@windriver.com> | |
| 10 | --- | 10 | --- |
| 11 | src/Makefile | 2 +- | 11 | src/Makefile | 1 + |
| 12 | 1 file changed, 1 insertion(+), 1 deletion(-) | 12 | 1 file changed, 1 insertion(+) |
| 13 | 13 | ||
| 14 | diff --git a/src/Makefile b/src/Makefile | 14 | diff --git a/src/Makefile b/src/Makefile |
| 15 | index e8831ab..d3d4644 100644 | 15 | index dea751e..4af4568 100644 |
| 16 | --- a/src/Makefile | 16 | --- a/src/Makefile |
| 17 | +++ b/src/Makefile | 17 | +++ b/src/Makefile |
| 18 | @@ -103,7 +103,7 @@ $(LIBSO): $(LOBJS) | 18 | @@ -93,6 +93,7 @@ $(LIBSO): $(LOBJS) |
| 19 | ln -sf $@ $(TARGET) | ||
| 20 | 19 | ||
| 21 | $(LIBPC): $(LIBPC).in ../VERSION | 20 | $(LIBPC): $(LIBPC).in ../VERSION |
| 22 | - sed -e 's/@VERSION@/$(VERSION)/; s:@prefix@:$(PREFIX):; s:@libdir@:$(LIBBASE):; s:@includedir@:$(INCLUDEDIR):' < $< > $@ | 21 | sed -e 's/@VERSION@/$(VERSION)/; s:@prefix@:$(PREFIX):; s:@libdir@:$(LIBDIR):; s:@includedir@:$(INCLUDEDIR):' < $< > $@ |
| 23 | + sed -e 's/@VERSION@/$(VERSION)/; s:@prefix@:$(PREFIX):; s:@libdir@:$(LIBBASE):; s:@includedir@:${prefix}/include:' < $< > $@ | 22 | + sed -e 's/@VERSION@/$(VERSION)/; s:@prefix@:$(PREFIX):; s:@libdir@:${libdir}:; s:@includedir@:${prefix}/include:' < $< > $@ |
| 24 | 23 | ||
| 25 | semanageswig_python_exception.i: ../include/semanage/semanage.h | 24 | semanageswig_python_exception.i: ../include/semanage/semanage.h |
| 26 | bash -e exception.sh > $@ || (rm -f $@ ; false) | 25 | bash -e exception.sh > $@ || (rm -f $@ ; false) |
| 26 | -- | ||
| 27 | 2.7.4 | ||
| 28 | |||
diff --git a/recipes-security/selinux/libsemanage_2.7.bb b/recipes-security/selinux/libsemanage_2.8.bb index d7b5312..38942e3 100644 --- a/recipes-security/selinux/libsemanage_2.7.bb +++ b/recipes-security/selinux/libsemanage_2.8.bb | |||
| @@ -1,10 +1,10 @@ | |||
| 1 | include selinux_20170804.inc | 1 | include selinux_20180524.inc |
| 2 | include ${BPN}.inc | 2 | include ${BPN}.inc |
| 3 | 3 | ||
| 4 | LIC_FILES_CHKSUM = "file://COPYING;md5=a6f89e2100d9b6cdffcea4f398e37343" | 4 | LIC_FILES_CHKSUM = "file://COPYING;md5=a6f89e2100d9b6cdffcea4f398e37343" |
| 5 | 5 | ||
| 6 | SRC_URI[md5sum] = "a6b5c451fbe45ff9e3e0e65f2db0ae1d" | 6 | SRC_URI[md5sum] = "62ed7bb2ede677a735f2750751677a4f" |
| 7 | SRC_URI[sha256sum] = "07e9477714ce6a4557a1fe924ea4cb06501b62d0fa0e3c0dc32a2cf47cb8d476" | 7 | SRC_URI[sha256sum] = "1c0de8d2c51e5460926c21e371105c84a39087dfd8f8e9f0cc1d017e4cbea8e2" |
| 8 | 8 | ||
| 9 | SRC_URI += "\ | 9 | SRC_URI += "\ |
| 10 | file://libsemanage-Fix-execve-segfaults-on-Ubuntu.patch \ | 10 | file://libsemanage-Fix-execve-segfaults-on-Ubuntu.patch \ |
