summaryrefslogtreecommitdiff
path: root/security/skip/files/patch-bk
diff options
context:
space:
mode:
authorArchie Cobbs <archie@FreeBSD.org>1999-03-10 22:28:00 +0000
committerArchie Cobbs <archie@FreeBSD.org>1999-03-10 22:28:00 +0000
commitd5879e7be65292eba69981545dddb13bf328f35e (patch)
treec1023bf38c7e83d53c072cc000da19efa98f7740 /security/skip/files/patch-bk
parentMention that packages for these kits can be gotten from www.freebsd.org/ports. (diff)
Build SKIP port as a KLD instead of an LKM.
Notes
Notes: svn path=/head/; revision=17133
Diffstat (limited to 'security/skip/files/patch-bk')
-rw-r--r--security/skip/files/patch-bk48
1 files changed, 26 insertions, 22 deletions
diff --git a/security/skip/files/patch-bk b/security/skip/files/patch-bk
index 936c4991a483..0fdef455e9e5 100644
--- a/security/skip/files/patch-bk
+++ b/security/skip/files/patch-bk
@@ -1,24 +1,28 @@
-diff -ur --unidirectional-new-file skipsrc-1.0.orig/skip/keymgrd/skip_init.C skipsrc-1.0/skip/keymgrd/skip_init.C
---- skipsrc-1.0.orig/skip/keymgrd/skip_init.C Fri Oct 25 13:12:49 1996
-+++ skipsrc-1.0/skip/keymgrd/skip_init.C Tue Dec 23 13:35:05 1997
-@@ -81,7 +81,7 @@
- return;
- }
+diff -ur --unidirectional-new-file skipsrc-1.0.orig/skip/freebsd/skip.mkdev work.new/skip/freebsd/skip.mkdev
+--- skipsrc-1.0.orig/skip/freebsd/skip.mkdev Fri Oct 25 13:13:20 1996
++++ work.new/skip/freebsd/skip.mkdev Mon Mar 8 22:02:26 1999
+@@ -48,19 +48,19 @@
+ SKIP_KEYMGRD_MINOR=0
+ SKIP_ACL_NODE=/dev/skip
+ SKIP_MAX_OPENS=16
+-PATH=/bin:/usr/ucb:/sbin:
++PATH=/bin:/usr/bin:/sbin:/usr/sbin
-- skip_log(SKIP_NOTICE, "local name nsid=%d mkid=%s",
-+ skip_log(SKIP_INFO, "local name nsid=%d mkid=%s",
- nsid, keyid.get_info_str());
- }
+-if [ $# != 3 ]; then
+- exit
++if [ $# != 1 ]; then
++ exit 1
+ fi
-@@ -135,9 +135,9 @@
- {
- // Let the random number generator kick off its entropy gathering
-
-- skip_log(SKIP_NOTICE, "Initializing random number generator...");
-+ skip_log(SKIP_INFO, "Initializing random number generator...");
- Bstream dummy = get_random_bytes(1);
-- skip_log(SKIP_NOTICE, "done");
-+ skip_log(SKIP_INFO, "done");
- }
-
- auth.load(SKIP_DIR);
+ echo -n skip: making skip pseudo-devices
+ rm -f $SKIP_KEYMGR_NODE
+-mknod $SKIP_KEYMGR_NODE c $3 $SKIP_KEYMGRD_MINOR
++mknod $SKIP_KEYMGR_NODE c $1 $SKIP_KEYMGRD_MINOR
+ i=1
+ while [ $i -ne $SKIP_MAX_OPENS ]; do
+ rm -f $SKIP_ACL_NODE$i
+- mknod $SKIP_ACL_NODE$i c $3 $i
++ mknod $SKIP_ACL_NODE$i c $1 $i
+ i=`expr $i + 1`
+ echo -n "."
+ done