pkgsrc/security/cfs/patches/patch-ab
jlam 1ab2ba8e66 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.
2001-06-07 15:36:52 +00:00

20 lines
444 B
Text

$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;