diff options
author | Roy Marples <uberlord@gentoo.org> | 2006-10-09 18:43:54 +0000 |
---|---|---|
committer | Roy Marples <uberlord@gentoo.org> | 2006-10-09 18:43:54 +0000 |
commit | 287ddd054f2a7f759ceb0aace765eea3b9b18cba (patch) | |
tree | 67499edb6665961166704986dec2b63fc7aceeed /net-mail/dovecot | |
parent | Stable on sparc wrt #150436 (diff) | |
download | historical-287ddd054f2a7f759ceb0aace765eea3b9b18cba.tar.gz historical-287ddd054f2a7f759ceb0aace765eea3b9b18cba.tar.bz2 historical-287ddd054f2a7f759ceb0aace765eea3b9b18cba.zip |
Bump.
Package-Manager: portage-2.1.2_pre2-r7
Diffstat (limited to 'net-mail/dovecot')
-rw-r--r-- | net-mail/dovecot/ChangeLog | 7 | ||||
-rw-r--r-- | net-mail/dovecot/Manifest | 16 | ||||
-rw-r--r-- | net-mail/dovecot/dovecot-1.0_rc8.ebuild | 178 | ||||
-rw-r--r-- | net-mail/dovecot/files/digest-dovecot-1.0_rc8 | 3 |
4 files changed, 199 insertions, 5 deletions
diff --git a/net-mail/dovecot/ChangeLog b/net-mail/dovecot/ChangeLog index ec95aec77c52..a6f7ecdc51fc 100644 --- a/net-mail/dovecot/ChangeLog +++ b/net-mail/dovecot/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for net-mail/dovecot # Copyright 2000-2006 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/net-mail/dovecot/ChangeLog,v 1.64 2006/09/05 13:18:39 uberlord Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-mail/dovecot/ChangeLog,v 1.65 2006/10/09 18:43:54 uberlord Exp $ + +*dovecot-1.0_rc8 (09 Oct 2006) + + 09 Oct 2006; Roy Marples <uberlord@gentoo.org> +dovecot-1.0_rc8.ebuild: + Bump. 05 Sep 2006; Roy Marples <uberlord@gentoo.org> dovecot-1.0_rc7.ebuild: Only install developer documentation with doc USE flag, #145433. diff --git a/net-mail/dovecot/Manifest b/net-mail/dovecot/Manifest index e4dd05eb3026..decf083e87ca 100644 --- a/net-mail/dovecot/Manifest +++ b/net-mail/dovecot/Manifest @@ -12,6 +12,7 @@ DIST dovecot-1.0.rc2.tar.gz 1257435 RMD160 cbb1919f30ccc82033ddda5a9a4b2e9695f78 DIST dovecot-1.0.rc5.tar.gz 1260398 RMD160 2a89dc534fc46fa7f70e14848cafed04cdbc32e2 SHA1 f96698aba80f3f05daaf7a09880fd4e6266e61b3 SHA256 4ceffc02eb8661ce8175a046cbcf0bc699fcae9b6964cbaaeea00a0bd02ee2b2 DIST dovecot-1.0.rc6.tar.gz 1268328 RMD160 ddf49eece71d8766f994058ead1bed8410a9ee51 SHA1 4d6c524dd52b54dc25d3114bee7fb0ae1120b994 SHA256 9b61a55c36975aa587ad96082e5fcf1458d6f0999455c126b3c523845b608401 DIST dovecot-1.0.rc7.tar.gz 1273427 RMD160 6edd633380da810d21a729330fa9c3ccec6d7039 SHA1 be1f7efe3cdf15c7581580954e42438173bb67a5 SHA256 4d877b52678d1ef81c3f176479d566e25c0c4a65d3f61093f39866d1f63c7696 +DIST dovecot-1.0.rc8.tar.gz 1446336 RMD160 865b948e3e702ab74a8e0f3cd12c0daa39573ad9 SHA1 166da9716f5d27af30075ce8f0b07c2e8f0c801f SHA256 f85f8b4f7dad5541defbe49bf5ff9214bfb2be8059d47ca2a2d52db2c0885611 EBUILD dovecot-1.0_beta8.ebuild 4639 RMD160 6355e1c5fd0e12eea869543ab7084e6e9acb0f44 SHA1 f6119c5d1b4ba2a93ca88da701f8c5be4d8154fd SHA256 90bb9d6833f574e16fd58da5bac9339f33fb5e2c7a8aa47d6f246b71febd547f MD5 5cb271c421fee4cdcac364b89eeb7148 dovecot-1.0_beta8.ebuild 4639 RMD160 6355e1c5fd0e12eea869543ab7084e6e9acb0f44 dovecot-1.0_beta8.ebuild 4639 @@ -36,10 +37,14 @@ EBUILD dovecot-1.0_rc7.ebuild 5308 RMD160 079ff85cc144e2e8943c81c9b6060d45b2ccfb MD5 88345d5e04a4f052842eeb05a74fd1cb dovecot-1.0_rc7.ebuild 5308 RMD160 079ff85cc144e2e8943c81c9b6060d45b2ccfb46 dovecot-1.0_rc7.ebuild 5308 SHA256 76e80b9e60750068361ffb1039bc5cb574e5a9773e113a8017a227277e399870 dovecot-1.0_rc7.ebuild 5308 -MISC ChangeLog 11578 RMD160 5119965ed3b206e1c80b8444e27c23c5fb167ffd SHA1 ef68bb883a673c9021446fd423dfa8df514e3012 SHA256 e294d4d48a5a7e9eeaba0cf42dd8ff59d7801d68e4e03bcfebe9b04a6e33e637 -MD5 f362152fcbbd301a3857303e841a5895 ChangeLog 11578 -RMD160 5119965ed3b206e1c80b8444e27c23c5fb167ffd ChangeLog 11578 -SHA256 e294d4d48a5a7e9eeaba0cf42dd8ff59d7801d68e4e03bcfebe9b04a6e33e637 ChangeLog 11578 +EBUILD dovecot-1.0_rc8.ebuild 5308 RMD160 b47fcdbf1d0346e1be566d178af0178a611b1072 SHA1 ff10162466f4dcbc5a6af01455b3e57ef2d16e71 SHA256 0319a79cb649157ce49c36b8d4e1e8f7e18741396b59518205ecf67f53f184bb +MD5 13b0dc9ebaaaee5fbde8dc74b13b9e47 dovecot-1.0_rc8.ebuild 5308 +RMD160 b47fcdbf1d0346e1be566d178af0178a611b1072 dovecot-1.0_rc8.ebuild 5308 +SHA256 0319a79cb649157ce49c36b8d4e1e8f7e18741396b59518205ecf67f53f184bb dovecot-1.0_rc8.ebuild 5308 +MISC ChangeLog 11693 RMD160 3323ebf9796a80641c24f4a3455684483743efb2 SHA1 fa8609455edc3fbb2dc35647ba4ed18f219172b7 SHA256 0a85566c4f454ba2c910dae478cc98e8a236c30b08399f25ab7131e0b77abcfd +MD5 08f49693372802d2b89c09e6f03bd4ce ChangeLog 11693 +RMD160 3323ebf9796a80641c24f4a3455684483743efb2 ChangeLog 11693 +SHA256 0a85566c4f454ba2c910dae478cc98e8a236c30b08399f25ab7131e0b77abcfd ChangeLog 11693 MISC metadata.xml 252 RMD160 97c0c41abc4b61586ab48653ced79067cb964aa6 SHA1 57de811cfb02936b35c4bef2108018e6b2697a99 SHA256 419ffa57f459d89a62dd42ee4bb01934f03e6913b470323f5b2b8a7c89e2dc66 MD5 b6ff89c08602229bdd234da83a89df77 metadata.xml 252 RMD160 97c0c41abc4b61586ab48653ced79067cb964aa6 metadata.xml 252 @@ -62,3 +67,6 @@ SHA256 2dcdb67ce3c755a0ff2a0fb74223379e91de77f408817f9c8e49690cc50a6225 files/di MD5 0082200a928c7a888310b63d7b2c7b59 files/digest-dovecot-1.0_rc7 250 RMD160 61cd4efe32c81f93075d180a4fed698cd412f627 files/digest-dovecot-1.0_rc7 250 SHA256 fdff890a0f3085c22219f6f5e7bb7fa76e6861804da12025f4f16f8351957190 files/digest-dovecot-1.0_rc7 250 +MD5 bf7962a48e29e142925c9e787840f347 files/digest-dovecot-1.0_rc8 250 +RMD160 db7be6c20d6817e8393c1656eaaf39657ecf6316 files/digest-dovecot-1.0_rc8 250 +SHA256 3a55e62b8b6f609ff2fd72f7a81f8caba859b5fab36af42511a746b86295b1d5 files/digest-dovecot-1.0_rc8 250 diff --git a/net-mail/dovecot/dovecot-1.0_rc8.ebuild b/net-mail/dovecot/dovecot-1.0_rc8.ebuild new file mode 100644 index 000000000000..9d56c8fb5471 --- /dev/null +++ b/net-mail/dovecot/dovecot-1.0_rc8.ebuild @@ -0,0 +1,178 @@ +# 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_rc8.ebuild,v 1.1 2006/10/09 18:43:54 uberlord Exp $ + +inherit autotools 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 doc ipv6 kerberos ldap mbox mysql pop3d pam postgres ssl vpopmail" + +# Developer documentation, controlled by the doc USE flag +DEVDOCS="auth-protocol index multiaccess securecoding" + +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="--sysconfdir=/etc/dovecot --with-ioloop=best --with-poll=best" + use ssl && myconf="${myconf} --with-ssl=openssl" \ + || myconf="${myconf} --without-ssl" + + 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 + + # Documentation + rm -rf "${D}"/usr/share/doc/dovecot + dodoc AUTHORS NEWS README TODO dovecot-example.conf + if use doc ; then + dodoc doc/*.txt + else + local x= n= + for x in doc/*.txt ; do + n=$(basename "${x}" .txt) + [[ " ${DEVDOCS} " != *" ${n} "* ]] && dodoc "${x}" + done + fi + + # Create the dovecot.conf file from the dovecot-example.conf file that + # the dovecot folks nicely left for us.... + local conf="${D}/etc/dovecot/dovecot.conf" + mv "${D}"/etc/dovecot/dovecot-example.conf "${D}"/etc/dovecot/dovecot.conf + fperms 0600 /etc/dovecot/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|' "${conf}" + fi + sed -i -e \ + "s|#default_mail_env =|default_mail_env = ${mailenv}|" "${conf}" || die + + # 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 = "\*"|' \ + "${conf}" || die + fi + + # Listen on ipv6 and ipv4 + if use ipv6 ; then + sed -i -e 's/^#listen = \*/listen = \[::\]/g' "${conf}" || die + fi + + # Install SQL configuration + if use mysql || use postgres ; then + cp doc/dovecot-sql.conf "${D}"/etc/dovecot + fperms 600 /etc/dovecot/dovecot-sql.conf + sed -i -e '/db sql/,/args/ s|=|= /etc/dovecot-sql.conf|' "${conf}" + dodoc doc/dovecot-sql.conf + fi + + # Install LDAP configuration + if use ldap ; then + cp doc/dovecot-ldap.conf "${D}"/etc/dovecot + fperms 600 /etc/dovecot/dovecot-ldap.conf + sed -i -e '/db ldap/,/args/ s|=|= /etc/dovecot-ldap.conf|' "${conf}" + dodoc doc/dovecot-ldap.conf + fi + + + # 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 + dodoc doc/*.cnf doc/mkcert.sh + 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 +} + +get_config_var() { + sed -n 's/^[[:space:]]\?base_dir[[:space:]]*="*\([^#"]\+\)"*/\1/p' \ + /etc/dovecot/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." + + if [[ -e ${ROOT}etc/dovecot.conf ]] ; then + ewarn + ewarn "dovecot configuration is now in ${ROOT}etc/dovecot" + fi + + local base_dir="$(get_config_var base_dir)" + base_dir="${basedir:-/var/run/dovecot}" + if use ssl \ + && [[ ! -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-1.0_rc8 b/net-mail/dovecot/files/digest-dovecot-1.0_rc8 new file mode 100644 index 000000000000..aa5470b35a72 --- /dev/null +++ b/net-mail/dovecot/files/digest-dovecot-1.0_rc8 @@ -0,0 +1,3 @@ +MD5 888ecd634dbb4a4755c1a892e8eb3950 dovecot-1.0.rc8.tar.gz 1446336 +RMD160 865b948e3e702ab74a8e0f3cd12c0daa39573ad9 dovecot-1.0.rc8.tar.gz 1446336 +SHA256 f85f8b4f7dad5541defbe49bf5ff9214bfb2be8059d47ca2a2d52db2c0885611 dovecot-1.0.rc8.tar.gz 1446336 |