summaryrefslogtreecommitdiff
path: root/pcr/postsrsd
diff options
context:
space:
mode:
Diffstat (limited to 'pcr/postsrsd')
-rw-r--r--pcr/postsrsd/PKGBUILD4
-rw-r--r--pcr/postsrsd/postsrsd-genkey.service2
2 files changed, 3 insertions, 3 deletions
diff --git a/pcr/postsrsd/PKGBUILD b/pcr/postsrsd/PKGBUILD
index 66ee84cfc..42ec47ba8 100644
--- a/pcr/postsrsd/PKGBUILD
+++ b/pcr/postsrsd/PKGBUILD
@@ -5,7 +5,7 @@
pkgname=postsrsd
pkgver=1.4
-pkgrel=1
+pkgrel=2
pkgdesc="Sender Rewriting Scheme (SRS) daemon for Postfix"
arch=('i686' 'x86_64' 'armv7h')
makedepends=('cmake' 'help2man')
@@ -16,7 +16,7 @@ source=("$pkgname-$pkgver.tar.gz::https://github.com/roehling/postsrsd/archive/$
postsrsd-genkey.service
postsrsd.service-genkey.conf)
md5sums=('cb6e13a06d6bbd7d383efb9bbf0867ce'
- 'ca8cae7a54e57f71e59372c29785cddc'
+ '621d1ac7a15aec5d0cf91ec9b3ae7266'
'3441061474bd5da0d5f8148f53b05917')
build() {
diff --git a/pcr/postsrsd/postsrsd-genkey.service b/pcr/postsrsd/postsrsd-genkey.service
index ca29b3cd9..e6fb39fae 100644
--- a/pcr/postsrsd/postsrsd-genkey.service
+++ b/pcr/postsrsd/postsrsd-genkey.service
@@ -1,6 +1,6 @@
[Unit]
Description=PostSRSd Key Generation
-ConditionPathExists=!/etc/postsrsd.conf
+ConditionPathExists=!/etc/postsrsd.secret
[Service]
ExecStart=/bin/sh -c 'dd if=/dev/urandom bs=18 count=1 status=none | base64 > /etc/postsrsd.secret'