pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/www/cvsweb * Look in /usr/pkg/etc/cvsweb before /usr/l...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/d9bf4e6fda11
branches:  trunk
changeset: 476389:d9bf4e6fda11
user:      lukem <lukem%pkgsrc.org@localhost>
date:      Wed Jun 09 01:54:16 2004 +0000

description:
* Look in /usr/pkg/etc/cvsweb before /usr/local/etc/cvsweb for
  configuration.  Noted by Bartosz Ku?ma in private mail.
* Use /usr/pkg/etc/httpd/mime.types as the default mime.types file.
* Bump PKGREVISION.

diffstat:

 www/cvsweb/Makefile         |   3 ++-
 www/cvsweb/distinfo         |   6 ++++--
 www/cvsweb/patches/patch-aa |  11 ++++++++++-
 www/cvsweb/patches/patch-ab |  15 +++++++++++++++
 www/cvsweb/patches/patch-ac |  12 ++++++++++++
 5 files changed, 43 insertions(+), 4 deletions(-)

diffs (84 lines):

diff -r f656a39223a3 -r d9bf4e6fda11 www/cvsweb/Makefile
--- a/www/cvsweb/Makefile       Tue Jun 08 22:36:09 2004 +0000
+++ b/www/cvsweb/Makefile       Wed Jun 09 01:54:16 2004 +0000
@@ -1,8 +1,9 @@
 #
-# $NetBSD: Makefile,v 1.19 2004/05/28 01:47:26 lukem Exp $
+# $NetBSD: Makefile,v 1.20 2004/06/09 01:54:16 lukem Exp $
 #
 
 DISTNAME=              cvsweb-3.0.1
+PKGREVISION=           1
 CATEGORIES=            www
 MASTER_SITES=          ftp://ftp.freebsd.org/pub/FreeBSD/ports/local-distfiles/scop/
 
diff -r f656a39223a3 -r d9bf4e6fda11 www/cvsweb/distinfo
--- a/www/cvsweb/distinfo       Tue Jun 08 22:36:09 2004 +0000
+++ b/www/cvsweb/distinfo       Wed Jun 09 01:54:16 2004 +0000
@@ -1,5 +1,7 @@
-$NetBSD: distinfo,v 1.10 2004/05/28 01:47:26 lukem Exp $
+$NetBSD: distinfo,v 1.11 2004/06/09 01:54:16 lukem Exp $
 
 SHA1 (cvsweb-3.0.1.tar.gz) = 52ae5e8cc65cef7c3fdc33f9369fe00b2c5af8da
 Size (cvsweb-3.0.1.tar.gz) = 69916 bytes
-SHA1 (patch-aa) = 8aa77c9188a61c76c5ca537a85ca16426f81a086
+SHA1 (patch-aa) = 6b5b4e70a493068cae6e4859f7f86b91249d4e71
+SHA1 (patch-ab) = 7419965bf4e078c1f72e8ddb9834959215d3a477
+SHA1 (patch-ac) = f1dc55f458de536624e6c44c526490a21b3d25e0
diff -r f656a39223a3 -r d9bf4e6fda11 www/cvsweb/patches/patch-aa
--- a/www/cvsweb/patches/patch-aa       Tue Jun 08 22:36:09 2004 +0000
+++ b/www/cvsweb/patches/patch-aa       Wed Jun 09 01:54:16 2004 +0000
@@ -1,4 +1,4 @@
-$NetBSD: patch-aa,v 1.8 2004/05/28 01:47:26 lukem Exp $
+$NetBSD: patch-aa,v 1.9 2004/06/09 01:54:16 lukem Exp $
 
 --- cvsweb.conf.orig   2004-05-05 09:40:50.000000000 +1000
 +++ cvsweb.conf
@@ -11,3 +11,12 @@
  
  # Search the above directories for each command (prefer gtar over tar).
  #
+@@ -344,7 +344,7 @@ $inputTextSize = 12;
+ # The traditional mime.types file, eg. the one from Apache is fine.
+ # See above where this gets used.
+ #
+-$mime_types = '/usr/local/etc/apache/mime.types';
++$mime_types = '/usr/pkg/etc/httpd/mime.types';
+ 
+ # Charset appended to the Content-Type HTTP header for text/* MIME types.
+ # Note that the web server may default to some charset which may take effect
diff -r f656a39223a3 -r d9bf4e6fda11 www/cvsweb/patches/patch-ab
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/www/cvsweb/patches/patch-ab       Wed Jun 09 01:54:16 2004 +0000
@@ -0,0 +1,15 @@
+$NetBSD: patch-ab,v 1.6 2004/06/09 01:54:16 lukem Exp $
+
+--- cvsweb.cgi.orig    2004-05-09 00:13:40.000000000 +1000
++++ cvsweb.cgi
+@@ -214,7 +214,9 @@ my ($mydir) = (dirname($0) =~ /(.*)/);  
+ 
+ # == EDIT this ==
+ # Locations to search for user configuration, in order:
+-for (catfile($mydir, 'cvsweb.conf'), '/usr/local/etc/cvsweb/cvsweb.conf') {
++for (catfile($mydir, 'cvsweb.conf'),
++    '/usr/pkg/etc/cvsweb/cvsweb.conf',
++    '/usr/local/etc/cvsweb/cvsweb.conf') {
+   if (-r $_) {
+     $config = $_;
+     last;
diff -r f656a39223a3 -r d9bf4e6fda11 www/cvsweb/patches/patch-ac
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/www/cvsweb/patches/patch-ac       Wed Jun 09 01:54:16 2004 +0000
@@ -0,0 +1,12 @@
+$NetBSD: patch-ac,v 1.1 2004/06/09 01:54:16 lukem Exp $
+
+--- INSTALL.orig       2004-05-09 00:13:40.000000000 +1000
++++ INSTALL
+@@ -49,6 +49,7 @@ of this document.
+    configuration notes.  You'll need version 2.0 or newer.
+ 
+ 2) Copy cvsweb.conf to a configuration directory, typically
++   /usr/pkg/etc/cvsweb/cvsweb.conf or
+    /usr/local/etc/cvsweb/cvsweb.conf.
+    Edit cvsweb.conf to fit your needs, you'll probably need to tweak the
+    CVS root(s) of the Repository(ies) you want to view.



Home | Main Index | Thread Index | Old Index