Conditional extra patches if WITH_POPPASSD is defined.

Submitted by:	Hajimu Umemoto <ume@mahoroba.org>
This commit is contained in:
Mario Sergio Fujikawa Ferreira 2001-05-06 03:22:32 +00:00
parent 48e36d5ded
commit 077b99d2fe
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=42301
2 changed files with 39 additions and 0 deletions

View file

@ -0,0 +1,11 @@
--- password/Makefile.in.orig Mon Mar 19 20:26:18 2001
+++ password/Makefile.in Sat May 5 18:51:06 2001
@@ -76,7 +76,7 @@
all: ${poppassd}
poppassd: ${OBJS} ${common_dir}/libcommon.a
- ${CC} -o poppassd ${OBJS} ${NETWORK_LIBS} \
+ ${CC} -o poppassd ${OBJS} ${LIBS} \
${common_dir}/libcommon.a
.c.o:

View file

@ -0,0 +1,28 @@
--- password/poppassd.c.orig Sat May 5 18:50:05 2001
+++ password/poppassd.c Sat May 5 18:52:59 2001
@@ -284,6 +284,8 @@
static char *P1[] =
{
+ "changing local password for *\nold password: ", /* FreeBSD */
+ "changing nis password for *\nold password: ", /* FreeBSD NIS */
"changing password for *\nold password: ", /* shadow */
"enter login password: ", /* Solaris */
"old smb password: ", /* smb */
@@ -301,6 +303,7 @@
static char *P3[] =
{
+ "retype new password: ", /* FreeBSD */
"re-enter new password:*", /* shadow */
"re-enter new password: ",
"retype new smb password: ", /* smb */
@@ -309,6 +312,8 @@
static char *P4[] =
{
+ "passwd: updating the database...\npasswd: done ", /* FreeBSD */
+ "nis password has been changed * ", /* FreeBSD NIS */
"password changed. ", /* shadow */
"password changed ", /* smb */
""