FreeBSD Bugzilla – Attachment 94133 Details for
Bug 132213
[patch] mail/imap-uw: Add support for ~/mail as default mailbox directory
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
mail-cclient-mailsubdir.diff
mail-cclient-mailsubdir.diff (text/plain), 2.25 KB, created by
Jarrod Sayers
on 2009-03-01 04:30:00 UTC
(
hide
)
Description:
mail-cclient-mailsubdir.diff
Filename:
MIME Type:
Creator:
Jarrod Sayers
Created:
2009-03-01 04:30:00 UTC
Size:
2.25 KB
patch
obsolete
>diff -ruN ports/mail/cclient.orig/Makefile ports/mail/cclient/Makefile >--- ports/mail/cclient.orig/Makefile 2009-02-28 17:56:22.000000000 +1030 >+++ ports/mail/cclient/Makefile 2009-03-01 14:19:40.000000000 +1030 >@@ -7,6 +7,7 @@ > > PORTNAME= cclient > PORTVERSION= 2007e >+PORTREVISION= 1 > PORTEPOCH= 1 > CATEGORIES= mail devel ipv6 > MASTER_SITES= ftp://ftp.cac.washington.edu/imap/%SUBDIR%/ \ >@@ -22,7 +23,8 @@ > OPTIONS= SSL "Compile with SSL support" on \ > SSL_AND_PLAINTEXT "Allow plain text passwords and SSL" off \ > IPV6 "Support IPv6" on \ >- MBX_DEFAULT "Use MBX as default mailbox format" off >+ MBX_DEFAULT "Use MBX as default mailbox format" off \ >+ HOME_MAIL_DIR "Use ~/mail as default mailbox dir" off > > .include <bsd.port.pre.mk> > >@@ -61,6 +63,10 @@ > @${REINPLACE_CMD} -e "s|^CREATEPROTO=unixproto|CREATEPROTO=mbxproto|" \ > ${WRKSRC}/src/osdep/unix/Makefile > .endif >+.if defined(WITH_HOME_MAIL_DIR) >+ @${REINPLACE_CMD} -e "s|\*mailsubdir = NIL;|\*mailsubdir = \"mail\";|" \ >+ ${WRKSRC}/src/osdep/unix/env_unix.c >+.endif > > post-configure: > @${ECHO_MSG} ">> The c-client shared library will be named ${SHLIBNAME}" >diff -ruN ports/mail/imap-uw.orig/Makefile ports/mail/imap-uw/Makefile >--- ports/mail/imap-uw.orig/Makefile 2009-02-28 17:56:42.000000000 +1030 >+++ ports/mail/imap-uw/Makefile 2009-03-01 14:20:47.000000000 +1030 >@@ -7,6 +7,7 @@ > > PORTNAME= imap > PORTVERSION= 2007e >+PORTREVISION= 1 > PORTEPOCH= 1 > CATEGORIES= mail ipv6 > MASTER_SITES= ftp://ftp.cac.washington.edu/imap/%SUBDIR%/ \ >@@ -27,7 +28,8 @@ > OPTIONS= SSL "Compile with SSL support" on \ > SSL_AND_PLAINTEXT "Allow plain text passwords and SSL" off \ > DRAC "Dynamically open MTA for relaying" off \ >- NETSCAPE_BRAIN_DAMAGE "See Makefile for documentation" off >+ NETSCAPE_BRAIN_DAMAGE "See Makefile for documentation" off \ >+ HOME_MAIL_DIR "Use ~/mail as default mailbox dir" off > > .include <bsd.port.pre.mk> > >@@ -60,6 +62,12 @@ > .endif > # See src/imapd/Makefile for more information about these three options. > >+post-patch: >+.if defined(WITH_HOME_MAIL_DIR) >+ @${REINPLACE_CMD} -e "s|\*mailsubdir = NIL;|\*mailsubdir = \"mail\";|" \ >+ ${WRKSRC}/src/osdep/unix/env_unix.c >+.endif >+ > pre-build: > @${SH} ${PKGREQ}.rev ${LOCALBASE}/include/c-client/portrevision.h ${PORTVERSION} > .if !defined(WITHOUT_SSL)
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 132213
: 94133