summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRoy Marples <uberlord@gentoo.org>2006-05-26 16:55:36 +0000
committerRoy Marples <uberlord@gentoo.org>2006-05-26 16:55:36 +0000
commit3282a5f295a4d2fef1f51339ba0dd35b27348330 (patch)
treecf78000166673cdc9ff114565840d2288c29f4ec /net-mail/dovecot
parentStable on amd64 wrt bug #132213 (diff)
downloadgentoo-2-3282a5f295a4d2fef1f51339ba0dd35b27348330.tar.gz
gentoo-2-3282a5f295a4d2fef1f51339ba0dd35b27348330.tar.bz2
gentoo-2-3282a5f295a4d2fef1f51339ba0dd35b27348330.zip
Punt old versions
(Portage version: 2.1_rc2-r3) (Unsigned Manifest commit)
Diffstat (limited to 'net-mail/dovecot')
-rw-r--r--net-mail/dovecot/Manifest56
-rw-r--r--net-mail/dovecot/dovecot-0.99.14-r1.ebuild164
-rw-r--r--net-mail/dovecot/dovecot-1.0_beta2.ebuild128
-rw-r--r--net-mail/dovecot/dovecot-1.0_beta3.ebuild152
-rw-r--r--net-mail/dovecot/dovecot-1.0_beta5.ebuild157
-rw-r--r--net-mail/dovecot/dovecot-1.0_beta7.ebuild157
-rw-r--r--net-mail/dovecot/files/digest-dovecot-0.99.14-r11
-rw-r--r--net-mail/dovecot/files/digest-dovecot-1.0_beta21
-rw-r--r--net-mail/dovecot/files/digest-dovecot-1.0_beta33
-rw-r--r--net-mail/dovecot/files/digest-dovecot-1.0_beta53
-rw-r--r--net-mail/dovecot/files/digest-dovecot-1.0_beta73
11 files changed, 8 insertions, 817 deletions
diff --git a/net-mail/dovecot/Manifest b/net-mail/dovecot/Manifest
index 1f8f670d85ad..b2394b56a968 100644
--- a/net-mail/dovecot/Manifest
+++ b/net-mail/dovecot/Manifest
@@ -1,60 +1,20 @@
-AUX dovecot.init 619 RMD160 b0693a3f1e4aa34f2db5389e29d79b7e669622a8 SHA1 408fc13f5a9ccd8b40e7f82f99e3b18912e24c1f SHA256 833c2121376e753c0a983cedc3854a855bce9b3765f6479aa15cad9acb23ca43 size 619
+AUX dovecot.init 619 RMD160 b0693a3f1e4aa34f2db5389e29d79b7e669622a8 SHA1 408fc13f5a9ccd8b40e7f82f99e3b18912e24c1f SHA256 833c2121376e753c0a983cedc3854a855bce9b3765f6479aa15cad9acb23ca43
MD5 155396035a3ecb1f5171b0432072181b files/dovecot.init 619
RMD160 b0693a3f1e4aa34f2db5389e29d79b7e669622a8 files/dovecot.init 619
SHA256 833c2121376e753c0a983cedc3854a855bce9b3765f6479aa15cad9acb23ca43 files/dovecot.init 619
-DIST dovecot-0.99.14.tar.gz 871285 size 871285
-DIST dovecot-1.0.beta2.tar.gz 1340629 size 1340629
-DIST dovecot-1.0.beta3.tar.gz 1360574 RMD160 180e694ee78b73e69995096e1598cca427f6c87d SHA256 c283111cd57c7938356c3f564eec6a8e4ba066f5c448f209e305a1409232520e size 1360574
-DIST dovecot-1.0.beta5.tar.gz 1401261 RMD160 2b0e74670c128aa4a1a8f905e30ff7a8dee2e511 SHA256 1ae2d3fa425d89c211912e31deeec13fae7e0c9bf30b4a8f2bdfb5d25c9e1514 size 1401261
-DIST dovecot-1.0.beta7.tar.gz 1406322 RMD160 e137f15709c864d55517085db2d8b8ac7894b9aa SHA256 0044595968396d094d6e67e9112b3af16bef1bd1d63ec4934cc9ca889864e580 size 1406322
-DIST dovecot-1.0.beta8.tar.gz 1392106 RMD160 101a7011467691ba5f4a6f48e21d6d1dc5626c16 SHA256 b43bb6ea5426b0d78ae260b53be035d1b5371b76a342870b2d56a6aba1ad82d2 size 1392106
-EBUILD dovecot-0.99.14-r1.ebuild 5165 RMD160 9079b9fc7893ecb777d02ec2b72bc098f090683f SHA1 37d234954cfab623a2a73b6a94da08a8ef97efe0 SHA256 76aedc9947c4efce90840e5046611f1747a6e6544f948aa2ae77f36376760449 size 5165
-MD5 016773a9d3c70b74b98b7fcb8a602a1b dovecot-0.99.14-r1.ebuild 5165
-RMD160 9079b9fc7893ecb777d02ec2b72bc098f090683f dovecot-0.99.14-r1.ebuild 5165
-SHA256 76aedc9947c4efce90840e5046611f1747a6e6544f948aa2ae77f36376760449 dovecot-0.99.14-r1.ebuild 5165
-EBUILD dovecot-1.0_beta2.ebuild 3719 RMD160 3f1b882989fa97ac6422dff3211ae5889276e2b0 SHA1 7dd509c6589459f73b6e5a210e5a8e044794670f SHA256 2aff469c39319fb4af286fc921b306a2aa917a4e175596f3fe0c53f9cb88b004 size 3719
-MD5 3095ed47c7635193b8627dd4647c5bc9 dovecot-1.0_beta2.ebuild 3719
-RMD160 3f1b882989fa97ac6422dff3211ae5889276e2b0 dovecot-1.0_beta2.ebuild 3719
-SHA256 2aff469c39319fb4af286fc921b306a2aa917a4e175596f3fe0c53f9cb88b004 dovecot-1.0_beta2.ebuild 3719
-EBUILD dovecot-1.0_beta3.ebuild 4532 RMD160 c0d2115e1b416da38b6d5e2db59957cfa6c4f8ef SHA1 0589b51745d651467ef12ed1c29715a49e856a71 SHA256 86457d765e41adc4ccae417cf7d00912d58df85a15ebfea88277196d0fa36b42 size 4532
-MD5 086025343666ac3f6ad1f43948e2639e dovecot-1.0_beta3.ebuild 4532
-RMD160 c0d2115e1b416da38b6d5e2db59957cfa6c4f8ef dovecot-1.0_beta3.ebuild 4532
-SHA256 86457d765e41adc4ccae417cf7d00912d58df85a15ebfea88277196d0fa36b42 dovecot-1.0_beta3.ebuild 4532
-EBUILD dovecot-1.0_beta5.ebuild 4647 RMD160 ecd99c38b28e922c929c3ecf0b89a09ce9c02537 SHA1 e971d966eb059f6c8ba615abf805857b737d9631 SHA256 053417328065388d5fe27c6dd7b3db29a43cd35dcda8d34fa9842cb870d97cb9 size 4647
-MD5 575a702501b4127c3ada49c98a74e848 dovecot-1.0_beta5.ebuild 4647
-RMD160 ecd99c38b28e922c929c3ecf0b89a09ce9c02537 dovecot-1.0_beta5.ebuild 4647
-SHA256 053417328065388d5fe27c6dd7b3db29a43cd35dcda8d34fa9842cb870d97cb9 dovecot-1.0_beta5.ebuild 4647
-EBUILD dovecot-1.0_beta7.ebuild 4647 RMD160 c03899cdf9c55294f79861ea84643c0a10e1ed87 SHA1 4370f838f07bf85490c779332d046d2c58dd9a1e SHA256 45d460399a1b3d190b075c10d226235bfc7c2e9ddeed10f7bcfa15a9749f1893 size 4647
-MD5 1ce810f4574e12beb8c52f764d108f7d dovecot-1.0_beta7.ebuild 4647
-RMD160 c03899cdf9c55294f79861ea84643c0a10e1ed87 dovecot-1.0_beta7.ebuild 4647
-SHA256 45d460399a1b3d190b075c10d226235bfc7c2e9ddeed10f7bcfa15a9749f1893 dovecot-1.0_beta7.ebuild 4647
-EBUILD dovecot-1.0_beta8.ebuild 4645 RMD160 4792da7ed1922b0c11caa5710f2f073d8fa7a92d SHA1 060efcf3110e6ef0015e3087cce46780943243e6 SHA256 6d68b17728695ef6d79dd229c74847ef1e0d106d46215d82df694f48c6e129a6 size 4645
+DIST dovecot-1.0.beta8.tar.gz 1392106 RMD160 101a7011467691ba5f4a6f48e21d6d1dc5626c16 SHA256 b43bb6ea5426b0d78ae260b53be035d1b5371b76a342870b2d56a6aba1ad82d2
+EBUILD dovecot-1.0_beta8.ebuild 4645 RMD160 4792da7ed1922b0c11caa5710f2f073d8fa7a92d SHA1 060efcf3110e6ef0015e3087cce46780943243e6 SHA256 6d68b17728695ef6d79dd229c74847ef1e0d106d46215d82df694f48c6e129a6
MD5 9394fb4f53cb69bb777019adf947d2e7 dovecot-1.0_beta8.ebuild 4645
RMD160 4792da7ed1922b0c11caa5710f2f073d8fa7a92d dovecot-1.0_beta8.ebuild 4645
SHA256 6d68b17728695ef6d79dd229c74847ef1e0d106d46215d82df694f48c6e129a6 dovecot-1.0_beta8.ebuild 4645
-MISC ChangeLog 8740 RMD160 c69ac5ec3a9de8e4bfa28a49d517edfee84c6fe3 SHA1 a17f765d7e16ffeadf222135ddb7f64542b631a5 SHA256 e5a71100c93c80ab2cf4b344ce071b0f0645d5c1dd3bc1224fb907f11204943b size 8740
+MISC ChangeLog 8740 RMD160 c69ac5ec3a9de8e4bfa28a49d517edfee84c6fe3 SHA1 a17f765d7e16ffeadf222135ddb7f64542b631a5 SHA256 e5a71100c93c80ab2cf4b344ce071b0f0645d5c1dd3bc1224fb907f11204943b
MD5 f366f62cd0d8df1015c09f5643a8ec0f ChangeLog 8740
RMD160 c69ac5ec3a9de8e4bfa28a49d517edfee84c6fe3 ChangeLog 8740
SHA256 e5a71100c93c80ab2cf4b344ce071b0f0645d5c1dd3bc1224fb907f11204943b ChangeLog 8740
-MISC metadata.xml 225 RMD160 ac3483d68e92cb16beee7988f212b78ba94bb6af SHA1 f2d9a54498eff0f1d06ef6191652f832983b22a4 SHA256 b745d82a37a83bc996e64dc2579616898317e0192e05047ec68b93a59ffdaa95 size 225
-MD5 61e0d05b1306513aede2838fa81b05b5 metadata.xml 225
-RMD160 ac3483d68e92cb16beee7988f212b78ba94bb6af metadata.xml 225
-SHA256 b745d82a37a83bc996e64dc2579616898317e0192e05047ec68b93a59ffdaa95 metadata.xml 225
-MD5 2a50200054849ca5e0173cb709ef649d files/digest-dovecot-0.99.14-r1 67
-RMD160 bef49c59ecd06cab21f39c1d82d2c7699952dc7e files/digest-dovecot-0.99.14-r1 67
-SHA256 e5526bcfe07df3f84790bc082da36c32c5957e560df53ed63fd2a8cce940dbe6 files/digest-dovecot-0.99.14-r1 67
-MD5 a97ef7bb1cbec8304adb29ac531f5cea files/digest-dovecot-1.0_beta2 70
-RMD160 1bbcd3318d3cbebd25f80aca314ffa0965fcc862 files/digest-dovecot-1.0_beta2 70
-SHA256 211bea2990f98a7d9df0a14a8eddb150a74d9d390eda662c718274e235879db1 files/digest-dovecot-1.0_beta2 70
-MD5 87b33f708335dfccf0ff9e3a9c03b6ca files/digest-dovecot-1.0_beta3 256
-RMD160 4377944b29bc6554689dca4a78aa8adf206b38dc files/digest-dovecot-1.0_beta3 256
-SHA256 548a177d3080f4fe8067b9d5a1057736372ca13901f638f2cd9580c13fbde158 files/digest-dovecot-1.0_beta3 256
-MD5 90e242f05e11d8f43543dce19c78da91 files/digest-dovecot-1.0_beta5 256
-RMD160 e91fd49816d5ffa10d492e679850843b1848c04f files/digest-dovecot-1.0_beta5 256
-SHA256 a377e503eb1fbded1521616a81051f1cffcc1fbeb8416385bb5650d42c81eb35 files/digest-dovecot-1.0_beta5 256
-MD5 20a266dfc2737255ee35f2d328f23fa6 files/digest-dovecot-1.0_beta7 256
-RMD160 c1bfe4ea1f9888b5a9019ab3bac01734ee4f6e0f files/digest-dovecot-1.0_beta7 256
-SHA256 dc0030a4e0022ae11475a10f0ed69857305486396ba2cc77299ff029d94ee448 files/digest-dovecot-1.0_beta7 256
+MISC metadata.xml 252 RMD160 97c0c41abc4b61586ab48653ced79067cb964aa6 SHA1 57de811cfb02936b35c4bef2108018e6b2697a99 SHA256 419ffa57f459d89a62dd42ee4bb01934f03e6913b470323f5b2b8a7c89e2dc66
+MD5 b6ff89c08602229bdd234da83a89df77 metadata.xml 252
+RMD160 97c0c41abc4b61586ab48653ced79067cb964aa6 metadata.xml 252
+SHA256 419ffa57f459d89a62dd42ee4bb01934f03e6913b470323f5b2b8a7c89e2dc66 metadata.xml 252
MD5 630ceba3b8cb8ecda31605cf8682ea3c files/digest-dovecot-1.0_beta8 256
RMD160 5c835e169f576f6c5f68d9aff62dfc34c3a9fc81 files/digest-dovecot-1.0_beta8 256
SHA256 bdeba92a3fd4e386e383101a09a3b9ce315a5dd235e5b8008e10c2f54b74dc3d files/digest-dovecot-1.0_beta8 256
diff --git a/net-mail/dovecot/dovecot-0.99.14-r1.ebuild b/net-mail/dovecot/dovecot-0.99.14-r1.ebuild
deleted file mode 100644
index eec53764e552..000000000000
--- a/net-mail/dovecot/dovecot-0.99.14-r1.ebuild
+++ /dev/null
@@ -1,164 +0,0 @@
-# Copyright 1999-2005 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-mail/dovecot/dovecot-0.99.14-r1.ebuild,v 1.9 2005/11/10 13:05:16 ferdy Exp $
-
-# gnutls breaks
-#IUSE="debug ipv6 ldap mbox pam postgres sasl ssl gnutls vpopmail nopop3d mysql"
-IUSE="debug ipv6 ldap mbox pam postgres sasl ssl vpopmail nopop3d mysql"
-inherit eutils
-
-DESCRIPTION="An IMAP and POP3 server written with security primarily in mind"
-HOMEPAGE="http://dovecot.org/"
-SRC_URI="http://dovecot.org/releases/${P}.tar.gz"
-
-SLOT="0"
-LICENSE="LGPL-2.1"
-KEYWORDS="alpha ~amd64 ppc sparc x86"
-
-#PROVIDE="virtual/imapd"
-
-# Note: current dovecot will break on gnutls
-# http://www.dovecot.org/list/dovecot/2004-November/005169.html
-DEPEND=">=sys-libs/db-3.2
- >=sys-apps/sed-4
- ldap? ( >=net-nds/openldap-1.2 )
- pam? ( sys-libs/pam )
- sasl? ( >=dev-libs/cyrus-sasl-2.1 )
- ssl? ( >=dev-libs/openssl-0.9.6g )
- postgres? ( dev-db/postgresql )
- mysql? ( dev-db/mysql )
- vpopmail? ( net-mail/vpopmail )"
- #gnutls? ( <=net-libs/gnutls-1.0.4 )
-
-RDEPEND="${DEPEND}
- >=net-mail/mailbase-0.00-r8"
-
-
-pkg_setup() {
- # Add user and group for login process (same as for fedora/redhat)
- enewgroup dovecot 97
- enewuser dovecot 97 -1 /dev/null dovecot
-}
-
-src_compile() {
- local myconf
- use debug && myconf="--enable-debug"
- use ldap && myconf="${myconf} --with-ldap"
- use ipv6 || myconf="${myconf} --disable-ipv6"
- use nopop3d && myconf="${myconf} --without-pop3d"
- use pam || myconf="${myconf} --without-pam"
- use postgres && myconf="${myconf} --with-pgsql"
- use mysql && myconf="${myconf} --with-mysql"
- use sasl && myconf="${myconf} --with-cyrus-sasl2"
- # gnutls support no longer working
- # (http://www.dovecot.org/list/dovecot/2004-November/005169.html)
- use ssl && myconf="${myconf} --with-ssl=openssl"
- #if use gnutls; then
- # eerror 'GNUTLS support no longer available, see'
- # eerror 'http://www.dovecot.org/list/dovecot/2004-November/005169.html'
- # eerror
- # eerror 'Please set USE="-gnutls ssl" if you want TLS support.'
- # die
- #fi
- # prefer gnutls to ssl if both gnutls and ssl are defined
- #use gnutls && myconf="${myconf} --with-ssl=gnutls"
- #use ssl && ! use gnutls && myconf="${myconf} --with-ssl=openssl"
- #! use gnutls && ! use ssl && myconf="${myconf} --without-ssl"
- use vpopmail || myconf="${myconf} --without-vpopmail"
-
- ./configure \
- --prefix=/usr \
- --host=${CHOST} \
- --mandir=/usr/share/man \
- --infodir=/usr/share/info \
- --datadir=/usr/share \
- --sysconfdir=/etc \
- --localstatedir=/var \
- ${myconf} || die "configure failed"
- emake || die
-}
-
-src_install () {
- # Create the dovecot.conf file from the dovecot-example.conf file that
- # the dovecot folks nicely left for us, changing the default
- # mail spool locations to the Gentoo defaults.
- if use mbox
- then
- # /var/spool/mail/$USER mail spool
- # The location of the INDEX may be overridden by the user if desired.
- if [ -z ${DOVECOT_INDEX_PATH} ]
- then
- DOVECOT_INDEX_PATH="/var/dovecot/%d/%n"
- dodir /var/dovecot
- fi
- sed -e \
- "s|#default_mail_env =|#default_mail_env = mbox:/var/spool/mail/%u:INDEX=${DOVECOT_INDEX_PATH}|" \
- dovecot-example.conf > dovecot.conf
- else
- # $HOME/.maildir mail spool.
- sed -e \
- 's|#default_mail_env =|default_mail_env = maildir:%h/.maildir|' \
- dovecot-example.conf > dovecot.conf
- fi
- insinto /etc
- doins dovecot.conf
-
- make DESTDIR=${D} install || die
- rm ${D}/etc/dovecot-example.conf
-
- # Documentation
- rm -fr ${D}/usr/share/doc/dovecot
- cd ${S}
- dodoc AUTHORS COPYING* NEWS README TODO dovecot-example.conf
- dodoc doc/*.txt doc/*.conf doc/*.cnf
-
- # per default dovecot wants it ssl cert called dovecot.pem
- # fix this in mkcert.sh, which we use to generate the ssl certs
- cd ${S}/doc
- sed -i -e 's/imapd.pem/dovecot.pem/g' mkcert.sh
- dodoc mkcert.sh
-
- # rc script
- exeinto /etc/init.d
- newexe ${FILESDIR}/dovecot.init dovecot
-
- # PAM
- # We're using pam files (imap and pop3) provided by mailbase-0.00-r8
- if use pam
- then
- sed -i -e 's/auth_passdb = pam/auth_passdb = pam */' ${D}/etc/dovecot.conf
- fi
-
- # Create SSL certificates
- if use ssl || use gnutls
- then
- cd ${S}/doc
- dodir /etc/ssl/certs
- dodir /etc/ssl/private
- # Let's not make a new certificate if we already have one
- [ -e /etc/ssl/certs/dovecot.pem -a -e /etc/ssl/private/dovecot.pem ] \
- || SSLDIR=${D}/etc/ssl sh mkcert.sh
- fi
-
- dodir /var/run/dovecot
- fowners root:root /var/run/dovecot
- fperms 0700 /var/run/dovecot
- keepdir /var/run/dovecot/login
- fowners root:dovecot /var/run/dovecot/login
- fperms 0750 /var/run/dovecot/login
- fperms 0600 /etc/dovecot.conf
-}
-
-pkg_postinst() {
- if use pam
- then
- ewarn "If you are upgrading from Dovecot prior to 0.99.14-r1. be aware that the PAM"
- ewarn "profile usage was changed. Dovecot's services now use distinctive profiles,"
- ewarn "i.e. IMAP uses profile 'imap', POP3S uses profile 'pop3s', etc..."
- echo
- einfo "The above applies for default configuration (\"auth_passdb = pam *\")."
- einfo "These PAM profiles are provided by net-mail/mailbase ebuild."
- fi
- echo
- einfo "Please review /etc/dovecot.conf, particularly auth_userdb and auth_passdb."
-}
diff --git a/net-mail/dovecot/dovecot-1.0_beta2.ebuild b/net-mail/dovecot/dovecot-1.0_beta2.ebuild
deleted file mode 100644
index e855412cdde5..000000000000
--- a/net-mail/dovecot/dovecot-1.0_beta2.ebuild
+++ /dev/null
@@ -1,128 +0,0 @@
-# Copyright 1999-2006 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-mail/dovecot/dovecot-1.0_beta2.ebuild,v 1.1 2006/01/24 12:38:53 uberlord Exp $
-
-inherit eutils
-
-DESCRIPTION="An IMAP and POP3 server written with security primarily in mind"
-HOMEPAGE="http://dovecot.org/"
-MY_P="${P/_/.}"
-S="${WORKDIR}/${MY_P}"
-SRC_URI="http://dovecot.org/releases/${MY_P}.tar.gz"
-
-SLOT="0"
-LICENSE="LGPL-2.1"
-KEYWORDS="~alpha ~amd64 ~ppc ~sparc ~x86"
-
-IUSE="debug ipv6 kerberos ldap mbox mysql pop3d pam postgres ssl vpopmail"
-
-DEPEND=">=sys-libs/db-3.2
- >=sys-apps/sed-4
- kerberos? ( virtual/krb5 )
- ldap? ( net-nds/openldap )
- pam? ( virtual/pam )
- ssl? ( dev-libs/openssl )
- postgres? ( dev-db/postgresql )
- mysql? ( dev-db/mysql )
- vpopmail? ( net-mail/vpopmail )"
-
-RDEPEND="${DEPEND}
- >=net-mail/mailbase-0.00-r8"
-
-pkg_setup() {
- # Add user and group for login process (same as for fedora/redhat)
- enewgroup dovecot 97
- enewuser dovecot 97 -1 /dev/null dovecot
-}
-
-src_compile() {
- local myconf
- use ssl && myconf="${myconf} --with-ssl=openssl" \
- || myconf="${myconf} --without-ssl"
-
-# Enable when linux-headers-2.6.13 hits portage for inotify
-# or epoll gets more stable.
-#
-# # Enable Linux only features
-# if [[ ${KERNEL} == "linux" ]] ; then
-# # epoll is too unstable
-# # myconf="${myconf} --with-ioloop=epoll"
-# if has_version ">=sys-kernel/linux-headers-2.6.13" ; then
-# myconf="${myconf} --with-notify=inotify"
-# fi
-# fi
-
- econf --localstatedir=/var \
- $(use_enable debug) \
- $(use_enable ipv6) \
- $(use_with kerberos gssapi) \
- $(use_with ldap) \
- $(use_with mysql) \
- $(use_with pam) \
- $(use_with pop3d) \
- $(use_with postgres pgsql) \
- $(use_with vpopmail) \
- ${myconf} || die "configure failed"
- emake || die "make failed"
-}
-
-src_install () {
- make DESTDIR="${D}" install || die "make install failed"
-
- newinitd "${FILESDIR}"/dovecot.init dovecot
-
- # Create the dovecot.conf file from the dovecot-example.conf file that
- # the dovecot folks nicely left for us....
- mv "${D}"/etc/dovecot-example.conf "${D}"/etc/dovecot.conf
-
- # .maildir is the Gentoo default, but we need to support mbox to
- local mailenv="maildir:%h/.maildir"
- if use mbox ; then
- mailenv="mbox:/var/spool/mail/%u:INDEX=/var/dovecot/%u"
- keepdir /var/dovecot
- sed -i -e 's|#mail_extra_groups =|mail_extra_groups = mail|' \
- "${D}"/etc/dovecot.conf
- fi
- sed -i -e \
- "s|#default_mail_env =|default_mail_env = ${mailenv}|" \
- "${D}"/etc/dovecot.conf
-
- # We're using pam files (imap and pop3) provided by mailbase
- if use pam ; then
- sed -i -e '/passdb pam/, /^[ \t]*}/ s|#args = dovecot|args = "\*"|' \
- "${D}"/etc/dovecot.conf
- fi
-
- # Documentation
- rm -rf "${D}"/usr/share/doc/dovecot
- dodoc AUTHORS NEWS README TODO dovecot-example.conf
- dodoc doc/*.txt doc/*.conf doc/*.cnf doc/mkcert.sh
-
- # Create SSL certificates
- if use ssl ; then
- dodir /etc/ssl/certs
- dodir /etc/ssl/private
- # Let's not make a new certificate if we already have one
- if ! [[ -e /etc/ssl/certs/dovecot.pem && \
- -e /etc/ssl/private/dovecot.pem ]]; then
- einfo "Generating X.509 certificate for SSL"
- pushd doc >/dev/null && \
- SSLDIR="${D}"/etc/ssl sh mkcert.sh && \
- popd >/dev/null
- fi
- fi
-
- dodir /var/run/dovecot
- fowners root:0 /var/run/dovecot
- fperms 0700 /var/run/dovecot
- keepdir /var/run/dovecot/login
- fowners root:dovecot /var/run/dovecot/login
- fperms 0750 /var/run/dovecot/login
- fperms 0600 /etc/dovecot.conf
-}
-
-pkg_postinst() {
- einfo "The dovecot configuration has vastly changed since 0.99."
- einfo "You are encouraged to start afresh with a new configuration file."
- einfo "see http://wiki.dovecot.org/ for configuration examples."
-}
diff --git a/net-mail/dovecot/dovecot-1.0_beta3.ebuild b/net-mail/dovecot/dovecot-1.0_beta3.ebuild
deleted file mode 100644
index 2e13d125bcc5..000000000000
--- a/net-mail/dovecot/dovecot-1.0_beta3.ebuild
+++ /dev/null
@@ -1,152 +0,0 @@
-# Copyright 1999-2006 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-mail/dovecot/dovecot-1.0_beta3.ebuild,v 1.5 2006/02/26 10:09:50 stefaan Exp $
-
-inherit eutils
-
-DESCRIPTION="An IMAP and POP3 server written with security primarily in mind"
-HOMEPAGE="http://dovecot.org/"
-MY_P="${P/_/.}"
-S="${WORKDIR}/${MY_P}"
-SRC_URI="http://dovecot.org/releases/${MY_P}.tar.gz"
-
-SLOT="0"
-LICENSE="LGPL-2.1"
-KEYWORDS="alpha ~amd64 ppc sparc x86"
-
-IUSE="debug ipv6 kerberos ldap mbox mysql pop3d pam postgres ssl vpopmail"
-
-DEPEND=">=sys-libs/db-3.2
- >=sys-apps/sed-4
- kerberos? ( virtual/krb5 )
- ldap? ( net-nds/openldap )
- pam? ( virtual/pam )
- ssl? ( dev-libs/openssl )
- postgres? ( dev-db/postgresql )
- mysql? ( dev-db/mysql )
- vpopmail? ( net-mail/vpopmail )"
-
-RDEPEND="${DEPEND}
- >=net-mail/mailbase-0.00-r8"
-
-pkg_setup() {
- # Add user and group for login process (same as for fedora/redhat)
- enewgroup dovecot 97
- enewuser dovecot 97 -1 /dev/null dovecot
-}
-
-src_compile() {
- local myconf
- use ssl && myconf="${myconf} --with-ssl=openssl" \
- || myconf="${myconf} --without-ssl"
-
-# Enable when linux-headers-2.6.13 hits portage for inotify
-# or epoll gets more stable.
-#
-# # Enable Linux only features
-# if [[ ${KERNEL} == "linux" ]] ; then
-# # epoll is too unstable
-# # myconf="${myconf} --with-ioloop=epoll"
-# if has_version ">=sys-kernel/linux-headers-2.6.13" ; then
-# myconf="${myconf} --with-notify=inotify"
-# fi
-# fi
-
- econf --localstatedir=/var \
- $(use_enable debug) \
- $(use_enable ipv6) \
- $(use_with kerberos gssapi) \
- $(use_with ldap) \
- $(use_with mysql) \
- $(use_with pam) \
- $(use_with pop3d) \
- $(use_with postgres pgsql) \
- $(use_with vpopmail) \
- ${myconf} || die "configure failed"
- emake || die "make failed"
-}
-
-src_install () {
- make DESTDIR="${D}" install || die "make install failed"
-
- newinitd "${FILESDIR}"/dovecot.init dovecot
-
- # Create the dovecot.conf file from the dovecot-example.conf file that
- # the dovecot folks nicely left for us....
- mv "${D}"/etc/dovecot-example.conf "${D}"/etc/dovecot.conf
-
- # .maildir is the Gentoo default, but we need to support mbox to
- local mailenv="maildir:%h/.maildir"
- if use mbox ; then
- mailenv="mbox:/var/spool/mail/%u:INDEX=/var/dovecot/%u"
- keepdir /var/dovecot
- sed -i -e 's|#mail_extra_groups =|mail_extra_groups = mail|' \
- "${D}"/etc/dovecot.conf
- fi
- sed -i -e \
- "s|#default_mail_env =|default_mail_env = ${mailenv}|" \
- "${D}"/etc/dovecot.conf
-
- # We're using pam files (imap and pop3) provided by mailbase
- if use pam ; then
- sed -i -e '/passdb pam/, /^[ \t]*}/ s|#args = dovecot|args = "\*"|' \
- "${D}"/etc/dovecot.conf
- fi
-
- # Documentation
- rm -rf "${D}"/usr/share/doc/dovecot
- dodoc AUTHORS NEWS README TODO dovecot-example.conf
- dodoc doc/*.txt doc/*.conf doc/*.cnf doc/mkcert.sh
-
- # Create SSL certificates
- if use ssl ; then
- dodir /etc/ssl/certs
- dodir /etc/ssl/private
- # Let's not make a new certificate if we already have one
- if ! [[ -e /etc/ssl/certs/dovecot.pem && \
- -e /etc/ssl/private/dovecot.pem ]]; then
- einfo "Generating X.509 certificate for SSL"
- pushd doc >/dev/null && \
- SSLDIR="${D}"/etc/ssl sh mkcert.sh && \
- popd >/dev/null
- fi
- fi
-
- dodir /var/run/dovecot
- fowners root:0 /var/run/dovecot
- fperms 0700 /var/run/dovecot
- keepdir /var/run/dovecot/login
- fowners root:dovecot /var/run/dovecot/login
- fperms 0750 /var/run/dovecot/login
- fperms 0600 /etc/dovecot.conf
-}
-
-get_config_var() {
- sed -n 's/^[[:space:]]\?base_dir[[:space:]]*="*\([^#"]\+\)"*/\1/p' \
- /etc/dovecot.conf
-}
-
-pkg_postinst() {
- einfo "The dovecot configuration has vastly changed since 0.99."
- einfo "You are encouraged to start afresh with a new configuration file."
- einfo "see http://wiki.dovecot.org/ for configuration examples."
-
- local base_dir="$(get_config_var base_dir)"
- base_dir="${basedir:-/var/run/dovecot}"
- if [[ ! -e "${ROOT}/${base_dir}/login/ssl-parameters.dat" ]] ; then
- einfo
- einfo "Dovecot requires DH SSL Parameters if you use SSL connections"
- einfo "These take some time to make, and dovecot will create them before"
- einfo "it allows any SSL connections."
- einfo "You can create them now before starting dovecot like so"
- einfo " emerge --config =${PF}"
- fi
-}
-
-pkg_config() {
- local base_dir="$(get_config_var base_dir)"
- base_dir="${base_dir:-/var/run/dovecot}"
-
- einfo "Regenerating SSL parameters. This will take some time."
- /usr/libexec/dovecot/ssl-build-param "${base_dir}/login/ssl-parameters.dat"
-}
diff --git a/net-mail/dovecot/dovecot-1.0_beta5.ebuild b/net-mail/dovecot/dovecot-1.0_beta5.ebuild
deleted file mode 100644
index 8bfacf3bd1b0..000000000000
--- a/net-mail/dovecot/dovecot-1.0_beta5.ebuild
+++ /dev/null
@@ -1,157 +0,0 @@
-# Copyright 1999-2006 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-mail/dovecot/dovecot-1.0_beta5.ebuild,v 1.2 2006/04/10 13:41:25 uberlord Exp $
-
-inherit eutils
-
-DESCRIPTION="An IMAP and POP3 server written with security primarily in mind"
-HOMEPAGE="http://dovecot.org/"
-MY_P="${P/_/.}"
-S="${WORKDIR}/${MY_P}"
-SRC_URI="http://dovecot.org/releases/${MY_P}.tar.gz"
-
-SLOT="0"
-LICENSE="LGPL-2.1"
-KEYWORDS="~alpha ~amd64 ~ppc ~sparc ~x86"
-
-IUSE="debug ipv6 kerberos ldap mbox mysql pop3d pam postgres ssl vpopmail"
-
-DEPEND=">=sys-apps/sed-4
- kerberos? ( virtual/krb5 )
- ldap? ( net-nds/openldap )
- pam? ( virtual/pam )
- ssl? ( dev-libs/openssl )
- postgres? ( dev-db/postgresql )
- mysql? ( dev-db/mysql )
- vpopmail? ( net-mail/vpopmail )"
-
-RDEPEND="${DEPEND}
- >=net-mail/mailbase-0.00-r8"
-
-pkg_setup() {
- # Add user and group for login process (same as for fedora/redhat)
- enewgroup dovecot 97
- enewuser dovecot 97 -1 /dev/null dovecot
-}
-
-src_compile() {
- local myconf
- use ssl && myconf="${myconf} --with-ssl=openssl" \
- || myconf="${myconf} --without-ssl"
-
-# Enable when linux-headers-2.6.13 hits portage for inotify
-# or epoll gets more stable.
-#
-# # Enable Linux only features
-# if [[ ${KERNEL} == "linux" ]] ; then
-# # epoll is too unstable
-# # myconf="${myconf} --with-ioloop=epoll"
-# if has_version ">=sys-kernel/linux-headers-2.6.13" ; then
-# myconf="${myconf} --with-notify=inotify"
-# fi
-# fi
-
- econf --localstatedir=/var \
- $(use_enable debug) \
- $(use_enable ipv6) \
- $(use_with kerberos gssapi) \
- $(use_with ldap) \
- $(use_with mysql) \
- $(use_with pam) \
- $(use_with pop3d) \
- $(use_with postgres pgsql) \
- $(use_with vpopmail) \
- ${myconf} || die "configure failed"
- emake || die "make failed"
-}
-
-src_install () {
- make DESTDIR="${D}" install || die "make install failed"
-
- newinitd "${FILESDIR}"/dovecot.init dovecot
-
- # Create the dovecot.conf file from the dovecot-example.conf file that
- # the dovecot folks nicely left for us....
- mv "${D}"/etc/dovecot-example.conf "${D}"/etc/dovecot.conf
-
- # .maildir is the Gentoo default, but we need to support mbox to
- local mailenv="maildir:%h/.maildir"
- if use mbox ; then
- mailenv="mbox:/var/spool/mail/%u:INDEX=/var/dovecot/%u"
- keepdir /var/dovecot
- sed -i -e 's|#mail_extra_groups =|mail_extra_groups = mail|' \
- "${D}"/etc/dovecot.conf
- fi
- sed -i -e \
- "s|#default_mail_env =|default_mail_env = ${mailenv}|" \
- "${D}"/etc/dovecot.conf
-
- # We're using pam files (imap and pop3) provided by mailbase
- if use pam ; then
- sed -i -e '/passdb pam/, /^[ \t]*}/ s|#args = dovecot|args = "\*"|' \
- "${D}"/etc/dovecot.conf
- fi
-
- # Listen on ipv6 and ipv4
- if use ipv6 ; then
- sed -i -e 's/^#listen = \*/listen = \[::\]/g' \
- "${D}"/etc/dovecot.conf
- fi
-
- # Documentation
- rm -rf "${D}"/usr/share/doc/dovecot
- dodoc AUTHORS NEWS README TODO dovecot-example.conf
- dodoc doc/*.txt doc/*.conf doc/*.cnf doc/mkcert.sh
-
- # Create SSL certificates
- if use ssl ; then
- dodir /etc/ssl/certs
- dodir /etc/ssl/private
- # Let's not make a new certificate if we already have one
- if ! [[ -e /etc/ssl/certs/dovecot.pem && \
- -e /etc/ssl/private/dovecot.pem ]]; then
- einfo "Generating X.509 certificate for SSL"
- pushd doc >/dev/null && \
- SSLDIR="${D}"/etc/ssl sh mkcert.sh && \
- popd >/dev/null
- fi
- fi
-
- dodir /var/run/dovecot
- fowners root:0 /var/run/dovecot
- fperms 0700 /var/run/dovecot
- keepdir /var/run/dovecot/login
- fowners root:dovecot /var/run/dovecot/login
- fperms 0750 /var/run/dovecot/login
- fperms 0600 /etc/dovecot.conf
-}
-
-get_config_var() {
- sed -n 's/^[[:space:]]\?base_dir[[:space:]]*="*\([^#"]\+\)"*/\1/p' \
- /etc/dovecot.conf
-}
-
-pkg_postinst() {
- einfo "The dovecot configuration has vastly changed since 0.99."
- einfo "You are encouraged to start afresh with a new configuration file."
- einfo "see http://wiki.dovecot.org/ for configuration examples."
-
- local base_dir="$(get_config_var base_dir)"
- base_dir="${basedir:-/var/run/dovecot}"
- if [[ ! -e "${ROOT}/${base_dir}/login/ssl-parameters.dat" ]] ; then
- einfo
- einfo "Dovecot requires DH SSL Parameters if you use SSL connections"
- einfo "These take some time to make, and dovecot will create them before"
- einfo "it allows any SSL connections."
- einfo "You can create them now before starting dovecot like so"
- einfo " emerge --config =${PF}"
- fi
-}
-
-pkg_config() {
- local base_dir="$(get_config_var base_dir)"
- base_dir="${base_dir:-/var/run/dovecot}"
-
- einfo "Regenerating SSL parameters. This will take some time."
- /usr/libexec/dovecot/ssl-build-param "${base_dir}/login/ssl-parameters.dat"
-}
diff --git a/net-mail/dovecot/dovecot-1.0_beta7.ebuild b/net-mail/dovecot/dovecot-1.0_beta7.ebuild
deleted file mode 100644
index a80911f45f87..000000000000
--- a/net-mail/dovecot/dovecot-1.0_beta7.ebuild
+++ /dev/null
@@ -1,157 +0,0 @@
-# Copyright 1999-2006 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-mail/dovecot/dovecot-1.0_beta7.ebuild,v 1.1 2006/04/13 09:55:39 uberlord Exp $
-
-inherit eutils
-
-DESCRIPTION="An IMAP and POP3 server written with security primarily in mind"
-HOMEPAGE="http://dovecot.org/"
-MY_P="${P/_/.}"
-S="${WORKDIR}/${MY_P}"
-SRC_URI="http://dovecot.org/releases/${MY_P}.tar.gz"
-
-SLOT="0"
-LICENSE="LGPL-2.1"
-KEYWORDS="~alpha ~amd64 ~ppc ~sparc ~x86"
-
-IUSE="debug ipv6 kerberos ldap mbox mysql pop3d pam postgres ssl vpopmail"
-
-DEPEND=">=sys-apps/sed-4
- kerberos? ( virtual/krb5 )
- ldap? ( net-nds/openldap )
- pam? ( virtual/pam )
- ssl? ( dev-libs/openssl )
- postgres? ( dev-db/postgresql )
- mysql? ( dev-db/mysql )
- vpopmail? ( net-mail/vpopmail )"
-
-RDEPEND="${DEPEND}
- >=net-mail/mailbase-0.00-r8"
-
-pkg_setup() {
- # Add user and group for login process (same as for fedora/redhat)
- enewgroup dovecot 97
- enewuser dovecot 97 -1 /dev/null dovecot
-}
-
-src_compile() {
- local myconf
- use ssl && myconf="${myconf} --with-ssl=openssl" \
- || myconf="${myconf} --without-ssl"
-
-# Enable when linux-headers-2.6.13 hits portage for inotify
-# or epoll gets more stable.
-#
-# # Enable Linux only features
-# if [[ ${KERNEL} == "linux" ]] ; then
-# # epoll is too unstable
-# # myconf="${myconf} --with-ioloop=epoll"
-# if has_version ">=sys-kernel/linux-headers-2.6.13" ; then
-# myconf="${myconf} --with-notify=inotify"
-# fi
-# fi
-
- econf --localstatedir=/var \
- $(use_enable debug) \
- $(use_enable ipv6) \
- $(use_with kerberos gssapi) \
- $(use_with ldap) \
- $(use_with mysql) \
- $(use_with pam) \
- $(use_with pop3d) \
- $(use_with postgres pgsql) \
- $(use_with vpopmail) \
- ${myconf} || die "configure failed"
- emake || die "make failed"
-}
-
-src_install () {
- make DESTDIR="${D}" install || die "make install failed"
-
- newinitd "${FILESDIR}"/dovecot.init dovecot
-
- # Create the dovecot.conf file from the dovecot-example.conf file that
- # the dovecot folks nicely left for us....
- mv "${D}"/etc/dovecot-example.conf "${D}"/etc/dovecot.conf
-
- # .maildir is the Gentoo default, but we need to support mbox to
- local mailenv="maildir:%h/.maildir"
- if use mbox ; then
- mailenv="mbox:/var/spool/mail/%u:INDEX=/var/dovecot/%u"
- keepdir /var/dovecot
- sed -i -e 's|#mail_extra_groups =|mail_extra_groups = mail|' \
- "${D}"/etc/dovecot.conf
- fi
- sed -i -e \
- "s|#default_mail_env =|default_mail_env = ${mailenv}|" \
- "${D}"/etc/dovecot.conf
-
- # We're using pam files (imap and pop3) provided by mailbase
- if use pam ; then
- sed -i -e '/passdb pam/, /^[ \t]*}/ s|#args = dovecot|args = "\*"|' \
- "${D}"/etc/dovecot.conf
- fi
-
- # Listen on ipv6 and ipv4
- if use ipv6 ; then
- sed -i -e 's/^#listen = \*/listen = \[::\]/g' \
- "${D}"/etc/dovecot.conf
- fi
-
- # Documentation
- rm -rf "${D}"/usr/share/doc/dovecot
- dodoc AUTHORS NEWS README TODO dovecot-example.conf
- dodoc doc/*.txt doc/*.conf doc/*.cnf doc/mkcert.sh
-
- # Create SSL certificates
- if use ssl ; then
- dodir /etc/ssl/certs
- dodir /etc/ssl/private
- # Let's not make a new certificate if we already have one
- if ! [[ -e /etc/ssl/certs/dovecot.pem && \
- -e /etc/ssl/private/dovecot.pem ]]; then
- einfo "Generating X.509 certificate for SSL"
- pushd doc >/dev/null && \
- SSLDIR="${D}"/etc/ssl sh mkcert.sh && \
- popd >/dev/null
- fi
- fi
-
- dodir /var/run/dovecot
- fowners root:0 /var/run/dovecot
- fperms 0700 /var/run/dovecot
- keepdir /var/run/dovecot/login
- fowners root:dovecot /var/run/dovecot/login
- fperms 0750 /var/run/dovecot/login
- fperms 0600 /etc/dovecot.conf
-}
-
-get_config_var() {
- sed -n 's/^[[:space:]]\?base_dir[[:space:]]*="*\([^#"]\+\)"*/\1/p' \
- /etc/dovecot.conf
-}
-
-pkg_postinst() {
- einfo "The dovecot configuration has vastly changed since 0.99."
- einfo "You are encouraged to start afresh with a new configuration file."
- einfo "see http://wiki.dovecot.org/ for configuration examples."
-
- local base_dir="$(get_config_var base_dir)"
- base_dir="${basedir:-/var/run/dovecot}"
- if [[ ! -e "${ROOT}/${base_dir}/login/ssl-parameters.dat" ]] ; then
- einfo
- einfo "Dovecot requires DH SSL Parameters if you use SSL connections"
- einfo "These take some time to make, and dovecot will create them before"
- einfo "it allows any SSL connections."
- einfo "You can create them now before starting dovecot like so"
- einfo " emerge --config =${PF}"
- fi
-}
-
-pkg_config() {
- local base_dir="$(get_config_var base_dir)"
- base_dir="${base_dir:-/var/run/dovecot}"
-
- einfo "Regenerating SSL parameters. This will take some time."
- /usr/libexec/dovecot/ssl-build-param "${base_dir}/login/ssl-parameters.dat"
-}
diff --git a/net-mail/dovecot/files/digest-dovecot-0.99.14-r1 b/net-mail/dovecot/files/digest-dovecot-0.99.14-r1
deleted file mode 100644
index 780363b9c5d1..000000000000
--- a/net-mail/dovecot/files/digest-dovecot-0.99.14-r1
+++ /dev/null
@@ -1 +0,0 @@
-MD5 a12e26fd378a46c31ec3a81ab7b55b5b dovecot-0.99.14.tar.gz 871285
diff --git a/net-mail/dovecot/files/digest-dovecot-1.0_beta2 b/net-mail/dovecot/files/digest-dovecot-1.0_beta2
deleted file mode 100644
index 7c8db5c422a8..000000000000
--- a/net-mail/dovecot/files/digest-dovecot-1.0_beta2
+++ /dev/null
@@ -1 +0,0 @@
-MD5 a68f623b04876815d6522ac9d7bac869 dovecot-1.0.beta2.tar.gz 1340629
diff --git a/net-mail/dovecot/files/digest-dovecot-1.0_beta3 b/net-mail/dovecot/files/digest-dovecot-1.0_beta3
deleted file mode 100644
index 5e08de78dbbd..000000000000
--- a/net-mail/dovecot/files/digest-dovecot-1.0_beta3
+++ /dev/null
@@ -1,3 +0,0 @@
-RMD160 180e694ee78b73e69995096e1598cca427f6c87d dovecot-1.0.beta3.tar.gz 1360574
-SHA256 c283111cd57c7938356c3f564eec6a8e4ba066f5c448f209e305a1409232520e dovecot-1.0.beta3.tar.gz 1360574
-MD5 5418f9f7fe99e4f10bb82d9fe504138a dovecot-1.0.beta3.tar.gz 1360574
diff --git a/net-mail/dovecot/files/digest-dovecot-1.0_beta5 b/net-mail/dovecot/files/digest-dovecot-1.0_beta5
deleted file mode 100644
index b91e6afbb6c8..000000000000
--- a/net-mail/dovecot/files/digest-dovecot-1.0_beta5
+++ /dev/null
@@ -1,3 +0,0 @@
-MD5 7d3b57a1c8f0043ca768e532bd21e975 dovecot-1.0.beta5.tar.gz 1401261
-RMD160 2b0e74670c128aa4a1a8f905e30ff7a8dee2e511 dovecot-1.0.beta5.tar.gz 1401261
-SHA256 1ae2d3fa425d89c211912e31deeec13fae7e0c9bf30b4a8f2bdfb5d25c9e1514 dovecot-1.0.beta5.tar.gz 1401261
diff --git a/net-mail/dovecot/files/digest-dovecot-1.0_beta7 b/net-mail/dovecot/files/digest-dovecot-1.0_beta7
deleted file mode 100644
index 44e892bb24dc..000000000000
--- a/net-mail/dovecot/files/digest-dovecot-1.0_beta7
+++ /dev/null
@@ -1,3 +0,0 @@
-MD5 bfbc4c3705f6e6e891934168cd26e9dd dovecot-1.0.beta7.tar.gz 1406322
-RMD160 e137f15709c864d55517085db2d8b8ac7894b9aa dovecot-1.0.beta7.tar.gz 1406322
-SHA256 0044595968396d094d6e67e9112b3af16bef1bd1d63ec4934cc9ca889864e580 dovecot-1.0.beta7.tar.gz 1406322