libsrtp: switch away from github archive
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
Signed-off-by Trevor Woerner <[email protected]>
--- 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
@@ -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
PATCH 2/2 libsrtp: bump 1.5.2 -> 1.6.0
Signed-off-by Trevor Woerner <[email protected]>
---
.../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
@@ -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