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

Thore Bödecker foxxx0 at archlinux.org
Thu Jun 24 11:55:52 UTC 2021


    Date: Thursday, June 24, 2021 @ 11:55:52
  Author: foxxx0
Revision: 967192

upgpkg: dovecot 2.3.15-2

- fix systemd dependencies
- fix libtool ldflags

fixes FS#71342

Modified:
  dovecot/trunk/PKGBUILD

----------+
 PKGBUILD |    9 +++++----
 1 file changed, 5 insertions(+), 4 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2021-06-24 09:49:22 UTC (rev 967191)
+++ PKGBUILD	2021-06-24 11:55:52 UTC (rev 967192)
@@ -11,7 +11,7 @@
 
 pkgname=dovecot
 pkgver=2.3.15
-pkgrel=1
+pkgrel=2
 
 pkgdesc="An IMAP and POP3 server written with security primarily in mind"
 url="https://dovecot.org/"
@@ -19,8 +19,8 @@
 license=("LGPL")
 
 depends=('krb5' 'openssl' 'sqlite' 'mariadb-libs' 'libsodium'
-         'postgresql-libs' 'bzip2' 'lz4' 'expat' 'curl' 'pam')
-makedepends=('libcap' 'libldap' 'lua53' 'xz' 'clucene')
+         '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')
@@ -67,7 +67,6 @@
     --libexecdir=/usr/lib \
     --with-rundir=/run/dovecot \
     --with-moduledir=/usr/lib/dovecot/modules \
-    --with-systemdsystemunitdir=/usr/lib/systemd/system \
     --disable-static \
     --with-nss \
     --with-pam \
@@ -90,6 +89,8 @@
     --with-libcap \
     --with-docs
 
+  sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
+
   make
 }
 




More information about the arch-commits mailing list