Commit graph

60 commits

Author SHA1 Message Date
markd
dd839ec120 Add option to enable GSSAPI support and patch a bug in the GSSAPI code. 2006-02-12 19:13:49 +00:00
grant
bc0be5a13e - add kqueue option (off by default - perhaps it should be on by
default at the next version bump?)
- set SSL_{CFLAGS,LIBS} when calling configure script so they are
  found correctly on Solaris, and make the configure script do what it
  claims and ignore pkg-config when these are set.
- add lib-sql Makefile patch from Dovecot CVS so this builds correctly
  when no SQL auth support is built.
2006-02-12 02:47:31 +00:00
tv
a3686cc756 Remove the clause in dovecot-example.conf comments about configured paths,
as was done in wip/dovecot-nightly.  That comment is misleading with
pkgsrc, since those paths are not what pkgsrc encodes into the conf file.

Bump PKGREVISION (unfortunate, but there will be another beta pretty
soon anyway).
2006-02-10 12:20:55 +00:00
ghen
b606dc9661 Remove ssl from PKG_SUPPORTED_OPTIONS because it's in a PKG_OPTIONS_GROUP now. 2006-02-09 09:09:28 +00:00
ghen
b5779743f0 Update Dovecot to 1.0beta3. Changes include:
* Dotlock code changed to timeout faster in some situations when
    the lock file is old.
  + Added support for loading SQL drivers dynamically (see INSTALL file for how
    to build them)
  + Keywords are stored to dboxes, and other dbox improvements.
  + dict-sql could actually work now, making quota-in-sql-database possibly
    working now (not fully tested)
  + Added mail storage conversion plugin to convert automatically from one
    mailbox format to another while user logs in. Doesn't preserve UIDVALIDITY/
    UIDs though.
  + Added plugin { .. } section to dovecot.conf for passing parameters to
    plugins (see dovecot-example.conf).
  + Added ssl-build-param binary which is used to generate ssl-parameters.dat.
    Main dovecot binary doesn't anymore link to SSL libraries, and this also
    makes the process title be clearer about why the process is eating all the
    CPU.
  - Fix building without OpenSSL
  - Fixed memory leak in MySQL driver
  - Fixes to checkpassword
  - Broken Content-Length header could have broken mbox opening
  - Fixed potential hangs after APPEND command
  - Fixed potential crashes in dovecot-auth and imap/pop3-login
  - zlib plugin now links with -lz so it could actually work
  - kqueue fixes by Vaclav Haisman

Also, change the package's name to 1.0beta3 (from 1.0b2), since "beta" is what
pkgsrc recognizes according to pkg_info(1).  (sorry tv, I thought it was "b".)
2006-02-08 13:43:49 +00:00
ghen
e868349ff9 Import some improvements from the pkgsrc-wip/dovecot package (by tv@) and
correct a mistake in my previous commit:

- add dependency on zlib
- add option for GNU TLS as an alternative to OpenSSL
- drop SASL option, it's no longer supported
- explicitly disable some options with --disable-*
- "s,/usr/pkg,@PREFIX@," in patch-ab -- I accidentally diffed it after the SUBST stage
- change SUBST_STAGE from post-patch to pre-configure to avoid this in the future
- bump PKGREVISION for all this

Thanks to tv@.
2006-02-06 17:28:09 +00:00
ghen
0b7a2ecb2b - Update mail/dovecot to 1.0beta2. The 1.0 betas are very stable, and
recommended by the Dovecot author (the 0.99.x series are deprecated).

  Major changes:

  v1.0.beta2 2006-01-22  Timo Sirainen <tss@iki.fi>
	+ Added SQLite support. Patch by Jakob Hirsch.
	+ Added auth_debug_passwords setting. If it's not enabled, hide all
          password strings from logs.
	+ Added mail_cache_min_mail_count and mbox_min_index_size settings
	  which can be used to make Dovecot do less disk writes in small
          mailboxes where they don't benefit that much.
	+ Added --build-ssl-parameters parameter to dovecot binary
	- SSL parameters were being regenerated every 10 minutes, although not
	  with all systems.
	- Fixed dovecot-auth crashing at startup. Happened only with some
	  specific compilers.
	- base_dir was supposed to be set world-readable, not world-writable

  v1.0.beta1 2006-01-16  Timo Sirainen <tss@iki.fi>
	* Almost a complete rewrite since 0.99.x, but some of the major
	  changes are:

	+ Index file code rewritten to do less disk I/O, wait locks less and in
	  generate be smarter. They also support being in clustered filesystems
          and NFS support is mostly working also.
	+ Mail caching is smarter. Only the data that client requests is
	  cached. Before Dovecot opened and cached all mails when mailbox was
          opened the first time, which was slow.
	+ Mbox handling code rewritten to be much faster, safer and correct
	+ New authentication mechanisms: APOP, GSSAPI, LOGIN, NTLM and RPA.
	+ LDAP supports authentication binds
	+ Authentication server can cache password database lookups
	+ Support for multiple authentication databases
	+ Namespace configuration
	+ Dovecot works with shared

- Add an option for sqlite support.

- Take over maintainership.

All suggested (and ok'ed) by xtraeme.
2006-02-06 15:54:37 +00:00
joerg
27f7553ed8 Use SUBST framework. 2006-01-19 02:31:12 +00:00
ghen
9598e44942 Use mk/mysql.buildlink3.mk instead of databases/mysqlX-client/bl3.mk,
same for pgsql.bl3.mk.  Bump PKGREVISION.  Ok by wiz.
2006-01-10 12:39:03 +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
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
tv
c7c990d358 ...and likewise, option "gnutls" is no longer supported here. 2005-08-29 13:15:34 +00:00
tv
83785c5168 Make this not fail if gnutls is specified; rather, just fall back to
openssl (or no ssl) anyway.
2005-08-29 13:14:43 +00:00
rillig
7a95adad42 The real user name in PKG_USERS does not need to be escaped with double
backslashes anymore. A single backslash is enough. Changed the
definition in all affected packages. For those that are not caught, an
additional check is placed into bsd.pkginstall.mk.
2005-08-23 11:48:47 +00:00
grant
d9a446615b add pam as a supported option.
bump PKGREVISION since this is a change from the previous behaviour,
where PAM support was autodetected. it must now be explicitly enabled
via PKG_OPTIONS.dovecot.
2005-08-19 04:57:01 +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
agc
8758983939 Add RMD160 digests. 2005-02-24 09:59:20 +00:00
xtraeme
4fd9861558 Update to 0.99.14.
Changes:

 o Message address fields are now parsed differently, fixing some
   issues with spaces. Affects only clients which use FETCH ENVELOPE
   command.
 o Message MIME parser was somewhat broken with missing MIME boundaries
 o mbox: Don't allow X-UID headers in mails to override the UIDs we
   would otherwise set. Too large values can break some clients and
   cause other trouble.
 o passwd-file userdb wasn't working
 o PAM crashed with 64bit systems
 o non-SSL inetd startup wasn't working
 o If UID FETCH notices and skips an expunged message, don't return
   a NO reply. It's not needed and only makes clients give error
   messages.
2005-02-14 08:56:34 +00:00
xtraeme
a69bb73b81 I'm the new maintainer. 2005-01-24 08:00:40 +00:00
jdolecek
d9b2f0561e reset MAINTAINER to tech-pkg@; someone please step in and take ownership
of this package (perhaps xtraeme@ or schmontz@ who made most changes?)
2005-01-23 10:05:02 +00:00
jdolecek
b751782eea 0.99.13 comes with CRAM-MD5 support, so remove the (already disabled) patch
related code
2005-01-23 10:00:12 +00:00
schmonz
371dbaab81 Update to 0.99.13. From the changelog:
* GNUTLS support hasn't been working for a while, so it's not even
  tried to be used anymore unless explicitly wanted.
+ Added CRAM-MD5 authentication mechanism. Patch by Joshua Goodall
+ Added SMD5 and LDAP-MD5 password schemes and changed MD5 scheme to
  use LDAP-MD5 if the password isn't in MD5crypt format. Patch by
  Joshua Goodall
+ Workaround for some POP3 client bugs: if message doesn't contain the
  "end of headers" empty line, add it automatically.
+ vpopmail supports now all password schemes, most importantly
  MD5crypt works now without support from libc's crypt()
- SQL and LDAP authentication was broken
- SEARCH UNKEYWORD wasn't working

pkgsrc changes:

* Disable GNU TLS support for the time being.
* Move the workaround for the gcc2 sparc64 ICE into hacks.mk.
* Format DESCR.
2005-01-08 19:58:16 +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
xtraeme
d78016c2e2 Update to 0.9.12.1
Changes:

        - Fix memory leaks in LDAP, MySQL and PGSQL userdb/passdb
        - Fix hanging when parsing mails that have over 4096 bytes in one
          line (SMTP servers normally don't allow over 1000 bytes so it
          shouldn't be much of a problem)
        - FETCH BODYSTRUCTURE sometimes gave a wrong reply
          (eg. with FETCH (BODYSTRUCTURE RFC822.SIZE) if it wasn't cached)
        - Never return more than one INBOX in LIST even if there are such
          files. They don't work anyway and it just confuses clients.
        - mbox: Don't allow creating INBOX directory by creating/renaming
          mailboxes under it. They just wouldn't work.
        - POP3: Don't return PLAIN in SASL list. We don't support initial SASL
          responses, so it only breaks with most clients that try to use it.
        - IMAP and POP3 login processes may have sent each line in two IP
          packets, one with the data and another with CR+LF. Some clients
          didn't work because of this.
2004-12-21 00:00:34 +00:00
xtraeme
54d05fa49a Remove obsolete variables. You'll want to use:
PKG_OPTIONS.<pkg>+= foo blah
2004-11-17 19:56:49 +00:00
xtraeme
14d87466da Enable the patch for crammd5, which was disabled in the last update
to 0.99.11.
2004-10-25 15:25:21 +00:00
cube
10a284d374 Update to version 0.99.11.
v0.99.11 2004-09-04  Timo Sirainen <tss@iki.fi>

        + 127.* and ::1 IP addresses are treated as secured with
          disable_plaintext_auth = yes
        + auth_debug setting for extra authentication debugging
        + Some documentation and error message updates
        + Create PID file in /var/run/dovecot/master.pid
        + home setting is now optional in static userdb
        + Added mail setting to static userdb
        - After APPENDing to selected mailbox Dovecot didn't always notice the
          new mail immediately which broke some clients
        - THREAD and SORT commands crashed with some mails
        - If APPENDed mail ended with CR character, Dovecot aborted the saving
        - Output streams sometimes sent data duplicated and lost part of it.
          This could have caused various strange problems, but looks like in
          practise it rarely caused real problems.
2004-10-20 16:36:02 +00:00
jlam
9d5426ff76 Change the way that legacy USE_* and FOO_USE_* options are converted
into the bsd.options.mk framework.  Instead of appending to
${PKG_OPTIONS_VAR}, it appends to PKG_DEFAULT_OPTIONS.  This causes
the default options to be the union of PKG_DEFAULT_OPTIONS and any
old USE_* and FOO_USE_* settings.

This fixes PR pkg/26590.
2004-08-22 19:32:51 +00:00
jlam
e2a1c15e4c Document each of the options. 2004-08-05 02:22:19 +00:00
salo
eb2ae740fa Fix wrong assignment in USE_OPENLDAP case, PKG_OPTIONS wants "ldap", not
"openldap".
From PR pkg/26548 by Douglas Brebner.
2004-08-04 17:12:46 +00:00
jlam
6a1fcb90b7 Convert to use bsd.options.mk. 2004-08-01 07:04:45 +00:00
schmonz
7329dd1cc1 Update to 0.99.10.9. From the changelog:
0.99.10.9 2004-07-31  Timo Sirainen <tss at iki.fi>

        - MySQL compiling got broken in last release
        - More PostgreSQL reconnection fixing

0.99.10.8 2004-07-30  Timo Sirainen <tss at iki.fi>

        + LDAP support compiles now with Solaris LDAP library
        - IMAP BODY and BODYSTRUCTURE replies were wrong for MIME parts which
          didn't contain Content-Type header.
        - MySQL and PostgreSQL auth didn't reconnect if connection was lost
          to SQL server
        - Linking fixes for dovecot-auth with some systems
        - Last fix for disconnecting client when downloading mail longer than
          30 seconds actually made it never disconnect client. Now it works
          properly: disconnect when client hasn't read _any_ data for 30
          seconds.
2004-08-01 05:17:19 +00:00
schmonz
c0f72f2dfa Enable pkgviews installation. Iterate with "i" instead of "file"
to placate pkglint.
2004-07-28 15:22:07 +00:00
recht
8dc45652d4 Use the new mk/pgsql.buildlink3.mk to select the correct PostgreSQL
version.
2004-07-24 22:45:14 +00:00
xtraeme
0ddf0b260f Update mail/dovecot to 0.99.10.7
v0.99.10.7 2004-07-14  Timo Sirainen <tss@iki.fi>

  + Added outlook-pop3-no-nuls workaround to fix Outlook hang in
    mails with NULs.
  + Config file lines can now contain quoted strings ("value ")
  - If client didn't finish downloading a single mail in 30 seconds,
    Dovecot closed the connection. This was supposed to work so that
    if client hasn't read data at all in 30 seconds, it's disconnected.
  - Maildir: LIST now doesn't skip symlinks
2004-07-14 18:09:00 +00:00
xtraeme
316c9cc438 Use ${VARBASE} instead of "/var". 2004-06-21 08:32:05 +00:00
xtraeme
fca0a5a063 Update mail/dovecot to 0.99.10.6.
Changes:

        + SHA1 password support using OpenSSL crypto library
        + mail_extra_groups setting
        + maildir_stat_dirs setting
        + Added NAMESPACE capability and command
        - Autocreate missing maildirs (instead of crashing)
        - Fixed occational crash in maildir synchronization
        - Fixed occational assertion crash in ioloop.c
        - Fixed FreeBSD compiling issue
        - Fixed issues with 64bit Solaris binary
2004-06-21 08:30:23 +00:00
cube
4055204214 o Re-add CRAMMD5 support (PKGREVISION++).
o PLIST fix (hi xtraeme!).
o Re-add two chunks for dovecot-example.conf that were forgotten.
2004-05-29 15:42:51 +00:00
xtraeme
39441ba61a Update mail/dovecot to 0.99.10.5.
v0.99.10.5 2003-12-27  Timo Sirainen <tss@iki.fi>

        + MySQL authentication, patch by Matthew Reimer
        + --with-moduledir configure option
        - mbox: APPEND reversed given \Draft and \Deleted flags
        - mbox: "LF not found" errors happened sometimes when X-IMAPbase
          header was updated. Possibly corrupted mbox sometimes.
          Thanks to Fabrice Bellet for finding this bug.
        - Custom flags couldn't be unset
        - Maildir: make sure ":2," is appended to filename when moving mails
          from new/ to cur/.
        - Maildir: synchronization might have sometimes set wrong flags to
          messages, or crash completely
        - Maildir: RENAME xx inbox.xx didn't result as uppercased ".INBOX.xx"
          directory which then couldn't be accessed
        - Don't crash with RAND_bytes() error messages anymore. This mostly
          happened with Fedora/RedHat.

pkgsrc changes:

	o Disable crammd5 patch, doesn't apply cleanly anymore.
	o Add a new option "DOVECOT_USE_MYSQL" to authenticate users
	  against a mysql database.
2004-05-28 22:20:42 +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
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
snj
1c040511ff Fix build on sparc64 with gcc2. Correct a spelling error. 2004-03-20 06:02:59 +00:00
jmmv
5adcfa1afb Bump PKGREVISION due to libtasn1 and gnutls updates. 2004-03-01 15:19:41 +00:00
jlam
ec993afa1a LIBTOOL_OVERRIDE and SHLIBTOOL_OVERRIDE are now lists of shell globs
relative to ${WRKSRC}.  Remove redundant LIBTOOL_OVERRIDE settings that
are automatically handled by the default setting in bsd.pkg.mk.
2004-02-14 17:21:32 +00:00
jlam
ab5902a5d9 bl3ify 2004-02-10 00:32:35 +00:00
salo
02facd3bb6 Update HOMEPAGE and MASTER_SITES. 2004-01-01 03:38:33 +00:00
xtraeme
00bd9aae84 Update to 0.99.10.4 provided by Charlie Allom in PR pkg/23696.
Changes:

v0.99.10.4 2003-11-24  Timo Sirainen <tss@iki.fi>

        - Fixed reference counters in imap-login and pop3-login.
          IMAP AUTHENTICATE and POP3 AUTH commands could have left the
          process stuck doing nothing forever.

v0.99.10.3 2003-11-24  Timo Sirainen <tss@iki.fi>

        - FETCH RFC822.HEADER returned message body as well
        - SUBSCRIBE broke subscription lists
        - LIST code rewritten, children flags should be correct now
        - SORT and THREAD could have given invalid replies
        - Partial BODY[...] fetches might have returned wrong data or at
          least performed worse than was necessary

v0.99.10.1 2003-11-10  Timo Sirainen <tss@iki.fi>

        * mbox: \Draft and \Deleted flags used opposite flag chars in
          X-Status header. We were incompatible with other mbox accessing
          software.

          WARNING: Upgrading from previous version doesn't automatically
          swap the flags, so be careful not to accidentally expunge messages
          that had their \Draft flag changed to \Deleted.

        * Configuration file changes:
           - Whitespace at end of line is stripped, use quotes if you need it
           - # comments are supported after key=value lines. if you need '#'
             character, quote the value
           - Both " and ' quotes are supported. If you need to use them, '\'
             can be used for escaping.

        - mbox: COPY into same mailbox didn't work and could have corrupted
          the mailbox
        - Using Dovecot without index files would crash after using a while
        - Partial BODY[header] or BODY[part] fetches were buggy if client
          requested more data than was available in the header/part.
        - Partial BODY[...] fetches were buggy with messages that had CRLFs
        - Some BODY and BODYSTRUCTURE replies missed data for message/rfc822
          MIME parts causing clients to break
        - SORT (SUBJECT) was buggy
        - Timezone fixes with Date-header

This also includes Joshua Goodall's patch (now in the CVS tree) for
CRAM-MD5 for the -release tag.
2003-12-09 04:06:37 +00:00
jschauma
fe19bb05b5 PKGREVISION++ after openssl update. 2003-11-12 03:39:39 +00:00