summaryrefslogtreecommitdiff
path: root/pkgtools
diff options
context:
space:
mode:
authorwiz <wiz@pkgsrc.org>2015-07-15 19:01:44 +0000
committerwiz <wiz@pkgsrc.org>2015-07-15 19:01:44 +0000
commit160a630826394262ca2e1b7d9425644054147093 (patch)
tree50b1d4a23bcee4cf2d6ba08a6a2a8701c0b371a9 /pkgtools
parent45e2b93e806c5d585a1f95c9a47e8dba4173a565 (diff)
downloadpkgsrc-160a630826394262ca2e1b7d9425644054147093.tar.gz
If URL is not recognized as "proper" github URL, don't die, but just print
a warning and continue. Bump version.
Diffstat (limited to 'pkgtools')
-rw-r--r--pkgtools/url2pkg/Makefile4
-rw-r--r--pkgtools/url2pkg/files/url2pkg.pl4
2 files changed, 4 insertions, 4 deletions
diff --git a/pkgtools/url2pkg/Makefile b/pkgtools/url2pkg/Makefile
index 3b4f168b44a..22c1c88f546 100644
--- a/pkgtools/url2pkg/Makefile
+++ b/pkgtools/url2pkg/Makefile
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.79 2015/06/17 11:59:58 wiz Exp $
+# $NetBSD: Makefile,v 1.80 2015/07/15 19:01:44 wiz Exp $
-PKGNAME= url2pkg-2.23
+PKGNAME= url2pkg-2.24
CATEGORIES= pkgtools
MAINTAINER= pkgsrc-users@NetBSD.org
diff --git a/pkgtools/url2pkg/files/url2pkg.pl b/pkgtools/url2pkg/files/url2pkg.pl
index 0e320e2b0f8..c307daa7e93 100644
--- a/pkgtools/url2pkg/files/url2pkg.pl
+++ b/pkgtools/url2pkg/files/url2pkg.pl
@@ -1,5 +1,5 @@
#! @PERL@
-# $NetBSD: url2pkg.pl,v 1.29 2015/06/17 11:59:58 wiz Exp $
+# $NetBSD: url2pkg.pl,v 1.30 2015/07/15 19:01:44 wiz Exp $
#
# Copyright (c) 2010 The NetBSD Foundation, Inc.
@@ -331,7 +331,7 @@ sub generate_initial_package($) {
$distfile = "$4$5";
$found = true;
} else {
- die("$0: ERROR: Invalid GitHub URL: ${url}\n");
+ print("$0: ERROR: Invalid GitHub URL: ${url}, handling as normal URL\n");
}
} else {
$gh_project = ""; $gh_release = ""; $dist_subdir = "";