diff options
author | ryoon <ryoon@pkgsrc.org> | 2012-11-17 11:15:13 +0000 |
---|---|---|
committer | ryoon <ryoon@pkgsrc.org> | 2012-11-17 11:15:13 +0000 |
commit | 76fa9e2f70984683a16f694b14263057fd83214d (patch) | |
tree | 1a8028c36cdd9edd961aef344a9d6f34b85893b8 /pkgtools | |
parent | 7340ce0ae16f4d8315e3f7f682c0b426b6baaeea (diff) | |
download | pkgsrc-76fa9e2f70984683a16f694b14263057fd83214d.tar.gz |
Bump version to 2.17
* Recognize .tar.7z in distfile's name
Diffstat (limited to 'pkgtools')
-rw-r--r-- | pkgtools/url2pkg/Makefile | 4 | ||||
-rw-r--r-- | pkgtools/url2pkg/files/url2pkg.pl | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/pkgtools/url2pkg/Makefile b/pkgtools/url2pkg/Makefile index a016085ec2a..ff24632f26c 100644 --- a/pkgtools/url2pkg/Makefile +++ b/pkgtools/url2pkg/Makefile @@ -1,7 +1,7 @@ -# $NetBSD: Makefile,v 1.67 2012/10/06 13:06:31 ryoon Exp $ +# $NetBSD: Makefile,v 1.68 2012/11/17 11:15:13 ryoon Exp $ # -DISTNAME= url2pkg-2.16 +DISTNAME= url2pkg-2.17 CATEGORIES= pkgtools MASTER_SITES= # none DISTFILES= # none diff --git a/pkgtools/url2pkg/files/url2pkg.pl b/pkgtools/url2pkg/files/url2pkg.pl index 6b929f7df51..31936272770 100644 --- a/pkgtools/url2pkg/files/url2pkg.pl +++ b/pkgtools/url2pkg/files/url2pkg.pl @@ -1,5 +1,5 @@ #! @PERL@ -# $NetBSD: url2pkg.pl,v 1.20 2012/10/06 13:06:31 ryoon Exp $ +# $NetBSD: url2pkg.pl,v 1.21 2012/11/17 11:15:13 ryoon Exp $ # # Copyright (c) 2010 The NetBSD Foundation, Inc. @@ -306,7 +306,7 @@ sub generate_initial_package($) { } } - if ($distfile =~ qr"^(.*)(\.tgz|\.tar\.Z|\.tar\.gz|\.tar\.bz2|\.tar\.xz)$") { + if ($distfile =~ qr"^(.*)(\.tgz|\.tar\.Z|\.tar\.gz|\.tar\.bz2|\.tar\.xz|\.tar\.7z)$") { ($distname, $dist_sufx) = ($1, $2); } elsif ($distfile =~ qr"^(.*)(\.[^.]+)$") { ($distname, $dist_sufx) = ($1, $2); |