diff options
author | V3n3RiX <venerix@koprulu.sector> | 2024-12-29 06:30:44 +0000 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2024-12-29 06:30:44 +0000 |
commit | 0e12f8e53cdddba84b0eb27dca59153e2cf52309 (patch) | |
tree | 8dec970370295a71970b82457ae1db36dbbbd07c /net-mail/dbmail | |
parent | 72fd2b48b7154274a1d2009cdaab54e7f49fb3aa (diff) |
gentoo auto-resync : 29:12:2024 - 06:30:44
Diffstat (limited to 'net-mail/dbmail')
-rw-r--r-- | net-mail/dbmail/Manifest | 3 | ||||
-rw-r--r-- | net-mail/dbmail/dbmail-3.4.1.ebuild | 100 | ||||
-rw-r--r-- | net-mail/dbmail/files/dbmail-3.4.1-fix-incompatible-pointer-type.patch | 13 |
3 files changed, 116 insertions, 0 deletions
diff --git a/net-mail/dbmail/Manifest b/net-mail/dbmail/Manifest index ff623977ea17..3e22dc992bc1 100644 --- a/net-mail/dbmail/Manifest +++ b/net-mail/dbmail/Manifest @@ -1,5 +1,6 @@ AUX README.gentoo 1652 BLAKE2B beb9d27ac8de471d4ac8a3c4f626e7005d471477943b424b2603fe9ec92a6910bf0102c472e2d17dc1217d4bd6c286cd50da5d9b5fc6bd23c436cec8c0a84afd SHA512 0af8a295ce85260ca559f6491e8b7e318125b4f424639877a5744d0906023ccbd63c18b59f7fdb60da7994df9c3f62cef10a5db0ee940aa12c2382e33340f0a2 AUX dbmail-3.2.3-fno-common.patch 310 BLAKE2B 1166b001939b200e43b2dd048413e55bd53c9c385f93b40e95ee8306d3386eb365ee30c7ba26c853cc81ca231fd4d4551886f6760697ed40e1cdefd5617ecef3 SHA512 32f2524fdf0e6bf59bc0138d2fb62edad00c6700740fc21281de29dd3b455136bde4072ccf5017425cd417c5408498b688ee453f53166aa80eccba20382d736d +AUX dbmail-3.4.1-fix-incompatible-pointer-type.patch 430 BLAKE2B ee74bf34e7dcc51c7e190fff0ff03b396b65aaf61c38908a2e3685587e12a926806689d486797dc64d8ee918430375b87bf3142e310604644dce939ad70ec6b0 SHA512 43f64a01cadfbe69cd154e60451f7cbe1b7ad4b94fbfa63b61447dca2f6c7fd181d783284333dd315caa7a886a283f9914a177e4ec7556cf2ec834ed991a44f5 AUX dbmail-imapd.initd 865 BLAKE2B 91559b221dca0efb06c14c3b3b4f4fdeb40125694319c69610f56c0db44f33d4d173c21b1ac84961f57b5dc232d0e4be7c711cde667f52e3dae68abc75b05341 SHA512 e41e86a332d8862ea52b8884fc855985ba78ca060114943db70c4fe085f327fe160d8c41a8c4c1126f887d5250cc65ee2756d8e85e4d63a9bbc9dd307f2678a9 AUX dbmail-lmtpd.initd 865 BLAKE2B ad7b7aa8257bb7eaf221c73fdaf76b0e1d57c3156511ce7666f9211a8a3f04be2723003bcfbad109a033ba647905381f028105b9cf0f05b386ed3c808aeda7ce SHA512 ae6e83cda8e19b6e995783008732b6b005ae6732238d73dad784a1eb28ebdc542bddcec2cad48570231c535db5325983afaef2387a4bbd067030157694453d86 AUX dbmail-pop3d.initd 865 BLAKE2B ec5469bd57f8f2fff498999bf655923d2554f7142957da538f7951fbf8279a560234502b9fe42a4e26db23033875244bb5c80686bf9cdfd1759ca4a2ad3936a8 SHA512 bbdde37c66269b0e1815e6e80551f043f703884424cdebe8f04238e377292478dd4981c86c08a2a30ab1d458d10bc50ffd415ddd94062d725e13a2ac4bb1665e @@ -7,7 +8,9 @@ AUX dbmail-timsieved.initd 928 BLAKE2B 821d60be820e8a89887cd95c3fe2d35b02f4db184 DIST dbmail-3.2.3.tar.gz 2444227 BLAKE2B baa812fb3e925e6d896762596426208fc2ac5fcb01cb8100cfbd0464f1342f934c099ca52fd857e05fc82b97227155e9dcfc987d6c9b5c37e7daf21b167c9841 SHA512 29cc89830278f2ff28a4221fc81d4ff13cc371fbca7fb51d5376e9243234220b552cb4b6ec035c150e6cfa178435c4f36b9ce132fc02334bc6cdeb1a41c8ed85 DIST dbmail-3.2.5.tar.gz 2463966 BLAKE2B f4099c6f869dbb041d7eccdf20f3a34d36918237cc0386c71a1d339da8651b9301e676b25201856038045bb9590f880353c6ccafd57330f9cf48382c1b4c603c SHA512 6b0d7e1f6f7449869db1e094ffce9e1ef315c60784ea5ae5f814f2cf9a18c358b4c5d107a420c7317961ffa343fc59c9083789177514aee96523927688f276a0 DIST dbmail-3.3.1.tar.gz 2523029 BLAKE2B fd7bd7b6a40772c8c309b2bc9cf3cd907a8b885367fe6b1c23bdd1f4d6281b7f8878caf481171ec4ad71f2644f516100da5c6ee7dfa0d4d7139725a3181a8ef5 SHA512 d0324d79d4871cc46ce3bbc5c0d8c2f587d57f262a878f685b776d8e1b4a58a67e5a0f0cf0f48c939dc3424f8a44dd78e929ea2588ab10d0246a10b3ee5c55c5 +DIST dbmail-3.4.1.tar.gz 2531604 BLAKE2B bca7935b9a6b237cfd69afa72c895bdd393c5cd7875b856805f3534a818eecd5564c4e08c432b7f6d3a33bec0be3596169900025141596426542ad73844a4624 SHA512 bf9c55c796306008e957812c9fad6eb4e5ea35c749aafbf035d4e05f59db568f91f9857ad049f5d7b85107332764e030428203e6b67dbe82ad8a26fe6c3e0d6d EBUILD dbmail-3.2.3-r5.ebuild 4001 BLAKE2B 1a1edf93977316e24e7b853a86aeef46da994bd3e11e19503381849a20259878a75735de13435caa5b2f36df7b83d92e442aa23eed31ce9999e1a29fa9e22fdd SHA512 51efb4e87a3b84673ae3b3557af44cc7f4088e6e9aa33c70eabda09855c0601bac57c8fbe6a7ef30d0b7eb99f3239d2f5dfb74ff92404e8d6ce51f9b204681b5 EBUILD dbmail-3.2.5-r2.ebuild 2488 BLAKE2B deb48dba464ba50e6e622937eb67683f20b39b76a46627326d7e9afe9a9fa7b7a62b9b1d83c917c13ec96c058da24103e201da444e9727a98539682dd0d090c0 SHA512 85dda086404d1cd0005bd5a64c5d1d4615555308f8196be5b72833c2c59be91a7a5bde24473bab0fa104e26890e2b7e1d6e9ef514228223bc6669b8f2eb607d4 EBUILD dbmail-3.3.1.ebuild 2488 BLAKE2B 56a3dc9e85b3b0788cc4716604ad711da9936bbffb1f7809cd61327c554f22b3f2cc69509c1169d7c758f426bd555763a41f3d3cc31c833e773155106ca5c445 SHA512 a553adc4062b692ebf0a17f90268b58cbb04ebc7b0e71624ddb08983eec5bd337f3acc383c5cdb4533eaee11c892682ebd6a46a9e208aeb5fe749f09906e76ec +EBUILD dbmail-3.4.1.ebuild 2556 BLAKE2B a6ebf7178c9f0d4257c0483b46b41a1983c8e0ca1ca53476b8df94737ace482ab4bfd2445893fa8e7ceff4780053b0251b4edbcb8ebd8a6dbdeb2edb0b1287b5 SHA512 9281c254fca25dd54b689c25b129ea71b4f0bf7ec06cf74fbab9d2e999ea5ddd80459a2fec1543a276a05f45487633f039a5ffcfa8d21dc05e3a5523f2772b2a MISC metadata.xml 571 BLAKE2B 68a2a0a6d1b2cb2837c7589125f4895269d60588760a43d7b275619b5e7a01cd4625f754da41a7a377673d09ae097f53144d62c451a316a5cf1f786ee18ac74e SHA512 b3e72b2de1aa541129542f907b0a3b332402bd7f3d5d1029c36769834eae1e9e5f67fdedc40d024630d93fe766c5f346eb7e6e366b443a82a8a5bc12f1ace7e6 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 000000000000..58dc5e39dea6 --- /dev/null +++ b/net-mail/dbmail/dbmail-3.4.1.ebuild @@ -0,0 +1,100 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit systemd readme.gentoo-r1 + +DESCRIPTION="Fast and scalable sql based email services" +HOMEPAGE="https://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:= ) + elibc_musl? ( sys-libs/queue-standalone ) + 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:= + )" +RDEPEND="${DEPEND} + acct-group/dbmail + acct-user/dbmail" +DEPEND+=" elibc_musl? ( sys-libs/queue-standalone )" +DOCS=( AUTHORS README.md INSTALL THANKS UPGRADING ) + +PATCHES=( "${FILESDIR}"/${P}-fix-incompatible-pointer-type.patch ) + +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 + + 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() { + readme.gentoo_print_elog +} diff --git a/net-mail/dbmail/files/dbmail-3.4.1-fix-incompatible-pointer-type.patch b/net-mail/dbmail/files/dbmail-3.4.1-fix-incompatible-pointer-type.patch new file mode 100644 index 000000000000..49ac4943f800 --- /dev/null +++ b/net-mail/dbmail/files/dbmail-3.4.1-fix-incompatible-pointer-type.patch @@ -0,0 +1,13 @@ +Take from: https://github.com/dbmail/dbmail/commit/01d5d422f88c5edd6f1f77787cd6459d756d00b4 + +--- a/src/dm_mailboxstate.c ++++ b/src/dm_mailboxstate.c +@@ -643,7 +643,7 @@ + + gboolean MailboxState_hasKeyword(T M, const char *keyword) + { +- if (g_list_find_custom(M->keywords, (gpointer)keyword, dm_strcmpdata)) ++ if (g_list_find_custom(M->keywords, (gpointer)keyword, (GCompareFunc) dm_strcmpdata)) + return TRUE; + return FALSE; + } |