[oe-commits] Roman I Khimov : barnyard/snort: switch to Gentoo mirrors for SRC_URI

git version control git at git.openembedded.org
Thu Jul 29 17:32:28 UTC 2010


Module: openembedded.git
Branch: org.openembedded.dev
Commit: 6425b4db0346139da62730f575bab99a0c44d526
URL:    http://gitweb.openembedded.net/?p=openembedded.git&a=commit;h=6425b4db0346139da62730f575bab99a0c44d526

Author: Roman I Khimov <khimov at altell.ru>
Date:   Thu Jul 29 16:46:28 2010 +0400

barnyard/snort: switch to Gentoo mirrors for SRC_URI

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 at altell.ru>

---

 recipes/barnyard/barnyard_0.2.0.bb |    2 +-
 recipes/snort/snort_2.8.5.3.bb     |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/recipes/barnyard/barnyard_0.2.0.bb b/recipes/barnyard/barnyard_0.2.0.bb
index 686b7f0..5e4e600 100644
--- a/recipes/barnyard/barnyard_0.2.0.bb
+++ b/recipes/barnyard/barnyard_0.2.0.bb
@@ -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"
diff --git a/recipes/snort/snort_2.8.5.3.bb b/recipes/snort/snort_2.8.5.3.bb
index b0b2f04..5a34ce4 100644
--- a/recipes/snort/snort_2.8.5.3.bb
+++ b/recipes/snort/snort_2.8.5.3.bb
@@ -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"





More information about the Openembedded-commits mailing list