diffstat: fetch from upstream
authorChris Larson <chris_larson@mentor.com>
Wed, 20 Oct 2010 19:28:41 +0000 (12:28 -0700)
committerChris Larson <chris_larson@mentor.com>
Wed, 20 Oct 2010 20:30:34 +0000 (13:30 -0700)
Upstream has archived version tarballs, so it seems, so stop relying on debian
for the fetching.

Signed-off-by: Chris Larson <chris_larson@mentor.com>
recipes/diffstat/diffstat_1.47.bb

index 16043e9..954b4fe 100644 (file)
@@ -5,16 +5,13 @@ HOMEPAGE = "http://invisible-island.net/diffstat/"
 PRIORITY = "optional"
 SECTION = "devel"
 
-# NOTE: The upstream maintainer has a single 'diffstat.tar.gz' for the
-# latest version of the package.  It could easily change out from under us.
-# I'd rather rely on debian, and possible have the sources vanish, than risk
-# the sources _changing_ underneith us. -CL
-SRC_URI = "${DEBIAN_MIRROR}/main/d/diffstat/diffstat_${PV}.orig.tar.gz;name=archive \
-          ${DEBIAN_MIRROR}/main/d/diffstat/diffstat_${PV}-1.diff.gz;name=patch"
+SRC_URI = "ftp://invisible-island.net/diffstat/diffstat-${PV}.tgz"
 S = "${WORKDIR}/diffstat-${PV}"
 
 inherit autotools
 
+PR = "1"
+
 do_configure () {
        if [ ! -e acinclude.m4 ]; then
                mv aclocal.m4 acinclude.m4
@@ -22,7 +19,5 @@ do_configure () {
        autotools_do_configure
 }
 
-SRC_URI[archive.md5sum] = "c6d221ff4a032e1bbf227f5936a7841a"
-SRC_URI[archive.sha256sum] = "0c398b749574b6bd54f5c5ac1d71118400cd54791e2f47a96a1ad07915d22832"
-SRC_URI[patch.md5sum] = "b49f997897f5dfc2d2b8e0b6ea3df83c"
-SRC_URI[patch.sha256sum] = "56dcebb128d401cd5608fcd77739b42f9cfc5af531d85822287f631ad6328dcd"
+SRC_URI[md5sum] = "c6d221ff4a032e1bbf227f5936a7841a"
+SRC_URI[sha256sum] = "0c398b749574b6bd54f5c5ac1d71118400cd54791e2f47a96a1ad07915d22832"