diff options
author | tnn <tnn> | 2016-03-13 01:02:44 +0000 |
---|---|---|
committer | tnn <tnn> | 2016-03-13 01:02:44 +0000 |
commit | 5112a3d524cc5074172a55c897b14c00a84eba62 (patch) | |
tree | f1a12bc272733e9f668d1280a8bf9afb2ee8361b /sysutils | |
parent | 06a76d523231e9227560e775b93a95cb66598ec4 (diff) | |
download | pkgsrc-5112a3d524cc5074172a55c897b14c00a84eba62.tar.gz |
fix perl syntax deprecation warnings
Diffstat (limited to 'sysutils')
-rw-r--r-- | sysutils/backuppc/Makefile | 4 | ||||
-rw-r--r-- | sysutils/backuppc/distinfo | 3 | ||||
-rw-r--r-- | sysutils/backuppc/patches/patch-lib_BackupPC_Lib.pm | 24 |
3 files changed, 28 insertions, 3 deletions
diff --git a/sysutils/backuppc/Makefile b/sysutils/backuppc/Makefile index b6d1e278a3c..0604a0e7a60 100644 --- a/sysutils/backuppc/Makefile +++ b/sysutils/backuppc/Makefile @@ -1,8 +1,8 @@ -# $NetBSD: Makefile,v 1.5 2016/02/28 03:44:05 tnn Exp $ +# $NetBSD: Makefile,v 1.6 2016/03/13 01:02:44 tnn Exp $ DISTNAME= BackupPC-3.3.1 PKGNAME= ${DISTNAME:tl} -PKGREVISION= 4 +PKGREVISION= 5 CATEGORIES= sysutils MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=backuppc/} diff --git a/sysutils/backuppc/distinfo b/sysutils/backuppc/distinfo index ffed52ad815..046952a069e 100644 --- a/sysutils/backuppc/distinfo +++ b/sysutils/backuppc/distinfo @@ -1,4 +1,4 @@ -$NetBSD: distinfo,v 1.3 2016/02/28 03:44:05 tnn Exp $ +$NetBSD: distinfo,v 1.4 2016/03/13 01:02:44 tnn Exp $ SHA1 (BackupPC-3.3.1.tar.gz) = b579d64ff2486395e8ca0a93ac964bd9d9e1a232 RMD160 (BackupPC-3.3.1.tar.gz) = 3db4d6a54c9cde61fa434292b53f18ded73dbb83 @@ -6,3 +6,4 @@ SHA512 (BackupPC-3.3.1.tar.gz) = b6bb9de3103c5062098d80755055b7461ae9133a4a46a66 Size (BackupPC-3.3.1.tar.gz) = 556461 bytes SHA1 (patch-configure.pl) = 4935ca9916b52918869adaac063768713c7e055b SHA1 (patch-lib_BackupPC_CGI_Browse.pm) = 8c6823712b9853ba424f23b871ccbd2b6124b6a3 +SHA1 (patch-lib_BackupPC_Lib.pm) = 39125a98486c2a9f8f53b26f2ac753ddbad566b9 diff --git a/sysutils/backuppc/patches/patch-lib_BackupPC_Lib.pm b/sysutils/backuppc/patches/patch-lib_BackupPC_Lib.pm new file mode 100644 index 00000000000..cad5e97e2d8 --- /dev/null +++ b/sysutils/backuppc/patches/patch-lib_BackupPC_Lib.pm @@ -0,0 +1,24 @@ +$NetBSD: patch-lib_BackupPC_Lib.pm,v 1.1 2016/03/13 01:02:44 tnn Exp $ + +unescaped left brace in regex is deprecated + +--- lib/BackupPC/Lib.pm.orig 2015-01-12 00:19:53.000000000 +0000 ++++ lib/BackupPC/Lib.pm +@@ -1261,7 +1261,7 @@ sub cmdVarSubstitute + # + # Replace scalar variables first + # +- $arg =~ s[\${(\w+)}(\+?)]{ ++ $arg =~ s[\$\{(\w+)}(\+?)]{ + exists($vars->{$1}) && ref($vars->{$1}) ne "ARRAY" + ? ($2 eq "+" ? $bpc->shellEscape($vars->{$1}) : $vars->{$1}) + : "\${$1}$2" +@@ -1270,7 +1270,7 @@ sub cmdVarSubstitute + # Now replicate any array arguments; this just works for just one + # array var in each argument. + # +- if ( $arg =~ m[(.*)\${(\w+)}(\+?)(.*)] && ref($vars->{$2}) eq "ARRAY" ) { ++ if ( $arg =~ m[(.*)\$\{(\w+)}(\+?)(.*)] && ref($vars->{$2}) eq "ARRAY" ) { + my $pre = $1; + my $var = $2; + my $esc = $3; |