Commit graph

73 commits

Author SHA1 Message Date
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
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
ba8bd65c9c Check that the required_files do exist before starting the process. If
start_cmd is defined, then rc.subr skips the required_files check, so do it
ourselves within the start_cmd.
2004-02-24 01:18:52 +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