aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authoranders <anders@FreeBSD.org>2003-06-02 04:49:37 +0800
committeranders <anders@FreeBSD.org>2003-06-02 04:49:37 +0800
commitd8d0c68e4f36898ca95a6331894a878f3557ccdf (patch)
treef0696ebd3371552c66bce10113ea93c1b36523fe
parent0094c2d995fb131a4a5f6756446ab73b7a28103e (diff)
downloadfreebsd-ports-gnome-d8d0c68e4f36898ca95a6331894a878f3557ccdf.tar.gz
freebsd-ports-gnome-d8d0c68e4f36898ca95a6331894a878f3557ccdf.tar.zst
freebsd-ports-gnome-d8d0c68e4f36898ca95a6331894a878f3557ccdf.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
-rw-r--r--mail/cclient/Makefile1
-rw-r--r--mail/imap-uw/Makefile1
-rw-r--r--mail/imap-uw/files/patch-ah11
-rw-r--r--mail/imap-uw/pkg-message8
4 files changed, 16 insertions, 5 deletions
diff --git a/mail/cclient/Makefile b/mail/cclient/Makefile
index 25b6fb514af9..bcfd3723ec36 100644
--- a/mail/cclient/Makefile
+++ b/mail/cclient/Makefile
@@ -7,6 +7,7 @@
PORTNAME= cclient
PORTVERSION= 2002c1
+PORTREVISION= 1
PORTEPOCH= 1
CATEGORIES= mail devel
MASTER_SITES= ftp://ftp.cac.washington.edu/imap/%SUBDIR%/ \
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).