diff options
author | Yi Zhao <yi.zhao@windriver.com> | 2019-11-14 09:48:44 +0800 |
---|---|---|
committer | Joe MacDonald <joe_macdonald@mentor.com> | 2019-12-19 11:09:21 -0500 |
commit | a4196eb8629072f292b7227b28084ce4df9680f8 (patch) | |
tree | 29e52c2c1daca33c2b7e72cf59f4db8e37ca2d05 | |
parent | 7d8eb0fd5bd46ceb27bd9f376259c4de4864ba23 (diff) | |
download | meta-selinux-a4196eb8629072f292b7227b28084ce4df9680f8.tar.gz |
selinux: uprev inc files to 2.9 (20190315)
* Update SRC_URI
* Add UPSTREAM_CHECK_URI and UPSTREAM_CHECK_REGEX
Signed-off-by: Yi Zhao <yi.zhao@windriver.com>
Signed-off-by: Joe MacDonald <joe_macdonald@mentor.com>
-rw-r--r-- | recipes-security/selinux/selinux_20180524.inc | 5 | ||||
-rw-r--r-- | recipes-security/selinux/selinux_20190315.inc | 8 | ||||
-rw-r--r-- | recipes-security/selinux/selinux_common.inc | 4 |
3 files changed, 9 insertions, 8 deletions
diff --git a/recipes-security/selinux/selinux_20180524.inc b/recipes-security/selinux/selinux_20180524.inc deleted file mode 100644 index b36b333..0000000 --- a/recipes-security/selinux/selinux_20180524.inc +++ /dev/null | |||
@@ -1,5 +0,0 @@ | |||
1 | SELINUX_RELEASE = "20180524" | ||
2 | |||
3 | SRC_URI = "https://raw.githubusercontent.com/wiki/SELinuxProject/selinux/files/releases/${SELINUX_RELEASE}/${BPN}-${PV}.tar.gz" | ||
4 | |||
5 | include selinux_common.inc | ||
diff --git a/recipes-security/selinux/selinux_20190315.inc b/recipes-security/selinux/selinux_20190315.inc new file mode 100644 index 0000000..e79dd54 --- /dev/null +++ b/recipes-security/selinux/selinux_20190315.inc | |||
@@ -0,0 +1,8 @@ | |||
1 | SELINUX_RELEASE = "20190315" | ||
2 | |||
3 | SRC_URI = "https://github.com/SELinuxProject/selinux/releases/download/${SELINUX_RELEASE}/${BPN}-${PV}.tar.gz" | ||
4 | |||
5 | UPSTREAM_CHECK_URI = "https://github.com/SELinuxProject/selinux/releases" | ||
6 | UPSTREAM_CHECK_REGEX = "libselinux-(?P<pver>.+)\.tar\.gz" | ||
7 | |||
8 | require selinux_common.inc | ||
diff --git a/recipes-security/selinux/selinux_common.inc b/recipes-security/selinux/selinux_common.inc index 383f62d..f6c4a6b 100644 --- a/recipes-security/selinux/selinux_common.inc +++ b/recipes-security/selinux/selinux_common.inc | |||
@@ -1,9 +1,7 @@ | |||
1 | HOMEPAGE = "https://github.com/SELinuxProject" | 1 | HOMEPAGE = "https://github.com/SELinuxProject" |
2 | 2 | ||
3 | do_compile() { | 3 | do_compile() { |
4 | oe_runmake all \ | 4 | oe_runmake all |
5 | INCLUDEDIR='${STAGING_INCDIR}' \ | ||
6 | LIBDIR='${STAGING_LIBDIR}' | ||
7 | } | 5 | } |
8 | 6 | ||
9 | do_install() { | 7 | do_install() { |