head	1.10;
access;
symbols
	pkgsrc-2019Q1:1.9.0.58
	pkgsrc-2019Q1-base:1.9
	pkgsrc-2018Q4:1.9.0.56
	pkgsrc-2018Q4-base:1.9
	pkgsrc-2018Q3:1.9.0.54
	pkgsrc-2018Q3-base:1.9
	pkgsrc-2018Q2:1.9.0.52
	pkgsrc-2018Q2-base:1.9
	pkgsrc-2018Q1:1.9.0.50
	pkgsrc-2018Q1-base:1.9
	pkgsrc-2017Q4:1.9.0.48
	pkgsrc-2017Q4-base:1.9
	pkgsrc-2017Q3:1.9.0.46
	pkgsrc-2017Q3-base:1.9
	pkgsrc-2017Q2:1.9.0.42
	pkgsrc-2017Q2-base:1.9
	pkgsrc-2017Q1:1.9.0.40
	pkgsrc-2017Q1-base:1.9
	pkgsrc-2016Q4:1.9.0.38
	pkgsrc-2016Q4-base:1.9
	pkgsrc-2016Q3:1.9.0.36
	pkgsrc-2016Q3-base:1.9
	pkgsrc-2016Q2:1.9.0.34
	pkgsrc-2016Q2-base:1.9
	pkgsrc-2016Q1:1.9.0.32
	pkgsrc-2016Q1-base:1.9
	pkgsrc-2015Q4:1.9.0.30
	pkgsrc-2015Q4-base:1.9
	pkgsrc-2015Q3:1.9.0.28
	pkgsrc-2015Q3-base:1.9
	pkgsrc-2015Q2:1.9.0.26
	pkgsrc-2015Q2-base:1.9
	pkgsrc-2015Q1:1.9.0.24
	pkgsrc-2015Q1-base:1.9
	pkgsrc-2014Q4:1.9.0.22
	pkgsrc-2014Q4-base:1.9
	pkgsrc-2014Q3:1.9.0.20
	pkgsrc-2014Q3-base:1.9
	pkgsrc-2014Q2:1.9.0.18
	pkgsrc-2014Q2-base:1.9
	pkgsrc-2014Q1:1.9.0.16
	pkgsrc-2014Q1-base:1.9
	pkgsrc-2013Q4:1.9.0.14
	pkgsrc-2013Q4-base:1.9
	pkgsrc-2013Q3:1.9.0.12
	pkgsrc-2013Q3-base:1.9
	pkgsrc-2013Q2:1.9.0.10
	pkgsrc-2013Q2-base:1.9
	pkgsrc-2013Q1:1.9.0.8
	pkgsrc-2013Q1-base:1.9
	pkgsrc-2012Q4:1.9.0.6
	pkgsrc-2012Q4-base:1.9
	pkgsrc-2012Q3:1.9.0.4
	pkgsrc-2012Q3-base:1.9
	pkgsrc-2012Q2:1.9.0.2
	pkgsrc-2012Q2-base:1.9
	pkgsrc-2012Q1:1.8.0.16
	pkgsrc-2012Q1-base:1.8
	pkgsrc-2011Q4:1.8.0.14
	pkgsrc-2011Q4-base:1.8
	pkgsrc-2011Q3:1.8.0.12
	pkgsrc-2011Q3-base:1.8
	pkgsrc-2011Q2:1.8.0.10
	pkgsrc-2011Q2-base:1.8
	pkgsrc-2011Q1:1.8.0.8
	pkgsrc-2011Q1-base:1.8
	pkgsrc-2010Q4:1.8.0.6
	pkgsrc-2010Q4-base:1.8
	pkgsrc-2010Q3:1.8.0.4
	pkgsrc-2010Q3-base:1.8
	pkgsrc-2010Q2:1.8.0.2
	pkgsrc-2010Q2-base:1.8
	pkgsrc-2010Q1:1.7.0.26
	pkgsrc-2010Q1-base:1.7
	pkgsrc-2009Q4:1.7.0.24
	pkgsrc-2009Q4-base:1.7
	pkgsrc-2009Q3:1.7.0.22
	pkgsrc-2009Q3-base:1.7
	pkgsrc-2009Q2:1.7.0.20
	pkgsrc-2009Q2-base:1.7
	pkgsrc-2009Q1:1.7.0.18
	pkgsrc-2009Q1-base:1.7
	pkgsrc-2008Q4:1.7.0.16
	pkgsrc-2008Q4-base:1.7
	pkgsrc-2008Q3:1.7.0.14
	pkgsrc-2008Q3-base:1.7
	cube-native-xorg:1.7.0.12
	cube-native-xorg-base:1.7
	pkgsrc-2008Q2:1.7.0.10
	pkgsrc-2008Q2-base:1.7
	cwrapper:1.7.0.8
	pkgsrc-2008Q1:1.7.0.6
	pkgsrc-2008Q1-base:1.7
	pkgsrc-2007Q4:1.7.0.4
	pkgsrc-2007Q4-base:1.7
	pkgsrc-2007Q3:1.7.0.2
	pkgsrc-2007Q3-base:1.7
	pkgsrc-2007Q2:1.6.0.10
	pkgsrc-2007Q2-base:1.6
	pkgsrc-2007Q1:1.6.0.8
	pkgsrc-2007Q1-base:1.6
	pkgsrc-2006Q4:1.6.0.6
	pkgsrc-2006Q4-base:1.6
	pkgsrc-2006Q3:1.6.0.4
	pkgsrc-2006Q3-base:1.6
	pkgsrc-2006Q2:1.6.0.2
	pkgsrc-2006Q2-base:1.6
	pkgsrc-2006Q1:1.5.0.4
	pkgsrc-2006Q1-base:1.5
	pkgsrc-2005Q4:1.5.0.2
	pkgsrc-2005Q4-base:1.5
	pkgsrc-2005Q3:1.4.0.6
	pkgsrc-2005Q3-base:1.4
	pkgsrc-2005Q2:1.4.0.4
	pkgsrc-2005Q2-base:1.4
	pkgsrc-2005Q1:1.4.0.2
	pkgsrc-2005Q1-base:1.4
	pkgsrc-2004Q4:1.3.0.18
	pkgsrc-2004Q4-base:1.3
	pkgsrc-2004Q3:1.3.0.16
	pkgsrc-2004Q3-base:1.3
	pkgsrc-2004Q2:1.3.0.14
	pkgsrc-2004Q2-base:1.3
	pkgsrc-2004Q1:1.3.0.12
	pkgsrc-2004Q1-base:1.3
	pkgsrc-2003Q4:1.3.0.10
	pkgsrc-2003Q4-base:1.3
	netbsd-1-6-1:1.3.0.6
	netbsd-1-6-1-base:1.3
	netbsd-1-6:1.3.0.8
	netbsd-1-6-RELEASE-base:1.3
	pkgviews:1.3.0.4
	pkgviews-base:1.3
	buildlink2:1.3.0.2
	buildlink2-base:1.3
	netbsd-1-5-PATCH003:1.3
	netbsd-1-5-PATCH001:1.1.1.1
	pkgsrc-base:1.1.1.1
	TNF:1.1.1;
locks; strict;
comment	@# @;


1.10
date	2019.05.24.13.17.58;	author hauke;	state dead;
branches;
next	1.9;
commitid	wsxfERtRQIlsvsoB;

1.9
date	2012.06.09.11.50.20;	author adam;	state Exp;
branches;
next	1.8;

1.8
date	2010.06.15.23.14.47;	author pettai;	state Exp;
branches;
next	1.7;

1.7
date	2007.08.10.17.57.09;	author jlam;	state Exp;
branches;
next	1.6;

1.6
date	2006.04.28.18.14.06;	author jlam;	state Exp;
branches;
next	1.5;

1.5
date	2005.10.20.20.26.37;	author jlam;	state Exp;
branches;
next	1.4;

1.4
date	2005.02.18.22.12.53;	author jlam;	state Exp;
branches;
next	1.3;

1.3
date	2002.01.22.22.09.42;	author jlam;	state Exp;
branches;
next	1.2;

1.2
date	2001.08.16.07.39.21;	author jlam;	state Exp;
branches;
next	1.1;

1.1
date	2000.10.23.13.34.58;	author rh;	state Exp;
branches
	1.1.1.1;
next	;

1.1.1.1
date	2000.10.23.13.34.58;	author rh;	state Exp;
branches;
next	;


desc
@@


1.10
log
@Upgrade mail/maildrop to v3.0.0

o new dependencies: courier-unicode (split out library), libidn
o install text READMe files over html ones
o add options.mk
  - optionally authenticate against dovecot user db
  - make locking configurable (I have seen locking rows between
    dovecot and mailfilter that lead to delivery failures)
o re-work patches

From the upstream changelog (yes, it's been eight years):

3.0.0

2018-07-31  Sam Varshavchik  <mrsam@@courier-mta.com>

        * rfc2045/reformime: parse utf-8 address types in DSNs.

2018-07-30  Sam Varshavchik  <mrsam@@courier-mta.com>

        * maildrop: explicitly require libidn to build maildrop.

2018-07-29  Sam Varshavchik  <mrsam@@courier-mta.com>

        * mailbot: generate message/global, message/global-delivery-status,
        and message/global-headers, when needed, when formatting autoreplies.

        * reformime: -m option uses message/global instead of message/rfc822
        for UTF8 messages.

2018-06-25  Sam Varshavchik  <mrsam@@courier-mta.com>

        * rfc2045/reformime.c (main2): fix crash if -x or -X is specified
        without the corresponding -s option.

2018-02-16  Sam Varshavchik  <mrsam@@courier-mta.com>

        * libs/maildrop/search.C: ":H" pattern matching option, matching
        only the main message headers.

2018-01-08  Osamu Aoki <osamu@@debian.org>

        * libs/maildrop/deliver.C (delivery): Always return 75 upon
        delivery failure, for the standalone maildrop build.

2017-12-26  Sam Varshavchik  <mrsam@@courier-mta.com>

        * libs/maildir/maildirmake.c (main): maildirmake's -q option
        will create the maildir if it does not exist.

        * libs/rfc2045/reformime.c (main2): Added -rU option, and a new
        internal RFC2045_RW_8BIT_ALWAYS conversion option.

        * libs/rfc2045/reformime.c (main2): Fix crash when the -s option
        is not valid.

2.9.3

2017-11-26  Sam Varshavchik  <mrsam@@courier-mta.com>

        * libs/rfc2045/rfc2045reply.c (mkreply): Fix null pointer
        dereferences.

2.9.2

2017-10-03  Sam Varshavchik  <mrsam@@courier-mta.com>

        * reformail: fix use after free with -f1

2017-09-27  Giovanni Bechis <giovanni@@paclan.it>

        * Fix to configure.ac

2017-09-19  Sam Varshavchik  <mrsam@@courier-mta.com>

        * courier: switch default header encoding to UTF-8.

2.9.0

2017-06-17  Sam Varshavchik  <mrsam@@courier-mta.com>

        * libs/maildir/maildirquota.c (docheckquota): Skip DT_LNK.

2017-03-11  Sam Varshavchik  <mrsam@@courier-mta.com>

        * courier-unicode library API update.

2017-01-27  "Stefan Hornburg (Racke)" <racke@@linuxia.de>

        * Merge several Debian patches:

        0001-Include-cstdio-in-afx.h.patch
        0005-Ignore-and-.dpkg-a-z-files.patch
        0007-Fix-bashisms.patch
        0009-Fix-linking-in-upstream-Makefiles.patch
        0012-Define-and-use-PEMFILE-in-mkesmtpdcert.patch
             (*) with some changes.
        0013-Add-P-to-ghostscript-invocation.patch
        0014-Improve-error-reporting-in-preline.c.patch
        0017-Fix-formatting-errors-in-syslog-calls.patch
        0020-Add-perl-stanza-to-perlfilter-scripts.patch

2.8.5

2016-09-20  "Hanno Böck" <hanno@@hboeck.de>

        * libs/maildrop/maildir.C (MaildirSave): Fix new/delete mismatch.

2.8.4

2016-08-03  Sam Varshavchik  <mrsam@@courier-mta.com>

        * reformime: do not abort due to invalid encoding of the "name"
        attributes.

2015-12-20  Sam Varshavchik  <mrsam@@courier-mta.com>

        * maildrop: implement the FLAGS variable.

2015-12-16  Andreas Kinzler <ml-ak@@posteo.de>

        * maildrop: fix maildrop not searching last line of text.

2015-07-19  Sam Varshavchik  <mrsam@@courier-mta.com>

        * maildrop: fix parsing of a message without a body.

2.8.3

2015-06-27  "Hanno Böck" <hanno@@hboeck.de>

        * libs/maildrop/mailbot.c: Fix bad malloc for --feedback-* command
        line parameters.

2015-06-20  Sam Varshavchik  <mrsam@@courier-mta.com>

        * maildrop: Implement option to automatically create home directories.

2015-05-09  "Jö Fahlke" <jorrit@@jorrit.de>

        * maildrop: Don't include matched subpatterns in foreach.

2.8.2

2015-04-25  Giovanni Bechis <giovanni@@openbsd.org>

        * maildircache.c: fix use after free.

        * mkdhparams: make compatible with libressl

2015-02-28  Sam Varshavchik  <mrsam@@courier-mta.com>

        * Update to courier-unicode 1.2.

2015-02-16  "Hanno Böck" <hanno@@hboeck.de>

        * Fix compilation warning, testsuite.

2.8.0

2014-12-13  Sam Varshavchik  <mrsam@@courier-mta.com>

        * Update autotools

2.7.2

2014-07-21  Sam Varshavchik  <mrsam@@courier-mta.com>

        * gpglib, rfc2045: fix makefiles.

        * maildrop: fix parsing of headers added by the -A option.

2014-07-13  Sam Varshavchik  <mrsam@@courier-mta.com>

        * liblock, couriertls: fix compilation for OpenBSD -- based on a
        patch from Giovanni Bechis <giovanni@@paclan.it>.

2014-06-23  Sam Varshavchik  <mrsam@@courier-mta.com>

        * libs/gpglib/Makefile.am: Fix -lunicode linkage.

        * libs/rfc2045/Makefile.am: Fix -lunicode linkage.

        * libs/rfc2045/rfc2045decodemsgtoutf8.c (rfc2045_decodemsgtoutf8):
        recognize "message" MIME content type, in addition to "text".

2014-06-18  Sam Varshavchik  <mrsam@@courier-mta.com>

        * maildrop: -d option changes groupid only when effective group id
        is root. Addresses Debian bug 564601.

        * mailbot: Add -T replydraft/-l options.

2014-02-02  Osamu Aoki <osamu_aoki_home@@nifty.com>

        * Makefile.am: install makedat.1 and makedat.html

2014-01-15  Sam Varshavchik  <mrsam@@courier-mta.com>

        * libs/maildrop/search.C (search_cb): Fix logged patterns getting
        garbled, in log output.

2014-01-12  Sam Varshavchik  <mrsam@@courier-mta.com>

        * Factored out the unicode library into a separate package.

2.7.1

2013-11-25  Sam Varshavchik  <mrsam@@courier-mta.com>

        * Fix various compiler warnings about unchecked results from setuid
        and setgid calls.

2.7.0

2013-08-28  Sam Varshavchik  <mrsam@@courier-mta.com>

        * maildrop: pattern searches are now specified in UTF-8. maildrop
        MIME-decodes the search pattern, and transcodes it to the UTF-8
        character set, for searching purposes.

2012-12-04  Alessandro Vesely <vesely@@tana.it>

        * rfc2045/makemime.c (openfile_or_pipe): Do not dup stdin filedesc,
        sometimes the stdin buffer already gets filled.

2.6.0

2012-09-05  Sam Varshavchik  <mrsam@@courier-mta.com>

        * maildir/maildiraclt.c (maildir_acl_delete): Fix double-free on error
        path of an ENOMEM.

2012-06-18  Sam Varshavchik  <mrsam@@courier-mta.com>

        * maildrop: make a mention of reformail -D's locking in the manual
        pages.

2012-06-17  Osamu Aoki <osamu@@debian.org>

        * maildrop/formatmbox.C (GetLineBuffer): Do not skip whitespaces
        looking for From: and Subject: headers, to log.

2012-05-05  Sam Varshavchik  <mrsam@@courier-mta.com>

        * rfc2045/rfc2045mkboundary.c (rfc2045_mk_boundary): truncate
        the hostname portion of the boundary to 30 chars.

2012-04-22  Sam Varshavchik  <mrsam@@courier-mta.com>

        * liblock/mail.c (dotlock_exists): Quell a compiler warning.

2012-02-23  Osamu Aoki <osamu@@debian.org>

        * Miscellaneous spelling fixes.

2.5.5

2011-11-25  Sam Varshavchik  <mrsam@@courier-mta.com>

        * rfc2045/rfc2045reply.c (mkreply): Fix copying of the contents of the
        original message.

        * rfc2045/reformime.c (do_print_info): rfc2231_udecodeDisposition()
        failure is not fatal.

        * rfc2045/reformime.c (get_suitable_filename): Ditto.

2011-09-06  Sam Varshavchik  <mrsam@@courier-mta.com>

        * rfc2045/reformime.c (main2): Fixed segfault on some arches from an
        initial null given to strtok.

2011-08-31  Sam Varshavchik  <mrsam@@courier-mta.com>

        * mailbot: add "feedback" and "replyfeedback" formats, generating
        RFC 5965-formatted feedback report. -a option attaches the entire
        original message, instead of only its headers, for "replydsn",
        "feedback", and "replyfeedback" formats.

2011-08-14  Sam Varshavchik  <mrsam@@courier-mta.com>

        * rfc2045/reformime.c (main2): On ia64 and arm, argv is in readonly
        memory.
@
text
@$NetBSD: patch-aa,v 1.9 2012/06/09 11:50:20 adam Exp $

--- Makefile.in.orig	2011-12-03 21:26:32.000000000 +0000
+++ Makefile.in
@@@@ -295,17 +295,15 @@@@ EXTRA_DIST = README.html INSTALL.html UP
 	maildroptips.txt COPYING.GPL manpage.css pgpkeys.txt
 
 scriptdir = $(pkgdatadir)/scripts
-DELIVERQUOTAHTMLSOURCE = maildirquota.html deliverquota.html
-DELIVERQUOTAHTML = $(DELIVERQUOTAHTMLSOURCE)
-DELIVERQUOTAMAN = maildirquota.7 deliverquota.8
-MAILDROPHTML = lockmail.html maildiracl.html maildirkw.html \
-	maildirmake.html maildropex.html \
-	maildir.html \
+DELIVERQUOTAHTMLSOURCE =
+DELIVERQUOTAHTML =
+DELIVERQUOTAMAN =
+MAILDROPHTML = lockmail.html \
+	maildropex.html \
 	maildropfilter.html maildropgdbm.html maildrop.html mailbot.html \
 	makemime.html reformail.html reformime.html
 
-MAILDROPMAN = lockmail.1 maildirmake.1 maildrop.1 mailbot.1 maildropex.7 \
-	maildir.5 \
+MAILDROPMAN = lockmail.1 maildrop.1 mailbot.1 maildropex.7 \
 	maildropfilter.7 maildropgdbm.7 makemime.1 reformail.1 reformime.1
 
 EXTRA_LTLIBRARIES = librfc822.la librfc2045.la
@@@@ -1143,12 +1141,8 @@@@ uninstall-man: uninstall-man1 uninstall-
 #  Create a soft link from bindir/deliverquota to libdir/bin/deliverquota
 
 install-deliverquota:
-	$(mkinstalldirs) $(DESTDIR)$(bindir)
-	$(INSTALL_PROGRAM) maildir/deliverquota $(DESTDIR)$(bindir)/deliverquota
-	cd $(DESTDIR)$(bindir); rm -f maildrop.deliverquota
 
 uninstall-deliverquota:
-	rm -f $(DESTDIR)$(bindir)/deliverquota
 
 install-data-local: install-man install-deliverquota install-maildrop
 
@@@@ -1176,23 +1170,24 @@@@ install-maildrop:
 		$(INSTALL_PROGRAM) maildrop/$$f $(DESTDIR)$(bindir)/$$f ; \
 	done
 	$(INSTALL_PROGRAM) liblock/lockmail $(DESTDIR)$(bindir)/lockmail
-	$(INSTALL_PROGRAM) maildir/maildirmake $(DESTDIR)$(bindir)/maildirmake
 	$(INSTALL_PROGRAM) rfc2045/reformime $(DESTDIR)$(bindir)/reformime
 	$(INSTALL_PROGRAM) rfc2045/makemime $(DESTDIR)$(bindir)/makemime
 	test "@@USE_DB@@@@USE_GDBM@@" = "00" && exit 0; \
-		$(INSTALL_PROGRAM) makedat/makedatprog $(DESTDIR)$(bindir)/makedatprog
+		$(INSTALL_PROGRAM) makedat/makedatprog $(DESTDIR)$(libexecdir)/makedatprog
+		$(LN_S) $(libexecdir)/makedatprog $(DESTDIR)$(bindir)/makedatprog
 	test "@@USE_DB@@@@USE_GDBM@@" = "00" && exit 0; \
-		$(INSTALL_SCRIPT)  makedat/makedat     $(DESTDIR)$(bindir)/makedat
+		$(INSTALL_SCRIPT)  makedat/makedat     $(DESTDIR)$(libexecdir)/makedat
+		$(LN_S) $(libexecdir)/makedat $(DESTDIR)$(bindir)/makedat
 	. maildrop/uidgid ; test -z "$$gid" && exit 0; test -w /etc || exit 0; cd $(DESTDIR)$(bindir) && chgrp $$gid maildrop lockmail
 	. maildrop/uidgid ; test -z "$$uid" && exit 0; test -w /etc || exit 0; cd $(DESTDIR)$(bindir) && chown $$uid maildrop lockmail && chmod 755 maildrop lockmail
 
 uninstall-maildrop:
-	for f in maildrop mailbot maildirmake reformail lockmail makemime reformime; do \
+	for f in maildrop mailbot reformail lockmail makemime reformime; do \
 		rm -f $(DESTDIR)$(bindir)/$$f ; \
 	done
 	test "@@USE_DB@@@@USE_GDBM@@" = "00" && exit 0; \
-		rm -f $(DESTDIR)$(bindir)/makedat ; \
-		rm -f $(DESTDIR)$(bindir)/makedatprog
+		rm -f $(DESTDIR)$(libexecdir)/makedat ; \
+		rm -f $(DESTDIR)$(libexecdir)/makedatprog
 
 all-recursive: all-make-check
 
@


1.9
log
@Changes 2.5.5:
* rfc2045/rfc2045reply.c (mkreply): Fix copying of the contents of the
  original message.
* rfc2045/reformime.c (do_print_info): rfc2231_udecodeDisposition()
  failure is not fatal.
* rfc2045/reformime.c (get_suitable_filename): Ditto.
* rfc2045/reformime.c (main2): Fixed segfault on some arches from an
  initial null given to strtok.
* mailbot: add "feedback" and "replyfeedback" formats, generating
  RFC 5965-formatted feedback report. -a option attaches the entire
  original message, instead of only its headers, for "replydsn",
  "feedback", and "replyfeedback" formats.
* rfc2045/reformime.c (main2): On ia64 and arm, argv is in readonly
  memory.
@
text
@d1 1
a1 1
$NetBSD$
@


1.8
log
@maildrop-2.5.0:

* maildrop/mailbot.c (main): Set close-on-exec bit on opened files.
* rfc2045/rfc2045reply.c (mkreply): Fix sender's name in the
  reply salutation.
* rfc2045/reformime.sgml: Document the -c option to reformime.
* Big quota patch (with some changes).

(See the Changelog for the previous releases)

Based on patch(es) from PR pkg/42989 by Brian Candler
@
text
@d1 1
a1 1
$NetBSD: patch-aa,v 1.7 2007/08/10 17:57:09 jlam Exp $
d3 3
a5 3
--- Makefile.in.orig	2010-05-30 23:36:17.000000000 +0200
+++ Makefile.in	2010-06-13 12:28:00.000000000 +0200
@@@@ -294,16 +294,14 @@@@
d12 2
a13 1
-MAILDROPHTML = lockmail.html maildirmake.html maildropex.html \
d15 5
a19 4
+DELIVERQUOTAHTMLSOURCE = 
+DELIVERQUOTAHTML = 
+DELIVERQUOTAMAN = 
+MAILDROPHTML = lockmail.html maildropex.html \
d29 1
a29 1
@@@@ -1140,12 +1138,8 @@@@
d42 1
a42 1
@@@@ -1173,23 +1167,24 @@@@
@


1.7
log
@Update mail/maildrop to 2.0.4.  Changes from version 2.0.2 include:

* New command-line option to require the use of a working courier-authlib
  installation.

* Install makedat along with related documentation.
@
text
@d1 1
a1 1
$NetBSD$
d3 9
a11 6
--- Makefile.in.orig	2007-04-22 11:24:04.000000000 -0400
+++ Makefile.in
@@@@ -249,15 +249,12 @@@@ DELIVERQUOTAHTMLSOURCE = maildirquota.ht
 @@INSTALL_DELIVERQUOTA_TRUE@@DELIVERQUOTAHTML = $(DELIVERQUOTAHTMLSOURCE)
 @@INSTALL_DELIVERQUOTA_FALSE@@DELIVERQUOTAMAN = 
 @@INSTALL_DELIVERQUOTA_TRUE@@DELIVERQUOTAMAN = maildirquota.7 deliverquota.8
d14 3
a22 2
-	maildropfilter.7 maildropgdbm.7 makemime.1 reformail.1 reformime.1 \
-	maildirquota.7 deliverquota.8
d24 1
a24 1
+	maildropfilter.7 maildropgdbm.7 makemime.1 reformail.1 reformime.1
d27 14
a40 2
 @@DEVEL_TRUE@@DEVEL_MAN = rfc822.3 rfc2045.3
@@@@ -1084,11 +1081,12 @@@@ install-maildrop:
d47 8
a54 6
-	$(INSTALL_PROGRAM) makedat/makedatprog $(DESTDIR)$(bindir)/makedatprog
-	$(INSTALL_SCRIPT)  makedat/makedat     $(DESTDIR)$(bindir)/makedat
+	$(INSTALL_PROGRAM) makedat/makedatprog $(DESTDIR)$(libexecdir)/makedatprog
+	$(INSTALL_SCRIPT)  makedat/makedat     $(DESTDIR)$(datadir)/makedat
+	rm -f $(DESTDIR)$(bindir)/makedat
+	$(LN_S) $(datadir)/makedat $(DESTDIR)$(bindir)/makedat
d58 13
@


1.6
log
@Update mail/maildrop to 2.0.2.  Changes from version 2.0.1 include

  + Install the makedat documentation; even though "makedat" is part
    of courier-authlib, that package installs no doucmentation for
    it, and "makedat" is used quite frequently in conjunction with
    maildrop.

  * fix for RFC822 compliance -- encode spaces that precede a newline.
@
text
@d3 1
a3 1
--- Makefile.in.orig	2006-02-19 11:39:50.000000000 -0500
d5 4
a8 11
@@@@ -243,21 +243,18 @@@@ EXTRA_DIST = README.html INSTALL.html UP
 	maildroptips.txt automake.fix COPYING.GPL manpage.css pgpkeys.txt
 
 scriptdir = $(pkgdatadir)/scripts
-htmldir = $(pkgdatadir)/html
+htmldir = $(prefix)/share/doc/courier
 DELIVERQUOTAHTMLSOURCE = maildirquota.html deliverquota.html
-@@INSTALL_DELIVERQUOTA_FALSE@@DELIVERQUOTAHTML = 
-@@INSTALL_DELIVERQUOTA_TRUE@@DELIVERQUOTAHTML = $(DELIVERQUOTAHTMLSOURCE)
-@@INSTALL_DELIVERQUOTA_FALSE@@DELIVERQUOTAMAN = 
-@@INSTALL_DELIVERQUOTA_TRUE@@DELIVERQUOTAMAN = maildirquota.7 deliverquota.8
a10 4
+DELIVERQUOTAHTML = 
+#DELIVERQUOTAHTML = $(DELIVERQUOTAHTMLSOURCE)
+DELIVERQUOTAMAN = 
+#DELIVERQUOTAMAN = maildirquota.7 deliverquota.8
d24 1
a24 22
@@@@ -1046,15 +1043,15 @@@@ uninstall-man: uninstall-man1 uninstall-
 #  where deliverquota will be installed.
 #  Create a soft link from bindir/deliverquota to libdir/bin/deliverquota
 
-@@INSTALL_DELIVERQUOTA_TRUE@@install-deliverquota:
-@@INSTALL_DELIVERQUOTA_TRUE@@	$(mkinstalldirs) $(DESTDIR)$(bindir)
-@@INSTALL_DELIVERQUOTA_TRUE@@	$(INSTALL_PROGRAM) maildir/deliverquota $(DESTDIR)$(bindir)/deliverquota
-@@INSTALL_DELIVERQUOTA_TRUE@@	cd $(DESTDIR)$(bindir); rm -f maildrop.deliverquota
+#install-deliverquota:
+#	$(mkinstalldirs) $(DESTDIR)$(bindir)
+#	$(INSTALL_PROGRAM) maildir/deliverquota $(DESTDIR)$(bindir)/deliverquota
+#	cd $(DESTDIR)$(bindir); rm -f maildrop.deliverquota
 
 @@INSTALL_DELIVERQUOTA_TRUE@@uninstall-deliverquota:
 @@INSTALL_DELIVERQUOTA_TRUE@@	rm -f $(DESTDIR)$(bindir)/deliverquota
 
-@@INSTALL_DELIVERQUOTA_FALSE@@install-deliverquota:
+install-deliverquota:
 
 @@INSTALL_DELIVERQUOTA_FALSE@@uninstall-deliverquota:
 
@@@@ -1084,7 +1081,6 @@@@ install-maildrop:
d31 6
d38 2
@


1.5
log
@Update mail/maildrop to 2.0.1.  Changes from version 1.8.1 include:

* Use PCRE (http://www.pcre.org) for mattern matching.
+ Most visible change is a different syntax for subexpression matching,
  using (...).  MATCH2 becomes MATCH1, MATCH3 becomes MATCH2, etc...
+ "w" account option dropped.
+ During a transitional period, setting MAILDROP_OLD_REGEXP
  reverts to the old pattern matching engine.

* Do not autoreply to messages with an Auto-Submitted: header, unless
  it's contents are "no".  Add Auto-Submitted: auto-replied.
@
text
@d3 1
a3 1
--- Makefile.in.orig	2005-09-23 20:27:51.000000000 -0400
d35 1
a35 1
@@@@ -1034,15 +1031,15 @@@@ uninstall-man: uninstall-man1 uninstall-
d56 1
a56 1
@@@@ -1072,7 +1069,6 @@@@ install-maildrop:
@


1.4
log
@Update mail/maildrop to version 1.8.0.  Changes from version 1.3.9
include:

* Support for MySQL and LDAP lookups via courier-authlib.
* Honor maildir delivery quotas.
* Bug fixes in MIME handling.
* Plug memory leaks.
* Replace dotlock with lockmail, which supports more types of locking.
@
text
@d3 1
a3 1
--- Makefile.in.orig	2004-12-08 21:36:41.000000000 -0500
d5 3
a7 3
@@@@ -230,21 +230,18 @@@@ HTML2TXT = `which lynx 2>/dev/null && ec
 SUBDIRS = numlib liblock unicode rfc822 rfc2045 gdbmobj bdbobj maildir maildrop
 EXTRA_DIST = README.html INSTALL.html UPGRADE.html README.postfix maildroptips.txt automake.fix COPYING.GPL manpage.css
d33 1
a33 1
 EXTRA_LIBRARIES = librfc822.a librfc2045.a
d35 1
a35 1
@@@@ -1007,15 +1004,15 @@@@ uninstall-man: uninstall-man1 uninstall-
d56 1
a56 1
@@@@ -1051,7 +1048,6 @@@@ install-maildrop:
@


1.3
log
@Update mail/maildrop to 1.3.7.  Changes from 1.3.4 include:

	* Find config files in /etc/courier (or PKG_SYSCONFDIR equivalent).
	  We consolidate all Courier MTA software config files under a
	  common /etc/courier directory.

	* Loosen up the parsing of the content-type header.  Strict parsing
	  allowed viruses to slip through using malformed content-type
	  headers which still got picked up by Microsoft's crapware which
	  does not strictly parse the MIME headers.

        * Drop install setuid.

        * Add UMASK variable, that sets the permissions on new mailboxes
        or messages.  Hence, drop MAILBOX_MODE from configure script.
@
text
@d3 1
a3 1
--- Makefile.in.orig	Sat Jan  5 13:28:01 2002
d5 3
a7 3
@@@@ -87,7 +87,7 @@@@
 EXTRA_DIST = UPGRADE.html UPGRADE.txt INSTALL.txt README README.postfix maildroptips.txt maildropldap.config maildropmysql.config
 
d10 14
a23 5
+htmldir = $(prefix)/share/doc/html/@@PACKAGE@@
 @@INSTALL_USERDB_TRUE@@USERDBHTML = @@INSTALL_USERDB_TRUE@@userdb.html makeuserdb.html userdbpw.html
 @@INSTALL_USERDB_FALSE@@USERDBHTML = 
 @@INSTALL_USERDB_TRUE@@USERDBMAN = @@INSTALL_USERDB_TRUE@@userdb.8 makeuserdb.8 userdbpw.8
@@@@ -108,9 +108,8 @@@@
d26 6
d33 20
a52 5
-MAILDROPMAN = dotlock.1 maildirmake.1 maildrop.1 mailbot.1 maildropex.5 \
-	maildropfilter.5 maildropgdbm.5 makemime.1 reformail.1 reformime.1 \
-	maildirquota.7 deliverquota.8
+MAILDROPMAN = dotlock.1 maildrop.1 mailbot.1 maildropex.5 \
+	maildropfilter.5 maildropgdbm.5 makemime.1 reformail.1 reformime.1
d54 1
d56 1
a56 3
 EXTRA_LIBRARIES = librfc822.a librfc2045.a
@@@@ -836,14 +835,13 @@@@
 	for f in maildrop mailbot reformail dotlock ; do \
d59 2
a60 1
-	$(INSTALL_PROGRAM) maildir/maildirmake $(DESTDIR)$(bindir)/$$f
d63 1
a63 9
 	. maildrop/uidgid ; test -z "$$gid" && exit 0; test -w /etc || exit 0; cd $(DESTDIR)$(bindir) && chgrp $$gid maildrop dotlock
 	. maildrop/uidgid ; test -z "$$uid" && exit 0; test -w /etc || exit 0; cd $(DESTDIR)$(bindir) && chown $$uid maildrop dotlock && chmod 755 maildrop dotlock
 
 uninstall-maildrop:
-	for f in maildrop mailbot maildirmake reformail dotlock makemime reformime ; do \
+	for f in maildrop mailbot reformail dotlock makemime reformime ; do \
 		rm -f $(DESTDIR)$(bindir)/$$f ; \
 	done
 
@


1.2
log
@Update mail/maildrop to 1.3.4.  Relevent changes from version 1.2.2 include:

+ Become maintainer for maildrop as I'm working on packaging the
  Courier-MTA software, of which maildrop is one piece.
+ Fix possible build problem on Solaris (untested).
+ Install maildirmake as maildrop.maildirmake to avoid conflicts
  with other packages that install maildirmake.
+ Add dependency on courier-maildirmake.
+ Move HTML documentation to ${PREFIX}/share/doc/html

* Bug fixes, of course.
* Disable MSIE smart tags in all html files.
* Added mailbot(1), a MIME-capable autoresponder utility.
* Reject ambigous nested MIME boundary delimiters.
@
text
@d3 1
a3 1
--- Makefile.in.orig	Mon Jul  9 22:06:48 2001
d10 2
a11 2
+htmldir = $(datadir)/doc/html/@@PACKAGE@@
 @@INSTALL_USERDB_TRUE@@USERDBHTML = userdb.html makeuserdb.html userdbpw.html
d13 3
a15 3
 @@INSTALL_USERDB_TRUE@@USERDBMAN = userdb.8 makeuserdb.8 userdbpw.8
@@@@ -106,7 +106,7 @@@@
 MAILDROPHTML = dotlock.html maildirmake.html maildropex.html 	maildropfilter.html maildropgdbm.html maildrop.html mailbot.html 	makemime.html reformail.html reformime.html
d18 5
a22 2
-MAILDROPMAN = dotlock.1 maildirmake.1 maildrop.1 mailbot.1 maildropex.5 	maildropfilter.5 maildropgdbm.5 makemime.1 reformail.1 reformime.1 	maildirquota.8 deliverquota.8
+MAILDROPMAN = dotlock.1 maildrop.maildirmake.1 maildrop.1 mailbot.1 maildropex.5 	maildropfilter.5 maildropgdbm.5 makemime.1 reformail.1 reformime.1 	maildirquota.8 deliverquota.8
d26 1
a26 1
@@@@ -795,14 +795,14 @@@@
a30 1
+	$(INSTALL_PROGRAM) maildir/maildirmake $(DESTDIR)$(bindir)/maildrop.maildirmake
d34 1
a34 1
 	. maildrop/uidgid ; test -z "$$uid" && exit 0; test -w /etc || exit 0; cd $(DESTDIR)$(bindir) && chown $$uid maildrop dotlock && chmod 6755 maildrop dotlock
d38 1
a38 1
+	for f in maildrop mailbot maildrop.maildirmake reformail dotlock makemime reformime ; do \
a41 12
@@@@ -837,9 +837,9 @@@@
 maildirmake.html: maildir/maildirmake.html
 	cp -f maildir/maildirmake.html maildirmake.html
 
-maildirmake.1: maildirmake.html
+maildrop.maildirmake.1: maildirmake.html
 	chmod +x maildrop/html2man.pl
-	maildrop/html2man.pl <maildirmake.html >maildirmake.1
+	maildrop/html2man.pl <maildirmake.html >maildrop.maildirmake.1
 
 maildropex.html: maildrop/maildropex.html
 	cp -f $(srcdir)/maildrop/maildropex.html maildropex.html
@


1.1
log
@Initial revision
@
text
@d3 1
a3 1
--- Makefile.in.orig	Mon Oct 23 04:46:11 2000
d5 2
a6 1
@@@@ -39,7 +39,7 @@@@
d8 8
a15 1
 DESTDIR =
a16 4
-pkgdatadir = $(datadir)/@@PACKAGE@@
+pkgdatadir = $(datadir)/doc/@@PACKAGE@@
 pkglibdir = $(libdir)/@@PACKAGE@@
 pkgincludedir = $(includedir)/@@PACKAGE@@
d18 11
a28 2
@@@@ -798,8 +798,8 @@@@
 	$(INSTALL_PROGRAM) maildir/maildirmake $(DESTDIR)$(bindir)/$$f
d31 2
a32 4
-	. maildrop/uidgid ; test -z "$$gid" && exit 0; test -w /etc || exit 0; cd $(DESTDIR)$(bindir) && chgrp $$gid maildrop dotlock
-	. maildrop/uidgid ; test -z "$$uid" && exit 0; test -w /etc || exit 0; cd $(DESTDIR)$(bindir) && chown $$uid maildrop dotlock && chmod 6755 maildrop dotlock
+	. maildrop/uidgid ; test -z "$$gid" || exit 0; cd $(DESTDIR)$(bindir) && chgrp $$gid maildrop dotlock
+	. maildrop/uidgid ; test -z "$$uid" || exit 0; cd $(DESTDIR)$(bindir) && chown $$uid maildrop dotlock && chmod 6755 maildrop dotlock
d35 17
a51 1
 	for f in maildrop maildirmake reformail dotlock makemime reformime ; do \
@


1.1.1.1
log
@Initial import of maildrop-1.2.2, a mail delivery agent with filtering
abilities
@
text
@@
