pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/pkgtools/url2pkg Updated url2pkg to 2.6.
details: https://anonhg.NetBSD.org/pkgsrc/rev/070c6c1af163
branches: trunk
changeset: 526815:070c6c1af163
user: rillig <rillig%pkgsrc.org@localhost>
date: Mon Mar 19 01:38:56 2007 +0000
description:
Updated url2pkg to 2.6.
Changes since 2.5:
- Fixed the regular expression that splits up the SourceForge URL.
diffstat:
pkgtools/url2pkg/Makefile | 4 ++--
pkgtools/url2pkg/files/url2pkg.pl | 4 ++--
2 files changed, 4 insertions(+), 4 deletions(-)
diffs (32 lines):
diff -r 16e76907326d -r 070c6c1af163 pkgtools/url2pkg/Makefile
--- a/pkgtools/url2pkg/Makefile Mon Mar 19 01:27:17 2007 +0000
+++ b/pkgtools/url2pkg/Makefile Mon Mar 19 01:38:56 2007 +0000
@@ -1,7 +1,7 @@
-# $NetBSD: Makefile,v 1.49 2007/03/15 12:17:56 rillig Exp $
+# $NetBSD: Makefile,v 1.50 2007/03/19 01:38:56 rillig Exp $
#
-DISTNAME= url2pkg-2.5
+DISTNAME= url2pkg-2.6
CATEGORIES= pkgtools
MASTER_SITES= # none
DISTFILES= # none
diff -r 16e76907326d -r 070c6c1af163 pkgtools/url2pkg/files/url2pkg.pl
--- a/pkgtools/url2pkg/files/url2pkg.pl Mon Mar 19 01:27:17 2007 +0000
+++ b/pkgtools/url2pkg/files/url2pkg.pl Mon Mar 19 01:38:56 2007 +0000
@@ -1,5 +1,5 @@
#! @PERL@
-# $NetBSD: url2pkg.pl,v 1.7 2007/03/15 12:17:56 rillig Exp $
+# $NetBSD: url2pkg.pl,v 1.8 2007/03/19 01:38:56 rillig Exp $
#
use strict;
@@ -238,7 +238,7 @@
}
if (!$found) {
- if ($url =~ qr"^http://(?:pr)?downloads\.sourceforge\.net/([^/]*)/([^/]+)(?:\?(?:download|use_mirror=.*))?$") {
+ if ($url =~ qr"^http://(?:pr)?downloads\.sourceforge\.net/([^/]*)/([^/?]+)(?:\?(?:download|use_mirror=.*))?$") {
my $pkgbase = $1;
$distfile = $2;
Home |
Main Index |
Thread Index |
Old Index