summaryrefslogtreecommitdiff
path: root/mail/cclient/files/patch-ab
diff options
context:
space:
mode:
authorAnders Nordby <anders@FreeBSD.org>2002-11-27 03:53:42 +0000
committerAnders Nordby <anders@FreeBSD.org>2002-11-27 03:53:42 +0000
commite493b3047d5ca4738e5c1b04d210677041cc18b2 (patch)
treeb9b3cbe931207b59a6f3ae636d8b43103a3d92ef /mail/cclient/files/patch-ab
parentFix dictionary information(gcannaf was not available). (diff)
Unbreak: set USE_OPENSSL properly.
Tidy. Add WITH_SSL_AND_PLAINTEXT knob, if you want to use plaintext passwords. Pointy hat to: dougb
Diffstat (limited to 'mail/cclient/files/patch-ab')
-rw-r--r--mail/cclient/files/patch-ab12
1 files changed, 7 insertions, 5 deletions
diff --git a/mail/cclient/files/patch-ab b/mail/cclient/files/patch-ab
index 6562900dbdd8..9e7f5acb2d19 100644
--- a/mail/cclient/files/patch-ab
+++ b/mail/cclient/files/patch-ab
@@ -1,5 +1,5 @@
---- src/osdep/unix/Makefile.orig Mon Oct 14 15:45:24 2002
-+++ src/osdep/unix/Makefile Tue Nov 26 01:44:27 2002
+--- src/osdep/unix/Makefile.orig Tue Oct 15 00:45:24 2002
++++ src/osdep/unix/Makefile Wed Nov 27 01:58:27 2002
@@ -22,18 +22,18 @@
EXTRAAUTHENTICATORS=
@@ -7,7 +7,7 @@
-PASSWDTYPE=std
-SSLTYPE=nopwd
+PASSWDTYPE=pam
-+SSLTYPE=nopwd.nopwd
++SSLTYPE=unix.nopwd
# Extended flags needed for SSL. You may need to modify.
@@ -130,19 +130,21 @@
osdep.h env_unix.h tcp_unix.h \
osdep.c env_unix.c fs_unix.c ftl_unix.c nl_unix.c tcp_unix.c \
auths.c crexcl.c flocksim.c nfstest.c flcksafe.c fsync.c gethstid.c \
-@@ -824,12 +841,17 @@
+@@ -824,12 +841,19 @@
write.c sslstdio.c \
strerror.c strpbrk.c strstr.c strtok.c strtoul.c \
OSCFLAGS
+
+osdep.o: $(OSDEPS)
-+ $(CC) $(CFLAGS) `$(CAT) OSCFLAGS` -c osdep.c
++ $(CC) $(CFLAGS) `$(CAT) OSCFLAGS` -c osdep.c
++ @echo ========================================================================
@echo Building OS-dependent module
@echo If you get No such file error messages for files x509.h, ssl.h,
@echo pem.h, buffer.h, bio.h, and crypto.h, that means that OpenSSL
@echo is not installed on your system. Either install OpenSSL first
@echo or build with command: make `$(CAT) OSTYPE` SSLTYPE=none
- `$(CAT) CCTYPE` -c `$(CAT) CFLAGS` `$(CAT) OSCFLAGS` -c osdep.c
++ @echo ========================================================================
+
+osdep.so: $(OSDEPS)
+ $(CC) -fpic -DPIC -c $(CFLAGS) `cat OSCFLAGS` osdep.c -o $@