diff mbox series

[oe,meta-oe,10/14] pam-plugin-ldapdb: Use git fetcher

Message ID 20190721163919.32659-10-raj.khem@gmail.com
State Accepted
Commit 9a053cced3fd3f809db15920e5773ad17beb663b
Headers show
Series [oe,meta-oe,01/14] recipes: Use BPN instead of PN in SRC_URIs | expand

Commit Message

Khem Raj July 21, 2019, 4:39 p.m. UTC
github archives are not reliable

Signed-off-by: Khem Raj <raj.khem@gmail.com>

---
 meta-oe/recipes-extended/pam/pam-plugin-ldapdb_1.3.bb | 7 +++----
 1 file changed, 3 insertions(+), 4 deletions(-)

-- 
2.22.0

-- 
_______________________________________________
Openembedded-devel mailing list
Openembedded-devel@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-devel
diff mbox series

Patch

diff --git a/meta-oe/recipes-extended/pam/pam-plugin-ldapdb_1.3.bb b/meta-oe/recipes-extended/pam/pam-plugin-ldapdb_1.3.bb
index c59a259fc3..2fdadcbc9f 100644
--- a/meta-oe/recipes-extended/pam/pam-plugin-ldapdb_1.3.bb
+++ b/meta-oe/recipes-extended/pam/pam-plugin-ldapdb_1.3.bb
@@ -10,11 +10,10 @@  DEPENDS = "libpam openldap"
 inherit distro_features_check
 REQUIRED_DISTRO_FEATURES = "pam"
 
-SRC_URI = "https://github.com/rmbreak/pam_ldapdb/archive/v${PV}.tar.gz;downloadfilename=${BP}.tar.gz"
-SRC_URI[md5sum] = "2dd4f1370fcfe995ee0ad09611109b87"
-SRC_URI[sha256sum] = "8ed92b36523556bb5d9bf3eb33a1035e46041d4be767c8d62136930c0ca0e45b"
+SRCREV = "84d7b260f1ae6857ae36e014c9a5968e8aa1cbe8"
+SRC_URI = "git://github.com/rmbreak/pam_ldapdb"
 
-S = "${WORKDIR}/pam_ldapdb-${PV}"
+S = "${WORKDIR}/git"
 
 do_install () {
     oe_runmake install DESTDIR=${D} PAMDIR=${base_libdir}/security