[arch-commits] Commit in dovecot/repos/community-testing-x86_64 (10 files)
Thore Bödecker
foxxx0 at gemini.archlinux.org
Wed Dec 29 09:55:58 UTC 2021
Date: Wednesday, December 29, 2021 @ 09:55:58
Author: foxxx0
Revision: 1086856
archrelease: copy trunk to community-testing-x86_64
Added:
dovecot/repos/community-testing-x86_64/PKGBUILD
(from rev 1086855, dovecot/trunk/PKGBUILD)
dovecot/repos/community-testing-x86_64/dovecot.ld.so.conf
(from rev 1086855, dovecot/trunk/dovecot.ld.so.conf)
dovecot/repos/community-testing-x86_64/dovecot.pam
(from rev 1086855, dovecot/trunk/dovecot.pam)
dovecot/repos/community-testing-x86_64/dovecot.sysusersd
(from rev 1086855, dovecot/trunk/dovecot.sysusersd)
dovecot/repos/community-testing-x86_64/dovecot.tmpfilesd
(from rev 1086855, dovecot/trunk/dovecot.tmpfilesd)
Deleted:
dovecot/repos/community-testing-x86_64/PKGBUILD
dovecot/repos/community-testing-x86_64/dovecot.ld.so.conf
dovecot/repos/community-testing-x86_64/dovecot.pam
dovecot/repos/community-testing-x86_64/dovecot.sysusersd
dovecot/repos/community-testing-x86_64/dovecot.tmpfilesd
--------------------+
PKGBUILD | 255 +++++++++++++++++++++++++--------------------------
dovecot.ld.so.conf | 2
dovecot.pam | 10 +-
dovecot.sysusersd | 4
dovecot.tmpfilesd | 2
5 files changed, 138 insertions(+), 135 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2021-12-29 09:55:53 UTC (rev 1086855)
+++ PKGBUILD 2021-12-29 09:55:58 UTC (rev 1086856)
@@ -1,126 +0,0 @@
-# Maintainer: Johannes Löthberg <johannes at kyriasis.com>
-# Maintainer: Thore Bödecker <foxxx0 at archlinux.org>
-# Contributor: Bartłomiej Piotrowski <bpiotrowski at archlinux.org>
-# Contributor: Andreas Radke <andyrtr at archlinux.org>
-# Contributor: Paul Mattal <paul at mattal.com>
-# Contributor: Federico Quagliata (quaqo) <quaqo at despammed.com>
-# Contributor: GARETTE Emmanuel <gnunux at laposte dot net>
-# Contributor: Phillip Schichtel <phillip at schich.tel>
-
-# --->>> remember to rebuild/bump the following packages TOGETHER with a new dovecot ABI:
-# +pigeonhole
-# +dovecot-fts-elastic
-# +dovecot-fts-xapian
-
-pkgname=dovecot
-pkgver=2.3.17
-pkgrel=1
-
-pkgdesc="An IMAP and POP3 server written with security primarily in mind"
-url="https://dovecot.org/"
-arch=('x86_64')
-license=("LGPL")
-
-depends=('krb5' 'openssl' 'sqlite' 'mariadb-libs' 'libsodium'
- 'postgresql-libs' 'bzip2' 'lz4' 'expat' 'curl' 'pam' 'systemd-libs')
-makedepends=('libcap' 'libldap' 'lua53' 'xz' 'clucene' 'systemd')
-optdepends=('libldap: ldap plugin'
- 'lua53: LUA auth and push support'
- 'clucene: alternative FTS indexer')
-
-provides=('imap-server' 'pop3-server')
-
-backup=('etc/pam.d/dovecot')
-
-options=('!emptydirs')
-
-source=("https://dovecot.org/releases/2.3/${pkgname}-${pkgver}.tar.gz"{,.sig}
- 'dovecot.sysusersd'
- 'dovecot.tmpfilesd'
- 'dovecot.ld.so.conf'
- 'dovecot.pam')
-
-sha256sums=('224412cd77a23a3ffb857da294da200883d956082cff7257942eff2789bd2df9'
- 'SKIP'
- 'c5e3a8ffe23e5deb4f7893d9877d972347c2ee45c4ebf713de85c537e47cfcaf'
- '0b0625b1e66ca6a95d506fd00d6a68e70620c8ea28606e2528953ffb1806b08e'
- 'a457a1691cfa82495fc0503bfa4b61e54b149e63400fe0f568dff2c24a3f7858'
- 'ad9245f5e916480edd67139603cbe52e7a868233075f900ab63a0ce58f03741a')
-
-validpgpkeys=(
- 'E643F0BDFDCD04D9FFCB6279C948525140558AC9' # Timo Sirainen <tss at iki.fi>
- '2BE74AAB3EE754DFB9C80D3318A348AEED409DA1' # Dovecot Community Edition
-)
-
-prepare() {
- cd "${srcdir}/${pkgname}-${pkgver}"
-
- # fix path in helper script
- sed -i 's:OPENSSLCONFIG=${OPENSSLCONFIG-dovecot-openssl.cnf}:OPENSSLCONFIG=${OPENSSLCONFIG- /etc/ssl/dovecot-openssl.cnf}:' doc/mkcert.sh
-}
-
-build() {
- cd "${srcdir}/${pkgname}-${pkgver}"
-
- ./configure \
- --prefix=/usr \
- --sbindir=/usr/bin \
- --sysconfdir=/etc \
- --localstatedir=/var \
- --libexecdir=/usr/lib \
- --with-rundir=/run/dovecot \
- --with-moduledir=/usr/lib/dovecot/modules \
- --disable-static \
- --with-nss \
- --with-pam \
- --with-sqlite \
- --with-pgsql \
- --with-mysql \
- --with-ssl=openssl \
- --with-ssldir=/etc/ssl \
- --with-gssapi \
- --with-ldap=plugin \
- --with-lua=plugin \
- --with-zlib \
- --with-bzlib \
- --with-lzma \
- --with-lz4 \
- --with-zstd \
- --with-lucene \
- --with-solr \
- --with-sodium \
- --with-libcap \
- --with-docs
-
- sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
-
- make
-}
-
-check() {
- cd "${srcdir}/${pkgname}-${pkgver}"
- make check
-}
-
-package() {
- # system user/group dovenull - 74
- # system user/group dovecot - 76
-
- cd "${srcdir}/${pkgname}-${pkgver}"
- make DESTDIR="$pkgdir" install
- install -Dm644 "${srcdir}/dovecot.sysusersd" \
- "${pkgdir}/usr/lib/sysusers.d/dovecot.conf"
- install -Dm644 "${srcdir}/dovecot.tmpfilesd" \
- "${pkgdir}/usr/lib/tmpfiles.d/dovecot.conf"
- install -d -m755 "${pkgdir}/etc/dovecot/conf.d"
- rm -f "${pkgdir}/etc/dovecot/README"
-
- # install mkcert helper script
- install -m 755 doc/mkcert.sh "${pkgdir}/usr/lib/dovecot/mkcert.sh"
-
- # add dovecot libdir
- install -Dm644 "${srcdir}/dovecot.ld.so.conf" "${pkgdir}/etc/ld.so.conf.d/dovecot.conf"
-
- # install PAM snippet for dovecot
- install -Dm644 "${srcdir}/dovecot.pam" "${pkgdir}/etc/pam.d/dovecot"
-}
Copied: dovecot/repos/community-testing-x86_64/PKGBUILD (from rev 1086855, dovecot/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2021-12-29 09:55:58 UTC (rev 1086856)
@@ -0,0 +1,129 @@
+# Maintainer: Johannes Löthberg <johannes at kyriasis.com>
+# Maintainer: Thore Bödecker <foxxx0 at archlinux.org>
+# Contributor: Bartłomiej Piotrowski <bpiotrowski at archlinux.org>
+# Contributor: Andreas Radke <andyrtr at archlinux.org>
+# Contributor: Paul Mattal <paul at mattal.com>
+# Contributor: Federico Quagliata (quaqo) <quaqo at despammed.com>
+# Contributor: GARETTE Emmanuel <gnunux at laposte dot net>
+# Contributor: Phillip Schichtel <phillip at schich.tel>
+
+# --->>> remember to rebuild/bump the following packages TOGETHER with a new dovecot ABI:
+# +pigeonhole
+# +dovecot-fts-elastic
+# +dovecot-fts-xapian
+
+pkgname=dovecot
+pkgver=2.3.17.1
+pkgrel=1
+
+pkgdesc="An IMAP and POP3 server written with security primarily in mind"
+url="https://dovecot.org/"
+arch=('x86_64')
+license=("LGPL")
+
+depends=('krb5' 'openssl' 'sqlite' 'mariadb-libs' 'libsodium'
+ 'postgresql-libs' 'bzip2' 'lz4' 'expat' 'curl' 'pam' 'systemd-libs')
+makedepends=('libcap' 'libldap' 'lua53' 'xz' 'clucene' 'systemd')
+optdepends=('libldap: ldap plugin'
+ 'lua53: LUA auth and push support'
+ 'clucene: alternative FTS indexer')
+
+provides=('imap-server' 'pop3-server')
+
+backup=('etc/pam.d/dovecot')
+
+# LTO seems to cause issues with at least up to 2.3.17.1
+# https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=997513
+# TODO regularly check if upstream has implemented in-code fixes w.r.t. LTO
+options=('!emptydirs' '!lto')
+
+source=("https://dovecot.org/releases/2.3/${pkgname}-${pkgver}.tar.gz"{,.sig}
+ 'dovecot.sysusersd'
+ 'dovecot.tmpfilesd'
+ 'dovecot.ld.so.conf'
+ 'dovecot.pam')
+
+sha256sums=('1c67ccccdc81a75007c01dedc02ad608c4d856c60a6b89b9cd246e79f72aa2b8'
+ 'SKIP'
+ 'c5e3a8ffe23e5deb4f7893d9877d972347c2ee45c4ebf713de85c537e47cfcaf'
+ '0b0625b1e66ca6a95d506fd00d6a68e70620c8ea28606e2528953ffb1806b08e'
+ 'a457a1691cfa82495fc0503bfa4b61e54b149e63400fe0f568dff2c24a3f7858'
+ 'ad9245f5e916480edd67139603cbe52e7a868233075f900ab63a0ce58f03741a')
+
+validpgpkeys=(
+ 'E643F0BDFDCD04D9FFCB6279C948525140558AC9' # Timo Sirainen <tss at iki.fi>
+ '2BE74AAB3EE754DFB9C80D3318A348AEED409DA1' # Dovecot Community Edition
+)
+
+prepare() {
+ cd "${srcdir}/${pkgname}-${pkgver}"
+
+ # fix path in helper script
+ sed -i 's:OPENSSLCONFIG=${OPENSSLCONFIG-dovecot-openssl.cnf}:OPENSSLCONFIG=${OPENSSLCONFIG- /etc/ssl/dovecot-openssl.cnf}:' doc/mkcert.sh
+}
+
+build() {
+ cd "${srcdir}/${pkgname}-${pkgver}"
+
+ ./configure \
+ --prefix=/usr \
+ --sbindir=/usr/bin \
+ --sysconfdir=/etc \
+ --localstatedir=/var \
+ --libexecdir=/usr/lib \
+ --with-rundir=/run/dovecot \
+ --with-moduledir=/usr/lib/dovecot/modules \
+ --disable-static \
+ --with-nss \
+ --with-pam \
+ --with-sqlite \
+ --with-pgsql \
+ --with-mysql \
+ --with-ssl=openssl \
+ --with-ssldir=/etc/ssl \
+ --with-gssapi \
+ --with-ldap=plugin \
+ --with-lua=plugin \
+ --with-zlib \
+ --with-bzlib \
+ --with-lzma \
+ --with-lz4 \
+ --with-zstd \
+ --with-lucene \
+ --with-solr \
+ --with-sodium \
+ --with-libcap \
+ --with-docs
+
+ sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
+
+ make
+}
+
+check() {
+ cd "${srcdir}/${pkgname}-${pkgver}"
+ make check
+}
+
+package() {
+ # system user/group dovenull - 74
+ # system user/group dovecot - 76
+
+ cd "${srcdir}/${pkgname}-${pkgver}"
+ make DESTDIR="$pkgdir" install
+ install -Dm644 "${srcdir}/dovecot.sysusersd" \
+ "${pkgdir}/usr/lib/sysusers.d/dovecot.conf"
+ install -Dm644 "${srcdir}/dovecot.tmpfilesd" \
+ "${pkgdir}/usr/lib/tmpfiles.d/dovecot.conf"
+ install -d -m755 "${pkgdir}/etc/dovecot/conf.d"
+ rm -f "${pkgdir}/etc/dovecot/README"
+
+ # install mkcert helper script
+ install -m 755 doc/mkcert.sh "${pkgdir}/usr/lib/dovecot/mkcert.sh"
+
+ # add dovecot libdir
+ install -Dm644 "${srcdir}/dovecot.ld.so.conf" "${pkgdir}/etc/ld.so.conf.d/dovecot.conf"
+
+ # install PAM snippet for dovecot
+ install -Dm644 "${srcdir}/dovecot.pam" "${pkgdir}/etc/pam.d/dovecot"
+}
Deleted: dovecot.ld.so.conf
===================================================================
--- dovecot.ld.so.conf 2021-12-29 09:55:53 UTC (rev 1086855)
+++ dovecot.ld.so.conf 2021-12-29 09:55:58 UTC (rev 1086856)
@@ -1 +0,0 @@
-/usr/lib/dovecot
Copied: dovecot/repos/community-testing-x86_64/dovecot.ld.so.conf (from rev 1086855, dovecot/trunk/dovecot.ld.so.conf)
===================================================================
--- dovecot.ld.so.conf (rev 0)
+++ dovecot.ld.so.conf 2021-12-29 09:55:58 UTC (rev 1086856)
@@ -0,0 +1 @@
+/usr/lib/dovecot
Deleted: dovecot.pam
===================================================================
--- dovecot.pam 2021-12-29 09:55:53 UTC (rev 1086855)
+++ dovecot.pam 2021-12-29 09:55:58 UTC (rev 1086856)
@@ -1,5 +0,0 @@
-#%PAM-1.0
-auth include system-auth
-account include system-auth
-session include system-auth
-password include system-auth
Copied: dovecot/repos/community-testing-x86_64/dovecot.pam (from rev 1086855, dovecot/trunk/dovecot.pam)
===================================================================
--- dovecot.pam (rev 0)
+++ dovecot.pam 2021-12-29 09:55:58 UTC (rev 1086856)
@@ -0,0 +1,5 @@
+#%PAM-1.0
+auth include system-auth
+account include system-auth
+session include system-auth
+password include system-auth
Deleted: dovecot.sysusersd
===================================================================
--- dovecot.sysusersd 2021-12-29 09:55:53 UTC (rev 1086855)
+++ dovecot.sysusersd 2021-12-29 09:55:58 UTC (rev 1086856)
@@ -1,2 +0,0 @@
-u dovenull 74 "Dovecot user for completely untrustworthy processes" -
-u dovecot 76 "Dovecot user" -
Copied: dovecot/repos/community-testing-x86_64/dovecot.sysusersd (from rev 1086855, dovecot/trunk/dovecot.sysusersd)
===================================================================
--- dovecot.sysusersd (rev 0)
+++ dovecot.sysusersd 2021-12-29 09:55:58 UTC (rev 1086856)
@@ -0,0 +1,2 @@
+u dovenull 74 "Dovecot user for completely untrustworthy processes" -
+u dovecot 76 "Dovecot user" -
Deleted: dovecot.tmpfilesd
===================================================================
--- dovecot.tmpfilesd 2021-12-29 09:55:53 UTC (rev 1086855)
+++ dovecot.tmpfilesd 2021-12-29 09:55:58 UTC (rev 1086856)
@@ -1 +0,0 @@
-d /run/dovecot 0755 root dovecot -
Copied: dovecot/repos/community-testing-x86_64/dovecot.tmpfilesd (from rev 1086855, dovecot/trunk/dovecot.tmpfilesd)
===================================================================
--- dovecot.tmpfilesd (rev 0)
+++ dovecot.tmpfilesd 2021-12-29 09:55:58 UTC (rev 1086856)
@@ -0,0 +1 @@
+d /run/dovecot 0755 root dovecot -
More information about the arch-commits
mailing list