[oe-commits] [openembedded-core] 37/43: docbook-xml-dtd4: use snapshot.debian.org for SRC_URI

git at git.openembedded.org git at git.openembedded.org
Mon Aug 1 10:50:01 UTC 2016


rpurdie pushed a commit to branch master
in repository openembedded-core.

commit 7a548436f748600fc6bd784d1ab9bcd7518a6272
Author: Maxin B. John <maxin.john at intel.com>
AuthorDate: Thu Jul 28 15:36:19 2016 +0300

    docbook-xml-dtd4: use snapshot.debian.org for SRC_URI
    
    Using ${DEBIAN_MIRROR} for SRC_URI doesn't work very well as that will
    only contain releases that are currently in Debian. So, move all of SRC_URI
    to the .bb so it can use snapshot.debian.org instead, and set
    UPSTREAM_CHECK_URI to ${DEBIAN_MIRROR} so upstream release checking continues
    to work.
    
    [YOCTO #10040]
    
    Signed-off-by: Maxin B. John <maxin.john at intel.com>
---
 meta/recipes-devtools/docbook-xml/docbook-xml-dtd4_4.5.bb | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/meta/recipes-devtools/docbook-xml/docbook-xml-dtd4_4.5.bb b/meta/recipes-devtools/docbook-xml/docbook-xml-dtd4_4.5.bb
index de1bc39..2f13dba 100644
--- a/meta/recipes-devtools/docbook-xml/docbook-xml-dtd4_4.5.bb
+++ b/meta/recipes-devtools/docbook-xml/docbook-xml-dtd4_4.5.bb
@@ -11,7 +11,7 @@ LIC_FILES_CHKSUM = "file://${WORKDIR}/LICENSE-OASIS;md5=c608985dd5f7f215e669e763
 # Note: the upstream sources are not distributed with a license file.
 # LICENSE-OASIS is included as a "patch" to workaround this. When
 # upgrading this recipe, please verify whether this is still needed.
-SRC_URI = "${DEBIAN_MIRROR}/main/d/docbook-xml/docbook-xml_${PV}.orig.tar.gz \
+SRC_URI = "http://snapshot.debian.org/archive/debian/20160728T043443Z/pool/main/d/docbook-xml/docbook-xml_${PV}.orig.tar.gz \
            file://LICENSE-OASIS \
            file://docbook-xml-update-catalog.xml.patch \
            file://docbook-xml.xml \
@@ -20,6 +20,8 @@ SRC_URI = "${DEBIAN_MIRROR}/main/d/docbook-xml/docbook-xml_${PV}.orig.tar.gz \
 SRC_URI[md5sum] = "487b4d44e15cffb1f4048af23f98208e"
 SRC_URI[sha256sum] = "b0f8edcf697f5318e63dd98c9a931f3fee167af0805ba441db372e0f17b2a44f"
 
+UPSTREAM_CHECK_URI = "${DEBIAN_MIRROR}/main/d/docbook-xml/"
+
 S="${WORKDIR}/docbook-xml-4.5.c31424"
 
 inherit allarch

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the Openembedded-commits mailing list