diff options
author | Luke Shumaker <lukeshu@lukeshu.com> | 2017-04-23 19:29:18 -0400 |
---|---|---|
committer | Luke Shumaker <lukeshu@lukeshu.com> | 2017-04-23 19:29:18 -0400 |
commit | 6d8c63adc0c1088fd8a2f599e854f7fc00ba511c (patch) | |
tree | 28f05075ff565eb46dc427f6410b491fb13f784a /pcr/postsrsd/PKGBUILD | |
parent | d75974d97652da95ff7efec856ba8214d80d56b7 (diff) | |
download | abslibre-6d8c63adc0c1088fd8a2f599e854f7fc00ba511c.tar.gz abslibre-6d8c63adc0c1088fd8a2f599e854f7fc00ba511c.tar.bz2 abslibre-6d8c63adc0c1088fd8a2f599e854f7fc00ba511c.zip |
pcr/postsrsd: Fix SRS_DOMAIN default value
On systemd systems (ie, Parabola), the default value of the SRS_DOMAIN
configuration variable is "localhost.localdomain", which is different
than both the documented behavior, and the behavior on other init
systems (which is the documented behavior).
So, I've backported a patch from uptream that fixes this issue.
Diffstat (limited to 'pcr/postsrsd/PKGBUILD')
-rw-r--r-- | pcr/postsrsd/PKGBUILD | 13 |
1 files changed, 12 insertions, 1 deletions
diff --git a/pcr/postsrsd/PKGBUILD b/pcr/postsrsd/PKGBUILD index 42ec47ba8..dbb89dc7c 100644 --- a/pcr/postsrsd/PKGBUILD +++ b/pcr/postsrsd/PKGBUILD @@ -5,7 +5,7 @@ pkgname=postsrsd pkgver=1.4 -pkgrel=2 +pkgrel=3 pkgdesc="Sender Rewriting Scheme (SRS) daemon for Postfix" arch=('i686' 'x86_64' 'armv7h') makedepends=('cmake' 'help2man') @@ -13,12 +13,23 @@ backup=('etc/default/postsrsd') url="https://github.com/roehling/postsrsd" license=('GPL2') source=("$pkgname-$pkgver.tar.gz::https://github.com/roehling/postsrsd/archive/${pkgver}.tar.gz" + 0001-systemd-populate-SRS_DOMAIN-default-using-postconf.patch postsrsd-genkey.service postsrsd.service-genkey.conf) md5sums=('cb6e13a06d6bbd7d383efb9bbf0867ce' + '55c38abef2084405eee3d4b7619d71dd' '621d1ac7a15aec5d0cf91ec9b3ae7266' '3441061474bd5da0d5f8148f53b05917') +prepare() { + cd "$srcdir/${pkgname}-${pkgver}" + + local patch + for patch in ../*.patch; do + patch -Np1 -i "$patch" + done +} + build() { cd "$srcdir/${pkgname}-${pkgver}" mkdir -p build |