summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Raschbacher <lordvan@gentoo.org>2008-12-01 12:38:03 +0000
committerThomas Raschbacher <lordvan@gentoo.org>2008-12-01 12:38:03 +0000
commit35fc9860c79738525c7a0fac5ac20a28b0edbf0f (patch)
treeee4590d398ffcb95fb35e276c9f030f6ccdde5e6 /net-mail
parentalpha/arm/ia64/sparc/sh/x86 stable wrt #244808 (diff)
downloadgentoo-2-35fc9860c79738525c7a0fac5ac20a28b0edbf0f.tar.gz
gentoo-2-35fc9860c79738525c7a0fac5ac20a28b0edbf0f.tar.bz2
gentoo-2-35fc9860c79738525c7a0fac5ac20a28b0edbf0f.zip
removed some old versions, added 2.3.4 and fixed bug 239670 (see ChangeLog for credits)
(Portage version: 2.2_rc14/cvs/Linux 2.6.24-gentoo-r3 x86_64)
Diffstat (limited to 'net-mail')
-rw-r--r--net-mail/dbmail/ChangeLog13
-rw-r--r--net-mail/dbmail/dbmail-2.2.10.ebuild3
-rw-r--r--net-mail/dbmail/dbmail-2.2.11_rc1.ebuild108
-rw-r--r--net-mail/dbmail/dbmail-2.2.11_rc3.ebuild3
-rw-r--r--net-mail/dbmail/dbmail-2.2.7.ebuild108
-rw-r--r--net-mail/dbmail/dbmail-2.2.8.ebuild108
-rw-r--r--net-mail/dbmail/dbmail-2.2.9.ebuild3
-rw-r--r--net-mail/dbmail/dbmail-2.3.2.ebuild111
-rw-r--r--net-mail/dbmail/dbmail-2.3.4.ebuild (renamed from net-mail/dbmail/dbmail-2.3.3.ebuild)3
9 files changed, 20 insertions, 440 deletions
diff --git a/net-mail/dbmail/ChangeLog b/net-mail/dbmail/ChangeLog
index eedad632edee..da0baa8034da 100644
--- a/net-mail/dbmail/ChangeLog
+++ b/net-mail/dbmail/ChangeLog
@@ -1,6 +1,17 @@
# ChangeLog for net-mail/dbmail
# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-mail/dbmail/ChangeLog,v 1.31 2008/11/06 15:02:37 lordvan Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-mail/dbmail/ChangeLog,v 1.32 2008/12/01 12:38:03 lordvan Exp $
+
+*dbmail-2.3.4 (01 Dec 2008)
+
+ 01 Dec 2008; Thomas Raschbacher <lordvan@gentoo.org> -dbmail-2.2.7.ebuild,
+ -dbmail-2.2.8.ebuild, dbmail-2.2.9.ebuild, dbmail-2.2.10.ebuild,
+ -dbmail-2.2.11_rc1.ebuild, dbmail-2.2.11_rc3.ebuild, -dbmail-2.3.2.ebuild,
+ -dbmail-2.3.3.ebuild, +dbmail-2.3.4.ebuild:
+ removed 2.2.7 and 2.2.8
+ removed old rc and old dev versions. fixed bug 239670 (thanks to Evil
+ Compile Person <bugs@dev.gentooexperimental.org> and tove@gentoo.org)
+ added 2.3.4
06 Nov 2008; Thomas Raschbacher <lordvan@gentoo.org> ChangeLog:
added 2.2.11 rc3
diff --git a/net-mail/dbmail/dbmail-2.2.10.ebuild b/net-mail/dbmail/dbmail-2.2.10.ebuild
index 45713dbd8420..5f8cfad82737 100644
--- a/net-mail/dbmail/dbmail-2.2.10.ebuild
+++ b/net-mail/dbmail/dbmail-2.2.10.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/dbmail/dbmail-2.2.10.ebuild,v 1.3 2008/10/11 23:07:47 eva Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-mail/dbmail/dbmail-2.2.10.ebuild,v 1.4 2008/12/01 12:38:03 lordvan Exp $
inherit eutils
@@ -37,6 +37,7 @@ pkg_setup() {
src_compile() {
use sqlite3 && myconf="--with-sqlite"
+ if !use postgres && !use mysql && !use sqlite3; then myconf="${myconf} --with-sqlite" ; fi
use ldap && myconf=${myconf}" --with-auth-ldap"
econf \
diff --git a/net-mail/dbmail/dbmail-2.2.11_rc1.ebuild b/net-mail/dbmail/dbmail-2.2.11_rc1.ebuild
deleted file mode 100644
index db3918a6709b..000000000000
--- a/net-mail/dbmail/dbmail-2.2.11_rc1.ebuild
+++ /dev/null
@@ -1,108 +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/dbmail/dbmail-2.2.11_rc1.ebuild,v 1.2 2008/10/11 23:07:47 eva Exp $
-
-inherit eutils
-
-MY_P="${P/_/-}" # for rcX was without the - for versions < 2.2.6
-#MY_P="${P}" # releases
-DESCRIPTION="A mail storage and retrieval daemon that uses MySQL or PostgreSQL as its data store"
-HOMEPAGE="http://www.dbmail.org/"
-SRC_URI="http://www.dbmail.org/download/2.2/${MY_P}.tar.gz"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-IUSE="ldap mysql postgres sieve sqlite3 ssl static"
-
-DEPEND="ssl? ( dev-libs/openssl )
- postgres? ( >=virtual/postgresql-server-7.4 )
- mysql? ( >=virtual/mysql-4.1 )
- sqlite3? ( >=dev-db/sqlite-3.0 )
- !mysql? ( !postgres? ( !sqlite3? ( >=dev-db/sqlite-3.0 ) ) )
- sieve? ( >=mail-filter/libsieve-2.2.1 )
- ldap? ( >=net-nds/openldap-2.3.33 )
- app-text/asciidoc
- app-text/xmlto
- sys-libs/zlib
- =dev-libs/gmime-2.2*
- >=dev-libs/glib-2.8"
-
-S=${WORKDIR}/${P/_/-}
-
-pkg_setup() {
- enewgroup dbmail
- enewuser dbmail -1 -1 /var/lib/dbmail dbmail
-}
-
-src_compile() {
- use sqlite3 && myconf="--with-sqlite"
- use ldap && myconf=${myconf}" --with-auth-ldap"
-
- econf \
- --sysconfdir=/etc/dbmail \
- ${myconf} \
- $(use_enable static) \
- $(use_with sieve) \
- $(use_with ssl) \
- $(use_with postgres pgsql) \
- $(use_with mysql) \
- || die "econf failed"
-
- emake || die "emake failed"
-}
-
-src_install() {
- emake DESTDIR="${D}" install || die "emake install failed"
-
- dodoc AUTHORS BUGS UPGRADING ChangeLog README* INSTALL* NEWS THANKS
- dodoc sql/mysql/*
- dodoc sql/postgresql/*
- dodoc sql/sqlite/*
-
- cp dbmail.conf.dist dbmail.conf
- sed -i -e "s:nobody:dbmail:" dbmail.conf
- sed -i -e "s:nogroup:dbmail:" dbmail.conf
- #sed -i -e "s:#library_directory:library_directory:" dbmail.conf
- insinto /etc/dbmail
- newins dbmail.conf dbmail.conf.dist
-
- newinitd "${FILESDIR}"/dbmail-imapd.initd dbmail-imapd
- newinitd "${FILESDIR}"/dbmail-lmtpd.initd dbmail-lmtpd
- newinitd "${FILESDIR}"/dbmail-pop3d.initd dbmail-pop3d
- use sieve && newinitd "${FILESDIR}"/dbmail-timsieved.initd dbmail-timsieved
-
- dobin contrib/mailbox2dbmail/mailbox2dbmail
- doman contrib/mailbox2dbmail/mailbox2dbmail.1
-
- keepdir /var/lib/dbmail
- fperms 750 /var/lib/dbmail
-
-}
-
-pkg_postinst() {
- elog "Please read /usr/share/doc/${PF}/INSTALL.gz"
- elog "for remaining instructions on setting up dbmail users and "
- elog "for finishing configuration to connect to your MTA and "
- elog "to connect to your db."
- echo
- elog "DBMail requires either SQLite3, PostgreSQL or MySQL."
- elog "If none of the use-flags are specified SQLite3 is"
- elog "used as default. To use another database please"
- elog "specify the appropriate use-flag and re-emerge dbmail."
- echo
- elog "Database schemes can be found in /usr/share/doc/${PF}/"
- elog "You will also want to follow the installation instructions"
- elog "on setting up the maintenance program to delete old messages."
- elog "Don't forget to edit /etc/dbmail/dbmail.conf as well."
- echo
- elog "For regular maintenance, add this to crontab:"
- elog "0 3 * * * /usr/bin/dbmail-util -cpdy >/dev/null 2>&1"
- echo
- elog "Please make sure to run etc-update."
- elog "If you get an error message about plugins not found"
- elog "please add the library_directory configuration switch to"
- elog "dbmail.conf and set it to the correct path"
- elog "(usually /usr/lib/dbmail or /usr/lib64/dbmail on amd64)"
- elog "A sample can be found in dbmail.conf.dist after etc-update."
-}
diff --git a/net-mail/dbmail/dbmail-2.2.11_rc3.ebuild b/net-mail/dbmail/dbmail-2.2.11_rc3.ebuild
index 9493aba10086..d344cb07c537 100644
--- a/net-mail/dbmail/dbmail-2.2.11_rc3.ebuild
+++ b/net-mail/dbmail/dbmail-2.2.11_rc3.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/dbmail/dbmail-2.2.11_rc3.ebuild,v 1.1 2008/11/06 15:02:37 lordvan Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-mail/dbmail/dbmail-2.2.11_rc3.ebuild,v 1.2 2008/12/01 12:38:03 lordvan Exp $
inherit eutils
@@ -37,6 +37,7 @@ pkg_setup() {
src_compile() {
use sqlite3 && myconf="--with-sqlite"
+ if !use postgres && !use mysql && !use sqlite3; then myconf="${myconf} --with-sqlite" ; fi
use ldap && myconf=${myconf}" --with-auth-ldap"
econf \
diff --git a/net-mail/dbmail/dbmail-2.2.7.ebuild b/net-mail/dbmail/dbmail-2.2.7.ebuild
deleted file mode 100644
index 0a6c5b210d6a..000000000000
--- a/net-mail/dbmail/dbmail-2.2.7.ebuild
+++ /dev/null
@@ -1,108 +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/dbmail/dbmail-2.2.7.ebuild,v 1.7 2008/10/11 23:07:47 eva Exp $
-
-inherit eutils
-
-MY_P="${P/_/-}" # for rcX
-#MY_P="${P}" # releases
-DESCRIPTION="A mail storage and retrieval daemon that uses MySQL or PostgreSQL as its data store"
-HOMEPAGE="http://www.dbmail.org/"
-SRC_URI="http://www.dbmail.org/download/2.2/${MY_P}.tar.gz"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-IUSE="ldap mysql postgres sieve sqlite3 ssl static"
-
-DEPEND="ssl? ( dev-libs/openssl )
- postgres? ( >=virtual/postgresql-server-7.4 )
- mysql? ( >=virtual/mysql-4.1 )
- sqlite3? ( >=dev-db/sqlite-3.0 )
- !mysql? ( !postgres? ( !sqlite3? ( >=dev-db/sqlite-3.0 ) ) )
- sieve? ( >=mail-filter/libsieve-2.2.1 )
- ldap? ( >=net-nds/openldap-2.3.33 )
- app-text/asciidoc
- app-text/xmlto
- sys-libs/zlib
- =dev-libs/gmime-2.2*
- >=dev-libs/glib-2.8"
-
-S=${WORKDIR}/${P/_/-}
-
-pkg_setup() {
- enewgroup dbmail
- enewuser dbmail -1 -1 /var/lib/dbmail dbmail
-}
-
-src_compile() {
- use sqlite3 && myconf="--with-sqlite"
- use ldap && myconf=${myconf}" --with-auth-ldap"
-
- econf \
- --sysconfdir=/etc/dbmail \
- ${myconf} \
- $(use_enable static) \
- $(use_with sieve) \
- $(use_with ssl) \
- $(use_with postgres pgsql) \
- $(use_with mysql) \
- || die "econf failed"
-
- emake || die "emake failed"
-}
-
-src_install() {
- emake DESTDIR="${D}" install || die "emake install failed"
-
- dodoc AUTHORS BUGS UPGRADING ChangeLog README* INSTALL* NEWS THANKS
- dodoc sql/mysql/*
- dodoc sql/postgresql/*
- dodoc sql/sqlite/*
-
- cp dbmail.conf.dist dbmail.conf
- sed -i -e "s:nobody:dbmail:" dbmail.conf
- sed -i -e "s:nogroup:dbmail:" dbmail.conf
- #sed -i -e "s:#library_directory:library_directory:" dbmail.conf
- insinto /etc/dbmail
- newins dbmail.conf dbmail.conf.dist
-
- newinitd "${FILESDIR}"/dbmail-imapd.initd dbmail-imapd
- newinitd "${FILESDIR}"/dbmail-lmtpd.initd dbmail-lmtpd
- newinitd "${FILESDIR}"/dbmail-pop3d.initd dbmail-pop3d
- use sieve && newinitd "${FILESDIR}"/dbmail-timsieved.initd dbmail-timsieved
-
- dobin contrib/mailbox2dbmail/mailbox2dbmail
- doman contrib/mailbox2dbmail/mailbox2dbmail.1
-
- keepdir /var/lib/dbmail
- fperms 750 /var/lib/dbmail
-
-}
-
-pkg_postinst() {
- elog "Please read /usr/share/doc/${PF}/INSTALL.gz"
- elog "for remaining instructions on setting up dbmail users and "
- elog "for finishing configuration to connect to your MTA and "
- elog "to connect to your db."
- echo
- elog "DBMail requires either SQLite3, PostgreSQL or MySQL."
- elog "If none of the use-flags are specified SQLite3 is"
- elog "used as default. To use another database please"
- elog "specify the appropriate use-flag and re-emerge dbmail."
- echo
- elog "Database schemes can be found in /usr/share/doc/${PF}/"
- elog "You will also want to follow the installation instructions"
- elog "on setting up the maintenance program to delete old messages."
- elog "Don't forget to edit /etc/dbmail/dbmail.conf as well."
- echo
- elog "For regular maintenance, add this to crontab:"
- elog "0 3 * * * /usr/bin/dbmail-util -cpdy >/dev/null 2>&1"
- echo
- elog "Please make sure to run etc-update."
- elog "If you get an error message about plugins not found"
- elog "please add the library_directory configuration switch to"
- elog "dbmail.conf and set it to the correct path"
- elog "(usually /usr/lib/dbmail or /usr/lib64/dbmail on amd64)"
- elog "A sample can be found in dbmail.conf.dist after etc-update."
-}
diff --git a/net-mail/dbmail/dbmail-2.2.8.ebuild b/net-mail/dbmail/dbmail-2.2.8.ebuild
deleted file mode 100644
index 54ea7cd4f265..000000000000
--- a/net-mail/dbmail/dbmail-2.2.8.ebuild
+++ /dev/null
@@ -1,108 +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/dbmail/dbmail-2.2.8.ebuild,v 1.7 2008/10/11 23:07:47 eva Exp $
-
-inherit eutils
-
-MY_P="${P/_/}" # for rcX
-#MY_P="${P}" # releases
-DESCRIPTION="A mail storage and retrieval daemon that uses MySQL or PostgreSQL as its data store"
-HOMEPAGE="http://www.dbmail.org/"
-SRC_URI="http://www.dbmail.org/download/2.2/${MY_P}.tar.gz"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="amd64 x86"
-IUSE="ldap mysql postgres sieve sqlite3 ssl static"
-
-DEPEND="ssl? ( dev-libs/openssl )
- postgres? ( >=virtual/postgresql-server-7.4 )
- mysql? ( >=virtual/mysql-4.1 )
- sqlite3? ( >=dev-db/sqlite-3.0 )
- !mysql? ( !postgres? ( !sqlite3? ( >=dev-db/sqlite-3.0 ) ) )
- sieve? ( >=mail-filter/libsieve-2.2.1 )
- ldap? ( >=net-nds/openldap-2.3.33 )
- app-text/asciidoc
- app-text/xmlto
- sys-libs/zlib
- =dev-libs/gmime-2.2*
- >=dev-libs/glib-2.8"
-
-S=${WORKDIR}/${P/_/-}
-
-pkg_setup() {
- enewgroup dbmail
- enewuser dbmail -1 -1 /var/lib/dbmail dbmail
-}
-
-src_compile() {
- use sqlite3 && myconf="--with-sqlite"
- use ldap && myconf=${myconf}" --with-auth-ldap"
-
- econf \
- --sysconfdir=/etc/dbmail \
- ${myconf} \
- $(use_enable static) \
- $(use_with sieve) \
- $(use_with ssl) \
- $(use_with postgres pgsql) \
- $(use_with mysql) \
- || die "econf failed"
-
- emake || die "emake failed"
-}
-
-src_install() {
- emake DESTDIR="${D}" install || die "emake install failed"
-
- dodoc AUTHORS BUGS UPGRADING ChangeLog README* INSTALL* NEWS THANKS
- dodoc sql/mysql/*
- dodoc sql/postgresql/*
- dodoc sql/sqlite/*
-
- cp dbmail.conf.dist dbmail.conf
- sed -i -e "s:nobody:dbmail:" dbmail.conf
- sed -i -e "s:nogroup:dbmail:" dbmail.conf
- #sed -i -e "s:#library_directory:library_directory:" dbmail.conf
- insinto /etc/dbmail
- newins dbmail.conf dbmail.conf.dist
-
- newinitd "${FILESDIR}"/dbmail-imapd.initd dbmail-imapd
- newinitd "${FILESDIR}"/dbmail-lmtpd.initd dbmail-lmtpd
- newinitd "${FILESDIR}"/dbmail-pop3d.initd dbmail-pop3d
- use sieve && newinitd "${FILESDIR}"/dbmail-timsieved.initd dbmail-timsieved
-
- dobin contrib/mailbox2dbmail/mailbox2dbmail
- doman contrib/mailbox2dbmail/mailbox2dbmail.1
-
- keepdir /var/lib/dbmail
- fperms 750 /var/lib/dbmail
-
-}
-
-pkg_postinst() {
- elog "Please read /usr/share/doc/${PF}/INSTALL.gz"
- elog "for remaining instructions on setting up dbmail users and "
- elog "for finishing configuration to connect to your MTA and "
- elog "to connect to your db."
- echo
- elog "DBMail requires either SQLite3, PostgreSQL or MySQL."
- elog "If none of the use-flags are specified SQLite3 is"
- elog "used as default. To use another database please"
- elog "specify the appropriate use-flag and re-emerge dbmail."
- echo
- elog "Database schemes can be found in /usr/share/doc/${PF}/"
- elog "You will also want to follow the installation instructions"
- elog "on setting up the maintenance program to delete old messages."
- elog "Don't forget to edit /etc/dbmail/dbmail.conf as well."
- echo
- elog "For regular maintenance, add this to crontab:"
- elog "0 3 * * * /usr/bin/dbmail-util -cpdy >/dev/null 2>&1"
- echo
- elog "Please make sure to run etc-update."
- elog "If you get an error message about plugins not found"
- elog "please add the library_directory configuration switch to"
- elog "dbmail.conf and set it to the correct path"
- elog "(usually /usr/lib/dbmail or /usr/lib64/dbmail on amd64)"
- elog "A sample can be found in dbmail.conf.dist after etc-update."
-}
diff --git a/net-mail/dbmail/dbmail-2.2.9.ebuild b/net-mail/dbmail/dbmail-2.2.9.ebuild
index da16e7b2dba8..1b1a549715da 100644
--- a/net-mail/dbmail/dbmail-2.2.9.ebuild
+++ b/net-mail/dbmail/dbmail-2.2.9.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/dbmail/dbmail-2.2.9.ebuild,v 1.6 2008/10/11 23:07:47 eva Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-mail/dbmail/dbmail-2.2.9.ebuild,v 1.7 2008/12/01 12:38:03 lordvan Exp $
inherit eutils
@@ -37,6 +37,7 @@ pkg_setup() {
src_compile() {
use sqlite3 && myconf="--with-sqlite"
+ if !use postgres && !use mysql && !use sqlite3; then myconf="${myconf} --with-sqlite" ; fi
use ldap && myconf=${myconf}" --with-auth-ldap"
econf \
diff --git a/net-mail/dbmail/dbmail-2.3.2.ebuild b/net-mail/dbmail/dbmail-2.3.2.ebuild
deleted file mode 100644
index 2f263419a073..000000000000
--- a/net-mail/dbmail/dbmail-2.3.2.ebuild
+++ /dev/null
@@ -1,111 +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/dbmail/dbmail-2.3.2.ebuild,v 1.8 2008/10/11 23:07:47 eva Exp $
-
-inherit eutils
-
-MY_P="${P/_/}" # for rcX
-#MY_P="${P}" # releases
-DESCRIPTION="A mail storage and retrieval daemon that uses MySQL or PostgreSQL as its data store"
-HOMEPAGE="http://www.dbmail.org/"
-SRC_URI="http://www.dbmail.org/download/2.3/${MY_P}.tar.gz"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="-x86 -amd64"
-IUSE="ldap mysql postgres sieve sqlite3 ssl static"
-
-DEPEND="ssl? ( dev-libs/openssl )
- postgres? ( >=virtual/postgresql-server-7.4 )
- mysql? ( >=virtual/mysql-4.1 )
- sqlite3? ( >=dev-db/sqlite-3.0 )
- !mysql? ( !postgres? ( !sqlite3? ( >=dev-db/sqlite-3.0 ) ) )
- sieve? ( >=mail-filter/libsieve-2.2.1 )
- ldap? ( >=net-nds/openldap-2.3.33 )
- app-text/asciidoc
- app-text/xmlto
- sys-libs/zlib
- =dev-libs/gmime-2.2*
- >=dev-libs/glib-2.8
- >=app-crypt/mhash-0.9.9-r1"
-
-S=${WORKDIR}/${P/_/-}
-
-pkg_setup() {
- enewgroup dbmail
- enewuser dbmail -1 -1 /var/lib/dbmail dbmail
-}
-
-src_compile() {
- use sqlite3 && myconf="--with-sqlite"
- use ldap && myconf=${myconf}" --with-auth-ldap"
-
- econf \
- --sysconfdir=/etc/dbmail \
- ${myconf} \
- $(use_enable static) \
- $(use_with sieve) \
- $(use_with ssl) \
- $(use_with postgres pgsql) \
- $(use_with mysql) \
- || die "econf failed"
-
- emake || die "emake failed"
-}
-
-src_install() {
- emake DESTDIR="${D}" install || die "emake install failed"
-
- dodoc AUTHORS BUGS UPGRADING ChangeLog README* INSTALL* NEWS THANKS
- dodoc sql/mysql/*
- dodoc sql/postgresql/*
- dodoc sql/sqlite/*
-
- cp dbmail.conf.dist dbmail.conf
- sed -i -e "s:nobody:dbmail:" dbmail.conf
- sed -i -e "s:nogroup:dbmail:" dbmail.conf
- #sed -i -e "s:#library_directory:library_directory:" dbmail.conf
- insinto /etc/dbmail
- newins dbmail.conf dbmail.conf.dist
-
- newinitd "${FILESDIR}"/dbmail-imapd.initd dbmail-imapd
- newinitd "${FILESDIR}"/dbmail-lmtpd.initd dbmail-lmtpd
- newinitd "${FILESDIR}"/dbmail-pop3d.initd dbmail-pop3d
- use sieve && newinitd "${FILESDIR}"/dbmail-timsieved.initd dbmail-timsieved
-
- dobin contrib/mailbox2dbmail/mailbox2dbmail
- doman contrib/mailbox2dbmail/mailbox2dbmail.1
-
- keepdir /var/lib/dbmail
- fperms 750 /var/lib/dbmail
-
-}
-
-pkg_postinst() {
- elog "Please read /usr/share/doc/${PF}/INSTALL.gz"
- elog "for remaining instructions on setting up dbmail users and "
- elog "for finishing configuration to connect to your MTA and "
- elog "to connect to your db."
- echo
- elog "DBMail requires either SQLite3, PostgreSQL or MySQL."
- elog "If none of the use-flags are specified SQLite3 is"
- elog "used as default. To use another database please"
- elog "specify the appropriate use-flag and re-emerge dbmail."
- echo
- elog "Database schemes can be found in /usr/share/doc/${PF}/"
- elog "You will also want to follow the installation instructions"
- elog "on setting up the maintenance program to delete old messages."
- elog "Don't forget to edit /etc/dbmail/dbmail.conf as well."
- echo
- elog "For regular maintenance, add this to crontab:"
- elog "0 3 * * * /usr/bin/dbmail-util -cpdy >/dev/null 2>&1"
- echo
- elog "Please make sure to run etc-update."
- elog "If you get an error message about plugins not found"
- elog "please add the library_directory configuration switch to"
- elog "dbmail.conf and set it to the correct path"
- elog "(usually /usr/lib/dbmail or /usr/lib64/dbmail on amd64)"
- elog "A sample can be found in dbmail.conf.dist after etc-update."
-
- ewarn "This is a Development release. use at own risk."
-}
diff --git a/net-mail/dbmail/dbmail-2.3.3.ebuild b/net-mail/dbmail/dbmail-2.3.4.ebuild
index 75d217d2956f..81150eacda57 100644
--- a/net-mail/dbmail/dbmail-2.3.3.ebuild
+++ b/net-mail/dbmail/dbmail-2.3.4.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/dbmail/dbmail-2.3.3.ebuild,v 1.2 2008/10/11 23:07:47 eva Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-mail/dbmail/dbmail-2.3.4.ebuild,v 1.1 2008/12/01 12:38:03 lordvan Exp $
inherit eutils
@@ -38,6 +38,7 @@ pkg_setup() {
src_compile() {
use sqlite3 && myconf="--with-sqlite"
+ if !use postgres && !use mysql && !use sqlite3; then myconf="${myconf} --with-sqlite" ; fi
use ldap && myconf=${myconf}" --with-auth-ldap"
econf \