Date: Wednesday, January 10, 2018 @ 03:43:44 Author: eschwartz Revision: 280825
archrelease: copy trunk to community-x86_64 Added: dovecot/repos/community-x86_64/PKGBUILD (from rev 280824, dovecot/trunk/PKGBUILD) dovecot/repos/community-x86_64/dovecot.sysusersd (from rev 280824, dovecot/trunk/dovecot.sysusersd) dovecot/repos/community-x86_64/dovecot.tmpfilesd (from rev 280824, dovecot/trunk/dovecot.tmpfilesd) Deleted: dovecot/repos/community-x86_64/PKGBUILD dovecot/repos/community-x86_64/dovecot.install dovecot/repos/community-x86_64/dovecot.tmpfilesd -------------------+ PKGBUILD | 192 ++++++++++++++++++++++++++-------------------------- dovecot.install | 10 -- dovecot.sysusersd | 2 dovecot.tmpfilesd | 2 4 files changed, 100 insertions(+), 106 deletions(-) Deleted: PKGBUILD =================================================================== --- PKGBUILD 2018-01-10 03:43:19 UTC (rev 280824) +++ PKGBUILD 2018-01-10 03:43:44 UTC (rev 280825) @@ -1,95 +0,0 @@ -# $Id$ -# Maintainer: Johannes Löthberg <johan...@kyriasis.com> -# Contributor: Bartłomiej Piotrowski <bpiotrow...@archlinux.org> -# Contributor: Andreas Radke <andy...@archlinux.org> -# Contributor: Paul Mattal <p...@mattal.com> -# Contributor: Federico Quagliata (quaqo) <qu...@despammed.com> -# Contributor: GARETTE Emmanuel <gnunux at laposte dot net> - -# --->>> remember to rebuild/bump pigeonhole in one step <<<--- - -pkgname=dovecot -pkgver=2.3.0 -pkgrel=1 - -pkgdesc="An IMAP and POP3 server written with security primarily in mind" -url="http://dovecot.org/" -arch=('x86_64') -license=("LGPL") - -depends=('krb5' 'openssl' 'sqlite' 'libmariadbclient' - 'postgresql-libs' 'bzip2' 'lz4' 'expat' 'curl' 'pam') -makedepends=('libcap' 'libldap' 'clucene') -optdepends=('libldap: ldap plugin' - 'xz: imap zlib plugin' - 'clucene: alternative FTS indexer') - -provides=('imap-server' 'pop3-server') - -install=dovecot.install - -source=("https://dovecot.org/releases/2.3/dovecot-$pkgver.tar.gz"{,.sig} - dovecot.tmpfilesd) - -sha256sums=('de60cb470d025e4dd0f8e8fbbb4b9316dfd4930eb949d307330669ffbeaf8581' - 'SKIP' - 'bb7620be7fc0217d77fcac940441c2abbd9efc6ef660153288d09ba412e27e06') -validpgpkeys=('E643F0BDFDCD04D9FFCB6279C948525140558AC9' # Timo Sirainen <t...@iki.fi> - '2BE74AAB3EE754DFB9C80D3318A348AEED409DA1') # Dovecot Community Edition - -prepare() { - cd dovecot-ce-$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 dovecot-ce-$pkgver - - ./configure --prefix=/usr --sysconfdir=/etc \ - --sbindir=/usr/bin \ - --localstatedir=/var \ - --libexecdir=/usr/lib \ - --with-moduledir=/usr/lib/dovecot/modules \ - --with-systemdsystemunitdir=/usr/lib/systemd/system \ - --disable-static \ - --with-nss \ - --with-pam \ - --with-mysql \ - --with-pgsql \ - --with-sqlite \ - --with-ssl=openssl \ - --with-ssldir=/etc/ssl \ - --with-gssapi \ - --with-ldap=plugin \ - --with-zlib \ - --with-bzlib \ - --with-lzma \ - --with-lz4 \ - --with-libcap \ - --with-solr \ - --with-lucene \ - --with-docs - - make -} - -check() { - cd dovecot-ce-$pkgver - make check -} - -package() { - # system user/group dovenull - 74 - # system user/group dovecot - 76 - - cd dovecot-ce-$pkgver - make DESTDIR="$pkgdir" install - 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" -} Copied: dovecot/repos/community-x86_64/PKGBUILD (from rev 280824, dovecot/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2018-01-10 03:43:44 UTC (rev 280825) @@ -0,0 +1,97 @@ +# $Id$ +# Maintainer: Johannes Löthberg <johan...@kyriasis.com> +# Contributor: Bartłomiej Piotrowski <bpiotrow...@archlinux.org> +# Contributor: Andreas Radke <andy...@archlinux.org> +# Contributor: Paul Mattal <p...@mattal.com> +# Contributor: Federico Quagliata (quaqo) <qu...@despammed.com> +# Contributor: GARETTE Emmanuel <gnunux at laposte dot net> + +# --->>> remember to rebuild/bump pigeonhole in one step <<<--- + +pkgname=dovecot +pkgver=2.3.0 +pkgrel=2 + +pkgdesc="An IMAP and POP3 server written with security primarily in mind" +url="http://dovecot.org/" +arch=('x86_64') +license=("LGPL") + +depends=('krb5' 'openssl' 'sqlite' 'libmariadbclient' + 'postgresql-libs' 'bzip2' 'lz4' 'expat' 'curl' 'pam') +makedepends=('libcap' 'libldap' 'clucene') +optdepends=('libldap: ldap plugin' + 'xz: imap zlib plugin' + 'clucene: alternative FTS indexer') + +provides=('imap-server' 'pop3-server') + +source=("https://dovecot.org/releases/2.3/dovecot-$pkgver.tar.gz"{,.sig} + dovecot.sysusersd + dovecot.tmpfilesd) + +sha256sums=('de60cb470d025e4dd0f8e8fbbb4b9316dfd4930eb949d307330669ffbeaf8581' + 'SKIP' + 'c5e3a8ffe23e5deb4f7893d9877d972347c2ee45c4ebf713de85c537e47cfcaf' + 'bb7620be7fc0217d77fcac940441c2abbd9efc6ef660153288d09ba412e27e06') +validpgpkeys=('E643F0BDFDCD04D9FFCB6279C948525140558AC9' # Timo Sirainen <t...@iki.fi> + '2BE74AAB3EE754DFB9C80D3318A348AEED409DA1') # Dovecot Community Edition + +prepare() { + cd dovecot-ce-$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 dovecot-ce-$pkgver + + ./configure --prefix=/usr --sysconfdir=/etc \ + --sbindir=/usr/bin \ + --localstatedir=/var \ + --libexecdir=/usr/lib \ + --with-moduledir=/usr/lib/dovecot/modules \ + --with-systemdsystemunitdir=/usr/lib/systemd/system \ + --disable-static \ + --with-nss \ + --with-pam \ + --with-mysql \ + --with-pgsql \ + --with-sqlite \ + --with-ssl=openssl \ + --with-ssldir=/etc/ssl \ + --with-gssapi \ + --with-ldap=plugin \ + --with-zlib \ + --with-bzlib \ + --with-lzma \ + --with-lz4 \ + --with-libcap \ + --with-solr \ + --with-lucene \ + --with-docs + + make +} + +check() { + cd dovecot-ce-$pkgver + make check +} + +package() { + # system user/group dovenull - 74 + # system user/group dovecot - 76 + + cd dovecot-ce-$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" +} Deleted: dovecot.install =================================================================== --- dovecot.install 2018-01-10 03:43:19 UTC (rev 280824) +++ dovecot.install 2018-01-10 03:43:44 UTC (rev 280825) @@ -1,10 +0,0 @@ -post_install() { - getent group dovenull &> /dev/null || groupadd -g 74 dovenull &> /dev/null - getent group dovecot &> /dev/null || groupadd -g 76 dovecot &> /dev/null - getent passwd dovenull &> /dev/null || useradd -s /sbin/nologin -c "Dovecot user for completely untrustworthy processes" -d /var/empty -u 74 -g dovenull -r dovenull &> /dev/null - getent passwd dovecot &> /dev/null || useradd -s /sbin/nologin -c "Dovecot user" -d /var/empty -u 76 -g dovecot -r dovecot &> /dev/null -} - -post_remove() { - rm -rf /var/run/dovecot/ &> /dev/null || /bin/true -} Copied: dovecot/repos/community-x86_64/dovecot.sysusersd (from rev 280824, dovecot/trunk/dovecot.sysusersd) =================================================================== --- dovecot.sysusersd (rev 0) +++ dovecot.sysusersd 2018-01-10 03:43:44 UTC (rev 280825) @@ -0,0 +1,2 @@ +u dovenull 74 "Dovecot user for completely untrustworthy processes" - +u dovecot 76 "Dovecot user" - Deleted: dovecot.tmpfilesd =================================================================== --- dovecot.tmpfilesd 2018-01-10 03:43:19 UTC (rev 280824) +++ dovecot.tmpfilesd 2018-01-10 03:43:44 UTC (rev 280825) @@ -1 +0,0 @@ -d /var/run/dovecot 0755 root dovecot - Copied: dovecot/repos/community-x86_64/dovecot.tmpfilesd (from rev 280824, dovecot/trunk/dovecot.tmpfilesd) =================================================================== --- dovecot.tmpfilesd (rev 0) +++ dovecot.tmpfilesd 2018-01-10 03:43:44 UTC (rev 280825) @@ -0,0 +1 @@ +d /var/run/dovecot 0755 root dovecot -