summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPacho Ramos <pacho@gentoo.org>2012-12-25 14:28:04 +0000
committerPacho Ramos <pacho@gentoo.org>2012-12-25 14:28:04 +0000
commit85cc566af4431714a402a1836598d7e4223f6356 (patch)
tree85d1784366c3e0a463e5589db4c71cf6c45d3b26 /net-mail
parentDrop reference to a package that is going to be treecleaned (#265581) (diff)
downloadhistorical-85cc566af4431714a402a1836598d7e4223f6356.tar.gz
historical-85cc566af4431714a402a1836598d7e4223f6356.tar.bz2
historical-85cc566af4431714a402a1836598d7e4223f6356.zip
Drop versions needing deprecated gmime:0
Package-Manager: portage-2.1.11.38/cvs/Linux x86_64 Manifest-Sign-Key: 0xA188FBD4
Diffstat (limited to 'net-mail')
-rw-r--r--net-mail/dbmail/ChangeLog6
-rw-r--r--net-mail/dbmail/Manifest20
-rw-r--r--net-mail/dbmail/dbmail-2.2.11.ebuild153
-rw-r--r--net-mail/dbmail/dbmail-2.2.15.ebuild154
-rw-r--r--net-mail/dbmail/dbmail-2.2.17.ebuild156
-rw-r--r--net-mail/dbmail/dbmail-2.2.9.ebuild109
6 files changed, 16 insertions, 582 deletions
diff --git a/net-mail/dbmail/ChangeLog b/net-mail/dbmail/ChangeLog
index b92744fe28c6..bfb7bdcb4047 100644
--- a/net-mail/dbmail/ChangeLog
+++ b/net-mail/dbmail/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for net-mail/dbmail
# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-mail/dbmail/ChangeLog,v 1.46 2012/12/04 11:10:35 ago Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-mail/dbmail/ChangeLog,v 1.47 2012/12/25 14:27:59 pacho Exp $
+
+ 25 Dec 2012; Pacho Ramos <pacho@gentoo.org> -dbmail-2.2.11.ebuild,
+ -dbmail-2.2.15.ebuild, -dbmail-2.2.17.ebuild, -dbmail-2.2.9.ebuild:
+ Drop versions needing deprecated gmime:0
04 Dec 2012; <ago@gentoo.org> dbmail-3.0.2.ebuild:
Stable for x86, wrt bug #439056
diff --git a/net-mail/dbmail/Manifest b/net-mail/dbmail/Manifest
index 1626870048bb..8c9c4567385f 100644
--- a/net-mail/dbmail/Manifest
+++ b/net-mail/dbmail/Manifest
@@ -1,16 +1,18 @@
+-----BEGIN PGP SIGNED MESSAGE-----
+Hash: SHA256
+
AUX dbmail-imapd.initd 730 SHA256 f8c16208f31495d2557e6ac101f1dd9f18636268511c889a0ad4dee0c56612da SHA512 f7841d64447630b771d4c3b0885d188d143959f00db1caf08ac4cd32d8610ad2b9221114f08bb456c9ad99529c66a52c5b2403c96ffe62549e28dc64ff9b6f7b WHIRLPOOL 9b9cb243d70e00f744e9bd4eeab887eb525643fe77cfe3e8c1f01c376edff165052f82965a7486d630d5fac22500641745a0e88b33303bc56e6780e351eaaba3
AUX dbmail-lmtpd.initd 730 SHA256 2aedd5fecc1ef28289c870030c31f8ecaded4f2651be355a40216262a8a4d4a3 SHA512 201161e87a5b14c4637c16bddd07ab2907d95a997b39bb4d40d6ad21d67588149d7d900d364ce7a28006e0fea2bf48ff11ceae83c05a292d80603ed9300e1357 WHIRLPOOL af80c16be5f3119a88871b007936c5cd3e2b4e9399b89eec832b13f587de48e563a0a024259fa463f514461b7f56693d4ced02e084c4954dbb5f0994f42bd1c3
AUX dbmail-pop3d.initd 730 SHA256 2b1ee1f7491e6fb94f0d9a6a1424ff3cba66b2880d6bc1d50f008da8be0a7c52 SHA512 b2df02acc6c941d195f8122ef79dc19b4b105f6cd7813969dc291a55350ae02a9cfaae16bc698da93d771a4b07aff5f6cda579b8ed597f41bba124ecdd4cc53d WHIRLPOOL 1000280545cdd50c5e90ba504a2d87f77b9fdae7db79fdba4fb4d7d745295d438893f1b7f5837af1976e3690a37defcf1f41543cd45ba744db061f1de094580b
AUX dbmail-timsieved.initd 716 SHA256 c92cd221b37391703ec7aaff2eb3b33ed2b9b699a281f318f54ba6efd6e69224 SHA512 04f66443573fde84d220a0d808f98295a8931990a0d7bad13c0c86bfe7b2d95c3311f7fdbc6b4068223601286c34e97cb17b0f5fbc28ca05991d0cdc13d250f5 WHIRLPOOL 8f3c2a53f084861f63db8056b4b2ac82fb9e2ef6e0cf519073368c6bf59b8e2026872af0c847011bd6ac237e94dc7ac280805a3200ec738a96c8dfc50e0bc238
-DIST dbmail-2.2.11.tar.gz 901705 SHA256 7d61ce32b5f1cbbc42fa39e3c1cc10659c524a7d3135555efe4b272064939148
-DIST dbmail-2.2.15.tar.gz 875592 SHA256 ca88e4a3bc1360b3621ffd8567103668a896ecb22102d3886ab5e59e7747217b SHA512 fc18a32f8b53c56ed28482d938ec69fdc5b4c3837283c30608f56ba0f3f88957362ecd804aebb72ff665ac98003bc867fdb617bfcdd4c3da861ed0119f8aeef5 WHIRLPOOL 1724e7ebcf6d99278140288161eb7db24b7b608f0dbc1ad89d32a0a47b55f540baca8e703195e458eb9a47758b34c56d327481f41a7d253b28378229c7b7aa6f
-DIST dbmail-2.2.17.tar.gz 896838 SHA256 11d457b0114047185aff4249afb6b91baf843b393e73ecbb147549960d7eaefd SHA512 c703e77210e067ce553bf0662ef3624e48e12001c48252ca95c47a0b2bbecc45bfb694ceec2746b5721e4570300e786071169122ba0398e148945fcba0a13839 WHIRLPOOL 60bfb7a93e23f29128a5dbb8faf719c8a13dc8b33544360087898ec4e3226b22ed0bd45d574f9ec0fb71a73af2cf61cdde2c7518e99c6544b74907045110407b
-DIST dbmail-2.2.9.tar.gz 900072 SHA256 f6a222b142f4aa05f8b458acda50022ec85c6ec46b78658a414d6e7055b2bb84
DIST dbmail-3.0.2.tar.gz 867560 SHA256 139558f4fa3e0f460d688f6d29318366cc3f40dd570a1a29484bb580d0190c3e SHA512 ca1d30a114c1b2b8968227ed678e3857c6d5cb98eb9e7086d45c32b4e957396971bd76cfe2e278fe904fbe8a8ded53199ded76da300d9835b324839e42532834 WHIRLPOOL a79d8b344361bd032446e99bbbb865e798db54e60a730cb7191112e4320ca130d194d8a1ad2d676673b2bb06e50e9cc1ccc78a8a1fc7edcb2a9b3eeeb7841500
-EBUILD dbmail-2.2.11.ebuild 4853 SHA256 2e0430c2bbd0b3ac57e63586d94c170102c3c0fa5a9719df4e32a964e8c7c0e5 SHA512 9fa5a26ac47a54e27a6fda2822909ca3c428d38c8ad65ab06ff35238fba507d19c610954f0a77cddfc195fa735d1dbf51055c8c9569efff05c579ae4d3723ac9 WHIRLPOOL 3ff4e7a3a073335bfab7d446c9946c80d61a83393e9665693e969d71a009bcd2f439368f0bc469fe496dda365ecc8f0e4a95a675ff72bdfb46a86a516470cb31
-EBUILD dbmail-2.2.15.ebuild 4867 SHA256 5e20e748506549806a9e59ce523ccb7093d6e14c667e29da1e79cee2b8a26583 SHA512 67bdafff58209c6e7730cf9b94f5797836401cb6ded89294b34780e89423b5b7413242a32eb6c830b12f1dcc2e120fb1418f949ea7738bcce518a60981345289 WHIRLPOOL fbe52cd26dc1277aaa8666771907cca3134504eeb5d935b588ec4e495270144103b9378425982284b4cd4d1184db2909e03c28042aa77e8dfc8379d37f8a202b
-EBUILD dbmail-2.2.17.ebuild 4891 SHA256 773ec0ce1003d0a9dc9ae62fea5e51c2c750520646c4857127e28848501f6e2f SHA512 269a042c960ab9a543536a87cafd54eeff07f3f41c079b8b5321e501c53eb52dd22a1a585bb068e0df816a717c509e764206e63b6f8ac50793750de2ae3c1cb8 WHIRLPOOL 7323dc530176e818e476c09f304e8acd0b9ab5ca19d07a5870cfc699b1c3c8e7a48118fe82c1b16c9e84dead073f98e0890ac7c644ed26a0f83b9cb1e3471cbc
-EBUILD dbmail-2.2.9.ebuild 3561 SHA256 d3c8047d118921d089ac344dee4e9a6ea1e7544752cd13b81774260d373ac62c SHA512 5a789bb1de8a0654cc703249999232ff7ed88b6d77c7694cfa0cc744e2bd3b5995562262f8cedee364193718e4954997993005dbea18221eea47ea5eff5d8d41 WHIRLPOOL c761b38c8993ebc2be75e532bd74aea507953c6c464c34b2fa878b4aaa662a300b2cbde6f51eb8576dc90af0380ad1eb8e0dbd8fc73e77559fd71309d9423504
EBUILD dbmail-3.0.2.ebuild 4903 SHA256 08defb1c201903f5b3d8cd9a3359c45779675d07be9a7b5da5bda9546de71f5b SHA512 0655957a2aaa3b0e61dc7c43c5100e5b340b571d829a3b49a5c7b429bad63ae4681a3970dbc776868f73227d63e4169ac841a82da8de6d9e7c0991dd4482e2a3 WHIRLPOOL ab2d47cf9be98b7678c2f51bdcc94e8ed628f8455dd5a600520367f08f73e6d5a0919c0e9690e24dd3eed907c9b2fef7e73543c7e45cf4298c9481529826e505
-MISC ChangeLog 9165 SHA256 2d43dbff76cacfbd30c2da099307dd8f7988a38e9b5214862565a01cbd7df88e SHA512 390785500c0bf05340d12d7bec003db6989c0beb772c8a79a257bdd617242b450e65b905e2fef5aa8885a478e3f3d256fe9986e5a75e5c7a044cf119550411e6 WHIRLPOOL 982d4012b243e4edb5858a4d85091c2038b258af83b1c8bfd0464c927c70c9de6abc76ba10932a0bce40f70267ea8afb18cf3a3bb5daa605d88b91bbb5683ec1
+MISC ChangeLog 9350 SHA256 6427d4471343f3c36f0cfc0ce3d65b239eaa376aed2b65315e674cfefeaab223 SHA512 07646bc0325b4140e1107e6a848b780dc0add64edaea675ae04434ad465d152c8def89033faca36f10d444cd16497bb20d794b0f5d345a2a489d9161a52aa002 WHIRLPOOL b3a53958caa8001906b7fbc9c0e286cd28a464ab3e952f1fa3ef34ba74d65aae433be19864e9b7902f106c96022e4324fd34a524e8d1f6fa0a8a9064046ec3fd
MISC metadata.xml 580 SHA256 8a14856cce888d8658e3ea9388e18a9b6892c6e00fd478c1afd4c5f496dccc14 SHA512 4533cb22ee9b8cec8565bde5ebbcb7ac1f9bbbac49cb38af370e3e6325a6a7a31d04adb301ccf23c53c0478bf692466a9599c8bf8ed2715be9a3d28741f6f6f7 WHIRLPOOL c920b009c23cfedf06ecf9814de3e71314153c8879b14891e2f39580cffa100f8544684d60d7802558f383778900f914598bb9ee9cd0b52f839ff4c7bad566b6
+-----BEGIN PGP SIGNATURE-----
+Version: GnuPG v2.0.19 (GNU/Linux)
+
+iEYEAREIAAYFAlDZt/EACgkQCaWpQKGI+9TG7ACfTUaS0g/dHPCA5CK27iLqoVVu
+zoMAn2WrM6c1tU4HnPA3GRlFMPaGo/yu
+=nJni
+-----END PGP SIGNATURE-----
diff --git a/net-mail/dbmail/dbmail-2.2.11.ebuild b/net-mail/dbmail/dbmail-2.2.11.ebuild
deleted file mode 100644
index 108a5dbdf9b2..000000000000
--- a/net-mail/dbmail/dbmail-2.2.11.ebuild
+++ /dev/null
@@ -1,153 +0,0 @@
-# Copyright 1999-2010 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.ebuild,v 1.7 2010/06/17 21:53:54 patrick Exp $
-
-inherit eutils multilib python
-
-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 sqlite ssl static python"
-
-DEPEND="ssl? ( dev-libs/openssl )
- postgres? ( dev-db/postgresql-server )
- mysql? ( >=virtual/mysql-4.1 )
- sqlite? ( >=dev-db/sqlite-3.0 )
- !mysql? ( !postgres? ( !sqlite? ( >=dev-db/sqlite-3.0 ) ) )
- sieve? ( >=mail-filter/libsieve-2.2.1 )
- ldap? ( >=net-nds/openldap-2.3.33 )
- python? ( net-zope/zope-interface )
- 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 sqlite && myconf="--with-sqlite"
- if ! use postgres && ! use mysql && ! use sqlite; then myconf="${myconf} --with-sqlite" ; fi
- 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 ChangeLog README* INSTALL NEWS THANKS UPGRADING VERSION
-
- docinto sql/mysql
- dodoc sql/mysql/*
- docinto sql/postgresql
- dodoc sql/postgresql/*
- docinto sql/sqlite
- dodoc sql/sqlite/*
- docinto test-scripts
- dodoc test-scripts/*
- docinto contrib/sql2sql
- dodoc contrib/sql2sql
- docinto contrib/mailbox2dbmail
- dodoc contrib/mailbox2dbmail
- docinto contrib
- dodoc contrib/quota_warn.pl
-
- 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
-
- # change config path to our default and use the conf.d and init.d files from the contrib dir
- sed -i -e "s:/etc/dbmail.conf:/etc/dbmail/dbmail.conf:" contrib/startup-scripts/gentoo/init.d-dbmail
- newconfd contrib/startup-scripts/gentoo/conf.d-dbmail dbmail
- newinitd contrib/startup-scripts/gentoo/init.d-dbmail dbmail
-
- dobin contrib/mailbox2dbmail/mailbox2dbmail
- doman contrib/mailbox2dbmail/mailbox2dbmail.1
-
- # ldap schema
- if use ldap; then
- insinto /etc/openldap/schema
- doins "${S}/dbmail.schema"
- fi
-
- if use python; then
- insinto $(python_get_sitedir)/dbmail
- doins python/*.py
- insinto $(python_get_sitedir)/dbmail/app
- doins python/app/*.py
- insinto $(python_get_sitedir)/dbmail/bin
- doins python/bin/*.py
- insinto $(python_get_sitedir)/dbmail/lib
- doins python/lib/*.py
- insinto $(python_get_sitedir)/dbmail/tests
- doins python/tests/*.py
- fi
-
- keepdir /var/lib/dbmail
- fperms 750 /var/lib/dbmail
-
-}
-
-pkg_postinst() {
- if use python; then
- python_mod_optimize $(python_get_sitedir)/dbmail
- fi
- elog "Please read the INSTALL file in /usr/share/doc/${PF}/"
- 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 SQLite, PostgreSQL or MySQL."
- elog "If none of the use-flags are specified SQLite 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."
- echo
- elog "We are now using the init script from upstream."
- elog "Please edit /etc/conf.d/dbmail to set which services to start"
- elog "and delete /etc/init.d/dbmail-* when you are done. (don't"
- elog "forget to rc-update del dbmail-* first)"
-}
-
-pkg_postrm() {
- python_mod_cleanup $(python_get_sitedir)/dbmail
-}
diff --git a/net-mail/dbmail/dbmail-2.2.15.ebuild b/net-mail/dbmail/dbmail-2.2.15.ebuild
deleted file mode 100644
index 12fd2afe9ef0..000000000000
--- a/net-mail/dbmail/dbmail-2.2.15.ebuild
+++ /dev/null
@@ -1,154 +0,0 @@
-# Copyright 1999-2010 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-mail/dbmail/dbmail-2.2.15.ebuild,v 1.3 2010/06/17 21:53:54 patrick Exp $
-
-EAPI="1"
-inherit eutils multilib python
-
-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 sqlite ssl static python"
-
-DEPEND="ssl? ( dev-libs/openssl )
- postgres? ( dev-db/postgresql-server )
- mysql? ( >=virtual/mysql-4.1 )
- sqlite? ( >=dev-db/sqlite-3.0 )
- !mysql? ( !postgres? ( !sqlite? ( >=dev-db/sqlite-3.0 ) ) )
- sieve? ( >=mail-filter/libsieve-2.2.1 )
- ldap? ( >=net-nds/openldap-2.3.33 )
- python? ( net-zope/zope-interface )
- app-text/asciidoc
- app-text/xmlto
- sys-libs/zlib
- >=dev-libs/gmime-2.2.10:0
- >=dev-libs/glib-2.8"
-
-S=${WORKDIR}/${P/_/-}
-
-pkg_setup() {
- enewgroup dbmail
- enewuser dbmail -1 -1 /var/lib/dbmail dbmail
-}
-
-src_compile() {
- use sqlite && myconf="--with-sqlite"
- if ! use postgres && ! use mysql && ! use sqlite; then myconf="${myconf} --with-sqlite" ; fi
- 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 ChangeLog README* INSTALL NEWS THANKS UPGRADING VERSION
-
- docinto sql/mysql
- dodoc sql/mysql/*
- docinto sql/postgresql
- dodoc sql/postgresql/*
- docinto sql/sqlite
- dodoc sql/sqlite/*
- docinto test-scripts
- dodoc test-scripts/*
- docinto contrib/sql2sql
- dodoc contrib/sql2sql
- docinto contrib/mailbox2dbmail
- dodoc contrib/mailbox2dbmail
- docinto contrib
- dodoc contrib/quota_warn.pl
-
- 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
-
- # change config path to our default and use the conf.d and init.d files from the contrib dir
- sed -i -e "s:/etc/dbmail.conf:/etc/dbmail/dbmail.conf:" contrib/startup-scripts/gentoo/init.d-dbmail
- newconfd contrib/startup-scripts/gentoo/conf.d-dbmail dbmail
- newinitd contrib/startup-scripts/gentoo/init.d-dbmail dbmail
-
- dobin contrib/mailbox2dbmail/mailbox2dbmail
- doman contrib/mailbox2dbmail/mailbox2dbmail.1
-
- # ldap schema
- if use ldap; then
- insinto /etc/openldap/schema
- doins "${S}/dbmail.schema"
- fi
-
- if use python; then
- insinto $(python_get_sitedir)/dbmail
- doins python/*.py
- insinto $(python_get_sitedir)/dbmail/app
- doins python/app/*.py
- insinto $(python_get_sitedir)/dbmail/bin
- doins python/bin/*.py
- insinto $(python_get_sitedir)/dbmail/lib
- doins python/lib/*.py
- insinto $(python_get_sitedir)/dbmail/tests
- doins python/tests/*.py
- fi
-
- keepdir /var/lib/dbmail
- fperms 750 /var/lib/dbmail
-
-}
-
-pkg_postinst() {
- if use python; then
- python_mod_optimize $(python_get_sitedir)/dbmail
- fi
- elog "Please read the INSTALL file in /usr/share/doc/${PF}/"
- 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 SQLite, PostgreSQL or MySQL."
- elog "If none of the use-flags are specified SQLite 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."
- echo
- elog "We are now using the init script from upstream."
- elog "Please edit /etc/conf.d/dbmail to set which services to start"
- elog "and delete /etc/init.d/dbmail-* when you are done. (don't"
- elog "forget to rc-update del dbmail-* first)"
-}
-
-pkg_postrm() {
- python_mod_cleanup $(python_get_sitedir)/dbmail
-}
diff --git a/net-mail/dbmail/dbmail-2.2.17.ebuild b/net-mail/dbmail/dbmail-2.2.17.ebuild
deleted file mode 100644
index 7accdaec3bf3..000000000000
--- a/net-mail/dbmail/dbmail-2.2.17.ebuild
+++ /dev/null
@@ -1,156 +0,0 @@
-# Copyright 1999-2012 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-mail/dbmail/dbmail-2.2.17.ebuild,v 1.4 2012/09/07 12:37:47 lordvan Exp $
-
-EAPI="2"
-inherit eutils multilib python
-
-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/${P}.tar.gz"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="amd64 x86"
-IUSE="ldap mysql postgres sieve +sqlite static python"
-
-DEPEND="postgres? ( dev-db/postgresql-server )
- mysql? ( >=virtual/mysql-4.1 )
- sqlite? ( >=dev-db/sqlite-3.0 )
- sieve? ( >=mail-filter/libsieve-2.2.1 )
- ldap? ( >=net-nds/openldap-2.3.33 )
- python? ( net-zope/zope-interface )
- app-text/asciidoc
- app-text/xmlto
- sys-libs/zlib
- >=dev-libs/gmime-2.2.10:0
- >=dev-libs/glib-2.8"
-RDEPEND="${DEPEND}"
-
-pkg_setup() {
- enewgroup dbmail
- enewuser dbmail -1 -1 /var/lib/dbmail dbmail
- if ! use postgres && ! use mysql && ! use sqlite; then
- ewarn "No database backend selected. Sqlite will be turned on..."
- fi
-}
-
-src_configure() {
- local myconf=""
- if ! use postgres && ! use mysql && ! use sqlite; then
- myconf="${myconf} --with-sqlite"
- fi
- use ldap && myconf=${myconf}" --with-auth-ldap"
-
- econf \
- --sysconfdir=/etc/dbmail \
- $(use_enable static) \
- $(use_with sieve) \
- $(use_with postgres pgsql) \
- $(use_with mysql) \
- $(use_with sqlite) \
- ${myconf}
-}
-
-src_compile() {
- emake || die "emake failed"
-}
-
-src_install() {
- emake DESTDIR="${D}" install || die "emake install failed"
-
- dodoc AUTHORS BUGS ChangeLog README* INSTALL NEWS THANKS UPGRADING VERSION
-
- docinto sql/mysql
- dodoc sql/mysql/*
- docinto sql/postgresql
- dodoc sql/postgresql/*
- docinto sql/sqlite
- dodoc sql/sqlite/*
- docinto test-scripts
- dodoc test-scripts/*
- docinto contrib/sql2sql
- dodoc contrib/sql2sql/*
- docinto contrib/mailbox2dbmail
- dodoc contrib/mailbox2dbmail/README
- docinto contrib
- dodoc contrib/quota_warn.pl
-
- 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
-
- # change config path to our default and use the conf.d and init.d files from the contrib dir
- sed -i -e "s:/etc/dbmail.conf:/etc/dbmail/dbmail.conf:" contrib/startup-scripts/gentoo/init.d-dbmail
- sed -i -e "s:exit 0:return 1:" contrib/startup-scripts/gentoo/init.d-dbmail
- newconfd contrib/startup-scripts/gentoo/conf.d-dbmail dbmail
- newinitd contrib/startup-scripts/gentoo/init.d-dbmail dbmail
-
- dobin contrib/mailbox2dbmail/mailbox2dbmail
- doman contrib/mailbox2dbmail/mailbox2dbmail.1
- doman man/*.{1,5,8}
-
- # ldap schema
- if use ldap; then
- insinto /etc/openldap/schema
- doins "${S}/dbmail.schema"
- fi
-
- if use python; then
- insinto $(python_get_sitedir)/dbmail
- doins python/*.py
- insinto $(python_get_sitedir)/dbmail/app
- doins python/app/*.py
- insinto $(python_get_sitedir)/dbmail/bin
- doins python/bin/*.py
- insinto $(python_get_sitedir)/dbmail/lib
- doins python/lib/*.py
- insinto $(python_get_sitedir)/dbmail/tests
- doins python/tests/*.py
- fi
-
- keepdir /var/lib/dbmail
- fperms 750 /var/lib/dbmail
-}
-
-pkg_postinst() {
- if use python; then
- python_mod_optimize $(python_get_sitedir)/dbmail
- fi
- elog "Please read the INSTALL file in /usr/share/doc/${PF}/"
- 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 SQLite, PostgreSQL or MySQL."
- elog "If none of the use-flags are specified SQLite 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."
- echo
- elog "We are now using the init script from upstream."
- elog "Please edit /etc/conf.d/dbmail to set which services to start"
- elog "and delete /etc/init.d/dbmail-* when you are done. (don't"
- elog "forget to rc-update del dbmail-* first)"
-}
-
-pkg_postrm() {
- python_mod_cleanup $(python_get_sitedir)/dbmail
-}
diff --git a/net-mail/dbmail/dbmail-2.2.9.ebuild b/net-mail/dbmail/dbmail-2.2.9.ebuild
deleted file mode 100644
index a76a115f5ca2..000000000000
--- a/net-mail/dbmail/dbmail-2.2.9.ebuild
+++ /dev/null
@@ -1,109 +0,0 @@
-# Copyright 1999-2010 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.11 2010/06/17 21:53:54 patrick 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 sqlite ssl static"
-
-DEPEND="ssl? ( dev-libs/openssl )
- postgres? ( dev-db/postgresql-server )
- mysql? ( >=virtual/mysql-4.1 )
- sqlite? ( >=dev-db/sqlite-3.0 )
- !mysql? ( !postgres? ( !sqlite? ( >=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 sqlite && myconf="--with-sqlite"
- if ! use postgres && ! use mysql && ! use sqlite; then myconf="${myconf} --with-sqlite" ; fi
- 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 the INSTALL file in /usr/share/doc/${PF}/"
- 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 SQLite, PostgreSQL or MySQL."
- elog "If none of the use-flags are specified SQLite 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."
-}