Commit graph

16 commits

Author SHA1 Message Date
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
joerg
c29f6d985e Fix path to Perl. Bump revision. 2007-07-28 01:37:23 +00:00
jlam
4390d56940 Make it easier to build and install packages "unprivileged", where
the owner of all installed files is a non-root user.  This change
affects most packages that require special users or groups by making
them use the specified unprivileged user and group instead.

(1) Add two new variables PKG_GROUPS_VARS and PKG_USERS_VARS to
    unprivileged.mk.  These two variables are lists of other bmake
    variables that define package-specific users and groups.  Packages
    that have user-settable variables for users and groups, e.g. apache
    and APACHE_{USER,GROUP}, courier-mta and COURIER_{USER,GROUP},
    etc., should list these variables in PKG_USERS_VARS and PKG_GROUPS_VARS
    so that unprivileged.mk can know to set them to ${UNPRIVILEGED_USER}
    and ${UNPRIVILEGED_GROUP}.

(2) Modify packages to use PKG_GROUPS_VARS and PKG_USERS_VARS.
2007-07-04 20:54:31 +00:00
jlam
1a6fb589c8 Move common definitions of UUCP_{GROUP,USER} from mail/courier-mta and
net/uucp to mk/defaults/mk.conf.
2007-06-19 21:29:09 +00:00
jlam
6294b0e317 Use UUCP_USER instead of hardcoding "uucp". This makes courier-mta
use the same UUCP_{USER,GROUP} variables as net/uucp.
2007-06-15 21:59:23 +00:00
jlam
b48a6ed022 Use REAL_ROOT_{USER,GROUP} in INSTALL scripts. 2007-06-15 18:29:06 +00:00
schmonz
c0a6b738a9 Move handling of the "fam" option directly into the Courier packages
which use it. This fixes the build of courier-maildir (which includes
courier-mta/Makefile.common) since -r1.60 of mk/bsd.options.mk.
2007-06-07 07:50:57 +00:00
jlam
229f11418e Install couriertcpd into sbin, which is the location expected by stock
courier-mta and courier-imap.  Bump the PKGREVISION on all three
packages.
2006-06-26 05:21:17 +00:00
jlam
8c2458894d Fix substitution error... "user" instead of "owner". 2006-06-17 19:38:43 +00:00
jlam
fd154a9588 Modify the Courier services rc.d scripts so that:
(1) they are more likely to do the right thing if the user sets
       rc_fast_and_loose; and

   (2) they pre-create any necessary directories prior to start the
       respective services.

Also, fix the path to the courierwebadmin binary in SPECIAL_PERMS for the
courier-mta package.

Bump the PKGREVISION.
2006-06-17 19:26:48 +00:00
jlam
b17fa2e470 Add a buildlink dependency on openssl to couriertcpd, which needs the
SSL libraries to build couriertls, which encapsulates the logic for
handling SSL connections for Courier services.  Drop the dependency
on openssl from both courier-imap and courier-mta, which only need
the "openssl" tool instead.  Bump the PKGREVISIONs for all three
packages due to the changed dependencies.  Problem noted by Ondrej
Tuma in private email.
2006-06-14 17:01:08 +00:00
jlam
3d7c9445c0 Update mail/courier-mta to 0.53.2. Changes from version 0.53.1 include:
* [SECURITY] Fix bug in encoding of usernames that contain '='.  This
     fixes the security advisories noted here:

	http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2006-2659
	http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=368834
	http://secunia.com/advisories/20519/

   * Implemented "Purge" option for mail filters.

   * Invoke Courier filters in alphabetical order, and uses 050 exit code
     to accept a message without running the remaining filters, which gets
     converted to a 250 ESMTP code.

   * Fix improper parsing of ident/pfix tokens in SPF.

   * New command line tool "aliaslookup" to look up mail aliases.

   * Added support for the koi8-u character set.
2006-06-09 22:12:18 +00:00
ghen
2eca3d9f2c The databases/openldap package has been split in -client and -server component
packages.  Convert LDAP-based applications to depend on openldap-client, and
bump PKGREVISION for those that depend on it by default.
2006-05-31 18:22:23 +00:00
jlam
5de9b9424b Note conflicts with postfix, qmail, and sendmail. 2006-05-01 02:57:58 +00:00
joerg
09d4511fcc Add filterctl.8. Bump revision. 2006-04-30 18:20:59 +00:00
jlam
5f60d5c020 First cut at packaging the MTA and mailing list components of
courier-0.53.1 as mail/courier-mta.

The Courier mail transfer agent (MTA) is a modular multiprotocol mail
server that's designed to strike a balance between reasonable performance,
flexibility and features.

This package differs from traditional courier-mta packages in that
the webmail, imap/pop3, and maildrop components are not included
because they are supplied by the mail/sqwebmail, mail/courier-imap,
and mail/maildrop packages, respectively.  When Courier-MTA is installed
together with Courier-IMAP and SqWebMail, they form an integrated
mail/groupware server suite that provides ESMTP, IMAP, POP3, webmail,
and mailing list services within a single, consistent, framework.  A
web-based administration and configuration tool is included for
comprehensive configuration of the entire Courier software suite.

Many thanks to Yarema <yds@CoolRat.org> whose Courier port for FreeBSD
was an invaluable reference.
2006-04-28 18:10:21 +00:00