From e78545d655401248ec9f2510d3c4b85c4af4d827 Mon Sep 17 00:00:00 2001 From: Matt Madia Date: Tue, 7 Apr 2009 05:40:08 +0000 Subject: [PATCH] Modified scripts to use `svn export ...` to download patches on HaikuPorts. Replaces `wget http://ports.haiku-files.org/export/282/haikuports/trunk/...` --- app-arch/gzip/{patches => }/gzip-1.3.12-downstream.patch | 0 app-arch/gzip/gzip-1.3.12.sh | 4 ++-- app-arch/sharutils/sharutils-4.6.3.sh | 4 ++-- 3 files changed, 4 insertions(+), 4 deletions(-) rename app-arch/gzip/{patches => }/gzip-1.3.12-downstream.patch (100%) diff --git a/app-arch/gzip/patches/gzip-1.3.12-downstream.patch b/app-arch/gzip/gzip-1.3.12-downstream.patch similarity index 100% rename from app-arch/gzip/patches/gzip-1.3.12-downstream.patch rename to app-arch/gzip/gzip-1.3.12-downstream.patch diff --git a/app-arch/gzip/gzip-1.3.12.sh b/app-arch/gzip/gzip-1.3.12.sh index 053112625..1b40f1d1e 100755 --- a/app-arch/gzip/gzip-1.3.12.sh +++ b/app-arch/gzip/gzip-1.3.12.sh @@ -5,7 +5,7 @@ VERSION="1.3.12" HOMEPAGE="http://www.gnu.org/software/gzip/" URL="http://ftp.gnu.org/gnu/gzip/" FILE="gzip-1.3.12.tar.gz" -PATCH_URL="http://ports.haiku-files.org/export/279/haikuports/trunk/app-arch/gzip/patches/" +PATCH_URL="http://ports.haiku-files.org/svn/haikuports/trunk/" PATCH_FILE="gzip-1.3.12-downstream.patch" PREFIX=/boot/common @@ -21,7 +21,7 @@ fi cd ${PACKAGE}/${VERSION} tar xvf ${CWD}/${FILE} cd gzip-1.3.12 -wget ${PATCH_URL}${PATCH_FILE} +svn export ${PATCH_URL}${PACKAGE}/${PATCH_FILE} patch -p1 -i ${PATCH_FILE} libtoolize --force --install configure --prefix=${PREFIX} diff --git a/app-arch/sharutils/sharutils-4.6.3.sh b/app-arch/sharutils/sharutils-4.6.3.sh index 9c7cf2d95..d5fcc7ac0 100755 --- a/app-arch/sharutils/sharutils-4.6.3.sh +++ b/app-arch/sharutils/sharutils-4.6.3.sh @@ -5,7 +5,7 @@ VERSION="4.6.3" HOMEPAGE="http://www.gnu.org/software/sharutils/" URL="ftp://ftp.gnu.org/gnu/sharutils/REL-4.6.3/" FILE="sharutils-4.6.3.tar.bz2" -PATCH_URL="http://ports.haiku-files.org/export/282/haikuports/trunk/app-arch/sharutils/" +PATCH_URL="http://ports.haiku-files.org/svn/haikuports/trunk/" PATCH_FILE="sharutils-4.6.3-downstream.patch" PREFIX=/boot/common @@ -21,7 +21,7 @@ fi cd ${PACKAGE}/${VERSION} tar -jxvf ${CWD}/${FILE} cd sharutils-4.6.3 -wget ${PATCH_URL}${PATCH_FILE} +svn export ${PATCH_URL}${PACKAGE}/${PATCH_FILE} patch -p1 -i ${PATCH_FILE} libtoolize --force --install configure --prefix=${PREFIX}