summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'net-mail')
-rw-r--r--net-mail/dbmail/ChangeLog7
-rw-r--r--net-mail/dbmail/Manifest24
-rw-r--r--net-mail/dbmail/dbmail-3.1.11.ebuild129
3 files changed, 138 insertions, 22 deletions
diff --git a/net-mail/dbmail/ChangeLog b/net-mail/dbmail/ChangeLog
index 00a43f07b064..04a770d96b20 100644
--- a/net-mail/dbmail/ChangeLog
+++ b/net-mail/dbmail/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for net-mail/dbmail
# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-mail/dbmail/ChangeLog,v 1.57 2014/02/24 00:40:03 phajdan.jr Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-mail/dbmail/ChangeLog,v 1.58 2014/02/27 12:19:57 lordvan Exp $
+
+*dbmail-3.1.11 (27 Feb 2014)
+
+ 27 Feb 2014; Thomas Raschbacher <lordvan@gentoo.org> +dbmail-3.1.11.ebuild:
+ version bump
23 Feb 2014; Pawel Hajdan jr <phajdan.jr@gentoo.org> dbmail-3.1.9.ebuild:
x86 stable wrt bug #498954
diff --git a/net-mail/dbmail/Manifest b/net-mail/dbmail/Manifest
index f83c8fc216a0..6b00371622c5 100644
--- a/net-mail/dbmail/Manifest
+++ b/net-mail/dbmail/Manifest
@@ -1,32 +1,14 @@
------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-3.0.2.tar.gz 867560 SHA256 139558f4fa3e0f460d688f6d29318366cc3f40dd570a1a29484bb580d0190c3e SHA512 ca1d30a114c1b2b8968227ed678e3857c6d5cb98eb9e7086d45c32b4e957396971bd76cfe2e278fe904fbe8a8ded53199ded76da300d9835b324839e42532834 WHIRLPOOL a79d8b344361bd032446e99bbbb865e798db54e60a730cb7191112e4320ca130d194d8a1ad2d676673b2bb06e50e9cc1ccc78a8a1fc7edcb2a9b3eeeb7841500
DIST dbmail-3.1.10.tar.gz 2397512 SHA256 7a5b82eb8feb45faf215bebee7fb648092e5eaa71b2d5acd5826ca36d8e63f4f SHA512 d90964f61058435b65be38ba4e04a45a9751eb5e294f983e8f215f9361e542d0e7af464a977e8eac6e0b9ef5380106f5ab0ed5c94125ea9bd7a7d31791e5a09e WHIRLPOOL 3b878fe4a82eacb24bcdbd795146812d6d56960a686a12e168164514fe4e68314d1e0c0de6f434e2d8d98f8ef8910d1679b214a7fbb501bb440a34e843e3b3d0
+DIST dbmail-3.1.11.tar.gz 2399545 SHA256 8c1b11f604447944ec23985a1ff30869a2cf58fb918f47d53bd7db4c610856d7 SHA512 bff44b18b6453716f30a486a606319c8c371677ba45bbd93df99945b877ae4635e5300851641af2e223a3246308a637054b4f3c49b0fb27c601dbbd341d34fc6 WHIRLPOOL 70bc3a22b3b104a4d6aad058b71cc5de27479a74c9b0cffdd86c64a9790b114748bb4ea6dfc6e573f829e81c80ea1087b8327b09cdf1723ee18e09850eca01cb
DIST dbmail-3.1.9.tar.gz 2397293 SHA256 665f42700654aae767d24647dde284a4df7aec1702a00d1122d55b3f9f4318dd SHA512 99b0c915256a1849fe41963e8ce64905e9a4533fa8821a98c2bc3ad0824b6417f370fe7c2411721480a93631db67be08e558b5282a29c3cb04a69ac358ab4775 WHIRLPOOL 2732a92b880440e4c98f6b305e8fd6b399bdaac097d284f4e69c493844977b558f6f06723f69ec0bdd5339784ce6feb58b17538eac877c2726d581e2c3931ee4
EBUILD dbmail-3.0.2.ebuild 4911 SHA256 370222620c4674b6788295aae68c3418d5a703d22b550ecad4ac2968852ab5cd SHA512 f375a440feaa842499da6c1abb2e820e892333f1a912e41b1f969575bca1dacdf6aa8def389a5554af021a787e6cd04a00d195b6aecde7f7675eadaa6821cb70 WHIRLPOOL ce522bec13b2d8eab1452d66f91743eef828bcc523fa2a07f8b950dfed5db716a271fc3cc7f065a96ed60f6f2ba8cce593c5822dc276ee29837ab3857c2188ef
EBUILD dbmail-3.1.10.ebuild 4246 SHA256 a0f091ecc6287da0b065cea33e6a3181dd314b007dcf0f3feb8a61a3eef9bc22 SHA512 e08377f7d2ea560bbc777fca763c4945fbb7de98d9a0c03c5e8e929490679cf4bebd4d29b9f446deb504956c5a659990f46f5ab4642474444f985d224e863d82 WHIRLPOOL 5bec4611a0ca6d114d581016c3d18b754eeb1fc7edc5aeabdb523375ddf3c90f7895d18e0c3b86d488b81dc73382b9ba55582b673c4f57af4432a2fd820129aa
+EBUILD dbmail-3.1.11.ebuild 4246 SHA256 0043bbab8e7bb87de63d40186e20b3c4cd7d6a1879ccaf1dd483357a42e7d789 SHA512 5dc77b5b9280514e43864cd6f20c3bcc250c0d6303c68882aece39efff03c0522a590cc712996b0b368b9470a073a1f540a3831d3f2bdb4f4771d9a258f261fa WHIRLPOOL 45a14bf69e4bc552fdd980393f3ad5fbef037d5d04682f6ac4e4d6a66631ae902a9a92af48c4deab83e0e065bf8f0427825de66382d2868134d3e4b6f4db7c3f
EBUILD dbmail-3.1.9.ebuild 4247 SHA256 016c83d7a87ae53b22d4d7a4960b28786e92db334d001c3901b8cfd66c48e554 SHA512 d31229e9fad6fea511c8c7bb12dcfe24a10643b85960d6c001241f3a172756fe58a731ee3e2a62d396f3d556b6069d48cea125b661010abf79af944bf19e413b WHIRLPOOL c238e93d74dec75a6b34137e9b92d2b5f183464931adec7850b3533684de1a22bbb64b56bf83f652a036ea55d2c2e8e64f5344269554f9b8c980a49279e91e3c
-MISC ChangeLog 10742 SHA256 262f1440363db27c6f3ea47f3631af534b1ace4b6378a88a80439ee561255d1b SHA512 a2f05e9b948caa5934760ffec1a6f592f548367c8730a221bd87774b5adcbdeca0959ce027ec52f667bdf978a67a9df17a833eb14a7c232bb2868b50403a8e6e WHIRLPOOL 46e5f66254ee6c2917da72877b58a257b8b52179c68e5d96d4e9c617473e6c154aea108e5b3c06c02f387d2c73c34c207bc1552efa12c08bde85eedf33846cd3
+MISC ChangeLog 10863 SHA256 1e5fe81e17faabb496a5bed2fbb5f1936e34b4e988870f154d4861bc91506b29 SHA512 690378ffb57d23a75dc98e75a96110e9baf7dea1d7e09a5e925c0bb9b9ccc712e6a02713149e8f85e0228c5c7d045e23143e5645750c29d6da24c66d41b1f5aa WHIRLPOOL d0ab76ed98586738e53fed8d2a675d47a953537d21b2e869f667cab325ca07eb5557e2f60acd05dffedc17b910282269ccc88a9a2165c711645718d3ceaf98db
MISC metadata.xml 580 SHA256 8a14856cce888d8658e3ea9388e18a9b6892c6e00fd478c1afd4c5f496dccc14 SHA512 4533cb22ee9b8cec8565bde5ebbcb7ac1f9bbbac49cb38af370e3e6325a6a7a31d04adb301ccf23c53c0478bf692466a9599c8bf8ed2715be9a3d28741f6f6f7 WHIRLPOOL c920b009c23cfedf06ecf9814de3e71314153c8879b14891e2f39580cffa100f8544684d60d7802558f383778900f914598bb9ee9cd0b52f839ff4c7bad566b6
------BEGIN PGP SIGNATURE-----
-Version: GnuPG v2.0.22 (GNU/Linux)
-
-iQIcBAEBCAAGBQJTCobZAAoJEE8aJVXqcZkdj7MP/2m3L77BHmCuJ5FU6zNZtlah
-s4ZC90GFkOhXCYupf+k7027VCuUC62R+fXHycESess1D8CQx5UdlQAS/Llr4ApxA
-PgMKRomakHetFQ135PX4jNatXqSPs9LCuIGmiUdkbpdcnxz90I9/lknfITZyBwM2
-JyCMji8/auvr0lgTkK3OIbjpPYgooXWqQf+/jdTAZNqLffZz11GjIIDjkuj5fS9S
-R+I/gh5dN2OFsw9aEHfMhvnKjui4h5pW+CnW9y+tsViZ/T0NqYlikF9UqRTPHr5R
-K7O24saweF9Uzt2z56csmA/rPsV27kxY34ExgUL/MUig9c2o1wsCNgr26CMy73vx
-ahbyjNCEm1lwZWjtU5qlXHdFFl7omrtmz4wPhZqktFkRfnkYaxFO6Dn1+t/gMbT/
-TvqqayM0DBhXQ1yyPypsHNBEwYHf/7OKpF2my3jGVlSfGBWpVSiWFZfpqCBAKwNM
-/q3OrKULYb/9ZMklxhiZkuFsKxZysP7Sa0xW3klBaNXLDnLfQjX2XJiaWUEhkav/
-+lPu8x3/Q352NUhjIaM2XMCiweAjpbBzGoclldqe3Qyvl1lWgd24WXHJxHHMIWGt
-X8gBqOMy4B/kzeHomYveZ2rsgYhJ8KpbMOiBk324ekOm2yrD1MnlDNDHaDE4jXv1
-/ejVdzEByf5AbALGA3dU
-=Zk2h
------END PGP SIGNATURE-----
diff --git a/net-mail/dbmail/dbmail-3.1.11.ebuild b/net-mail/dbmail/dbmail-3.1.11.ebuild
new file mode 100644
index 000000000000..cf354d430623
--- /dev/null
+++ b/net-mail/dbmail/dbmail-3.1.11.ebuild
@@ -0,0 +1,129 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-mail/dbmail/dbmail-3.1.11.ebuild,v 1.1 2014/02/27 12:19:57 lordvan Exp $
+
+EAPI="4"
+inherit eutils multilib versionator user
+
+DESCRIPTION="DBMail is an open-source project that enables storage of mail messages in a relational database."
+HOMEPAGE="http://www.dbmail.org/"
+SRC_URI="http://www.dbmail.org/download/$(get_version_component_range 1-2)/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="ldap sieve +sqlite ssl static"
+
+DEPEND="dev-db/libzdb
+ sieve? ( >=mail-filter/libsieve-2.2.1 )
+ ldap? ( >=net-nds/openldap-2.3.33 )
+ app-text/asciidoc
+ app-text/xmlto
+ app-crypt/mhash
+ sys-libs/zlib
+ >=dev-libs/gmime-2.4.6:2.4
+ >=dev-libs/glib-2.16
+ dev-libs/libevent
+ ssl? ( dev-libs/openssl )"
+#asciidoc and xmlto needed?
+RDEPEND="${DEPEND}"
+
+pkg_setup() {
+ enewgroup dbmail
+ enewuser dbmail -1 -1 /var/lib/dbmail dbmail
+}
+
+src_configure() {
+ local myconf=""
+ use ldap && myconf=${myconf}" --with-auth-ldap"
+
+ econf \
+ --sysconfdir=/etc/dbmail \
+ $(use_enable static) \
+ $(use_with sieve) \
+ ${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
+
+ dodoc -r sql
+ dodoc -r test-scripts
+ dodoc -r contrib
+ ## TODO: install other contrib stuff
+
+ sed -i -e "s:nobody:dbmail:" dbmail.conf
+ sed -i -e "s:nogroup:dbmail:" dbmail.conf
+ sed -i -e "s:/var/run:/var/run/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
+ sed -i -e "s:/var/run:/var/run/dbmail:" 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
+
+ keepdir /var/lib/dbmail
+ fperms 750 /var/lib/dbmail
+ fowners dbmail:dbmail /var/lib/dbmail
+ keepdir /var/run/dbmail
+ fowners dbmail:dbmail /var/run/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 "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)"
+ echo
+ elog "Changed pid directory to /var/run/dbmail (see"
+ elog "http://www.dbmail.org/mantis/view.php?id=949 for details)"
+ echo
+ ewarn "The database config has changed to support libzdb db URI"
+ ewarn "Please check the documentation (or Bug #479664)"
+ echo
+ ewarn "The database schema has changed since 3.0.x make sure"
+ ewarn "to run the migration script"
+ echo
+}