summaryrefslogtreecommitdiff
path: root/pkgtools/url2pkg
diff options
context:
space:
mode:
authorwiz <wiz@pkgsrc.org>2005-10-03 19:54:10 +0000
committerwiz <wiz@pkgsrc.org>2005-10-03 19:54:10 +0000
commit7810313db3c808ef580655cb5c79c847a0988f2e (patch)
treeaaff8a2044669696c26ff20e805d4722f4c1c252 /pkgtools/url2pkg
parent482296f1b4f429df2b48582b5497bb1c359021a7 (diff)
downloadpkgsrc-7810313db3c808ef580655cb5c79c847a0988f2e.tar.gz
1.30:
Unbreak url2pkg on sourceforge hosted packages -- the MASTER_SITES did not contain the trailing slash, thus breaking the download. XXX: prdownloads.sf.net is not recognized as a sourceforge "mirror" since the previous version of url2pkg.
Diffstat (limited to 'pkgtools/url2pkg')
-rw-r--r--pkgtools/url2pkg/Makefile4
-rwxr-xr-xpkgtools/url2pkg/files/url2pkg4
2 files changed, 4 insertions, 4 deletions
diff --git a/pkgtools/url2pkg/Makefile b/pkgtools/url2pkg/Makefile
index fd28ee6c177..fc282eb578f 100644
--- a/pkgtools/url2pkg/Makefile
+++ b/pkgtools/url2pkg/Makefile
@@ -1,7 +1,7 @@
-# $NetBSD: Makefile,v 1.36 2005/09/04 20:03:10 hubertf Exp $
+# $NetBSD: Makefile,v 1.37 2005/10/03 19:54:10 wiz Exp $
#
-DISTNAME= url2pkg-1.29
+DISTNAME= url2pkg-1.30
CATEGORIES= pkgtools sysutils
MASTER_SITES= # Nothing
DISTFILES= # Nothing
diff --git a/pkgtools/url2pkg/files/url2pkg b/pkgtools/url2pkg/files/url2pkg
index 67bd2517c5e..2f74c865a73 100755
--- a/pkgtools/url2pkg/files/url2pkg
+++ b/pkgtools/url2pkg/files/url2pkg
@@ -1,6 +1,6 @@
#!/bin/sh
#
-# $NetBSD: url2pkg,v 1.31 2005/09/04 20:03:10 hubertf Exp $
+# $NetBSD: url2pkg,v 1.32 2005/10/03 19:54:10 wiz Exp $
#
# url2pkg
# (c) 1999-2002 Hubert Feyrer <hubert@feyrer.de>
@@ -49,7 +49,7 @@ if [ ! -f w*/.extract_done ]; then
found=1
DISTNAME=`expr "$url" : '.*/\([^/?]*\)'`
name=`expr "$url" : "${A}\(.*\)/[^/]*\$"`
- MASTER_SITES="\${${master_site}:=${name}}"
+ MASTER_SITES="\${${master_site}:=${name}/}"
case "${master_site}" in
"MASTER_SITE_SOURCEFORGE")
HOMEPAGE="http://$name.sourceforge.net/" ; ;;