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)
This commit is contained in:
Oliver Lehmann 2005-04-21 10:44:21 +00:00
parent 4a4866776a
commit c6a2c073ca
2 changed files with 2 additions and 1 deletions

View file

@ -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

View file

@ -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