diff options
author | jlam <jlam@pkgsrc.org> | 2001-06-07 15:36:52 +0000 |
---|---|---|
committer | jlam <jlam@pkgsrc.org> | 2001-06-07 15:36:52 +0000 |
commit | 1ab2ba8e66f08489ae4d4bfe0f6f80a88b296a5a (patch) | |
tree | 8433507ecbecf6ba0b1b63ad485e0e9ef9a33f0f /security/cfs | |
parent | 6355b216b759349ede9f3fdb3826d6d14b0ae82a (diff) | |
download | pkgsrc-1ab2ba8e66f08489ae4d4bfe0f6f80a88b296a5a.tar.gz |
Add patches missing from commit that did the following modifications:
* Use NetBSD's getpass() function instead of the homegrown one, as the
homegrown one doesn't seem to hide the password when it is being entered.
* Add a rc.d style script to start cfsd, and also install the documentation
for the filesystem.
* Rename c* commands to cfs_* to avoid conflicts with coda programs with
a similar name.
Diffstat (limited to 'security/cfs')
-rw-r--r-- | security/cfs/patches/patch-ab | 20 | ||||
-rw-r--r-- | security/cfs/patches/patch-ac | 13 | ||||
-rw-r--r-- | security/cfs/patches/patch-ad | 13 |
3 files changed, 46 insertions, 0 deletions
diff --git a/security/cfs/patches/patch-ab b/security/cfs/patches/patch-ab new file mode 100644 index 00000000000..f55d06f9d67 --- /dev/null +++ b/security/cfs/patches/patch-ab @@ -0,0 +1,20 @@ +$NetBSD: patch-ab,v 1.3 2001/06/07 15:36:52 jlam Exp $ + +--- getpass.c.orig Thu May 31 17:03:02 2001 ++++ getpass.c Thu May 31 17:03:40 2001 +@@ -45,6 +45,7 @@ + #include "cfs.h" + #include "shs.h" + ++#ifndef HAVE_GETPASS + #if defined(irix) || defined(linux) + /* hacks to use POSIX style termios instead of old BSD style sgttyb */ + #include <termios.h> +@@ -95,6 +96,7 @@ + fclose(fi); + return(pbuf); + } ++#endif + + old_pwcrunch(b,k) + char *b; diff --git a/security/cfs/patches/patch-ac b/security/cfs/patches/patch-ac new file mode 100644 index 00000000000..1d712b4dbea --- /dev/null +++ b/security/cfs/patches/patch-ac @@ -0,0 +1,13 @@ +$NetBSD: patch-ac,v 1.3 2001/06/07 15:36:52 jlam Exp $ + +--- netbsd_make_with_bad_rpcgen.orig Thu May 3 14:30:15 2001 ++++ netbsd_make_with_bad_rpcgen Thu May 31 17:13:32 2001 +@@ -1,7 +1,7 @@ + #!/bin/sh + # this will make CFS for NetBSD (and other) systems with the + # wrong version of rpcgen +-make CC="cc -traditional \ ++${MAKE} CFS_CFLAGS=" \ + -Dnfsproc_null_2_svc=nfsproc_null_2 \ + -Dnfsproc_getattr_2_svc=nfsproc_getattr_2 \ + -Dnfsproc_setattr_2_svc=nfsproc_setattr_2 \ diff --git a/security/cfs/patches/patch-ad b/security/cfs/patches/patch-ad new file mode 100644 index 00000000000..bf9c9be9913 --- /dev/null +++ b/security/cfs/patches/patch-ad @@ -0,0 +1,13 @@ +$NetBSD: patch-ad,v 1.1 2001/06/07 15:36:52 jlam Exp $ + +--- make_with_bad_rpcgen.orig Mon Dec 25 00:09:40 1995 ++++ make_with_bad_rpcgen Thu Jun 7 07:41:36 2001 +@@ -1,7 +1,7 @@ + #!/bin/sh + # this will make CFS for linux (and other) systems with the + # wrong version of rpcgen +-make CC="cc -traditional -Dd_fileno=d_ino \ ++${MAKE} CFS_CFLAGS=" \ + -Dnfsproc_null_2_svc=nfsproc_null_2 \ + -Dnfsproc_getattr_2_svc=nfsproc_getattr_2 \ + -Dnfsproc_setattr_2_svc=nfsproc_setattr_2 \ |