Commit graph

86 commits

Author SHA1 Message Date
adam
36fe006f93 Patches corrected 2010-11-10 10:00:06 +00:00
adam
1300678747 Changes 4.8.1:
This is a bugfix release.
2010-11-05 14:16:39 +00:00
pettai
67e0aa3732 courier-imap-4.8.0:
* tcpd/configure.in: Check if explicit linking with libgpg-error is required.
* imapd.c (main): Fix typo in alert message.
* Big quota patch (with some changes).
* imapd.c (main): Dummy FAM/Gamin initialization, report an error
  during login, upon a failure.
* imapd.c (imapenhancedidle): Make FAM error more meaningful.
* pop3dserver.c (main): "disableinsecurepop3" account option disables
  non-SSL logins.
* imapd.c (chkdisabled): "disableinsecureimap" account option disables
  non-SSL logins.

(See the Changelog for the previous releases)

Based on patch(es) from PR pkg/42989 by Brian Candler
2010-06-15 23:07:06 +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
2e3f8a1cf7 Get rid of the "gnutls" and "ssl" options and replace with a
"courier-gnutls" option/toggle that allows using GNU TLS instead of
defaulting to OpenSSL.

Bump the PKGREVISION of couriertcpd, courier-imap, and courier-mta to 1.
2008-02-21 15:50:29 +00:00
jlam
780b055124 Update mail/courier-imap to version 4.3.0, which matches the imapd build
from courier-0.58.0.  Changes from version 4.2.1 include:

+ Teach mkimapdcert and mkpop3dcert to generate certificaties and keys
  using either GNUTLS or OpenSSL tools.

* Remove \Draft flag from messages moved to the trash folder upon expunge
  from the original folder.

* Make clock-skew check more reliable.
2008-02-19 18:45:14 +00:00
jlam
c50c7f3609 Update mail/courier-imap to 4.2.1. Changes from version 4.1.3 include:
* Try to autodetect clock skew.

* Include remote port number in IMAP and POP3 logs.

* Optimization: skip over folders not in the current scope, avoiding
  unnecessary overhead of checking their ACLs.
2007-10-15 15:37:20 +00:00
jlam
0023b20e9f Change the default directory for the various pid files to be
${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-22 04:42:03 +00:00
jlam
5950600b9c Allow "inet6" as a package option for net/couriertcpd and
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-21 14:12:19 +00:00
jlam
2f710b31e7 Include a patch taken from the main Courier CVS repository that adds
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-09-17 15:28:03 +00:00
jlam
e05f693e32 Update mail/courier-imap to 4.1.3. Changes from version 4.1.1 include:
+ 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-10 17:56:57 +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
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
ben
6a54b7423d Fix coutier-imap to link to BDB_LIB instead of -ldb.
This is related to PR#33802
2006-10-10 12:55:39 +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
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
18017dfa91 Update mail/courier-imap to 4.1.1. Changes from version 4.1.0 include:
* Fix quota calculations on 32 bit platforms with 64 bit off_t.
2006-06-09 22:12:10 +00:00
reed
fa7b0636a6 Add missing end-quote in rc scripts. Patches from
Mark Cullen via pkgsrc-users list.

Fixes "Syntax error: Unterminated quoted string".

Also bump PKGREVISION.
2006-06-09 16:35:04 +00:00
jlam
62c264453a Update mail/courier-imap to 4.1.0. Changes from version 4.0.6 include:
+ 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-28 18:15:20 +00:00
rillig
9fc2d7d281 Removed the superfluous "quotes" and 'quotes' from variables that don't
need them, for example RESTRICTED and SUBST_MESSAGE.*.
2006-04-22 09:22:05 +00:00
jlam
daad0f3d6c Modify the pkginstall framework so that it manages all aspects of
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-03-14 01:14:26 +00:00
joerg
5911def816 Recursive revision bump / recommended bump for gettext ABI change. 2006-02-05 23:08:03 +00:00
jlam
0e2554faf2 Note once again that "fam" is a supported package option for courier-imap.
The logic to handle this is still in mail/courier-maildir/Makefile.common,
but the package option must now be specified here.
2006-01-03 05:36:36 +00:00
jlam
dc9594e09d Remove USE_PKGINSTALL from pkgsrc now that mk/install/pkginstall.mk
automatically detects whether we want the pkginstall machinery to be
used by the package Makefile.
2005-12-29 06:21: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
b71a1d488b Fixed pkglint warnings. The warnings are mostly quoting issues, for
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-12-05 20:49:47 +00:00
rillig
78f38dbd16 Set PKGNAME instead of PKGBASE, as required by
../../mail/courier-maildir/Makefile.common.
2005-11-11 07:33:05 +00:00
jlam
dbb4566cfe Update mail/courier-imap to 4.0.6. Changes from version 4.0.4 include:
* 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-10-20 20:26:23 +00:00
jlam
70bb4d97e8 Update mail/courier-imap to 4.0.4. Changes from version 4.0.1 include:
* 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-08-11 00:04:01 +00:00
jlam
3e474a90d8 Get rid of USE_PERL5. The new way to express needing the Perl executable
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-07-16 01:19:06 +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
jlam
48781afdbb For packages that use GNU configure, don't bother adding "TOOL"
variables into CONFIGURE_ENV if the new tools framework already takes
care of adding them automatically.
2005-05-22 05:35:32 +00:00
jlam
f13fc5c1d4 The courier-imap and sqwebmail packages embed ${SETENV} into scripts, so
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-19 17:05:38 +00:00
jlam
36ccbedf47 Pass the install-time definition of sysconfdir through to sub-make
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-05-13 05:20:48 +00:00
wiz
4e3b759ce4 Sort. 2005-05-03 15:33:17 +00:00
reed
ee8be9d0c1 RCD_SCRIPTS_EXAMPLEDIR is no longer customizable.
And always is defined as share/examples/rc.d
which was the default before.

This rc.d scripts are not automatically added to PLISTs now also.
So add to each corresponding PLIST as required.

This was discussed on tech-pkg in late January and late April.

Todo: remove the RCD_SCRIPTS_EXAMPLEDIR uses in MESSAGES and elsewhere
and remove the RCD_SCRIPTS_EXAMPLEDIR itself.
2005-05-02 20:33:57 +00:00
tv
f816d81489 Remove USE_BUILDLINK3 and NO_BUILDLINK; these are no longer used. 2005-04-11 21:44:48 +00:00
jlam
8072b40470 Update mail/courier-imap to 4.0.2. Changes from version 4.0.1 include:
* msgbodystructure.c (msgbodystructure): Fix MSGBODYSTRUCTURE response
      for a corrupted content-type of "text".
2005-03-23 04:07:03 +00:00
jlam
2d5cc83cff Don't require the SSL certificates before starting the Courier IMAPS
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-03-01 01:42:36 +00:00
agc
8758983939 Add RMD160 digests. 2005-02-24 09:59:20 +00:00
jlam
77eebb3972 Update mail/courier-imap to courier-imap-4.0.1. Changes from version
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*.
2005-02-18 22:12:46 +00:00
reed
32d8f290c2 The default location of the pkgsrc-installed rc.d scripts is now
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-12-28 02:47:40 +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
41d5c31921 Print warnings to stderr, not stdout. This matches rc.subr behaviour. 2004-07-15 08:29:05 +00:00
jlam
bfa796133d Update mail/courier-imap to 3.0.5 (based on the courier-0.45.6
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-07-14 20:07:16 +00:00
wiz
227e094c98 Do not use install-strip target since it fails
because sh install is called, and install is not found.
2004-05-12 23:40:12 +00:00
reed
9c790735db mk/bsd.pkg.install.mk now automatically registers
the RCD_SCRIPTS rc.d script(s) to the PLIST.

This GENERATE_PLIST idea is part of Greg A. Woods'
PR #22954.

This helps when the RC_SCRIPTS are installed to
a different ${RCD_SCRIPTS_EXAMPLEDIR}. (Later,
the default RCD_SCRIPTS_EXAMPLEDIR will be changed
to be more clear that they are the examples.)

These patches also remove the etc/rc.d/ scripts from PLISTs
(of packages that use RCD_SCRIPTS). (This also removes
now unused references from openssh* makefiles. Note that
qmail package has not been changed yet.)

I have been doing automatic PLIST registration for RC_SCRIPTS
for over a year. Not all of these packages have been tested,
but many have been tested and used.

Somethings maybe to do:
- a few packages still manually install the rc.d scripts to
  hard-coded etc/rc.d. These need to be fixed.
- maybe  remove from mk/${OPSYS}.pkg.dist mtree specifications too.
2004-04-23 22:07:52 +00:00