diff options
author | Luke Shumaker <lukeshu@sbcglobal.net> | 2017-02-01 02:19:43 -0500 |
---|---|---|
committer | Luke Shumaker <lukeshu@sbcglobal.net> | 2017-02-01 02:28:21 -0500 |
commit | c0909157cb9c2649ebc7fd956093dde5b37dc673 (patch) | |
tree | 5d1d6f323046c237758ab5c0289eaea379e786a2 /pcr/pypolicyd-spf | |
parent | 15f7c4ab15d58b0c613ea7fe2ee0bb8aa1c660b7 (diff) | |
download | abslibre-c0909157cb9c2649ebc7fd956093dde5b37dc673.tar.gz abslibre-c0909157cb9c2649ebc7fd956093dde5b37dc673.tar.bz2 abslibre-c0909157cb9c2649ebc7fd956093dde5b37dc673.zip |
Update pcr/pypolicyd-spf
Diffstat (limited to 'pcr/pypolicyd-spf')
-rw-r--r-- | pcr/pypolicyd-spf/PKGBUILD | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/pcr/pypolicyd-spf/PKGBUILD b/pcr/pypolicyd-spf/PKGBUILD new file mode 100644 index 000000000..045f27304 --- /dev/null +++ b/pcr/pypolicyd-spf/PKGBUILD @@ -0,0 +1,32 @@ +# Maintainer: Luke Shumaker <lukeshu@parabola.nu> +# Maintainer (AUR:python-postfix-policyd-spf): Hao Zhang <theivorytower@gmail.com> +# Maintainer (AUR:python2-postfix-policyd-spf): Filip S. Adamsen <fsa@fsadev.com> +# Contributor (AUR): Samed Beyribey <ras0ir@eventualis.org> + +pkgname=pypolicyd-spf +pkgver=2.0.1 +pkgdesc="A Postfix policy engine for Sender Policy Framework (SPF) checking" +url="https://launchpad.net/$pkgname/" +license=('GPL') +source=(https://launchpad.net/$pkgname/${pkgver%.*}/$pkgver/+download/$pkgname-$pkgver.tar.gz{,.asc}) +md5sums=('d93d14bb41bccd076ee05535822cbb80' + 'SKIP') +validpgpkeys=(E7729BFFBE85400FEEEE23B178D7DEFB9AD59AF1) # Donald Scott Kitterman + +pkgrel=1 +arch=('any') +makedepends=('python-setuptools') +depends=('postfix' 'python-pyspf') +optdepends=('python-authres: RFC 7001 Authentication-Results header support') + +replaces=('python-postfix-policyd-spf' 'python2-postfix-policyd-spf') # AUR names +conflicts=('python-postfix-policyd-spf' 'python2-postfix-policyd-spf') # AUR names + +backup=(etc/python-policyd-spf/policyd-spf.conf) + +package() { + cd "$srcdir/$pkgname-$pkgver" + + python setup.py install --root="$pkgdir/" --optimize=1 + install -m644 policyd-spf.conf.commented "$pkgdir"/etc/python-policyd-spf +} |