pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/pkgtools/url2pkg Bump version to 2.16



details:   https://anonhg.NetBSD.org/pkgsrc/rev/00ee28f5decb
branches:  trunk
changeset: 609577:00ee28f5decb
user:      ryoon <ryoon%pkgsrc.org@localhost>
date:      Sat Oct 06 13:06:31 2012 +0000

description:
Bump version to 2.16

* Recognize .tar.xz in distfile's name

diffstat:

 pkgtools/url2pkg/Makefile         |  5 ++---
 pkgtools/url2pkg/files/url2pkg.pl |  4 ++--
 2 files changed, 4 insertions(+), 5 deletions(-)

diffs (33 lines):

diff -r 4da9dfe0ccab -r 00ee28f5decb pkgtools/url2pkg/Makefile
--- a/pkgtools/url2pkg/Makefile Sat Oct 06 12:46:57 2012 +0000
+++ b/pkgtools/url2pkg/Makefile Sat Oct 06 13:06:31 2012 +0000
@@ -1,8 +1,7 @@
-# $NetBSD: Makefile,v 1.66 2012/10/03 21:57:16 wiz Exp $
+# $NetBSD: Makefile,v 1.67 2012/10/06 13:06:31 ryoon Exp $
 #
 
-DISTNAME=      url2pkg-2.15
-PKGREVISION=   1
+DISTNAME=      url2pkg-2.16
 CATEGORIES=    pkgtools
 MASTER_SITES=  # none
 DISTFILES=     # none
diff -r 4da9dfe0ccab -r 00ee28f5decb pkgtools/url2pkg/files/url2pkg.pl
--- a/pkgtools/url2pkg/files/url2pkg.pl Sat Oct 06 12:46:57 2012 +0000
+++ b/pkgtools/url2pkg/files/url2pkg.pl Sat Oct 06 13:06:31 2012 +0000
@@ -1,5 +1,5 @@
 #! @PERL@
-# $NetBSD: url2pkg.pl,v 1.19 2012/09/30 09:06:50 asau Exp $
+# $NetBSD: url2pkg.pl,v 1.20 2012/10/06 13:06:31 ryoon Exp $
 #
 
 # Copyright (c) 2010 The NetBSD Foundation, Inc.
@@ -306,7 +306,7 @@
                }
        }
 
-       if ($distfile =~ qr"^(.*)(\.tgz|\.tar\.Z|\.tar\.gz|\.tar\.bz2)$") {
+       if ($distfile =~ qr"^(.*)(\.tgz|\.tar\.Z|\.tar\.gz|\.tar\.bz2|\.tar\.xz)$") {
                ($distname, $dist_sufx) = ($1, $2);
        } elsif ($distfile =~ qr"^(.*)(\.[^.]+)$") {
                ($distname, $dist_sufx) = ($1, $2);



Home | Main Index | Thread Index | Old Index