File getdef-new-defs.patch of Package shadow.8622

Index: lib/getdef.c
===================================================================
--- lib/getdef.c.orig
+++ lib/getdef.c
@@ -91,6 +91,7 @@ static struct itemdef def_table[] = {
 	{"FAKE_SHELL", NULL},
 	{"GID_MAX", NULL},
 	{"GID_MIN", NULL},
+	{"GROUPADD_CMD", NULL},
 	{"HUSHLOGIN_FILE", NULL},
 	{"KILLCHAR", NULL},
 	{"LOGIN_RETRIES", NULL},
@@ -126,7 +127,10 @@ static struct itemdef def_table[] = {
 	{"UID_MAX", NULL},
 	{"UID_MIN", NULL},
 	{"UMASK", NULL},
+	{"USERADD_CMD", NULL},
 	{"USERDEL_CMD", NULL},
+	{"USERDEL_PRECMD", NULL},
+	{"USERDEL_POSTCMD", NULL},
 	{"USERGROUPS_ENAB", NULL},
 #ifndef USE_PAM
 	PAMDEFS
@@ -149,6 +153,10 @@ static struct itemdef knowndef_table[] =
 #ifdef USE_PAM
 	PAMDEFS
 #endif
+	/* Used by /bin/login */
+	{"MOTD_FILE", NULL},
+	{"ENV_PATH", NULL},
+	{"ENV_ROOTPATH", NULL},
 	{NULL, NULL}
 };