barnyard/snort: switch to Gentoo mirrors for SRC_URI
authorRoman I Khimov <khimov@altell.ru>
Thu, 29 Jul 2010 12:46:28 +0000 (16:46 +0400)
committerRoman I Khimov <khimov@altell.ru>
Thu, 29 Jul 2010 17:30:59 +0000 (21:30 +0400)
snort.org changed source URLs to
http://www.snort.org/downloads/116
alike that redirect somewhere to Amazon S3 with parameters added to the link that
makes wget save files like "snort-version.tar.gz?lots-of-gibberish" which breaks
build. Workaround that.

Signed-off-by: Roman I Khimov <khimov@altell.ru>
recipes/barnyard/barnyard_0.2.0.bb
recipes/snort/snort_2.8.5.3.bb

index 686b7f0..5e4e600 100644 (file)
@@ -5,7 +5,7 @@ DEPENDS = "libpcap"
 RDEPENDS_${PN} = "libpcap"
 PR = "r2"
 
-SRC_URI = " http://dl.snort.org/barnyard/${P}.tar.gz;name=tarball \
+SRC_URI = " ${GENTOO_MIRROR}/${P}.tar.gz;name=tarball \
           "
 SRC_URI[tarball.md5sum] = "be3283028cf414b52b220308ceb411e9"
 SRC_URI[tarball.sha256sum] = "09e0f8e095e79cfe70ea069d13e7d02521a504a1f400a45556a634dccfd31a3a"
index b0b2f04..5a34ce4 100644 (file)
@@ -6,7 +6,7 @@ RDEPENDS_${PN} = "libpcap libnet libpcre barnyard"
 
 PR = "r2"
 
-SRC_URI = " http://dl.snort.org/snort-current/${P}.tar.gz;name=tarball \
+SRC_URI = " ${GENTOO_MIRROR}/${P}.tar.gz;name=tarball \
             file://snort.fix.configure.in.HACK;apply=yes \
           "
 SRC_URI[tarball.md5sum] = "ef02aaad54746603f2cb3236fe962128"