summaryrefslogtreecommitdiff
path: root/net/sendfile/patches/patch-ac
blob: a9b041dfbde926f57cb3c69e3c5cc23cc4f99d45 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
$NetBSD: patch-ac,v 1.3 2003/05/01 15:44:44 jmmv Exp $

--- develop/install.orig	1999-12-07 10:40:11.000000000 +0100
+++ develop/install
@@ -105,6 +105,7 @@ eval `awk -F\" '/define BINDIR/    {prin
                 /define MANDIR/    {print "MANDIR="$2} 
                 /define SERVERDIR/ {print "SERVERDIR="$2}
                 /define SPOOL/     {print "SPOOL="$2}
+                /define EGDIR/     {print "EGDIR="$2}
                 /define CONFIG/    {print "CONFIG="$2}
                 /define DENY/	   {print "DENY="$2}
                 /define ALLOW/	   {print "ALLOW="$2}
@@ -126,6 +127,9 @@ if [ "$OUTLOG" = "" ]; then	OUTLOG=$SPOO
 if [ "$INETDCONF" = "" ]; then	INETDCONF=/etc/inetd.conf; fi
 if [ "$SERVICES" = "" ]; then	SERVICES=/etc/services; fi
 
+CONFIG=$EGDIR/sendfile.cf
+DENY=$EGDIR/sendfile.deny
+
 case "$SYSTEM" in
   *BSD*) manmisc=7; manadmin=8;;
       *) manmisc=5; manadmin=1m;;
@@ -165,14 +169,6 @@ In /etc/profile and /etc/csh.login a cal
 To deinstall the sendfile-daemon, simply type: 	rm -f $SERVERDIR/sendfiled
 
 EOD
-echo 'If you are satisfied with these defaults, then type "ok" now:'
-read answer
-if [ "$answer" != ok ]; then
-  echo
-  echo "You can install sendfile manually, too. Please type: more doc/README"
-  echo
-  exit
-fi
 
 umask 022