summaryrefslogtreecommitdiff
path: root/net/netdisco/patches/patch-ad
diff options
context:
space:
mode:
Diffstat (limited to 'net/netdisco/patches/patch-ad')
-rw-r--r--net/netdisco/patches/patch-ad27
1 files changed, 5 insertions, 22 deletions
diff --git a/net/netdisco/patches/patch-ad b/net/netdisco/patches/patch-ad
index cb10d74b335..927bd7a8e64 100644
--- a/net/netdisco/patches/patch-ad
+++ b/net/netdisco/patches/patch-ad
@@ -1,32 +1,15 @@
-$NetBSD: patch-ad,v 1.2 2006/12/16 15:25:41 bouyer Exp $
+$NetBSD: patch-ad,v 1.3 2011/03/15 20:36:03 bouyer Exp $
---- netdisco_apache.conf.orig 2006-11-14 01:27:14.000000000 +0100
-+++ netdisco_apache.conf 2006-12-06 22:08:24.000000000 +0100
-@@ -14,8 +14,10 @@
+--- netdisco_apache.conf.orig 2009-06-03 01:27:02.000000000 +0200
++++ netdisco_apache.conf 2011-03-14 17:00:47.000000000 +0100
+@@ -12,8 +12,10 @@
# Pool Database Connections
PerlModule Apache::DBI
+@APACHE2@PerlModule CGI
+@APACHE2@PerlModule Apache2::Request
--<Directory /usr/local/netdisco/html>
-+<Directory /usr/pkg/netdisco/html>
+ <Directory /usr/local/netdisco/html>
order allow,deny
allow from all
</Directory>
-@@ -24,12 +26,12 @@
- # Preload the netdisco module into global server space.
- # and parse the config file only once.
- { package HTML::Mason::Commands;
-- use lib '/usr/local/netdisco';
-+ use lib '/usr/pkg/netdisco';
- use netdisco qw/:all/;
-- &netdisco::config('/usr/local/netdisco/netdisco.conf');
-+ &netdisco::config('/usr/pkg/netdisco/netdisco.conf');
-
- # Uncomment next two lines to setup switch reverse proxy.
-- #use lib '/usr/local/netdisco/switch';
-+ #use lib '/usr/pkg/netdisco/switch';
- #use Apache::ProxyRewriteMax;
- }
-