From 5add9dfb4c02bf341108744093f871acfd6b0939 Mon Sep 17 00:00:00 2001 From: Philippe Chaintreuil Date: Wed, 15 Jan 2025 06:19:33 -0500 Subject: [PATCH] net-mail/dovecot-fts-xapian: add 1.8.6 Signed-off-by: Philippe Chaintreuil --- net-mail/dovecot-fts-xapian/Manifest | 1 + .../dovecot-fts-xapian-1.8.6.ebuild | 49 +++++++++++++++++++ 2 files changed, 50 insertions(+) create mode 100644 net-mail/dovecot-fts-xapian/dovecot-fts-xapian-1.8.6.ebuild diff --git a/net-mail/dovecot-fts-xapian/Manifest b/net-mail/dovecot-fts-xapian/Manifest index 476392622c..7916cded2f 100644 --- a/net-mail/dovecot-fts-xapian/Manifest +++ b/net-mail/dovecot-fts-xapian/Manifest @@ -3,4 +3,5 @@ DIST dovecot-fts-xapian-1.7.18.tar.gz 35160 BLAKE2B 67f11719336366a8460e3b67b90b DIST dovecot-fts-xapian-1.8.1.tar.gz 35389 BLAKE2B 2e9d79930fa5bd9c49fa3b0f20a08e7f5684e41207f13ba09fd25e0d2a91de87d6ccd4b5e5c193a7d5b2d4a3cd0edb925e039b54ddbb8b940818a1ea641ce800 SHA512 e99f06c6b631506f9b61d9de1e5ec62d5bd7ef88a4e5220df597768c446f06e5aed70ef078fc3c9024cda14f37f8b9f7ce9f8007f86e1c6ec4e8c9914e874323 DIST dovecot-fts-xapian-1.8.3.tar.gz 35330 BLAKE2B 8338708c364d883943539ae6e5d2e1eac31d2dd6861b76a233aabf5f069c64a4d77fd865e59f124ec7fb42367c0e6348542f26f5441fac2392d3877be9ae5ea0 SHA512 9dbe62c9aa5571ee621e8d46ba356a0108780f54a143e667bd82b8befa55f2e64112cfd3c5413ab2b3612917f39a1a6a8d9bdcca00fb4437d6c3d3543391496d DIST dovecot-fts-xapian-1.8.4.tar.gz 35418 BLAKE2B 202b6b6188685c679cad458c3c9703f27bc95397f27124b7c74b8ebbf1f251e5c9344456c4bf4fb58b9b27058b01f2d21d9df7814ac5fdfb8da32e617320885a SHA512 f7e3040def3a7c7dcd45efd59f19c4faa5ff1ca4690dd34b90a7319352b174da7ce0b156719a3268259ccd80c7ec11257305c64450b81dfbd176fa11bfec7bff +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 diff --git a/net-mail/dovecot-fts-xapian/dovecot-fts-xapian-1.8.6.ebuild b/net-mail/dovecot-fts-xapian/dovecot-fts-xapian-1.8.6.ebuild new file mode 100644 index 0000000000..18a7328b4e --- /dev/null +++ b/net-mail/dovecot-fts-xapian/dovecot-fts-xapian-1.8.6.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 +}