Update to latest version and take maintainership, comments or ok ?
Cheers
Giovanni
Index: Makefile
===================================================================
RCS file: /cvs/ports/mail/maildrop/Makefile,v
retrieving revision 1.48
diff -u -p -u -p -r1.48 Makefile
--- Makefile 7 Nov 2013 07:09:00 -0000 1.48
+++ Makefile 30 Apr 2014 17:31:25 -0000
@@ -3,32 +3,35 @@
COMMENT-main= mail delivery agent with filtering abilities
COMMENT-utils= quota tools for the Courier mail suite
-V= 2.5.5
+V= 2.7.1
DISTNAME= maildrop-$V
PKGNAME-main= maildrop-${V}
FULLPKGNAME-utils= courier-utils-$V
FULLPKGPATH-utils= mail/maildrop,-utils
CATEGORIES= mail
-REVISION-main= 1
-REVISION-utils= 0
-
HOMEPAGE= http://www.courier-mta.org/maildrop/
+MAINTAINER= Giovanni Bechis <[email protected]>
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=courier/}
EXTRACT_SUFX= .tar.bz2
-FLAVORS= postfix
+FLAVORS= postfix no_trashquota
FLAVOR?=
MULTI_PACKAGES= -main -utils
-
# GPLv3
PERMIT_PACKAGE_CDROM= Yes
CONFIGURE_STYLE= gnu
CONFIGURE_ENV= LDFLAGS="-L${LOCALBASE}/lib" \
+ CPPFLAGS="${CFLAGS:C/ *$//} -I${LOCALBASE}/include" \
+ ac_cv_header_fam_h=no \
+ ac_cv_lib_fam_FAMOpen=no \
+ ac_cv_lib_db_dbopen=no \
+ ac_cv_func_dbopen=no
+MAKE_ENV= INCLUDES="-I${LOCALBASE}/include" \
CPPFLAGS="-I${LOCALBASE}/include" \
ac_cv_header_fam_h=no ac_cv_lib_fam_FAMOpen=no
@@ -60,9 +63,9 @@ DOCFILES= ${WRKSRC}/README \
${WRKSRC}/UPGRADE \
${WRKSRC}/README.postfix \
${WRKSRC}/maildroptips.txt \
- ${WRKSRC}/maildir/README.sharedfolders.txt \
- ${WRKSRC}/maildir/README.maildirquota.txt \
- ${WRKSRC}/maildir/quotawarnmsg
+ ${WRKSRC}/libs/maildir/README.sharedfolders.txt \
+ ${WRKSRC}/libs/maildir/README.maildirquota.txt \
+ ${WRKSRC}/libs/maildir/quotawarnmsg
.if ${FLAVOR:Mpostfix}
@@ -76,6 +79,12 @@ CONFIGURE_ARGS+= --enable-trusted-users=
CONFIGURE_ARGS+= --enable-trusted-groups="wheel _courier"
.endif
+.if ${FLAVOR:Mno_trashquota}
+CONFIGURE_ARGS+= --without-trashquota
+.else
+CONFIGURE_ARGS+= --with-trashquota
+.endif
+
MODULES= devel/gettext
LIB_DEPENDS= devel/libidn
@@ -88,6 +97,9 @@ LIB_DEPENDS-main= ${LIB_DEPENDS} \
devel/pcre \
mail/courier-authlib
+USE_GROFF= Yes
+USE_LIBTOOL= Yes
+
post-install:
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/maildrop
@for i in ${DOCFILES}; do \
@@ -95,7 +107,7 @@ post-install:
${INSTALL_DATA} $$i ${PREFIX}/share/doc/maildrop ;\
fi \
done
- ${INSTALL_DATA} ${WRKSRC}/unicode/README \
+ ${INSTALL_DATA} ${WRKSRC}/libs/unicode/README \
${PREFIX}/share/doc/maildrop/README.unicode.txt
.include <bsd.port.mk>
Index: distinfo
===================================================================
RCS file: /cvs/ports/mail/maildrop/distinfo,v
retrieving revision 1.15
diff -u -p -u -p -r1.15 distinfo
--- distinfo 4 Sep 2012 11:33:35 -0000 1.15
+++ distinfo 30 Apr 2014 17:31:25 -0000
@@ -1,2 +1,2 @@
-SHA256 (maildrop-2.5.5.tar.bz2) = dIQ4KFIHX0UoUKCCRUyMR6ZdUvAP5k4LGmPtfM8lKIw=
-SIZE (maildrop-2.5.5.tar.bz2) = 2158846
+SHA256 (maildrop-2.7.1.tar.bz2) = /hw1KMUn46W/5EsudDeRK/VaWCn65EIlU0estKHK6xs=
+SIZE (maildrop-2.7.1.tar.bz2) = 2211838
Index: patches/patch-liblock_locktest_c
===================================================================
RCS file: patches/patch-liblock_locktest_c
diff -N patches/patch-liblock_locktest_c
--- patches/patch-liblock_locktest_c 17 Mar 2013 19:37:36 -0000 1.2
+++ /dev/null 1 Jan 1970 00:00:00 -0000
@@ -1,85 +0,0 @@
-$OpenBSD: patch-liblock_locktest_c,v 1.2 2013/03/17 19:37:36 rpe Exp $
-
-mktemp change
-
---- liblock/locktest.c.orig Mon Dec 6 11:18:55 1999
-+++ liblock/locktest.c Sat Jan 7 20:36:26 2006
-@@ -5,6 +5,7 @@
-
- /* $Id */
-
-+#include <paths.h>
- #include "liblock.h"
- #if USE_FCNTL
- #include "lockfcntl.c"
-@@ -20,11 +21,23 @@
-
- int main()
- {
-+#define FILENAME "maildrop.locktest.XXXXXXXXXX"
- int fd[2];
- pid_t p;
- int s;
- int f;
-
-+ char *name;
-+ const char *tmpdir;
-+ if ((tmpdir = (char *)getenv("TMPDIR")) == NULL)
-+ tmpdir = _PATH_TMP;
-+ (void)asprintf(&name, "%s%s%s", tmpdir,
-+ (tmpdir[strlen(tmpdir) - 1] == '/') ? "" : "/", FILENAME);
-+ if (name == NULL) {
-+ perror("get filename");
-+ exit(1);
-+ }
-+
- signal(SIGCHLD, SIG_DFL);
- if (pipe(fd))
- {
-@@ -32,6 +45,12 @@ int f;
- return (1);
- }
-
-+ if ((f=mkstemp(name)) < 0)
-+ {
-+ perror("open");
-+ exit(1);
-+ }
-+
- if ((p=fork()) == (pid_t)-1)
- {
- perror("fork");
-@@ -46,7 +65,7 @@ int f;
- read(fd[0], &c, 1);
- close(fd[0]);
-
-- if ((f=open("conftest.lock", O_RDWR|O_CREAT, 0644)) < 0)
-+ if ((f=open(name, O_RDWR)) < 0)
- {
- perror("open");
- exit(1);
-@@ -56,22 +75,18 @@ int f;
- if (ll_lockfd(f, ll_writelock, 0, 0))
- {
- close(f);
-+ unlink(name);
- exit(0);
- }
- close(f);
- exit(1);
- }
--
-- if ((f=open("conftest.lock", O_RDWR|O_CREAT, 0644)) < 0)
-- {
-- perror("open");
-- exit(1);
-- }
-
- if (ll_lockfd(f, ll_writelock, 0, 0))
- {
- perror("lock");
- close(f);
-+ unlink(name);
- exit(1);
- }
- close(fd[1]);
Index: patches/patch-libs_liblock_locktest_c
===================================================================
RCS file: patches/patch-libs_liblock_locktest_c
diff -N patches/patch-libs_liblock_locktest_c
--- /dev/null 1 Jan 1970 00:00:00 -0000
+++ patches/patch-libs_liblock_locktest_c 30 Apr 2014 17:31:25 -0000
@@ -0,0 +1,82 @@
+$OpenBSD$
+--- libs/liblock/locktest.c.orig Sun Aug 25 20:54:20 2013
++++ libs/liblock/locktest.c Fri Oct 4 15:32:45 2013
+@@ -5,6 +5,7 @@
+
+ /* $Id */
+
++#include <paths.h>
+ #include "liblock.h"
+ #if USE_FCNTL
+ #include "lockfcntl.c"
+@@ -20,11 +21,23 @@
+
+ int main()
+ {
++#define FILENAME "maildrop.locktest.XXXXXXXXXX"
+ int fd[2];
+ pid_t p;
+ int s;
+ int f;
+
++ char *name;
++ const char *tmpdir;
++ if ((tmpdir = (char *)getenv("TMPDIR")) == NULL)
++ tmpdir = _PATH_TMP;
++ (void)asprintf(&name, "%s%s%s", tmpdir,
++ (tmpdir[strlen(tmpdir) - 1] == '/') ? "" : "/", FILENAME);
++ if (name == NULL) {
++ perror("get filename");
++ exit(1);
++ }
++
+ signal(SIGCHLD, SIG_DFL);
+ if (pipe(fd))
+ {
+@@ -32,6 +45,12 @@ int f;
+ return (1);
+ }
+
++ if ((f=mkstemp(name)) < 0)
++ {
++ perror("open");
++ exit(1);
++ }
++
+ if ((p=fork()) == (pid_t)-1)
+ {
+ perror("fork");
+@@ -46,7 +65,7 @@ int f;
+ read(fd[0], &c, 1);
+ close(fd[0]);
+
+- if ((f=open("conftest.lock", O_RDWR|O_CREAT, 0644)) < 0)
++ if ((f=open(name, O_RDWR)) < 0)
+ {
+ perror("open");
+ exit(1);
+@@ -56,22 +75,18 @@ int f;
+ if (ll_lockfd(f, ll_writelock, 0, 0))
+ {
+ close(f);
++ unlink(name);
+ exit(0);
+ }
+ close(f);
+ exit(1);
+ }
+-
+- if ((f=open("conftest.lock", O_RDWR|O_CREAT, 0644)) < 0)
+- {
+- perror("open");
+- exit(1);
+- }
+
+ if (ll_lockfd(f, ll_writelock, 0, 0))
+ {
+ perror("lock");
+ close(f);
++ unlink(name);
+ exit(1);
+ }
+ close(fd[1]);
Index: patches/patch-libs_maildir_Makefile_am
===================================================================
RCS file: patches/patch-libs_maildir_Makefile_am
diff -N patches/patch-libs_maildir_Makefile_am
--- /dev/null 1 Jan 1970 00:00:00 -0000
+++ patches/patch-libs_maildir_Makefile_am 30 Apr 2014 17:31:25 -0000
@@ -0,0 +1,24 @@
+$OpenBSD$
+--- libs/maildir/Makefile.am.orig Thu Aug 29 14:29:15 2013
++++ libs/maildir/Makefile.am Fri Oct 4 15:33:07 2013
+@@ -119,16 +119,16 @@ mailbot.h: config.status
+ echo '#define MAILBOT "@MAILBOT@"' >mailbot.h
+
+ maildirsharedrc.h: config.status
+- echo '#define MAILDIRSHAREDRC "$(sysconfdir)/maildirshared"' >maildirsharedrc.h
++ echo '#define MAILDIRSHAREDRC "$(sysconfdir)/maildrop/maildirshared"' >maildirsharedrc.h
+
+ maildirfilterconfig.h: config.status
+- echo '#define MAILDIRFILTERCONFIG "$(sysconfdir)/maildirfilterconfig"' >maildirfilterconfig.h
++ echo '#define MAILDIRFILTERCONFIG "$(sysconfdir)/maildrop/maildirfilterconfig"' >maildirfilterconfig.h
+
+ autoresponsequota.h: config.status
+- echo '#define AUTORESPONSEQUOTA "$(sysconfdir)/autoresponsesquota"' >autoresponsequota.h
++ echo '#define AUTORESPONSEQUOTA "$(sysconfdir)/maildrop/autoresponsesquota"' >autoresponsequota.h
+
+ quotawarnmsg.h: config.status
+- echo '#define QUOTAWARNMSG "$(sysconfdir)/quotawarnmsg"' >quotawarnmsg.h
++ echo '#define QUOTAWARNMSG "$(sysconfdir)/maildrop/quotawarnmsg"' >quotawarnmsg.h
+ maildir.libdeps: config.status
+ echo @LIBFAM@ >maildir.libdeps
+
Index: patches/patch-libs_maildir_Makefile_in
===================================================================
RCS file: patches/patch-libs_maildir_Makefile_in
diff -N patches/patch-libs_maildir_Makefile_in
--- /dev/null 1 Jan 1970 00:00:00 -0000
+++ patches/patch-libs_maildir_Makefile_in 30 Apr 2014 17:31:25 -0000
@@ -0,0 +1,24 @@
+$OpenBSD$
+--- libs/maildir/Makefile.in.orig Thu Aug 29 14:31:32 2013
++++ libs/maildir/Makefile.in Fri Oct 4 15:33:09 2013
+@@ -1076,16 +1076,16 @@ mailbot.h: config.status
+ echo '#define MAILBOT "@MAILBOT@"' >mailbot.h
+
+ maildirsharedrc.h: config.status
+- echo '#define MAILDIRSHAREDRC "$(sysconfdir)/maildirshared"' >maildirsharedrc.h
++ echo '#define MAILDIRSHAREDRC "$(sysconfdir)/maildrop/maildirshared"' >maildirsharedrc.h
+
+ maildirfilterconfig.h: config.status
+- echo '#define MAILDIRFILTERCONFIG "$(sysconfdir)/maildirfilterconfig"' >maildirfilterconfig.h
++ echo '#define MAILDIRFILTERCONFIG "$(sysconfdir)/maildrop/maildirfilterconfig"' >maildirfilterconfig.h
+
+ autoresponsequota.h: config.status
+- echo '#define AUTORESPONSEQUOTA "$(sysconfdir)/autoresponsesquota"' >autoresponsequota.h
++ echo '#define AUTORESPONSEQUOTA "$(sysconfdir)/maildrop/autoresponsesquota"' >autoresponsequota.h
+
+ quotawarnmsg.h: config.status
+- echo '#define QUOTAWARNMSG "$(sysconfdir)/quotawarnmsg"' >quotawarnmsg.h
++ echo '#define QUOTAWARNMSG "$(sysconfdir)/maildrop/quotawarnmsg"' >quotawarnmsg.h
+ maildir.libdeps: config.status
+ echo @LIBFAM@ >maildir.libdeps
+
Index: patches/patch-libs_maildrop_configure
===================================================================
RCS file: patches/patch-libs_maildrop_configure
diff -N patches/patch-libs_maildrop_configure
--- /dev/null 1 Jan 1970 00:00:00 -0000
+++ patches/patch-libs_maildrop_configure 30 Apr 2014 17:31:25 -0000
@@ -0,0 +1,22 @@
+$OpenBSD$
+--- libs/maildrop/configure.orig Wed Sep 25 12:55:08 2013
++++ libs/maildrop/configure Fri Oct 4 15:35:48 2013
+@@ -17679,16 +17679,12 @@ fi
+ $as_echo "$maildrop_cv_SYS_INSTALL_RESET_GID" >&6; }
+
+ # Check whether --with-default-maildrop was given.
+-if test "${with_default_maildrop+set}" = set; then :
++if false; then :
+ withval=$with_default_maildrop; maildrop_cv_SYS_INSTALL_MBOXDIR="$withval"
+ else
+ # Courier defaults to ./Maildir
+
+- if test -d $srcdir/../../courier
+- then
+- maildrop_cv_SYS_INSTALL_MBOXDIR=./Maildir
+- fi
+-
++ maildrop_cv_SYS_INSTALL_MBOXDIR=./Maildir
+ fi
+
+
Index: patches/patch-libs_maildrop_deliver_C
===================================================================
RCS file: patches/patch-libs_maildrop_deliver_C
diff -N patches/patch-libs_maildrop_deliver_C
--- /dev/null 1 Jan 1970 00:00:00 -0000
+++ patches/patch-libs_maildrop_deliver_C 30 Apr 2014 17:31:25 -0000
@@ -0,0 +1,36 @@
+$OpenBSD$
+
+maildrop adds a newline to mbox files before delivering new messages.
+This effectively alters the final message in the mbox, causing a
+running mutt (and maybe other MUAs) with that mbox open to freak out
+and lose unsaved state [1]. The maildrop folks prefer to keep this
+(out of spec) behaviour to keep from breaking users working
+configurations as well as to avoid problems caused by other out of
+spec mail delivery agents (which may aberrantly neglect to leave a
+blank line at the end of the mbox) [2].
+
+This patch disables this behaviour of maildrop allowing an MUA to
+gracefully handle the delivery of new mail to an open folder.
+
+[1] http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=132411
+[2] http://markmail.org/message/w5mwn3jpmn3qeo5x
+
+--- libs/maildrop/deliver.C.orig Sun Aug 25 20:54:20 2013
++++ libs/maildrop/deliver.C Fri Oct 4 15:36:27 2013
+@@ -230,15 +230,7 @@ Buffer b;
+ {
+ format_mbox.Init(1);
+
+- if ((stat_buf.st_size > 0 &&
+- mio.write(
+-#if CRLF_TERM
+- "\r\n", 2
+-#else
+- "\n", 1
+-#endif
+- ) < 0) ||
+- format_mbox.DeliverTo(mio))
++ if (format_mbox.DeliverTo(mio))
+ {
+ dotlock.truncate();
+ log(mailbox, -1, format_mbox);
Index: patches/patch-libs_maildrop_maildropfilter_7_in
===================================================================
RCS file: patches/patch-libs_maildrop_maildropfilter_7_in
diff -N patches/patch-libs_maildrop_maildropfilter_7_in
--- /dev/null 1 Jan 1970 00:00:00 -0000
+++ patches/patch-libs_maildrop_maildropfilter_7_in 30 Apr 2014 17:31:25 -0000
@@ -0,0 +1,12 @@
+$OpenBSD$
+--- libs/maildrop/maildropfilter.7.in.orig Thu Aug 29 14:31:35 2013
++++ libs/maildrop/maildropfilter.7.in Fri Oct 4 15:36:35 2013
+@@ -377,7 +377,7 @@ seconds before trying to create its own dot\-lock file
+ .PP
+ \fILOGNAME\fR
+ .RS 4
+-Name of the user to who the message is being delivered\&.
++Name of the user to whom the message is being delivered\&.
+ .RE
+ .PP
+ \fIMAILDROP_OLD_REGEXP\fR
Index: patches/patch-libs_rfc2045_reformime_1
===================================================================
RCS file: patches/patch-libs_rfc2045_reformime_1
diff -N patches/patch-libs_rfc2045_reformime_1
--- /dev/null 1 Jan 1970 00:00:00 -0000
+++ patches/patch-libs_rfc2045_reformime_1 30 Apr 2014 17:31:25 -0000
@@ -0,0 +1,46 @@
+$OpenBSD$
+--- libs/rfc2045/reformime.1.orig Sun Aug 25 21:15:30 2013
++++ libs/rfc2045/reformime.1 Fri Oct 4 15:38:06 2013
+@@ -42,7 +42,7 @@ is a utility for reformatting MIME messages\&.
+ Generally,
+ \fBreformime\fR
+ expects to see an
+-\m[blue]\fBRFC 2045\fR\m[]\&\s-2\u[1]\d\s+2
++\fBRFC 2045\fR\&\s-2\u[1]\d\s+2
+ compliant message on standard input, except in few cases such as the
+ \fB\-m\fR
+ option\&.
+@@ -110,7 +110,7 @@ Arbitrarily complex MIME constructs are possible\&.
+ .PP
+ \-d
+ .RS 4
+-Parse a delivery status notification MIME message (\m[blue]\fBRFC 1894\fR\m[]\&\s-2\u[2]\d\s+2)\&.
++Parse a delivery status notification MIME message (\fBRFC 1894\fR\&\s-2\u[2]\d\s+2)\&.
+ \fBreformime\fR
+ expects to see on standard input a MIME message that consists of a delivery status notification, as defined by RFC 1894\&.
+ \fBreformime\fR
+@@ -170,7 +170,7 @@ MIME message digest\&.
+ \-r
+ .RS 4
+ Rewrite message, adding or standardizing
+-\m[blue]\fBRFC 2045\fR\m[]\&\s-2\u[1]\d\s+2
++\fBRFC 2045\fR\&\s-2\u[1]\d\s+2
+ MIME headers\&.
+ .RE
+ .PP
+@@ -449,11 +449,11 @@ MIME objects\&.
+ .RE
+ .SH "SEE ALSO"
+ .PP
+-\m[blue]\fB\fBreformail\fR(1)\fR\m[]\&\s-2\u[3]\d\s+2,
++\fB\fBreformail\fR(1)\fR\m[]\&\s-2\u[3]\d\s+2,
+ \fBsendmail\fR(8),
+-\m[blue]\fB\fBmailbot\fR(1)\fR\m[]\&\s-2\u[4]\d\s+2,
+-\m[blue]\fB\fBmaildrop\fR(1)\fR\m[]\&\s-2\u[5]\d\s+2,
+-\m[blue]\fB\fBmaildropfilter\fR(5)\fR\m[]\&\s-2\u[6]\d\s+2,
++\fB\fBmailbot\fR(1)\fR\m[]\&\s-2\u[4]\d\s+2,
++\fB\fBmaildrop\fR(1)\fR\m[]\&\s-2\u[5]\d\s+2,
++\fB\fBmaildropfilter\fR(5)\fR\m[]\&\s-2\u[6]\d\s+2,
+ \fBegrep\fR(1),
+ \fBgrep\fR(1),
+ \fBsendmail\fR(8)\&.
Index: patches/patch-maildir_Makefile_am
===================================================================
RCS file: patches/patch-maildir_Makefile_am
diff -N patches/patch-maildir_Makefile_am
--- patches/patch-maildir_Makefile_am 4 Sep 2012 11:33:35 -0000 1.3
+++ /dev/null 1 Jan 1970 00:00:00 -0000
@@ -1,24 +0,0 @@
-$OpenBSD: patch-maildir_Makefile_am,v 1.3 2012/09/04 11:33:35 gonzalo Exp $
---- maildir/Makefile.am.orig Mon Apr 4 12:59:15 2011
-+++ maildir/Makefile.am Mon Sep 3 14:44:36 2012
-@@ -117,16 +117,16 @@ mailbot.h: config.status
- echo '#define MAILBOT "@MAILBOT@"' >mailbot.h
-
- maildirsharedrc.h: config.status
-- echo '#define MAILDIRSHAREDRC "$(sysconfdir)/maildirshared"' >maildirsharedrc.h
-+ echo '#define MAILDIRSHAREDRC "$(sysconfdir)/maildrop/maildirshared"' >maildirsharedrc.h
-
- maildirfilterconfig.h: config.status
-- echo '#define MAILDIRFILTERCONFIG "$(sysconfdir)/maildirfilterconfig"' >maildirfilterconfig.h
-+ echo '#define MAILDIRFILTERCONFIG "$(sysconfdir)/maildrop/maildirfilterconfig"' >maildirfilterconfig.h
-
- autoresponsequota.h: config.status
-- echo '#define AUTORESPONSEQUOTA "$(sysconfdir)/autoresponsesquota"' >autoresponsequota.h
-+ echo '#define AUTORESPONSEQUOTA "$(sysconfdir)/maildrop/autoresponsesquota"' >autoresponsequota.h
-
- quotawarnmsg.h: config.status
-- echo '#define QUOTAWARNMSG "$(sysconfdir)/quotawarnmsg"' >quotawarnmsg.h
-+ echo '#define QUOTAWARNMSG "$(sysconfdir)/maildrop/quotawarnmsg"' >quotawarnmsg.h
- maildir.libdeps: config.status
- echo @LIBFAM@ >maildir.libdeps
-
Index: patches/patch-maildir_Makefile_in
===================================================================
RCS file: patches/patch-maildir_Makefile_in
diff -N patches/patch-maildir_Makefile_in
--- patches/patch-maildir_Makefile_in 4 Sep 2012 11:33:35 -0000 1.5
+++ /dev/null 1 Jan 1970 00:00:00 -0000
@@ -1,24 +0,0 @@
-$OpenBSD: patch-maildir_Makefile_in,v 1.5 2012/09/04 11:33:35 gonzalo Exp $
---- maildir/Makefile.in.orig Sat Nov 12 23:07:11 2011
-+++ maildir/Makefile.in Mon Sep 3 14:44:36 2012
-@@ -928,16 +928,16 @@ mailbot.h: config.status
- echo '#define MAILBOT "@MAILBOT@"' >mailbot.h
-
- maildirsharedrc.h: config.status
-- echo '#define MAILDIRSHAREDRC "$(sysconfdir)/maildirshared"' >maildirsharedrc.h
-+ echo '#define MAILDIRSHAREDRC "$(sysconfdir)/maildrop/maildirshared"' >maildirsharedrc.h
-
- maildirfilterconfig.h: config.status
-- echo '#define MAILDIRFILTERCONFIG "$(sysconfdir)/maildirfilterconfig"' >maildirfilterconfig.h
-+ echo '#define MAILDIRFILTERCONFIG "$(sysconfdir)/maildrop/maildirfilterconfig"' >maildirfilterconfig.h
-
- autoresponsequota.h: config.status
-- echo '#define AUTORESPONSEQUOTA "$(sysconfdir)/autoresponsesquota"' >autoresponsequota.h
-+ echo '#define AUTORESPONSEQUOTA "$(sysconfdir)/maildrop/autoresponsesquota"' >autoresponsequota.h
-
- quotawarnmsg.h: config.status
-- echo '#define QUOTAWARNMSG "$(sysconfdir)/quotawarnmsg"' >quotawarnmsg.h
-+ echo '#define QUOTAWARNMSG "$(sysconfdir)/maildrop/quotawarnmsg"' >quotawarnmsg.h
- maildir.libdeps: config.status
- echo @LIBFAM@ >maildir.libdeps
-
Index: patches/patch-maildrop_Makefile_in
===================================================================
RCS file: patches/patch-maildrop_Makefile_in
diff -N patches/patch-maildrop_Makefile_in
--- patches/patch-maildrop_Makefile_in 4 Sep 2012 11:33:35 -0000 1.4
+++ /dev/null 1 Jan 1970 00:00:00 -0000
@@ -1,12 +0,0 @@
-$OpenBSD: patch-maildrop_Makefile_in,v 1.4 2012/09/04 11:33:35 gonzalo Exp $
---- maildrop/Makefile.in.orig Sat Dec 3 18:26:44 2011
-+++ maildrop/Makefile.in Mon Sep 3 14:44:36 2012
-@@ -145,7 +145,7 @@ AUTOMAKE = @AUTOMAKE@
- AWK = @AWK@
- CC = @CC@
- CCDEPMODE = @CCDEPMODE@
--CFLAGS = @CFLAGS@
-+CFLAGS = @CFLAGS@ -I/usr/local/include
- COURIERAUTHCONFIG = @COURIERAUTHCONFIG@
- CPP = @CPP@
- CPPFLAGS = @CPPFLAGS@
Index: patches/patch-maildrop_configure
===================================================================
RCS file: patches/patch-maildrop_configure
diff -N patches/patch-maildrop_configure
--- patches/patch-maildrop_configure 4 Sep 2012 11:33:35 -0000 1.6
+++ /dev/null 1 Jan 1970 00:00:00 -0000
@@ -1,22 +0,0 @@
-$OpenBSD: patch-maildrop_configure,v 1.6 2012/09/04 11:33:35 gonzalo Exp $
---- maildrop/configure.orig Sat Dec 3 18:26:43 2011
-+++ maildrop/configure Mon Sep 3 14:44:36 2012
-@@ -17536,16 +17536,12 @@ fi
- $as_echo "$maildrop_cv_SYS_INSTALL_RESET_GID" >&6; }
-
- # Check whether --with-default-maildrop was given.
--if test "${with_default_maildrop+set}" = set; then :
-+if false; then :
- withval=$with_default_maildrop; maildrop_cv_SYS_INSTALL_MBOXDIR="$withval"
- else
- # Courier defaults to ./Maildir
-
-- if test -d $srcdir/../courier
-- then
-- maildrop_cv_SYS_INSTALL_MBOXDIR=./Maildir
-- fi
--
-+ maildrop_cv_SYS_INSTALL_MBOXDIR=./Maildir
- fi
-
-
Index: patches/patch-maildrop_deliver_C
===================================================================
RCS file: patches/patch-maildrop_deliver_C
diff -N patches/patch-maildrop_deliver_C
--- patches/patch-maildrop_deliver_C 4 Sep 2012 11:33:35 -0000 1.2
+++ /dev/null 1 Jan 1970 00:00:00 -0000
@@ -1,36 +0,0 @@
-$OpenBSD: patch-maildrop_deliver_C,v 1.2 2012/09/04 11:33:35 gonzalo Exp $
-
-maildrop adds a newline to mbox files before delivering new messages.
-This effectively alters the final message in the mbox, causing a
-running mutt (and maybe other MUAs) with that mbox open to freak out
-and lose unsaved state [1]. The maildrop folks prefer to keep this
-(out of spec) behaviour to keep from breaking users working
-configurations as well as to avoid problems caused by other out of
-spec mail delivery agents (which may aberrantly neglect to leave a
-blank line at the end of the mbox) [2].
-
-This patch disables this behaviour of maildrop allowing an MUA to
-gracefully handle the delivery of new mail to an open folder.
-
-[1] http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=132411
-[2] http://markmail.org/message/w5mwn3jpmn3qeo5x
-
---- maildrop/deliver.C.orig Mon Apr 4 12:58:58 2011
-+++ maildrop/deliver.C Mon Sep 3 14:44:36 2012
-@@ -230,15 +230,7 @@ Buffer b;
- {
- format_mbox.Init(1);
-
-- if ((stat_buf.st_size > 0 &&
-- mio.write(
--#if CRLF_TERM
-- "\r\n", 2
--#else
-- "\n", 1
--#endif
-- ) < 0) ||
-- format_mbox.DeliverTo(mio))
-+ if (format_mbox.DeliverTo(mio))
- {
- dotlock.truncate();
- log(mailbox, -1, format_mbox);
Index: patches/patch-maildrop_maildropfilter_7_in
===================================================================
RCS file: patches/patch-maildrop_maildropfilter_7_in
diff -N patches/patch-maildrop_maildropfilter_7_in
--- patches/patch-maildrop_maildropfilter_7_in 4 Sep 2012 11:33:35 -0000 1.5
+++ /dev/null 1 Jan 1970 00:00:00 -0000
@@ -1,12 +0,0 @@
-$OpenBSD: patch-maildrop_maildropfilter_7_in,v 1.5 2012/09/04 11:33:35 gonzalo Exp $
---- maildrop/maildropfilter.7.in.orig Wed Aug 31 00:29:43 2011
-+++ maildrop/maildropfilter.7.in Mon Sep 3 14:44:36 2012
-@@ -382,7 +382,7 @@ seconds before trying to create its own dot\-lock file
- .PP
- \fILOGNAME\fR
- .RS 4
--Name of the user to who the message is being delivered\&.
-+Name of the user to whom the message is being delivered\&.
- .RE
- .PP
- \fIMAILDROP_OLD_REGEXP\fR
Index: patches/patch-rfc2045_reformime_1
===================================================================
RCS file: patches/patch-rfc2045_reformime_1
diff -N patches/patch-rfc2045_reformime_1
--- patches/patch-rfc2045_reformime_1 4 Sep 2012 11:33:35 -0000 1.3
+++ /dev/null 1 Jan 1970 00:00:00 -0000
@@ -1,46 +0,0 @@
-$OpenBSD: patch-rfc2045_reformime_1,v 1.3 2012/09/04 11:33:35 gonzalo Exp $
---- rfc2045/reformime.1.orig Wed Aug 31 00:29:40 2011
-+++ rfc2045/reformime.1 Mon Sep 3 14:44:36 2012
-@@ -43,7 +43,7 @@ is a utility for reformatting MIME messages\&.
- Generally,
- \fBreformime\fR
- expects to see an
--\m[blue]\fBRFC 2045\fR\m[]\&\s-2\u[1]\d\s+2
-+\fBRFC 2045\fR\&\s-2\u[1]\d\s+2
- compliant message on standard input, except in few cases such as the
- \fB\-m\fR
- option\&.
-@@ -111,7 +111,7 @@ Arbitrarily complex MIME constructs are possible\&.
- .PP
- \-d
- .RS 4
--Parse a delivery status notification MIME message (\m[blue]\fBRFC 1894\fR\m[]\&\s-2\u[2]\d\s+2)\&.
-+Parse a delivery status notification MIME message (\fBRFC 1894\fR\&\s-2\u[2]\d\s+2)\&.
- \fBreformime\fR
- expects to see on standard input a MIME message that consists of a delivery status notification, as defined by RFC 1894\&.
- \fBreformime\fR
-@@ -171,7 +171,7 @@ MIME message digest\&.
- \-r
- .RS 4
- Rewrite message, adding or standardizing
--\m[blue]\fBRFC 2045\fR\m[]\&\s-2\u[1]\d\s+2
-+\fBRFC 2045\fR\&\s-2\u[1]\d\s+2
- MIME headers\&.
- .RE
- .PP
-@@ -452,11 +452,11 @@ MIME objects\&.
- .SH "SEE ALSO"
- .PP
-
--\m[blue]\fB\fBreformail\fR(1)\fR\m[]\&\s-2\u[3]\d\s+2,
-+\fB\fBreformail\fR(1)\fR\&\s-2\u[3]\d\s+2,
- \fBsendmail\fR(8),
--\m[blue]\fB\fBmailbot\fR(1)\fR\m[]\&\s-2\u[4]\d\s+2,
--\m[blue]\fB\fBmaildrop\fR(1)\fR\m[]\&\s-2\u[5]\d\s+2,
--\m[blue]\fB\fBmaildropfilter\fR(5)\fR\m[]\&\s-2\u[6]\d\s+2,
-+\fB\fBmailbot\fR(1)\fR\&\s-2\u[4]\d\s+2,
-+\fB\fBmaildrop\fR(1)\fR\&\s-2\u[5]\d\s+2,
-+\fB\fBmaildropfilter\fR(5)\fR\&\s-2\u[6]\d\s+2,
- \fBegrep\fR(1),
- \fBgrep\fR(1),
- \fBsendmail\fR(8)\&.