summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Raschbacher <lordvan@gentoo.org>2008-05-05 17:57:11 +0000
committerThomas Raschbacher <lordvan@gentoo.org>2008-05-05 17:57:11 +0000
commit9d6b7231de10018bc9129c50bbe55cc5cc54b882 (patch)
treeff1d8f88f79c76fd7bfe1069cb4539b525004506 /net-mail/dbmail
parentRemove unneeded quotation marks (bug #210029, comment #30). (diff)
downloadhistorical-9d6b7231de10018bc9129c50bbe55cc5cc54b882.tar.gz
historical-9d6b7231de10018bc9129c50bbe55cc5cc54b882.tar.bz2
historical-9d6b7231de10018bc9129c50bbe55cc5cc54b882.zip
added 2.2.10 fixes bug #218136.
Package-Manager: portage-2.1.4.4
Diffstat (limited to 'net-mail/dbmail')
-rw-r--r--net-mail/dbmail/ChangeLog9
-rw-r--r--net-mail/dbmail/Manifest14
-rw-r--r--net-mail/dbmail/dbmail-2.2.10.ebuild108
3 files changed, 119 insertions, 12 deletions
diff --git a/net-mail/dbmail/ChangeLog b/net-mail/dbmail/ChangeLog
index 3c93067de7a9..a8118870dae9 100644
--- a/net-mail/dbmail/ChangeLog
+++ b/net-mail/dbmail/ChangeLog
@@ -1,6 +1,13 @@
# 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.26 2008/04/17 21:45:54 maekke Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-mail/dbmail/ChangeLog,v 1.27 2008/05/05 17:57:11 lordvan Exp $
+
+*dbmail-2.2.10 (05 May 2008)
+
+ 05 May 2008; Thomas Raschbacher <lordvan@gentoo.org>
+ +dbmail-2.2.10.ebuild:
+ added 2.2.10 fixes bug #218136.
+ Thanks to svrmarty <svrmarty@gmx.net> for pointing this out
17 Apr 2008; Markus Meier <maekke@gentoo.org> dbmail-2.2.9.ebuild:
amd64/x86 stable, security bug #218154
diff --git a/net-mail/dbmail/Manifest b/net-mail/dbmail/Manifest
index 19c7edea040f..9fbb9090b03e 100644
--- a/net-mail/dbmail/Manifest
+++ b/net-mail/dbmail/Manifest
@@ -1,24 +1,16 @@
------BEGIN PGP SIGNED MESSAGE-----
-Hash: SHA1
-
AUX dbmail-imapd.initd 730 RMD160 c6da3a0cda2e767853c0c3239287dd347bed6ccc SHA1 37679fabcf02e277d660fe57a41b9b54d7de963e SHA256 f8c16208f31495d2557e6ac101f1dd9f18636268511c889a0ad4dee0c56612da
AUX dbmail-lmtpd.initd 730 RMD160 c0d1d8dee950e7e30deddd5df9772881154430db SHA1 60a1a2e8828cfbb3ef48e38a472f4ddc01c3cfb1 SHA256 2aedd5fecc1ef28289c870030c31f8ecaded4f2651be355a40216262a8a4d4a3
AUX dbmail-pop3d.initd 730 RMD160 f8376e0dfa1a721cd4d99b3797f92c4c30285fd8 SHA1 35c6b6e2f40e42b61e3add7f4f4d5f231904c851 SHA256 2b1ee1f7491e6fb94f0d9a6a1424ff3cba66b2880d6bc1d50f008da8be0a7c52
AUX dbmail-timsieved.initd 744 RMD160 0b733fba999532536b07a9ec5b572c362ed96f08 SHA1 5076a33925b43898e6f12cdc1c73e76fa406d6b8 SHA256 572358fcddea2981f29cd267c55e6de8e840f5442bcc8520ad40edfaed71577d
+DIST dbmail-2.2.10.tar.gz 900636 RMD160 64eaa94824fe27f485de7bb8578c8656c4417e22 SHA1 421c39e49669677a4876f4faf57bbec14b4cd348 SHA256 f890167073498d87ea0ce374af2cf0498cfd7aa1af7aeb330726d1910de951b6
DIST dbmail-2.2.7.tar.gz 895586 RMD160 aac1d5a7d049b7384455b37e8380d4e57eae5164 SHA1 15d3bbd945ee09fdc36da6f988f2b4723bd1cc28 SHA256 9e2ab6d45eb841fc08b8d38a1a08fb95b3fdeae3fbc00c50b8acba624ff565e6
DIST dbmail-2.2.8.tar.gz 898224 RMD160 ad740224581ee753354a629514ef09c42b06adaa SHA1 83927a431d8c7da47ab004ea4839dfe432095fab SHA256 d23649a9ccea9086943000fe7a74cead38544a2d19e721995772dcc57a4f5aeb
DIST dbmail-2.2.9.tar.gz 900072 RMD160 f4b2f29d6890556c85a2b801737e8a5aa0642490 SHA1 c7ea4bb1de94794493f2f157b292cb8fb6084354 SHA256 f6a222b142f4aa05f8b458acda50022ec85c6ec46b78658a414d6e7055b2bb84
DIST dbmail-2.3.2.tar.gz 921616 RMD160 491008d66f9431ea66d2a79eb8fbf4215187adb3 SHA1 61578397f4a90f4f1d4bdc5c5a0574d36db96c49 SHA256 38739e32e209d30c8c4efdde4a7737d4c40fb36dd30b0e2dfd65993843b39fcb
+EBUILD dbmail-2.2.10.ebuild 3467 RMD160 c679e89fa5610ff780439f1ac5b7b0f961a2be0b SHA1 0214422ead2f236e2f4ff0444937431e30831c39 SHA256 236044b54f27077daf79010d11e39d786971e9cf6433e6258b0fac2a2c130461
EBUILD dbmail-2.2.7.ebuild 3469 RMD160 60c4c2e9e14308296980e805460c5557324d69ba SHA1 2f6e3cf87f57aca64ff457708c31741f053a79f0 SHA256 d1fe75ade7343c9bd21aaef64fabd434437c93df29841ee96ba358efafa6df99
EBUILD dbmail-2.2.8.ebuild 3463 RMD160 ed3852791e622e1f7dbfbe87bcc960d4d21e6613 SHA1 150b3b92e47dee1ed7b826c60d5110527234dffd SHA256 d24818597b49956cf19034f0e59004e5bb296fd879df46f1034dc05e08e4f371
EBUILD dbmail-2.2.9.ebuild 3463 RMD160 2acac93c76a9e3b78edc876fb0d2622fd9cb5a3d SHA1 f55dd8c65d5cb0c3b6f99a32077bfd26c429f117 SHA256 cc59528c63b10978a2428a93ef6aeecdcce3a13abecde70b463ef8774ad3fac8
EBUILD dbmail-2.3.2.ebuild 3494 RMD160 1191b38ab86d0f6debd89ce0fc5d76706b021c4b SHA1 abb16193639e9377014a60c855f7f4555981ebae SHA256 ed89d15d17eadcf01a254f405c348a05b2280d49e1cc7063e9ee1b62c5fb661c
-MISC ChangeLog 4872 RMD160 360534cd0c433bee186e63a08f2ebeff8088b87d SHA1 3e3f74aaf9350b8bc448290204dafd2623dad422 SHA256 11e375eb7b7e9d7c0ed10e29a49e7d593960805c8e6ce31d791ff1c6d0bbd916
+MISC ChangeLog 5081 RMD160 12a3668c6ec42328e90d387f109f6b433059a00e SHA1 a2cc83f9431ab486a075edc2f7a6debf01141975 SHA256 aea59c915732ea2845eb006c0e96d98058988494b853a4af835f16a1cb4c92a5
MISC metadata.xml 491 RMD160 7c82ebc22fb7f11153131770cb2da0c631e15166 SHA1 adbd2335fd20c417175644e3218d9f7d69a015c5 SHA256 970aa28bc8d7f62212d3e1fee873b8353cc5240d9d2233c9397492fb714f29eb
------BEGIN PGP SIGNATURE-----
-Version: GnuPG v2.0.9 (GNU/Linux)
-
-iEYEARECAAYFAkgHxTYACgkQkKaRLQcq0GJ7EgCfapA0INZqCb77pM2Jprbn/xe1
-+BcAn07+8vIYEPO3pGIze+J8iMgo87rw
-=PWUb
------END PGP SIGNATURE-----
diff --git a/net-mail/dbmail/dbmail-2.2.10.ebuild b/net-mail/dbmail/dbmail-2.2.10.ebuild
new file mode 100644
index 000000000000..351207fbf1fc
--- /dev/null
+++ b/net-mail/dbmail/dbmail-2.2.10.ebuild
@@ -0,0 +1,108 @@
+# 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.1 2008/05/05 17:57:11 lordvan 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? ( >=dev-db/postgresql-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.1.18
+ >=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."
+}