summaryrefslogtreecommitdiff
path: root/net/sendfile/files
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--net/sendfile/files/patch-aa32
-rw-r--r--net/sendfile/files/patch-ab78
2 files changed, 110 insertions, 0 deletions
diff --git a/net/sendfile/files/patch-aa b/net/sendfile/files/patch-aa
new file mode 100644
index 000000000000..d04e6de16f02
--- /dev/null
+++ b/net/sendfile/files/patch-aa
@@ -0,0 +1,32 @@
+--- makeconfig.org Tue Sep 30 21:54:25 1997
++++ makeconfig Tue Sep 30 21:55:50 1997
+@@ -11,15 +11,15 @@
+
+ # default compiling settings
+ CC=gcc
+-CFLAGS=-O2
++#CFLAGS=-O2
+ LDFLAGS=-s
+
+ # default installation settings
+ SPOOL=/var/spool/sendfile
+-BINDIR=/usr/local/bin
+-MANDIR=/usr/local/man
+-CONFIG=/usr/local/etc
+-SERVERDIR=/usr/local/sbin
++BINDIR=${PREFIX}/bin
++MANDIR=${PREFIX}/man
++CONFIG=${PREFIX}/etc
++SERVERDIR=${PREFIX}/sbin
+ INETDCONF=/etc/inetd.conf
+ SERVICES=/etc/services
+
+@@ -33,7 +33,7 @@
+ #PGP=/usr/local/bin/pgp
+ #RECODE=/usr/local/bin/recode
+ #METAMAIL=/usr/local/bin/metamail
+-#SENDMAIL=/usr/lib/sendmail
++SENDMAIL=/usr/sbin/sendmail
+
+ ######################### END OF USER CONFIGURATION ##########################
+
diff --git a/net/sendfile/files/patch-ab b/net/sendfile/files/patch-ab
new file mode 100644
index 000000000000..3a80e29aa2b4
--- /dev/null
+++ b/net/sendfile/files/patch-ab
@@ -0,0 +1,78 @@
+--- develop/install.orig Tue Feb 24 14:06:09 1998
++++ develop/install Tue Feb 24 14:09:09 1998
+@@ -98,31 +98,6 @@
+ if [ "$INETDCONF" = "" ]; then INETDCONF=/etc/inetd.conf; fi
+ if [ "$SERVICES" = "" ]; then SERVICES=/etc/services; fi
+
+-cat <<EOD
+-WARNING: this sendfile install script will create or write to:
+-
+- spool directory = $SPOOL
+- binary directory = $BINDIR
+- manual directory = $MANDIR
+- sendfiled directory = $SERVERDIR
+- configuration files = $CONFIG
+- $DENY
+-
+-In /etc/services and /etc/inetd.conf apropriate ads will be inserted.
+-In /etc/profile and /etc/csh.login a call to sendfile_check will be added.
+-
+-To deinstall the sendfile-daemon, simply type: rm $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
+
+ echo "checking for directories"
+@@ -234,33 +209,9 @@
+ fi
+ RESTART=true
+ echo "configuring $INETDCONF"
+- echo "#" >>$INETDCONF
+- echo "# simple asynchronous file transfer" >>$INETDCONF
+ echo "saft stream tcp nowait root $SFD" >>$INETDCONF
+ fi
+
+-if [ -f /etc/inetd.sec ]; then
+- if [ "`grep '^saft' /etc/inetd.sec`" = "" ]; then
+- echo >> /etc/inetd.sec
+- echo "saft allow" >> /etc/inetd.sec
+- fi
+-fi
+-
+-if [ -f /etc/profile ]; then
+- if [ "`grep check_sendfile /etc/profile`" = "" ]; then
+- echo "adding check_sendfile to /etc/profile"
+- echo >>/etc/profile
+- echo test -x $BINDIR/check_sendfile && $BINDIR/check_sendfile >>/etc/profile
+- fi
+-fi
+-if [ -f /etc/csh.login ]; then
+- if [ "`grep check_sendfile /etc/csh.login`" = "" ]; then
+- echo "adding check_sendfile to /etc/csh.login"
+- echo >>/etc/csh.login
+- echo test -x $BINDIR/check_sendfile && $BINDIR/check_sendfile >>/etc/profile
+- fi
+-fi
+-
+ if [ ! -d "$SPOOL/OUTGOING" ]; then
+ echo "creating $SPOOL"
+ mkdir_recursive $SPOOL/OUTGOING
+@@ -303,9 +254,3 @@
+ echo "This will start an outgoing spooling sendfile daemon on boot time"
+ echo "which processes any old files in the outgoing spool."
+ echo
+-
+-if [ "$RESTART" = true ]; then
+- echo
+- echo "please restart now your inetd ( or simply reboot :-) )"
+- echo
+-fi