summaryrefslogtreecommitdiff
path: root/pcr/python2-postfix-policyd-spf
diff options
context:
space:
mode:
authorAndré Fabian Silva Delgado <emulatorman@lavabit.com>2013-05-28 20:25:49 -0300
committerAndré Fabian Silva Delgado <emulatorman@lavabit.com>2013-05-28 20:25:49 -0300
commitbeb8b1041efbb1bce8e7c2e0aa734d3170eee21e (patch)
tree23323258a59896b3f78f3ed040414e722b07b599 /pcr/python2-postfix-policyd-spf
parent4ba9ed4027db9fcbf6dd137f8b97c97cdeacf227 (diff)
parent53057357cf767bb5e7999628620a916769671d27 (diff)
Merge branch 'master' of ssh://parabolagnulinux.org:1863/srv/git/abslibre
Diffstat (limited to 'pcr/python2-postfix-policyd-spf')
-rw-r--r--pcr/python2-postfix-policyd-spf/PKGBUILD28
1 files changed, 28 insertions, 0 deletions
diff --git a/pcr/python2-postfix-policyd-spf/PKGBUILD b/pcr/python2-postfix-policyd-spf/PKGBUILD
new file mode 100644
index 000000000..f5b96f752
--- /dev/null
+++ b/pcr/python2-postfix-policyd-spf/PKGBUILD
@@ -0,0 +1,28 @@
+# From https://aur.archlinux.org/packages.php?ID=42275
+# Maintainer: Filip S. Adamsen <fsa [at] fsadev [dot] com>
+# Contributor: Samed Beyribey <ras0ir@eventualis.org>
+pkgname=python2-postfix-policyd-spf
+_pkgname=pypolicyd-spf
+pkgver=1.1.2
+pkgrel=1
+pkgdesc="Python2 Postfix Sender Policy Framework (SPF) filter"
+arch=('any')
+url="http://www.openspf.org/Software"
+license=('GPL')
+depends=('postfix' 'python2-pyspf' 'python2')
+conflicts=('python-postfix-policyd-spf')
+options=(!emptydirs)
+backup=(etc/python-policyd-spf/policyd-spf.conf)
+source=(http://launchpad.net/pypolicyd-spf/1.1/$pkgver/+download/$_pkgname-$pkgver.tar.gz)
+sha256sums=('f8999a9febc5ccb4a66f9961e4ec2d8f81b407bdc3ac1c84563cd5085429cdea')
+
+build() {
+ cd "$srcdir/$_pkgname-$pkgver"
+ python2 setup.py build
+}
+
+package() {
+ cd "$srcdir/$_pkgname-$pkgver"
+ python2 setup.py install --root=$pkgdir/ --optimize=1
+ install -m644 policyd-spf.conf.commented $pkgdir/etc/python-policyd-spf
+}