mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-15 23:50:44 +00:00
a7e7418d16
PR: 5887 Submitted by: Stefan 'Sec' Zehl <sec@42.org>
36 lines
1.1 KiB
Plaintext
36 lines
1.1 KiB
Plaintext
bin/check_sendfile
|
|
bin/fetchfile
|
|
bin/receive
|
|
bin/sendfile
|
|
bin/sendmsg
|
|
bin/sf_cleanup
|
|
bin/sfconf
|
|
bin/sfdconf
|
|
bin/utf7decode
|
|
bin/utf7encode
|
|
bin/wlock
|
|
etc/rc.d/sendfiled.sh
|
|
etc/sendfile.cf
|
|
etc/sendfile.deny
|
|
man/man1/fetchfile.1.gz
|
|
man/man1/receive.1.gz
|
|
man/man1/sendfile.1.gz
|
|
man/man1/sendmsg.1.gz
|
|
man/man7/fetchfile.7.gz
|
|
man/man8/sendfiled.8.gz
|
|
sbin/sendfiled
|
|
|
|
@exec mkdir -p /var/spool/sendfile/OUTGOING /var/spool/sendfile/LOG
|
|
@exec chmod 755 /var/spool/sendfile
|
|
@exec chmod 1777 /var/spool/sendfile/OUTGOING
|
|
@exec chmod 700 /var/spool/sendfile/LOG
|
|
@exec touch /var/spool/sendfile/LOG/in /var/spool/sendfile/LOG/out
|
|
@exec chmod 600 /var/spool/sendfile/LOG/in /var/spool/sendfile/LOG/out
|
|
@exec echo -e 'saft\tstream\ttcp\tnowait\troot\t/usr/local/sbin/sendfiled sendfiled' >> /etc/inetd.conf
|
|
@exec echo -e 'saft\t\t487/tcp\t# simple asynchronous file transfer'>>/etc/services
|
|
@exec kill -HUP `ps auxw|awk '$11 == "inetd" { print $2 } '`
|
|
|
|
@unexec perl -pi.bak -e '/^saft/ && ($_="")' /etc/inetd.conf
|
|
@unexec kill -HUP `ps auxw|awk '$11 == "inetd" { print $2 } '`
|
|
@unexec rm -R /var/spool/sendfile
|