summaryrefslogtreecommitdiff
path: root/www/cvsweb
diff options
context:
space:
mode:
authortez <tez@pkgsrc.org>2013-07-30 13:01:11 +0000
committertez <tez@pkgsrc.org>2013-07-30 13:01:11 +0000
commit28f45545bbdb4cb0cabb0808c14f24ee31f8f24f (patch)
treeb6063c6db1b66697d031cfc4eb6360e6944f6a98 /www/cvsweb
parente4980d914b75627fbbc8e8eb7f5cbc024c731254 (diff)
downloadpkgsrc-28f45545bbdb4cb0cabb0808c14f24ee31f8f24f.tar.gz
Fix warnings from newer perl versions
Diffstat (limited to 'www/cvsweb')
-rw-r--r--www/cvsweb/Makefile4
-rw-r--r--www/cvsweb/distinfo3
-rw-r--r--www/cvsweb/patches/patch-cvsweb.cgi24
3 files changed, 28 insertions, 3 deletions
diff --git a/www/cvsweb/Makefile b/www/cvsweb/Makefile
index 71e39d73259..6f53cb5e389 100644
--- a/www/cvsweb/Makefile
+++ b/www/cvsweb/Makefile
@@ -1,8 +1,8 @@
-# $NetBSD: Makefile,v 1.39 2013/05/31 12:42:31 wiz Exp $
+# $NetBSD: Makefile,v 1.40 2013/07/30 13:01:11 tez Exp $
#
DISTNAME= cvsweb-3.0.6
-PKGREVISION= 3
+PKGREVISION= 4
CATEGORIES= www
MASTER_SITES= ftp://ftp.freebsd.org/pub/FreeBSD/ports/local-distfiles/scop/
diff --git a/www/cvsweb/distinfo b/www/cvsweb/distinfo
index 14f9130239e..6fb4d3f2805 100644
--- a/www/cvsweb/distinfo
+++ b/www/cvsweb/distinfo
@@ -1,5 +1,6 @@
-$NetBSD: distinfo,v 1.16 2006/09/06 19:24:11 adrianp Exp $
+$NetBSD: distinfo,v 1.17 2013/07/30 13:01:11 tez Exp $
SHA1 (cvsweb-3.0.6.tar.gz) = 6a9c9d2cc120bc0f0b3c2652a06f587bce8845a8
RMD160 (cvsweb-3.0.6.tar.gz) = e933c3814ea52c7fb9cec65e088c9ab778da2fee
Size (cvsweb-3.0.6.tar.gz) = 72484 bytes
+SHA1 (patch-cvsweb.cgi) = 8808dbc9d42539b22225b6fcc3502c2eebab5140
diff --git a/www/cvsweb/patches/patch-cvsweb.cgi b/www/cvsweb/patches/patch-cvsweb.cgi
new file mode 100644
index 00000000000..b0efb53ae80
--- /dev/null
+++ b/www/cvsweb/patches/patch-cvsweb.cgi
@@ -0,0 +1,24 @@
+$NetBSD: patch-cvsweb.cgi,v 1.1 2013/07/30 13:01:11 tez Exp $
+
+Fix warnings from newer perl versions
+
+--- cvsweb.cgi.orig 2013-07-30 12:49:33.268655300 +0000
++++ cvsweb.cgi
+@@ -1192,7 +1192,7 @@ EOF
+ <legend>General options</legend>
+ <input type="hidden" name="copt" value="1" />
+ EOF
+- for my $v qw(hidecvsroot hidenonreadable) {
++ for my $v (qw(hidecvsroot hidenonreadable)) {
+ printf(qq{<input type="hidden" name="%s" value="%s" />\n},
+ $v, $input{$v} || 0);
+ }
+@@ -2951,7 +2951,7 @@ sub printLog($$$;$$)
+ print "<br />\n";
+
+ print '<i>';
+- if (defined @mytz) {
++ if (@mytz) {
+ my ($est) = $mytz[(localtime($date{$_}))[8]];
+ print scalar localtime($date{$_}), " $est</i> (";
+ } else {