summaryrefslogtreecommitdiff
path: root/net/sendfile/files
diff options
context:
space:
mode:
authorRene Ladan <rene@FreeBSD.org>2014-07-24 18:36:19 +0000
committerRene Ladan <rene@FreeBSD.org>2014-07-24 18:36:19 +0000
commit36e34f48e2e5ab984eb31b7cff1ee163494523f0 (patch)
tree78419497b9b7f06ed2367445df2b7045727c6e0a /net/sendfile/files
parentnet/openldap24-*: (diff)
Remove expired ports:
2014-07-23 chinese/big5con: Fails to build with new utmpx 2014-07-23 chinese/hztty: Fails to build with new utmpx 2014-07-23 irc/solid-ircd: Fails to build with new utmpx 2014-07-23 korean/eterm: Fails to build with new utmpx 2014-07-23 mail/biffer: Fails to build with new utmpx 2014-07-23 misc/c-hey: Fails to build with new utmpx 2014-07-23 misc/wminfo: Fails to build with new utmpx 2014-07-23 net/sendfile: Fails to build with new utmpx 2014-07-23 net-im/centericq: Fails to build with new utmpx 2014-07-23 security/chkrootkit: Fails to build with new utmpx 2014-07-23 security/openfwtk: Fails to build with new utmpx 2014-07-23 security/pam_alreadyloggedin: Fails to build with new utmpx 2014-07-23 security/srp: Fails to build with new utmpx 2014-07-23 security/sud: Fails to build with new utmpx 2014-07-23 sysutils/hyperic-sigar: Fails to build with new utmpx 2014-07-23 sysutils/lookupd: Fails to build with new utmpx 2014-07-23 sysutils/lookupd_ldap: Fails to build with new utmpx 2014-07-23 sysutils/p5-Sys-Utmp: Fails to build with new utmpx 2014-07-23 sysutils/syslog-ng2: Fails to build with new utmpx 2014-07-23 sysutils/yawho: Fails to build with new utmpx
Diffstat (limited to 'net/sendfile/files')
-rw-r--r--net/sendfile/files/patch-aa31
-rw-r--r--net/sendfile/files/patch-ab131
-rw-r--r--net/sendfile/files/patch-ac11
-rw-r--r--net/sendfile/files/patch-ad32
-rw-r--r--net/sendfile/files/sendfiled.in31
5 files changed, 0 insertions, 236 deletions
diff --git a/net/sendfile/files/patch-aa b/net/sendfile/files/patch-aa
deleted file mode 100644
index 03a4c24d4412..000000000000
--- a/net/sendfile/files/patch-aa
+++ /dev/null
@@ -1,31 +0,0 @@
---- makeconfig.orig Mon Mar 5 23:06:22 2001
-+++ makeconfig Mon Mar 5 23:07:26 2001
-@@ -11,15 +11,14 @@
-
- # default compiling settings
- CC=gcc
--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
-
-@@ -34,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
deleted file mode 100644
index 5ab752664dd6..000000000000
--- a/net/sendfile/files/patch-ab
+++ /dev/null
@@ -1,131 +0,0 @@
---- develop/install.orig 1999-12-07 09:40:11.000000000 +0000
-+++ develop/install 2008-02-07 11:02:26.000000000 +0000
-@@ -82,7 +82,6 @@
- make_man fetchfile 7 $manmisc
- make_man sendfiled 8 $manadmin
- cp doc/wlock.1 doc/utf7encode.1 $MANDIR/man1
-- (cd $MANDIR/man1; ln -s utf7encode.1 utf7decode.1 2>/dev/null)
- }
-
- SYSTEM=$1
-@@ -165,14 +164,6 @@
- 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
-
-@@ -233,16 +224,16 @@
- mv $NOSENDFILE $DENY
- fi
- fi
--if [ ! -f $DENY -a ! -f $ALLOW ]; then
-+if [ ! -f ${DENY}.sample -a ! -f $ALLOW ]; then
- echo "installing the sendfile deny file as $DENY"
-- cp etc/sendfile.deny $DENY
-- chmod 644 $DENY
-+ cp etc/sendfile.deny ${DENY}.sample
-+ chmod 644 ${DENY}.sample
- fi
-
--if [ ! -f $CONFIG ]; then
-+if [ ! -f ${CONFIG}.sample ]; then
- echo "installing the global sendfile config file as $CONFIG"
-- cp etc/sendfile.cf $CONFIG
-- chmod 644 $CONFIG
-+ cp etc/sendfile.cf ${CONFIG}.sample
-+ chmod 644 ${CONFIG}.sample
- else
- if [ "`diff etc/sendfile.cf $CONFIG`" ]; then
- echo "Warning: `pwd`/etc/sendfile.cf differs from $CONFIG !"
-@@ -250,6 +241,23 @@
- fi
- fi
-
-+if [ -z "$BATCH" ] ; then
-+echo ''
-+echo 'I would now configure and start your sendfiled.'
-+echo 'If you do not like this, enter "no" here'
-+read answer
-+fi
-+if [ "$answer" = no ]; then
-+ echo
-+ echo "Things left to do if you want to start sendfiled:"
-+ echo
-+ echo " - Maybe add 'saft 487/tcp' to /etc/services (prior to FreeBSD-4)"
-+ echo " - Add sendfiled to /etc/inetd.conf and killall -HUP inetd"
-+ echo " - Add 'test -x $BINDIR/check_sendfile && $BINDIR/check_sendfile'"
-+ echo " to /etc/profile and /etc/csh.login"
-+ echo
-+else
-+
- if [ "$SYSTEM" = NEXT ]; then
- SERVICE="`nidump services . | awk '/[ \t]487\/tcp/'`"
- else
-@@ -266,7 +274,6 @@
- echo "saft 487/tcp # simple asynchronous file transfer" | niload services .
- else
- echo "configuring $SERVICES"
-- echo "#" >>$SERVICES
- echo "saft 487/tcp # simple asynchronous file transfer" >>$SERVICES
- fi
- fi
-@@ -279,8 +286,6 @@
- fi
- RESTART=true
- echo "configuring $INETDCONF"
-- echo "#" >>$INETDCONF
-- echo "# simple asynchronous file transfer" >>$INETDCONF
- echo "saft stream tcp nowait root $SFD" >>$INETDCONF
- fi
-
-@@ -308,6 +313,8 @@
- fi
- fi
-
-+fi
-+
- if [ ! -d "$SPOOL/OUTGOING" ]; then
- echo "creating $SPOOL"
- mkdir_recursive $SPOOL/OUTGOING
-@@ -334,7 +341,7 @@
- fi
-
- free=`$SERVERDIR/sendfiled -f`
--minfree=`awk '/minfree =/{print $3}' $CONFIG`
-+minfree=`awk '/minfree =/{print $3}' ${CONFIG}.sample`
- if [ "$free" -le "$minfree" ]; then
- cat <<EOD
- ! WARNING !
-@@ -344,15 +351,15 @@
- EOD
- fi
-
--echo
--echo "You may want to add the following line to your system bootup script:"
--echo " $SERVERDIR/sendfiled -Q"
--echo "This will start an outgoing spooling sendfile daemon on boot time"
--echo "which processes any old files in the outgoing spool."
--echo
-+echo "### Please add 'sendfiled_enable=YES' to your /etc/rc.conf"
-
- if [ "$RESTART" = true ]; then
-- echo
-- echo "please restart now your inetd ( or simply reboot :-) )"
-+ if [ ! -f /var/run/inetd.pid ] ; then
-+ echo "# Cant restart inetd. Perhaps it isn't running?"
-+ else
-+ kill -HUP `cat /var/run/inetd.pid`
-+ fi
- echo
- fi
-+[ -f $SERVERDIR/sendfiled.old ] && rm -f $SERVERDIR/sendfiled.old
-+echo done.
diff --git a/net/sendfile/files/patch-ac b/net/sendfile/files/patch-ac
deleted file mode 100644
index dc8e40075785..000000000000
--- a/net/sendfile/files/patch-ac
+++ /dev/null
@@ -1,11 +0,0 @@
---- src/io.h.orig Mon Mar 5 23:38:04 2001
-+++ src/io.h Mon Mar 5 23:38:04 2001
-@@ -15,6 +15,8 @@
- * This file is covered by the GNU General Public License
- */
-
-+#include <sys/types.h>
-+
-
- /* read n bytes from network socket */
- int readn(int, char *, int);
diff --git a/net/sendfile/files/patch-ad b/net/sendfile/files/patch-ad
deleted file mode 100644
index 3cbb33144599..000000000000
--- a/net/sendfile/files/patch-ad
+++ /dev/null
@@ -1,32 +0,0 @@
---- src/sendfiled.c.org Tue Feb 6 00:42:53 2001
-+++ src/sendfiled.c Sun Aug 26 21:21:18 2001
-@@ -10,6 +10,7 @@
- * Chris Foote (chris@senet.com.au)
- * Daniel Kobras <kobras@lists.tat.physik.uni-tuebingen.de>
- * Colin Phipps <cph@cph.demon.co.uk>
-+ * Stefan `Sec` Zehl <sec@42.org>
- *
- * History:
- *
-@@ -138,6 +139,7 @@
- * 2001-01-17 Framstag mail2user() now runs in a subprocess
- * 2001-02-02 Framstag fixed openlog() bug
- * 2001-02-06 Framstag added timeout on waiting response from client
-+ * 2001-08-26 sec workaround for sete[ug]id on FreeBSD
- *
- *
- * The sendfile-daemon of the sendfile package.
-@@ -4000,11 +4002,13 @@
- * RETURN: nothing, but terminates program on error
- */
- void setreugid() {
-+ if (rgid != getegid())
- if (rgid && setegid(rgid)<0) {
- printf("490 Internal error on setegid(%u): %s\r\n",
- (unsigned int)rgid,strerror(errno));
- exit(1);
- }
-+ if (ruid != geteuid())
- if (ruid && seteuid(ruid)<0) {
- printf("490 Internal error on seteuid(%u): %s\r\n",
- (unsigned int)ruid,strerror(errno));
diff --git a/net/sendfile/files/sendfiled.in b/net/sendfile/files/sendfiled.in
deleted file mode 100644
index d44fd695e9ea..000000000000
--- a/net/sendfile/files/sendfiled.in
+++ /dev/null
@@ -1,31 +0,0 @@
-#!/bin/sh
-#
-# $FreeBSD$
-#
-
-# PROVIDE: sendfiled
-# REQUIRE: LOGIN
-# BEFORE: securelevel
-# KEYWORD: shutdown
-
-# Add the following lines to /etc/rc.conf to enable `sendfiled':
-#
-# sendfiled_enable="YES"
-# sendfiled_flags="<set as needed>"
-#
-# See sendfiled(8) for sendfiled_flags
-
-. /etc/rc.subr
-
-name="sendfiled"
-rcvar=sendfiled_enable
-
-command="%%PREFIX%%/sbin/sendfiled"
-command_args="-Q"
-required_files="%%PREFIX%%/etc/sendfile.cf"
-
-# read configuration and set defaults
-load_rc_config "$name"
-: ${sendfiled_enable="NO"}
-
-run_rc_command "$1"