Commit graph

97 commits

Author SHA1 Message Date
wiz
7eeb51b534 Bump for perl-5.20.0.
Do it for all packages that
* mention perl, or
* have a directory name starting with p5-*, or
* depend on a package starting with p5-
like last time, for 5.18, where this didn't lead to complaints.
Let me know if you have any this time.
2014-05-29 23:35:13 +00:00
fhajny
95b8915b4d Fix SMF manifests that were not populated properly. 2014-03-26 13:47:58 +00:00
jperkin
222f8dc36b Import initial SMF support for individual packages. 2014-03-11 14:34:36 +00:00
jperkin
45bc40abb4 Remove example rc.d scripts from PLISTs.
These are now handled dynamically if INIT_SYSTEM is set to "rc.d", or
ignored otherwise.
2014-03-11 14:04:57 +00:00
jperkin
b091c2f172 Bump PKGREVISION of all packages which create users, to pick up change of
sysutils/user_* packages.
2013-07-12 10:44:52 +00:00
wiz
d2ca14a3f1 Bump all packages for perl-5.18, that
a) refer 'perl' in their Makefile, or
b) have a directory name of p5-*, or
c) have any dependency on any p5-* package

Like last time, where this caused no complaints.
2013-05-31 12:39:57 +00:00
rodent
9e8537cdd2 "Each sed command should appear in an assignment of its own." 2013-04-06 21:07:31 +00:00
asau
d70c8e374b Drop PKG_DESTDIR_SUPPORT setting, "user-destdir" is default these days. 2012-10-08 12:19:01 +00:00
wiz
8b5d49eb78 Bump all packages that use perl, or depend on a p5-* package, or
are called p5-*.

I hope that's all of them.
2012-10-03 21:53:53 +00:00
adam
da276ae88f Changes 4.10.0:
* imapd.c (main): Open IMAPDEBUGFILE only if it exists already.
(do_expunge): Optionally log deletions.
* pop3dserver.c (cleanup): Optionally log deletions.
* imapd.dist.in (IMAP_MOVE_EXPUNGE_TO_TRASH): Officially document how
IMAPDEBUGFILE works.
* imapscanclient.c: Postpone Y2038K for a while, for uid validities.
* liblock/mail.c (dotlock_exists): Handle getting here because of a
recycled pid.
* unicode/unicode.c (init_default_chset): Handle NULL from setlocale().
* rfc2045/reformime.c (main2): Fixed segfault on some arches from an
initial null given to strtok.
* rfc2045/reformime.c (main2): On ia64 and arm, argv is in readonly memory.
* pop3dserver.c (openpop3dlist): Try a few times to reopen pop3dsizelist
if it fails with ESTALE.
* pop3d.dist.in: Add AUTHSERVICE settings. They've been supported all along.
* Fix gcc 4.6 warnings
* courier-imap.spec.in: switch to systemd. Remove script used when
upgrading from ancient pre-sysconftool versions.
* Fix autoconf warnings.
2012-06-09 11:48:25 +00:00
wiz
ee311e3b36 Recursive bump for pcre-8.30* (shlib major change) 2012-03-03 00:11:51 +00:00
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