From ccbc7105884e034d124aa860128dc700c9a6d846 Mon Sep 17 00:00:00 2001 From: Michał Masłowski Date: Mon, 27 May 2013 16:19:22 +0200 Subject: Update python2-postfix-policyd-spf. --- pcr/python2-postfix-policyd-spf/PKGBUILD | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 pcr/python2-postfix-policyd-spf/PKGBUILD (limited to 'pcr/python2-postfix-policyd-spf') diff --git a/pcr/python2-postfix-policyd-spf/PKGBUILD b/pcr/python2-postfix-policyd-spf/PKGBUILD new file mode 100644 index 000000000..9fd537930 --- /dev/null +++ b/pcr/python2-postfix-policyd-spf/PKGBUILD @@ -0,0 +1,27 @@ +# From https://aur.archlinux.org/packages.php?ID=42275 +# Maintainer: Filip S. Adamsen +# Contributor: Samed Beyribey +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) +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 +} -- cgit v1.2.3-54-g00ecf From 6d4651ca8163db4015cfa9b8bba063944cdddc44 Mon Sep 17 00:00:00 2001 From: Michał Masłowski Date: Mon, 27 May 2013 16:25:20 +0200 Subject: python2-postfix-policyd-spf: backup the configuration during next update. --- pcr/python2-postfix-policyd-spf/PKGBUILD | 1 + 1 file changed, 1 insertion(+) (limited to 'pcr/python2-postfix-policyd-spf') diff --git a/pcr/python2-postfix-policyd-spf/PKGBUILD b/pcr/python2-postfix-policyd-spf/PKGBUILD index 9fd537930..f5b96f752 100644 --- a/pcr/python2-postfix-policyd-spf/PKGBUILD +++ b/pcr/python2-postfix-policyd-spf/PKGBUILD @@ -12,6 +12,7 @@ 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') -- cgit v1.2.3-54-g00ecf