correct user addition handling, patch slightly differently.
This commit is contained in:
parent
fdb650a658
commit
621d0db2d2
3 changed files with 13 additions and 14 deletions
|
@ -1,4 +1,4 @@
|
|||
# $NetBSD: Makefile,v 1.1.1.1 2000/04/02 01:32:28 wiz Exp $
|
||||
# $NetBSD: Makefile,v 1.2 2000/04/03 02:12:27 wiz Exp $
|
||||
#
|
||||
|
||||
DISTNAME= popa3d-0.4
|
||||
|
@ -21,15 +21,15 @@ GROUP_CMD= ${LOCALBASE}/sbin/group
|
|||
|
||||
do-install:
|
||||
@if [ `${GROUP_CMD} info -e popa3d` ]; then \
|
||||
${ECHO} Group \'popa3d\' already exists.; \
|
||||
else \
|
||||
${GROUP_CMD} add popa3d; \
|
||||
else \
|
||||
${ECHO} Group \'popa3d\' already exists.; \
|
||||
fi
|
||||
@if [ `${USER_CMD} info -e popa3d` ]; then \
|
||||
${ECHO} User \'popa3d\' already exists.; \
|
||||
else \
|
||||
${USER_CMD} add -g popa3d -d /nonexistent -s /sbin/nologin \
|
||||
popa3d; \
|
||||
else \
|
||||
${ECHO} User \'popa3d\' already exists.; \
|
||||
fi
|
||||
${INSTALL_PROGRAM} -o popa3d -g popa3d -m 700 ${WRKSRC}/popa3d \
|
||||
${PREFIX}/libexec
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
$NetBSD: patch-sum,v 1.1.1.1 2000/04/02 01:32:28 wiz Exp $
|
||||
$NetBSD: patch-sum,v 1.2 2000/04/03 02:12:28 wiz Exp $
|
||||
|
||||
MD5 (patch-aa) = 1675804fbeac0b178f16fd930e870dbe
|
||||
MD5 (patch-aa) = dba372cf236b07a5c70fc7fca4f422d2
|
||||
MD5 (patch-ab) = 38d105a7f5e44b71782a47736a4514e1
|
||||
|
|
|
@ -1,18 +1,17 @@
|
|||
$NetBSD: patch-aa,v 1.1.1.1 2000/04/02 01:32:28 wiz Exp $
|
||||
$NetBSD: patch-aa,v 1.2 2000/04/03 02:12:28 wiz Exp $
|
||||
|
||||
--- params.h.orig Tue Feb 1 07:16:24 2000
|
||||
+++ params.h Sun Apr 2 00:29:09 2000
|
||||
@@ -62,7 +62,9 @@
|
||||
+++ params.h Mon Apr 3 04:08:21 2000
|
||||
@@ -62,7 +62,7 @@
|
||||
* Do we have shadow passwords? (Not for *BSD.)
|
||||
* Note: password aging is not supported.
|
||||
*/
|
||||
+/* we do, but not this way
|
||||
#define AUTH_SHADOW 1
|
||||
+*/
|
||||
-#define AUTH_SHADOW 1
|
||||
+#define AUTH_SHADOW 0
|
||||
|
||||
/*
|
||||
* A salt used to waste some CPU time on dummy crypt(3) calls and make
|
||||
@@ -81,7 +83,7 @@
|
||||
@@ -81,7 +81,7 @@
|
||||
* Your mail spool directory. Note: only local (non-NFS) mode 775 mail
|
||||
* spools are currently supported.
|
||||
*/
|
||||
|
|
Loading…
Reference in a new issue