Commit graph

42 commits

Author SHA1 Message Date
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
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
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
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
jlam
faed7092a8 Reverse the use of USE_DB185 in bdb.buildlink3.mk -- it defaults to
"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-26 18:48:52 +00:00
wiz
a661ce60c0 PKGREVISION bump after openssl-security-fix-update to 0.9.6m.
Buildlink files: RECOMMENDED version changed to current version.
2004-03-26 02:27:34 +00:00
jlam
bb46710479 Convert to use bdb.buildlink3.mk. 2004-03-10 18:07:16 +00:00
jlam
25fc79de85 Clean up Solaris db handling by just noting that we need db-1.85
functionality.
2004-02-24 00:22:45 +00:00
jlam
3b4ba68d9a On Solaris, we'll need to include db/buildlink3.mk for DB functions. 2004-02-24 00:14:33 +00:00
jlam
031b2e3ca0 We actually do want to install the example *.authpam files as authdaemond
uses the service name of the authenticatee when doing PAM service name
lookups.
2004-02-23 23:23:31 +00:00
jlam
2004a3975a Don't bother installing the *.authpam files as they don't apply. The
courier IMAP and POP3 daemons only know to use authdaemon for
authentication.
2004-02-22 16:43:27 +00:00
jlam
93dd4cdcff Include courier-auth/Makefile.common in a way that facilitates easier
testing of updated packages.
2004-02-22 03:29:50 +00:00
jlam
5d5e3577ac Update mail/courier-imap to 2.2.1. Changes from version 1.4.2 include
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.
2004-02-22 03:13:02 +00:00
jschauma
fe19bb05b5 PKGREVISION++ after openssl update. 2003-11-12 03:39:39 +00:00
grant
745202c830 pass --with-waitfunc=wait3 to configure. only create one directory at
a time in post-install. fixes build on Solaris.

fix from Michael Santos in PR pkg/22387.
2003-10-11 07:39:31 +00:00
jlam
b2677a2cb0 Add definitions for DEINSTALL_EXTRA_TMPL and INSTALL_EXTRA_TMPL if
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-08-30 22:51:11 +00:00
jlam
d7f69e47ce Instead of including bsd.pkg.install.mk directly in a package Makefile,
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>.
2003-01-28 22:03:00 +00:00
jlam
3db18c019a buildlink1 -> buildlink2 2002-10-08 23:15:58 +00:00
jlam
5c053dd06a Take advantage of the auto-generation and installation of rc.d scripts. 2002-09-19 09:04:02 +00:00
jlam
e507190d0d When using bsd.pkg.install.mk, if a DEINSTALL or INSTALL file already
exists, then use it as the default value of DEINSTALL_EXTRA_TMPL or
INSTALL_EXTRA_TMPL.
2002-09-18 21:15:07 +00:00
yyamano
f36670bf22 Replace STRIPFLAG with _STRIPFLAG_INSTALL to fix pkg/15467. 2002-05-28 15:01:22 +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
jlam
e1563fc3e5 Update mail/courier-imap to 1.4.2nb1. Changes from version 1.4.2 include
moving config files related to Maildirs under the control of the
courier-maildirmake package.
2002-01-23 02:22:20 +00:00
jlam
cad0d080bd Update mail/courier-imap to 1.4.2. Changes from version 1.4.0 include minor
bug fixes, plus the major change of moving the authentication modules into
a separate package (courier-auth).  The authentication modules are to be
shared with a forthcoming sqwebmail package.
2002-01-22 22:08:48 +00:00
jlam
bed67a7728 Fix paths to common files. 2002-01-02 22:24:43 +00:00
jlam
d1168c8aae Update mail/courier-imap to 1.4.0. Pkgsrc changes include splitting the
Makefile into package and common parts to facilitate creating sub-packages
for the separate authentication modules, and using the general INSTALL
scripts.  Changes from version 1.3.8.2 include:

	* bug fixes
	* move authentication modules into a separate daemon process
	* partial support of the IMAP QUOTA extension.
	* added experimental PostgreSQL authentication module.
	* added experimental LDAP_TLS option to LDAP authentication.
	* workarounds for Outlook
	* Disable MSIE 6.0 smart tags in all html files
2002-01-02 22:19:37 +00:00
jlam
8efe967468 Move userdb file from /etc/courier to /etc to match location for
maildrop (though it's not enabled yet in maildrop).
2001-08-16 06:56:50 +00:00
jlam
40fac4c9bb * Install maildirmake as imapd.maildirmake and depend on
mail/courier-maildirmake.
* There was an inverted test in the rc.d scripts that was causing them to
  fail on newer NetBSD systems.
* Install the rc.d scripts under ${PREFIX}/etc/rc.d, not in ${PREFIX}/etc.
2001-08-16 06:23:21 +00:00
jlam
ede1d114f4 * Instead of patching imap/configure to replace for SSLCERTS, do it directly
in the package Makefile since we substitute for @SSLCERTS@ anyway.
* Add the *.rand files to the list of files to DEINSTALL.
* Explicitly disable the PAM, LDAP, and MySQL authentication modules so
  that hidden dependencies aren't accidentally added to the build.
  XXX - These should probably be added in via make variables (USE_PAM,
  XXX - USE_LDAP, etc.) in the future, but aren't needed for now in the
  XXX - base package.
2001-08-15 19:40:04 +00:00
jlam
04b5c4360c Remove useless courier-imap.sh that was a work-in-progress, and add
four scripts (courier-{imap,imaps,pop,pops}) that are rc.d-style scripts
to start/stop the various Courier IMAP and POP3 services.  They were
modelled after the samba scripts which may be invoked on systems without
rc.d.
2001-08-14 21:42:14 +00:00
jlam
446f13a11d Disable the check for root so this may be built by a non-root user. 2001-08-12 18:17:15 +00:00
jlam
75654a3cd2 courier-imap: IMAP server for access to Maildir-style mailboxes
Courier-IMAP is a server that provides IMAP access to Maildirs. This IMAP
server does NOT handle traditional mailbox files (/var/spool/mail, and
derivatives), it was written for the specific purpose of providing IMAP
access to Maildirs.

"Maildir" is a directory-based mail storage format originally introduced
in the Qmail mail server, and adopted as an alternative mail storage
format by both Exim and Postfix. Courier-IMAP is popular on
Qmail/Exim/Postfix sites that are configured to use maildirs. The primary
advantage of maildirs is that multiple applications can access the same
Maildir simultaneously without requiring any kind of locking whatsoever.
It is a faster and more efficient way to store mail. It works particularly
well over NFS, which has a long history of locking-related woes.
2001-07-31 22:48:50 +00:00