summaryrefslogtreecommitdiff
path: root/net/netsaint-base/patches/patch-aa
diff options
context:
space:
mode:
Diffstat (limited to 'net/netsaint-base/patches/patch-aa')
-rw-r--r--net/netsaint-base/patches/patch-aa33
1 files changed, 18 insertions, 15 deletions
diff --git a/net/netsaint-base/patches/patch-aa b/net/netsaint-base/patches/patch-aa
index 4658743f84c..4fea76c2322 100644
--- a/net/netsaint-base/patches/patch-aa
+++ b/net/netsaint-base/patches/patch-aa
@@ -1,8 +1,16 @@
-$NetBSD: patch-aa,v 1.2 2002/03/25 12:54:19 rh Exp $
+$NetBSD: patch-aa,v 1.3 2002/04/14 10:57:11 rh Exp $
---- Makefile.in.orig Mon Oct 22 04:49:39 2001
-+++ Makefile.in
-@@ -95,28 +95,26 @@
+--- Makefile.in.orig Sun Oct 21 14:49:39 2001
++++ Makefile.in Tue Apr 9 22:11:27 2002
+@@ -26,6 +26,7 @@
+ BINDIR=@bindir@
+ CGIDIR=@sbindir@
+ HTMLDIR=@datadir@
++SAMPDIR=@prefix@/share/examples/netsaint
+ INSTALL=@INSTALL@
+ INSTALL_OPTS=@INSTALL_OPTS@
+ COMMAND_OPTS=@COMMAND_OPTS@
+@@ -95,28 +96,21 @@
cd $(SRC_BASE); $(MAKE) $@ ; cd ..
cd $(SRC_CGI); $(MAKE) $@ ; cd ..
cd $(SRC_HTM); $(MAKE) $@ ; cd ..
@@ -11,11 +19,6 @@ $NetBSD: patch-aa,v 1.2 2002/03/25 12:54:19 rh Exp $
- if [ $(INSTALLPERLSTUFF) = yes ]; then \
- $(INSTALL) -m 664 $(INSTALL_OPTS) p1.pl $(DESTDIR)$(BINDIR); \
- fi;
-+# $(INSTALL) -m 775 $(INSTALL_OPTS) -d $(DESTDIR)$(LOGDIR)
-+# $(INSTALL) -m 775 $(INSTALL_OPTS) -d $(DESTDIR)$(LOGDIR)/archives
-+# if [ $(INSTALLPERLSTUFF) = yes ]; then \
-+# $(INSTALL) -m 664 $(INSTALL_OPTS) p1.pl $(DESTDIR)$(BINDIR); \
-+# fi;
install-config:
- $(INSTALL) -m 775 $(INSTALL_OPTS) -d $(DESTDIR)$(CFGDIR)
@@ -24,12 +27,12 @@ $NetBSD: patch-aa,v 1.2 2002/03/25 12:54:19 rh Exp $
- $(INSTALL) -m 664 $(INSTALL_OPTS) commands.cfg $(DESTDIR)$(CFGDIR)
- $(INSTALL) -m 664 $(INSTALL_OPTS) nscgi.cfg $(DESTDIR)$(CFGDIR)
- $(INSTALL) -m 660 $(INSTALL_OPTS) resource.cfg $(DESTDIR)$(CFGDIR)
-+ [ -d ${DESTDIR}${CFGDIR} ] || ${BSD_INSTALL_DATA_DIR} ${DESTDIR}${CFGDIR}
-+ ${BSD_INSTALL_DATA} netsaint.cfg $(DESTDIR)$(CFGDIR)
-+ ${BSD_INSTALL_DATA} hosts.cfg $(DESTDIR)$(CFGDIR)
-+ ${BSD_INSTALL_DATA} commands.cfg $(DESTDIR)$(CFGDIR)
-+ ${BSD_INSTALL_DATA} nscgi.cfg $(DESTDIR)$(CFGDIR)
-+ ${BSD_INSTALL_DATA} resource.cfg $(DESTDIR)$(CFGDIR)
++ [ -d $(DESTDIR)$(SAMPDIR) ] || ${BSD_INSTALL_DATA_DIR} $(DESTDIR)$(SAMPDIR)
++ ${BSD_INSTALL_DATA} netsaint.cfg $(DESTDIR)$(SAMPDIR)
++ ${BSD_INSTALL_DATA} hosts.cfg $(DESTDIR)$(SAMPDIR)
++ ${BSD_INSTALL_DATA} commands.cfg $(DESTDIR)$(SAMPDIR)
++ ${BSD_INSTALL_DATA} nscgi.cfg $(DESTDIR)$(SAMPDIR)
++ ${BSD_INSTALL_DATA} resource.cfg $(DESTDIR)$(SAMPDIR)
install-init: install-daemoninit