mirror of
https://git.freebsd.org/ports.git
synced 2025-07-18 17:59:20 -04:00
Conditional extra patches if WITH_POPPASSD is defined.
Submitted by: Hajimu Umemoto <ume@mahoroba.org>
This commit is contained in:
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
11
mail/qpopper/files/extra-patch-password::Makefile.in
Normal file
11
mail/qpopper/files/extra-patch-password::Makefile.in
Normal 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:
|
28
mail/qpopper/files/extra-patch-password::poppassd.c
Normal file
28
mail/qpopper/files/extra-patch-password::poppassd.c
Normal 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 */
|
||||
""
|
Loading…
Add table
Reference in a new issue