diff options
author | Thomas Raschbacher <lordvan@gentoo.org> | 2013-08-20 08:54:53 +0000 |
---|---|---|
committer | Thomas Raschbacher <lordvan@gentoo.org> | 2013-08-20 08:54:53 +0000 |
commit | a08e2be3e64cd592959022002e2be9a08d90cf2e (patch) | |
tree | db4da509746f227dd24c776b0a2682a86752f879 /net-mail/dbmail | |
parent | sci-libs/ccpn-data: Fix checksums (diff) | |
download | historical-a08e2be3e64cd592959022002e2be9a08d90cf2e.tar.gz historical-a08e2be3e64cd592959022002e2be9a08d90cf2e.tar.bz2 historical-a08e2be3e64cd592959022002e2be9a08d90cf2e.zip |
new version (bugfix release)
Package-Manager: portage-2.1.12.13/cvs/Linux x86_64
Diffstat (limited to 'net-mail/dbmail')
-rw-r--r-- | net-mail/dbmail/ChangeLog | 7 | ||||
-rw-r--r-- | net-mail/dbmail/Manifest | 4 | ||||
-rw-r--r-- | net-mail/dbmail/dbmail-3.1.3.ebuild | 129 |
3 files changed, 138 insertions, 2 deletions
diff --git a/net-mail/dbmail/ChangeLog b/net-mail/dbmail/ChangeLog index e58dc6473440..fbbc8fa963d6 100644 --- a/net-mail/dbmail/ChangeLog +++ b/net-mail/dbmail/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for net-mail/dbmail # Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/net-mail/dbmail/ChangeLog,v 1.48 2013/08/12 19:48:52 lordvan Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-mail/dbmail/ChangeLog,v 1.49 2013/08/20 08:54:47 lordvan Exp $ + +*dbmail-3.1.3 (20 Aug 2013) + + 20 Aug 2013; <lordvan@gentoo.org> +dbmail-3.1.3.ebuild: + version bump (bugfix release) *dbmail-3.1.2 (12 Aug 2013) diff --git a/net-mail/dbmail/Manifest b/net-mail/dbmail/Manifest index 11ac5cb7e73a..89585437a44e 100644 --- a/net-mail/dbmail/Manifest +++ b/net-mail/dbmail/Manifest @@ -4,7 +4,9 @@ AUX dbmail-pop3d.initd 730 SHA256 2b1ee1f7491e6fb94f0d9a6a1424ff3cba66b2880d6bc1 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.2.tar.gz 2393373 SHA256 9231042ab345275f8704a69186a5e2531126d2890342dd5436bf51def75d760d SHA512 226aece1072882ea63254f9cd03d5f444e13c4075cd3fc1ca6b87032e29abbf16367433a7eeb91b1b22c6293294a313fc7626a32275d87475713057e070c00b5 WHIRLPOOL 06ba486e26f8ef07361012c187a6a5f43b7ce2e5e18a845a95ee6831d8013bed7c7e649975c3f7f9c36274aad61a0ee504e3fc1446ba8fde3a4765bfcd57bc84 +DIST dbmail-3.1.3.tar.gz 2392630 SHA256 508d288f3c5690387eeed94669f96cbd4cc686066bfd4cb9a5f97ec63c7ca304 SHA512 09c4d1741e062381c6bd11a510e0691c66b1683626ae57640a3470b8a2994d0492b7e2b67399cec890456f198cc95c16bc9e0952e975b31126819206965d6ad3 WHIRLPOOL ed40d90491993a9dbde046ed97c31233ae571b23a538640da26083d94bfa9040391011358baa9373e1b376929966e02e6fb4f2ae8d02a69a2cfd5e7a72b14496 EBUILD dbmail-3.0.2.ebuild 4907 SHA256 56b7465f0e261506e41afe3e27183c40c4b94baf1634abc8165b03eab42392c5 SHA512 595510e757ddeb2c168143b671e069182e9f63c1a454ce90676460d9efd1a7014c458d9a91c9379fe2984069da3667935d8828aee944a0f7a5f55cdd53f78c32 WHIRLPOOL f149e4f4ec0d65986170d4f40637d49dc2c7ff3a7d6310af0968da80d3e8c4f372408449d2c947714503a0871ee42a1ff8b5afd034556bdbc33da506f5fe3e5e EBUILD dbmail-3.1.2.ebuild 4240 SHA256 ff560e04c770ff228f127084f28d91e0b40d4de99576b195daf5f3874a2a0afc SHA512 9e850bdc82f431c25a98812dc0830c6932852526203ff7beffe8f02c0c6735350eeb411f1c817aee5cf48396c963db822836f8d5d79d7c1e8023df23695b5fc6 WHIRLPOOL 863640ea45aa13735cab5bfc0e1d7074f167d9571d88d062e06d0454a22d2f8b5911c9c1722b6f98e149b736866519b06d62641adf5157da23356a907a6c1dbc -MISC ChangeLog 9475 SHA256 644fa8da93fa03f4fa86b5a344b01bd71710f703652d46814b269b7ee2c77ae0 SHA512 3efa241a2b888763fe3c1d0defacc7a332f7e71d5c296faa82492f624872a62ea577674491f50a24ade5152b46d5ee211f649c9e76e1fe5de06a18468754c487 WHIRLPOOL 6bccca85fdad0c311e44ee8390287b6e6a3d10676a5634fef98b1e835df659f913390ebe25e920b0d5153cc5243ae8004f124913d1efe2d363db4ba981bcd67c +EBUILD dbmail-3.1.3.ebuild 4240 SHA256 ccdd3632766f7ef9a9a060cee671180cebea3df0737bc97ac90a4fa1fedd92f9 SHA512 ccb71c69a34eae34de7d154290f3862a3edf9e31bc30e19cafaa456d25cc30115824cafdd7ff8f84b0150aeb01140a5e2dff2ca975dc168ca6e720def9d1c705 WHIRLPOOL d1f4a6c45bd0319be4e6cd2aea0e6d0cf98af1dc9ddd8e65abf526b25211cec048cbd25bb1476a756a64d5413d8b7ce84e835265febe64aba267f0f20d756ca9 +MISC ChangeLog 9595 SHA256 e3bb8032efefd84bdf3faf7c46680a788bf155c79aa61fc7b73c08ef64ab22d0 SHA512 3b38c899e8d9c5eccfaaa77d2a8133d3cc7f7eb25695b9e67de989c00c92bf40749fb5b633c3610b04d01d2a6c6c4405e297d4b27a3ea1640e42c56df7c3d961 WHIRLPOOL 774fb581ca9ed590f04e360f3922f41e3a1c587bc2ddd7a57629ba1b72981ed037e7dee293638d4a184bb5f2be9fa8447f164efdff7c85b0ce55ca7325d0876c MISC metadata.xml 580 SHA256 8a14856cce888d8658e3ea9388e18a9b6892c6e00fd478c1afd4c5f496dccc14 SHA512 4533cb22ee9b8cec8565bde5ebbcb7ac1f9bbbac49cb38af370e3e6325a6a7a31d04adb301ccf23c53c0478bf692466a9599c8bf8ed2715be9a3d28741f6f6f7 WHIRLPOOL c920b009c23cfedf06ecf9814de3e71314153c8879b14891e2f39580cffa100f8544684d60d7802558f383778900f914598bb9ee9cd0b52f839ff4c7bad566b6 diff --git a/net-mail/dbmail/dbmail-3.1.3.ebuild b/net-mail/dbmail/dbmail-3.1.3.ebuild new file mode 100644 index 000000000000..2f97cf80b4d4 --- /dev/null +++ b/net-mail/dbmail/dbmail-3.1.3.ebuild @@ -0,0 +1,129 @@ +# Copyright 1999-2013 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/net-mail/dbmail/dbmail-3.1.3.ebuild,v 1.1 2013/08/20 08:54:47 lordvan Exp $ + +EAPI="4" +inherit eutils multilib versionator + +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 +} |