version bump
authorThomas Raschbacher <lordvan@gentoo.org>
Tue, 30 Dec 2014 10:15:22 +0000 (10:15 +0000)
committerThomas Raschbacher <lordvan@gentoo.org>
Tue, 30 Dec 2014 10:15:22 +0000 (10:15 +0000)
Package-Manager: portage-2.2.15/cvs/Linux x86_64

net-mail/dbmail/ChangeLog
net-mail/dbmail/Manifest
net-mail/dbmail/dbmail-3.2.2.ebuild [new file with mode: 0644]

index 7a27472aa0898ff05e9d59142e69cd1baa2a3641..0b81e6a130cade330b7eb5c7fc53dedc65ba0fda 100644 (file)
@@ -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.67 2014/11/02 12:50:17 lordvan Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-mail/dbmail/ChangeLog,v 1.68 2014/12/30 10:15:20 lordvan Exp $
+
+*dbmail-3.2.2 (30 Dec 2014)
+
+  30 Dec 2014; Thomas Raschbacher <lordvan@gentoo.org> +dbmail-3.2.2.ebuild:
+  new versions (fixes CRAM-MD5 bug)
 
 *dbmail-3.2.0 (02 Nov 2014)
 
index bee97d12040462619c60f3f99454cfb9e34716e8..341fbeffb4145dede57e8c36e37f47778967af10 100644 (file)
@@ -6,9 +6,11 @@ DIST dbmail-3.1.13.tar.gz 2400222 SHA256 ad1cb6502cd115ffbc47cacf3770b7808765ecb
 DIST dbmail-3.1.15.tar.gz 2407119 SHA256 c8f83433ec694fcc93359055cfa5642a6b8cba95367e8c3fe9e9e3edb1a0371a SHA512 9ff75746c5d4b3d393d95017d4043bca367b2bf6b5c57102c8f642794dff4f385263dc5a4baf20afc0c15fefc46b78c5d65009324e2efdbace20408a1514512e WHIRLPOOL 62c53a1c51c1017d04c175ea54ade08154e4051ca9c6d31606ea0e4c688a0b2cd4b2734177687075eec215a674cdfbe6282241ad7305ebc011f03bdae5b4a05f
 DIST dbmail-3.1.17.tar.gz 2391054 SHA256 0e96121fe2af0d317651dbec79d740710562c1ac7e5687c24f2f6bf3b155aae4 SHA512 31afff1bd517c1fb792338eff8880c217905a7a65a8c8a09569f22750376da619e12bf88049a15c2cea8fb2171d9ef1761118364a6cd8ecfc6a861bd4ed41aa3 WHIRLPOOL 3f27e2bdbd4f3f10fe9aedec5600d7803dddb0cc51f61f0e50012475f33b0d3c73e28bb02dce03f0023c7a7ca8accce73f84e41dd9be6514e442ecb88ed26adb
 DIST dbmail-3.2.0.tar.gz 2425015 SHA256 7ca495aae5348c6e2ff21882e464bc23ad0e65995a5479c2740cdd24e38930e1 SHA512 79b491ae0c52c93ce57c65f87f5ab8784723825025dba83ac6473b84a83e00f91e2e957544043eae1d6ea6f3ccc21d9f65d89341e844867ed3f2d7dd3b41d8f9 WHIRLPOOL 3d7232519fd3d670c83d9fdaaf0a4142633e8478b35d7366810723d5ef75111341bf65628f9ec5cd759e4d556cbcd5b2d2fa86ccbb00d78da9166886882e875b
+DIST dbmail-3.2.2.tar.gz 2444241 SHA256 77d2fcf343cc1312fca565a9eeef3927b257b55910be2b198562516334a2c62a SHA512 a2125ea3b9d0ec387135d87854510f36ef0fe87b70f33d54f8af89f22a83802e5838979ba94d6ba66ef986f6f67b08aa6d5e2bfc2f1f2bc44edf03a9f51afb37 WHIRLPOOL 8fa60754e55b56e293a187cd10922586e1c38c0079e8f6eb98b8aaba503705046cf7b6954f677bb295ea799f9261ef62c8589433657a0ad2775dd2cfa1d1ee15
 EBUILD dbmail-3.1.13.ebuild 4930 SHA256 5a422e4c0ff43d68cfe104542f8546d8cd671886fd68186752e2f2daefae40e0 SHA512 b72dcaed6fcd487b838f710c65017398b008607653410cec898964be46d3317634058c39cc580634b1e9ae2b077eb824037cb97d2a200933b00f1fd495aef1bb WHIRLPOOL 1ae4bf46409278b484547b30e55f0c1f34bc9416e0fda7100b90367728c71ea8347cee2ec3f601c42a51b9350cee8823b37245665fae090ea1a1d9a34567fa8e
 EBUILD dbmail-3.1.15.ebuild 4932 SHA256 af8059d794202782c38b6771ff6ee7a0d1b3e2f170174c82c826228c47094885 SHA512 a7b7442afbc8284e9c3308bd365dfb9fb9a0552662f72f35c9e168351e61994edbcdb78de35b48700efa4f35501fdca6bd279592a883ea1999dda74f92175096 WHIRLPOOL 89ac7c7ab37f4ce6461db4a12c191d6eca6ee013620eb7569f9b02ad84cb0596bb85f9c702f183d606076b787a0a330c3c5ffac3aad94bec247cf3c1f20be049
 EBUILD dbmail-3.1.17.ebuild 4932 SHA256 0774b77fa71c02c2d83750aa3c473025e5fa377711260ef12db7000313cb68a1 SHA512 520291610c537ef4b1501e87426b64302d6dd28848e6db44cd0ca91ea14b338dbe157a59a243c82cdfa98fa3f58515a2d432f4baf5390c621045177be9ef1905 WHIRLPOOL 50e1dbf489e61e097619fc69b60266e4d4057a4f80fb59134e0e0e52286b42a0f6b682e1f0c41280dbf95ca2dad4054a533644c9fd14e20ae1b7b5ad4bd05c68
 EBUILD dbmail-3.2.0.ebuild 4990 SHA256 48be49e97f320e2b6c7f63e91f798bc468bc6e738ad4c3882a6b602f12f64f0c SHA512 07eee7293362922a493e8ef83806aa7d8be61580c810e77e473ab9eb7c2640f12ab3a6042f53153fcf276712028c6d7f05a5853ac8acf5900cd0065194ad42fc WHIRLPOOL 8ae21439c986183b371b9542369d54b2834cffb605e119b7e4c88c3396d2a213d940a138e678ba0676d36520bd033292781f444f2d8759177f93709fc820a227
-MISC ChangeLog 12349 SHA256 b864acd00f1baa89cfda0b602a0bf718b352b44e86efd44f521da91996595f88 SHA512 07dceb6e7639b536b006cbaa5aafa4feefd43df20eee3b9a1025aaaae17ed4af818c28d7831ad98e473e4d8dfa748aab8a7ad669edc4a1bc85429aed4b5f1244 WHIRLPOOL 616daa59775a86c6845073f2c4383d3c722c0aefc793752dd3816e3147719d628465d99e6bfee323c83913b25eda7993686954effad664e3e1ec6a48414d260d
+EBUILD dbmail-3.2.2.ebuild 4990 SHA256 132de8ea31f67882cb87f3f78d09ae18521b0909eef6ab326c9f74707e9f0d31 SHA512 2e3315a193af2f80d3b4d7e64a7f95e593864e6026db296cd64719dcc32b0fa118d3d626785486cf425aecdc25c40522ed633cd2ebef997c18f55298feb4df5a WHIRLPOOL 3662b789234cb922d92a9bb477a366cc268432f89c5a01d10073364d9480a25c14f6b8045d4df5c270b29082f801e5eed29fd423ad1de1788ee01ac07687330b
+MISC ChangeLog 12492 SHA256 75ebec16810239f3ea009af5726d3f5df7c3dff32c4a8ba4e603e7783f46e556 SHA512 53329dd86ce76dcb2347c9cd356ccc0fdb73dd30bdeaf9f6ba2bcc4a43fc3a207571b87562c60cfe47cef380b7bc7f2592c14d78a946ecc9e08adf1d1c126c4b WHIRLPOOL db7d37ca1908b65e6387e5d5eb5e6794211f82e43329d11ea610a01411457046b1ec1eec656470db4141941f47377862a80bb3d2cec5638587c2b23b8b543a14
 MISC metadata.xml 580 SHA256 8a14856cce888d8658e3ea9388e18a9b6892c6e00fd478c1afd4c5f496dccc14 SHA512 4533cb22ee9b8cec8565bde5ebbcb7ac1f9bbbac49cb38af370e3e6325a6a7a31d04adb301ccf23c53c0478bf692466a9599c8bf8ed2715be9a3d28741f6f6f7 WHIRLPOOL c920b009c23cfedf06ecf9814de3e71314153c8879b14891e2f39580cffa100f8544684d60d7802558f383778900f914598bb9ee9cd0b52f839ff4c7bad566b6
diff --git a/net-mail/dbmail/dbmail-3.2.2.ebuild b/net-mail/dbmail/dbmail-3.2.2.ebuild
new file mode 100644 (file)
index 0000000..d49a0f5
--- /dev/null
@@ -0,0 +1,141 @@
+# 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.2.2.ebuild,v 1.1 2014/12/30 10:15:20 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.6 dev-libs/gmime: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
+
+       docompress -x /usr/share/doc/${PF}/sql
+       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
+       # use custom init scripts until updated in upstream contrib
+       newinitd "${FILESDIR}/dbmail-imapd.initd" dbmail-imapd
+       newinitd "${FILESDIR}/dbmail-lmtpd.initd" dbmail-lmtpd
+       newinitd "${FILESDIR}/dbmail-pop3d.initd" dbmail-pop3d
+       newinitd "${FILESDIR}/dbmail-timsieved.initd" dbmail-timsieved
+
+       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
+       # create this through init-scripts instead of at installt ime (bug #455002)
+       #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
+       ewarn "Please be aware, that the single init-script for all services"
+       ewarn "has been replaced with seperate init scripts for the individual services."
+       ewarn "Make sure to add dbmail-(imapd|lmtpd|pop3d|timsieved) using rc-update"
+       ewarn "and remove dbmail if you want to take advantage of this change."
+       echo
+}