1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-01 22:05:08 +00:00
freebsd-ports/security/skip/files/patch-ac
Julian Elischer de8a9e2851 Add a package for the SKIP package from Sun Microsystems,
for making secure pipes across the internet (etc.)
1998-01-09 23:23:58 +00:00

33 lines
839 B
Plaintext

diff -ur --unidirectional-new-file skipsrc-1.0.orig/admin/hosts.4.x skipsrc-1.0/admin/hosts.4.x
--- skipsrc-1.0.orig/admin/hosts.4.x Fri Oct 25 13:13:14 1996
+++ skipsrc-1.0/admin/hosts.4.x Thu Dec 18 10:53:56 1997
@@ -46,20 +46,18 @@
#
# SKIP host access control information
#
-PATH=/usr/skip/bin:/bin export PATH
-SKIP_ACL=/etc/skip/acl.*
+PREFIX=@@PREFIX@@
+SKIP_BIN=${PREFIX}/bin
+PATH=${SKIP_BIN}:${PATH} export PATH
+SKIP_ACL=${PREFIX}/etc/skip/acl.*
SKIP_NOCHECK=no; export SKIP_NOCHECK
OS_NAME=`uname`
-echo "starting SKIP for $OS_NAME v1.0." > /dev/console
-
# Update ACL for each SKIP interface
#
-for acl in $SKIP_ACL "end" ; do
- if [ $acl = "end" ]; then
- break
- fi
- if [ -f $SKIP_ACL ]; then
- . $SKIP_ACL > /dev/null
+for ACL in ${SKIP_ACL}; do
+ if [ -f "${ACL}" ]; then
+ . ${ACL} > /dev/null
fi
done
+