aboutsummaryrefslogtreecommitdiffstats
path: root/net
diff options
context:
space:
mode:
authoroliver <oliver@FreeBSD.org>2005-04-21 18:44:21 +0800
committeroliver <oliver@FreeBSD.org>2005-04-21 18:44:21 +0800
commitdb92d79f6a27d13b174ab5ca82b977cc4976ec3a (patch)
tree8e80b228a5500fecebf5c4843fc8a274c182b5de /net
parentf455f7b1bab69b24592b6e5d727358b3679d21d4 (diff)
downloadfreebsd-ports-gnome-db92d79f6a27d13b174ab5ca82b977cc4976ec3a.tar.gz
freebsd-ports-gnome-db92d79f6a27d13b174ab5ca82b977cc4976ec3a.tar.zst
freebsd-ports-gnome-db92d79f6a27d13b174ab5ca82b977cc4976ec3a.zip
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)
Diffstat (limited to 'net')
-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 5f7a7310119f..32cd9e12fd90 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 64d8aac3d711..8a5f2e82e7de 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