summaryrefslogtreecommitdiff
path: root/pcr
diff options
context:
space:
mode:
Diffstat (limited to 'pcr')
-rw-r--r--pcr/babeld/PKGBUILD4
-rw-r--r--pcr/cluster-glue/PKGBUILD160
-rw-r--r--pcr/cluster-glue/cluster-glue.install (renamed from pcr/ha-glue/ha-glue.install)0
-rw-r--r--pcr/ha-glue/PKGBUILD115
-rw-r--r--pcr/ha-glue/ha-logd.service10
-rw-r--r--pcr/openhpi/PKGBUILD82
-rw-r--r--pcr/openipmi/PKGBUILD56
-rw-r--r--pcr/prboom/PKGBUILD34
-rw-r--r--pcr/prboom/libpng-1.4.patch21
-rw-r--r--pcr/python2-postfix-policyd-spf/PKGBUILD28
-rw-r--r--pcr/python2-pydns/PKGBUILD25
-rw-r--r--pcr/python2-pyspf/PKGBUILD35
-rw-r--r--pcr/ttf-beteckna/PKGBUILD22
-rw-r--r--pcr/ttf-beteckna/ttf.install15
14 files changed, 480 insertions, 127 deletions
diff --git a/pcr/babeld/PKGBUILD b/pcr/babeld/PKGBUILD
index e1e3eb0c4..20d442fd6 100644
--- a/pcr/babeld/PKGBUILD
+++ b/pcr/babeld/PKGBUILD
@@ -1,7 +1,7 @@
# Maintainer (AUR): Yann Lopez <arch at lonewulf dot net>
# Maintainer (Parabola): fauno <fauno@parabola.nu>
pkgname=babeld
-pkgver=1.4.0
+pkgver=1.4.1
pkgrel=1
pkgdesc="Loop-free distance-vector routing protocol"
arch=(i686 x86_64 mips64el)
@@ -28,5 +28,5 @@ package() {
install -Dm 644 LICENCE $pkgdir/usr/share/licenses/$pkgname/LICENCE
}
-md5sums=('4ad44bca59f594a629306ac5c9b89d57'
+md5sums=('406bbd940e3a9019d832d20e277266f2'
'SKIP')
diff --git a/pcr/cluster-glue/PKGBUILD b/pcr/cluster-glue/PKGBUILD
new file mode 100644
index 000000000..89b0af8ee
--- /dev/null
+++ b/pcr/cluster-glue/PKGBUILD
@@ -0,0 +1,160 @@
+# Maintainer (Parabola): Márcio Silva <coadde@lavabit.com>
+
+pkgname=cluster-glue
+_pkgname1=${pkgname::7}
+_pkgname2=${pkgname:8}
+_pkgname=${_pkgname1^}_${_pkgname2^}
+_grpname=linux-ha
+pkgver=1.0.11
+pkgrel=8
+pkgdesc='Set of libraries, tools and utilities suitable for the Heartbeat/Pacemaker cluster stack'
+arch=(
+ i686
+ x86_64
+ mips64el
+)
+url=http://$_grpname.org/wiki/$_pkgname
+license=(
+ GPL2
+ LGPL2.1
+)
+group=$_grpname
+depends=(
+ curl
+ dbus-glib
+ glib2
+ libaio
+ libesmtp
+ libltdl
+ libnet
+ libxml2
+ net-snmp
+ openhpi
+ #openipmi
+ python
+ util-linux
+ #vacm
+)
+optdepends=(
+ net-tools
+ openssh
+)
+makedepends=(
+ help2man
+ libxslt
+ lynx
+ net-tools
+ openssh
+ valgrind
+ w3m
+)
+provides=ha-$_pkgname2
+conflicts=ha-$_pkgname2
+replaces=ha-$_pkgname2
+install=$pkgname.install
+source=http://hg.$_grpname.org/$_pkgname2/archive/$_pkgname2-$pkgver.tar.bz2
+sha512sums=35ac8ac555c39f24c11e3a768cc50eba051fe617edf4cdc0429dac73f45a472f144cfe6ec5faff575606f2b04ff76a2f732556d848b61410c2683d93ba928413
+
+prepare() {
+ export _CLUSTER_USER=hacluster
+ export _CLUSTER_GROUP=haclient
+ _DGID=666
+ _DUID=666
+
+ #verify the cluster user and group
+ if ! getent group $_CLUSTER_GROUP >/dev/null;then
+ msg 'BEFORE COMPILE THIS SOFTWARE YOU MUST CREATE A CLUSTER GROUP, EXECUTE AS ROOT:'
+ echo -e "# groupadd -r -g $_DGID $_CLUSTER_GROUP\n"
+ _EXITCODE=1
+ fi
+ if ! getent passwd $_CLUSTER_USER >/dev/null;then
+ msg 'BEFORE COMPILE THIS SOFTWARE YOU MUST CREATE A CLUSTER USER, EXECUTE AS ROOT:'
+ echo -e "# useradd -r -g $_CLUSTER_GROUP -u $_DUID -d /var/lib/heartbeat/cores/$_CLUSTER_USER -s /sbin/nologin -c \"cluster user\" $_CLUSTER_USER\n"
+ _EXITCODE=1
+ fi
+ if [[ $_EXITCODE -eq 1 ]] ;then
+ return 1
+ fi
+
+ cd $srcdir/Reusable-${_pkgname1^}-Components-$_pkgname2--$_pkgname2-$pkgver
+ sed -i 's|AM_CONFIG_HEADER|AC_CONFIG_HEADERS|;
+ s| -O0||;
+ s|AM_INIT_AUTOMAKE($PACKAGE_NAME, $PACKAGE_VERSION)|AM_INIT_AUTOMAKE|;
+ s|${localstatedir}/lock ${localstatedir}/spool/lock ${localstatedir}/spool/locks ${localstatedir}/lock|/run/lock|;
+ s|/sbin:/usr/sbin:/usr/local/sbin:/usr/local/bin|/usr/bin|;
+ ' configure.ac
+ sed -i 's|INCLUDES|AM_CPPFLAGS|;
+ ' $(grep -rl INCLUDES . | grep Makefile.am)
+ sed -i 's|bin/sh|usr/bin/bash|;
+ ' $(grep -rl bin/sh .)
+ sed -i 's|usr/sbin|usr/bin|;
+ ' $(grep -rl usr/bin .)
+ sed -i 's| /bin| /usr/bin|;
+ ' $(grep -rl ' /bin' .)
+ sed -i 's| /sbin| /usr/bin|;
+ ' $(grep -rl ' /sbin' .)
+ sed -i 's|/var/lock|/run/lock|;
+ ' $(grep -rl /var/lock .)
+ sed -i 's|var/run|run|;
+ ' $(grep -rl var/run)
+ sed -i 's|Open Source|Free Software|;
+ ' $(grep -rl 'Open Source' .)
+ sed -i 's|opensource|freesoftware|;
+ ' $(grep -rl 'opensource' .)
+ sed -i '/Solaris, FreeBSD and Linux/ s|Linux|GNU/Linux|;
+ /sysDescr.0 = STRING: Linux/ s|Linux|GNU/Linux|;
+ /works only on Linux./ s|Linux|GNU/Linux|;
+ /UNIX, Linux/ s|Linux|GNU/Linux|;
+ /Logging Daemon for High-Availability Linux/ s|Linux|GNU/Linux|;
+ /This is what the Linux/ s|Linux|GNU/Linux|;
+ /Compiling for Linux platform/ s|Linux|GNU/Linux|;
+ /Like Linux/ s|Linux|GNU/Linux|;
+ /(e.g. Linux)/ s|Linux|GNU/Linux|;
+ /Linux, Solaris/ s|Linux|GNU/Linux|;
+ /Linux and Compaq Tru64 Unix/ s|Linux|GNU/Linux|;
+ ' $(grep -rl Linux .)
+}
+
+build() {
+ cd $srcdir/Reusable-${_pkgname1^}-Components-$_pkgname2--$_pkgname2-$pkgver
+ setarch $CARCH ./autogen.sh
+ setarch $CARCH ./configure --prefix=/usr\
+ --disable-ansi\
+ --disable-fatal-warnings\
+ --enable-doc\
+ --enable-libnet\
+ --enable-upstart\
+ --libdir=/usr/lib\
+ --localstatedir=/var\
+ --sbindir=/usr/bin\
+ --sysconfdir=/etc\
+ --with-daemon-group=haclient\
+ --with-daemon-user=hacluster\
+ --with-ocf-root=/usr/lib/ocf
+ setarch $CARCH make
+}
+
+package() {
+ cd $srcdir/Reusable-${_pkgname1^}-Components-$_pkgname2--$_pkgname2-$pkgver
+ setarch $CARCH make DESTDIR=$pkgdir install
+
+ rm $pkgdir/etc/rc.d/logd && rmdir $pkgdir/etc{/rc.d,}
+
+ install -d $pkgdir/usr/lib/systemd/system
+ echo '[Unit]' > $pkgdir/usr/lib/systemd/system/ha_log.service
+ echo 'Description=Startup script logd service' >> $pkgdir/usr/lib/systemd/system/ha_log.service
+ echo 'Requires=network.target remote-fs.target' >> $pkgdir/usr/lib/systemd/system/ha_log.service
+ echo '' >> $pkgdir/usr/lib/systemd/system/ha_log.service
+ echo '[Service]' >> $pkgdir/usr/lib/systemd/system/ha_log.service
+ echo 'Type=forking' >> $pkgdir/usr/lib/systemd/system/ha_log.service
+ echo 'ExecStart=/usr/lib/heartbeat/ha_logd' >> $pkgdir/usr/lib/systemd/system/ha_log.service
+ echo '' >> $pkgdir/usr/lib/systemd/system/ha_log.service
+ echo '[Install]' >> $pkgdir/usr/lib/systemd/system/ha_log.service
+ echo 'WantedBy=multi-user.target' >> $pkgdir/usr/lib/systemd/system/ha_log.service
+
+ msg 'AFTER COMPILE THIS SOFTWARE YOU MUST DELETE A CLUSTER USER AND A CLUSTER GROUP, EXECUTE AS ROOT:'
+ echo -e "# userdel $_CLUSTER_USER"
+ echo -e "# groupdel $_CLUSTER_GROUP"
+}
+
+# vim:set ts=2 sw=2 et:
diff --git a/pcr/ha-glue/ha-glue.install b/pcr/cluster-glue/cluster-glue.install
index 05e2160d3..05e2160d3 100644
--- a/pcr/ha-glue/ha-glue.install
+++ b/pcr/cluster-glue/cluster-glue.install
diff --git a/pcr/ha-glue/PKGBUILD b/pcr/ha-glue/PKGBUILD
deleted file mode 100644
index ab23a80d2..000000000
--- a/pcr/ha-glue/PKGBUILD
+++ /dev/null
@@ -1,115 +0,0 @@
-# Maintainer (Parabola): Márcio Silva <coadde@lavabit.com>
-
-pkgname=ha-glue
-_pkgname=${pkgname:3}
-pkgver=1.0.11
-pkgrel=7
-pkgdesc='Set of libraries, tools and utilities suitable for the Heartbeat/Pacemaker cluster stack'
-arch=(
- i686
- x86_64
- mips64el
-)
-url=http://linux-ha.org/wiki/Cluster_${_pkgname^}
-license=(
- GPL2
- LGPL2.1
-)
-depends=(
- curl
- dbus-glib
- glib2
- libaio
- libesmtp
- libnet
- libxml2
- net-snmp
- python
- util-linux
-)
-optdepends=(
- lynx
- net-tools
- openssh
- valgrind
- w3m
-)
-makedepends=(
- help2man
- libxslt
- lynx
- net-tools
- openssh
- valgrind
- w3m
-)
-options=!libtool
-install=$pkgname.install
-source=(
- http://hg.linux-ha.org/$_pkgname/archive/$_pkgname-$pkgver.tar.bz2
- ha-log.service
-)
-sha512sums=(
- 35ac8ac555c39f24c11e3a768cc50eba051fe617edf4cdc0429dac73f45a472f144cfe6ec5faff575606f2b04ff76a2f732556d848b61410c2683d93ba928413
- 9252472a6d7a1bbad765c63becdec4064d882b1eb98abdf27833a6e06d8750f06663b2460d32a4c72d04f10a7480ef0a2093b8a18b4d1fc62a989cde54ee056a
-)
-
-prepare() {
- export _CLUSTER_USER=hacluster
- export _CLUSTER_GROUP=haclient
- _DGID=666
- _DUID=666
-
- #verify the cluster user and group
- if ! getent group $_CLUSTER_GROUP >/dev/null;then
- msg 'BEFORE COMPILE THIS SOFTWARE YOU MUST CREATE A CLUSTER GROUP, EXECUTE AS ROOT:'
- echo -e "# groupadd -r -g $_DGID $_CLUSTER_GROUP\n"
- _EXITCODE=1
- fi
- if ! getent passwd $_CLUSTER_USER >/dev/null;then
- msg 'BEFORE COMPILE THIS SOFTWARE YOU MUST CREATE A CLUSTER USER, EXECUTE AS ROOT:'
- echo -e "# useradd -r -g $_CLUSTER_GROUP -u $_DUID -d /var/lib/heartbeat/cores/$_CLUSTER_USER -s /sbin/nologin -c \"cluster user\" $_CLUSTER_USER\n"
- _EXITCODE=1
- fi
- if [[ $_EXITCODE -eq 1 ]] ;then
- return 1
- fi
-
- cd $srcdir/Reusable-Cluster-Components-$_pkgname--$_pkgname-$pkgver
- sed -i 's|AM_CONFIG_HEADER|AC_CONFIG_HEADERS|;
- s| -O0||;
- s|AM_INIT_AUTOMAKE($PACKAGE_NAME, $PACKAGE_VERSION)|AM_INIT_AUTOMAKE|;
- ' configure.ac
- sed -i 's|INCLUDES|AM_CPPFLAGS|;
- ' {lib/{clplumbing,lrm,pils,plugins/{InterfaceMgr,compress,lrm,stonith},stonith},logd,lrm/{admin,lrmd,test},replace}/Makefile.am
-}
-
-build() {
- cd $srcdir/Reusable-Cluster-Components-$_pkgname--$_pkgname-$pkgver
- setarch $CARCH ./autogen.sh
- setarch $CARCH ./configure --prefix=/usr\
- --disable-fatal-warnings\
- --enable-static=no\
- --enable-upstart\
- --libdir=/usr/lib\
- --localstatedir=/var\
- --sysconfdir=/etc\
- --with-daemon-group=haclient\
- --with-daemon-user=hacluster\
- --with-ocf-root=/usr/lib/ocf
- setarch $CARCH make
-}
-
-package() {
- cd $srcdir/Reusable-Cluster-Components-$_pkgname--$_pkgname-$pkgver
- setarch $CARCH make DESTDIR=$pkgdir install
-
- install -d $pkgdir/usr/lib/systemd/system
- install -Dm644 $srcdir/ha-log.service $pkgdir/usr/lib/systemd/system
-
- msg 'AFTER COMPILE THIS SOFTWARE YOU MUST DELETE A CLUSTER USER AND A CLUSTER GROUP, EXECUTE AS ROOT:'
- echo -e "# userdel $_CLUSTER_USER"
- echo -e "# groupdel $_CLUSTER_GROUP"
-}
-
-# vim:set ts=2 sw=2 et:
diff --git a/pcr/ha-glue/ha-logd.service b/pcr/ha-glue/ha-logd.service
deleted file mode 100644
index 1847d8cdd..000000000
--- a/pcr/ha-glue/ha-logd.service
+++ /dev/null
@@ -1,10 +0,0 @@
-[Unit]
-Description=Startup script logd service.
-Requires=network.target remote-fs.target
-
-[Service]
-Type=forking
-ExecStart=/usr/lib/heartbeat/ha_logd
-
-[Install]
-WantedBy=multi-user.target
diff --git a/pcr/openhpi/PKGBUILD b/pcr/openhpi/PKGBUILD
new file mode 100644
index 000000000..6389ff39c
--- /dev/null
+++ b/pcr/openhpi/PKGBUILD
@@ -0,0 +1,82 @@
+# Maintainer: Márcio Silva <coadde@lavabit.com>
+
+pkgname=openhpi
+pkgver=3.2.0
+pkgrel=1
+pkgdesc='Abstracted interface for managing computer hardware, typically chassis and rack based servers'
+arch=(
+ i686
+ x86_64
+ mips64el
+)
+url=http://www.$pkgname.org/
+license=custom
+depends=(
+ libxml2
+ net-snmp
+)
+source=http://downloads.sourceforge.net/$pkgname/$pkgname-$pkgver.tar.gz
+sha512sums=5a54ccc2279b3a608e2842dd3b4f01d7d483182ecd33d1d33186247cea15b62f1e0aea4eea1294cd6c3959a25424dc322cca73e516f4c8fd9d3a41a949d087ab
+
+prepare() {
+ cd $srcdir/$pkgname-$pkgver
+ sed -i 's|bin/sh|usr/bin/bash|;
+ ' $(grep -rl bin/sh)
+ sed -i 's|usr/sbin|usr/bin|;
+ ' $(grep -rl usr/bin)
+ sed -i 's| /bin| /usr/bin|;
+ ' $(grep -rl ' /bin')
+ sed -i 's| /sbin| /usr/bin|;
+ ' $(grep -rl ' /sbin')
+ sed -i 's|var/lock|run/lock|;
+ ' $(grep -rl var/lock)
+ sed -i 's|var/run|run|;
+ ' $(grep -rl var/run)
+ sed -i '/Like Linux/ s|Linux|GNU/Linux|;
+ /Linux and Compaq Tru64 Unix/ s|Linux|GNU/Linux|;
+ /Linux distribution/ s|Linux|GNU/Linux|;
+ /Linux software/ s|Linux|GNU/Linux|;
+ ' $(grep -rl Linux)
+}
+
+build() {
+ cd $srcdir/$pkgname-$pkgver
+ setarch $CARCH ./configure --prefix=/usr\
+ --enable-clients\
+ --enable-dynamic_simulator\
+ --enable-ilo2_ribcl\
+ --enable-ipmidirect\
+ --enable-man\
+ --enable-oa_soap\
+ --enable-simulator\
+ --enable-slave\
+ --enable-snmp_bc\
+ --enable-sysfs\
+ --enable-test_agent\
+ --enable-watchdog\
+ --localstatedir=/var\
+ --sbindir=/usr/bin\
+ --sysconfdir=/etc
+ setarch $CARCH make
+}
+
+package() {
+ cd $srcdir/$pkgname-$pkgver
+ setarch $CARCH make DESTDIR=$pkgdir install
+
+ rm $pkgdir/etc/init.d/openhpid && rmdir $pkgdir/etc/init.d
+
+ install -d $pkgdir/usr/lib/systemd/system
+ echo '[Unit]' > $pkgdir/usr/lib/systemd/system/openhpi.service
+ echo 'Description=Enable OpenHPI service which is provided by openhpid' >> $pkgdir/usr/lib/systemd/system/openhpi.service
+ echo 'After=network.target remote-fs.target' >> $pkgdir/usr/lib/systemd/system/openhpi.service
+ echo '' >> $pkgdir/usr/lib/systemd/system/openhpi.service
+ echo '[Service]' >> $pkgdir/usr/lib/systemd/system/openhpi.service
+ echo 'Type=forking' >> $pkgdir/usr/lib/systemd/system/openhpi.service
+ echo 'ExecStart=/usr/bin/openhpid -c /etc/openhpi/openhpi.conf' >> $pkgdir/usr/lib/systemd/system/openhpi.service
+ echo '' >> $pkgdir/usr/lib/systemd/system/openhpi.service
+ echo '[Install]' >> $pkgdir/usr/lib/systemd/system/openhpi.service
+ echo 'WantedBy=multi-user.target' >> $pkgdir/usr/lib/systemd/system/openhpi.service
+}
+
+# vim:set ts=2 sw=2 et:
diff --git a/pcr/openipmi/PKGBUILD b/pcr/openipmi/PKGBUILD
new file mode 100644
index 000000000..1dcb359ee
--- /dev/null
+++ b/pcr/openipmi/PKGBUILD
@@ -0,0 +1,56 @@
+# Maintainer: Márcio Silva <coadde@lavabit.com>
+
+pkgname=openipmi
+_pkgname1=${pkgname::4}
+_pkgname2=${pkgname:4}
+_pkgname=${_pkgname1^}${_pkgname2^^}
+pkgver=2.0.19
+_pkgver=${pkgver::3}
+pkgrel=1
+pkgdesc="Allow access to platform information using Intelligent Platform Management Interface (${_pkgname2^^})"
+arch=(
+ i686
+ x86_64
+ mips64el
+)
+url=http://sourceforge.net/projects/$pkgname/
+depends=(
+ glib
+ net-snmp
+ #python2
+ swig
+ tcl
+)
+makedepends=(
+ dia
+ ghostscript-libre
+ texlive-bibtexextra
+)
+options=(!libtool)
+license=(
+ BSD-new
+ GPL2
+ LGPL2.1
+)
+source=http://downloads.sourceforge.net/project/$pkgname/$_pkgname' '$_pkgver' 'Library/$_pkgname-$pkgver.tar.gz
+sha512sums=ee95eb64b7cde3f22c8444a5f8e3172808b0bb9a3a7034c1302c5f568c1cc0852a44ccc836924267b5f9901f7a8a3f4c66272cc0b663aa55689d7529841217cb
+
+prepare() {
+ cd $srcdir/$_pkgname-$pkgver
+ sed -i '/on Linux/ s|Linux|GNU/Linux|' $(grep -rl Linux)
+}
+
+build() {
+ cd $srcdir/$_pkgname-$pkgver
+ setarch $CARCH ./configure --prefix=/usr\
+ --disable-static
+ setarch $CARCH make
+}
+
+package() {
+ cd $srcdir/$_pkgname-$pkgver
+ install -d $pkgdir/usr/bin
+ setarch $CARCH make DESTDIR=$pkgdir install
+}
+
+# vim:set ts=2 sw=2 et:
diff --git a/pcr/prboom/PKGBUILD b/pcr/prboom/PKGBUILD
new file mode 100644
index 000000000..03f53784e
--- /dev/null
+++ b/pcr/prboom/PKGBUILD
@@ -0,0 +1,34 @@
+# $Id: PKGBUILD 77655 2012-10-13 11:44:28Z allan $
+# Maintainer: Lukas Fleischer <archlinux at cryptocrack dot de>
+# Contributor: Thayer Williams <thayer@archlinux.org>
+# Contributor: dale <dale@archlinux.org>
+
+pkgname=prboom
+pkgver=2.5.0
+pkgrel=7
+pkgdesc='A game engine which provides a program to play Doom levels.'
+url='http://prboom.sourceforge.net/'
+license=('GPL2')
+arch=('i686' 'x86_64' 'mips64el')
+depends=('libpng' 'sdl_mixer' 'sdl_net' 'glu')
+makedepends=('mesa')
+source=("http://downloads.sourceforge.net/prboom/${pkgname}-${pkgver}.tar.gz"
+ 'libpng-1.4.patch')
+md5sums=('a8a15f61fa2626ab98051ab2703378c4'
+ 'ba53474db8e747035ca2320a445e4ae0')
+
+build() {
+ cd "${srcdir}/${pkgname}-${pkgver}"
+
+ patch -p1 < ../libpng-1.4.patch
+
+ ./configure --prefix=/usr --disable-i386-asm
+ sed -i "s|/games|/bin|g" "${srcdir}/${pkgname}-${pkgver}/src/Makefile"
+ make
+}
+
+package() {
+ cd "${srcdir}/${pkgname}-${pkgver}"
+ make DESTDIR="${pkgdir}" install
+}
+
diff --git a/pcr/prboom/libpng-1.4.patch b/pcr/prboom/libpng-1.4.patch
new file mode 100644
index 000000000..a2215e37b
--- /dev/null
+++ b/pcr/prboom/libpng-1.4.patch
@@ -0,0 +1,21 @@
+diff -Naur prboom-2.5.0-orig/src/SDL/i_sshot.c prboom-2.5.0/src/SDL/i_sshot.c
+--- prboom-2.5.0-orig/src/SDL/i_sshot.c 2010-01-24 23:26:03.000000000 -0500
++++ prboom-2.5.0/src/SDL/i_sshot.c 2010-01-24 23:28:42.000000000 -0500
+@@ -231,7 +231,7 @@
+ if (fp)
+ {
+ png_struct *png_ptr = png_create_write_struct(
+- PNG_LIBPNG_VER_STRING, png_error_ptr_NULL, error_fn, warning_fn);
++ PNG_LIBPNG_VER_STRING, NULL, error_fn, warning_fn);
+
+ if (png_ptr)
+ {
+@@ -279,7 +279,7 @@
+ break;
+ }
+ }
+- png_destroy_write_struct(&png_ptr, png_infopp_NULL);
++ png_destroy_write_struct(&png_ptr, NULL);
+ }
+ fclose(fp);
+ }
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
+}
diff --git a/pcr/python2-pydns/PKGBUILD b/pcr/python2-pydns/PKGBUILD
new file mode 100644
index 000000000..cf5f4b388
--- /dev/null
+++ b/pcr/python2-pydns/PKGBUILD
@@ -0,0 +1,25 @@
+# Parabola maintainer: Michał Masłowski <mtjm@mtjm.eu>
+# From https://aur.archlinux.org/packages.php?ID=42273
+# Maintainer: Filip S. Adamsen <fsa [at] fsadev [dot] com>
+# Contributor: Samed Beyribey <ras0ir AT eventualis DOT org>
+pkgname=python2-pydns
+_pkgname=pydns
+pkgver=2.3.6
+pkgrel=1
+pkgdesc="Python2 module for performing DNS queries"
+arch=('any')
+url="http://pydns.sourceforge.net"
+license=('custom')
+depends=('python2')
+options=(!emptydirs)
+source=(http://downloads.sourceforge.net/$_pkgname/$_pkgname-$pkgver.tar.gz)
+md5sums=('d12ca75251854ab6fcabbaff6909b690')
+
+build() {
+ cd "$srcdir/$_pkgname-$pkgver"
+
+ python2 setup.py build || return 1
+ python2 setup.py install --root=$pkgdir/ --optimize=1 || return 1
+ install -m755 -d "${pkgdir}/usr/share/licenses/$pkgname"
+ install -m644 LICENSE "${pkgdir}/usr/share/licenses/$pkgname"
+}
diff --git a/pcr/python2-pyspf/PKGBUILD b/pcr/python2-pyspf/PKGBUILD
new file mode 100644
index 000000000..abb3bfa5f
--- /dev/null
+++ b/pcr/python2-pyspf/PKGBUILD
@@ -0,0 +1,35 @@
+# Parabola maintainer: Michał Masłowski <mtjm@mtjm.eu>
+# From https://aur.archlinux.org/packages.php?ID=42274
+# Maintainer: 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
+pkgrel=1
+pkgdesc="Python2 implementation of the Sender Policy Framework (SPF) protocol"
+arch=('any')
+url="http://pypi.python.org/pypi/pyspf"
+license=('PSF')
+depends=('python2-pydns' 'python2')
+checkdepends=('python2-yaml')
+conflicts=('python-pyspf')
+options=(!emptydirs)
+source=(http://downloads.sourceforge.net/pymilter/$_pkgname-$pkgver.tar.gz)
+md5sums=('df47e2c04054a89da8b46b7f67e704ae')
+
+build() {
+ cd "$srcdir/$_pkgname-$pkgver"
+
+ python2 setup.py build || return 1
+ python2 setup.py install --root=$pkgdir/ --optimize=1 || return 1
+
+ # 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
+}
+
+check() {
+ cd "$srcdir/$_pkgname-$pkgver/test"
+ PYTHONPATH="$srcdir/$_pkgname-$pkgver:$PYTHONPATH" python2 testspf.py
+}
diff --git a/pcr/ttf-beteckna/PKGBUILD b/pcr/ttf-beteckna/PKGBUILD
new file mode 100644
index 000000000..3bbe41397
--- /dev/null
+++ b/pcr/ttf-beteckna/PKGBUILD
@@ -0,0 +1,22 @@
+# From https://aur.archlinux.org/packages.php?ID=22483
+# Maintainer: TDY <tdy@gmx.com>
+
+pkgname=ttf-beteckna
+pkgver=0.4
+pkgrel=1.1
+pkgdesc="A geometric sans serif typeface inspired by the popular Futura"
+arch=('any')
+url="http://gnu.ethz.ch/linuks.mine.nu/beteckna/"
+license=('GPL')
+depends=('fontconfig' 'xorg-font-utils')
+makedepends=('fontforge')
+install=ttf.install
+source=(http://gnu.ethz.ch/linuks.mine.nu/${pkgname/*-}/${pkgname/*-}-$pkgver.tar.gz)
+md5sums=('01c12138e0f689f4acdacb105f4350a7')
+
+build() {
+ cd "$srcdir/${pkgname/*-}-$pkgver"
+ install -dm755 "$pkgdir/usr/share/fonts/TTF"
+ fontforge -script sfd2ttf.ff *.sfd &> /dev/null || return 1
+ install -Dm644 *.ttf "$pkgdir/usr/share/fonts/TTF"
+}
diff --git a/pcr/ttf-beteckna/ttf.install b/pcr/ttf-beteckna/ttf.install
new file mode 100644
index 000000000..33b7d6549
--- /dev/null
+++ b/pcr/ttf-beteckna/ttf.install
@@ -0,0 +1,15 @@
+post_install() {
+ echo -n "==> Rebuilding font cache... "
+ fc-cache -f &> /dev/null
+ mkfontscale /usr/share/fonts/TTF
+ mkfontdir /usr/share/fonts/TTF
+ echo "done"
+}
+
+post_upgrade() {
+ post_install $1
+}
+
+post_remove() {
+ post_install $1
+}