summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authoroliver <oliver@FreeBSD.org>2005-04-21 10:44:21 +0000
committeroliver <oliver@FreeBSD.org>2005-04-21 10:44:21 +0000
commitdb92d79f6a27d13b174ab5ca82b977cc4976ec3a (patch)
tree8e80b228a5500fecebf5c4843fc8a274c182b5de
parentf455f7b1bab69b24592b6e5d727358b3679d21d4 (diff)
downloadFreeBSD-ports-db92d79f6a27d13b174ab5ca82b977cc4976ec3a.zip
FreeBSD-ports-db92d79f6a27d13b174ab5ca82b977cc4976ec3a.tar.gz
define USE_GETUSERSHELL not GETUSERSHELL - with getusershell() rpc.pcnfsd will
use getusershell() to determine if the usershell is a valid shell or not. Without USE_GETUSERSHELL defined, rpc.pcnfsd will only check if the usershell ends in sh - which is bad when you want to enable an /sbin/nologin user to mount nfs shares. Bump PORTREVISION Noticed by: playing with NFS on MS-DOS 6.22 (yihaa)
-rw-r--r--net/pcnfsd/Makefile1
-rw-r--r--net/pcnfsd/files/patch-aa2
2 files changed, 2 insertions, 1 deletions
diff --git a/net/pcnfsd/Makefile b/net/pcnfsd/Makefile
index 5f7a731..32cd9e1 100644
--- a/net/pcnfsd/Makefile
+++ b/net/pcnfsd/Makefile
@@ -7,6 +7,7 @@
PORTNAME= pcnfsd
PORTVERSION= 93.02.16
+PORTREVISION= 1
CATEGORIES= net
MASTER_SITES= ftp://bcm.tmc.edu/pcnfs/
DISTNAME= pcnfsd.93.02.16
diff --git a/net/pcnfsd/files/patch-aa b/net/pcnfsd/files/patch-aa
index 64d8aac..8a5f2e8 100644
--- a/net/pcnfsd/files/patch-aa
+++ b/net/pcnfsd/files/patch-aa
@@ -40,7 +40,7 @@
#define BSD_STYLE_CANCEL
#define BSD_STYLE_STATUS
#define BSD_STYLE_MONITOR
-! #define GETUSERSHELL
+! #define USE_GETUSERSHELL
#endif
#ifdef OSVER_ULTRIX
OpenPOWER on IntegriCloud