From 8551ae099452a1e896f021d3a43a774fa3b30190 Mon Sep 17 00:00:00 2001 From: Mingli Yu Date: Fri, 5 Jul 2019 15:51:13 +0800 Subject: audit: use git fetcher instead of the tarball source Per http://people.redhat.com/sgrubb/audit/, the tarball source moves to https://github.com/linux-audit/audit-userspace, and since commit [21f84fc insane: add sanity checks to SRC_URI] applied in oe-core, do not use unstable github archive tarballs, so use git instead. Signed-off-by: Mingli Yu Signed-off-by: Joe MacDonald --- recipes-security/audit/audit_2.8.5.bb | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/recipes-security/audit/audit_2.8.5.bb b/recipes-security/audit/audit_2.8.5.bb index bd09873..d3b9b51 100644 --- a/recipes-security/audit/audit_2.8.5.bb +++ b/recipes-security/audit/audit_2.8.5.bb @@ -7,7 +7,7 @@ SECTION = "base" LICENSE = "GPLv2+ & LGPLv2+" LIC_FILES_CHKSUM = "file://COPYING;md5=94d55d512a9ba36caa9b7df079bae19f" -SRC_URI = "http://people.redhat.com/sgrubb/${BPN}/${BPN}-${PV}.tar.gz \ +SRC_URI = "git://github.com/linux-audit/${BPN}-userspace.git;branch=2.8_maintenance \ file://audit-python-configure.patch \ file://audit-python.patch \ file://fix-swig-host-contamination.patch \ @@ -16,8 +16,9 @@ SRC_URI = "http://people.redhat.com/sgrubb/${BPN}/${BPN}-${PV}.tar.gz \ file://auditd.service \ file://audit-volatile.conf \ " -SRC_URI[md5sum] = "9455e5773670afdbccaeb92681b2e97d" -SRC_URI[sha256sum] = "0e5d4103646e00f8d1981e1cd2faea7a2ae28e854c31a803e907a383c5e2ecb7" + +S = "${WORKDIR}/git" +SRCREV = "5fae55c1ad15b3cefe6890eba7311af163e9133c" inherit autotools pythonnative update-rc.d systemd -- cgit v1.2.3-54-g00ecf