CRUX-ARM : Home

Home :: Documentation :: Download :: Development :: Community :: Ports :: Packages :: Bugs :: Links :: About :: Donors
dovecot: initial import (verified compilation)
authorJose V Beneyto <sepen@crux.nu>
Tue, 16 Nov 2010 14:13:53 +0000 (15:13 +0100)
committerJose V Beneyto <sepen@crux.nu>
Tue, 16 Nov 2010 14:13:53 +0000 (15:13 +0100)
dovecot/.footprint [new file with mode: 0644]
dovecot/.md5sum [new file with mode: 0644]
dovecot/Pkgfile [new file with mode: 0644]
dovecot/README [new file with mode: 0644]
dovecot/dovecot [new file with mode: 0644]
dovecot/dovecot-config.patch [new file with mode: 0644]
dovecot/pre-install [new file with mode: 0644]

diff --git a/dovecot/.footprint b/dovecot/.footprint
new file mode 100644 (file)
index 0000000..5dbcb26
--- /dev/null
@@ -0,0 +1,514 @@
+drwxr-xr-x     root/root       etc/
+drwxr-xr-x     root/root       etc/dovecot/
+drwxr-xr-x     root/root       etc/dovecot/conf.d/
+-rw-r--r--     root/root       etc/dovecot/conf.d/10-auth.conf
+-rw-r--r--     root/root       etc/dovecot/conf.d/10-director.conf
+-rw-r--r--     root/root       etc/dovecot/conf.d/10-logging.conf
+-rw-r--r--     root/root       etc/dovecot/conf.d/10-mail.conf
+-rw-r--r--     root/root       etc/dovecot/conf.d/10-master.conf
+-rw-r--r--     root/root       etc/dovecot/conf.d/10-ssl.conf
+-rw-r--r--     root/root       etc/dovecot/conf.d/15-lda.conf
+-rw-r--r--     root/root       etc/dovecot/conf.d/20-imap.conf
+-rw-r--r--     root/root       etc/dovecot/conf.d/20-lmtp.conf
+-rw-r--r--     root/root       etc/dovecot/conf.d/20-pop3.conf
+-rw-r--r--     root/root       etc/dovecot/conf.d/90-acl.conf
+-rw-r--r--     root/root       etc/dovecot/conf.d/90-plugin.conf
+-rw-r--r--     root/root       etc/dovecot/conf.d/90-quota.conf
+-rw-r--r--     root/root       etc/dovecot/conf.d/auth-checkpassword.conf.ext
+-rw-r--r--     root/root       etc/dovecot/conf.d/auth-deny.conf.ext
+-rw-r--r--     root/root       etc/dovecot/conf.d/auth-ldap.conf.ext
+-rw-r--r--     root/root       etc/dovecot/conf.d/auth-master.conf.ext
+-rw-r--r--     root/root       etc/dovecot/conf.d/auth-passwdfile.conf.ext
+-rw-r--r--     root/root       etc/dovecot/conf.d/auth-sql.conf.ext
+-rw-r--r--     root/root       etc/dovecot/conf.d/auth-static.conf.ext
+-rw-r--r--     root/root       etc/dovecot/conf.d/auth-system.conf.ext
+-rw-r--r--     root/root       etc/dovecot/conf.d/auth-vpopmail.conf.ext
+-rw-r--r--     root/root       etc/dovecot/dovecot-db.conf.ext
+-rw-r--r--     root/root       etc/dovecot/dovecot-dict-sql.conf.ext
+-rw-r--r--     root/root       etc/dovecot/dovecot-ldap.conf.ext
+-rw-r--r--     root/root       etc/dovecot/dovecot-sql.conf.ext
+-rw-r--r--     root/root       etc/dovecot/dovecot.conf
+drwxr-xr-x     root/root       etc/rc.d/
+-rwxr-xr-x     root/root       etc/rc.d/dovecot
+drwxr-xr-x     root/root       etc/ssl/
+drwxr-xr-x     root/root       etc/ssl/certs/
+-rw-------     root/root       etc/ssl/certs/dovecot.crt (EMPTY)
+drwxr-xr-x     root/root       etc/ssl/keys/
+-rw-------     root/root       etc/ssl/keys/dovecot.key (EMPTY)
+drwxr-xr-x     root/root       usr/
+drwxr-xr-x     root/root       usr/bin/
+-rwxr-xr-x     root/root       usr/bin/doveadm
+-rwxr-xr-x     root/root       usr/bin/doveconf
+-rwxr-xr-x     root/root       usr/bin/dsync
+drwxr-xr-x     root/root       usr/include/
+drwxr-xr-x     root/root       usr/include/dovecot/
+-rw-r--r--     root/root       usr/include/dovecot/abspath.h
+-rw-r--r--     root/root       usr/include/dovecot/access-lookup.h
+-rw-r--r--     root/root       usr/include/dovecot/anvil-client.h
+-rw-r--r--     root/root       usr/include/dovecot/aqueue.h
+-rw-r--r--     root/root       usr/include/dovecot/array-decl.h
+-rw-r--r--     root/root       usr/include/dovecot/array.h
+-rw-r--r--     root/root       usr/include/dovecot/askpass.h
+-rw-r--r--     root/root       usr/include/dovecot/auth-cache.h
+-rw-r--r--     root/root       usr/include/dovecot/auth-client-connection.h
+-rw-r--r--     root/root       usr/include/dovecot/auth-client-interface.h
+-rw-r--r--     root/root       usr/include/dovecot/auth-client-private.h
+-rw-r--r--     root/root       usr/include/dovecot/auth-client-request.h
+-rw-r--r--     root/root       usr/include/dovecot/auth-client.h
+-rw-r--r--     root/root       usr/include/dovecot/auth-common.h
+-rw-r--r--     root/root       usr/include/dovecot/auth-master-connection.h
+-rw-r--r--     root/root       usr/include/dovecot/auth-master.h
+-rw-r--r--     root/root       usr/include/dovecot/auth-penalty.h
+-rw-r--r--     root/root       usr/include/dovecot/auth-request-handler.h
+-rw-r--r--     root/root       usr/include/dovecot/auth-request.h
+-rw-r--r--     root/root       usr/include/dovecot/auth-server-connection.h
+-rw-r--r--     root/root       usr/include/dovecot/auth-settings.h
+-rw-r--r--     root/root       usr/include/dovecot/auth-stream.h
+-rw-r--r--     root/root       usr/include/dovecot/auth-worker-client.h
+-rw-r--r--     root/root       usr/include/dovecot/auth-worker-server.h
+-rw-r--r--     root/root       usr/include/dovecot/auth.h
+-rw-r--r--     root/root       usr/include/dovecot/backtrace-string.h
+-rw-r--r--     root/root       usr/include/dovecot/base64.h
+-rw-r--r--     root/root       usr/include/dovecot/bsearch-insert-pos.h
+-rw-r--r--     root/root       usr/include/dovecot/buffer.h
+-rw-r--r--     root/root       usr/include/dovecot/charset-utf8.h
+-rw-r--r--     root/root       usr/include/dovecot/child-wait.h
+-rw-r--r--     root/root       usr/include/dovecot/client-common.h
+-rw-r--r--     root/root       usr/include/dovecot/close-keep-errno.h
+-rw-r--r--     root/root       usr/include/dovecot/compat.h
+-rw-r--r--     root/root       usr/include/dovecot/config-filter.h
+-rw-r--r--     root/root       usr/include/dovecot/config-parser-private.h
+-rw-r--r--     root/root       usr/include/dovecot/config-parser.h
+-rw-r--r--     root/root       usr/include/dovecot/config-request.h
+-rw-r--r--     root/root       usr/include/dovecot/config.h
+-rw-r--r--     root/root       usr/include/dovecot/crc32.h
+-rw-r--r--     root/root       usr/include/dovecot/cydir-storage.h
+-rw-r--r--     root/root       usr/include/dovecot/cydir-sync.h
+-rw-r--r--     root/root       usr/include/dovecot/data-stack.h
+-rw-r--r--     root/root       usr/include/dovecot/db-checkpassword.h
+-rw-r--r--     root/root       usr/include/dovecot/db-ldap.h
+-rw-r--r--     root/root       usr/include/dovecot/db-passwd-file.h
+-rw-r--r--     root/root       usr/include/dovecot/db-sql.h
+-rw-r--r--     root/root       usr/include/dovecot/dbox-attachment.h
+-rw-r--r--     root/root       usr/include/dovecot/dbox-file.h
+-rw-r--r--     root/root       usr/include/dovecot/dbox-mail.h
+-rw-r--r--     root/root       usr/include/dovecot/dbox-save.h
+-rw-r--r--     root/root       usr/include/dovecot/dbox-storage.h
+-rw-r--r--     root/root       usr/include/dovecot/dbox-sync-rebuild.h
+-rw-r--r--     root/root       usr/include/dovecot/dict-client.h
+-rw-r--r--     root/root       usr/include/dovecot/dict-private.h
+-rw-r--r--     root/root       usr/include/dovecot/dict-sql-settings.h
+-rw-r--r--     root/root       usr/include/dovecot/dict-sql.h
+-rw-r--r--     root/root       usr/include/dovecot/dict.h
+-rw-r--r--     root/root       usr/include/dovecot/dns-lookup.h
+-rw-r--r--     root/root       usr/include/dovecot/dovecot-version.h
+-rw-r--r--     root/root       usr/include/dovecot/duplicate.h
+-rw-r--r--     root/root       usr/include/dovecot/eacces-error.h
+-rw-r--r--     root/root       usr/include/dovecot/env-util.h
+-rw-r--r--     root/root       usr/include/dovecot/execv-const.h
+-rw-r--r--     root/root       usr/include/dovecot/failures.h
+-rw-r--r--     root/root       usr/include/dovecot/fd-close-on-exec.h
+-rw-r--r--     root/root       usr/include/dovecot/fd-set-nonblock.h
+-rw-r--r--     root/root       usr/include/dovecot/fdatasync-path.h
+-rw-r--r--     root/root       usr/include/dovecot/fdpass.h
+-rw-r--r--     root/root       usr/include/dovecot/file-cache.h
+-rw-r--r--     root/root       usr/include/dovecot/file-copy.h
+-rw-r--r--     root/root       usr/include/dovecot/file-dotlock.h
+-rw-r--r--     root/root       usr/include/dovecot/file-lock.h
+-rw-r--r--     root/root       usr/include/dovecot/file-set-size.h
+-rw-r--r--     root/root       usr/include/dovecot/fs-api-private.h
+-rw-r--r--     root/root       usr/include/dovecot/fs-api.h
+-rw-r--r--     root/root       usr/include/dovecot/fs-sis-common.h
+-rw-r--r--     root/root       usr/include/dovecot/fsync-mode.h
+-rw-r--r--     root/root       usr/include/dovecot/hash-format.h
+-rw-r--r--     root/root       usr/include/dovecot/hash-method.h
+-rw-r--r--     root/root       usr/include/dovecot/hash.h
+-rw-r--r--     root/root       usr/include/dovecot/hash2.h
+-rw-r--r--     root/root       usr/include/dovecot/hex-binary.h
+-rw-r--r--     root/root       usr/include/dovecot/hex-dec.h
+-rw-r--r--     root/root       usr/include/dovecot/hmac-md5.h
+-rw-r--r--     root/root       usr/include/dovecot/home-expand.h
+-rw-r--r--     root/root       usr/include/dovecot/hostpid.h
+-rw-r--r--     root/root       usr/include/dovecot/imap-arg.h
+-rw-r--r--     root/root       usr/include/dovecot/imap-base-subject.h
+-rw-r--r--     root/root       usr/include/dovecot/imap-bodystructure.h
+-rw-r--r--     root/root       usr/include/dovecot/imap-client.h
+-rw-r--r--     root/root       usr/include/dovecot/imap-commands-util.h
+-rw-r--r--     root/root       usr/include/dovecot/imap-commands.h
+-rw-r--r--     root/root       usr/include/dovecot/imap-common.h
+-rw-r--r--     root/root       usr/include/dovecot/imap-date.h
+-rw-r--r--     root/root       usr/include/dovecot/imap-envelope.h
+-rw-r--r--     root/root       usr/include/dovecot/imap-expunge.h
+-rw-r--r--     root/root       usr/include/dovecot/imap-fetch.h
+-rw-r--r--     root/root       usr/include/dovecot/imap-id.h
+-rw-r--r--     root/root       usr/include/dovecot/imap-match.h
+-rw-r--r--     root/root       usr/include/dovecot/imap-parser.h
+-rw-r--r--     root/root       usr/include/dovecot/imap-quote.h
+-rw-r--r--     root/root       usr/include/dovecot/imap-resp-code.h
+-rw-r--r--     root/root       usr/include/dovecot/imap-search-args.h
+-rw-r--r--     root/root       usr/include/dovecot/imap-search.h
+-rw-r--r--     root/root       usr/include/dovecot/imap-seqset.h
+-rw-r--r--     root/root       usr/include/dovecot/imap-settings.h
+-rw-r--r--     root/root       usr/include/dovecot/imap-status.h
+-rw-r--r--     root/root       usr/include/dovecot/imap-sync.h
+-rw-r--r--     root/root       usr/include/dovecot/imap-utf7.h
+-rw-r--r--     root/root       usr/include/dovecot/imap-util.h
+-rw-r--r--     root/root       usr/include/dovecot/imem.h
+-rw-r--r--     root/root       usr/include/dovecot/index-attachment.h
+-rw-r--r--     root/root       usr/include/dovecot/index-mail.h
+-rw-r--r--     root/root       usr/include/dovecot/index-mailbox-list.h
+-rw-r--r--     root/root       usr/include/dovecot/index-search-result.h
+-rw-r--r--     root/root       usr/include/dovecot/index-sort-private.h
+-rw-r--r--     root/root       usr/include/dovecot/index-sort.h
+-rw-r--r--     root/root       usr/include/dovecot/index-storage.h
+-rw-r--r--     root/root       usr/include/dovecot/index-sync-changes.h
+-rw-r--r--     root/root       usr/include/dovecot/index-sync-private.h
+-rw-r--r--     root/root       usr/include/dovecot/index-thread-private.h
+-rw-r--r--     root/root       usr/include/dovecot/ioloop-internal.h
+-rw-r--r--     root/root       usr/include/dovecot/ioloop-iolist.h
+-rw-r--r--     root/root       usr/include/dovecot/ioloop-notify-fd.h
+-rw-r--r--     root/root       usr/include/dovecot/ioloop.h
+-rw-r--r--     root/root       usr/include/dovecot/iostream-internal.h
+-rw-r--r--     root/root       usr/include/dovecot/istream-attachment.h
+-rw-r--r--     root/root       usr/include/dovecot/istream-base64-encoder.h
+-rw-r--r--     root/root       usr/include/dovecot/istream-concat.h
+-rw-r--r--     root/root       usr/include/dovecot/istream-crlf.h
+-rw-r--r--     root/root       usr/include/dovecot/istream-dot.h
+-rw-r--r--     root/root       usr/include/dovecot/istream-header-filter.h
+-rw-r--r--     root/root       usr/include/dovecot/istream-internal.h
+-rw-r--r--     root/root       usr/include/dovecot/istream-mail-stats.h
+-rw-r--r--     root/root       usr/include/dovecot/istream-raw-mbox.h
+-rw-r--r--     root/root       usr/include/dovecot/istream-seekable.h
+-rw-r--r--     root/root       usr/include/dovecot/istream-tee.h
+-rw-r--r--     root/root       usr/include/dovecot/istream.h
+-rw-r--r--     root/root       usr/include/dovecot/lda-settings.h
+-rw-r--r--     root/root       usr/include/dovecot/lib-signals.h
+-rw-r--r--     root/root       usr/include/dovecot/lib.h
+-rw-r--r--     root/root       usr/include/dovecot/llist.h
+-rw-r--r--     root/root       usr/include/dovecot/lmtp-client.h
+-rw-r--r--     root/root       usr/include/dovecot/login-common.h
+-rw-r--r--     root/root       usr/include/dovecot/login-proxy-state.h
+-rw-r--r--     root/root       usr/include/dovecot/login-proxy.h
+-rw-r--r--     root/root       usr/include/dovecot/login-settings.h
+-rw-r--r--     root/root       usr/include/dovecot/macros.h
+-rw-r--r--     root/root       usr/include/dovecot/mail-cache-private.h
+-rw-r--r--     root/root       usr/include/dovecot/mail-cache.h
+-rw-r--r--     root/root       usr/include/dovecot/mail-copy.h
+-rw-r--r--     root/root       usr/include/dovecot/mail-deliver.h
+-rw-r--r--     root/root       usr/include/dovecot/mail-error.h
+-rw-r--r--     root/root       usr/include/dovecot/mail-index-alloc-cache.h
+-rw-r--r--     root/root       usr/include/dovecot/mail-index-modseq.h
+-rw-r--r--     root/root       usr/include/dovecot/mail-index-private.h
+-rw-r--r--     root/root       usr/include/dovecot/mail-index-strmap.h
+-rw-r--r--     root/root       usr/include/dovecot/mail-index-sync-private.h
+-rw-r--r--     root/root       usr/include/dovecot/mail-index-transaction-private.h
+-rw-r--r--     root/root       usr/include/dovecot/mail-index-util.h
+-rw-r--r--     root/root       usr/include/dovecot/mail-index-view-private.h
+-rw-r--r--     root/root       usr/include/dovecot/mail-index.h
+-rw-r--r--     root/root       usr/include/dovecot/mail-namespace.h
+-rw-r--r--     root/root       usr/include/dovecot/mail-search-build.h
+-rw-r--r--     root/root       usr/include/dovecot/mail-search-parser-private.h
+-rw-r--r--     root/root       usr/include/dovecot/mail-search-parser.h
+-rw-r--r--     root/root       usr/include/dovecot/mail-search-register.h
+-rw-r--r--     root/root       usr/include/dovecot/mail-search.h
+-rw-r--r--     root/root       usr/include/dovecot/mail-send.h
+-rw-r--r--     root/root       usr/include/dovecot/mail-storage-hooks.h
+-rw-r--r--     root/root       usr/include/dovecot/mail-storage-private.h
+-rw-r--r--     root/root       usr/include/dovecot/mail-storage-service.h
+-rw-r--r--     root/root       usr/include/dovecot/mail-storage-settings.h
+-rw-r--r--     root/root       usr/include/dovecot/mail-storage.h
+-rw-r--r--     root/root       usr/include/dovecot/mail-thread.h
+-rw-r--r--     root/root       usr/include/dovecot/mail-transaction-log-private.h
+-rw-r--r--     root/root       usr/include/dovecot/mail-transaction-log-view-private.h
+-rw-r--r--     root/root       usr/include/dovecot/mail-transaction-log.h
+-rw-r--r--     root/root       usr/include/dovecot/mail-types.h
+-rw-r--r--     root/root       usr/include/dovecot/mail-user.h
+-rw-r--r--     root/root       usr/include/dovecot/mailbox-list-delete.h
+-rw-r--r--     root/root       usr/include/dovecot/mailbox-list-fs.h
+-rw-r--r--     root/root       usr/include/dovecot/mailbox-list-index-private.h
+-rw-r--r--     root/root       usr/include/dovecot/mailbox-list-index.h
+-rw-r--r--     root/root       usr/include/dovecot/mailbox-list-maildir.h
+-rw-r--r--     root/root       usr/include/dovecot/mailbox-list-private.h
+-rw-r--r--     root/root       usr/include/dovecot/mailbox-list-subscriptions.h
+-rw-r--r--     root/root       usr/include/dovecot/mailbox-list.h
+-rw-r--r--     root/root       usr/include/dovecot/mailbox-log.h
+-rw-r--r--     root/root       usr/include/dovecot/mailbox-search-result-private.h
+-rw-r--r--     root/root       usr/include/dovecot/mailbox-tree.h
+-rw-r--r--     root/root       usr/include/dovecot/mailbox-uidvalidity.h
+-rw-r--r--     root/root       usr/include/dovecot/maildir-filename.h
+-rw-r--r--     root/root       usr/include/dovecot/maildir-keywords.h
+-rw-r--r--     root/root       usr/include/dovecot/maildir-settings.h
+-rw-r--r--     root/root       usr/include/dovecot/maildir-storage.h
+-rw-r--r--     root/root       usr/include/dovecot/maildir-sync.h
+-rw-r--r--     root/root       usr/include/dovecot/maildir-uidlist.h
+-rw-r--r--     root/root       usr/include/dovecot/master-auth.h
+-rw-r--r--     root/root       usr/include/dovecot/master-interface.h
+-rw-r--r--     root/root       usr/include/dovecot/master-login-auth.h
+-rw-r--r--     root/root       usr/include/dovecot/master-login.h
+-rw-r--r--     root/root       usr/include/dovecot/master-service-private.h
+-rw-r--r--     root/root       usr/include/dovecot/master-service-settings-cache.h
+-rw-r--r--     root/root       usr/include/dovecot/master-service-settings.h
+-rw-r--r--     root/root       usr/include/dovecot/master-service.h
+-rw-r--r--     root/root       usr/include/dovecot/mbox-file.h
+-rw-r--r--     root/root       usr/include/dovecot/mbox-from.h
+-rw-r--r--     root/root       usr/include/dovecot/mbox-lock.h
+-rw-r--r--     root/root       usr/include/dovecot/mbox-md5.h
+-rw-r--r--     root/root       usr/include/dovecot/mbox-settings.h
+-rw-r--r--     root/root       usr/include/dovecot/mbox-storage.h
+-rw-r--r--     root/root       usr/include/dovecot/mbox-sync-private.h
+-rw-r--r--     root/root       usr/include/dovecot/md4.h
+-rw-r--r--     root/root       usr/include/dovecot/md5.h
+-rw-r--r--     root/root       usr/include/dovecot/mdbox-file.h
+-rw-r--r--     root/root       usr/include/dovecot/mdbox-map-private.h
+-rw-r--r--     root/root       usr/include/dovecot/mdbox-map.h
+-rw-r--r--     root/root       usr/include/dovecot/mdbox-settings.h
+-rw-r--r--     root/root       usr/include/dovecot/mdbox-storage-rebuild.h
+-rw-r--r--     root/root       usr/include/dovecot/mdbox-storage.h
+-rw-r--r--     root/root       usr/include/dovecot/mdbox-sync.h
+-rw-r--r--     root/root       usr/include/dovecot/mech-otp-skey-common.h
+-rw-r--r--     root/root       usr/include/dovecot/mech-plain-common.h
+-rw-r--r--     root/root       usr/include/dovecot/mech.h
+-rw-r--r--     root/root       usr/include/dovecot/mempool.h
+-rw-r--r--     root/root       usr/include/dovecot/message-address.h
+-rw-r--r--     root/root       usr/include/dovecot/message-date.h
+-rw-r--r--     root/root       usr/include/dovecot/message-decoder.h
+-rw-r--r--     root/root       usr/include/dovecot/message-header-decode.h
+-rw-r--r--     root/root       usr/include/dovecot/message-header-encode.h
+-rw-r--r--     root/root       usr/include/dovecot/message-header-parser.h
+-rw-r--r--     root/root       usr/include/dovecot/message-id.h
+-rw-r--r--     root/root       usr/include/dovecot/message-parser.h
+-rw-r--r--     root/root       usr/include/dovecot/message-part-serialize.h
+-rw-r--r--     root/root       usr/include/dovecot/message-search.h
+-rw-r--r--     root/root       usr/include/dovecot/message-send.h
+-rw-r--r--     root/root       usr/include/dovecot/message-size.h
+-rw-r--r--     root/root       usr/include/dovecot/mkdir-parents.h
+-rw-r--r--     root/root       usr/include/dovecot/mmap-util.h
+-rw-r--r--     root/root       usr/include/dovecot/module-context.h
+-rw-r--r--     root/root       usr/include/dovecot/module-dir.h
+-rw-r--r--     root/root       usr/include/dovecot/mountpoint.h
+-rw-r--r--     root/root       usr/include/dovecot/mycrypt.h
+-rw-r--r--     root/root       usr/include/dovecot/network.h
+-rw-r--r--     root/root       usr/include/dovecot/nfs-workarounds.h
+-rw-r--r--     root/root       usr/include/dovecot/notify-plugin-private.h
+-rw-r--r--     root/root       usr/include/dovecot/notify-plugin.h
+-rw-r--r--     root/root       usr/include/dovecot/ostream-cmp.h
+-rw-r--r--     root/root       usr/include/dovecot/ostream-internal.h
+-rw-r--r--     root/root       usr/include/dovecot/ostream.h
+-rw-r--r--     root/root       usr/include/dovecot/passdb-blocking.h
+-rw-r--r--     root/root       usr/include/dovecot/passdb-cache.h
+-rw-r--r--     root/root       usr/include/dovecot/passdb.h
+-rw-r--r--     root/root       usr/include/dovecot/password-scheme.h
+-rw-r--r--     root/root       usr/include/dovecot/pop3-capability.h
+-rw-r--r--     root/root       usr/include/dovecot/pop3-client.h
+-rw-r--r--     root/root       usr/include/dovecot/pop3-commands.h
+-rw-r--r--     root/root       usr/include/dovecot/pop3-common.h
+-rw-r--r--     root/root       usr/include/dovecot/pop3-settings.h
+-rw-r--r--     root/root       usr/include/dovecot/primes.h
+-rw-r--r--     root/root       usr/include/dovecot/printf-format-fix.h
+-rw-r--r--     root/root       usr/include/dovecot/priorityq.h
+-rw-r--r--     root/root       usr/include/dovecot/process-title.h
+-rw-r--r--     root/root       usr/include/dovecot/quoted-printable.h
+-rw-r--r--     root/root       usr/include/dovecot/randgen.h
+-rw-r--r--     root/root       usr/include/dovecot/raw-storage.h
+-rw-r--r--     root/root       usr/include/dovecot/raw-sync.h
+-rw-r--r--     root/root       usr/include/dovecot/read-full.h
+-rw-r--r--     root/root       usr/include/dovecot/restrict-access.h
+-rw-r--r--     root/root       usr/include/dovecot/restrict-process-size.h
+-rw-r--r--     root/root       usr/include/dovecot/rfc2231-parser.h
+-rw-r--r--     root/root       usr/include/dovecot/rfc822-parser.h
+-rw-r--r--     root/root       usr/include/dovecot/safe-memset.h
+-rw-r--r--     root/root       usr/include/dovecot/safe-mkdir.h
+-rw-r--r--     root/root       usr/include/dovecot/safe-mkstemp.h
+-rw-r--r--     root/root       usr/include/dovecot/sasl-server.h
+-rw-r--r--     root/root       usr/include/dovecot/sdbox-file.h
+-rw-r--r--     root/root       usr/include/dovecot/sdbox-storage.h
+-rw-r--r--     root/root       usr/include/dovecot/sdbox-sync.h
+-rw-r--r--     root/root       usr/include/dovecot/sendfile-util.h
+-rw-r--r--     root/root       usr/include/dovecot/seq-range-array.h
+-rw-r--r--     root/root       usr/include/dovecot/service-settings.h
+-rw-r--r--     root/root       usr/include/dovecot/settings-parser.h
+-rw-r--r--     root/root       usr/include/dovecot/settings.h
+-rw-r--r--     root/root       usr/include/dovecot/sha1.h
+-rw-r--r--     root/root       usr/include/dovecot/sha2.h
+-rw-r--r--     root/root       usr/include/dovecot/shared-storage.h
+-rw-r--r--     root/root       usr/include/dovecot/smtp-client.h
+-rw-r--r--     root/root       usr/include/dovecot/sql-api-private.h
+-rw-r--r--     root/root       usr/include/dovecot/sql-api.h
+-rw-r--r--     root/root       usr/include/dovecot/sql-db-cache.h
+-rw-r--r--     root/root       usr/include/dovecot/ssl-proxy.h
+-rw-r--r--     root/root       usr/include/dovecot/str-find.h
+-rw-r--r--     root/root       usr/include/dovecot/str-sanitize.h
+-rw-r--r--     root/root       usr/include/dovecot/str.h
+-rw-r--r--     root/root       usr/include/dovecot/strescape.h
+-rw-r--r--     root/root       usr/include/dovecot/strfuncs.h
+-rw-r--r--     root/root       usr/include/dovecot/strnum.h
+-rw-r--r--     root/root       usr/include/dovecot/subscription-file.h
+-rw-r--r--     root/root       usr/include/dovecot/syslog-util.h
+-rw-r--r--     root/root       usr/include/dovecot/test-common.h
+-rw-r--r--     root/root       usr/include/dovecot/time-util.h
+-rw-r--r--     root/root       usr/include/dovecot/unichar.h
+-rw-r--r--     root/root       usr/include/dovecot/unix-socket-create.h
+-rw-r--r--     root/root       usr/include/dovecot/unlink-directory.h
+-rw-r--r--     root/root       usr/include/dovecot/unlink-old-files.h
+-rw-r--r--     root/root       usr/include/dovecot/userdb-blocking.h
+-rw-r--r--     root/root       usr/include/dovecot/userdb-static.h
+-rw-r--r--     root/root       usr/include/dovecot/userdb-vpopmail.h
+-rw-r--r--     root/root       usr/include/dovecot/userdb.h
+-rw-r--r--     root/root       usr/include/dovecot/utc-mktime.h
+-rw-r--r--     root/root       usr/include/dovecot/utc-offset.h
+-rw-r--r--     root/root       usr/include/dovecot/var-expand.h
+-rw-r--r--     root/root       usr/include/dovecot/wildcard-match.h
+-rw-r--r--     root/root       usr/include/dovecot/write-full.h
+drwxr-xr-x     root/root       usr/lib/
+drwxr-xr-x     root/root       usr/lib/dovecot/
+-rwxr-xr-x     root/root       usr/lib/dovecot/anvil
+-rwxr-xr-x     root/root       usr/lib/dovecot/auth
+-rwxr-xr-x     root/root       usr/lib/dovecot/checkpassword-reply
+-rwxr-xr-x     root/root       usr/lib/dovecot/config
+lrwxrwxrwx     root/root       usr/lib/dovecot/deliver -> dovecot-lda
+-rwxr-xr-x     root/root       usr/lib/dovecot/dict
+-rwxr-xr-x     root/root       usr/lib/dovecot/director
+-rwxr-xr-x     root/root       usr/lib/dovecot/dns-client
+-rwxr-xr-x     root/root       usr/lib/dovecot/doveadm-server
+-rw-r--r--     root/root       usr/lib/dovecot/dovecot-config
+-rwxr-xr-x     root/root       usr/lib/dovecot/dovecot-lda
+-rwxr-xr-x     root/root       usr/lib/dovecot/gdbhelper
+-rwxr-xr-x     root/root       usr/lib/dovecot/imap
+-rwxr-xr-x     root/root       usr/lib/dovecot/imap-login
+-rw-r--r--     root/root       usr/lib/dovecot/libdovecot-lda.a
+-rwxr-xr-x     root/root       usr/lib/dovecot/libdovecot-lda.la
+lrwxrwxrwx     root/root       usr/lib/dovecot/libdovecot-lda.so -> libdovecot-lda.so.0.0.0
+lrwxrwxrwx     root/root       usr/lib/dovecot/libdovecot-lda.so.0 -> libdovecot-lda.so.0.0.0
+-rwxr-xr-x     root/root       usr/lib/dovecot/libdovecot-lda.so.0.0.0
+-rw-r--r--     root/root       usr/lib/dovecot/libdovecot-login.a
+-rwxr-xr-x     root/root       usr/lib/dovecot/libdovecot-login.la
+lrwxrwxrwx     root/root       usr/lib/dovecot/libdovecot-login.so -> libdovecot-login.so.0.0.0
+lrwxrwxrwx     root/root       usr/lib/dovecot/libdovecot-login.so.0 -> libdovecot-login.so.0.0.0
+-rwxr-xr-x     root/root       usr/lib/dovecot/libdovecot-login.so.0.0.0
+-rw-r--r--     root/root       usr/lib/dovecot/libdovecot-storage.a
+-rwxr-xr-x     root/root       usr/lib/dovecot/libdovecot-storage.la
+lrwxrwxrwx     root/root       usr/lib/dovecot/libdovecot-storage.so -> libdovecot-storage.so.0.0.0
+lrwxrwxrwx     root/root       usr/lib/dovecot/libdovecot-storage.so.0 -> libdovecot-storage.so.0.0.0
+-rwxr-xr-x     root/root       usr/lib/dovecot/libdovecot-storage.so.0.0.0
+-rw-r--r--     root/root       usr/lib/dovecot/libdovecot.a
+-rwxr-xr-x     root/root       usr/lib/dovecot/libdovecot.la
+lrwxrwxrwx     root/root       usr/lib/dovecot/libdovecot.so -> libdovecot.so.0.0.0
+lrwxrwxrwx     root/root       usr/lib/dovecot/libdovecot.so.0 -> libdovecot.so.0.0.0
+-rwxr-xr-x     root/root       usr/lib/dovecot/libdovecot.so.0.0.0
+-rwxr-xr-x     root/root       usr/lib/dovecot/listview
+-rwxr-xr-x     root/root       usr/lib/dovecot/lmtp
+-rwxr-xr-x     root/root       usr/lib/dovecot/log
+-rwxr-xr-x     root/root       usr/lib/dovecot/maildirlock
+drwxr-xr-x     root/root       usr/lib/dovecot/modules/
+drwxr-xr-x     root/root       usr/lib/dovecot/modules/auth/
+drwxr-xr-x     root/root       usr/lib/dovecot/modules/doveadm/
+-rw-r--r--     root/root       usr/lib/dovecot/modules/doveadm/lib10_doveadm_expire_plugin.a
+-rwxr-xr-x     root/root       usr/lib/dovecot/modules/doveadm/lib10_doveadm_expire_plugin.la
+-rwxr-xr-x     root/root       usr/lib/dovecot/modules/doveadm/lib10_doveadm_expire_plugin.so
+-rw-r--r--     root/root       usr/lib/dovecot/modules/doveadm/lib10_doveadm_quota_plugin.a
+-rwxr-xr-x     root/root       usr/lib/dovecot/modules/doveadm/lib10_doveadm_quota_plugin.la
+-rwxr-xr-x     root/root       usr/lib/dovecot/modules/doveadm/lib10_doveadm_quota_plugin.so
+-rw-r--r--     root/root       usr/lib/dovecot/modules/doveadm/lib10_doveadm_zlib_plugin.a
+-rwxr-xr-x     root/root       usr/lib/dovecot/modules/doveadm/lib10_doveadm_zlib_plugin.la
+-rwxr-xr-x     root/root       usr/lib/dovecot/modules/doveadm/lib10_doveadm_zlib_plugin.so
+-rw-r--r--     root/root       usr/lib/dovecot/modules/lib01_acl_plugin.a
+-rwxr-xr-x     root/root       usr/lib/dovecot/modules/lib01_acl_plugin.la
+-rwxr-xr-x     root/root       usr/lib/dovecot/modules/lib01_acl_plugin.so
+-rw-r--r--     root/root       usr/lib/dovecot/modules/lib02_imap_acl_plugin.a
+-rwxr-xr-x     root/root       usr/lib/dovecot/modules/lib02_imap_acl_plugin.la
+-rwxr-xr-x     root/root       usr/lib/dovecot/modules/lib02_imap_acl_plugin.so
+-rw-r--r--     root/root       usr/lib/dovecot/modules/lib02_lazy_expunge_plugin.a
+-rwxr-xr-x     root/root       usr/lib/dovecot/modules/lib02_lazy_expunge_plugin.la
+-rwxr-xr-x     root/root       usr/lib/dovecot/modules/lib02_lazy_expunge_plugin.so
+-rw-r--r--     root/root       usr/lib/dovecot/modules/lib10_quota_plugin.a
+-rwxr-xr-x     root/root       usr/lib/dovecot/modules/lib10_quota_plugin.la
+-rwxr-xr-x     root/root       usr/lib/dovecot/modules/lib10_quota_plugin.so
+-rw-r--r--     root/root       usr/lib/dovecot/modules/lib11_imap_quota_plugin.a
+-rwxr-xr-x     root/root       usr/lib/dovecot/modules/lib11_imap_quota_plugin.la
+-rwxr-xr-x     root/root       usr/lib/dovecot/modules/lib11_imap_quota_plugin.so
+-rw-r--r--     root/root       usr/lib/dovecot/modules/lib11_trash_plugin.a
+-rwxr-xr-x     root/root       usr/lib/dovecot/modules/lib11_trash_plugin.la
+-rwxr-xr-x     root/root       usr/lib/dovecot/modules/lib11_trash_plugin.so
+-rw-r--r--     root/root       usr/lib/dovecot/modules/lib15_notify_plugin.a
+-rwxr-xr-x     root/root       usr/lib/dovecot/modules/lib15_notify_plugin.la
+-rwxr-xr-x     root/root       usr/lib/dovecot/modules/lib15_notify_plugin.so
+-rw-r--r--     root/root       usr/lib/dovecot/modules/lib20_autocreate_plugin.a
+-rwxr-xr-x     root/root       usr/lib/dovecot/modules/lib20_autocreate_plugin.la
+-rwxr-xr-x     root/root       usr/lib/dovecot/modules/lib20_autocreate_plugin.so
+-rw-r--r--     root/root       usr/lib/dovecot/modules/lib20_expire_plugin.a
+-rwxr-xr-x     root/root       usr/lib/dovecot/modules/lib20_expire_plugin.la
+-rwxr-xr-x     root/root       usr/lib/dovecot/modules/lib20_expire_plugin.so
+-rw-r--r--     root/root       usr/lib/dovecot/modules/lib20_fts_plugin.a
+-rwxr-xr-x     root/root       usr/lib/dovecot/modules/lib20_fts_plugin.la
+-rwxr-xr-x     root/root       usr/lib/dovecot/modules/lib20_fts_plugin.so
+-rw-r--r--     root/root       usr/lib/dovecot/modules/lib20_listescape_plugin.a
+-rwxr-xr-x     root/root       usr/lib/dovecot/modules/lib20_listescape_plugin.la
+-rwxr-xr-x     root/root       usr/lib/dovecot/modules/lib20_listescape_plugin.so
+-rw-r--r--     root/root       usr/lib/dovecot/modules/lib20_mail_log_plugin.a
+-rwxr-xr-x     root/root       usr/lib/dovecot/modules/lib20_mail_log_plugin.la
+-rwxr-xr-x     root/root       usr/lib/dovecot/modules/lib20_mail_log_plugin.so
+-rw-r--r--     root/root       usr/lib/dovecot/modules/lib20_mbox_snarf_plugin.a
+-rwxr-xr-x     root/root       usr/lib/dovecot/modules/lib20_mbox_snarf_plugin.la
+-rwxr-xr-x     root/root       usr/lib/dovecot/modules/lib20_mbox_snarf_plugin.so
+-rw-r--r--     root/root       usr/lib/dovecot/modules/lib20_virtual_plugin.a
+-rwxr-xr-x     root/root       usr/lib/dovecot/modules/lib20_virtual_plugin.la
+-rwxr-xr-x     root/root       usr/lib/dovecot/modules/lib20_virtual_plugin.so
+-rw-r--r--     root/root       usr/lib/dovecot/modules/lib20_zlib_plugin.a
+-rwxr-xr-x     root/root       usr/lib/dovecot/modules/lib20_zlib_plugin.la
+-rwxr-xr-x     root/root       usr/lib/dovecot/modules/lib20_zlib_plugin.so
+-rw-r--r--     root/root       usr/lib/dovecot/modules/lib21_fts_squat_plugin.a
+-rwxr-xr-x     root/root       usr/lib/dovecot/modules/lib21_fts_squat_plugin.la
+-rwxr-xr-x     root/root       usr/lib/dovecot/modules/lib21_fts_squat_plugin.so
+-rw-r--r--     root/root       usr/lib/dovecot/modules/lib30_imap_zlib_plugin.a
+-rwxr-xr-x     root/root       usr/lib/dovecot/modules/lib30_imap_zlib_plugin.la
+-rwxr-xr-x     root/root       usr/lib/dovecot/modules/lib30_imap_zlib_plugin.so
+-rwxr-xr-x     root/root       usr/lib/dovecot/pop3
+-rwxr-xr-x     root/root       usr/lib/dovecot/pop3-login
+-rwxr-xr-x     root/root       usr/lib/dovecot/rawlog
+-rwxr-xr-x     root/root       usr/lib/dovecot/script
+-rwxr-xr-x     root/root       usr/lib/dovecot/script-login
+-rwxr-xr-x     root/root       usr/lib/dovecot/ssl-params
+-rwxr-xr-x     root/root       usr/lib/dovecot/tcpwrap
+drwxr-xr-x     root/root       usr/man/
+drwxr-xr-x     root/root       usr/man/man1/
+-rw-r--r--     root/root       usr/man/man1/deliver.1.gz
+-rw-r--r--     root/root       usr/man/man1/doveadm-altmove.1.gz
+-rw-r--r--     root/root       usr/man/man1/doveadm-auth.1.gz
+-rw-r--r--     root/root       usr/man/man1/doveadm-config.1.gz
+-rw-r--r--     root/root       usr/man/man1/doveadm-director.1.gz
+-rw-r--r--     root/root       usr/man/man1/doveadm-dump.1.gz
+-rw-r--r--     root/root       usr/man/man1/doveadm-expunge.1.gz
+-rw-r--r--     root/root       usr/man/man1/doveadm-fetch.1.gz
+-rw-r--r--     root/root       usr/man/man1/doveadm-force-resync.1.gz
+-rw-r--r--     root/root       usr/man/man1/doveadm-help.1.gz
+-rw-r--r--     root/root       usr/man/man1/doveadm-import.1.gz
+-rw-r--r--     root/root       usr/man/man1/doveadm-kick.1.gz
+-rw-r--r--     root/root       usr/man/man1/doveadm-log.1.gz
+-rw-r--r--     root/root       usr/man/man1/doveadm-mailbox.1.gz
+-rw-r--r--     root/root       usr/man/man1/doveadm-penalty.1.gz
+-rw-r--r--     root/root       usr/man/man1/doveadm-purge.1.gz
+-rw-r--r--     root/root       usr/man/man1/doveadm-pw.1.gz
+-rw-r--r--     root/root       usr/man/man1/doveadm-quota.1.gz
+-rw-r--r--     root/root       usr/man/man1/doveadm-reload.1.gz
+-rw-r--r--     root/root       usr/man/man1/doveadm-search.1.gz
+-rw-r--r--     root/root       usr/man/man1/doveadm-stop.1.gz
+-rw-r--r--     root/root       usr/man/man1/doveadm-user.1.gz
+-rw-r--r--     root/root       usr/man/man1/doveadm-who.1.gz
+-rw-r--r--     root/root       usr/man/man1/doveadm.1.gz
+-rw-r--r--     root/root       usr/man/man1/doveconf.1.gz
+-rw-r--r--     root/root       usr/man/man1/dovecot-lda.1.gz
+-rw-r--r--     root/root       usr/man/man1/dovecot.1.gz
+-rw-r--r--     root/root       usr/man/man1/dsync.1.gz
+drwxr-xr-x     root/root       usr/man/man7/
+-rw-r--r--     root/root       usr/man/man7/doveadm-search-query.7.gz
+drwxr-xr-x     root/root       usr/sbin/
+-rwxr-xr-x     root/root       usr/sbin/dovecot
+drwxr-xr-x     root/root       usr/share/
+drwxr-xr-x     root/root       usr/share/aclocal/
+-rw-r--r--     root/root       usr/share/aclocal/dovecot.m4
+drwxr-xr-x     root/root       var/
+drwxr-xr-x     root/root       var/lib/
+drwxr-x---     root/root       var/lib/dovecot/
+drwxr-xr-x     root/root       var/run/
+drwxr-xr-x     root/root       var/run/dovecot/
+drwxr-x---     root/dovecot    var/run/dovecot/login/
diff --git a/dovecot/.md5sum b/dovecot/.md5sum
new file mode 100644 (file)
index 0000000..37bd74e
--- /dev/null
@@ -0,0 +1,3 @@
+7eaa958040fbd7169c86134439d4b632  dovecot
+3f59da97925c4159dd5b755df22f737e  dovecot-2.0.7.tar.gz
+47daa0cf67f2afb7dff6710f8a008c31  dovecot-config.patch
diff --git a/dovecot/Pkgfile b/dovecot/Pkgfile
new file mode 100644 (file)
index 0000000..561170c
--- /dev/null
@@ -0,0 +1,61 @@
+# Description: IMAP and POP3 server with ssl/ipv6 support, written with security primarily in mind
+# URL:         http://dovecot.org
+# Maintainer:  Juergen Daubert, juergen dot daubert at t-online dot de
+# Depends on:  zlib bzip2 openssl tcp_wrappers libcap
+
+name=dovecot
+version=2.0.7
+release=1
+source=(http://dovecot.org/releases/2.0/$name-$version.tar.gz \
+        dovecot-config.patch dovecot)
+
+build () {
+  cd $name-$version
+
+  patch -p1 -i $SRC/$name-config.patch
+
+  echo "i_cv_epoll_works=no" > config.cache
+  echo "i_cv_inotify_works=no" >> config.cache
+  echo "i_cv_posix_fallocate_works=yes" >> config.cache
+  echo "i_cv_signed_size_t=no" >> config.cache
+  echo "i_cv_gmtime_max_time_t=32" >> config.cache
+  echo "i_cv_signed_time_t=yes" >> config.cache
+  echo "i_cv_mmap_plays_with_write=yes" >> config.cache
+  echo "i_cv_fd_passing=yes" >> config.cache
+  echo "i_cv_c99_vsnprintf=yes" >> config.cache
+  echo "lib_cv_va_copy=yes" >> config.cache
+  echo "lib_cv___va_copy=yes" >> config.cache
+  echo "lib_cv_va_val_copy=yes" >> config.cache
+  ./configure --build=$CHOST \
+              --host=$CTARGET \
+              --prefix=/usr \
+              --libexecdir=/usr/lib \
+              --sysconfdir=/etc \
+              --localstatedir=/var \
+              --mandir=/usr/man \
+              --with-moduledir=/usr/lib/dovecot/modules \
+              --with-ssl=openssl \
+              --with-libwrap \
+              --cache-file=config.cache
+
+  sed -i config.h -e '/HAVE_FALLOCATE 1/d'
+
+  make
+  make DESTDIR=$PKG install
+
+  cp -r $PKG/usr/share/doc/dovecot/example-config/* $PKG/etc/dovecot
+  install -D -m 755 $SRC/dovecot $PKG/etc/rc.d/dovecot
+
+  rm -r $PKG/usr/share/doc
+  rm $PKG/etc/dovecot/README
+
+  install -d $PKG/etc/ssl/{certs,keys}
+  touch $PKG/etc/ssl/certs/dovecot.crt
+  touch $PKG/etc/ssl/keys/dovecot.key
+  chmod 0600 $PKG/etc/ssl/{keys/dovecot.key,certs/dovecot.crt}
+
+  install -d -m 0750 $PKG/var/lib/dovecot
+  install -d -m 0755 $PKG/var/run/dovecot
+  install -d -m 0750 -o root -g dovecot $PKG/var/run/dovecot/login
+}
diff --git a/dovecot/README b/dovecot/README
new file mode 100644 (file)
index 0000000..b83cbdf
--- /dev/null
@@ -0,0 +1,19 @@
+README for dovecot 2.x
+
+REQUIREMENTS
+
+PRE-INSTALL
+   Create two users dovecot/dovenull and one group dovecot with a 
+   unused id < 99:
+
+   'groupadd -g 26 dovecot'
+   'useradd -g dovecot -u 26 -d /var/run/dovecot -s /bin/false dovecot'
+   'useradd -g dovecot -u 27 -d /var/run/dovecot -s /bin/false dovenull'
+   'passwd -l dovecot'
+   'passwd -l dovenull'
+
+   or run the supplied pre-install script.
+
+POST-INSTALL
+
+PRECAUTION
diff --git a/dovecot/dovecot b/dovecot/dovecot
new file mode 100644 (file)
index 0000000..c1eb24a
--- /dev/null
@@ -0,0 +1,32 @@
+#!/bin/sh
+#
+# /etc/rc.d/dovecot: start/stop dovecot IMAP/POP3 daemon
+#
+
+KEY=/etc/ssl/keys/dovecot.key
+CRT=/etc/ssl/certs/dovecot.crt
+
+case $1 in
+start)
+       if [ ! -s $KEY -o ! -s $CRT ]; then 
+               /usr/bin/mksslcert $KEY $CRT
+       fi
+       /usr/sbin/dovecot
+       ;;
+stop)
+       killall -q /usr/sbin/dovecot
+       ;;
+restart)
+       $0 stop
+       sleep 2
+       $0 start
+       ;;
+reload)
+       kill -s HUP $(pidof dovecot)
+       ;;
+*)
+       echo "usage: $0 [start|stop|restart|reload]"
+       ;;
+esac
+
+# End of file
diff --git a/dovecot/dovecot-config.patch b/dovecot/dovecot-config.patch
new file mode 100644 (file)
index 0000000..fa36d65
--- /dev/null
@@ -0,0 +1,82 @@
+diff -Nru dovecot-2.0.1.orig/doc/example-config/conf.d/10-master.conf dovecot-2.0.1/doc/example-config/conf.d/10-master.conf
+--- dovecot-2.0.1.orig/doc/example-config/conf.d/10-master.conf        2010-08-28 15:12:36.969547056 +0200
++++ dovecot-2.0.1/doc/example-config/conf.d/10-master.conf     2010-08-28 15:12:48.680717737 +0200
+@@ -105,3 +105,10 @@
+     #group = 
+   }
+ }
++
++service tcpwrap {
++   unix_listener login/tcpwrap {
++     mode = 0666
++   }
++}
++
+diff -Nru dovecot-2.0.1.orig/doc/example-config/conf.d/10-ssl.conf dovecot-2.0.1/doc/example-config/conf.d/10-ssl.conf
+--- dovecot-2.0.1.orig/doc/example-config/conf.d/10-ssl.conf   2010-08-28 15:12:36.969547056 +0200
++++ dovecot-2.0.1/doc/example-config/conf.d/10-ssl.conf        2010-08-28 15:12:48.680717737 +0200
+@@ -9,8 +9,8 @@
+ # dropping root privileges, so keep the key file unreadable by anyone but
+ # root. Included doc/mkcert.sh can be used to easily generate self-signed
+ # certificate, just make sure to update the domains in dovecot-openssl.cnf
+-ssl_cert = </etc/ssl/certs/dovecot.pem
+-ssl_key = </etc/ssl/private/dovecot.pem
++ssl_cert = </etc/ssl/certs/dovecot.crt
++ssl_key = </etc/ssl/keys/dovecot.key
+ # If key file is password protected, give the password here. Alternatively
+ # give it when starting dovecot with -p parameter. Since this file is often
+diff -Nru dovecot-2.0.1.orig/doc/example-config/conf.d/auth-system.conf.ext dovecot-2.0.1/doc/example-config/conf.d/auth-system.conf.ext
+--- dovecot-2.0.1.orig/doc/example-config/conf.d/auth-system.conf.ext  2010-08-28 15:12:36.969547056 +0200
++++ dovecot-2.0.1/doc/example-config/conf.d/auth-system.conf.ext       2010-08-28 15:12:48.680717737 +0200
+@@ -7,12 +7,12 @@
+ # PAM is typically used with either userdb passwd or userdb static.
+ # REMEMBER: You'll need /etc/pam.d/dovecot file created for PAM
+ # authentication to actually work. <doc/wiki/PasswordDatabase.PAM.txt>
+-passdb {
+-  driver = pam
++#passdb {
++  #driver = pam
+   # [session=yes] [setcred=yes] [failure_show_msg=yes] [max_requests=<n>]
+   # [cache_key=<key>] [<service name>]
+   #args = dovecot
+-}
++#}
+ # System users (NSS, /etc/passwd, or similiar).
+ # In many systems nowadays this uses Name Service Switch, which is
+@@ -26,11 +26,11 @@
+ # Shadow passwords for system users (NSS, /etc/shadow or similiar).
+ # Deprecated by PAM nowadays.
+ # <doc/wiki/PasswordDatabase.Shadow.txt>
+-#passdb {
+-  #driver = shadow
++passdb {
++  driver = shadow
+   # [blocking=no]
+   #args = 
+-#}
++}
+ # PAM-like authentication for OpenBSD.
+ # <doc/wiki/PasswordDatabase.BSDAuth.txt>
+diff -Nru dovecot-2.0.1.orig/doc/example-config/dovecot.conf dovecot-2.0.1/doc/example-config/dovecot.conf
+--- dovecot-2.0.1.orig/doc/example-config/dovecot.conf 2010-08-28 15:12:36.969547056 +0200
++++ dovecot-2.0.1/doc/example-config/dovecot.conf      2010-08-28 15:12:48.680717737 +0200
+@@ -29,6 +29,7 @@
+ # If you want to specify non-default ports or anything more complex,
+ # edit conf.d/master.conf.
+ #listen = *, ::
++listen = *
+ # Base directory where to store runtime data.
+ #base_dir = /var/run/dovecot/
+@@ -43,7 +44,7 @@
+ #login_trusted_networks =
+ # Sepace separated list of login access check sockets (e.g. tcpwrap)
+-#login_access_sockets = 
++login_access_sockets = tcpwrap
+ # Show more verbose process titles (in ps). Currently shows user name and
+ # IP address. Useful for seeing who are actually using the IMAP processes
diff --git a/dovecot/pre-install b/dovecot/pre-install
new file mode 100644 (file)
index 0000000..d8105e5
--- /dev/null
@@ -0,0 +1,8 @@
+#!/bin/sh
+
+getent group dovecot   || /usr/sbin/groupadd -g 26 dovecot
+getent passwd dovecot  || /usr/sbin/useradd  -g dovecot -u 26 -d /var/run/dovecot -s /bin/false dovecot
+getent passwd dovenull || /usr/sbin/useradd  -g dovecot -u 27 -d /var/run/dovecot -s /bin/false dovenull
+/usr/bin/passwd -l dovecot
+/usr/bin/passwd -l dovenull
+