commit: 44f93327aa3252d6016914998d6c602a84d1332e Author: Philippe Chaintreuil <gentoo_bugs_2_peep <AT> parallaxshift <DOT> com> AuthorDate: Sat Sep 6 16:46:07 2025 +0000 Commit: David Roman <davidroman96 <AT> gmail <DOT> com> CommitDate: Sat Sep 6 18:35:41 2025 +0000 URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=44f93327
net-mail/dovecot-fts-xapian: add 1.9.3 Signed-off-by: Philippe Chaintreuil <gentoo_bugs_2_peep <AT> parallaxshift.com> net-mail/dovecot-fts-xapian/Manifest | 1 + .../dovecot-fts-xapian-1.9.3.ebuild | 49 ++++++++++++++++++++++ 2 files changed, 50 insertions(+) diff --git a/net-mail/dovecot-fts-xapian/Manifest b/net-mail/dovecot-fts-xapian/Manifest index 900d313323..462fda6e23 100644 --- a/net-mail/dovecot-fts-xapian/Manifest +++ b/net-mail/dovecot-fts-xapian/Manifest @@ -6,4 +6,5 @@ DIST dovecot-fts-xapian-1.8.4.tar.gz 35418 BLAKE2B 202b6b6188685c679cad458c3c970 DIST dovecot-fts-xapian-1.8.6.tar.gz 35377 BLAKE2B 71e5b3f33f2794c92d7bef240cfc9365d6950cf8d0a9c216ce681287e7b00795b81962798b463f6fa5be8f640c3d9bf9f23d811a9017a7aeaa6211ada871a74b SHA512 8a558bda26a5208216f542518c99556bc04928967f8a5d56e50778d8f6acfb4308c4810b018a17a125942d4f5e2510597a1c0ea199226da05ee5ae99d97de0e7 DIST dovecot-fts-xapian-1.8.tar.gz 35196 BLAKE2B c30f2579ae168c18ff88e0b2dc65aec110a586a828ed69d5ec2a5b674af99c1dcb7525ac227522703b0a61491db5579e570cb5b8d9733403c978db7b2a0df0d8 SHA512 178922589ae307afbb465bdac9ba352c1198d4a97a204d190461751d0c117dad22119d964d8dbda2fb5f44a05f069536788a02e816a5822da28c8c96720c4a93 DIST dovecot-fts-xapian-1.9.1.tar.gz 38316 BLAKE2B 2166b2e8a9d05b74c7d7da05ca692adebc80652250633e1b87aeda65fbab8c37c9d06d320dff6f3f8574a89c054e67ab6196d4240e1a204134396be7cd9187a6 SHA512 2361cb613a932bdf780c0ef940c13186ff117dae2007ee5b8b250bcced21a93968aaa298b1f1b7f473276ebe8091e5d5e7fd34c891dfa82ab9fe2fc0788cb22e +DIST dovecot-fts-xapian-1.9.3.tar.gz 37816 BLAKE2B 1def496332a47a097a155d2c7911f839cf3fedacd447ad4bc2252fdbab3f12aa2242bcb07c5295841cd04b900f70ee404f882ff76bbd4bdf71d297f0b4d6cee7 SHA512 25c80c5ecb02c32f413e587b1e8c60d45fb3421ff65a80211bcfb2bb904e101f224946e69ade0e25069ba0a586a6b6b0c8c08061b521d326a7211c5fe88e85e8 DIST dovecot-fts-xapian-1.9.tar.gz 35564 BLAKE2B 61b85c1f891c8da0a5e44cbfc98f01e7713e18d7868a87178158fb3ada0bd06a938debb78f772866d37a0e5cf40e3479d47faa311743ad78a8a062b7284adc5d SHA512 05a67fa32da43f64638b8685d9abe0526656577d84e2b655de35b9c0cf20d5581318dad06f63025a8146207f92f447f150893b1f1f752b90f55b7e0d008eff8e diff --git a/net-mail/dovecot-fts-xapian/dovecot-fts-xapian-1.9.3.ebuild b/net-mail/dovecot-fts-xapian/dovecot-fts-xapian-1.9.3.ebuild new file mode 100644 index 0000000000..18a7328b4e --- /dev/null +++ b/net-mail/dovecot-fts-xapian/dovecot-fts-xapian-1.9.3.ebuild @@ -0,0 +1,49 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit autotools + +DESCRIPTION="Dovecot FTS plugin backed by Xapian" +HOMEPAGE="https://github.com/grosjo/fts-xapian" +SRC_URI="https://github.com/grosjo/fts-xapian/archive/refs/tags/${PV}.tar.gz -> ${P}.tar.gz" +S="${WORKDIR}/fts-xapian-${PV}" + +LICENSE="LGPL-2.1" +SLOT="0" +KEYWORDS="~amd64" + +IUSE="static-libs" + +RDEPEND=" + dev-libs/icu:= + >=dev-libs/xapian-1.4:= + net-mail/dovecot:= + dev-db/sqlite:* + " +DEPEND="${RDEPEND}" +BDEPEND="virtual/pkgconfig" + +PATCHES=( + "${FILESDIR}/bug-887887_allow-O2-override.patch" +) + +src_prepare() { + default + eautoreconf +} + +src_configure() { + # Disable hardening so CFLAGS are left up to the Gentoo user + # https://bugs.gentoo.org/888751 + econf \ + --enable-hardening=no \ + --with-dovecot="${EPREFIX}/usr/$(get_libdir)/dovecot" \ + $( use_enable static-libs static ) +} + +src_install() { + default + find "${ED}" -name '*.la' -delete || die +}
