diff options
author | Grant Goodyear <g2boojum@gentoo.org> | 2005-02-19 02:51:32 +0000 |
---|---|---|
committer | Grant Goodyear <g2boojum@gentoo.org> | 2005-02-19 02:51:32 +0000 |
commit | bf40b1201d29c2378404e5a93e747fdd9ed05a46 (patch) | |
tree | 113e4b2caa250526b6c135eb8838d7e1f877bcd8 /net-mail/dovecot | |
parent | fix os-headers in RDEPEND (reported by Vitaly Ivanov (diff) | |
download | historical-bf40b1201d29c2378404e5a93e747fdd9ed05a46.tar.gz historical-bf40b1201d29c2378404e5a93e747fdd9ed05a46.tar.bz2 historical-bf40b1201d29c2378404e5a93e747fdd9ed05a46.zip |
Version bump
Package-Manager: portage-2.0.51-r14
Diffstat (limited to 'net-mail/dovecot')
-rw-r--r-- | net-mail/dovecot/ChangeLog | 8 | ||||
-rw-r--r-- | net-mail/dovecot/Manifest | 6 | ||||
-rw-r--r-- | net-mail/dovecot/dovecot-0.99.13.ebuild | 4 | ||||
-rw-r--r-- | net-mail/dovecot/dovecot-0.99.14.ebuild | 159 | ||||
-rw-r--r-- | net-mail/dovecot/files/digest-dovecot-0.99.14 | 1 |
5 files changed, 173 insertions, 5 deletions
diff --git a/net-mail/dovecot/ChangeLog b/net-mail/dovecot/ChangeLog index 99b004514288..84c8df7de346 100644 --- a/net-mail/dovecot/ChangeLog +++ b/net-mail/dovecot/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for net-mail/dovecot # Copyright 2000-2005 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/net-mail/dovecot/ChangeLog,v 1.19 2005/01/08 19:46:05 g2boojum Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-mail/dovecot/ChangeLog,v 1.20 2005/02/19 02:51:32 g2boojum Exp $ + +*dovecot-0.99.14 (18 Feb 2005) + + 18 Feb 2005; Grant Goodyear <g2boojum@gentoo.org> dovecot-0.99.13.ebuild, + +dovecot-0.99.14.ebuild: + Version bump (bug #82493), thanks to Daniel Webert. *dovecot-0.99.13 (08 Jan 2005) diff --git a/net-mail/dovecot/Manifest b/net-mail/dovecot/Manifest index eaa14e10af48..36723e8eacf1 100644 --- a/net-mail/dovecot/Manifest +++ b/net-mail/dovecot/Manifest @@ -1,8 +1,10 @@ MD5 848227fbad722c88c1c43009e3e0b449 dovecot-0.99.11-r1.ebuild 4767 -MD5 f4508e658e1babe13f3deaa096226cc8 ChangeLog 4140 +MD5 26d0ab53d83413a7802fc63f0b0c2c0f dovecot-0.99.14.ebuild 4765 +MD5 9434562dc9638638684fe67cc4080601 ChangeLog 4330 MD5 61e0d05b1306513aede2838fa81b05b5 metadata.xml 225 -MD5 e99f73496fbaf1adc3af8785b1fd17e5 dovecot-0.99.13.ebuild 4765 +MD5 6a34fea4097fc6dc6bbadbb7879a3ebd dovecot-0.99.13.ebuild 4764 MD5 07b795b2b49257dee3743d5698d0d919 files/dovecot.init 517 MD5 d7a52bb7835818feb1f4acd85eba3d57 files/digest-dovecot-0.99.13 67 +MD5 2a50200054849ca5e0173cb709ef649d files/digest-dovecot-0.99.14 67 MD5 3d6d703cf014f2defc8fed34b50849a9 files/digest-dovecot-0.99.11-r1 67 MD5 1c0a9ca75cadf12377e70c2ef725ba0e files/dovecot.pam 220 diff --git a/net-mail/dovecot/dovecot-0.99.13.ebuild b/net-mail/dovecot/dovecot-0.99.13.ebuild index cb9571f327a4..dabc5ba19899 100644 --- a/net-mail/dovecot/dovecot-0.99.13.ebuild +++ b/net-mail/dovecot/dovecot-0.99.13.ebuild @@ -1,6 +1,6 @@ # 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.13.ebuild,v 1.1 2005/01/08 19:46:05 g2boojum Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-mail/dovecot/dovecot-0.99.13.ebuild,v 1.2 2005/02/19 02:51:32 g2boojum Exp $ IUSE="debug ipv6 ldap mbox pam postgres sasl ssl gnutls vpopmail nopop3d mysql" inherit eutils @@ -11,7 +11,7 @@ SRC_URI="http://dovecot.org/releases/${P}.tar.gz" SLOT="0" LICENSE="LGPL-2.1" -KEYWORDS="~x86 ~amd64 ~sparc ~ppc" +KEYWORDS="x86 ~amd64 ~sparc ~ppc" #PROVIDE="virtual/imapd" diff --git a/net-mail/dovecot/dovecot-0.99.14.ebuild b/net-mail/dovecot/dovecot-0.99.14.ebuild new file mode 100644 index 000000000000..59c499412f7d --- /dev/null +++ b/net-mail/dovecot/dovecot-0.99.14.ebuild @@ -0,0 +1,159 @@ +# 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.ebuild,v 1.1 2005/02/19 02:51:32 g2boojum Exp $ + +IUSE="debug ipv6 ldap mbox pam postgres sasl ssl gnutls 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="~x86 ~amd64 ~sparc ~ppc" + +#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" + + +pkg_setup() { + # Add user and group for login process (same as for fedora/redhat) + enewgroup dovecot 97 + enewuser dovecot 97 /bin/false /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 -ie 's/imapd.pem/dovecot.pem/g' mkcert.sh + dodoc mkcert.sh + + # rc script + exeinto /etc/init.d + newexe ${FILESDIR}/dovecot.init dovecot + + # PAM + if use pam + then + dodir /etc/pam.d + insinto /etc/pam.d + newins ${FILESDIR}/dovecot.pam dovecot + 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.10, be aware" + ewarn "that the PAM profile was changed from 'imap' to 'dovecot'." + einfo "Please review /etc/pam.d/dovecot." + fi + einfo "Please review /etc/dovecot.conf, particularly auth_userdb and auth_passdb." +} diff --git a/net-mail/dovecot/files/digest-dovecot-0.99.14 b/net-mail/dovecot/files/digest-dovecot-0.99.14 new file mode 100644 index 000000000000..780363b9c5d1 --- /dev/null +++ b/net-mail/dovecot/files/digest-dovecot-0.99.14 @@ -0,0 +1 @@ +MD5 a12e26fd378a46c31ec3a81ab7b55b5b dovecot-0.99.14.tar.gz 871285 |