summaryrefslogtreecommitdiff
path: root/~mtjm
diff options
context:
space:
mode:
authorNicolás Reynolds <apoyosis@correo.inta.gob.ar>2011-09-01 16:05:32 -0300
committerNicolás Reynolds <apoyosis@correo.inta.gob.ar>2011-09-01 16:05:32 -0300
commitcffed09fd37e8c39f19409bcbd8cce181b4dfbf9 (patch)
tree90f60fb806d5a001ab55f2c7efd788cd7da7ea6a /~mtjm
parent30eaff5c9da46387de0e77ffe236b4f8610127a6 (diff)
parent6721a1363b6da454b95483243a9d10c77fa43171 (diff)
Merge branch 'master' of ssh://gparabola/abslibre
Diffstat (limited to '~mtjm')
-rw-r--r--~mtjm/python2-postfix-policyd-spf/PKGBUILD25
1 files changed, 25 insertions, 0 deletions
diff --git a/~mtjm/python2-postfix-policyd-spf/PKGBUILD b/~mtjm/python2-postfix-policyd-spf/PKGBUILD
new file mode 100644
index 000000000..237b6c9bd
--- /dev/null
+++ b/~mtjm/python2-postfix-policyd-spf/PKGBUILD
@@ -0,0 +1,25 @@
+# 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=0.8.1
+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)
+source=(http://launchpad.net/pypolicyd-spf/0.8/$pkgver/+download/$_pkgname-$pkgver.tar.gz)
+md5sums=('a37c209e88e4dc419f62ae7c6b52f0e7')
+
+build() {
+ cd "$srcdir/$_pkgname-$pkgver"
+
+ python2 setup.py build || return 1
+ python2 setup.py install --root=$pkgdir/ --optimize=1 || return 1
+ install -m644 policyd-spf.conf.commented $pkgdir/etc/python-policyd-spf || return 1
+}
+