summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Raschbacher <lordvan@gentoo.org>2014-03-22 09:24:54 +0000
committerThomas Raschbacher <lordvan@gentoo.org>2014-03-22 09:24:54 +0000
commitca12057652e2de8079374b97ad0719272a854f13 (patch)
treef32b1130efa5d016b1ec469df729ac8b5c4bb2ef /net-mail
parentdev-util/nvidia-cuda-toolkit: Add uvm UDE-dep to nvidia-drvers, #505198 (diff)
downloadhistorical-ca12057652e2de8079374b97ad0719272a854f13.tar.gz
historical-ca12057652e2de8079374b97ad0719272a854f13.tar.bz2
historical-ca12057652e2de8079374b97ad0719272a854f13.zip
new version
Package-Manager: portage-2.2.8-r1/cvs/Linux x86_64
Diffstat (limited to 'net-mail')
-rw-r--r--net-mail/dbmail/ChangeLog7
-rw-r--r--net-mail/dbmail/Manifest4
-rw-r--r--net-mail/dbmail/dbmail-3.1.13.ebuild140
3 files changed, 149 insertions, 2 deletions
diff --git a/net-mail/dbmail/ChangeLog b/net-mail/dbmail/ChangeLog
index 7b05da789aec..d162f9d473c4 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.60 2014/03/07 18:48:33 lordvan Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-mail/dbmail/ChangeLog,v 1.61 2014/03/22 09:24:48 lordvan Exp $
+
+*dbmail-3.1.13 (22 Mar 2014)
+
+ 22 Mar 2014; Thomas Raschbacher <lordvan@gentoo.org> +dbmail-3.1.13.ebuild:
+ added new version
*dbmail-3.1.12 (07 Mar 2014)
diff --git a/net-mail/dbmail/Manifest b/net-mail/dbmail/Manifest
index 1172e7c9753e..3e379bb34c61 100644
--- a/net-mail/dbmail/Manifest
+++ b/net-mail/dbmail/Manifest
@@ -5,10 +5,12 @@ AUX dbmail-timsieved.initd 1557 SHA256 012e1f286f11c06cbdc5422fc5dc813f5d6b7a18b
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.12.tar.gz 2399757 SHA256 9156a77d272e6c5924ccdefa2b25beadbb2ab27f3debd11c5ffb6f8904b0196c SHA512 50c9c6c40730c074c1c3e9c7b7a78b78875638d38f1d2cfe22bf6ce837f2ef8ab5929b688081b6c17bf79347899c4f3cf7e75e6853b8ef7c17ce08f66d5e583b WHIRLPOOL b2fba37229f5043a3174b4fa7199481aeaa14cb6919109b8b13d8e24c01141d031afe1a3ffd831b2162a5fe4e8a5143f337aec2268231391f701ab7638a6511e
+DIST dbmail-3.1.13.tar.gz 2400222 SHA256 ad1cb6502cd115ffbc47cacf3770b7808765ecb2704df1201349bd6a9707b799 SHA512 3852b38606a79b8997f3c2200476ecf2d83bfe030eb1fb49b404bc778ec9d89c8512a93dec0505517e48212e3e84eae345ca26d4357189276668afbc40cf31cd WHIRLPOOL 34856d5b1cc5321ee27e516dc80773df810ff009e8bc2b2bd8112ebdc3f0a2e72747a61304e0bbbd88d8d921c546ee2f8a43708afecabed9a45bbd609cea35fc
DIST dbmail-3.1.9.tar.gz 2397293 SHA256 665f42700654aae767d24647dde284a4df7aec1702a00d1122d55b3f9f4318dd SHA512 99b0c915256a1849fe41963e8ce64905e9a4533fa8821a98c2bc3ad0824b6417f370fe7c2411721480a93631db67be08e558b5282a29c3cb04a69ac358ab4775 WHIRLPOOL 2732a92b880440e4c98f6b305e8fd6b399bdaac097d284f4e69c493844977b558f6f06723f69ec0bdd5339784ce6feb58b17538eac877c2726d581e2c3931ee4
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.12.ebuild 4934 SHA256 1547a291afa49f850665e4550a2b64567272e71bf55274f8844ab47f854bd4a3 SHA512 21b602b76f832986ba590eeb1100aebb83a96ebdbbdea31c0459472004e3129998ce214a5a7929345701352c3311fdd35fa2ed64658cf699a2f23e5649b0ddb8 WHIRLPOOL d91856da1c0cb193b9105aba334399104e704ada678ff76b77bc0ba6a019a6e73f28c90610a228f71e13f448f397a5d824ade726518f479eff912118cc1636c2
+EBUILD dbmail-3.1.13.ebuild 4934 SHA256 d21bf5703ac5c80ddedab6a8dbd7b4331654c005af60561405ef46aebf0df0dd SHA512 949364dd54408ccc7d66974027ba295fe2bc62b089b375f1d115f3f0d26990b21275a1355cd186b69a73f5e2ecb39a14b1d19eadda3908c7b23a12b90623262a WHIRLPOOL 7db274280da2ccae6c1f0d5dc23ea1ad790ab4608d2a26dab7fefb3b3f7164ceb12ce71d03a8c5518439b2b436e482a4a1e9d4a3c3e7b1ff3cac558b8c260850
EBUILD dbmail-3.1.9.ebuild 4241 SHA256 6ba0a8283fc0740fa8f041faff08751f589fb8a1f3c959886e69f30af02cea80 SHA512 78b5f4625366d92ba11ce2f3ae58f84c9a5420f4ea89fe30a1c1c3215365dbd46c38cdcdd79580c9f208a59241395a5a0aa7ac998f732691e6e7a605e46f3e0e WHIRLPOOL 9669cbf6d8f9234d682cf5d1a6cc26d13678061fdc52cf92d62290c234fbcef86c0cf03ddb3042a8f29d7cd425e7d3ce2869a896c5d19ade9bade62a0be12248
-MISC ChangeLog 11288 SHA256 f14ea7a99887ba8195b88126d79742d4f7a41aafe691c4cbbbdb88f891e1c96a SHA512 5745036c1f99c46ad86a7788b368b82a6ebb9f36a1f1af7569bef08b051dfb6492e969ba8dae606845d8f4cab45607b92c4c5d10c7780617378310cf5600a73f WHIRLPOOL 3719ed111c7ac525ce92c913125d6b1860748b9bfd9311346e6768110614bbd0618f889cf5ecd57fe6185b3ab6391f7e6fe23d1890a2fdf2195e4234211ace68
+MISC ChangeLog 11417 SHA256 cffed865026551f025d34cce5f73428b30f81ed0301334d436fc95e1fac48794 SHA512 dd9a603287afb165bb61ebb37ca69f5e4eac2d069088e36dd50255aa188467ef12698b7da4eef3efefbe8f496e4b0d571a4c257099426b080198ffc04470274c WHIRLPOOL 0186852ce3b2f038cdd5d60faec5ea7e22df4266f78ef92d0c6a71d08f80387bca5c654f64b9b7d0fe4685a39848fdd8a50351f3e6521e96e0f535bfdfcba6b8
MISC metadata.xml 580 SHA256 8a14856cce888d8658e3ea9388e18a9b6892c6e00fd478c1afd4c5f496dccc14 SHA512 4533cb22ee9b8cec8565bde5ebbcb7ac1f9bbbac49cb38af370e3e6325a6a7a31d04adb301ccf23c53c0478bf692466a9599c8bf8ed2715be9a3d28741f6f6f7 WHIRLPOOL c920b009c23cfedf06ecf9814de3e71314153c8879b14891e2f39580cffa100f8544684d60d7802558f383778900f914598bb9ee9cd0b52f839ff4c7bad566b6
diff --git a/net-mail/dbmail/dbmail-3.1.13.ebuild b/net-mail/dbmail/dbmail-3.1.13.ebuild
new file mode 100644
index 000000000000..de305a365ddc
--- /dev/null
+++ b/net-mail/dbmail/dbmail-3.1.13.ebuild
@@ -0,0 +1,140 @@
+# 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.13.ebuild,v 1.1 2014/03/22 09:24:48 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
+ # 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
+}