Skip to contentSkip to conversation

libsrtp: switch away from github archive

PATCH New Trevor Woerner 1 participant 2 messages May 9, 2018

lore
Share & tools
lore
#0 lore raw

PATCH 1/2 libsrtp: switch away from github archive

Since we know that github archives which are automatically generated have a tendency to change their checksums[1], switch to using a git clone.

[1] http://lists.openembedded.org/pipermail/openembedded-devel/2017-September/114916.html

---
 meta-multimedia/recipes-support/libsrtp/libsrtp_1.5.2.bb | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
meta-multimedia/recipes-support/libsrtp/libsrtp_1.5.2.bb +3 -3
index 0104d0456b..ee8c68bc1a 100644
@@ -5,11 +5,11 @@ SECTION = "libs"
 LICENSE = "BSD-3-Clause"
 LIC_FILES_CHKSUM = "file://LICENSE;md5=15bc16b9d2e305974dde47e733883714"
 
-SRC_URI = "https://github.com/cisco/libsrtp/archive/v${PV}.tar.gz;downloadfilename=${BP}.tar.gz \
+S = "${WORKDIR}/git"
+SRCREV = "e806a66bad35f4b215b7a825c24ef0ec4cc19569"
+SRC_URI = "git://github.com/cisco/libsrtp.git;protocol=https; \
            file://0001-Rename-conflicting-variable-mips.patch \
            "
-SRC_URI[md5sum] = "2309aa6027992810a4285b042c71e644"
-SRC_URI[sha256sum] = "86e1efe353397c0751f6bdd709794143bd1b76494412860f16ff2b6d9c304eda"
 
 inherit autotools
 
Signature · 1 line
2.17.0.rc2.3.gc2a499e6c
#1 lore raw

PATCH 2/2 libsrtp: bump 1.5.2 -> 1.6.0

---
 .../libsrtp/{libsrtp_1.5.2.bb => libsrtp_1.6.0.bb}     | 10 ++--------
 1 file changed, 2 insertions(+), 8 deletions(-)
 rename meta-multimedia/recipes-support/libsrtp/{libsrtp_1.5.2.bb => libsrtp_1.6.0.bb} (63%)
meta-multimedia/recipes-support/libsrtp/libsrtp_1.6.0.bb renamed from meta-multimedia/recipes-support/libsrtp/libsrtp_1.5.2.bb +2 -8
similarity index 63%
rename from meta-multimedia/recipes-support/libsrtp/libsrtp_1.5.2.bb
rename to meta-multimedia/recipes-support/libsrtp/libsrtp_1.6.0.bb
index ee8c68bc1a..d3ab5b71c0 100644
@@ -6,17 +6,11 @@ LICENSE = "BSD-3-Clause"
 LIC_FILES_CHKSUM = "file://LICENSE;md5=15bc16b9d2e305974dde47e733883714"
 
 S = "${WORKDIR}/git"
-SRCREV = "e806a66bad35f4b215b7a825c24ef0ec4cc19569"
-SRC_URI = "git://github.com/cisco/libsrtp.git;protocol=https; \
+SRCREV = "2b091a4fb21c9b06fc5d4b5763bdaec97542fcd7"
+SRC_URI = "git://github.com/cisco/libsrtp.git;protocol=https;branch=1_6_x_throttle; \
            file://0001-Rename-conflicting-variable-mips.patch \
            "
 
 inherit autotools
 
-do_install[postfuncs] += " rm_unused_bindir "
-
-rm_unused_bindir() {
-    rmdir ${D}/${bindir}
-}
-
 ALLOW_EMPTY_${PN} = "1"
Signature · 1 line
2.17.0.rc2.3.gc2a499e6c