summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorroam <roam@FreeBSD.org>2005-09-16 07:35:24 +0000
committerroam <roam@FreeBSD.org>2005-09-16 07:35:24 +0000
commitd7709049d1b58c347408d13c10804b72a61dbf8b (patch)
tree0a98e282735d39b7785bc814dffb8aa4a6a7c0dd
parent85bf72a3f849b1df22c4c432804977b101d7713c (diff)
downloadFreeBSD-ports-d7709049d1b58c347408d13c10804b72a61dbf8b.zip
FreeBSD-ports-d7709049d1b58c347408d13c10804b72a61dbf8b.tar.gz
Errr... actually add the patch needed for the WITH_SMTP_AUTH_PATCH option
introduced in ports/mail/vpopmail/Makefile rev. 1.57. Submitted by: Nikolay Georgiev <niki@techlab.office1.bg>
-rw-r--r--mail/vpopmail/files/vchkpw-smtp-auth.patch15
1 files changed, 15 insertions, 0 deletions
diff --git a/mail/vpopmail/files/vchkpw-smtp-auth.patch b/mail/vpopmail/files/vchkpw-smtp-auth.patch
new file mode 100644
index 0000000..d55830e
--- /dev/null
+++ b/mail/vpopmail/files/vchkpw-smtp-auth.patch
@@ -0,0 +1,15 @@
+--- vchkpw.c.orig Thu Dec 16 15:57:34 2004
++++ vchkpw.c Fri Sep 16 06:25:31 2005
+@@ -435,8 +435,10 @@
+ #ifdef CLEAR_PASS
+ /* Check CRAM-MD5 auth */
+ if(ConnType == SMTP_CONN) {
+- /* printf("vchkpw: smtp auth\n"); */
+- cramaccepted = authcram(ThePass,TheChallenge,vpw->pw_clear_passwd);
++ printf("vchkpw: smtp auth\n");
++ /* cramaccepted = authcram(ThePass,TheChallenge,vpw->pw_clear_passwd); */
++ cramaccepted = authcram(TheChallenge,ThePass,vpw->pw_clear_passwd);
++
+ if(cramaccepted == 0) strcpy(AuthType, "CRAM-MD5");
+ }
+
OpenPOWER on IntegriCloud