Commit graph

56 commits

Author SHA1 Message Date
pettai
8ea9780f4a 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
2010-06-15 23:14:47 +00:00
wiz
a4eec2f4cc Reset maintainer, developer lost his commit bit. 2010-03-21 16:29:38 +00:00
joerg
62d1ba2bac Remove @dirrm entries from PLISTs 2009-06-14 18:03:28 +00:00
jlam
fd9238d456 + Update to latest courier-maildir dependency (0.58.0).
+ Pass ${REAL_ROOT_USER} as the maildrop UID to the configure script to
  match the actual user that maildrop setuid()s to.

Bump the PKGREVISION to 3.
2008-02-19 18:45:28 +00:00
joerg
28cf6f0a01 Add some more directories needed for DESTDIR installations. 2007-10-24 07:46:37 +00:00
jlam
3e0f1d6989 Fix path to the makedatprog binary in the makedat script. Bump the
PKGREVISION to 2.
2007-09-11 04:33:37 +00:00
jlam
77a347132a Fix breakage when maildrop is invoked by the user in "delivery mode"
without an explicity "-d" option.  Maildrop was breaking because it
was not properly finding the user's home directory (in order to locate
~/.maildroprc).  This breakage occurred sometime shortly before maildrop
was updated to 2.0.2 when I tried to make a single maildrop package
usable by both courier-mta and other mailers.

This fixes PR pkg/34275 by Greg Kerr.

Bump the PKGREVISION to 1.
2007-08-27 22:33:19 +00:00
jlam
d4329d2fd6 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.
2007-08-10 17:57:09 +00:00
jlam
def82fffc4 This package is missing an inclusion of bsd.options.mk, which caused the
"authlib" PKG_OPTION to be ignored.
2007-08-10 15:00:12 +00:00
jlam
c05d170d22 Fix botched migration of PKG_OPTIONS from courier-mta/Makefile.common
into the Makefiles of the packages that include it:

(1) PKGNAME and PKG_SUPPORTED_OPTIONS clearly no longer need to be
    defined since the only code that used it in Makefile.common was
    removed.

(2) Package Makefiles need to properly define PKG_OPTIONS_VAR and
    PKG_SUPPORTED_OPTIONS prior to including bsd.options.mk.  Set
    them to the appropriate values to match the orginal names from
    before the botched migration.
2007-08-02 22:07:32 +00:00
jlam
2445736914 Document why SPECIAL_PERMS is set the way it is. 2007-06-15 18:20:05 +00:00
jlam
12351d2476 * Change some instances of ROOT_USER and ROOT_GROUP to BINOWN and BINGRP
in SPECIAL_PERMS usage.

* Consistently use 4555 for setuid and 2555 for setgid programs.
2007-06-15 18:15:06 +00:00
wiz
601583c320 Whitespace cleanup, courtesy of pkglint.
Patch provided by Sergey Svishchev in private mail.
2007-02-22 19:26:05 +00:00
joerg
5a718e096e Explicitly annotate permissions of lockmail and maildrop, as they belong
to the courier group.

XXX Why doesn't lockmail have the default group?
2006-11-07 09:26:37 +00:00
joerg
0631d68d13 Build needs Perl. 2006-07-11 00:57:43 +00:00
jlam
391391511b 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.
2006-04-28 18:14:06 +00:00
jlam
2f377c76b4 Add a check for whether maildrop is invoked by courier or not before
doing courier-specific things, like accepting the values of certain
environment variables for things like location of the mail folder for
local delivery.  This addresses PR pkg/32369 in a way that still allows
for a future courier-mta package that just uses the maildrop package.
2006-03-21 19:50:51 +00:00
joerg
5911def816 Recursive revision bump / recommended bump for gettext ABI change. 2006-02-05 23:08:03 +00:00
jlam
37987de2e1 maildrop no longer supports "fam" as a package option. It actually
never used the fam code at all, so there is no actual loss of
functionality.  However, maildrop will now never depend on fam or
gamin.  Bump the PKGREVISION to 1.
2006-01-03 05:35:30 +00:00
jlam
2558c0291d Change my MAINTAINER email address to the one I've been using for
pkgsrc work.
2005-12-17 05:20:21 +00:00
rillig
579e977969 Ran "pkglint --autofix", which corrected some of the quoting issues in
CONFIGURE_ARGS.
2005-12-05 23:55:01 +00:00
rillig
328f3af476 Set PKGNAME, as it is a required parameter to
../../mail/courier-maildir/Makefile.common.
2005-11-11 07:34:30 +00:00
rillig
fbf36445e4 Fixed pkglint warning: PKGBASE is a read-only variable. 2005-11-10 01:30:05 +00:00
rillig
d5d5033be5 Sorted PLIST. 2005-11-10 01:29:44 +00:00
tv
9a86ad296f Include devel/sysexits bl3. 2005-11-08 13:22:03 +00:00
jlam
f2496540ac 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.
2005-10-20 20:26:37 +00:00
jlam
7501287343 Update mail/maildrop to 1.8.1. Changes from version 1.8.0 include:
* Exit with TEMPFAIL if temporary error indication from authlib.
    * More descriptive error messages when permissions check fails.
    * Documentation fixes.
2005-08-11 00:03:42 +00:00
dillo
f81ae835ad Packages have no business modifying PKG_DEFAULT_OPTIONS -- it's a
user settable variable.  Set PKG_SUGGESTED_OPTIONS instead.  Also,
make use of PKG_OPTIONS_LEGACY_VARS.

Reviewed by wiz.
2005-05-31 10:01:36 +00:00
jlam
585534220c Remove USE_GNU_TOOLS and replace with the correct USE_TOOLS definitions:
USE_GNU_TOOLS	-> USE_TOOLS
	awk		-> gawk
	m4		-> gm4
	make		-> gmake
	sed		-> gsed
	yacc		-> bison
2005-05-22 20:07:36 +00:00
tv
f816d81489 Remove USE_BUILDLINK3 and NO_BUILDLINK; these are no longer used. 2005-04-11 21:44:48 +00:00
agc
8758983939 Add RMD160 digests. 2005-02-24 09:59:20 +00:00
jlam
4701db6ec6 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.
2005-02-18 22:12:53 +00:00
jlam
b67b0725c4 Rework the Berkeley DB detection in buildlink3:
* Add a db1.builtin.mk file that detects whether DB-1.85 functionality
    exists in the base system, and remove the distinction between
    "native" and the other Berkeley DB packages -- we now refer to
    db[1234].  This paves the way for any future databases/db1 package.

  * USE_DB185 shouldn't need to be set by any packages -- its correct
    value is now automatically determined by bdb.buildlink3.mk depending
    on whether we explicitly request db1 or not.  By default, if you
    include bdb.buildlink3.mk, you want DB-1.85 functionality and
    USE_DB185 defaults to "yes", but if you explicitly remove db1 from
    the list of acceptable DBs, then USE_DB185 defaults to "no".

  * Set BDB_LIBS to the library options needed to link against the DB
    library when bdb.buildlink3.mk is included.

  * We only add the DB library to the linker command automatically if
    we want DB-1.85 functionality; otherwise assume that the package
    configure process can figure out how to probe for the correct
    headers and libraries.

Edit package Makefiles to nuke redundant settings of USE_DB185.
2004-11-15 17:54:49 +00:00
tv
c487cb967a Libtool fix for PR pkg/26633, and other issues. Update libtool to 1.5.10
in the process.  (More information on tech-pkg.)

Bump PKGREVISION and BUILDLINK_DEPENDS of all packages using libtool and
installing .la files.

Bump PKGREVISION (only) of all packages depending directly on the above
via a buildlink3 include.
2004-10-03 00:12:51 +00:00
jlam
e8a74f982d courier-maildirmake has been renamed to courier-maildir. Handle new
dependency and bump PKGREVISION as a result.

XXX This package should really be changed to build from the latest
XXX courier distribution, much like courier-auth.  This package in its
XXX current form hasn't been updated in years, while the core courier
XXX package notes bug fixes and feature additions to the maildrop code
XXX during that time.
2004-07-14 20:10:39 +00:00
snj
9edc500cf4 Convert to buildlink3. 2004-04-19 04:53:58 +00:00
markd
fb84f5ed4f USE_LANGUAGES=c c++ like I meant to do last time. 2004-03-14 02:29:27 +00:00
markd
a0708784ed Note dependency on db - fixes build on Solaris 9.
Also USE_LANGUAGES= c c++
2004-03-10 11:35:47 +00:00
jlam
8ebd2e0dda The default EXTRACT_SUFX for the courier packages has changed to ".tar.bz2"
but this package still uses ".tar.gz" until it's updated.
2004-02-24 01:24:01 +00:00
jlam
57ec57613f PERL5_REQD is now a list of values, so append to its value instead of
setting it.
2004-02-10 02:22:49 +00:00
grant
712c21283a s/USE_CXX/USE_GCC_SHLIB/ - there are more shared libraries than just
libstdc++ in gcc3.

when defined, USE_GCC_SHLIB ensures that the correct rpath is passed
to the linker, and a full dependency on the compiler package is
registered.

packages which define USE_GCC_SHLIB should not include
mk/gcc.buildlink2.mk (or gcc{,3}/buildlink2.mk) as it is handled
automatically.
2003-05-29 23:14:07 +00:00
jlam
ed38625e7c buildlink1 -> buildlink2 2002-11-15 00:04:41 +00:00
jlam
e1be891dbc Change explicit build dependencies on perl into "USE_PERL5=build". This
makes these packages build correctly on Darwin where perl>=5.8.0 is
required.
2002-07-24 19:45:22 +00:00
wiz
2de5d59159 Update to 1.3.9. Fixes pkg/15568.
* maildrop/filter.C (xfilter): Set O_NDELAY on file descriptors for
  xfilter() since select() only works correctly on non-blocking fds.
* maildrop/formatmbox.C (GetFromLine): Do not write a newline before
  every From_ line...
* maildrop/deliver.C (delivery): ... only for 2nd and subsequent msgs.
* rfc2047.c (rfc2047_encode_callback): Fix MIME-encoding of spaces.
* rfc822.c (rfc822_prname_orlist): Dequote quoted-strings.
* rfc2045/reformime: Fix handling of unencoded nulls in text/plain
  content.
* rfc2045/reformime.sgml: Documented the -m and -D options.
* userdb/configure.in: Fix typo.
* rfc2045/rfc2045.c (doline): Fix incorrect calculation of the
  end of a multipart MIME section that's inside another multipart
  MIME section.
* maildir/maildirfiltertypelist.h: Fix typo.
2002-05-20 09:39:17 +00:00
yyamano
5444b03dfe Replace STRIPFLAG with _STRIPFLAG_INSTALL to fix pkg/15467. 2002-04-25 15:26:02 +00:00
jlam
816736410b Fix reversed logic for setting INSTALL_TARGET=install-strip. Of course,
we want to strip when STRIPFLAGS contains "-s" and not otherwise.  Pointed
out by Amatai Schlair in private e-mail.
2002-02-03 13:38:38 +00:00
taca
0e04d5f276 Fix including "courier-auth/Makefile.common". 2002-01-23 00:15:20 +00:00
jlam
1ccaebbb09 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.
2002-01-22 22:09:41 +00:00
zuntum
c72c1cf5f9 Move pkg/ files into package's toplevel directory 2001-11-01 00:57:41 +00:00
jlam
074c5b4843 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.
2001-08-16 07:39:21 +00:00