aboutsummaryrefslogtreecommitdiffstats
path: root/mail/vpopmail
diff options
context:
space:
mode:
authorroam <roam@FreeBSD.org>2005-09-16 15:35:24 +0800
committerroam <roam@FreeBSD.org>2005-09-16 15:35:24 +0800
commitd7709049d1b58c347408d13c10804b72a61dbf8b (patch)
tree0a98e282735d39b7785bc814dffb8aa4a6a7c0dd /mail/vpopmail
parent85bf72a3f849b1df22c4c432804977b101d7713c (diff)
downloadfreebsd-ports-gnome-d7709049d1b58c347408d13c10804b72a61dbf8b.tar.gz
freebsd-ports-gnome-d7709049d1b58c347408d13c10804b72a61dbf8b.tar.zst
freebsd-ports-gnome-d7709049d1b58c347408d13c10804b72a61dbf8b.zip
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>
Diffstat (limited to 'mail/vpopmail')
-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 000000000000..d55830ed511c
--- /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");
+ }
+