1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-19 19:59:43 +00:00

- 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)
This commit is contained in:
Dmitry Marakasov 2017-02-09 12:47:08 +00:00
parent 32e66ce736
commit 20185eaeac
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=433725
3 changed files with 22 additions and 8 deletions

View File

@ -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>

View File

@ -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 {

View File

@ -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.
#