Date: Tuesday, March 13, 2018 @ 02:56:16 Author: anthraxx Revision: 306753
upgpkg: nullmailer 2.1-1 Modified: nullmailer/trunk/PKGBUILD Deleted: nullmailer/trunk/nullmailer.install --------------------+ PKGBUILD | 70 +++++++++++++++++++++++++++------------------------ nullmailer.install | 5 --- 2 files changed, 38 insertions(+), 37 deletions(-) Modified: PKGBUILD =================================================================== --- PKGBUILD 2018-03-13 02:42:36 UTC (rev 306752) +++ PKGBUILD 2018-03-13 02:56:16 UTC (rev 306753) @@ -1,47 +1,53 @@ -# $Id$ -# Maintainer : Martin Wimpress <c...@flexion.org> +# Maintainer: Levente Polyak <anthraxx[at]archlinux[dot]org> +# Contributor : Martin Wimpress <c...@flexion.org> # Contributor: Roberto Alsina <ralsina at kde.org> # Contributor: Kurt J. Bosch <kjb-temp-2009 at alpenjodel.de> pkgname=nullmailer -pkgver=2.0 -pkgrel=3 -pkgdesc="Simple relay-only mail transport agent." +pkgver=2.1 +pkgrel=1 +pkgdesc='Simple relay-only mail transport agent' +url='https://www.untroubled.org/nullmailer/' arch=('x86_64') -url="https://www.untroubled.org/nullmailer/" -license=("GPL") +license=('GPL2') +depends=('gnutls') provides=('smtp-forwarder') conflicts=('smtp-forwarder' 'smtp-server') -depends=('gnutls') -options=(emptydirs) -install=nullmailer.install -source=("https://www.untroubled.org/nullmailer/archive/${pkgname}-${pkgver}.tar.gz" - "nullmailer.sysusers" - "nullmailer.tmpfiles") -md5sums=('e35e8248056fd21a2e464d34116c44a2' - 'fa9c9f9194d4ffbe0c6cd9e325f0f34a' - '52e15c34a0a2187688da1f4d1a9cc784') +options=('emptydirs') +source=(https://www.untroubled.org/nullmailer/archive/${pkgname}-${pkgver}.tar.gz + nullmailer.sysusers + nullmailer.tmpfiles) +sha512sums=('5219e251f6648258247913fcb7036075a482b0800a98cde0d731aa4a6b514baae4d8a340b6757b8d532c4b8343b718642c0f519292e3660f8c04671ac274944b' + '004a14e65b7c45264033d1a2fae1cedad056ebde4597cbe711600793c4792715554e94eeee701a3f9618524debd1d8a74f15e297eb5070a45b2195b0b9fd722f' + 'fe05593fac0a5bb0752f2103d8844485d8c39f3a4aed2ab29dc57c1dda0aba1a770e5bf7e6d959db80831f021b0a07c029b844bc79850396b0ea2344af7bd81c') build() { - cd ${pkgname}-${pkgver} - ./configure \ - --prefix=/usr \ - --libexecdir=/usr/lib/${pkgname} \ - --sysconfdir=/etc \ - --localstatedir=/var \ - --sbindir=/usr/bin \ - --enable-tls - make + cd ${pkgname}-${pkgver} + ./configure \ + --prefix=/usr \ + --libexecdir=/usr/lib/${pkgname} \ + --sysconfdir=/etc \ + --localstatedir=/var \ + --sbindir=/usr/bin \ + --enable-tls + make } +check() { + cd ${pkgname}-${pkgver} + make test +} + package() { - cd ${pkgname}-${pkgver} - make DESTDIR="${pkgdir}" install + cd ${pkgname}-${pkgver} + make DESTDIR="${pkgdir}" install - # covered by tmpfiles with fixed ownership - rm -rf "${pkgdir}"/var + install -Dm 644 scripts/nullmailer.service -t "${pkgdir}/usr/lib/systemd/system" + install -Dm 644 ../nullmailer.sysusers "${pkgdir}/usr/lib/sysusers.d/nullmailer.conf" + install -Dm 644 ../nullmailer.tmpfiles "${pkgdir}/usr/lib/tmpfiles.d/nullmailer.conf" - install -Dm644 scripts/nullmailer.service "${pkgdir}"/usr/lib/systemd/system/nullmailer.service - install -Dm644 "${srcdir}"/nullmailer.sysusers "${pkgdir}"/usr/lib/sysusers.d/nullmailer.conf - install -Dm644 "${srcdir}"/nullmailer.tmpfiles "${pkgdir}"/usr/lib/tmpfiles.d/nullmailer.conf + # covered by tmpfiles with fixed ownership + rm -rf "${pkgdir}/var" } + +# vim: ts=2 sw=2 et: Deleted: nullmailer.install =================================================================== --- nullmailer.install 2018-03-13 02:42:36 UTC (rev 306752) +++ nullmailer.install 2018-03-13 02:56:16 UTC (rev 306753) @@ -1,5 +0,0 @@ -pre_remove() { - systemctl stop nullmailer - # Leave the 'queue' directory intact - rm -rf var/service/nullmailer/{tmp,trigger} -}