1
0
mirror of https://github.com/moparisthebest/arch-ppa synced 2024-11-21 16:25:00 -05:00

Add postfix spf stuff

This commit is contained in:
Travis Burtrum 2016-12-02 01:05:29 -05:00
parent a77fde4bd2
commit 35dc2f1141
9 changed files with 188 additions and 0 deletions

View File

@ -0,0 +1,14 @@
pkgbase = python-authres
pkgdesc = Python Authentication-Results headers generation and parsing
pkgver = 0.800
pkgrel = 1
url = http://launchpad.net/authentication-results-python
arch = any
license = Apache
depends = python
conflicts = python2-authres
source = https://launchpad.net/authentication-results-python/0.800/0.8/+download/authres-0.800.tar.gz
sha256sums = d28e3976a7d418917cbbf384018aa0e8a0489e41bfd9847309c5f8efb19f6efd
pkgname = python-authres

View File

@ -0,0 +1,34 @@
# Maintainer: Rich Li <rich at dranek com>
# Contributor: Thomas Haider <t.haider@deprecate.de>
# Contributor: Filip S. Adamsen <fsa [at] fsadev [dot] com>
# Contributor: Samed Beyribey <ras0ir@eventualis.org>
pkgname=python-authres
_pkgname=authentication-results-python
pkgver=0.800
_pkgver=0.8
pkgrel=1
pkgdesc="Python Authentication-Results headers generation and parsing"
arch=('any')
url="http://launchpad.net/authentication-results-python"
license=('Apache')
depends=('python')
conflicts=('python2-authres')
source=(https://launchpad.net/$_pkgname/$pkgver/$_pkgver/+download/authres-$pkgver.tar.gz)
sha256sums=('d28e3976a7d418917cbbf384018aa0e8a0489e41bfd9847309c5f8efb19f6efd')
build() {
cd "$srcdir/authres-$pkgver"
python setup.py build
}
check() {
cd "$srcdir/authres-$pkgver"
# python -m authres -v
python -m authres
}
package() {
cd "$srcdir/authres-$pkgver"
python setup.py install --root=$pkgdir --optimize=1
}

View File

@ -0,0 +1,19 @@
pkgbase = python-postfix-policyd-spf
pkgdesc = Python Postfix Sender Policy Framework (SPF) filter
pkgver = 1.3.2
pkgrel = 1
url = https://launchpad.net/pypolicyd-spf/
arch = any
license = GPL
depends = postfix
depends = python-pyspf
depends = python>=3.3
optdepends = python-authres: RFC 7001 Authentication-Results header support
conflicts = python2-postfix-policyd-spf
options = !emptydirs
backup = etc/python-policyd-spf/policyd-spf.conf
source = https://launchpad.net/pypolicyd-spf/1.3/1.3.2/+download/pypolicyd-spf-1.3.2.tar.gz
md5sums = 3f064042190dabe2e74300e1118fff94
pkgname = python-postfix-policyd-spf

View File

@ -0,0 +1,32 @@
# Maintainer: Hao Zhang <theivorytower [at] gmail [dot] com>
# Based on python2-postfix-policyd-spf PKGBUILD by Filip S. Adamsen <fsa [at] fsadev [dot] com>
# Contributor: Samed Beyribey <ras0ir@eventualis.org>
pkgname=python-postfix-policyd-spf
_pkgname=pypolicyd-spf
pkgver=1.3.2
_pkgver=1.3
pkgrel=1
pkgdesc="Python Postfix Sender Policy Framework (SPF) filter"
arch=('any')
url="https://launchpad.net/pypolicyd-spf/"
license=('GPL')
depends=('postfix' 'python-pyspf' 'python>=3.3')
optdepends=('python-authres: RFC 7001 Authentication-Results header support')
conflicts=('python2-postfix-policyd-spf')
options=(!emptydirs)
backup=(etc/python-policyd-spf/policyd-spf.conf)
source=(https://launchpad.net/$_pkgname/$_pkgver/$pkgver/+download/$_pkgname-$pkgver.tar.gz)
md5sums=('3f064042190dabe2e74300e1118fff94')
build() {
cd "$srcdir/$_pkgname-$pkgver"
python setup.py build || return 1
}
package() {
cd "$srcdir/$_pkgname-$pkgver"
python setup.py install --root=$pkgdir/ --optimize=1 || return 1
install -m644 policyd-spf.conf.commented $pkgdir/etc/python-policyd-spf || return 1
}

12
src/python-pydns/.AURINFO Normal file
View File

@ -0,0 +1,12 @@
pkgbase = python-pydns
pkgdesc = A module for looking up DNS entries in Python applications
pkgver = 3.1.0
pkgrel = 1
url = https://launchpad.net/py3dns
arch = any
license = Python
depends = python
source = https://launchpad.net/py3dns/trunk/3.1.0/+download/py3dns-3.1.0.tar.gz
pkgname = python-pydns

13
src/python-pydns/.SRCINFO Normal file
View File

@ -0,0 +1,13 @@
pkgbase = python-pydns
pkgdesc = A module for looking up DNS entries in Python applications
pkgver = 3.1.0
pkgrel = 1
url = https://launchpad.net/py3dns
arch = any
license = Python
depends = python
source = https://launchpad.net/py3dns/trunk/3.1.0/+download/py3dns-3.1.0.tar.gz
md5sums = fab47dbea2d37402752a3c5ec72b68a2
pkgname = python-pydns

18
src/python-pydns/PKGBUILD Normal file
View File

@ -0,0 +1,18 @@
# Maintainer: Sebastien Leduc <sebastien@sleduc.fr>
# Contributor: Samed Beyribey <ras0ir AT eventualis DOT org>
pkgname=python-pydns
_realname=py3dns
pkgver=3.1.0
pkgrel=1
pkgdesc="A module for looking up DNS entries in Python applications"
arch=('any')
url="https://launchpad.net/py3dns"
license=('Python')
depends=('python')
source=("https://launchpad.net/${_realname}/trunk/${pkgver}/+download/${_realname}-${pkgver}.tar.gz")
md5sums=('fab47dbea2d37402752a3c5ec72b68a2')
package() {
cd "$srcdir/$_realname-$pkgver"
python setup.py install --root="$pkgdir/" --optimize=1
}

15
src/python-pyspf/.SRCINFO Normal file
View File

@ -0,0 +1,15 @@
pkgbase = python-pyspf
pkgdesc = Python implementation of the Sender Policy Framework (SPF) protocol
pkgver = 2.0.12
pkgrel = 1
url = http://pypi.python.org/pypi/pyspf
arch = any
license = PSF
makedepends = python-setuptools
depends = python-pydns
optdepends = python-authres: Return RFC 5451 Authentication Results headers
source = http://pypi.python.org/packages/source/p/pyspf/pyspf-2.0.12t.tar.gz
md5sums = c83143ad79074bf8c80235748a8a698f
pkgname = python-pyspf

31
src/python-pyspf/PKGBUILD Normal file
View File

@ -0,0 +1,31 @@
# Maintainer: Rich Li <rich at dranek com>
# Contributor: Samed Beyribey <ras0ir AT eventualis DOT org>
pkgname=python-pyspf
pkgver=2.0.12
# This version is a patched release that is only reflected in the filename; this will likely be removed in the next upstream release?
_fix_pkgver=2.0.12t
pkgrel=1
pkgdesc="Python implementation of the Sender Policy Framework (SPF) protocol"
arch=('any')
url="http://pypi.python.org/pypi/pyspf"
license=('PSF')
depends=('python-pydns')
makedepends=('python-setuptools')
optdepends=('python-authres: Return RFC 5451 Authentication Results headers')
source=(http://pypi.python.org/packages/source/p/pyspf/pyspf-$_fix_pkgver.tar.gz)
md5sums=('c83143ad79074bf8c80235748a8a698f')
build() {
cd "$srcdir/pyspf-$pkgver"
python setup.py build
}
# The package requires installation before testing...so it won't work here
# check() {
# }
package() {
cd "$srcdir/pyspf-$pkgver"
python setup.py install --root="$pkgdir" --optimize=1
}
# vim:set ts=2 sw=2 et: