* Use OpenBSD's man pages instead of FreeBSD's in the sample configuration.
From: Jasper Lievisse Adriaanse * Fix sample URL for NetBSD man pages.
This commit is contained in:
parent
a52e5ab222
commit
ba571ac441
@ -1,10 +1,10 @@
|
||||
# $OpenBSD: Makefile,v 1.31 2005/05/24 00:05:55 naddy Exp $
|
||||
# $OpenBSD: Makefile,v 1.32 2006/02/04 17:01:35 naddy Exp $
|
||||
# $FreeBSD: ports/devel/cvsweb/Makefile,v 1.28 2000/09/23 20:48:45 knu Exp $
|
||||
|
||||
COMMENT= "WWW CGI script to browse CVS repository trees"
|
||||
|
||||
DISTNAME= cvsweb-2.0.6
|
||||
PKGNAME= ${DISTNAME}p1
|
||||
PKGNAME= ${DISTNAME}p2
|
||||
CATEGORIES= devel www
|
||||
HOMEPAGE= http://www.freebsd.org/projects/cvsweb.html
|
||||
|
||||
|
@ -1,6 +1,6 @@
|
||||
$OpenBSD: patch-cvsweb_cgi,v 1.11 2003/08/16 23:18:41 naddy Exp $
|
||||
--- cvsweb.cgi.orig 2002-09-26 22:56:05.000000000 +0200
|
||||
+++ cvsweb.cgi 2003-08-17 01:07:29.000000000 +0200
|
||||
$OpenBSD: patch-cvsweb_cgi,v 1.12 2006/02/04 17:01:36 naddy Exp $
|
||||
--- cvsweb.cgi.orig Thu Sep 26 22:56:05 2002
|
||||
+++ cvsweb.cgi Sat Feb 4 17:33:35 2006
|
||||
@@ -1,4 +1,4 @@
|
||||
-#!/usr/bin/perl -wT
|
||||
+#!/usr/bin/perl -w
|
||||
@ -37,10 +37,11 @@ $OpenBSD: patch-cvsweb_cgi,v 1.11 2003/08/16 23:18:41 naddy Exp $
|
||||
);
|
||||
|
||||
@LOGSORTKEYS = qw(cvs date rev);
|
||||
@@ -2014,20 +2009,6 @@ sub doDiff($$$$$$) {
|
||||
@@ -2013,20 +2008,6 @@ sub doDiff($$$$$$) {
|
||||
|
||||
my @difftype = @{$difftype->{'opts'}};
|
||||
my $human_readable = $difftype->{'colored'};
|
||||
|
||||
-
|
||||
- # apply special options
|
||||
- if ($showfunc) {
|
||||
- push @difftype, '-p' if $f ne 's';
|
||||
@ -54,7 +55,6 @@ $OpenBSD: patch-cvsweb_cgi,v 1.11 2003/08/16 23:18:41 naddy Exp $
|
||||
- }
|
||||
- }
|
||||
- }
|
||||
-
|
||||
|
||||
if ($human_readable) {
|
||||
if ($hr_ignwhite) {
|
||||
push @difftype, '-w';
|
||||
|
@ -1,6 +1,15 @@
|
||||
$OpenBSD: patch-cvsweb_conf,v 1.9 2003/08/16 18:12:10 naddy Exp $
|
||||
--- cvsweb.conf.orig 2002-09-23 07:30:17.000000000 +0200
|
||||
+++ cvsweb.conf 2003-08-16 18:25:42.000000000 +0200
|
||||
$OpenBSD: patch-cvsweb_conf,v 1.10 2006/02/04 17:01:36 naddy Exp $
|
||||
--- cvsweb.conf.orig Mon Sep 23 07:30:17 2002
|
||||
+++ cvsweb.conf Sat Feb 4 17:51:39 2006
|
||||
@@ -82,7 +82,7 @@ $cvstreedefault = $CVSrepositories[2 * 0
|
||||
# Manual gateway
|
||||
##############
|
||||
$mancgi =
|
||||
- "http://www.FreeBSD.org/cgi/man.cgi?apropos=0&sektion=%s&query=%s&manpath=FreeBSD+5.0-current&format=html";
|
||||
+ "http://www.OpenBSD.org/cgi-bin/man.cgi?apropos=0&sektion=%s&query=%s&manpath=OpenBSD+Current&arch=i386&format=html";
|
||||
|
||||
##############
|
||||
# Defaults for UserSettings
|
||||
@@ -115,7 +115,6 @@ $mancgi =
|
||||
# h Human readable
|
||||
# u Unified diff
|
||||
|
12
devel/cvsweb/patches/patch-cvsweb_conf-netbsd
Normal file
12
devel/cvsweb/patches/patch-cvsweb_conf-netbsd
Normal file
@ -0,0 +1,12 @@
|
||||
$OpenBSD: patch-cvsweb_conf-netbsd,v 1.1 2006/02/04 17:01:36 naddy Exp $
|
||||
--- cvsweb.conf-netbsd.orig Sat Feb 4 17:41:58 2006
|
||||
+++ cvsweb.conf-netbsd Sat Feb 4 17:42:17 2006
|
||||
@@ -65,7 +65,7 @@ $prcgi = "http://www.NetBSD.org/cgi-bin/
|
||||
|
||||
$prkeyword = "PR";
|
||||
|
||||
-$mancgi = "http://www.flame.org/cgi-bin/uncgi/hman?sect=%s&page=%s&arch=i386";
|
||||
+$mancgi = 'http://man.netbsd.org/cgi-bin/man-cgi?%2$s+%1$s+NetBSD-current';
|
||||
|
||||
# Allow downloading a tarball of a pkgsrc
|
||||
$allow_tar = ($where =~ m,^pkgsrc/[^/]+/[^/]+/,);
|
Loading…
Reference in New Issue
Block a user