commit:     aaa0d5eb43b516130035d635265c2285bb9b572a
Author:     Philippe Chaintreuil <gentoo_bugs_peep <AT> parallaxshift <DOT> com>
AuthorDate: Sat Nov 16 00:18:42 2024 +0000
Commit:     Philippe Chaintreuil <gentoo_bugs_peep <AT> parallaxshift <DOT> com>
CommitDate: Sat Nov 16 00:18:42 2024 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=aaa0d5eb

net-mail/dovecot-fts-xapian: add 1.7.18

Signed-off-by: Philippe Chaintreuil <gentoo_bugs_peep <AT> parallaxshift.com>

 net-mail/dovecot-fts-xapian/Manifest               |  1 +
 .../dovecot-fts-xapian-1.7.18.ebuild               | 49 ++++++++++++++++++++++
 2 files changed, 50 insertions(+)

diff --git a/net-mail/dovecot-fts-xapian/Manifest 
b/net-mail/dovecot-fts-xapian/Manifest
index 91adf7106..26eff9578 100644
--- a/net-mail/dovecot-fts-xapian/Manifest
+++ b/net-mail/dovecot-fts-xapian/Manifest
@@ -4,5 +4,6 @@ DIST dovecot-fts-xapian-1.7.11.tar.gz 37307 BLAKE2B 
e841a4d71c02c2c846eb299a4a1e
 DIST dovecot-fts-xapian-1.7.12.tar.gz 37328 BLAKE2B 
5673e5455bf9ae5a28d3715dd7382bb3fca22af9654f5d40a58d02bd7d9f6e8eabb47dab56a732f2e784696313e7526feeb1d6e65f462c65a8210b7edef55d08
 SHA512 
516e621c055c495534e0fdcf1580af503a48323d343f75d8164d80676d8b436872e88faa6b869838da9bb6465586d005bcf9724420623c4e295c0fb6c82b9865
 DIST dovecot-fts-xapian-1.7.14.tar.gz 37622 BLAKE2B 
a6452ed5d940898d56fd0a40346e887a2dce03493b2b45963f0089b40737cdaaab02df5ad97d0a6b7ec606faf683a2e971bae6a3a206322bd3cfff42be3b8cf0
 SHA512 
cc1308a4da7a48dcdc926e233ee5b8be34623816931a2392020c352f017338a0a8e6c569ac7caba67332f72505981648c5d23f0e77fcf04454de2405a5d1dc1c
 DIST dovecot-fts-xapian-1.7.17.tar.gz 35008 BLAKE2B 
4b90b4193e6e62ce1c371f4f381829acdb1be141c4a9533cdda90f1a8a1fb6d7bcd888d3efe549d8e2e1e8baa5f9878e54cfa37e850d61472c40772f8f9611a1
 SHA512 
a5841d71a2aca0c10555e9a64d43c3b7b1ecd6785bac8178b392a3211ded9f2d40a76c1ba7297d65196e1b98cb549ed6284277762fafa87cd56381c9a2b43679
+DIST dovecot-fts-xapian-1.7.18.tar.gz 35160 BLAKE2B 
67f11719336366a8460e3b67b90b4909626b73cface42b845c9efa8dfc5a5a24212c6ed48b8e575786d870c7b8b416936841fd6cc5b1ea078b2d0498db7ae735
 SHA512 
fed0947c0c7870ef0519359863becea822a51b9c76bc59c7100a7c9961b05740845a3ea5755fbb30e6d79869cb0f5b5b35e60675284ffecee088dfb54f0d5dfc
 DIST dovecot-fts-xapian-1.7.6.tar.gz 36626 BLAKE2B 
4112204e78fce042a4db5e6d3bd5d12e2ca6be8199ded4f7b3b7e0ff9977268491aa7e524f00103e1ee07d5ce0b59dcea171c5be19c7857dbeae9416c4fe984e
 SHA512 
83b25bae097fceb56b62355cd8e10788bea850c2f312eb15fca72fb9c1d033d54e56c251eb27eeb971fe405da9d6a3509a3a700bbd0602d785949548ac15ba1f
 DIST dovecot-fts-xapian-1.7.9.tar.gz 36884 BLAKE2B 
6e2520a7b8a8250caa2a92af15e6eecdfbdbb542ff439e91baa0c084b3a6f6b02918decd0e0f0d888aba4db54b9566d63a796385a4d56970b69035845e20f84a
 SHA512 
9df23186648902c9ca38f861496bff3e00005096be960a138b7d20eb3baff2734e16949614d1207cce34f2d6626634f58b35ea2c0500e2981f05eea1ad9da718

diff --git a/net-mail/dovecot-fts-xapian/dovecot-fts-xapian-1.7.18.ebuild 
b/net-mail/dovecot-fts-xapian/dovecot-fts-xapian-1.7.18.ebuild
new file mode 100644
index 000000000..18a7328b4
--- /dev/null
+++ b/net-mail/dovecot-fts-xapian/dovecot-fts-xapian-1.7.18.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
+}

Reply via email to