From d310b3f5d3c99551b9116a1cb3ffc0d4dc408211 Mon Sep 17 00:00:00 2001 From: Sandino Araico Sanchez Date: Mon, 23 Oct 2023 18:12:52 -0600 Subject: [PATCH] net-mail/dbmail-3.4.1: version bump --- net-mail/dbmail/Manifest | 2 + net-mail/dbmail/dbmail-3.4.1.ebuild | 101 ++++++++++++++++++++++++++++ 2 files changed, 103 insertions(+) create mode 100644 net-mail/dbmail/dbmail-3.4.1.ebuild diff --git a/net-mail/dbmail/Manifest b/net-mail/dbmail/Manifest index 7f06761..7e5cbd8 100644 --- a/net-mail/dbmail/Manifest +++ b/net-mail/dbmail/Manifest @@ -24,6 +24,7 @@ DIST dbmail-3.2.6.tar.gz 2520233 BLAKE2B 55e818a825c4c798b89790b1faa50245dd433f5 DIST dbmail-3.3.0.tar.gz 2520817 BLAKE2B 4e3423fa7b8b5abe37e0a91afc9accb47dd88dc9d116632d27f206e062d1601e3b2e99b1286f7d0ee8241f72606bcb898385f56f926ba731623ff4f8ffdaf86c SHA512 50b778b409350035a97f44d4bd0c139331e6d3ada4116fb94e910ee20c84e677d78187bd7f35b0efc09bef82cf6c8d5108860e2357363edbd51f99c0ac85239a DIST dbmail-3.3.1.tar.gz 2523029 BLAKE2B fd7bd7b6a40772c8c309b2bc9cf3cd907a8b885367fe6b1c23bdd1f4d6281b7f8878caf481171ec4ad71f2644f516100da5c6ee7dfa0d4d7139725a3181a8ef5 SHA512 d0324d79d4871cc46ce3bbc5c0d8c2f587d57f262a878f685b776d8e1b4a58a67e5a0f0cf0f48c939dc3424f8a44dd78e929ea2588ab10d0246a10b3ee5c55c5 DIST dbmail-3.4.0.tar.gz 2529042 BLAKE2B cd107ca3fb3e3e338b1df3abdaf12b23338275b79fd6b6669ddb326b1df7e9956a70c4a7bde7b3a2319e7ad479a2842f953f1b71bcb4b56fca41d5b6632ee2c7 SHA512 1e3f1df2312ecc87e85a5f089299660e60abba8e0285beec773d38baf45c2173691cc936a699919df531a43004c84841e66f88677c547a18ad8685f532f86b29 +DIST dbmail-3.4.1.tar.gz 2531604 BLAKE2B bca7935b9a6b237cfd69afa72c895bdd393c5cd7875b856805f3534a818eecd5564c4e08c432b7f6d3a33bec0be3596169900025141596426542ad73844a4624 SHA512 bf9c55c796306008e957812c9fad6eb4e5ea35c749aafbf035d4e05f59db568f91f9857ad049f5d7b85107332764e030428203e6b67dbe82ad8a26fe6c3e0d6d 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 @@ -33,4 +34,5 @@ EBUILD dbmail-3.2.6.ebuild 2393 BLAKE2B 157dcd4e53ba3fc54ee20b2acee586c23944e38a EBUILD dbmail-3.3.0.ebuild 2509 BLAKE2B 6b6a0f1bf96f48abb89e5f4d39ddb89cfeec191fe5e6188efa4e1160abad218c2c145c5c0195a3f6621e01e68c0bc7d4872067157937bdf3ccecca3fa461f10d SHA512 11f9406404037a580f2e7b2f62996449f64b8f3c93fcca82977ba3e96088401d5017001e817ebdd9699da27e6721b3ce05e8458257c2b35aeb25b6c65141080a EBUILD dbmail-3.3.1.ebuild 2509 BLAKE2B 6b6a0f1bf96f48abb89e5f4d39ddb89cfeec191fe5e6188efa4e1160abad218c2c145c5c0195a3f6621e01e68c0bc7d4872067157937bdf3ccecca3fa461f10d SHA512 11f9406404037a580f2e7b2f62996449f64b8f3c93fcca82977ba3e96088401d5017001e817ebdd9699da27e6721b3ce05e8458257c2b35aeb25b6c65141080a EBUILD dbmail-3.4.0.ebuild 2704 BLAKE2B 9d628c3f289609863f46d07f1859f0900de9df65c7d7a4091a9a43f84ffd6ef2aee0be554a33baa37dfa82baf9059c11e73851b27dce2da454e04aefc47fdef5 SHA512 aa9edbb71fe4c64a42ca4cf55d209d4dd251120f858d4019f239c36b35a424e220b47b0f62c069a854ac3cbfc2e15c9e499546cb35937af5abf1f84ceaacda38 +EBUILD dbmail-3.4.1.ebuild 2584 BLAKE2B 8272ae4f99505bb592394c9673bb5d3f720abdb0e833cbe7ef242e45263d58165d5925d86cb1f5ed1a57def936ca8fb2263903b270a2fbf91e0e7bb5ed6c17ce SHA512 1533f5eee57e82794629794e5a1200a038c9fd1c9930ee5e0933355a2607639ac592e71d9d065f5d5b9f78e8bc4dd613e285fba4c5257696889e1dcd97115b26 MISC metadata.xml 644 BLAKE2B 70a3c2d8665df2f44e04a95a47ba9ff39778fb386c0cd9d23fe0bf824767a432c5fd9b7a87a50635b9d6592dc72632957be5c45e6777cb77625810a38823f354 SHA512 e1be3706af1329c23f831c4b2d58e076bdd0f5f30c01a4a08fd7554be392ea1dfb5f219c6852099f9c45df17cd37a71a3c228434fddbcebfac3a6ca235128877 diff --git a/net-mail/dbmail/dbmail-3.4.1.ebuild b/net-mail/dbmail/dbmail-3.4.1.ebuild new file mode 100644 index 0000000..a23f9c9 --- /dev/null +++ b/net-mail/dbmail/dbmail-3.4.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="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~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 +}