aboutsummaryrefslogtreecommitdiff
path: root/mail/imap-uw/files
diff options
context:
space:
mode:
authorDirk Froemberg <dirk@FreeBSD.org>2001-04-16 18:49:39 +0000
committerDirk Froemberg <dirk@FreeBSD.org>2001-04-16 18:49:39 +0000
commitabdbcb5f1edc5e419f7737e78a84a31bfa37a4a7 (patch)
tree82c95fe97909b3fe64bca3776c69a6fc9d778cd6 /mail/imap-uw/files
parent24ca44dfa7c954518ec8926023458bc0f9e16eca (diff)
downloadports-abdbcb5f1edc5e419f7737e78a84a31bfa37a4a7.tar.gz
ports-abdbcb5f1edc5e419f7737e78a84a31bfa37a4a7.zip
Notes
Diffstat (limited to 'mail/imap-uw/files')
-rw-r--r--mail/imap-uw/files/imap-uw.cnf34
-rw-r--r--mail/imap-uw/files/patch-ab38
-rw-r--r--mail/imap-uw/files/patch-ah6
-rw-r--r--mail/imap-uw/files/patch-ai15
4 files changed, 63 insertions, 30 deletions
diff --git a/mail/imap-uw/files/imap-uw.cnf b/mail/imap-uw/files/imap-uw.cnf
new file mode 100644
index 000000000000..06610801707b
--- /dev/null
+++ b/mail/imap-uw/files/imap-uw.cnf
@@ -0,0 +1,34 @@
+HOME= .
+RANDFILE = $ENV::HOME/.rnd
+
+[ req ]
+default_bits = 1024
+encrypt_key = yes
+distinguished_name = req_dn
+x509_extensions = cert_type
+
+[ req_dn ]
+countryName = Country Name (2 letter code)
+countryName_default = NO
+countryName_min = 2
+countryName_max = 2
+
+stateOrProvinceName = State or Province Name (full name)
+stateOrProvinceName_default = Some-State
+
+localityName = Locality Name (eg, city)
+
+0.organizationName = Organization Name (eg, company)
+0.organizationName_default = FooBar Inc.
+
+organizationalUnitName = Organizational Unit Name (eg, section)
+#organizationalUnitName_default =
+
+0.commonName = Common Name (FQDN of your server)
+
+1.commonName = Common Name (default)
+1.commonName_value = localhost
+
+[ cert_type ]
+nsCertType = server
+
diff --git a/mail/imap-uw/files/patch-ab b/mail/imap-uw/files/patch-ab
index 7cdf3f8c8439..43d26fb58aef 100644
--- a/mail/imap-uw/files/patch-ab
+++ b/mail/imap-uw/files/patch-ab
@@ -1,13 +1,6 @@
---- src/osdep/unix/Makefile.orig Thu Apr 5 00:45:53 2001
-+++ src/osdep/unix/Makefile Tue Apr 10 01:13:38 2001
-@@ -22,16 +22,16 @@
-
- EXTRAAUTHENTICATORS=
- EXTRADRIVERS=mbox
--PASSWDTYPE=std
-+PASSWDTYPE=pam
- SSLTYPE=none
-
+--- src/osdep/unix/Makefile.orig Wed Apr 11 00:02:06 2001
++++ src/osdep/unix/Makefile Sat Apr 14 03:20:57 2001
+@@ -28,12 +28,12 @@
# Extended flags needed for SSL. You may need to modify.
@@ -20,14 +13,26 @@
+SSLINCLUDE=$(OPENSSLINC)
+SSLLIB=$(OPENSSLLIB)
- SSLCRYPTO=-lcrypto
+-SSLCRYPTO=-lcrypto
++SSLCRYPTO=-lcrypto -lcrypt
+
+ # Older versions of MIT Kerberos also have a libcrypto. If so, you may need
+ # to use this instead
+@@ -46,7 +46,7 @@
+
+ SSLCFLAGS= -I$(SSLINCLUDE) -I$(SSLINCLUDE)/openssl\
+ -DSSL_CERT_DIRECTORY=\"$(SSLCERTS)\"
+-SSLLDFLAGS= -L$(SSLLIB) -lssl $(SSLCRYPTO) $(SSLRSA)
++SSLLDFLAGS= # -L$(SSLLIB) -lssl $(SSLCRYPTO) $(SSLRSA)
+
+ # Extended flags needed for non-standard passwd types. You may need to modify.
@@ -60,7 +60,7 @@
# AFSLDFLAGS may also need -L/usr/ucblib -lucb
DCECFLAGS= -DDCE_MINIMAL -DPASSWD_OVERRIDE=\"/opt/pop3/passwd/passwd\"
DCELDFLAGS= -ldce
-PAMLDFLAGS= -lpam -ldl
-+PAMLDFLAGS= -lpam
++PAMLDFLAGS= # -lpam -lcrypt
# Build parameters normally set by the individual port
@@ -65,12 +70,7 @@
bs3: # BSD/i386 3.0 or higher
$(BUILD) `$(CAT) SPECIALS` OS=bsi \
CHECKPW=bsi LOGINPW=bsi CRXTYPE=nfs \
-@@ -213,12 +222,13 @@
-
- bsf: # FreeBSD
- $(BUILD) `$(CAT) SPECIALS` OS=$@ \
-- SIGTYPE=psx CRXTYPE=nfs \
-+ SIGTYPE=psx CRXTYPE=nfs CHECKPW=pam \
+@@ -217,8 +226,9 @@
SPOOLDIR=/var \
ACTIVEFILE=/usr/local/news/lib/active \
RSHPATH=/usr/bin/rsh \
@@ -78,7 +78,7 @@
- BASELDFLAGS="-lcrypt"
+ LOCKPGM=$(PREFIX)/libexec/mlock \
+ BASECFLAGS="-DNFSKLUDGE" \
-+ BASELDFLAGS="-lpam -lcrypt"
++ BASELDFLAGS=""
bsi: # BSD/i386
$(BUILD) `$(CAT) SPECIALS` OS=$@ \
diff --git a/mail/imap-uw/files/patch-ah b/mail/imap-uw/files/patch-ah
index 11985385b6a8..05b092fcba40 100644
--- a/mail/imap-uw/files/patch-ah
+++ b/mail/imap-uw/files/patch-ah
@@ -1,5 +1,5 @@
---- src/ipopd/ipop3d.c.old Wed Apr 4 00:19:48 2001
-+++ src/ipopd/ipop3d.c Wed Apr 4 00:28:24 2001
+--- src/ipopd/ipop3d.c.orig Wed Feb 21 03:23:01 2001
++++ src/ipopd/ipop3d.c Wed Apr 11 12:02:25 2001
@@ -28,6 +28,11 @@
#include <time.h>
#include "c-client.h"
@@ -50,7 +50,7 @@
+
+ if ( (dracconf = fopen(ETC_DIR "/dracd.host", "r")) == NULL)
+ {
-+ syslog (LOG_INFO, "dracd: error opening /etc/mail/dracd.host config file");
++ syslog (LOG_INFO, "dracd: error opening %s/dracd.host config file",ETC_DIR);
+ exit(1);
+ }
+
diff --git a/mail/imap-uw/files/patch-ai b/mail/imap-uw/files/patch-ai
index 23635849c43e..0639372fd582 100644
--- a/mail/imap-uw/files/patch-ai
+++ b/mail/imap-uw/files/patch-ai
@@ -1,6 +1,6 @@
---- src/imapd/imapd.c.old Tue Apr 10 00:56:28 2001
-+++ src/imapd/imapd.c Tue Apr 10 00:59:08 2001
-@@ -29,6 +29,12 @@
+--- src/imapd/imapd.c.orig Sat Apr 7 00:27:30 2001
++++ src/imapd/imapd.c Wed Apr 11 12:00:44 2001
+@@ -29,6 +29,11 @@
#include "c-client.h"
#include <sys/stat.h>
@@ -9,11 +9,10 @@
+#include <arpa/inet.h>
+#include <stdlib.h>
+#endif /* DRAC_AUTH */
-+
#define CRLF PSOUT ("\015\012") /* primary output terpri */
-@@ -172,6 +178,12 @@
+@@ -173,6 +178,12 @@
/* Global storage */
@@ -23,10 +22,10 @@
+extern char *getenv ();
+#endif /* DRAC_AUTH */
+
- char *version = "2001.298"; /* version number of this server */
+ char *version = "2001.299"; /* version number of this server */
time_t alerttime = 0; /* time of last alert */
time_t sysalerttime = 0; /* time of last system alert */
-@@ -1161,6 +1173,45 @@
+@@ -1161,6 +1172,45 @@
lasterror ());
return;
}
@@ -42,7 +41,7 @@
+
+ if ( (dracconf = fopen(ETC_DIR "/dracd.host", "r")) == NULL)
+ {
-+ syslog (LOG_INFO, "dracd: error opening /etc/mail/dracd.host config file");
++ syslog (LOG_INFO, "dracd: error opening %s/dracd.host config file",ETC_DIR);
+ exit(1);
+ }
+