diff options
author | Pete Fritchman <petef@FreeBSD.org> | 2001-10-05 08:28:52 +0000 |
---|---|---|
committer | Pete Fritchman <petef@FreeBSD.org> | 2001-10-05 08:28:52 +0000 |
commit | a88be6b77ce4bc062da0973d4fe1681515fe2ecf (patch) | |
tree | 233db9c780b573d40e10feaf7c787006c7cb4141 /mail/imap-uw | |
parent | avoid running autoconf. (diff) |
- Upgrade to imap-2001.FINAL
- Install additional cclient header files
- Move SSL dependency generation for cclient to post-build
- Bump PORTEPOCH
- Removed -drac PKGNAMESUFFIX,more confusion than extra info
- Remove futile build of imapd/ipop3d/ipop2d in cclient, and libc-client4.a
in the imap-uw port.
- Respect CFLAGS and CC
PR: 30954
Submitted by: maintainer
Notes
Notes:
svn path=/head/; revision=48462
Diffstat (limited to 'mail/imap-uw')
-rw-r--r-- | mail/imap-uw/Makefile | 13 | ||||
-rw-r--r-- | mail/imap-uw/distinfo | 2 | ||||
-rw-r--r-- | mail/imap-uw/files/patch-ac | 29 | ||||
-rw-r--r-- | mail/imap-uw/files/patch-ad | 23 | ||||
-rw-r--r-- | mail/imap-uw/files/patch-af | 17 | ||||
-rw-r--r-- | mail/imap-uw/files/patch-ag | 14 | ||||
-rw-r--r-- | mail/imap-uw/files/patch-ah | 6 | ||||
-rw-r--r-- | mail/imap-uw/files/patch-ai | 13 |
8 files changed, 61 insertions, 56 deletions
diff --git a/mail/imap-uw/Makefile b/mail/imap-uw/Makefile index cbff09ca4c77..c979923c3afd 100644 --- a/mail/imap-uw/Makefile +++ b/mail/imap-uw/Makefile @@ -6,7 +6,8 @@ # PORTNAME= imap -PORTVERSION= 0106191041 +PORTVERSION= 2001 +PORTEPOCH= 1 CATEGORIES= mail MASTER_SITES= ftp://ftp.cac.washington.edu/imap/%SUBDIR%/ \ ftp://ftp.nuug.no/pub/anders/distfiles/%SUBDIR%/ \ @@ -15,12 +16,8 @@ MASTER_SITES= ftp://ftp.cac.washington.edu/imap/%SUBDIR%/ \ http://mirror.nucba.ac.jp/mirror/imap/%SUBDIR%/ \ ftp://ftp.uni-halle.de/pub/mail/pine/%SUBDIR%/ MASTER_SITE_SUBDIR= . old -.if defined(WITH_DRAC) -PKGNAMESUFFIX= -uw-drac -.else PKGNAMESUFFIX= -uw -.endif -DISTNAME= imap-2001.BETA.SNAP-${PORTVERSION} +DISTNAME= imap-2001.FINAL DISTFILES= ${DISTNAME}.tar.Z imap-utils.tar.Z MAINTAINER= anders@fix.no @@ -30,6 +27,8 @@ LIB_DEPENDS= c-client4.8:${PORTSDIR}/mail/cclient BUILD_DEPENDS= ${LOCALBASE}/lib/libdrac.a:${PORTSDIR}/mail/drac .endif +WRKSRC= ${WRKDIR}/imap-2001.RELEASE-CANDIDATE.1 + MAN8= ipopd.8 imapd.8 ALL_TARGET= bsf @@ -121,7 +120,7 @@ post-install: .endif .if defined(WITH_SSL) @${ECHO} "To create and install a new SSL certificate for imapd and ipop3d, type \"make" - @${ECHO} "cert\"." + @${ECHO} "cert\". Or install manually in ${PREFIX}/certs." @${ECHO} @${ECHO} "Example inetd config for SSL only services:" @${ECHO} diff --git a/mail/imap-uw/distinfo b/mail/imap-uw/distinfo index 7d4caa97ec3e..9e20987f5241 100644 --- a/mail/imap-uw/distinfo +++ b/mail/imap-uw/distinfo @@ -1,2 +1,2 @@ -MD5 (imap-2001.BETA.SNAP-0106191041.tar.Z) = 119117c9ba437b6de64c68326fe5ddc8 +MD5 (imap-2001.FINAL.tar.Z) = b26456af47ba63c5624d0ed434690e4d MD5 (imap-utils.tar.Z) = a6453029f201b32e9ed761e662c47b0f diff --git a/mail/imap-uw/files/patch-ac b/mail/imap-uw/files/patch-ac index 50817cb5f0fb..2bcc37beb474 100644 --- a/mail/imap-uw/files/patch-ac +++ b/mail/imap-uw/files/patch-ac @@ -1,5 +1,5 @@ ---- src/imapd/Makefile.orig Thu May 10 07:31:46 2001 -+++ src/imapd/Makefile Wed Jun 20 02:29:42 2001 +--- src/imapd/Makefile.orig Thu Jun 28 19:23:36 2001 ++++ src/imapd/Makefile Mon Oct 1 05:00:17 2001 @@ -18,10 +18,10 @@ # CPYRIGHT, included with this Distribution. @@ -24,25 +24,24 @@ # Un-comment this to get somewhat better interoperability with Microsoft -@@ -52,22 +54,25 @@ +@@ -61,22 +63,21 @@ # Get local definitions from c-client directory C = ../c-client -CCLIENTLIB = $C/c-client.a +-CC = `cat $C/CCTYPE` +-CFLAGS = -I$C `cat $C/CFLAGS` $(RFC1730) $(NSBD) $(MSBD) $(ENBD) \ +- -DANOFILE=\"$(ANO)\" -DALERTFILE=\"$(ALERT)\" \ +- -DUSERALERTFILE=\"$(USERALERT)\" -DSHUTDOWNFILE=\"$(SHUTDOWN)\" +-LDFLAGS = $(CCLIENTLIB) `cat $C/LDFLAGS` +#CCLIENTLIB = $C/c-client.a - CC = `cat $C/CCTYPE` --CFLAGS = -I$C `cat $C/CFLAGS` $(RFC1730) $(NSBD) $(MSBD) -DANOFILE=\"$(ANO)\" \ ++CFLAGS+= -DNFSKLUDGE -I$(LOCALBASE)/include/c-client -DANOFILE=\"$(ANO)\" \ ++ -DALERTFILE=\"$(ALERT)\" -DUSERALERTFILE=\"$(USERALERT)\" \ ++ -DSHUTDOWNFILE=\"$(SHUTDOWN)\" ++LDFLAGS+= $(EXTRALDFLAGS) -L$(LOCALBASE)/lib -lc-client4 +.if defined(WITH_DRAC) -+CFLAGS = `cat $C/CFLAGS` -DANOFILE=\"$(ANO)\" -DETC_DIR=\"$(PREFIX)/etc\" \ -+ -DALERTFILE=\"$(ALERT)\" -DUSERALERTFILE=\"$(USERALERT)\" -DDRAC_AUTH \ -+ -DSHUTDOWNFILE=\"$(SHUTDOWN)\" -+LDFLAGS = $(EXTRALDFLAGS) `cat $C/LDFLAGS` -ldrac -+.else -+CFLAGS = `cat $C/CFLAGS` -DANOFILE=\"$(ANO)\" \ - -DALERTFILE=\"$(ALERT)\" -DUSERALERTFILE=\"$(USERALERT)\" \ - -DSHUTDOWNFILE=\"$(SHUTDOWN)\" --LDFLAGS = $(CCLIENTLIB) `cat $C/LDFLAGS` -+LDFLAGS = $(EXTRALDFLAGS) `cat $C/LDFLAGS` ++CFLAGS+= -DETC_DIR=\"$(PREFIX)/etc\" -DDRAC_AUTH ++LDFLAGS+= -ldrac +.endif +CFLAGS+= $(RFC1730) $(NSBD) $(MSBD) diff --git a/mail/imap-uw/files/patch-ad b/mail/imap-uw/files/patch-ad index 4e17c2071d64..4aa7189d9a0d 100644 --- a/mail/imap-uw/files/patch-ad +++ b/mail/imap-uw/files/patch-ad @@ -1,5 +1,5 @@ ---- Makefile.old Thu Nov 2 22:04:11 2000 -+++ Makefile Sun Dec 31 19:06:58 2000 +--- Makefile.orig Tue Jul 3 08:00:09 2001 ++++ Makefile Mon Oct 1 03:27:22 2001 @@ -43,6 +43,7 @@ # art AIX 2.2.1 for RT # asv Altos SVR4 @@ -8,7 +8,7 @@ # bs3 BSD/i386 3.0 and higher # bsd generic BSD 4.3 (as in ancient 1980s version) # bsf FreeBSD -@@ -153,7 +154,7 @@ +@@ -146,7 +147,7 @@ # std system standard (typically passwd file), determined by port # two try alternative (defined by CHECKPWALT), then std @@ -16,8 +16,8 @@ +PASSWDTYPE=pam - # The following extra compilation flags are defined. None of these flags are -@@ -272,12 +273,12 @@ + # SSL type. Defines whether or not SSL support is on this system +@@ -211,12 +212,12 @@ # gradually-increasing intervals, starting at 2800-2900, and becoming # permanent at 48,300. @@ -32,7 +32,7 @@ # Special make flags (e.g. to override make environment variables) -@@ -314,13 +315,7 @@ +@@ -256,13 +257,7 @@ # Make the IMAP Toolkit @@ -43,7 +43,16 @@ - @echo the system type so that the sources are properly processed. - @false - -+all: rebuild bundled ++all: bundled # Note on SCO you may have to set LN to "ln". +@@ -367,7 +362,7 @@ + $(TOOLS)/$@ "$(LN)" src/imapd imapd + $(LN) $(TOOLS)/$@ . + +-build: OSTYPE rebuild rebuildclean bundled ++build: bundled + + OSTYPE: + @echo Building c-client for $(BUILDTYPE)... diff --git a/mail/imap-uw/files/patch-af b/mail/imap-uw/files/patch-af index 57e198d8d29d..2464eff218fd 100644 --- a/mail/imap-uw/files/patch-af +++ b/mail/imap-uw/files/patch-af @@ -1,6 +1,6 @@ ---- src/ipopd/Makefile.old Wed Oct 25 01:55:07 2000 -+++ src/ipopd/Makefile Sun Dec 31 18:23:16 2000 -@@ -19,29 +19,27 @@ +--- src/ipopd/Makefile.orig Wed Oct 25 01:55:07 2000 ++++ src/ipopd/Makefile Mon Oct 1 03:44:26 2001 +@@ -19,29 +19,25 @@ C = ../c-client @@ -10,15 +10,14 @@ # Get local definitions from c-client directory - CC = `cat $C/CCTYPE` +-CC = `cat $C/CCTYPE` -CFLAGS = -I$C `cat $C/CFLAGS` -LDFLAGS = $(CCLIENTLIB) `cat $C/LDFLAGS` ++CFLAGS+= -DNFSKLUDGE -I$(LOCALBASE)/include/c-client ++LDFLAGS+= -L$(LOCALBASE)/lib -lc-client4 +.if defined(WITH_DRAC) -+CFLAGS = `cat $C/CFLAGS` -DDRAC_AUTH -DETC_DIR=\"$(PREFIX)/etc\" -+LDFLAGS = `cat $C/LDFLAGS` -ldrac -+.else -+CFLAGS = `cat $C/CFLAGS` -+LDFLAGS = `cat $C/LDFLAGS` ++CFLAGS+= -DDRAC_AUTH -DETC_DIR=\"$(PREFIX)/etc\" ++LDFLAGS+= -ldrac +.endif ipopd: ipop2d ipop3d diff --git a/mail/imap-uw/files/patch-ag b/mail/imap-uw/files/patch-ag index d21bfc9e34ee..041d6a63b98e 100644 --- a/mail/imap-uw/files/patch-ag +++ b/mail/imap-uw/files/patch-ag @@ -1,21 +1,19 @@ ---- src/mtest/Makefile.orig Tue Apr 14 15:42:04 1998 -+++ src/mtest/Makefile Fri Jul 7 00:28:59 2000 -@@ -32,24 +32,20 @@ +--- src/mtest/Makefile.orig Wed Oct 25 01:55:39 2000 ++++ src/mtest/Makefile Mon Oct 1 03:42:11 2001 +@@ -19,24 +19,17 @@ C = ../c-client -CCLIENTLIB = $C/c-client.a -+#CCLIENTLIB = $C/c-client.a SHELL = /bin/sh # Get local definitions from c-client directory - CC = `cat $C/CCTYPE` +-CC = `cat $C/CCTYPE` -CFLAGS = -I$C `cat $C/CFLAGS` -LDFLAGS = $(CCLIENTLIB) `cat $C/LDFLAGS` -+CFLAGS = `cat $C/CFLAGS` -+LDFLAGS = `cat $C/LDFLAGS` -+ ++CFLAGS+= -DNFSKLUDGE -I$(LOCALBASE)/include/c-client ++LDFLAGS+= -L$(LOCALBASE)/lib -lc-client4 all: mtest diff --git a/mail/imap-uw/files/patch-ah b/mail/imap-uw/files/patch-ah index 0deadaf20155..3fd5bc6471b4 100644 --- a/mail/imap-uw/files/patch-ah +++ b/mail/imap-uw/files/patch-ah @@ -1,5 +1,5 @@ ---- src/ipopd/ipop3d.c.orig Tue Apr 24 01:31:57 2001 -+++ src/ipopd/ipop3d.c Tue Apr 24 01:34:34 2001 +--- src/ipopd/ipop3d.c.orig Mon Oct 1 02:53:55 2001 ++++ src/ipopd/ipop3d.c Mon Oct 1 02:56:46 2001 @@ -28,6 +28,11 @@ #include <time.h> #include "c-client.h" @@ -22,7 +22,7 @@ +extern char *getenv (); +#endif /* DRAC_AUTH */ + - char *version = "2001.76"; /* server version */ + char *version = "2001.77"; /* server version */ short state = AUTHORIZATION; /* server state */ short critical = NIL; /* non-zero if in critical code */ @@ -100,7 +111,7 @@ diff --git a/mail/imap-uw/files/patch-ai b/mail/imap-uw/files/patch-ai index 2bd82c7ea076..4eddf7323157 100644 --- a/mail/imap-uw/files/patch-ai +++ b/mail/imap-uw/files/patch-ai @@ -1,6 +1,6 @@ ---- src/imapd/imapd.c.orig Wed Jun 20 01:57:16 2001 -+++ src/imapd/imapd.c Wed Jun 20 02:01:00 2001 -@@ -29,6 +29,11 @@ +--- src/imapd/imapd.c.orig Mon Oct 1 02:51:23 2001 ++++ src/imapd/imapd.c Mon Oct 1 02:52:59 2001 +@@ -29,6 +29,12 @@ #include "c-client.h" #include <sys/stat.h> @@ -9,10 +9,11 @@ +#include <arpa/inet.h> +#include <stdlib.h> +#endif /* DRAC_AUTH */ ++ #define CRLF PSOUT ("\015\012") /* primary output terpri */ -@@ -173,6 +178,12 @@ +@@ -173,6 +179,12 @@ /* Global storage */ @@ -22,10 +23,10 @@ +extern char *getenv (); +#endif /* DRAC_AUTH */ + - char *version = "2001.307"; /* version number of this server */ + char *version = "2001.313"; /* version number of this server */ time_t alerttime = 0; /* time of last alert */ time_t sysalerttime = 0; /* time of last system alert */ -@@ -1169,6 +1180,45 @@ +@@ -1229,6 +1241,45 @@ lasterror ()); return; } |