aboutsummaryrefslogtreecommitdiff
path: root/mail/imap-uw
diff options
context:
space:
mode:
authorAnders Nordby <anders@FreeBSD.org>2003-06-01 20:49:37 +0000
committerAnders Nordby <anders@FreeBSD.org>2003-06-01 20:49:37 +0000
commit58547ee7291811c88ba47705465b1f72a497cf45 (patch)
treeb1ccc0aab3344b130a613e0a6d783ee090354e59 /mail/imap-uw
parent733ff13c7b8280d6c67f77d176ce1b9c72f06002 (diff)
downloadports-58547ee7291811c88ba47705465b1f72a497cf45.tar.gz
ports-58547ee7291811c88ba47705465b1f72a497cf45.zip
Correct PAM service name for ipop3d to pop3 instead of pop like we've
used to have it for a long time. Update PAM info to reflect that the session service is now used. Bump PORTREVISION as this affects ipop3d runtime usage (need to do it on cclient as well since we expect their versions to match exactly). PR: ports/52798
Notes
Notes: svn path=/head/; revision=81928
Diffstat (limited to 'mail/imap-uw')
-rw-r--r--mail/imap-uw/Makefile1
-rw-r--r--mail/imap-uw/files/patch-ah11
-rw-r--r--mail/imap-uw/pkg-message8
3 files changed, 15 insertions, 5 deletions
diff --git a/mail/imap-uw/Makefile b/mail/imap-uw/Makefile
index adcbe92ce95b..2a2705b9ae66 100644
--- a/mail/imap-uw/Makefile
+++ b/mail/imap-uw/Makefile
@@ -7,6 +7,7 @@
PORTNAME= imap
PORTVERSION= 2002c1
+PORTREVISION= 1
PORTEPOCH= 1
CATEGORIES= mail
MASTER_SITES= ftp://ftp.cac.washington.edu/imap/%SUBDIR%/ \
diff --git a/mail/imap-uw/files/patch-ah b/mail/imap-uw/files/patch-ah
index a5375f3474aa..e51bdbc222bd 100644
--- a/mail/imap-uw/files/patch-ah
+++ b/mail/imap-uw/files/patch-ah
@@ -1,5 +1,5 @@
--- src/ipopd/ipop3d.c.orig Fri Jan 17 18:17:58 2003
-+++ src/ipopd/ipop3d.c Mon May 19 22:18:28 2003
++++ src/ipopd/ipop3d.c Mon Jun 2 02:47:10 2003
@@ -28,6 +28,11 @@
#include <time.h>
#include "c-client.h"
@@ -80,6 +80,15 @@
/* Main program */
int main (int argc,char *argv[])
+@@ -101,7 +158,7 @@
+ (((s = strrchr (argv[0],'/')) || (s = strrchr (argv[0],'\\'))) ?
+ s+1 : argv[0]) : "ipop3d";
+ /* set service name before linkage */
+- mail_parameters (NIL,SET_SERVICENAME,(void *) "pop");
++ mail_parameters (NIL,SET_SERVICENAME,(void *) "pop3");
+ #include "linkage.c"
+ /* initialize server */
+ server_init (pgmname,"pop3","pop3s",clkint,kodint,hupint,trmint);
@@ -209,9 +266,13 @@
syslog (LOG_INFO,"AUTHENTICATE %s failure host=%.80s",s,
tcp_clienthost ());
diff --git a/mail/imap-uw/pkg-message b/mail/imap-uw/pkg-message
index a7bcef771cb3..cfda7e555fc0 100644
--- a/mail/imap-uw/pkg-message
+++ b/mail/imap-uw/pkg-message
@@ -10,11 +10,11 @@ something like the following lines to /etc/pam.conf (PAM authentication is
default):
imap auth required pam_unix.so
-imap account required pam_unix.so try_first_pass
-imap session required pam_deny.so
+imap account required pam_unix.so
+imap session required pam_unix.so
pop3 auth required pam_unix.so
-pop3 account required pam_unix.so try_first_pass
-pop3 session required pam_deny.so
+pop3 account required pam_unix.so
+pop3 session required pam_unix.so
The pam_unix module does not have session support, so we do not use it for
session management. Be sure to read up on pam.conf(5).