From 37f094b95affebf69bd18f47a6d2517c5c855286 Mon Sep 17 00:00:00 2001 From: Juan RP Date: Mon, 23 Mar 2009 06:26:04 +0100 Subject: [PATCH] Added NONGNU_SITE var for use in $distfiles. --HG-- extra : convert_revision : d416f7e0717a3a23da15741fae6f45c039e89f98 --- shutils/tmpl_vars.sh | 1 + templates/freetype/template | 3 +-- templates/man-db/template | 3 +-- 3 files changed, 3 insertions(+), 4 deletions(-) diff --git a/shutils/tmpl_vars.sh b/shutils/tmpl_vars.sh index e4b8f656f7d..0e26330f8f0 100644 --- a/shutils/tmpl_vars.sh +++ b/shutils/tmpl_vars.sh @@ -3,5 +3,6 @@ # SOURCEFORGE_SITE="http://downloads.sourceforge.net/sourceforge" +NONGNU_SITE="http://download.savannah.nongnu.org/releases" UBUNTU_SITE="http://archive.ubuntu.com/ubuntu/pool" XORG_SITE="http://xorg.freedesktop.org/releases/individual" diff --git a/templates/freetype/template b/templates/freetype/template index 5d00bfdf649..2d75bb917bc 100644 --- a/templates/freetype/template +++ b/templates/freetype/template @@ -2,8 +2,7 @@ pkgname=freetype sourcepkg=$pkgname version=2.3.9 -distfiles=" -http://download.savannah.gnu.org/releases/$pkgname/$pkgname-$version.tar.bz2" +distfiles="${NONGNU_SITE}/$pkgname/$pkgname-$version.tar.bz2" build_style=gnu_configure short_desc="Font rendering engine and library API" maintainer="Juan RP " diff --git a/templates/man-db/template b/templates/man-db/template index 58e5ea46ac6..d6e2e29a759 100644 --- a/templates/man-db/template +++ b/templates/man-db/template @@ -1,8 +1,7 @@ # Template file for 'man-db' pkgname=man-db version=2.5.4 -distfiles=" -http://download.savannah.gnu.org/releases/man-db/$pkgname-$version.tar.gz" +distfiles="${NONGNU_SITE}/$pkgname/$pkgname-$version.tar.gz" build_style=gnu_configure configure_args="--with-db=gdbm --with-pager=less --with-gzip=/usr/bin/gzip --with-bzip2=/usr/bin/bzip2 --disable-rpath --enable-threads=posix