Date: Monday, February 14, 2022 @ 19:55:15 Author: hashworks Revision: 1133230
archrelease: copy trunk to community-x86_64 Added: dovecot-fts-elastic/repos/community-x86_64/90-fts.conf (from rev 1133229, dovecot-fts-elastic/trunk/90-fts.conf) dovecot-fts-elastic/repos/community-x86_64/PKGBUILD (from rev 1133229, dovecot-fts-elastic/trunk/PKGBUILD) dovecot-fts-elastic/repos/community-x86_64/dovecot-fts-elastic.install (from rev 1133229, dovecot-fts-elastic/trunk/dovecot-fts-elastic.install) Deleted: dovecot-fts-elastic/repos/community-x86_64/90-fts.conf dovecot-fts-elastic/repos/community-x86_64/PKGBUILD dovecot-fts-elastic/repos/community-x86_64/dovecot-fts-elastic.install -----------------------------+ 90-fts.conf | 24 +++++----- PKGBUILD | 100 +++++++++++++++++++++--------------------- dovecot-fts-elastic.install | 24 +++++----- 3 files changed, 74 insertions(+), 74 deletions(-) Deleted: 90-fts.conf =================================================================== --- 90-fts.conf 2022-02-14 19:55:12 UTC (rev 1133229) +++ 90-fts.conf 2022-02-14 19:55:15 UTC (rev 1133230) @@ -1,12 +0,0 @@ -mail_plugins = $mail_plugins fts fts_elastic - -plugin { - fts = elastic - fts_elastic = debug url=http://localhost:9200/m/ bulk_size=5000000 refresh=fts rawlog_dir=/var/log/fts-elastic/ - -# no indexes new emails when user make search -# yes indexes every email when delivered - fts_autoindex = no -fts_autoindex_exclude = \Junk -fts_autoindex_exclude2 = \Trash -} Copied: dovecot-fts-elastic/repos/community-x86_64/90-fts.conf (from rev 1133229, dovecot-fts-elastic/trunk/90-fts.conf) =================================================================== --- 90-fts.conf (rev 0) +++ 90-fts.conf 2022-02-14 19:55:15 UTC (rev 1133230) @@ -0,0 +1,12 @@ +mail_plugins = $mail_plugins fts fts_elastic + +plugin { + fts = elastic + fts_elastic = debug url=http://localhost:9200/m/ bulk_size=5000000 refresh=fts rawlog_dir=/var/log/fts-elastic/ + +# no indexes new emails when user make search +# yes indexes every email when delivered + fts_autoindex = no +fts_autoindex_exclude = \Junk +fts_autoindex_exclude2 = \Trash +} Deleted: PKGBUILD =================================================================== --- PKGBUILD 2022-02-14 19:55:12 UTC (rev 1133229) +++ PKGBUILD 2022-02-14 19:55:15 UTC (rev 1133230) @@ -1,50 +0,0 @@ -# Maintainer: Justin Kromlinger <hashwo...@archlinux.org> -# Contributor: Marcus Hoffmann <b...@bubu1.eu> - -# 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 -# Make sure to bump pkgrel if changing this. - -pkgname=dovecot-fts-elastic -_reponame=fts-elastic -pkgver=1.0.0 -pkgrel=10 -pkgdesc="Dovecot FTS plugin for elasticsearch" -arch=(x86_64) -url="https://github.com/filiphanes/fts-elastic" -license=(MIT) -depends=("dovecot=${_dcpkgver}" json-c) -backup=('etc/dovecot/conf.d/90-fts.conf') -source=("$pkgname-$pkgver.tar.gz::$url/archive/$pkgver.tar.gz" - "90-fts.conf") -sha256sums=('00b1f214791a3d8e01eb9916138dc3d9a8978dd1fa6494c5ae5cf5b7902a0fd5' - '3442fa7350055c7328bcdf2f666727b9a5d8c942a0bfe93044db344c80ad7e69') -install=dovecot-fts-elastic.install - -build() { - cd "${_reponame}-${pkgver}" - - ./autogen.sh - ./configure \ - --prefix=/usr \ - --with-dovecot=/usr/lib/dovecot - - make - make DESTDIR="$(pwd)/build" install - sed -i -e 's/LLL/MMM/g' elastic7-schema.json -} - -package() { - install -Dm644 90-fts.conf "${pkgdir}/etc/dovecot/conf.d/90-fts.conf" - - cd "${_reponame}-${pkgver}" - - install -Dm644 build/usr/lib/dovecot/lib21_fts_elastic_plugin.so "${pkgdir}/usr/lib/dovecot/modules/lib21_fts_elastic_plugin.so" - install -Dm644 elastic7-schema.json "${pkgdir}/usr/share/doc/${pkgname}/elastic7-schema.json" - install -Dm644 README.md "${pkgdir}/usr/share/doc/${pkgname}/README.md" - install -Dm644 COPYING.MIT "${pkgdir}/usr/share/licenses/${pkgname}/COPYING.MIT" -} - -# vim: set tabstop=4:softtabstop=4:shiftwidth=4:noexpandtab Copied: dovecot-fts-elastic/repos/community-x86_64/PKGBUILD (from rev 1133229, dovecot-fts-elastic/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2022-02-14 19:55:15 UTC (rev 1133230) @@ -0,0 +1,50 @@ +# Maintainer: Justin Kromlinger <hashwo...@archlinux.org> +# Contributor: Marcus Hoffmann <b...@bubu1.eu> + +# 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.18 +# Make sure to bump pkgrel if changing this. + +pkgname=dovecot-fts-elastic +_reponame=fts-elastic +pkgver=1.1.0 +pkgrel=1 +pkgdesc="Dovecot FTS plugin for elasticsearch" +arch=(x86_64) +url="https://github.com/filiphanes/fts-elastic" +license=(MIT) +depends=("dovecot=${_dcpkgver}" json-c) +backup=('etc/dovecot/conf.d/90-fts.conf') +source=("$pkgname-$pkgver.tar.gz::$url/archive/$pkgver.tar.gz" + "90-fts.conf") +sha256sums=('50aac69510cb504b6c7af7180a1d21fed3aadd47df30e5cd8ad50dfae5c36452' + '3442fa7350055c7328bcdf2f666727b9a5d8c942a0bfe93044db344c80ad7e69') +install=dovecot-fts-elastic.install + +build() { + cd "${_reponame}-${pkgver}" + + ./autogen.sh + ./configure \ + --prefix=/usr \ + --with-dovecot=/usr/lib/dovecot + + make + make DESTDIR="$(pwd)/build" install + sed -i -e 's/LLL/MMM/g' elastic7-schema.json +} + +package() { + install -Dm644 90-fts.conf "${pkgdir}/etc/dovecot/conf.d/90-fts.conf" + + cd "${_reponame}-${pkgver}" + + install -Dm644 build/usr/lib/dovecot/lib21_fts_elastic_plugin.so "${pkgdir}/usr/lib/dovecot/modules/lib21_fts_elastic_plugin.so" + install -Dm644 elastic7-schema.json "${pkgdir}/usr/share/doc/${pkgname}/elastic7-schema.json" + install -Dm644 README.md "${pkgdir}/usr/share/doc/${pkgname}/README.md" + install -Dm644 COPYING.MIT "${pkgdir}/usr/share/licenses/${pkgname}/COPYING.MIT" +} + +# vim: set tabstop=4:softtabstop=4:shiftwidth=4:noexpandtab Deleted: dovecot-fts-elastic.install =================================================================== --- dovecot-fts-elastic.install 2022-02-14 19:55:12 UTC (rev 1133229) +++ dovecot-fts-elastic.install 2022-02-14 19:55:15 UTC (rev 1133230) @@ -1,12 +0,0 @@ -#!/bin/bash - -post_install() { - cat <<-EOF - Make sure elasticsearch is started, then create the index mapping with: - - curl -X PUT "http://localhost:9200/m?pretty" -H 'Content-Type: application/json' -d "@/usr/share/doc/dovecot-fts-elastic/elastic7-schema.json" - - Make sure the /etc/dovecot/conf.d/90-fts.conf file is included in you dovecot configuration, then restart dovecot. - For more info see: https://github.com/filiphanes/fts-elastic#configuration. - EOF -} Copied: dovecot-fts-elastic/repos/community-x86_64/dovecot-fts-elastic.install (from rev 1133229, dovecot-fts-elastic/trunk/dovecot-fts-elastic.install) =================================================================== --- dovecot-fts-elastic.install (rev 0) +++ dovecot-fts-elastic.install 2022-02-14 19:55:15 UTC (rev 1133230) @@ -0,0 +1,12 @@ +#!/bin/bash + +post_install() { + cat <<-EOF + Make sure elasticsearch is started, then create the index mapping with: + + curl -X PUT "http://localhost:9200/m?pretty" -H 'Content-Type: application/json' -d "@/usr/share/doc/dovecot-fts-elastic/elastic7-schema.json" + + Make sure the /etc/dovecot/conf.d/90-fts.conf file is included in you dovecot configuration, then restart dovecot. + For more info see: https://github.com/filiphanes/fts-elastic#configuration. + EOF +}