diff options
author | Fabian Groffen <grobian@gentoo.org> | 2015-05-05 12:55:41 +0000 |
---|---|---|
committer | Fabian Groffen <grobian@gentoo.org> | 2015-05-05 12:55:41 +0000 |
commit | 6e76b25a63fe586bd1ba2f6d5d82d55ad8779f9c (patch) | |
tree | ae4815564a7e197c40ced19b0e2c34a8f8da0a8a /mail-mta | |
parent | Stable for amd64, wrt bug #548638 (diff) | |
download | historical-6e76b25a63fe586bd1ba2f6d5d82d55ad8779f9c.tar.gz historical-6e76b25a63fe586bd1ba2f6d5d82d55ad8779f9c.tar.bz2 historical-6e76b25a63fe586bd1ba2f6d5d82d55ad8779f9c.zip |
Include tidying up Exim's hint databases, bug #262819. Doesn't warrant a revbump since we've been doing without for ages
Package-Manager: portage-2.2.14-prefix/cvs/SunOS i386
Manifest-Sign-Key: 0x5F75F607C5C74E89
Diffstat (limited to 'mail-mta')
-rw-r--r-- | mail-mta/exim/ChangeLog | 7 | ||||
-rw-r--r-- | mail-mta/exim/Manifest | 18 | ||||
-rw-r--r-- | mail-mta/exim/exim-4.85.ebuild | 4 | ||||
-rw-r--r-- | mail-mta/exim/files/exim.confd | 3 | ||||
-rw-r--r-- | mail-mta/exim/files/exim.rc7 | 30 | ||||
-rw-r--r-- | mail-mta/exim/files/exim.rc9 | 46 |
6 files changed, 71 insertions, 37 deletions
diff --git a/mail-mta/exim/ChangeLog b/mail-mta/exim/ChangeLog index b70a09b81dba..3cff460bb8c0 100644 --- a/mail-mta/exim/ChangeLog +++ b/mail-mta/exim/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for mail-mta/exim # Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/mail-mta/exim/ChangeLog,v 1.310 2015/03/21 21:18:34 jlec Exp $ +# $Header: /var/cvsroot/gentoo-x86/mail-mta/exim/ChangeLog,v 1.311 2015/05/05 12:55:34 grobian Exp $ + + 05 May 2015; Fabian Groffen <grobian@gentoo.org> +files/exim.rc9, + -files/exim.rc7, exim-4.85.ebuild, files/exim.confd: + Include tidying up Exim's hint databases, bug #262819. Doesn't warrant a + revbump since we've been doing without for ages 21 Mar 2015; Justin Lecher <jlec@gentoo.org> exim-4.84.ebuild, exim-4.85.ebuild: diff --git a/mail-mta/exim/Manifest b/mail-mta/exim/Manifest index 6b608a3ceba8..6bd8ef9d652a 100644 --- a/mail-mta/exim/Manifest +++ b/mail-mta/exim/Manifest @@ -1,3 +1,6 @@ +-----BEGIN PGP SIGNED MESSAGE----- +Hash: SHA256 + AUX auth_conf.sub 790 SHA256 d0631d487f115c07a178d48bc7168cd16d7b22c8879b1e926923152cde95ba78 SHA512 c0799a44e0fabdd4eb33c9c4a009c7abed80d5b2ab773206b11d644e54bb79004c5741fc510df77fe9856bdff979a14f1cf9a58da19fb00aaae05c623da287b3 WHIRLPOOL 54a457732851ec3154b38e161728f932e52166e0a3debe3f4672208207eb3070056a473bd6b73977ecda2d8d6c7348cbaf4870ee3d4b3250e64f2da5f58c5153 AUX exim-4.14-tail.patch 446 SHA256 74d1044bb94e167180fd8f8aba7449ca3d2b09b1ce170a1a2e4e54ca0cd660da SHA512 a0365b15f0a48076f9660ebc424d48f68995ac21bbf77f407bdca5103ca65758d7f2241d0151eb5c78476557e240b24a95c23d3b12cfffc1b34ab6f89f2c2110 WHIRLPOOL c6e7e1d183c7669a745b33643c61b672a2c2800a0f1eeff380afa5cafe6d97a91106a4f08273ed154a87cfc7ee807cef8308422b53092083fcc12030403786a5 AUX exim-4.20-maildir.patch 478 SHA256 2704c4db67bb7c58c2421656d942f533d1eedf1df187e76297ab72d2c2a2fb4c SHA512 2c6f68e3c162a51e62ce6e391db8e79733f11bba20cc8778737650158203b88f9a77b7bbbd2a32b2cf8ae50f039b794fb0996f198acec6a50b94cad6a111f432 WHIRLPOOL 4cf3638b7c7b05badeebbb65151f5d8e847fe2324ca5f88bcca87b8bf7e01ae290a9deccb26dec6abec89f105d00625efe99874e9ea2edf4a557b3d831c3b9f0 @@ -12,10 +15,10 @@ AUX exim-4.80-spool-mail-group.patch 946 SHA256 4f013e30f6f96360baa7d5d7818eaf52 AUX exim-4.82-makefile-freebsd.patch 1252 SHA256 c407ea37ff8125f20f535ddb02793d5242a12582b9ab388d2ba956f932af2f3d SHA512 fb440ad3e46b90d4c2e4826841944f4006390ccebee08154a39e46f6854be15edd7d0b028333b41451a0511f886ad3a30cb4b86e7ba8be99f12616a137f09d56 WHIRLPOOL 72132bdce44ba23fb162a5afaed33ea72ef2c917d020f5ddf920ce16991f02411c0bbcb23526b0e09753ab84cf2f258108aa2283ce5f9529810844497df29501 AUX exim-submission.socket 161 SHA256 d3bb58f0fbeaaa33c812a823708664bbcd828da7d24e2a098f84a15aee443fee SHA512 4a233761793e3510e9efa5aad3a6098c41b757f13133a7ea825680f2b393aba8d7935f16bf1dd065dde884fe7ba45639a8d398333a7d9bf0a6b72f88c8f2a09d WHIRLPOOL 7fe2a157ae3361440d8a85c8eca44a97a289be1689261efda943076c9a76ab74ef9d5f01ec0eecdde940ae30ccb46530c95d7223cf62b78e8eb2bde5268288e2 AUX exim-submission_at.service 360 SHA256 55719e8b823702b0054584326ca28349b7487e5be9e567ddc7a6e6259767e05b SHA512 dc28698f15e8eaa4614ae81fc8cb76d92fed1110ce02f7a6ee8feace418dbb194711eb2d4dd444cf818628c11721e21d80b7b974879ab6ddd78cc717cce17c2f WHIRLPOOL 8e907250dc6be75a252b0a6880004b05fccb2ebeb044a4538bc88eae6ed81f5a537a319188320657d43b3ae1850e11cfa0d86393b038d2d0d1e9a0ce7a7543fc -AUX exim.confd 62 SHA256 668f912565a59926957090c6143f669f0e9de2cf441507d3c05fcd046865b401 SHA512 24bae5bba1b41e59247cd7089c3f9ffcc5f4b26c3da1b21f755724a7ee5c99a05e324437c965ae86170056cc63b9bcdc41f624a747ab31b887d69cff620f2155 WHIRLPOOL 8251fa29fadaac5157fcbade5166598d471d13869e30dcbb445bd56e706568fc5f78b7d7cf4f5147f97ef524bcac0e68ea8d4955b071d9f3df7a57f5ce5f297a +AUX exim.confd 141 SHA256 352c48d5302d122d75b821395933150e1fc6e16004b0d28e99a14b60f160ee6e SHA512 cb5e4aa71d3f0b7945e9806064f6a3ab64cb894381654ead40c73a49ae2d1bbb3dc587919952a09b2c81b9fcf8784f73d59c12081cda96a5b7210442f5088998 WHIRLPOOL 078764d27c5c7614120ac0f531b97ac4b65a68ee741fe11fd3ae68e8e89307cc3aaab6d7ee651ec5969479cf9f752933c54faef1e068efa3fda85360343f4d39 AUX exim.logrotate 116 SHA256 755eab8631ebc103fff111b0c37ff104a34f8fdff349d383d62cd91db3bc0984 SHA512 24bb8dcfadb1204c2ab0316d57de287b5092754731949390cfb3c88fa6827d45acfe1048cf9e26f615ca0449e8d780d0c98ea55ed61be9d1558755d3e53b9ec8 WHIRLPOOL 7c3092e99e20a038fe21f10ada71bae39faa31de6d032b0bd02a373a92b34f3972ab68642cca072364b28d3c0cbe3f35787f137681b8d8093105fb56abd9c7ed -AUX exim.rc7 765 SHA256 9f98b698bc74e69f1b1595a108c49500dfc58d15b193bd59f3ec36bbbe648cf6 SHA512 2ed0c6d67fef47b83b552b4850bc74553ab552700523a81e0d28597c3569c24f53b43da8bcfebee32565975528d8b7e169372dd574f577c2eaacc2bf80890306 WHIRLPOOL 86a61f6d45fe3e445e10efcab449e397cb0ef15d945d6d8344003fd34f36dcb2fc5a9aef0eaa6b329c510391067ee1f20c2daf76aa5038c1f6234f323c462e4b AUX exim.rc8 755 SHA256 8ebeb8d406690918c6d4e9b87fd2fd44053055130091671e49ce7d77608e0390 SHA512 4fe4d04cc330a7445cb0f00c163148bda51b9ae6d7fece640efab1a3dec60ae4eb8ea2dbc24502a27c48e8bc03f8892d1cb6c78316d8e9262897e21e67bdc02e WHIRLPOOL e9d00cad884804f8d6b1ecd5adcc8df8be92fb305b37eaeb39194dc2d41a2ea3785d27cb34df31e29847b734318ef5ee9b42c9474203629262f32c9dc78b56e1 +AUX exim.rc9 1236 SHA256 e541e950313a4057e3cd13cabac26db924485c54607410e0dcb3a2c348bf2fab SHA512 2032f27ecb23dc9dcc7154d959dd60f9e24316415a78a993ce1ed7511753a99f12774c649698aec1a92bd641c3254c6b81a9a42f2a424dd43ff10813e1aad2f5 WHIRLPOOL ebbdda159ddd609a3524dfc2b79d482fc30a0b11dbaed11c4687fd781ed8231982cb61e2dfc5bc830f8ef281f0d02db84f18535660034ef8e0dbdc5ee960a578 AUX exim.service 229 SHA256 6e5372338d93b75d96bf571d892b167ac812378bcf978dcd3f3324d7e612463a SHA512 a071e9fb74b5fc2fdf0c73ad64ddfbc3954d8f7095d6a363dacf8c75d72a479fbf6821822ec5c8f3846d7687342e1bd447b97f91ca7b0582e5c98008aac30cca WHIRLPOOL 5f2ccd6898c95599f8e801aa111c53dbb50b7ec9f6ba6552fe195ad07d41efdcbff765cba1d696df6acb564bca29830d0bf61bcda9a244a3b48354318914bbd5 AUX exim.socket 139 SHA256 3e3d8b6be2741d2587a496196c08b3f2ffa05b5803b2bf9fb49359cef3a98d26 SHA512 db621116907ceb573e6f34581f47c91f751bff593054d7ddc32397b34c7f2405bec184bdb0589d2ac457fa3a61bcba072761e3a6293a99c9c764d2d9fd6069ae WHIRLPOOL 6ddceaa1bf31d995afa2dc49ab4d8e1068321ab12b158e075f6ea3f2cc4dff35c2052da2a85fe998813354755e574670086880ef7e42e2a02877d4f766706d3c AUX exim_482_dsn_1_3.patch 41505 SHA256 4e00069a4b2e2deb414f05ea33f29b3f007d9ebff17cfc16998800b21b8e0ef5 SHA512 5f184d903300851dba46f4c3d46e70269111ff335fc71e9d14b04f40462c163411521f6fd60e1d703dfab3a173911225a209133369bb3c26d83455499261e777 WHIRLPOOL 842040f5009ad43b40ceff4935510b06a0f7496bfb7e7a13db8f3eeb6fec63d7c7b38e4ed31b2d8de543ddaf7e8af8becef334c88d1365910e783c8c0ad5a7ff @@ -26,6 +29,13 @@ DIST exim-html-4.84.tar.bz2 465281 SHA256 7ee7e9015b853915604b7806be93d56e9ba1fb DIST exim-html-4.85.tar.bz2 467069 SHA256 fd91946369626e74842a0799b93d0d9e4a201fe640af84e1b5349fe6ff204167 SHA512 8214576300827f79c0880e2d2163f71d7f1b3fe2aff714b591a011e48816965de5a773c3509137b085fec3d4d2128931f8398768c24dad6c92b7df27cbcafe74 WHIRLPOOL a7edffd7124c4920708616d3e59c0db5159dee5f7e4fd62ce29fdba769d39781a3826d4e3e39cdc97669941bb9a5c977defe280feb73cbe159b23df4cb6fe95f DIST system_filter.exim.gz 3075 SHA256 3a3471b486a09e0a0153f7b520e1eaf26d21b97d73ea8348bdc593c00eb1e437 SHA512 cb358d3ce2499a0bb5920d962a06f2af8486e55ec90c8c928bd8e3aefb279aa57f5f960d5adfcef68bd94110b405eaa144e9629cfe6014a529c79c544600bbf3 WHIRLPOOL ce68d9c18b24eca3ef97ea810964cc1ada5f85b795a7c432ad39b5788188a16419101c92fb52b418738d760e1d658f7a41485e5561079a667d84d276c71be5a4 EBUILD exim-4.84.ebuild 12312 SHA256 26f386ce872bb8d508d1e171729eedad07d961c2c824460c46d392aab2e41b9b SHA512 0641422197b89163af71bf279b960b53e1573487cb566ec60078b46901d5bf9de436768967e6ce57136c7d3ccf3ad312931dd5d2ea75a72a65833221c45592ad WHIRLPOOL aa3af1b57e3d5b4bfe4b54a0ea35b6f1c37b8a30316f084ba2995f8ad548916c1fa0a8133462473dd49fd11ea32056cacefb29f976cddc908581df8b64896575 -EBUILD exim-4.85.ebuild 12326 SHA256 9ffef71704d6a31b0ec2327f766223d449fe034332eec9cbeb99e29ae32f8d94 SHA512 59704be99e55940804e76ee7fd535abc307c72dab9cef02ae746ec71eeb9918da031991c428ddad6fed231911951631ffff12ea36211bc01997daa983043a7d0 WHIRLPOOL b9d0ebd4b65c84726acca260e444a40dd4c46436e41e8e87763013614f312b28c730dc46fa47f7072e5bbebccd630b4432dd314fa3232641b79fa1ed1b71db73 -MISC ChangeLog 57719 SHA256 28a22fac63d95099a905200f235b1e5821e0d1a8889ff674d1be8b41e3032353 SHA512 9c85dbf5c4d571c903b0be824f7d013c7fbfbdac044876ac1217cb014c85ff618a74fa5e0be652ba2977ae1e03fd76cff2fd83d91bf3c01a281e01f990c1e324 WHIRLPOOL 1974e61e9705f05aaa9ab242891cb1c8c4ca56934e58157ae7a9cdbbfdecf6ec963b841acb0d6b14eb8165e9821a2c0c3b7226ccad80055bb4818e21df3fd13c +EBUILD exim-4.85.ebuild 12329 SHA256 1bb6918d0258b2c6943fe098242a2951abbffd0094fa096691e3412d104eed2a SHA512 ac4e9de9c5c9f311292a2775ea5aa9353e7ac28bc4d5a594669a54bf01ee7a51d95633e20d9120ad5fcb167e59224e6f10ebe7da9ae16d46c653e973ff651ad9 WHIRLPOOL 4ea3017b685d14e63954bc205d057b64600584ac07aeba009fb69590e2d3699b5dcbdb06f73c52336daace40436b0249fdeaca69440c3217cba7248441eb7ca1 +MISC ChangeLog 57972 SHA256 d5d557a7b85d72ae63cfde7011ff9364166d8c0e2100bda912b4605dd8d952ca SHA512 336b1d483217cf2313dc1a2f56b67216d5ae20dbb58fe28994fdd2587229ac6fc597cfa01b5751c0c9768f09068dbe1a4ddc10a2c203edda1025e152094a25f4 WHIRLPOOL 198ac2623d5ee1e81094a613a444bf0a6a65ffad6d83b14230e0b761d60117c6a8cf718e43db3a0b2917b2176d9394027aef51f1a215f2bc9003df55475e4686 MISC metadata.xml 2299 SHA256 a2985b24eb4e06b72f5c3a77403fd36e511112d789c584c391f344f547b21bcf SHA512 a7d4c9faf6240b5795e1da7df99f918bf438b1bf93fbe9ce12269b0f48000beb622dfad2489337f35b42c342605cd19359edf4e581794fc33f76a4cb0d035568 WHIRLPOOL 7eb7ade4038826e0947df620a65044acd2167b32126963c3f28336050680b05e4dca211588b722e7fb8273e13e171690a5ba0114182047e0690c43fdf244b71f +-----BEGIN PGP SIGNATURE----- +Version: GnuPG v2 + +iEYEAREIAAYFAlVIvcsACgkQX3X2B8XHTonf/ACeIuA6U5SgZlGfpQ54bi7VXw7Z +CEEAn38CN6fmS884grbuncfsB7ell5Wt +=bzTd +-----END PGP SIGNATURE----- diff --git a/mail-mta/exim/exim-4.85.ebuild b/mail-mta/exim/exim-4.85.ebuild index 142c962bf472..22d2c93f0e21 100644 --- a/mail-mta/exim/exim-4.85.ebuild +++ b/mail-mta/exim/exim-4.85.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2015 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/mail-mta/exim/exim-4.85.ebuild,v 1.2 2015/03/21 21:18:34 jlec Exp $ +# $Header: /var/cvsroot/gentoo-x86/mail-mta/exim/exim-4.85.ebuild,v 1.3 2015/05/05 12:55:34 grobian Exp $ EAPI="5" @@ -464,7 +464,7 @@ src_install () { insinto /etc/logrotate.d newins "${FILESDIR}/exim.logrotate" exim - newinitd "${FILESDIR}"/exim.rc8 exim + newinitd "${FILESDIR}"/exim.rc9 exim newconfd "${FILESDIR}"/exim.confd exim systemd_dounit "${FILESDIR}"/{exim.service,exim.socket,exim-submission.socket} diff --git a/mail-mta/exim/files/exim.confd b/mail-mta/exim/files/exim.confd index a3974d33b406..1534d9dfaf08 100644 --- a/mail-mta/exim/files/exim.confd +++ b/mail-mta/exim/files/exim.confd @@ -1,2 +1,5 @@ # Command-line options for running exim EXIM_OPTS="-bd -q15m" + +# Additional flags passed to exim_tidydb upon start (e.g. -t 7d) +TIDY_OPTS="" diff --git a/mail-mta/exim/files/exim.rc7 b/mail-mta/exim/files/exim.rc7 deleted file mode 100644 index 399de1d021d1..000000000000 --- a/mail-mta/exim/files/exim.rc7 +++ /dev/null @@ -1,30 +0,0 @@ -#!/sbin/runscript -# Copyright 1999-2012 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/mail-mta/exim/files/exim.rc7,v 1.4 2012/02/28 04:03:55 idl0r Exp $ - -extra_started_commands="reload" - -depend() { - need logger - use antivirus net - provide mta -} - -start() { - ebegin "Starting ${SVCNAME}" - start-stop-daemon --start --exec /usr/sbin/exim --pidfile /var/run/${SVCNAME}.pid -- -C /etc/exim/${SVCNAME}.conf ${EXIM_OPTS:--bd -q15m} - eend $? -} - -stop() { - ebegin "Stopping ${SVCNAME}" - start-stop-daemon --stop --pidfile /var/run/${SVCNAME}.pid --name exim - eend $? -} - -reload() { - ebegin "Reloading ${SVCNAME}" - start-stop-daemon --signal HUP --pidfile /var/run/${SVCNAME}.pid --name exim - eend $? -} diff --git a/mail-mta/exim/files/exim.rc9 b/mail-mta/exim/files/exim.rc9 new file mode 100644 index 000000000000..c88f6533d850 --- /dev/null +++ b/mail-mta/exim/files/exim.rc9 @@ -0,0 +1,46 @@ +#!/sbin/runscript +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/mail-mta/exim/files/exim.rc9,v 1.1 2015/05/05 12:55:34 grobian Exp $ + +extra_started_commands="reload" + +depend() { + need logger + use antivirus net + provide mta +} + +tidy_dbs() { + local spooldir=$(/usr/sbin/exim -C /etc/exim/${SVCNAME}.conf -bP -n spool_directory) + local db + local ret=0 + ebegin "Tidying hints databases in ${spooldir}/db" + for db in "${spooldir}"/db/* ; do + [[ ${db} == *".lockfile" || ${db} == *"*" ]] && continue + /usr/sbin/exim_tidydb ${TIDY_OPTS} "${spooldir}" ${db##*/} > /dev/null + : $((ret += $?)) + done + eend ${ret} +} + +start() { + # if you use multiple instances, make sure you set spool_directory + # in the configfile + tidy_dbs + ebegin "Starting ${SVCNAME}" + start-stop-daemon --start --exec /usr/sbin/exim --pidfile /run/${SVCNAME}.pid -- -C /etc/exim/${SVCNAME}.conf ${EXIM_OPTS:--bd -q15m} + eend $? +} + +stop() { + ebegin "Stopping ${SVCNAME}" + start-stop-daemon --stop --pidfile /run/${SVCNAME}.pid --name exim + eend $? +} + +reload() { + ebegin "Reloading ${SVCNAME}" + start-stop-daemon --signal HUP --pidfile /run/${SVCNAME}.pid --name exim + eend $? +} |