diff options
author | ryoon <ryoon> | 2012-11-17 11:15:13 +0000 |
---|---|---|
committer | ryoon <ryoon> | 2012-11-17 11:15:13 +0000 |
commit | 3ae40af0180ef0eff93e5d7230e3e73f901ee354 (patch) | |
tree | 1a8028c36cdd9edd961aef344a9d6f34b85893b8 /pkgtools/url2pkg/files | |
parent | ba1e7cd408b5cd09e08d036d0a0cc0f7f6f5abfe (diff) | |
download | pkgsrc-3ae40af0180ef0eff93e5d7230e3e73f901ee354.tar.gz |
Bump version to 2.17
* Recognize .tar.7z in distfile's name
Diffstat (limited to 'pkgtools/url2pkg/files')
-rw-r--r-- | pkgtools/url2pkg/files/url2pkg.pl | 4 |
1 files changed, 2 insertions, 2 deletions
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); |