summaryrefslogtreecommitdiff
path: root/mail/courier-imap/Makefile
AgeCommit message (Collapse)AuthorFilesLines
2007-09-22Change the default directory for the various pid files to bejlam1-3/+6
${COURIER_STATEDIR}/tmp, which defaults to /var/courier/tmp. This allows some of the servers which drop root privileges too soon to still write the pid file into a courier-owned directory instead of the root-owned /var/run. In mail/courier-mta, de-list ${COURIER_STATEDIR}/webmlm from the list of owned directories. In fact, webmlmd expects that path to be a socket file, and breaks horribly if the "webmlm" directory is present instead. Bump PKGREVISIONs for the following packages: mail/courier-imap --> 2 mail/courier-mta --> 9 mail/sqwebmail --> 4 meta-pkgs/courier --> 5
2007-09-21Allow "inet6" as a package option for net/couriertcpd andjlam1-1/+10
mail/courier-mta. Modify mail/courier-imap to build regardless of the platforms IPv6 support and update meta-pkg/courier to the latest versions of the Courier mail server suite. Bump the PKGREVISIONs of the following packages: mail/courier-mta --> 7 meta-pkgs/courier --> 3 net/couriertcpd --> 2 This fixes PR pkg/37013 by Aleksej Saushev.
2007-09-17Include a patch taken from the main Courier CVS repository that addsjlam1-2/+3
a new TLS_PROTOCOL selection "SSL23" that allows for trying to negotiate initially with SSLv3 but falling back to SSLv2: courier/tcpd/libcouriertls.c:1.21 This allows Courier to interoperate with older mail servers and clients that are still using SSLv2 when advertising or attempting to use advertised STARTTLS capabilities. This change modifies the following packages and bumps their PKGREVISIONs: mail/courier-imap to 1. mail/courier-mta to 6. meta-pkgs/courier to 2. net/couriertcpd to 1.
2007-08-10Update mail/courier-imap to 4.1.3. Changes from version 4.1.1 include:jlam1-9/+2
+ Remove BDB_LIB workaround which should already be handled by the wrapper scripts and db1.builtin.mk. * Plug some resource leaks in the maildir library code.
2007-08-02Fix botched migration of PKG_OPTIONS from courier-mta/Makefile.commonjlam1-4/+3
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-06-07Move handling of the "fam" option directly into the Courier packagesschmonz1-1/+7
which use it. This fixes the build of courier-maildir (which includes courier-mta/Makefile.common) since -r1.60 of mk/bsd.options.mk.
2006-10-10Fix coutier-imap to link to BDB_LIB instead of -ldb.ben1-1/+7
This is related to PR#33802
2006-06-26Install couriertcpd into sbin, which is the location expected by stockjlam1-3/+3
courier-mta and courier-imap. Bump the PKGREVISION on all three packages.
2006-06-17Modify the Courier services rc.d scripts so that:jlam1-2/+2
(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-14Add a buildlink dependency on openssl to couriertcpd, which needs thejlam1-4/+4
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-09Update mail/courier-imap to 4.1.1. Changes from version 4.1.0 include:jlam1-6/+3
* Fix quota calculations on 32 bit platforms with 64 bit off_t.
2006-06-09Add missing end-quote in rc scripts. Patches fromreed1-1/+2
Mark Cullen via pkgsrc-users list. Fixes "Syntax error: Unterminated quoted string". Also bump PKGREVISION.
2006-04-28Update mail/courier-imap to 4.1.0. Changes from version 4.0.6 include:jlam1-33/+36
+ Install some more of the HTML documentation in the location expected by courier-mta. + Moved the default locations for the imapd and pop3d SSL certificates into ${PKG_SYSCONFDIR}. These paths may be changed directly in the imapd-ssl and pop3d-ssl configuration files by modifying TLS_CERTFILE. * New capability to control announcements of IMAP ACL support when starting imapd. * Optimization: Skip going through the motions of outputting the results of a SORT if the number of sorted messages is 0. * Have CREATE and RENAME also create courierimapuidlist. * Log total bytes sent/received in IMAP and POP3 sessions.
2006-04-22Removed the superfluous "quotes" and 'quotes' from variables that don'trillig1-2/+2
need them, for example RESTRICTED and SUBST_MESSAGE.*.
2006-03-14Modify the pkginstall framework so that it manages all aspects ofjlam1-2/+1
INSTALL/DEINSTALL script creation within pkgsrc. If an INSTALL or DEINSTALL script is found in the package directory, it is automatically used as a template for the pkginstall-generated scripts. If instead, they should be used simply as the full scripts, then the package Makefile should set INSTALL_SRC or DEINSTALL_SRC explicitly, e.g.: INSTALL_SRC= ${PKGDIR}/INSTALL DEINSTALL_SRC= # emtpy As part of the restructuring of the pkginstall framework internals, we now *always* generate temporary INSTALL or DEINSTALL scripts. By comparing these temporary scripts with minimal INSTALL/DEINSTALL scripts formed from only the base templates, we determine whether or not the INSTALL/DEINSTALL scripts are actually needed by the package (see the generate-install-scripts target in bsd.pkginstall.mk). In addition, more variables in the framework have been made private. The *_EXTRA_TMPL variables have been renamed to *_TEMPLATE, which are more sensible names given the very few exported variables in this framework. The only public variables relating to the templates are: INSTALL_SRC INSTALL_TEMPLATE DEINSTALL_SRC DEINSTALL_TEMPLATE HEADER_TEMPLATE The packages in pkgsrc have been modified to reflect the changes in the pkginstall framework.
2006-02-05Recursive revision bump / recommended bump for gettext ABI change.joerg1-1/+2
2006-01-03Note once again that "fam" is a supported package option for courier-imap.jlam1-2/+4
The logic to handle this is still in mail/courier-maildir/Makefile.common, but the package option must now be specified here.
2005-12-29Remove USE_PKGINSTALL from pkgsrc now that mk/install/pkginstall.mkjlam1-2/+1
automatically detects whether we want the pkginstall machinery to be used by the package Makefile.
2005-12-17Change my MAINTAINER email address to the one I've been using forjlam1-2/+2
pkgsrc work.
2005-12-05Ran "pkglint --autofix", which corrected some of the quoting issues inrillig1-2/+2
CONFIGURE_ARGS.
2005-12-05Fixed pkglint warnings. The warnings are mostly quoting issues, forrillig1-2/+2
example MAKE_ENV+=FOO=${BAR} is changed to MAKE_ENV+=FOO=${BAR:Q}. Some other changes are outlined in http://mail-index.netbsd.org/tech-pkg/2005/12/02/0034.html
2005-11-11Set PKGNAME instead of PKGBASE, as required byrillig1-2/+3
../../mail/courier-maildir/Makefile.common.
2005-10-20Update mail/courier-imap to 4.0.6. Changes from version 4.0.4 include:jlam1-3/+3
* Use PCRE for pattern-matching. * When autopurging messages from a folder based on their timestamp, scan 'new' in addition to 'cur', otherwise mail delivered to the folder directly never gets purged, unless the folder is open. * Fix handling of invalid sequence number of 0. * NOT operator on content searches.
2005-08-11Update mail/courier-imap to 4.0.4. Changes from version 4.0.1 include:jlam1-3/+3
* imap: Implemented account groups, administrator group. * imapd.c: New OUTBOX_MULTIPLE_SEND option. * imap: add LOGGEROPTS and SSLLOGGEROPTS configuration settings which are passed to courierlogger to set the application name for syslog. * tcpd/tcpd.c: Added --accesslocal option. * smap: SMAP EXPUNGE >100 msg ranges was broken. * PROXY_HOSTNAME: new setting in imap and pop3 config file overrides gethostname() when checking if a proxy connection is required. * msgbodystructure.c (msgbodystructure): Fix MSGBODYSTRUCTURE response for a corrupted content-type of "text".
2005-07-16Get rid of USE_PERL5. The new way to express needing the Perl executablejlam1-4/+2
around at either build-time or at run-time is: USE_TOOLS+= perl # build-time USE_TOOLS+= perl:run # run-time Also remove some places where perl5/buildlink3.mk was being included by a package Makefile, but all that the package wanted was the Perl executable.
2005-05-22Remove USE_GNU_TOOLS and replace with the correct USE_TOOLS definitions:jlam1-2/+2
USE_GNU_TOOLS -> USE_TOOLS awk -> gawk m4 -> gm4 make -> gmake sed -> gsed yacc -> bison
2005-05-22For packages that use GNU configure, don't bother adding "TOOL"jlam1-2/+1
variables into CONFIGURE_ENV if the new tools framework already takes care of adding them automatically.
2005-05-19The courier-imap and sqwebmail packages embed ${SETENV} into scripts, sojlam1-1/+3
pass the real "env" command path to the configure script. This avoids the configure script just detecting "env" in the tools directory and assuming that's the path to the real thing. This fixes PR pkg/30282.
2005-05-13Pass the install-time definition of sysconfdir through to sub-makejlam1-2/+3
processes. Since courier-imap uses GNU automake, we need to set AM_MAKEFLAGS to the correct value. This fixes the installation of the example config files into ${PREFIX}/share/examples/courier.
2005-04-11Remove USE_BUILDLINK3 and NO_BUILDLINK; these are no longer used.tv1-2/+1
2005-03-23Update mail/courier-imap to 4.0.2. Changes from version 4.0.1 include:jlam1-3/+2
* msgbodystructure.c (msgbodystructure): Fix MSGBODYSTRUCTURE response for a corrupted content-type of "text".
2005-03-01Don't require the SSL certificates before starting the Courier IMAPSjlam1-1/+2
or POPS daemons -- we just rely on the Courier control scripts to fail if the SSL certificate specified in the config file isn't readable. Bump the PKGREVISION to 1.
2005-02-18Update mail/courier-imap to courier-imap-4.0.1. Changes from versionjlam1-31/+45
3.0.5 include: * Implemented IMAP and POP3 proxy aggregator. With a proxy aggregator, the mail accounts are split between multiple, independent servers, with an IMAP/POP3 server running on each individual server. A separate, proxy server sits in front and accepts ordinary IMAP and POP3 connections. It reads the login ID, determines which server the account is located on, connects to the server, and logs in. Then, for the lifetime on the login session the front-end server takes itself out of the loop, and forwards all session traffic between the IMAP/POP3 client, and the back-end server. * Use courier-authlib for user authentication. * IPv6 support. * Minor bug fixes. Please note when updating that the locations of the userdb files has changed to be within the courier-authlib config directory, e.g. /usr/pkg/etc/authlib/userdb*.
2004-12-28The default location of the pkgsrc-installed rc.d scripts is nowreed1-2/+2
under share/examples/rc.d. The variable name already was named RCD_SCRIPTS_EXAMPLEDIR. This is from ideas from Greg Woods and others. Also bumped PKGREVISION for all packages using RCD_SCRIPTS mechanism (as requested by wiz).
2004-10-03Libtool fix for PR pkg/26633, and other issues. Update libtool to 1.5.10tv1-1/+2
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-07-14Update mail/courier-imap to 3.0.5 (based on the courier-0.45.6jlam1-13/+8
distribution). Changes from version 2.2.1 include: * Honor ${VARBASE}. * courierlogger(1) has been moved to mail/courier-auth. * Use the sysconftool from courier-auth to merge config files. * The courier* rc.d scripts now check that authdaemond is also set to "YES" to ensure that authdaemond is running before the courier-imap daemons are started. * Support for the ACL IMAP extension (RFC 2086 as well as the 2nd draft revision of the ACL specification) via shared maildirs. * Bug fixes and improvements to MIME encoding. * Fixes buffer overflow vulnerability (PR 25774): http://www.securityfocus.com/bid/9845 http://www.cve.mitre.org/cgi-bin/cvename.cgi?name=CAN-2004-0224
2004-05-12Do not use install-strip target since it failswiz1-4/+1
because sh install is called, and install is not found.
2004-03-26Reverse the use of USE_DB185 in bdb.buildlink3.mk -- it defaults tojlam1-2/+1
"yes" and packages that can't use the DB-1.85 API should set it to "no". This makes the native DB the preferred DB if it exists.
2004-03-26PKGREVISION bump after openssl-security-fix-update to 0.9.6m.wiz1-1/+3
Buildlink files: RECOMMENDED version changed to current version.
2004-03-10Convert to use bdb.buildlink3.mk.jlam1-2/+2
2004-02-24Clean up Solaris db handling by just noting that we need db-1.85jlam1-4/+3
functionality.
2004-02-24On Solaris, we'll need to include db/buildlink3.mk for DB functions.jlam1-1/+4
2004-02-23We actually do want to install the example *.authpam files as authdaemondjlam1-1/+3
uses the service name of the authenticatee when doing PAM service name lookups.
2004-02-22Don't bother installing the *.authpam files as they don't apply. Thejlam1-2/+1
courier IMAP and POP3 daemons only know to use authdaemon for authentication.
2004-02-22Include courier-auth/Makefile.common in a way that facilitates easierjlam1-2/+2
testing of updated packages.
2004-02-22Update mail/courier-imap to 2.2.1. Changes from version 1.4.2 includejlam1-21/+18
addition of keywords on Maildir messages, use of FAM if it exists to allow simultaneous access to the same Maildir from multiple clients, and fixed handling of DELETEd messages and the Trash folder.
2003-11-12PKGREVISION++ after openssl update.jschauma1-2/+2
2003-10-11pass --with-waitfunc=wait3 to configure. only create one directory atgrant1-2/+7
a time in post-install. fixes build on Solaris. fix from Michael Santos in PR pkg/22387.
2003-08-30Add definitions for DEINSTALL_EXTRA_TMPL and INSTALL_EXTRA_TMPL ifjlam1-2/+3
USE_PKGINSTALL is "YES". bsd.pkg.install.mk will no longer automatically pick up a INSTALL/DEINSTALL script in the package directory and assume that you want it for the corresponding *_EXTRA_TMPL variable.
2003-01-28Instead of including bsd.pkg.install.mk directly in a package Makefile,jlam1-2/+2
have it be automatically included by bsd.pkg.mk if USE_PKGINSTALL is set to "YES". This enforces the requirement that bsd.pkg.install.mk be included at the end of a package Makefile. Idea suggested by Julio M. Merino Vidal <jmmv at menta.net>.