Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 9 Feb 2017 12:47:09 +0000 (UTC)
From:      Dmitry Marakasov <amdmi3@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r433725 - in head/devel/cvsweb3: . files
Message-ID:  <201702091247.v19Cl9tC054490@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: amdmi3
Date: Thu Feb  9 12:47:08 2017
New Revision: 433725
URL: https://svnweb.freebsd.org/changeset/ports/433725

Log:
  - Fix with perl 5.24
  - While here, add LICENSE, NO_ARCH and regenerate patches
  
  PR:		216465
  Submitted by:	vinny.abello@nttdata.com
  Approved by:	maintainer timeout (noackjr@alumni.rice.edu, 2 weeks)

Added:
  head/devel/cvsweb3/files/patch-cvsweb.cgi   (contents, props changed)
Modified:
  head/devel/cvsweb3/Makefile
  head/devel/cvsweb3/files/patch-cvsweb.conf

Modified: head/devel/cvsweb3/Makefile
==============================================================================
--- head/devel/cvsweb3/Makefile	Thu Feb  9 12:44:42 2017	(r433724)
+++ head/devel/cvsweb3/Makefile	Thu Feb  9 12:47:08 2017	(r433725)
@@ -3,7 +3,7 @@
 
 PORTNAME=	cvsweb
 PORTVERSION=	3.0.6
-PORTREVISION=	4
+PORTREVISION=	5
 CATEGORIES=	devel www
 MASTER_SITES=	LOCAL/scop http://people.FreeBSD.org/~scop/cvsweb/
 PKGNAMESUFFIX=	3
@@ -13,6 +13,8 @@ PKGNAMESUFFIX=	3
 MAINTAINER=	noackjr@alumni.rice.edu
 COMMENT=	WWW CGI script to browse CVS repository trees version 3
 
+LICENSE=	BSD2CLAUSE
+
 RUN_DEPENDS=	p5-IPC-Run>=0:devel/p5-IPC-Run \
 		p5-URI>=0:net/p5-URI
 
@@ -31,6 +33,7 @@ CONFLICTS=	cvsweb-2.*
 USES=		perl5 shebangfix
 SHEBANG_FILES=	cvsweb.cgi
 NO_BUILD=	yes
+NO_ARCH=	yes
 
 .include <bsd.port.pre.mk>
 

Added: head/devel/cvsweb3/files/patch-cvsweb.cgi
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/devel/cvsweb3/files/patch-cvsweb.cgi	Thu Feb  9 12:47:08 2017	(r433725)
@@ -0,0 +1,11 @@
+--- cvsweb.cgi.orig	2005-09-25 20:28:51 UTC
++++ cvsweb.cgi
+@@ -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 {

Modified: head/devel/cvsweb3/files/patch-cvsweb.conf
==============================================================================
--- head/devel/cvsweb3/files/patch-cvsweb.conf	Thu Feb  9 12:44:42 2017	(r433724)
+++ head/devel/cvsweb3/files/patch-cvsweb.conf	Thu Feb  9 12:47:08 2017	(r433725)
@@ -1,6 +1,6 @@
---- cvsweb.conf.orig	Wed May  5 08:40:50 2004
-+++ cvsweb.conf	Wed May 12 15:50:36 2004
-@@ -47,7 +47,7 @@
+--- cvsweb.conf.orig	2005-06-19 09:13:50 UTC
++++ cvsweb.conf
+@@ -57,7 +57,7 @@ $CMD{tar} ||= search_path('tar');
  # 'symbolic_name' => ['Name to display',  '/path/to/cvsroot']
  #
  @CVSrepositories = (
@@ -9,7 +9,7 @@
  #       'freebsd' => ['FreeBSD',          '/var/ncvs'],
  #       'openbsd' => ['OpenBSD',          '/var/ncvs'],
  #       'netbsd'  => ['NetBSD',           '/var/ncvs'],
-@@ -202,7 +202,7 @@
+@@ -226,7 +226,7 @@ EOT
  # check out the "mini" versions in the icons/ directory; they have a
  # width/height of 16/16.
  #
@@ -18,7 +18,7 @@
  
  # format:          TEXT       ICON-URL                  width height
  %ICONS = (
-@@ -216,7 +216,7 @@
+@@ -240,7 +240,7 @@ undef $iconsdir;
  
  # An URL where to find the CSS.
  #
@@ -27,7 +27,7 @@
  
  # The length to which the last log entry should be truncated when shown
  # in the directory view.
-@@ -470,7 +470,7 @@
+@@ -505,7 +505,7 @@ $allow_cvsgraph = $CMD{cvsgraph} ? 1 : 0
  # settings in the configuration file with command line options, see
  # doGraph() and doGraphView() in cvsweb.cgi for details.
  #
@@ -36,7 +36,7 @@
  
  # URL to the CVSHistory script.  This should be absolute (but does not need
  # to include the host and port if the script is on the same server as
-@@ -539,7 +539,7 @@
+@@ -574,7 +574,7 @@ $ENV{CVSREADONLYFS} = 1 unless exists($E
  # Enables syntax highlighting using GNU Enscript if set.
  # You will need GNU Enscript version 1.6.3 or newer for this to work.
  #



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201702091247.v19Cl9tC054490>