summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWolfram Schlich <wschlich@gentoo.org>2008-04-02 12:09:14 +0000
committerWolfram Schlich <wschlich@gentoo.org>2008-04-02 12:09:14 +0000
commit6c93c0f6b67f81c3233c49820a8adce4723ebe47 (patch)
treeea0fc554d390674eb2a9415b7a1b8fd6ec50a3c2 /net-mail
parentalpha/ia64/sparc stable wrt security #215702 (diff)
downloadhistorical-6c93c0f6b67f81c3233c49820a8adce4723ebe47.tar.gz
historical-6c93c0f6b67f81c3233c49820a8adce4723ebe47.tar.bz2
historical-6c93c0f6b67f81c3233c49820a8adce4723ebe47.zip
version bump, removed old versions
Package-Manager: portage-2.1.4.4
Diffstat (limited to 'net-mail')
-rw-r--r--net-mail/dovecot/ChangeLog9
-rw-r--r--net-mail/dovecot/Manifest9
-rw-r--r--net-mail/dovecot/dovecot-1.1_rc3-r1.ebuild249
-rw-r--r--net-mail/dovecot/dovecot-1.1_rc4.ebuild (renamed from net-mail/dovecot/dovecot-1.1_rc3-r2.ebuild)4
4 files changed, 13 insertions, 258 deletions
diff --git a/net-mail/dovecot/ChangeLog b/net-mail/dovecot/ChangeLog
index 2d6a4f9fda59..3385a378693c 100644
--- a/net-mail/dovecot/ChangeLog
+++ b/net-mail/dovecot/ChangeLog
@@ -1,6 +1,13 @@
# ChangeLog for net-mail/dovecot
# Copyright 2000-2008 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-mail/dovecot/ChangeLog,v 1.157 2008/03/18 23:15:34 wschlich Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-mail/dovecot/ChangeLog,v 1.158 2008/04/02 12:09:14 wschlich Exp $
+
+*dovecot-1.1_rc4 (02 Apr 2008)
+
+ 02 Apr 2008; Wolfram Schlich <wschlich@gentoo.org>
+ -dovecot-1.1_rc3-r1.ebuild, -dovecot-1.1_rc3-r2.ebuild,
+ +dovecot-1.1_rc4.ebuild:
+ version bump, removed old versions
18 Mar 2008; Wolfram Schlich <wschlich@gentoo.org> -dovecot-1.0.10.ebuild,
-dovecot-1.0.13.ebuild, -dovecot-1.1_rc3.ebuild:
diff --git a/net-mail/dovecot/Manifest b/net-mail/dovecot/Manifest
index 2ed9c64e4dbb..84bf018ce92f 100644
--- a/net-mail/dovecot/Manifest
+++ b/net-mail/dovecot/Manifest
@@ -4,13 +4,12 @@ AUX dovecot.init 890 RMD160 376dca3d8b422dd4d5cb7c4d47adc51de9222908 SHA1 b34d26
DIST dovecot-1.0.13-MANAGESIEVE-v9.2.diff.gz 104733 RMD160 15add312a917580a449cfc09539f279e574529eb SHA1 cd08eef3d1b4d8bef36af7f79675bfe194f16962 SHA256 65c86d9a9b1beaa3a5ed3b2a8dffec501444e30310e7f663a373d493618c8e19
DIST dovecot-1.0.13.tar.gz 1774025 RMD160 1ba2c6b14e41c9bc4d36c12ea90a0fad024409db SHA1 8690b27d01e8a68edef5ed162681c79f4074c9c1 SHA256 16da29b2bc08d0178a09323bf0787a2a0e953075655566a7b4b6b148c87ac25f
DIST dovecot-1.1-managesieve-0.10.1.tar.gz 383509 RMD160 dfd207bb563c4a2f5f529f475c60088ad462883b SHA1 4c5418315d21a560bd1ed0551bb65a24cd3d9c41 SHA256 216c1d0904a881d3143d92ce282a477b68a4e0cf3eaea59bb091f7c664919ee9
-DIST dovecot-1.1.rc3-managesieve-0.10.1.diff.gz 6128 RMD160 e9501c7141aeb4f4edf705fa0d6223bbeb1689ae SHA1 83a74ea0e3723939eafa649d8164cd9784c24e95 SHA256 ce6566b9b7e54457cc61ce7ac9835f01923f70b3027756d30da6cdb19406aee3
-DIST dovecot-1.1.rc3.tar.gz 2222329 RMD160 f62fdfaef7ab9ec1433b6c2907b6b15822e305b6 SHA1 82a7f3f44b29988cfb8b7e2fe06a91174d2cc32e SHA256 5a72318a6f4d12a1da7104de94b439a8523142c0f54af1f1ff64966820ef9460
+DIST dovecot-1.1.rc4-managesieve-0.10.1.diff.gz 6127 RMD160 739e2bc2ae7e7aab30b3b2190839cb8bedb4a040 SHA1 800d4bc40936fbdec80011deb34738a2ca4825c0 SHA256 0027e6b6b7891469eada8b4176388e427fc475603cb50d5c4c597cc856225977
+DIST dovecot-1.1.rc4.tar.gz 2221964 RMD160 9e1425d8a5301be6cef41b88b4b0189b4be048c3 SHA1 1fbed995a0630daa2e597b29fb7354ce703be609 SHA256 3ea99c61b8d71a2139562f9a4733fb38cfb431927f4ad98a8e36c21c23f2e69e
DIST dovecot-sieve-1.0.2.tar.gz 451753 RMD160 8bed283ae672aafa61271f154f1f58d200bd4f5f SHA1 70b423eae6e47bc38f81faa36503228c1a8a5550 SHA256 9042eaf6d1237577a67ab3aa233953d640f62a296c5ffaaaed75ff25b657642a
DIST dovecot-sieve-1.1.4.tar.gz 464677 RMD160 99d3908d71ae63b357aaae31c8c5e0189b7e3181 SHA1 f59a91a9e7d73fbc6b150fbde9b243309429db31 SHA256 885a820a659430edf15c09ddca43afa17271fea8304376a22ead333a9f732849
EBUILD dovecot-1.0.13-r1.ebuild 7260 RMD160 79199932af7ae5a3b7d477e05966364297ff300b SHA1 efda2a2be4254698f2032677d202514e85b0f1f3 SHA256 8499b8be66e95429e800bd520d799dd39aeaf219d452382ddb80d7715c5e806f
EBUILD dovecot-1.0.13-r2.ebuild 7336 RMD160 0992d0fdcc24cd290f83a34c9dfd82263903272b SHA1 2d57f282070e95a9c67d9d441b3b651808d9243c SHA256 b9cd5fc85db31272683fe9889334656372571ea0a7c627d2ef6c37d2d38df69e
-EBUILD dovecot-1.1_rc3-r1.ebuild 7888 RMD160 508f4bd6a2db78ead55b6ef4529d46913e3d428e SHA1 5ae130c876849b4e0dbe163f57d36078e6b5db1e SHA256 016c43312b14b6546956f3c7c946861cbafe0a7260328ee2d0b8437b72976c98
-EBUILD dovecot-1.1_rc3-r2.ebuild 7959 RMD160 84ee2b22fa066c41cecfc6ff08967bb6cd2741f3 SHA1 a5eff78067a536ff9395d2775ba40bd8b3516579 SHA256 54e577d5231b2371015805eb3985ef4d32ed64bd62d9c0d4558a7a7ad20ff001
-MISC ChangeLog 24925 RMD160 6435af3dc6415651288a3fb7cf584ee9f243d948 SHA1 37506baf5294d10eb4823d1057ea1024f51eaa90 SHA256 700430a5928fe271176be42e0ea00358205202c88a819ed6904846cfb0861cd6
+EBUILD dovecot-1.1_rc4.ebuild 7864 RMD160 7503a88d253ef2b4dbb2f0e99585a0e18762ab6f SHA1 d655042c8ba55956320e62cd8e615a0a12c51ba3 SHA256 54eb263cad095d1468bcf9dc18040e285b25a9e522ea94021d584b04e470686a
+MISC ChangeLog 25133 RMD160 6625216e0a2d10951bdabc26d4c4fd6c188e5648 SHA1 5d81d9eb95ba6b8cee775465254ae01cb40ab76f SHA256 4ef85c4b4258aa4fc7e395476f6c83ff11419bdcd44585abf462b2da265cee0b
MISC metadata.xml 307 RMD160 ed31b92a1f8c8c5c1cc6166bc0136dd03299bb9b SHA1 ac1cb79f5d3340ed9a9d3117531c1c7fa2af8edf SHA256 180d5598a7d709bf7969219969218d54d7283af53b238bf74c3f7223ca2190ef
diff --git a/net-mail/dovecot/dovecot-1.1_rc3-r1.ebuild b/net-mail/dovecot/dovecot-1.1_rc3-r1.ebuild
deleted file mode 100644
index f216ad15d071..000000000000
--- a/net-mail/dovecot/dovecot-1.1_rc3-r1.ebuild
+++ /dev/null
@@ -1,249 +0,0 @@
-# Copyright 1999-2008 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-mail/dovecot/dovecot-1.1_rc3-r1.ebuild,v 1.2 2008/03/15 12:13:54 wschlich Exp $
-
-inherit autotools eutils ssl-cert versionator
-
-MY_P="${P/_/.}"
-MY_PV12=$(get_version_component_range 1-2 ${PV})
-S="${WORKDIR}/${MY_P}"
-SIEVE="dovecot-sieve-1.1.4"
-SIEVE_S="${WORKDIR}/${SIEVE}"
-MANAGESIEVE_PATCH="managesieve-0.10.1"
-MANAGESIEVE="managesieve-0.10.1"
-MANAGESIEVE_S="${WORKDIR}/${PN}-${MY_PV12}-${MANAGESIEVE}"
-
-SRC_URI="http://dovecot.org/releases/${MY_PV12}/rc/${MY_P}.tar.gz
-sieve? ( http://dovecot.org/releases/sieve/${SIEVE}.tar.gz )
-managesieve? ( http://www.rename-it.nl/${PN}/${MY_PV12}/${MY_P}-${MANAGESIEVE_PATCH}.diff.gz
-http://www.rename-it.nl/${PN}/${MY_PV12}/${PN}-${MY_PV12}-${MANAGESIEVE}.tar.gz )"
-
-DESCRIPTION="An IMAP and POP3 server written with security primarily in mind"
-HOMEPAGE="http://www.dovecot.org/"
-
-SLOT="0"
-LICENSE="LGPL-2.1"
-KEYWORDS="-* ~alpha ~amd64 ~ppc ~sparc ~x86 ~x86-fbsd"
-
-IUSE="debug doc ipv6 kerberos ldap managesieve mbox mysql pop3d pam postgres sieve ssl suid 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? ( virtual/mysql )
- vpopmail? ( net-mail/vpopmail )"
-
-RDEPEND="${DEPEND}
- >=net-mail/mailbase-0.00-r8"
-
-src_unpack() {
- unpack ${A}
- cd "${S}"
- # http://hg.dovecot.org/dovecot-1.1/rev/7e27d67d3abe
- epatch "${FILESDIR}"/${P}-body.patch
- if use managesieve; then
- epatch "${WORKDIR}"/${MY_P}-${MANAGESIEVE_PATCH}.diff
- eautoreconf
- fi
-}
-
-pkg_setup() {
- if ! use sieve && use managesieve; then
- eerror "managesieve USE flag selected but sieve USE flag unselected"
- die "USE flag problem"
- fi
- # 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"
- econf \
- --localstatedir=/var \
- --sysconfdir=/etc/dovecot \
- --enable-header-install \
- --with-ioloop=best \
- --with-poll=best \
- $(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"
-
- if use sieve; then
- einfo "Building sieve"
- cd "${SIEVE_S}"
- econf --with-dovecot="${S}" || die "configure failed (sieve)"
- emake || die "make failed (sieve)"
- fi
-
- if use managesieve; then
- einfo "Building managesieve"
- cd "${MANAGESIEVE_S}"
- econf --with-dovecot="${S}" --with-dovecot-sieve="${SIEVE_S}" \
- || die "configure failed (managesieve)"
- emake || die "make failed (managesieve)"
- fi
-}
-
-src_install () {
- make DESTDIR="${D}" install || die "make install failed"
- use suid && fperms u+s /usr/libexec/dovecot/deliver
-
- rm -f "${D}"/etc/dovecot/dovecot-{ldap,sql}-example.conf
-
- newinitd "${FILESDIR}"/dovecot.init dovecot
-
- # Documentation
- rm -rf "${D}"/usr/share/doc/dovecot
- dodoc AUTHORS NEWS README TODO dovecot-example.conf
- use managesieve && newdoc ${MANAGESIEVE_S}/README README.managesieve
- 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
-
- # .maildir is the Gentoo default, but we need to support mbox to
- local mail_location="maildir:~/.maildir"
- if use mbox; then
- mail_location="mbox:/var/spool/mail/%u:INDEX=/var/dovecot/%u"
- keepdir /var/dovecot
- sed -i -e 's|#mail_privileged_group =|mail_privileged_group = mail|' "${conf}"
- fi
- sed -i -e \
- "s|#mail_location =|mail_location = ${mail_location}|" "${conf}" \
- || die "failed to update mail location settings in 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 = "\*"|' \
- "${conf}" || die "failed to update PAM settings in dovecot.conf"
- fi
-
- # Listen on ipv6 and ipv4
- if use ipv6; then
- sed -i -e 's/^#listen = \*/listen = \[::\]/g' "${conf}" \
- || die "failed to update listen settings in dovecot.conf"
- fi
-
- # Update ssl cert locations
- if use ssl; then
- sed -i -e 's,^#ssl_cert_file =.*,ssl_cert_file = /etc/ssl/dovecot/server.pem,' \
- -e 's,^#ssl_key_file =.*,ssl_key_file = /etc/ssl/dovecot/server.key,' \
- "${conf}" || die "failed to update SSL settings in dovecot.conf"
- fi
-
- # Install SQL configuration
- if use mysql || use postgres; then
- cp doc/dovecot-sql-example.conf "${D}"/etc/dovecot/dovecot-sql.conf
- fperms 600 /etc/dovecot/dovecot-sql.conf
- sed -i -e '/db sql/,/args/ s|=|= /etc/dovecot-sql.conf|' "${conf}" \
- || die "failed to update SQL settings in dovecot-sql.conf"
- dodoc doc/dovecot-sql-example.conf
- fi
-
- # Install LDAP configuration
- if use ldap; then
- cp doc/dovecot-ldap-example.conf "${D}"/etc/dovecot/dovecot-ldap.conf
- fperms 600 /etc/dovecot/dovecot-ldap.conf
- sed -i -e '/db ldap/,/args/ s|=|= /etc/dovecot-ldap.conf|' "${conf}" \
- || die "failed to update LDAP settings in dovecot-ldap.conf"
- dodoc doc/dovecot-ldap-example.conf
- fi
-
- # Install sieve plugin
- if use sieve; then
- make -C "${SIEVE_S}" DESTDIR="${D}" install \
- || die "make install failed (sieve)"
- fi
-
- # Install managesieve
- if use managesieve; then
- make -C "${MANAGESIEVE_S}" DESTDIR="${D}" install \
- || die "make install failed (managesieve)"
- fi
-
- dodir /var/run/dovecot
- fowners root:0 /var/run/dovecot
- fperms 0755 /var/run/dovecot
- keepdir /var/run/dovecot/login
- fowners root:dovecot /var/run/dovecot/login
- fperms 0750 /var/run/dovecot/login
-}
-
-get_config_var() {
- local varname=${1}
- if [[ -z ${varname} ]]; then
- die "${FUNCNAME}: variable name missing"
- fi
- sed -n 's/^[[:space:]]\?'"${varname}"'[[:space:]]*="*\([^#"]\+\)"*/\1/p' \
- "${ROOT}"/etc/dovecot/dovecot.conf
-}
-
-pkg_postinst() {
- elog "The Dovecot configuration has vastly changed since 0.99."
- elog "You are encouraged to start afresh with a new configuration file."
- elog "see http://wiki.dovecot.org/ for configuration examples."
-
- if [[ -e "${ROOT}"/etc/dovecot.conf ]]; then
- echo
- ewarn "The Dovecot configuration now resides in ${ROOT}/etc/dovecot"
- fi
-
- local base_dir="$(get_config_var base_dir)"
- base_dir="${base_dir:-/var/run/dovecot}"
- if use ssl; then
- # Let's not make a new certificate if we already have one
- if ! [[ -e "${ROOT}"/etc/ssl/dovecot/server.pem && \
- -e "${ROOT}"/etc/ssl/dovecot/server.key ]]; then
- einfo "Creating SSL certificate"
- SSL_ORGANIZATION="${SSL_ORGANIZATION:-Dovecot IMAP Server}"
- install_cert /etc/ssl/dovecot/server
- chown dovecot:mail "${ROOT}"/etc/ssl/dovecot/server.{key,pem}
- fi
- if [[ ! -e "${ROOT}${base_dir}/login/ssl-parameters.dat" ]]; then
- echo
- elog "Dovecot requires DH SSL Parameters if you use SSL connections"
- elog "These take some time to make, and dovecot will create them before"
- elog "it allows any SSL connections."
- elog "You can create them now before starting dovecot like so"
- elog " emerge --config =${PF}"
- fi
- fi
-}
-
-pkg_config() {
- local base_dir="$(get_config_var base_dir)"
- base_dir="${base_dir:-/var/run/dovecot}"
-
- if use ssl; then
- einfo "Regenerating SSL parameters. This will take some time."
- "${ROOT}"/usr/libexec/dovecot/ssl-build-param "${base_dir}/login/ssl-parameters.dat"
- fi
-}
diff --git a/net-mail/dovecot/dovecot-1.1_rc3-r2.ebuild b/net-mail/dovecot/dovecot-1.1_rc4.ebuild
index 433586ee78a5..d8d5ea00afcb 100644
--- a/net-mail/dovecot/dovecot-1.1_rc3-r2.ebuild
+++ b/net-mail/dovecot/dovecot-1.1_rc4.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-mail/dovecot/dovecot-1.1_rc3-r2.ebuild,v 1.1 2008/03/18 23:09:31 wschlich Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-mail/dovecot/dovecot-1.1_rc4.ebuild,v 1.1 2008/04/02 12:09:14 wschlich Exp $
inherit autotools eutils ssl-cert versionator
@@ -46,8 +46,6 @@ RDEPEND="${DEPEND}
src_unpack() {
unpack ${A}
cd "${S}"
- # http://hg.dovecot.org/dovecot-1.1/rev/7e27d67d3abe
- epatch "${FILESDIR}"/${P}-body.patch
if use managesieve; then
epatch "${WORKDIR}"/${MY_P}-${MANAGESIEVE_PATCH}.diff
eautoreconf