From 497643106111d65dc151e9951bb0e1eabef3583f Mon Sep 17 00:00:00 2001 From: naddy Date: Sat, 18 Nov 2000 13:35:17 +0000 Subject: [PATCH] Update to Zeller 1.104, knu 1.39. --- devel/cvsweb/Makefile | 6 ++-- devel/cvsweb/files/md5 | 6 ++-- devel/cvsweb/patches/patch-cvsweb_cgi | 41 +++------------------------ 3 files changed, 10 insertions(+), 43 deletions(-) diff --git a/devel/cvsweb/Makefile b/devel/cvsweb/Makefile index 5b7349b67ce..58eba88d408 100644 --- a/devel/cvsweb/Makefile +++ b/devel/cvsweb/Makefile @@ -1,9 +1,9 @@ -# $OpenBSD: Makefile,v 1.2 2000/10/09 17:23:37 naddy Exp $ +# $OpenBSD: Makefile,v 1.3 2000/11/18 13:35:17 naddy Exp $ # $FreeBSD: ports/devel/cvsweb/Makefile,v 1.28 2000/09/23 20:48:45 knu Exp $ -DISTNAME= cvsweb-1.103.1.33 +DISTNAME= cvsweb-1.104.1.39 CATEGORIES= devel www -NEED_VERSION= 1.338 +NEED_VERSION= 1.340 HOMEPAGE= http://stud.fh-heilbronn.de/~zeller/cgi/cvsweb.cgi/ MAINTAINER= Christian Weisgerber diff --git a/devel/cvsweb/files/md5 b/devel/cvsweb/files/md5 index ec56db9a0fe..dba7a8742e7 100644 --- a/devel/cvsweb/files/md5 +++ b/devel/cvsweb/files/md5 @@ -1,3 +1,3 @@ -MD5 (cvsweb-1.103.1.33.tar.gz) = 9235d1b4c19bd83e55987f37b26e1f88 -RMD160 (cvsweb-1.103.1.33.tar.gz) = 76a631d5d56fd46f38a17aa9f0fc191cc236d59b -SHA1 (cvsweb-1.103.1.33.tar.gz) = 3e58855c7e564822d0e9b6fe6d2eee578004c9ad +MD5 (cvsweb-1.104.1.39.tar.gz) = 4aa6aac831322b578356c07d83c4d47d +RMD160 (cvsweb-1.104.1.39.tar.gz) = 023f7d223a40fadd5a2b9c5e5468f16b5e1f43eb +SHA1 (cvsweb-1.104.1.39.tar.gz) = d8ef2d5f5f361c3c6be506e297e32ea36e9cfdfa diff --git a/devel/cvsweb/patches/patch-cvsweb_cgi b/devel/cvsweb/patches/patch-cvsweb_cgi index dffc99b6dc2..bb7279419a3 100644 --- a/devel/cvsweb/patches/patch-cvsweb_cgi +++ b/devel/cvsweb/patches/patch-cvsweb_cgi @@ -1,22 +1,13 @@ -$OpenBSD: patch-cvsweb_cgi,v 1.2 2000/10/12 19:53:30 naddy Exp $ ---- cvsweb.cgi.orig Sat Oct 7 10:00:22 2000 -+++ cvsweb.cgi Tue Oct 10 23:12:30 2000 +$OpenBSD: patch-cvsweb_cgi,v 1.3 2000/11/18 13:35:17 naddy Exp $ +--- cvsweb.cgi.orig Sat Nov 4 16:32:17 2000 ++++ cvsweb.cgi Sun Nov 5 00:15:46 2000 @@ -1,4 +1,4 @@ -#!/usr/bin/perl5 -ws +#!/usr/bin/perl -ws # # cvsweb - a CGI interface to CVS trees. # -@@ -59,7 +59,7 @@ use vars qw ( - $checkoutMagic $doCheckout $scriptname $scriptwhere - $where $pathinfo $Browser $nofilelinks $maycompress @stickyvars - %funcline_regexp $is_mod_perl -- $is_lynx $is_w3m $is_msie $is_mozilla3 $is_textbased -+ $is_links $is_lynx $is_w3m $is_msie $is_mozilla3 $is_textbased - %input $query $barequery $sortby $bydate $byrev $byauthor - $bylog $byfile $hr_default $logsort $cvstree $cvsroot - $mimetype $defaultTextPlain $defaultViewable $allow_compress -@@ -129,7 +129,7 @@ use Cwd; +@@ -135,7 +135,7 @@ use Cwd; # Locations to search for user configuration, in order: for ( $ENV{CVSWEB_CONFIG}, @@ -25,27 +16,3 @@ $OpenBSD: patch-cvsweb_cgi,v 1.2 2000/10/12 19:53:30 naddy Exp $ getcwd() . '/cvsweb.conf' ) { $config = $_ if defined($_) && -r $_; -@@ -196,12 +196,13 @@ $is_mod_perl = defined($ENV{MOD_PERL}); - # per file, so disable the link at the icon - # in this case: - $Browser = $ENV{HTTP_USER_AGENT}; -+$is_links = ($Browser =~ m`^Links `); - $is_lynx = ($Browser =~ m`^Lynx/`i); - $is_w3m = ($Browser =~ m`^w3m/`i); - $is_msie = ($Browser =~ m`MSIE`); - $is_mozilla3 = ($Browser =~ m`^Mozilla/[3-9]`); - --$is_textbased = ($is_lynx || $is_w3m); -+$is_textbased = ($is_links || $is_lynx || $is_w3m); - - $nofilelinks = $is_textbased; - -@@ -1255,7 +1256,7 @@ sub doAnnotate($$) { - } - else { - $revprint = sprintf('%-8s', $lrev); -- $revprint =~ s`\S+`$&`; # ` -+ $revprint =~ s`(\S+)`$1`; - $oldLusr = ''; - } - if ($lusr eq $oldLusr) {