summaryrefslogtreecommitdiff
path: root/pcr
diff options
context:
space:
mode:
authorMichał Masłowski <mtjm@mtjm.eu>2014-07-06 17:39:42 +0200
committerMichał Masłowski <mtjm@mtjm.eu>2014-07-06 17:39:42 +0200
commit2580408aec42408d6f67e4d0deb6286d09cdd687 (patch)
treef95ceb5094afd8da0c05280d366d3ebd0b3364ad /pcr
parent518c8c5273ff38a5f710a220a2d2f0bd113445da (diff)
downloadabslibre-2580408aec42408d6f67e4d0deb6286d09cdd687.tar.gz
abslibre-2580408aec42408d6f67e4d0deb6286d09cdd687.tar.bz2
abslibre-2580408aec42408d6f67e4d0deb6286d09cdd687.zip
Update packages that I added.
Diffstat (limited to 'pcr')
-rw-r--r--pcr/perl-geo-ipfree/PKGBUILD4
-rw-r--r--pcr/python2-authres/PKGBUILD26
-rw-r--r--pcr/python2-postfix-policyd-spf/PKGBUILD32
-rw-r--r--pcr/python2-pyspf/PKGBUILD52
4 files changed, 75 insertions, 39 deletions
diff --git a/pcr/perl-geo-ipfree/PKGBUILD b/pcr/perl-geo-ipfree/PKGBUILD
index 394e38ca1..65cc6a2e3 100644
--- a/pcr/perl-geo-ipfree/PKGBUILD
+++ b/pcr/perl-geo-ipfree/PKGBUILD
@@ -1,7 +1,7 @@
_author=bricas
_perlmod=Geo-IPfree
pkgname=perl-geo-ipfree
-pkgver=1.131650
+pkgver=1.141670
pkgrel=1
pkgdesc="An IPv4 to country lookup database"
arch=('any')
@@ -10,7 +10,7 @@ license=('GPL' 'PerlArtistic')
depends=('perl>=5.10.0')
options=(!emptydirs)
source=(http://search.cpan.org/CPAN/authors/id/B/BR/BRICAS/$_perlmod-$pkgver.tar.gz)
-md5sums=('23d71e4f9a872184d9b4c6903c5a2b98')
+md5sums=('90b208914e081f823f647834b18baaf2')
build() {
cd "$srcdir/$_perlmod-$pkgver"
diff --git a/pcr/python2-authres/PKGBUILD b/pcr/python2-authres/PKGBUILD
new file mode 100644
index 000000000..c2d66344d
--- /dev/null
+++ b/pcr/python2-authres/PKGBUILD
@@ -0,0 +1,26 @@
+# Maintainer: Thomas Haider <t.haider@deprecate.de>
+# Contributor: Filip S. Adamsen <fsa [at] fsadev [dot] com>
+# Contributor: Samed Beyribey <ras0ir@eventualis.org>
+pkgname=python2-authres
+_pkgname=authentication-results-python
+pkgver=0.602
+pkgrel=1
+pkgdesc="Python2 Authentication-Results Headers generation and parsing"
+arch=('any')
+url="http://launchpad.net/authentication-results-python"
+license=('Apache')
+depends=('python2')
+conflicts=('python-authres')
+source=(http://launchpad.net/$_pkgname/trunk/$pkgver/+download/authres-$pkgver.tar.gz)
+
+build() {
+ cd "$srcdir/authres-$pkgver"
+ python2 setup.py build
+}
+
+package() {
+ cd "$srcdir/authres-$pkgver"
+ python2 setup.py install --root=$pkgdir --optimize=1
+}
+
+sha256sums=('41cea7fcc3387e381b520053dbbba1825598b6cb9d45c505ae466d7a2a27edc3')
diff --git a/pcr/python2-postfix-policyd-spf/PKGBUILD b/pcr/python2-postfix-policyd-spf/PKGBUILD
index a46528838..0de525d1a 100644
--- a/pcr/python2-postfix-policyd-spf/PKGBUILD
+++ b/pcr/python2-postfix-policyd-spf/PKGBUILD
@@ -1,28 +1,32 @@
-# From https://aur.archlinux.org/packages.php?ID=42275
-# Maintainer (Arch): Filip S. Adamsen <fsa [at] fsadev [dot] com>
-# Contributor (Arch): Samed Beyribey <ras0ir@eventualis.org>
+# Maintainer: Thomas Haider <t.haider@deprecate.de>
+# Contributer: Rich Li <rich@dranek.com>
+# Contributer: 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
+_pypkgname=pypolicyd-spf
+pkgver=1.3.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')
+license=('Apache')
+depends=('python2-pyspf' 'python2' 'python2-ipaddr')
+optdepends=('python2-authres: support Authentication-Results headers')
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')
-
+source=(http://launchpad.net/pypolicyd-spf/1.3/$pkgver/+download/$_pypkgname-$pkgver.tar.gz)
+sha256sums=('5b575638e3d30db5583ed4e3c0902b9a6d90ba7e126a9d37b9bffe2e6b201808')
+
build() {
- cd "$srcdir/$_pkgname-$pkgver"
+ cd "$srcdir/$_pypkgname-$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
+ cd "$srcdir/$_pypkgname-$pkgver"
+ python2 setup.py install --root="$pkgdir/" --optimize=1
+ install -m644 -D policyd-spf.conf.commented $pkgdir/etc/python-policyd-spf
}
+
+# vim:set ts=2 sw=2 et:
diff --git a/pcr/python2-pyspf/PKGBUILD b/pcr/python2-pyspf/PKGBUILD
index ee5373aa7..6ee566f51 100644
--- a/pcr/python2-pyspf/PKGBUILD
+++ b/pcr/python2-pyspf/PKGBUILD
@@ -1,35 +1,41 @@
-# Parabola maintainer: Michał Masłowski <mtjm@mtjm.eu>
-# From https://aur.archlinux.org/packages.php?ID=42274
-# Maintainer (Arch): Filip S. Adamsen <fsa [at] fsadev [dot] com>
-# Contributor (Arch): Samed Beyribey <ras0ir AT eventualis DOT org>
+# Maintainer: Rich Li <rich@dranek.com>
+# Contributor: Filip S. Adamsen <fsa [at] fsadev [dot] com>
+# Contributor: Samed Beyribey <ras0ir AT eventualis DOT org>
pkgname=python2-pyspf
_pkgname=pyspf
-pkgver=2.0.7
+pkgver=2.0.9
pkgrel=1
-pkgdesc="Python2 implementation of the Sender Policy Framework (SPF) protocol"
+pkgdesc="Python 2 implementation of Sender Policy Framework (SPF)"
arch=('any')
-url="http://pypi.python.org/pypi/pyspf"
-license=('PSF')
-depends=('python2-pydns' 'python2')
-checkdepends=('python2-yaml')
-conflicts=('python-pyspf')
+url="http://bmsi.com/python/milter.html"
+license=('Python')
+depends=('python2-pydns' 'python2' 'python2-ipaddr')
+checkdepends=('python2-yaml' 'python2-authres')
+optdepends=('python2-authres: support Authentication-Results headers')
+#conflicts=('python-pyspf')
options=(!emptydirs)
-source=(http://downloads.sourceforge.net/pymilter/$_pkgname-$pkgver.tar.gz)
-md5sums=('df47e2c04054a89da8b46b7f67e704ae')
+source=(https://pypi.python.org/packages/source/p/$_pkgname/$_pkgname-$pkgver.tar.gz)
+md5sums=('055b36fd9469ea77713cf064727a9c18')
+sha1sums=('a239e8e26a67320a022559f72f7748d3c0575000')
+sha256sums=('e4828f785c935d5d24dcab1e8abe13b57de965219c8e821222e763a27fd423e0')
build() {
cd "$srcdir/$_pkgname-$pkgver"
+ python2 setup.py build
+}
- python2 setup.py build || return 1
- python2 setup.py install --root=$pkgdir/ --optimize=1 || return 1
+# While 2.0.8 passed tests, 2.0.9 fails six tests
+#check() {
+# # Note that python2-authres, which is normally optional, is required for the tests to finish successfully
+# cd "$srcdir/$_pkgname-$pkgver/test"
+# # Use the SPF from this package, not the system-installed version
+# sed -i -e "s|import spf|sys.path.append('..')\nimport spf|" testspf.py
+# python2 testspf.py
+#}
- # See http://allanmcrae.com/2010/10/big-python-transition-in-arch-linux/
- sed -i -e "s|#![ ]*/usr/bin/python$|#!/usr/bin/python2|" \
- -e "s|#![ ]*/usr/bin/env python$|#!/usr/bin/env python2|" \
- $(find $pkgdir -name '*.py') || return 1
+package() {
+ cd "$srcdir/$_pkgname-$pkgver"
+ python2 setup.py install --root="$pkgdir" --optimize=1
}
-check() {
- cd "$srcdir/$_pkgname-$pkgver/test"
- PYTHONPATH="$srcdir/$_pkgname-$pkgver:$PYTHONPATH" python2 testspf.py
-}
+# vim:set ts=2 sw=2 et: