[arch-commits] Commit in dovecot-fts-elastic/trunk (PKGBUILD)

Justin Kromlinger hashworks at gemini.archlinux.org
Tue Feb 8 08:28:50 UTC 2022


    Date: Tuesday, February 8, 2022 @ 08:28:49
  Author: hashworks
Revision: 1129007

Rebuild for dovecot 2.3.18, fix version check API usage

Modified:
  dovecot-fts-elastic/trunk/PKGBUILD

----------+
 PKGBUILD |   11 +++++++++--
 1 file changed, 9 insertions(+), 2 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2022-02-08 08:27:46 UTC (rev 1129006)
+++ PKGBUILD	2022-02-08 08:28:49 UTC (rev 1129007)
@@ -4,13 +4,13 @@
 # This must be built against the version of dovecot being used,
 # else mail delivery will fail.
 # Specify the version of dovecot to be used here:
-_dcpkgver=2.3.17.1
+_dcpkgver=2.3.18
 # Make sure to bump pkgrel if changing this.
 
 pkgname=dovecot-fts-elastic
 _reponame=fts-elastic
 pkgver=1.0.0
-pkgrel=8
+pkgrel=9
 pkgdesc="Dovecot FTS plugin for elasticsearch"
 arch=(x86_64)
 url="https://github.com/filiphanes/fts-elastic"
@@ -23,6 +23,13 @@
             '3442fa7350055c7328bcdf2f666727b9a5d8c942a0bfe93044db344c80ad7e69')
 install=dovecot-fts-elastic.install
 
+prepare() {
+  cd "${_reponame}-${pkgver}"
+
+  # https://github.com/filiphanes/fts-elastic/pull/23
+  sed -i 's/DOVECOT_PREREQ(2,3)/DOVECOT_PREREQ(2,3,0)/g' src/elastic-connection.c src/fts-backend-elastic.c src/fts-backend-elastic.c src/fts-elastic-plugin.h
+}
+
 build() {
   cd "${_reponame}-${pkgver}"
 



More information about the arch-commits mailing list