diff options
-rw-r--r-- | www/cvsweb/Makefile | 4 | ||||
-rw-r--r-- | www/cvsweb/distinfo | 3 | ||||
-rw-r--r-- | www/cvsweb/patches/patch-cvsweb.cgi | 24 |
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 { |