diff --git a/net-mail/dbmail/Manifest b/net-mail/dbmail/Manifest index c3eece9..b7b87dd 100644 --- a/net-mail/dbmail/Manifest +++ b/net-mail/dbmail/Manifest @@ -17,19 +17,19 @@ AUX dbmail-pop3d.initd 734 BLAKE2B 241a90cb2fbd77cd09c46a9a7ccbe7bdada0fe53326cd AUX dbmail-pop3d.rc 540 BLAKE2B 6d4ccd2508a38387a647c246dfccaab49520720834aa9094be6efc666b461f54bc6989ee960964cc7f6c70512bc703a9233c47a5347c2429e285afdb4d9f9ea8 SHA512 ed184a60ee72f1c6503ee14d00d2c2dbb5098895be1a5b87574418f20a68ea5e3843fef7fd77f2ac771fee8bd1ea564b804f916e23821304c8dcc5887d039045 AUX dbmail-startup-gentoo.patch 10704 BLAKE2B f8c72aaf30254a24df0a583c419d7437f3d954939038a4002d935d990a2539189db621ead1fab7fc7f8cce31155cb262e46749131ca5071b08e226c32d43b38e SHA512 34f2544fb6f9b1e33dff1733c7bcb718117145da5ba037508e851f25f27df4f954158fbbae677d0240fbb3a43f2d48144566a6cddd821fcbfd6b40f369b71021 AUX dbmail-timsieved.initd 720 BLAKE2B 8c3e54cff980f804d54c1be0e8c009275cd0138b48db921a80337474530c6cd864bc1fad5ebc5819da6c4cbb1d6aab8e3c68fb29facf7fd2be535d1b483c32db SHA512 9127abfde2b6222a273ad28227f1e89e5a85e81386ef94a49d965308bfb62b3792c4ec53df59d7619a0adc71634433b811da6e92a2c5bc445ddd47baf1ab3a9b -AUX dbmail.tmpfiles 35 BLAKE2B cdbb94deabfc3a971edbe7f2f2e49f3a8888b998318956d91c4b2b29ad9a5555cf7006511afdddc3115eaab7538143cc2316793d50d667de29f0f8326c9f73ad SHA512 291e579101e8ffeaa17298a7cf54c07f471de0ecbcf1559c394f965a8a0146b985fa2138c8e03c9a3712098225f5d46db959a7e312554ace0ab4c86b05d13b41 DIST dbmail-3.2.3.tar.gz 2444227 BLAKE2B baa812fb3e925e6d896762596426208fc2ac5fcb01cb8100cfbd0464f1342f934c099ca52fd857e05fc82b97227155e9dcfc987d6c9b5c37e7daf21b167c9841 SHA512 29cc89830278f2ff28a4221fc81d4ff13cc371fbca7fb51d5376e9243234220b552cb4b6ec035c150e6cfa178435c4f36b9ce132fc02334bc6cdeb1a41c8ed85 DIST dbmail-3.2.4.tar.gz 2461068 BLAKE2B 2aea108bd314f2f0f3ac5c1764683aa093f07b9642a2a25db08c8b765387ddbc2d02972ea3ede7e86de09aa7bb2d7a4c8423d2e3ab6831a5c613b93c97ee0e82 SHA512 34df0b17307e3d4bd255b4f3f9df59791379fc0b090a73af9dfb02f416747051cbc7a34039384906ab30d6208efbe9c470de9c950d3ace6129292ec8c8fb1786 DIST dbmail-3.2.5.tar.gz 2463966 BLAKE2B f4099c6f869dbb041d7eccdf20f3a34d36918237cc0386c71a1d339da8651b9301e676b25201856038045bb9590f880353c6ccafd57330f9cf48382c1b4c603c SHA512 6b0d7e1f6f7449869db1e094ffce9e1ef315c60784ea5ae5f814f2cf9a18c358b4c5d107a420c7317961ffa343fc59c9083789177514aee96523927688f276a0 DIST dbmail-3.2.6.tar.gz 2520233 BLAKE2B 55e818a825c4c798b89790b1faa50245dd433f5cc0268e5908bf802cda2755881b5c1d9ce581e21166d8259a2081237d6c2dd88a0f5d4df14456791e414a3bcb SHA512 1b5b1e843415100151ac46f58ece228f04e330d8816301532d6cd889736afb1b7786f4a2162361de0fa8756173848402c769aa91cceb8c1e1abb962b839fc39f DIST dbmail-3.3.0.tar.gz 2520817 BLAKE2B 4e3423fa7b8b5abe37e0a91afc9accb47dd88dc9d116632d27f206e062d1601e3b2e99b1286f7d0ee8241f72606bcb898385f56f926ba731623ff4f8ffdaf86c SHA512 50b778b409350035a97f44d4bd0c139331e6d3ada4116fb94e910ee20c84e677d78187bd7f35b0efc09bef82cf6c8d5108860e2357363edbd51f99c0ac85239a +DIST dbmail-3.3.1.tar.gz 2523029 BLAKE2B fd7bd7b6a40772c8c309b2bc9cf3cd907a8b885367fe6b1c23bdd1f4d6281b7f8878caf481171ec4ad71f2644f516100da5c6ee7dfa0d4d7139725a3181a8ef5 SHA512 d0324d79d4871cc46ce3bbc5c0d8c2f587d57f262a878f685b776d8e1b4a58a67e5a0f0cf0f48c939dc3424f8a44dd78e929ea2588ab10d0246a10b3ee5c55c5 EBUILD dbmail-3.2.3-r102.ebuild 4749 BLAKE2B a5b5f821cd256bee124d0649b910718db20b679f76fde36ff5a82e51fbc15fade8380c99ebc367a68a2ecd7c7ab1b9c43c4ea00f27d1a8f5408968ec2db16071 SHA512 aabb8ce3bd21b133cf32bd9323a5970d8c173be6d13ba013e7d99107b7370545ac6dde716f395fcdd83e185358b87a0275f30a87ae0076817038eed959baac4c EBUILD dbmail-3.2.4-r2.ebuild 5029 BLAKE2B a54c7b4cd5f796f49334336f518d7c38c6aff9f0e10c7ba992dbe227ab19fe826470a1eefdef551826511ae64d50dfe2e2d1e57692af65254da4affc09b456c7 SHA512 bf0b4655f8b64d1dd27e665c2f9fcff74f598069c34ee2ed0d6b00dc020bb6d07af6a85affd710f47119b632d8f127aff3f57bf153ffd8e36ab4fba86c26aa8e EBUILD dbmail-3.2.4.ebuild 4876 BLAKE2B dcd2aef5ad6572080af315eb5604137ec7b340f3b1b3858a0591a30ef5d95cd95569a7b68e4aeeed356464cfcbd6b37e34d0d89e790da296f7a639ec6031d5ce SHA512 50caa2e33bd1f8111df1d3c44a43093e6a776287122e70208ab6a63f4201b790cc8edf6ddd13a1b2ad1bc735b6ee40372c483e4c0c028b0d43125ad558ffad93 EBUILD dbmail-3.2.5-r2.ebuild 2440 BLAKE2B 00c1740b96418850b8f8f71220ff06f4879df5ba0522930305e4fd087819639c4e291af1cb1a4cbc6e918ea85c36f840a40779099802ba612df8b5a4e0f674c4 SHA512 36c0abd2b88422e4497036dfbbaebcd749e605edbe31609c88fa60ee101a4c2ad7b6b1d2d40b648c0f22289fa29be3f0dd386764b6cd9acb057474fd6bcba282 EBUILD dbmail-3.2.5.ebuild 2433 BLAKE2B 6830616ea4e99605fdc88cd30322bc5df24b3e673bd83a6189f43608586ba1643f4b1cb02eb1ddc7313832ce9c2bf1931ee4eb967ce1e7b38c1e76ddb1be0d0b SHA512 730b9793e00bf28e99eec82c14ba6e4dd28530b2382d26f4e54aacb6879fa14b55a0a237340e542f24e5e4cc7ad8738365360c5581c214af5bef43f62ebfae2a -EBUILD dbmail-3.2.6-r1.ebuild 2440 BLAKE2B 00c1740b96418850b8f8f71220ff06f4879df5ba0522930305e4fd087819639c4e291af1cb1a4cbc6e918ea85c36f840a40779099802ba612df8b5a4e0f674c4 SHA512 36c0abd2b88422e4497036dfbbaebcd749e605edbe31609c88fa60ee101a4c2ad7b6b1d2d40b648c0f22289fa29be3f0dd386764b6cd9acb057474fd6bcba282 +EBUILD dbmail-3.2.6-r2.ebuild 2555 BLAKE2B c958add074732e64343ebad5b648cca158d864b47ae4475208a129b45faa16593fde47fb98d0468149fed3403413f3ee391c370279d7f9a42bc2c580ebb92e7f SHA512 3a33d6dcbe4923a22e3d36244b654b0d130b8ad080e2f51e8b15573d97d87cd955176a1b0698ea69806e16291e141d5e01b747ad0b12bf8aa5e6b854b0a62902 EBUILD dbmail-3.2.6.ebuild 2393 BLAKE2B 157dcd4e53ba3fc54ee20b2acee586c23944e38aa59bb70362e96a5404ee84be58236357668e51e3881e0724a69349b0483d788a5fcb3ed0ed9229c3ffe66766 SHA512 d0e58dda7855d6e48e3f3a748f25075d5229eeb6b9993e2dbdad923c262a2e9ca4177bd71c464b819dddc26cb174f2dfacc3983767c66cf798ff0ebd9994e896 EBUILD dbmail-3.3.0.ebuild 2509 BLAKE2B 6b6a0f1bf96f48abb89e5f4d39ddb89cfeec191fe5e6188efa4e1160abad218c2c145c5c0195a3f6621e01e68c0bc7d4872067157937bdf3ccecca3fa461f10d SHA512 11f9406404037a580f2e7b2f62996449f64b8f3c93fcca82977ba3e96088401d5017001e817ebdd9699da27e6721b3ce05e8458257c2b35aeb25b6c65141080a -MISC dbmail.diff 343 BLAKE2B e5a8c5e4a1495ca1a0f0d35053e647c23ac96f26051fce32ba7d198aa17f7eaae42281ad455c61250b01a80eb5c0bc35e4a8e3949df03b0651510e217a82815c SHA512 e7babaca19be91a6fa973806fb29ed7a414aaf2d01c4905008a900fb389d90c28a77baac8e40b7b3ec09292ea0781196d7052b9395166bc466beb25dff82fa07 +EBUILD dbmail-3.3.1.ebuild 2509 BLAKE2B 6b6a0f1bf96f48abb89e5f4d39ddb89cfeec191fe5e6188efa4e1160abad218c2c145c5c0195a3f6621e01e68c0bc7d4872067157937bdf3ccecca3fa461f10d SHA512 11f9406404037a580f2e7b2f62996449f64b8f3c93fcca82977ba3e96088401d5017001e817ebdd9699da27e6721b3ce05e8458257c2b35aeb25b6c65141080a MISC metadata.xml 644 BLAKE2B 70a3c2d8665df2f44e04a95a47ba9ff39778fb386c0cd9d23fe0bf824767a432c5fd9b7a87a50635b9d6592dc72632957be5c45e6777cb77625810a38823f354 SHA512 e1be3706af1329c23f831c4b2d58e076bdd0f5f30c01a4a08fd7554be392ea1dfb5f219c6852099f9c45df17cd37a71a3c228434fddbcebfac3a6ca235128877 diff --git a/net-mail/dbmail/dbmail-3.2.6-r1.ebuild b/net-mail/dbmail/dbmail-3.2.6-r2.ebuild similarity index 94% rename from net-mail/dbmail/dbmail-3.2.6-r1.ebuild rename to net-mail/dbmail/dbmail-3.2.6-r2.ebuild index 38bbc7b..4d49e77 100644 --- a/net-mail/dbmail/dbmail-3.2.6-r1.ebuild +++ b/net-mail/dbmail/dbmail-3.2.6-r2.ebuild @@ -3,7 +3,7 @@ EAPI=7 -inherit systemd readme.gentoo-r1 +inherit tmpfiles systemd readme.gentoo-r1 DESCRIPTION="Fast and scalable sql based email services" HOMEPAGE="https://www.dbmail.org/" @@ -75,6 +75,9 @@ src_install() { newinitd "${FILESDIR}/dbmail-lmtpd.initd" dbmail-lmtpd newinitd "${FILESDIR}/dbmail-pop3d.initd" dbmail-pop3d newinitd "${FILESDIR}/dbmail-timsieved.initd" dbmail-timsieved + newtmpfiles - dbmail.conf <<-EOF + d /run/dbmail 0755 dbmail dbmail - + EOF dobin contrib/mailbox2dbmail/mailbox2dbmail doman contrib/mailbox2dbmail/mailbox2dbmail.1 @@ -93,5 +96,6 @@ src_install() { } pkg_postinst() { + tmpfiles_process dbmail.conf readme.gentoo_print_elog } diff --git a/net-mail/dbmail/dbmail-3.3.1.ebuild b/net-mail/dbmail/dbmail-3.3.1.ebuild new file mode 100644 index 0000000..e0c022e --- /dev/null +++ b/net-mail/dbmail/dbmail-3.3.1.ebuild @@ -0,0 +1,101 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit tmpfiles systemd readme.gentoo-r1 + +DESCRIPTION="Fast and scalable sql based email services" +HOMEPAGE="https://www.dbmail.org/" +SRC_URI="https://github.com/dbmail/dbmail/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="+doc jemalloc ldap sieve ssl static systemd" + +DEPEND="dev-db/libzdb + sieve? ( >=mail-filter/libsieve-2.2.1 ) + ldap? ( >=net-nds/openldap-2.3.33 ) + jemalloc? ( dev-libs/jemalloc ) + app-text/asciidoc + app-text/xmlto + app-crypt/mhash + sys-libs/zlib + dev-libs/gmime:3.0 + >=dev-libs/glib-2.16 + dev-libs/libevent:= + virtual/libcrypt:= + ssl? ( + dev-libs/openssl:0= + )" +RDEPEND="${DEPEND} + acct-group/dbmail + acct-user/dbmail" +DOCS=( AUTHORS README.md INSTALL THANKS UPGRADING ) + +README_GENTOO_SUFFIX="" + +src_prepare() { + sed -i -e "s:nobody:dbmail: ; s:nogroup:dbmail: ; s:/var/run:/run/dbmail:" dbmail.conf || die + # 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 || die + + default +} + +src_configure() { + econf \ + --enable-manpages \ + --sysconfdir=/etc/dbmail \ + $(use_enable doc manpages) \ + $(use_enable static) \ + $(use_enable systemd) \ + $(use_with jemalloc) \ + $(use_with sieve) \ + $(use_with ldap auth-ldap) +} + +src_install() { + emake DESTDIR="${D}" SYSTEMD_UNIT_DIR="$(systemd_get_systemunitdir)" install + einstalldocs + + docompress -x /usr/share/doc/${PF}/sql + dodoc -r sql + dodoc -r test-scripts + dodoc -r contrib + ## TODO: install other contrib stuff + + insinto /etc/dbmail + newins dbmail.conf dbmail.conf.dist + + # 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 + newtmpfiles - dbmail.conf <<-EOF + d /run/dbmail 0755 dbmail dbmail - + EOF + + + dobin contrib/mailbox2dbmail/mailbox2dbmail + doman contrib/mailbox2dbmail/mailbox2dbmail.1 + + # 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 + + readme.gentoo_create_doc +} + +pkg_postinst() { + tmpfiles_process dbmail.conf + readme.gentoo_print_elog +}