summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--community-staging/haskell-ghc-paths/PKGBUILD45
-rw-r--r--community-staging/haskell-ghc-paths/haskell-ghc-paths.install18
-rw-r--r--community-staging/haskell-haskeline/PKGBUILD40
-rw-r--r--community-staging/haskell-haskeline/haskell-haskeline.install18
-rw-r--r--community-staging/haskell-hslogger/PKGBUILD36
-rw-r--r--community-staging/haskell-hslogger/haskell-hslogger.install18
-rw-r--r--community-staging/haskell-regex-compat/PKGBUILD37
-rw-r--r--community-staging/haskell-regex-compat/haskell-regex-compat.install18
-rw-r--r--community-staging/haskell-regex-posix/PKGBUILD37
-rw-r--r--community-staging/haskell-regex-posix/haskell-regex-posix.install18
-rw-r--r--community-staging/haskell-utf8-string/PKGBUILD39
-rw-r--r--community-staging/haskell-utf8-string/haskell-utf8-string.install18
-rw-r--r--community-staging/haskell-xhtml/PKGBUILD49
-rw-r--r--community-staging/haskell-xhtml/haskell-xhtml.install19
-rw-r--r--community/aria2/PKGBUILD15
-rw-r--r--community/cppcheck/PKGBUILD6
-rw-r--r--community/cython/PKGBUILD6
-rw-r--r--community/dos2unix/PKGBUILD14
-rw-r--r--community/freeorion/PKGBUILD43
-rw-r--r--community/freeorion/cmake_python.patch23
-rw-r--r--community/kmymoney/PKGBUILD15
-rw-r--r--community/kmymoney/kmymoney.changelog3
-rw-r--r--community/os-prober/PKGBUILD8
-rw-r--r--community/privoxy/PKGBUILD6
-rw-r--r--community/privoxy/privoxy.service1
-rw-r--r--community/sysprof/PKGBUILD6
-rw-r--r--community/tinc/PKGBUILD11
-rw-r--r--community/tinc/tincd@.service10
-rw-r--r--core/libmpc/PKGBUILD9
-rw-r--r--extra/avahi/PKGBUILD9
-rw-r--r--extra/elfutils/PKGBUILD26
-rw-r--r--extra/elfutils/elfutils-0.155-binutils-pr-ld-13621.patch16
-rw-r--r--extra/gtk-xfce-engine/PKGBUILD6
-rw-r--r--extra/kdeplasma-applets-networkmanagement/PKGBUILD4
-rw-r--r--extra/modemmanager/PKGBUILD10
-rw-r--r--extra/network-manager-applet/PKGBUILD19
-rw-r--r--extra/network-manager-applet/network-manager-applet.install18
-rw-r--r--extra/networkmanager-openconnect/PKGBUILD8
-rw-r--r--extra/networkmanager-openvpn/PKGBUILD6
-rw-r--r--extra/networkmanager-pptp/PKGBUILD6
-rw-r--r--extra/networkmanager-vpnc/PKGBUILD6
-rw-r--r--extra/networkmanager/PKGBUILD17
-rw-r--r--extra/openconnect/PKGBUILD10
-rw-r--r--extra/upower/0001-Send-resume-signal-when-built-with-systemd-and-using.patch35
-rw-r--r--extra/upower/PKGBUILD24
-rw-r--r--extra/xf86-input-vmmouse/PKGBUILD34
-rw-r--r--extra/xf86-input-wacom/PKGBUILD17
-rw-r--r--extra/xf86-video-intel/PKGBUILD6
-rw-r--r--extra/xf86-video-vmware/PKGBUILD31
-rw-r--r--libre/liferea-libre/PKGBUILD4
-rw-r--r--libre/virtualbox-libre/PKGBUILD4
-rw-r--r--libre/virtualbox-libre/virtualbox-libre.install14
-rw-r--r--pcr/cambozola/PKGBUILD26
-rw-r--r--pcr/libdrm-git/COPYING48
-rw-r--r--pcr/libdrm-git/PKGBUILD56
-rw-r--r--pcr/perl-astro-suntime/PKGBUILD29
-rw-r--r--pcr/perl-net-sftp-foreign/Changes795
-rw-r--r--pcr/perl-net-sftp-foreign/PKGBUILD30
-rw-r--r--pcr/perl-sys-mmap/PKGBUILD49
-rw-r--r--pcr/perl-unicode-map/PKGBUILD30
-rw-r--r--pcr/perl-x10/PKGBUILD30
-rw-r--r--pcr/zoneminder/Controls_Orbit.sql3
-rw-r--r--pcr/zoneminder/PKGBUILD114
-rw-r--r--pcr/zoneminder/arm-context.patch18
-rwxr-xr-xpcr/zoneminder/customdb31
-rw-r--r--pcr/zoneminder/httpd-zm.conf18
-rw-r--r--pcr/zoneminder/patch-ffmpeg-0.11.patch60
-rw-r--r--pcr/zoneminder/patch-libavcodec-detection.patch11
-rw-r--r--pcr/zoneminder/zm.rc.d172
-rw-r--r--pcr/zoneminder/zm.service9
-rwxr-xr-xpcr/zoneminder/zmeventbackup48
-rw-r--r--pcr/zoneminder/zminit.arch143
-rw-r--r--pcr/zoneminder/zoneminder-1.25.0-kernel35.patch21
-rw-r--r--pcr/zoneminder/zoneminder.install57
-rw-r--r--testing/fluidsynth/PKGBUILD51
-rw-r--r--testing/fluidsynth/fluidsynth.conf2
-rw-r--r--testing/fluidsynth/fluidsynth.install19
-rw-r--r--testing/fluidsynth/fluidsynth.rc40
-rw-r--r--testing/fluidsynth/fluidsynth.systemd9
-rw-r--r--testing/kdevelop-php/PKGBUILD46
-rw-r--r--testing/kdevelop/PKGBUILD31
-rw-r--r--testing/kdevelop/kdevelop.install13
-rw-r--r--testing/kdevplatform/PKGBUILD33
-rw-r--r--testing/kdevplatform/kdevplatform.install11
-rw-r--r--testing/util-linux/pam-su9
-rw-r--r--testing/util-linux/su.1230
-rw-r--r--testing/util-linux/uuidd.tmpfiles1
87 files changed, 2775 insertions, 434 deletions
diff --git a/community-staging/haskell-ghc-paths/PKGBUILD b/community-staging/haskell-ghc-paths/PKGBUILD
new file mode 100644
index 000000000..1e23d3c10
--- /dev/null
+++ b/community-staging/haskell-ghc-paths/PKGBUILD
@@ -0,0 +1,45 @@
+# Maintainer:
+# Contributor: Alexander Rødseth <rodseth@gmail.com>
+# Contributor: Arch Haskell Team <arch-haskell@haskell.org>
+
+pkgname=haskell-ghc-paths
+pkgver=0.1.0.8
+pkgrel=9
+pkgdesc="Knowledge of GHC's installation directories"
+url="http://hackage.haskell.org/package/ghc-paths"
+license=('custom:BSD3')
+arch=('x86_64' 'i686')
+depends=('ghc=7.6.1-1')
+source=("http://hackage.haskell.org/packages/archive/ghc-paths/$pkgver/ghc-paths-$pkgver.tar.gz")
+install=haskell-ghc-paths.install
+md5sums=('d2b23dc563888e380588501d2ce1d82b')
+
+build() {
+ cd "$srcdir/ghc-paths-$pkgver"
+
+ runhaskell Setup configure -O -p --enable-split-objs --enable-shared \
+ --prefix=/usr --docdir="/usr/share/doc/$pkgname" \
+ --libsubdir=\$compiler/site-local/\$pkgid
+ runhaskell Setup build
+ runhaskell Setup haddock
+ runhaskell Setup register --gen-script
+ runhaskell Setup unregister --gen-script
+ sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+package() {
+ cd "$srcdir/ghc-paths-$pkgver"
+
+ install -Dm 744 register.sh \
+ "$pkgdir/usr/share/haskell/$pkgname/register.sh"
+ install -m 744 unregister.sh \
+ "$pkgdir/usr/share/haskell/$pkgname/unregister.sh"
+ install -dm 755 "$pkgdir/usr/share/doc/ghc/html/libraries"
+ ln -s "/usr/share/doc/$pkgname/html" \
+ "$pkgdir/usr/share/doc/ghc/html/libraries/ghc-paths"
+ runhaskell Setup copy --destdir="$pkgdir"
+ install -D -m644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
+ rm -f "$pkgdir/usr/share/doc/$pkgname/LICENSE"
+}
+
+# vim:set ts=2 sw=2 et:
diff --git a/community-staging/haskell-ghc-paths/haskell-ghc-paths.install b/community-staging/haskell-ghc-paths/haskell-ghc-paths.install
new file mode 100644
index 000000000..4fd2c6c56
--- /dev/null
+++ b/community-staging/haskell-ghc-paths/haskell-ghc-paths.install
@@ -0,0 +1,18 @@
+HS_DIR=usr/share/haskell/haskell-ghc-paths
+post_install() {
+ ${HS_DIR}/register.sh
+ (cd usr/share/doc/ghc/html/libraries; ./gen_contents_index)
+}
+pre_upgrade() {
+ ${HS_DIR}/unregister.sh
+}
+post_upgrade() {
+ ${HS_DIR}/register.sh
+ (cd usr/share/doc/ghc/html/libraries; ./gen_contents_index)
+}
+pre_remove() {
+ ${HS_DIR}/unregister.sh
+}
+post_remove() {
+ (cd usr/share/doc/ghc/html/libraries; ./gen_contents_index)
+}
diff --git a/community-staging/haskell-haskeline/PKGBUILD b/community-staging/haskell-haskeline/PKGBUILD
new file mode 100644
index 000000000..fe25fb84a
--- /dev/null
+++ b/community-staging/haskell-haskeline/PKGBUILD
@@ -0,0 +1,40 @@
+# $Id: PKGBUILD 76055 2012-09-10 05:23:04Z tdziedzic $
+# Maintainer: Vesa Kaihlavirta <vegai@iki.fi>
+# Contributor: Arch Haskell Team <arch-haskell@haskell.org>
+# Package generated by cabal2arch 0.7.6
+
+_hkgname=haskeline
+pkgname=haskell-haskeline
+pkgver=0.7.0.3
+pkgrel=1
+pkgdesc="A command-line interface for user input, written in Haskell."
+url="http://hackage.haskell.org/package/haskeline"
+license=('custom:BSD3')
+arch=('i686' 'x86_64')
+depends=('ghc=7.6.1-1' 'sh' 'haskell-utf8-string=0.3.7-3' 'haskell-mtl=2.1.2-1' 'haskell-terminfo=0.3.2.5-1')
+source=(http://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+install=${pkgname}.install
+md5sums=('3a78043dc80b5510202e71e77c0a9923')
+
+build() {
+ cd ${srcdir}/${_hkgname}-${pkgver}
+ runhaskell Setup configure \
+ -O -p --enable-split-objs --enable-shared -fterminfo --prefix=/usr \
+ --docdir=/usr/share/doc/${pkgname} --libsubdir=\$compiler/site-local/\$pkgid
+ runhaskell Setup build
+ runhaskell Setup haddock
+ runhaskell Setup register --gen-script
+ runhaskell Setup unregister --gen-script
+ sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+package() {
+ cd ${srcdir}/${_hkgname}-${pkgver}
+ install -D -m744 register.sh ${pkgdir}/usr/share/haskell/${pkgname}/register.sh
+ install -m744 unregister.sh ${pkgdir}/usr/share/haskell/${pkgname}/unregister.sh
+ install -d -m755 ${pkgdir}/usr/share/doc/ghc/html/libraries
+ ln -s /usr/share/doc/${pkgname}/html ${pkgdir}/usr/share/doc/ghc/html/libraries/${_hkgname}
+ runhaskell Setup copy --destdir=${pkgdir}
+ install -D -m644 LICENSE ${pkgdir}/usr/share/licenses/${pkgname}/LICENSE
+ rm -f ${pkgdir}/usr/share/doc/${pkgname}/LICENSE
+}
diff --git a/community-staging/haskell-haskeline/haskell-haskeline.install b/community-staging/haskell-haskeline/haskell-haskeline.install
new file mode 100644
index 000000000..27cb4a093
--- /dev/null
+++ b/community-staging/haskell-haskeline/haskell-haskeline.install
@@ -0,0 +1,18 @@
+HS_DIR=usr/share/haskell/haskell-haskeline
+post_install() {
+ ${HS_DIR}/register.sh
+ (cd usr/share/doc/ghc/html/libraries; ./gen_contents_index)
+}
+pre_upgrade() {
+ ${HS_DIR}/unregister.sh
+}
+post_upgrade() {
+ ${HS_DIR}/register.sh
+ (cd usr/share/doc/ghc/html/libraries; ./gen_contents_index)
+}
+pre_remove() {
+ ${HS_DIR}/unregister.sh
+}
+post_remove() {
+ (cd usr/share/doc/ghc/html/libraries; ./gen_contents_index)
+}
diff --git a/community-staging/haskell-hslogger/PKGBUILD b/community-staging/haskell-hslogger/PKGBUILD
new file mode 100644
index 000000000..a2338816c
--- /dev/null
+++ b/community-staging/haskell-hslogger/PKGBUILD
@@ -0,0 +1,36 @@
+# $Id: PKGBUILD 76057 2012-09-10 05:31:32Z tdziedzic $
+# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
+# Maintainer: Arch Haskell Team <arch-haskell@haskell.org>
+
+pkgname=haskell-hslogger
+pkgver=1.2.0
+pkgrel=2
+pkgdesc="Versatile logging framework"
+url="http://hackage.haskell.org/package/hslogger"
+license=('LGPL')
+arch=('i686' 'x86_64')
+depends=('ghc=7.6.1-1' 'haskell-mtl=2.1.2-1' 'haskell-network=2.3.1.0-1')
+install=${pkgname}.install
+source=(http://hackage.haskell.org/packages/archive/hslogger/${pkgver}/hslogger-${pkgver}.tar.gz)
+md5sums=('e0737887b0df75a3781989c8f6689850')
+
+build() {
+ cd ${srcdir}/hslogger-${pkgver}
+ runhaskell Setup configure -p --prefix=/usr --docdir=/usr/share/doc/${pkgname} -O \
+ --enable-split-objs --enable-shared --libsubdir=\$compiler/site-local/\$pkgid \
+ --enable-library-profiling
+ runhaskell Setup build
+ runhaskell Setup haddock
+ runhaskell Setup register --gen-script
+ runhaskell Setup unregister --gen-script
+ sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+package() {
+ cd ${srcdir}/hslogger-${pkgver}
+ install -D -m744 register.sh ${pkgdir}/usr/share/haskell/${pkgname}/register.sh
+ install -m744 unregister.sh ${pkgdir}/usr/share/haskell/${pkgname}/unregister.sh
+ install -d -m755 ${pkgdir}/usr/share/doc/ghc/html/libraries
+ ln -s /usr/share/doc/${pkgname}/html ${pkgdir}/usr/share/doc/ghc/html/libraries/hslogger
+ runhaskell Setup copy --destdir=${pkgdir}
+}
diff --git a/community-staging/haskell-hslogger/haskell-hslogger.install b/community-staging/haskell-hslogger/haskell-hslogger.install
new file mode 100644
index 000000000..2a0d98ae7
--- /dev/null
+++ b/community-staging/haskell-hslogger/haskell-hslogger.install
@@ -0,0 +1,18 @@
+HS_DIR=usr/share/haskell/haskell-hslogger
+post_install() {
+ ${HS_DIR}/register.sh
+ (cd usr/share/doc/ghc/html/libraries; ./gen_contents_index)
+}
+pre_upgrade() {
+ ${HS_DIR}/unregister.sh
+}
+post_upgrade() {
+ ${HS_DIR}/register.sh
+ (cd usr/share/doc/ghc/html/libraries; ./gen_contents_index)
+}
+pre_remove() {
+ ${HS_DIR}/unregister.sh
+}
+post_remove() {
+ (cd usr/share/doc/ghc/html/libraries; ./gen_contents_index)
+}
diff --git a/community-staging/haskell-regex-compat/PKGBUILD b/community-staging/haskell-regex-compat/PKGBUILD
new file mode 100644
index 000000000..c546442ec
--- /dev/null
+++ b/community-staging/haskell-regex-compat/PKGBUILD
@@ -0,0 +1,37 @@
+# Maintainer: Vesa Kaihlavirta <vesa@archlinux.org>
+# Contributor: Arch Haskell Team <arch-haskell@haskell.org>
+
+_hkgname=regex-compat
+pkgname=haskell-regex-compat
+pkgver=0.95.1
+pkgrel=3
+pkgdesc="Replaces and enhances Text.Regex"
+url="http://hackage.haskell.org/package/${_hkgname}"
+license=('custom:BSD3')
+arch=('i686' 'x86_64')
+depends=('ghc=7.6.1-1' 'sh' 'haskell-regex-base=0.93.2-7' 'haskell-regex-posix=0.95.2-2')
+source=(http://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+install=${pkgname}.install
+md5sums=('d0573ab4e2f3de5faa61380b67333320')
+
+build() {
+ cd ${srcdir}/${_hkgname}-${pkgver}
+ runhaskell Setup configure -O -p --enable-split-objs --enable-shared --prefix=/usr \
+ --docdir=/usr/share/doc/${pkgname} --libsubdir=\$compiler/site-local/\$pkgid
+ runhaskell Setup build
+ runhaskell Setup haddock
+ runhaskell Setup register --gen-script
+ runhaskell Setup unregister --gen-script
+ sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+package() {
+ cd ${srcdir}/${_hkgname}-${pkgver}
+ install -D -m744 register.sh ${pkgdir}/usr/share/haskell/${pkgname}/register.sh
+ install -m744 unregister.sh ${pkgdir}/usr/share/haskell/${pkgname}/unregister.sh
+ install -d -m755 ${pkgdir}/usr/share/doc/ghc/html/libraries
+ ln -s /usr/share/doc/${pkgname}/html ${pkgdir}/usr/share/doc/ghc/html/libraries/${_hkgname}
+ runhaskell Setup copy --destdir=${pkgdir}
+ install -D -m644 LICENSE ${pkgdir}/usr/share/licenses/${pkgname}/LICENSE
+ rm -f ${pkgdir}/usr/share/doc/${pkgname}/LICENSE
+}
diff --git a/community-staging/haskell-regex-compat/haskell-regex-compat.install b/community-staging/haskell-regex-compat/haskell-regex-compat.install
new file mode 100644
index 000000000..898c0bba1
--- /dev/null
+++ b/community-staging/haskell-regex-compat/haskell-regex-compat.install
@@ -0,0 +1,18 @@
+HS_DIR=usr/share/haskell/haskell-regex-compat
+post_install() {
+ ${HS_DIR}/register.sh
+ (cd usr/share/doc/ghc/html/libraries; ./gen_contents_index)
+}
+pre_upgrade() {
+ ${HS_DIR}/unregister.sh
+}
+post_upgrade() {
+ ${HS_DIR}/register.sh
+ (cd usr/share/doc/ghc/html/libraries; ./gen_contents_index)
+}
+pre_remove() {
+ ${HS_DIR}/unregister.sh
+}
+post_remove() {
+ (cd usr/share/doc/ghc/html/libraries; ./gen_contents_index)
+}
diff --git a/community-staging/haskell-regex-posix/PKGBUILD b/community-staging/haskell-regex-posix/PKGBUILD
new file mode 100644
index 000000000..3c570e4d1
--- /dev/null
+++ b/community-staging/haskell-regex-posix/PKGBUILD
@@ -0,0 +1,37 @@
+# Maintainer: Vesa Kaihlavirta <vesa@archlinux.org>
+# Contributor: Arch Haskell Team <arch-haskell@haskell.org>
+
+_hkgname=regex-posix
+pkgname=haskell-regex-posix
+pkgver=0.95.2
+pkgrel=2
+pkgdesc="The posix regex backend for regex-base"
+url="http://hackage.haskell.org/package/${_hkgname}"
+license=('custom:BSD3')
+arch=('i686' 'x86_64')
+depends=('ghc=7.6.1-1' 'sh' 'haskell-regex-base=0.93.2-7')
+source=(http://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+install=${pkgname}.install
+md5sums=('1df0f9494aab110c7231f36393285c7c')
+
+build() {
+ cd ${srcdir}/${_hkgname}-${pkgver}
+ runhaskell Setup configure -O -p --enable-split-objs --enable-shared --prefix=/usr \
+ --docdir=/usr/share/doc/${pkgname} --libsubdir=\$compiler/site-local/\$pkgid
+ runhaskell Setup build
+ runhaskell Setup haddock
+ runhaskell Setup register --gen-script
+ runhaskell Setup unregister --gen-script
+ sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+package() {
+ cd ${srcdir}/${_hkgname}-${pkgver}
+ install -D -m744 register.sh ${pkgdir}/usr/share/haskell/${pkgname}/register.sh
+ install -m744 unregister.sh ${pkgdir}/usr/share/haskell/${pkgname}/unregister.sh
+ install -d -m755 ${pkgdir}/usr/share/doc/ghc/html/libraries
+ ln -s /usr/share/doc/${pkgname}/html ${pkgdir}/usr/share/doc/ghc/html/libraries/${_hkgname}
+ runhaskell Setup copy --destdir=${pkgdir}
+ install -D -m644 LICENSE ${pkgdir}/usr/share/licenses/${pkgname}/LICENSE
+ rm -f ${pkgdir}/usr/share/doc/${pkgname}/LICENSE
+}
diff --git a/community-staging/haskell-regex-posix/haskell-regex-posix.install b/community-staging/haskell-regex-posix/haskell-regex-posix.install
new file mode 100644
index 000000000..2b89fae7b
--- /dev/null
+++ b/community-staging/haskell-regex-posix/haskell-regex-posix.install
@@ -0,0 +1,18 @@
+HS_DIR=usr/share/haskell/haskell-regex-posix
+post_install() {
+ ${HS_DIR}/register.sh
+ (cd usr/share/doc/ghc/html/libraries; ./gen_contents_index)
+}
+pre_upgrade() {
+ ${HS_DIR}/unregister.sh
+}
+post_upgrade() {
+ ${HS_DIR}/register.sh
+ (cd usr/share/doc/ghc/html/libraries; ./gen_contents_index)
+}
+pre_remove() {
+ ${HS_DIR}/unregister.sh
+}
+post_remove() {
+ (cd usr/share/doc/ghc/html/libraries; ./gen_contents_index)
+}
diff --git a/community-staging/haskell-utf8-string/PKGBUILD b/community-staging/haskell-utf8-string/PKGBUILD
new file mode 100644
index 000000000..0b24a3dc8
--- /dev/null
+++ b/community-staging/haskell-utf8-string/PKGBUILD
@@ -0,0 +1,39 @@
+# $Id: PKGBUILD 76053 2012-09-10 04:57:10Z tdziedzic $
+# Maintainer: Vesa Kaihlavirta <vegai@iki.fi>
+# Contributor: Arch Haskell Team <arch-haskell@haskell.org>
+# Package generated by cabal2arch 0.7.6
+_hkgname=utf8-string
+pkgname=haskell-utf8-string
+pkgver=0.3.7
+pkgrel=3
+pkgdesc="Support for reading and writing UTF8 Strings"
+url="http://hackage.haskell.org/package/${_hkgname}"
+license=('custom:BSD3')
+arch=('i686' 'x86_64')
+depends=('ghc=7.6.1-1' 'sh')
+install=${pkgname}.install
+source=(http://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+md5sums=('50e5c395713e716e0e4a56da73f87ccd')
+
+build() {
+ cd ${srcdir}/${_hkgname}-${pkgver}
+ runhaskell Setup configure -O -p --enable-split-objs --enable-shared \
+ --prefix=/usr --docdir=/usr/share/doc/${pkgname} \
+ --libsubdir=\$compiler/site-local/\$pkgid
+ runhaskell Setup build
+ runhaskell Setup haddock
+ runhaskell Setup register --gen-script
+ runhaskell Setup unregister --gen-script
+ sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+package() {
+ cd ${srcdir}/${_hkgname}-${pkgver}
+ install -D -m744 register.sh ${pkgdir}/usr/share/haskell/${pkgname}/register.sh
+ install -m744 unregister.sh ${pkgdir}/usr/share/haskell/${pkgname}/unregister.sh
+ install -d -m755 ${pkgdir}/usr/share/doc/ghc/html/libraries
+ ln -s /usr/share/doc/${pkgname}/html ${pkgdir}/usr/share/doc/ghc/html/libraries/${_hkgname}
+ runhaskell Setup copy --destdir=${pkgdir}
+ install -D -m644 LICENSE ${pkgdir}/usr/share/licenses/${pkgname}/LICENSE
+ rm -f ${pkgdir}/usr/share/doc/${pkgname}/LICENSE
+}
diff --git a/community-staging/haskell-utf8-string/haskell-utf8-string.install b/community-staging/haskell-utf8-string/haskell-utf8-string.install
new file mode 100644
index 000000000..0f64366b2
--- /dev/null
+++ b/community-staging/haskell-utf8-string/haskell-utf8-string.install
@@ -0,0 +1,18 @@
+HS_DIR=usr/share/haskell/haskell-utf8-string
+post_install() {
+ ${HS_DIR}/register.sh
+ (cd usr/share/doc/ghc/html/libraries; ./gen_contents_index)
+}
+pre_upgrade() {
+ ${HS_DIR}/unregister.sh
+}
+post_upgrade() {
+ ${HS_DIR}/register.sh
+ (cd usr/share/doc/ghc/html/libraries; ./gen_contents_index)
+}
+pre_remove() {
+ ${HS_DIR}/unregister.sh
+}
+post_remove() {
+ (cd usr/share/doc/ghc/html/libraries; ./gen_contents_index)
+}
diff --git a/community-staging/haskell-xhtml/PKGBUILD b/community-staging/haskell-xhtml/PKGBUILD
new file mode 100644
index 000000000..7ccfca159
--- /dev/null
+++ b/community-staging/haskell-xhtml/PKGBUILD
@@ -0,0 +1,49 @@
+# Maintainer: Vesa Kaihlavirta <vesa@archlinux.org>
+# Contributor: Arch Haskell Team <arch-haskell@haskell.org>
+# Contributor: Alexander Rødseth <rodseth@gmail.com>
+
+_hkgname=xhtml
+pkgname=haskell-xhtml
+pkgver=3000.2.1
+pkgrel=2
+pkgdesc='Combinators for producing XHTML 1.0'
+url='http://hackage.haskell.org/package/xhtml'
+license=('custom:BSD3')
+arch=('x86_64' 'i686')
+depends=('ghc=7.6.1-1' 'sh')
+source=("http://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz")
+install=$pkgname.install
+sha256sums=('33020782170c1c083bc59fc3bfcb72cec2db223e02d1181c07ae23b9fa7fdcd8')
+
+build() {
+ cd "$srcdir/$_hkgname-$pkgver"
+
+ runhaskell Setup configure -O -p \
+ --enable-split-objs \
+ --enable-shared \
+ --prefix=/usr \
+ --docdir="/usr/share/doc/$pkgname" \
+ --libsubdir=\$compiler/site-local/\$pkgid
+ runhaskell Setup build
+ runhaskell Setup haddock
+ runhaskell Setup register --gen-script
+ runhaskell Setup unregister --gen-script
+ sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+package() {
+ cd "$srcdir/$_hkgname-$pkgver"
+
+ install -Dm744 register.sh \
+ "$pkgdir/usr/share/haskell/$pkgname/register.sh"
+ install -m744 unregister.sh \
+ "$pkgdir/usr/share/haskell/$pkgname/unregister.sh"
+ install -dm755 "$pkgdir/usr/share/doc/ghc/html/libraries"
+ ln -s "/usr/share/doc/$pkgname/html" \
+ "$pkgdir/usr/share/doc/ghc/html/libraries/$_hkgname"
+ runhaskell Setup copy --destdir="$pkgdir"
+ install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
+ rm -f "$pkgdir/usr/share/doc/$pkgname/LICENSE"
+}
+
+# vim:set ts=2 sw=2 et:
diff --git a/community-staging/haskell-xhtml/haskell-xhtml.install b/community-staging/haskell-xhtml/haskell-xhtml.install
new file mode 100644
index 000000000..d03b8a053
--- /dev/null
+++ b/community-staging/haskell-xhtml/haskell-xhtml.install
@@ -0,0 +1,19 @@
+HS_DIR=usr/share/haskell/haskell-xhtml
+post_install() {
+ ${HS_DIR}/register.sh
+ (cd usr/share/doc/ghc/html/libraries; ./gen_contents_index)
+}
+pre_upgrade() {
+ ${HS_DIR}/unregister.sh &> /dev/null
+ exit 0
+}
+post_upgrade() {
+ ${HS_DIR}/register.sh
+ (cd usr/share/doc/ghc/html/libraries; ./gen_contents_index)
+}
+pre_remove() {
+ ${HS_DIR}/unregister.sh
+}
+post_remove() {
+ (cd usr/share/doc/ghc/html/libraries; ./gen_contents_index)
+}
diff --git a/community/aria2/PKGBUILD b/community/aria2/PKGBUILD
index bc4b19162..b2c813558 100644
--- a/community/aria2/PKGBUILD
+++ b/community/aria2/PKGBUILD
@@ -1,4 +1,4 @@
-# $Id: PKGBUILD 74226 2012-07-23 03:08:17Z allan $
+# $Id: PKGBUILD 76063 2012-09-10 12:19:21Z bpiotrowski $
# Maintainer: Bartłomiej Piotrowski <nospam@bpiotrowski.pl>
# Contributor: Thomas Dziedzic < gostrc at gmail >
# Contributor: Angel Velasquez <angvp@archlinux.org>
@@ -6,8 +6,8 @@
# Contributor: Daniel J Griffiths <ghost1227@archlinux.us>
pkgname=aria2
-pkgver=1.15.1
-pkgrel=2
+pkgver=1.15.2
+pkgrel=1
pkgdesc='Download utility that supports HTTP(S), FTP, BitTorrent, and Metalink'
arch=('i686' 'x86_64' 'mips64el')
url='http://aria2.sourceforge.net/'
@@ -15,10 +15,10 @@ license=('GPL')
depends=('gnutls' 'libxml2' 'sqlite' 'c-ares' 'ca-certificates')
checkdepends=('cppunit')
source=("http://downloads.sourceforge.net/aria2/aria2-${pkgver}.tar.bz2")
-md5sums=('a749a1f7cfe03a7518630d2310267c42')
+md5sums=('211f1e5c1fd28b788e687cb2d851812a')
build() {
- cd aria2-${pkgver}
+ cd $pkgname-$pkgver
./configure \
--prefix=/usr \
@@ -28,13 +28,12 @@ build() {
}
check() {
- cd aria2-${pkgver}
-
+ cd $pkgname-$pkgver
make check
}
package() {
- cd aria2-${pkgver}
+ cd $pkgname-$pkgver
make DESTDIR=${pkgdir} install
diff --git a/community/cppcheck/PKGBUILD b/community/cppcheck/PKGBUILD
index 3a565f512..295f3948f 100644
--- a/community/cppcheck/PKGBUILD
+++ b/community/cppcheck/PKGBUILD
@@ -1,8 +1,8 @@
-# $Id: PKGBUILD 73296 2012-07-05 20:48:55Z stephane $
+# $Id: PKGBUILD 76074 2012-09-10 20:04:41Z stephane $
# Maintainer: Stéphane Gaudreault <stephane@archlinux.org>
pkgname=cppcheck
-pkgver=1.55
+pkgver=1.56
pkgrel=1
pkgdesc="A tool for static C/C++ code analysis"
arch=('i686' 'x86_64' 'mips64el')
@@ -11,7 +11,7 @@ license=('GPL')
depends=('pcre' 'qt')
makedepends=('docbook-xsl')
source=(http://downloads.sourceforge.net/sourceforge/${pkgname}/${pkgname}-${pkgver}.tar.bz2)
-sha1sums=('0e6f797ced959afddf7b847856a50636aa87ee3c')
+sha1sums=('63999e1a492f73408fcad87b4bef3c2775feb7e5')
build() {
cd "${srcdir}/${pkgname}-${pkgver}"
diff --git a/community/cython/PKGBUILD b/community/cython/PKGBUILD
index c58858666..f58beb2ad 100644
--- a/community/cython/PKGBUILD
+++ b/community/cython/PKGBUILD
@@ -1,10 +1,10 @@
-# $Id: PKGBUILD 69975 2012-04-27 16:14:15Z spupykin $
+# $Id: PKGBUILD 76034 2012-09-09 18:02:06Z spupykin $
# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
# Contributor: Igor Scabini <furester @ gmail.com>
pkgname=('cython' 'cython2')
pkgbase=cython
-pkgver=0.16
+pkgver=0.17
pkgrel=1
pkgdesc="C-Extensions for Python "
arch=(i686 x86_64 'mips64el')
@@ -12,7 +12,7 @@ url="http://www.cython.org"
license=('APACHE')
makedepends=('python-distribute' 'python2-distribute')
source=("http://cython.org/release/Cython-$pkgver.tar.gz")
-md5sums=('7934186ada3552110aba92062fa88b1c')
+md5sums=('d6b669956b25babf7dd86db0a98539e4')
build() {
true
diff --git a/community/dos2unix/PKGBUILD b/community/dos2unix/PKGBUILD
index 11fd41739..7453fc80c 100644
--- a/community/dos2unix/PKGBUILD
+++ b/community/dos2unix/PKGBUILD
@@ -1,10 +1,10 @@
-# $Id: PKGBUILD 74381 2012-07-26 05:04:12Z bpiotrowski $
+# $Id: PKGBUILD 76065 2012-09-10 12:24:09Z bpiotrowski $
# Maintainer: Bartłomiej Piotrowski
# Contributor: Renato Garcia <fgar.renatoATgmailDOTcom>
# Contributor: Gerson E. Ruotolo <gersonruotolo@globo.com>
pkgname=dos2unix
-pkgver=6.0.1
+pkgver=6.0.2
pkgrel=1
pkgdesc='Text file format converter'
arch=('i686' 'x86_64' 'mips64el')
@@ -14,15 +14,15 @@ depends=('glibc')
makedepends=('perl')
conflicts=('hd2u')
source=("http://waterlan.home.xs4all.nl/${pkgname}/${pkgname}-${pkgver}.tar.gz")
-md5sums=('1070432514a0f2ee8abe6ebe502a4bf7')
+md5sums=('11ee6ae80c8acd6d750399cbf4ab6bd9')
build() {
- cd "${srcdir}/${pkgname}-${pkgver}"
+ cd $srcdir/$pkgname-$pkgver
make
}
package() {
- cd "${srcdir}/${pkgname}-${pkgver}"
- make DESTDIR="${pkgdir}" install
- install -D -m644 COPYING.txt "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+ cd $srcdir/$pkgname-$pkgver
+ make DESTDIR=$pkgdir install
+ install -D -m644 COPYING.txt $pkgdir/usr/share/licenses/$pkgname/LICENSE
}
diff --git a/community/freeorion/PKGBUILD b/community/freeorion/PKGBUILD
index ffb155e59..f79d9cd07 100644
--- a/community/freeorion/PKGBUILD
+++ b/community/freeorion/PKGBUILD
@@ -1,4 +1,4 @@
-# $Id: PKGBUILD 73989 2012-07-18 01:06:32Z ibiru $
+# $Id: PKGBUILD 76059 2012-09-10 08:39:54Z arodseth $
# Maintainer: Alexander Rødseth <rodseth@gmail.com>
# Contributor: guini <sidtrun@googlemail.com>
# Contributor: Forrest Loomis <cybercyst _ at _ gmail dot com>
@@ -6,12 +6,11 @@
# Contributor: fana-m <geminin@gmx.net>
pkgname=freeorion
-pkgver=0.4
-_fixedrevision=4635
-pkgrel=6
-pkgdesc="Turn-based galactic conquest game inspired by Master of Orion"
+pkgver=0.4.1
+pkgrel=1
+pkgdesc='Turn-based galactic conquest game inspired by Master of Orion'
arch=('x86_64' 'i686')
-url="http://www.freeorion.org/"
+url='http://www.freeorion.org/'
license=('GPL')
if [ "$CARCH" == "x86_64" ]
then
@@ -20,26 +19,31 @@ else
depends=('nvidia-cg-toolkit')
fi
depends=('bullet' 'freealut' 'libvorbis' 'python2' 'gigi' 'desktop-file-utils')
-makedepends=('boost>=1.49.0' 'ogre' 'sdl' 'gigi>=0.8.0-11' 'graphviz' 'libogg'
- 'desktop-file-utils' 'setconf' 'clang' 'cmake' 'gendesk' 'subversion')
+makedepends=('boost>=1.49.0' 'ogre' 'sdl' 'gigi>=0.8.0-12' 'graphviz' 'clang'
+ 'desktop-file-utils' 'setconf' 'cmake' 'gendesk' 'subversion'
+ 'libogg')
options=('!strip' '!emptydirs')
install=$pkgname.install
source=("$pkgname.sh"
- "$pkgname.png::https://a.fsdn.com/con/icons/fr/freeorion@sf.net/FO_Icon_256x256.png")
+ "$pkgname.png::https://a.fsdn.com/con/icons/fr/freeorion@sf.net/FO_Icon_256x256.png"
+ "cmake_python.patch")
sha256sums=('111532e460aec847ff455ee67dd64f46e2fa5ceba39a0349d25a84b69c646eaf'
- 'a6a253eed31b77b00bf4f721f4b1c6bbd95505b9e4b38b736101e551dd12ff5f')
+ 'a6a253eed31b77b00bf4f721f4b1c6bbd95505b9e4b38b736101e551dd12ff5f'
+ '3dbe8df9c3a4a0d6451f42727ebf9bcb21fed41a08d1181d1cf77ef4ab5ee81a')
+_svnrepo='https://freeorion.svn.sourceforge.net/svnroot/freeorion/trunk/FreeOrion/'
+_pyversion=2.7
build() {
cd "$srcdir"
gendesk -n
+ msg2 'Looking up revision from version number...'
+ _fixedrevision=`curl --progress-bar -o- ${url}index.php/Compile | grep "$pkgver" | cut -d':' -f2 | cut -d' ' -f10 | tail -1`
msg2 "Checking out svn revision $_fixedrevision..."
if [[ -d "$pkgname/.svn" ]]; then
(cd "$pkgname" && svn up -r "$_fixedrevision")
else
- svn co \
- https://freeorion.svn.sourceforge.net/svnroot/freeorion/trunk/FreeOrion/ \
- --config-dir ./ -r "$_fixedrevision" "$pkgname"
+ svn co "$_svnrepo" --config-dir ./ -r "$_fixedrevision" "$pkgname"
fi
msg2 "Setting up build directory..."
@@ -47,15 +51,22 @@ build() {
cp -r "$srcdir/$pkgname" "$srcdir/$pkgname-build"
cd "$srcdir/$pkgname-build"
+ msg2 "CMake/Python fix..."
+ patch -N -p1 -i "$srcdir/cmake_python.patch"
+
msg2 "Generating makefiles..."
- cmake -G "Unix Makefiles"
+ cmake \
+ -DPYTHON_INCLUDE_DIR:PATH="/usr/include/python$_pyversion" \
+ -DPYTHON_LIBRARY:FILEPATH="/usr/lib/libpython$_pyversion.so" \
+ -G "Unix Makefiles"
msg2 "GLU fix..."
- setconf CMakeCache.txt CMAKE_CXX_FLAGS:STRING "'-march=x86-64 -mtune=generic -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -lGL -lGLU '"
+ setconf CMakeCache.txt CMAKE_CXX_FLAGS:STRING \
+ "'-march=x86-64 -mtune=generic -O2 -fno-var-tracking -pipe -fstack-protector --param=ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -lGL -lGLU '"
msg2 "Boost fix..."
sed -i 's:TIME_UTC:TIME_UTC_:' util/MultiplayerCommon.cpp
-
+
msg2 "Compiling..."
make -j1
diff --git a/community/freeorion/cmake_python.patch b/community/freeorion/cmake_python.patch
new file mode 100644
index 000000000..b875fa844
--- /dev/null
+++ b/community/freeorion/cmake_python.patch
@@ -0,0 +1,23 @@
+--- a/client/AI/CMakeLists.txt 2012-09-10 00:11:18.659341865 +0200
++++ b/client/AI/CMakeLists.txt 2012-09-10 00:12:37.659345189 +0200
+@@ -33,6 +33,20 @@
+ find_package(PythonLibs)
+ if (PYTHONLIBS_FOUND)
+ include_directories(${PYTHON_INCLUDE_PATH})
++ SET(_VERSION_REGEX
++ "^#define[ \t]+PY([A-Z_]*_VERSION)[ \t]+[\"]*([0-9A-Za-z\\.]+)[\"]*[ \t]*$")
++ FILE(STRINGS "${PYTHON_INCLUDE_DIR}/patchlevel.h" _VERSION_STRINGS
++ LIMIT_COUNT 10 REGEX ${_VERSION_REGEX})
++ FOREACH(_VERSION_STRING ${_VERSION_STRINGS})
++ STRING(REGEX REPLACE ${_VERSION_REGEX} "PYTHON\\1"
++ _VERSION_VARIABLE "${_VERSION_STRING}")
++ STRING(REGEX REPLACE ${_VERSION_REGEX} "\\2"
++ _VERSION_NUMBER "${_VERSION_STRING}")
++ SET(${_VERSION_VARIABLE} ${_VERSION_NUMBER})
++ ENDFOREACH(_VERSION_STRING ${_VERSION_STRINGS})
++ IF(PYTHON_MAJOR_VERSION EQUAL 3)
++ MESSAGE(FATAL_ERROR "Python 3 is not supported!")
++ ENDIF()
+ else ()
+ message(FATAL_ERROR " library not found.")
+ endif ()
diff --git a/community/kmymoney/PKGBUILD b/community/kmymoney/PKGBUILD
index 89c642d36..ae0c29e01 100644
--- a/community/kmymoney/PKGBUILD
+++ b/community/kmymoney/PKGBUILD
@@ -1,4 +1,4 @@
-# $Id: PKGBUILD 75014 2012-08-11 18:51:50Z ebelanger $
+# $Id: PKGBUILD 76043 2012-09-09 20:57:42Z jlichtblau $
# Maintainer: Jaroslav Lichtblau <dragonlord@aur.archlinux.org>
# Maintainer: Laurent Carlier <lordheavym@gmail.com>
# Contributor: Vamp898 <vamp898@web.de>
@@ -7,8 +7,8 @@
# Contributor: Todd Maynard <arch@toddmaynard.com>
pkgname=kmymoney
-pkgver=4.6.2
-pkgrel=2
+pkgver=4.6.3
+pkgrel=1
pkgdesc="Personal finance manager for KDE which operates similarly to MS-Money or Quicken"
arch=('i686' 'x86_64' 'mips64el')
url="http://kmymoney2.sourceforge.net/"
@@ -19,17 +19,12 @@ replaces=('kmymoney2')
install=$pkgname.install
changelog=$pkgname.changelog
options=('!makeflags')
-source=(http://downloads.sourceforge.net/project/kmymoney2/KMyMoney-KDE4/$pkgver/$pkgname-$pkgver.tar.bz2
-qt4.8.patch::https://projects.kde.org/projects/extragear/office/kmymoney/repository/revisions/c736b6f08e77df72d58c5b836b7b04f6098737df/diff/libkdchart/src/KDChartBackgroundAttributes.cpp?format=diff)
-sha256sums=('add8acba2f0d4c212ac1c7fbbdad2fd43a24caceed586b13d90dcd2a20a12b75'
- '7612b490400dbd4f80ff27bd328f8603a22279c81bb3004e53f48545dbd359ae')
+source=(http://downloads.sourceforge.net/project/kmymoney2/KMyMoney-KDE4/$pkgver/$pkgname-$pkgver.tar.bz2)
+sha256sums=('94e109992b7e9ebb066b608d56c168216b8a944d62538c95176bc36ea4db542e')
build() {
cd "${srcdir}/${pkgname}-${pkgver}"
- # Qt 4.8 fix - fixed upstream
- patch -Np1 -i ../qt4.8.patch
-
mkdir build
cd build
diff --git a/community/kmymoney/kmymoney.changelog b/community/kmymoney/kmymoney.changelog
index 6943a0716..30290a6f8 100644
--- a/community/kmymoney/kmymoney.changelog
+++ b/community/kmymoney/kmymoney.changelog
@@ -1,3 +1,6 @@
+2012-09-09 Jaroslav Lichtblau <dragonlord@aur.archlinux.org>
+ * kmymoney 4.6.3-1
+
2012-08-09 Eric Belanger <eric@archlinux.org>
* kmymoney 4.6.2-2
* Rebuild against libofx 0.9.5
diff --git a/community/os-prober/PKGBUILD b/community/os-prober/PKGBUILD
index f21929af6..535f14ba1 100644
--- a/community/os-prober/PKGBUILD
+++ b/community/os-prober/PKGBUILD
@@ -1,9 +1,9 @@
-# $Id: PKGBUILD 73961 2012-07-17 15:25:25Z tredaelli $
+# $Id: PKGBUILD 76031 2012-09-09 10:59:08Z tredaelli $
# Maintainer: Timothy Redaelli <timothy.redaelli@gmail.com>
# Contributor: darkcoder <mario_vazq@hotmail.com>
pkgname=os-prober
-pkgver=1.54
+pkgver=1.55
pkgrel=1
pkgdesc="Utility to detect other OSes on a set of drives"
url="http://joey.kitenet.net/code/os-prober/"
@@ -11,8 +11,8 @@ arch=('i686' 'x86_64' 'mips64el')
license=('GPL3')
depends=('sh')
source=(ftp://ftp.debian.org/debian/pool/main/o/${pkgname}/${pkgname}_${pkgver}.tar.gz)
-md5sums=('9a7e8e5adeeaff4913f727fa2c95490a')
-sha512sums=('2f0541a3c31d1c23c02f1e9543ac33e269b83f75eccedd8e47eefc2364d7ded9624660f11b7fe80c71cda3cbfde89aee191ec0bd6f656b877e4241e212c7b740')
+md5sums=('a516bc304a10345d2116d5b9b70bacc3')
+sha512sums=('dde7f648f0f54906b936ddf05b02166f44b0a9c64291fffa5390b7d96b434a9937577ff22f55dce0711e14775cd7d88c391feb8dd0a8b17d0a6235e91ae4b5d9')
build() {
cd "$srcdir/$pkgname-$pkgver"
diff --git a/community/privoxy/PKGBUILD b/community/privoxy/PKGBUILD
index e592680a7..c1e828318 100644
--- a/community/privoxy/PKGBUILD
+++ b/community/privoxy/PKGBUILD
@@ -1,11 +1,11 @@
-# $Id: PKGBUILD 75656 2012-08-28 10:03:15Z lfleischer $
+# $Id: PKGBUILD 76058 2012-09-10 08:26:06Z lfleischer $
# Maintainer: Lukas Fleischer <archlinux at cryptocrack dot de>
# Contributor: Juergen Hoetzel <juergen@hoetzel.info>
# Contributor: basilburn (basilburn), Paul Bredbury (brebs)
pkgname=privoxy
pkgver=3.0.19
-pkgrel=5
+pkgrel=6
pkgdesc='A web proxy with advanced filtering capabilities.'
arch=('i686' 'x86_64' 'mips64el')
url='http://www.privoxy.org'
@@ -26,7 +26,7 @@ md5sums=('57acc79059565cc42eda67982842785d'
'1b4ed8c4e7e5b04b10ef41b597dc3f3b'
'fc3046377137003726a151ee27b142a2'
'27830ef79418e277b90c1c1fa933f876'
- '7285327a5dbef5511242651f88dbc218')
+ '4c154a126ec17b02c623e3d451e062d9')
build() {
cd "${srcdir}/${pkgname}-${pkgver}-stable"
diff --git a/community/privoxy/privoxy.service b/community/privoxy/privoxy.service
index db0f43012..59a8884f9 100644
--- a/community/privoxy/privoxy.service
+++ b/community/privoxy/privoxy.service
@@ -6,6 +6,7 @@ After=network.target
Type=forking
PIDFile=/run/privoxy.pid
ExecStart=/usr/sbin/privoxy --pidfile /run/privoxy.pid --user privoxy.privoxy /etc/privoxy/config
+SuccessExitStatus=15
[Install]
WantedBy=multi-user.target
diff --git a/community/sysprof/PKGBUILD b/community/sysprof/PKGBUILD
index 65072e103..03bc87442 100644
--- a/community/sysprof/PKGBUILD
+++ b/community/sysprof/PKGBUILD
@@ -1,11 +1,11 @@
-# $Id: PKGBUILD 56814 2011-10-13 17:07:33Z spupykin $
+# $Id: PKGBUILD 76036 2012-09-09 18:03:25Z spupykin $
# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
# Maintainer: Geoffroy Carrier <geoffroy.carrier@aur.archlinux.org>
# Previous Contributor: Eric Belanger <belanger@astro.umontreal.ca>
# Previous Contributor: aeolist <aeolist@hotmail.com>
pkgname=sysprof
-pkgver=1.1.8
+pkgver=1.2.0
pkgrel=1
pkgdesc="A sampling CPU profiler that uses a Linux kernel module to profile the entire system"
arch=('i686' 'x86_64' 'mips64el')
@@ -14,7 +14,7 @@ license=("GPL")
source=(http://www.daimi.au.dk/~sandmann/$pkgname/$pkgname-$pkgver.tar.gz)
depends=('libglade' 'binutils')
makedepends=('libglade' 'binutils' 'kernel26-headers')
-md5sums=('a46e24250988d96d8fc7b30773d55222')
+md5sums=('a81808d847732f8dafb59d26ec2eebbf')
build() {
cd "$srcdir/$pkgname-$pkgver"
diff --git a/community/tinc/PKGBUILD b/community/tinc/PKGBUILD
index f3831670f..be91eae05 100644
--- a/community/tinc/PKGBUILD
+++ b/community/tinc/PKGBUILD
@@ -1,11 +1,12 @@
-# $Id: PKGBUILD 73258 2012-07-04 13:07:27Z tredaelli $
+# $Id: PKGBUILD 76061 2012-09-10 11:46:16Z tredaelli $
# Maintainer: Timothy Redaelli <timothy.redaelli@gmail.com>
# Contributor: helios
# Contributor: Lothar Gesslein
+# Contributor: Dominik George <nik@naturalnet.de>
pkgname=tinc
pkgver=1.0.19
-pkgrel=1
+pkgrel=2
pkgdesc="VPN (Virtual Private Network) daemon"
arch=('i686' 'x86_64' 'mips64el')
url="http://www.tinc-vpn.org/"
@@ -14,11 +15,12 @@ depends=('lzo2' 'openssl')
backup=(etc/conf.d/tincd.conf)
install=tinc.install
source=(http://www.tinc-vpn.org/packages/tinc-$pkgver.tar.gz{,.sig}
- tincd.rc tincd.conf)
+ tincd.rc tincd.conf tincd@.service)
md5sums=('5d97ee0f1ccf8fea5b492f6b54d5ac32'
'af4a88d89a17c216e38b93630389181a'
'64bb53748d9051255f243003f0d511f5'
- '7c0276d4812cc5d3cc18142562a3aa82')
+ '7c0276d4812cc5d3cc18142562a3aa82'
+ '035b0e549b08da55d19a8df5b8306e4d')
build() {
cd "$srcdir/$pkgname-$pkgver"
@@ -38,4 +40,5 @@ package() {
install -Dm755 "$srcdir/tincd.rc" "$pkgdir/etc/rc.d/tincd"
install -Dm644 "$srcdir/tincd.conf" "$pkgdir/etc/conf.d/tincd.conf"
+ install -Dm644 "$srcdir/tincd@.service" "$pkgdir/usr/lib/systemd/system/tincd@.service"
}
diff --git a/community/tinc/tincd@.service b/community/tinc/tincd@.service
new file mode 100644
index 000000000..ef8f2da9f
--- /dev/null
+++ b/community/tinc/tincd@.service
@@ -0,0 +1,10 @@
+[Unit]
+Description=Tinc daemon for net %i
+After=network.target
+
+[Service]
+Type=forking
+ExecStart=/usr/sbin/tincd -n %i
+
+[Install]
+WantedBy=multi-user.target
diff --git a/core/libmpc/PKGBUILD b/core/libmpc/PKGBUILD
index 0970274b5..482bfddc1 100644
--- a/core/libmpc/PKGBUILD
+++ b/core/libmpc/PKGBUILD
@@ -1,8 +1,8 @@
-# $Id: PKGBUILD 165341 2012-08-16 01:57:32Z allan $
+# $Id: PKGBUILD 166514 2012-09-09 07:34:43Z allan $
# Maintainer: Allan McRae <allan@archlinux.org>
pkgname=libmpc
-pkgver=1.0
+pkgver=1.0.1
pkgrel=1
pkgdesc="Library for the arithmetic of complex numbers with arbitrarily high precision"
arch=('i686' 'x86_64' 'mips64el')
@@ -11,8 +11,9 @@ license=('LGPL')
depends=('mpfr>=3.0.0')
options=('!libtool')
install=libmpc.install
-source=(http://www.multiprecision.org/mpc/download/mpc-${pkgver/_/-}.tar.gz)
-md5sums=('13370ceb2e266c5eeb2f7e78c24b7858')
+source=(http://www.multiprecision.org/mpc/download/mpc-${pkgver/_/-}.tar.gz{,.sig})
+md5sums=('b32a2e1a3daa392372fbd586d1ed3679'
+ 'c064863fbbb5831ba4f75f1181333862')
build() {
cd "${srcdir}/mpc-${pkgver}"
diff --git a/extra/avahi/PKGBUILD b/extra/avahi/PKGBUILD
index 0b6b85c53..c050e4fc5 100644
--- a/extra/avahi/PKGBUILD
+++ b/extra/avahi/PKGBUILD
@@ -1,10 +1,10 @@
-# $Id: PKGBUILD 156451 2012-04-18 12:14:05Z bisson $
+# $Id: PKGBUILD 166539 2012-09-10 04:37:24Z bisson $
# Contributor: Douglas Soares de Andrade <douglas@archlinux.org>
# Maintainer: Gaetan Bisson <bisson@archlinux.org>
pkgname=avahi
pkgver=0.6.31
-pkgrel=3
+pkgrel=4
pkgdesc='Multicast/unicast DNS-SD framework'
url='http://www.avahi.org/'
license=('LGPL')
@@ -21,17 +21,15 @@ optdepends+=('qt: qt bindings'
optdepends+=('dbus-python: avahi-discover'
'nss-mdns: NSS support for mDNS')
makedepends=('qt' 'pygtk' 'intltool' 'dbus-python'
- 'gobject-introspection' 'gtk3')
+ 'gobject-introspection' 'gtk3' 'xmltoman')
[ "$CARCH" != "mips64el" ] && makedepends+=('qt3' 'mono' 'gtk-sharp-2')
backup=('etc/avahi/hosts'
'etc/avahi/avahi-daemon.conf'
'etc/avahi/services/ssh.service'
'etc/avahi/services/sftp-ssh.service')
source=("http://www.avahi.org/download/avahi-${pkgver}.tar.gz"
- 'gnome-nettool.png'
'rc.d.patch')
sha1sums=('7e05bd78572c9088b03b1207a0ad5aba38490684'
- 'cf56387c88aed246b9f435efc182ef44de4d52f3'
'625ad7c131c0c1c383caeddef18fc7a32d8f3ab9')
conflicts=('howl' 'mdnsresponder')
@@ -72,7 +70,6 @@ build() {
package() {
cd "${srcdir}/${pkgname}-${pkgver}"
make DESTDIR="${pkgdir}" install
- install -Dm644 ../gnome-nettool.png "${pkgdir}"/usr/share/pixmaps/gnome-nettool.png
cd "${pkgdir}"
sed -i '1c #!/usr/bin/python2' usr/bin/avahi-{bookmarks,discover}
diff --git a/extra/elfutils/PKGBUILD b/extra/elfutils/PKGBUILD
index 091962b0e..8ffcd12f6 100644
--- a/extra/elfutils/PKGBUILD
+++ b/extra/elfutils/PKGBUILD
@@ -1,12 +1,12 @@
-# $Id: PKGBUILD 163718 2012-07-18 03:05:26Z eric $
-# Maintainer:
+# $Id: PKGBUILD 166543 2012-09-10 09:44:48Z stephane $
+# Maintainer: Stéphane Gaudreault <stephane@archlinux.org>
# Contributor: Andrej Gelenberg <andrej.gelenberg@udo.edu>
pkgname=elfutils
-pkgver=0.154
+pkgver=0.155
pkgrel=1
-pkgdesc="Collection of libraries and utilities for working with ELF object files and DWARF debugging information"
-arch=('i686' 'x86_64' 'mips64el')
+pkgdesc="Libraries and utilities to handle ELF object files and DWARF debugging information"
+arch=('i686' 'x86_64')
url="https://fedorahosted.org/elfutils/"
license=('LGPL3' 'GPL' 'GPL3')
depends=('gcc-libs' 'zlib' 'bzip2' 'xz')
@@ -14,21 +14,17 @@ provides=('libelf')
replaces=('libelf')
conflicts=('libelf')
options=('!makeflags')
-source=(https://fedorahosted.org/releases/e/l/elfutils/${pkgver}/elfutils-${pkgver}.tar.bz2{,.sig} \
- elfutils-0.154-binutils-pr-ld-13621.patch
- http://cdn.debian.net/debian/pool/main/e/elfutils/elfutils_${pkgver}-1.debian.tar.gz)
+source=(https://fedorahosted.org/releases/e/l/elfutils/${pkgver}/elfutils-${pkgver}.tar.bz2{,.sig}
+ elfutils-0.155-binutils-pr-ld-13621.patch)
+sha1sums=('1b96084cd9fe037c1c0bd2c280aaa701f913462b'
+ 'fcd0ebd029b305bf030983daf151a2a1ab5294af'
+ '8a8be7c0686c6311c1ce969ba10494e704ead48c')
build() {
cd "${srcdir}/${pkgname}-${pkgver}"
- for patch in $(cat ../debian/patches/series) ; do
- patch -Np1 -i "../debian/patches/$patch"
- done
-
CFLAGS+=" -g" # required for test-suite success
-
- patch -p1 -i "${srcdir}/elfutils-0.154-binutils-pr-ld-13621.patch"
-
+ patch -Np1 -i ../elfutils-0.155-binutils-pr-ld-13621.patch
./configure --prefix=/usr --program-prefix="eu-"
make
}
diff --git a/extra/elfutils/elfutils-0.155-binutils-pr-ld-13621.patch b/extra/elfutils/elfutils-0.155-binutils-pr-ld-13621.patch
new file mode 100644
index 000000000..7f99ac0be
--- /dev/null
+++ b/extra/elfutils/elfutils-0.155-binutils-pr-ld-13621.patch
@@ -0,0 +1,16 @@
+diff --git a/tests/run-elflint-self.sh b/tests/run-elflint-self.sh
+index 4b01008..7a5f0c8 100755
+--- a/tests/run-elflint-self.sh
++++ b/tests/run-elflint-self.sh
+@@ -18,4 +18,11 @@
+
+ . $srcdir/test-subr.sh
+
++# Makes sure we exit cleanly even when we don't...
++clean_exit()
++{
++ if test $? != 0; then echo "binutils PR ld/13621 workaround"; exit 0; fi
++}
++trap clean_exit EXIT
++
+ testrun_on_self ../src/elflint --quiet --gnu-ld
diff --git a/extra/gtk-xfce-engine/PKGBUILD b/extra/gtk-xfce-engine/PKGBUILD
index 86002a190..d9d45b80e 100644
--- a/extra/gtk-xfce-engine/PKGBUILD
+++ b/extra/gtk-xfce-engine/PKGBUILD
@@ -1,10 +1,10 @@
-# $Id: PKGBUILD 157455 2012-04-28 15:51:09Z foutrelis $
+# $Id: PKGBUILD 166516 2012-09-09 13:16:50Z foutrelis $
# Maintainer: Evangelos Foutras <evangelos@foutrelis.com>
# Contributor: tobias <tobias funnychar archlinux.org>
pkgbase=gtk-xfce-engine
pkgname=('gtk2-xfce-engine' 'gtk3-xfce-engine')
-pkgver=3.0.0
+pkgver=3.0.1
pkgrel=1
arch=('i686' 'x86_64' 'mips64el')
url="http://www.xfce.org/"
@@ -13,7 +13,7 @@ groups=('xfce4')
makedepends=('gtk2' 'gtk3')
options=('!libtool')
source=(http://archive.xfce.org/src/xfce/$pkgbase/3.0/$pkgbase-$pkgver.tar.bz2)
-sha256sums=('90e08fce8cce452656c4090f94afb7aa35a0a92597412f319526b7899d54838d')
+sha256sums=('eb03cf81da1a91e426a2141c092ed7a1634cab29ea2f3546480e901290a7a06d')
build() {
cd "$srcdir/$pkgbase-$pkgver"
diff --git a/extra/kdeplasma-applets-networkmanagement/PKGBUILD b/extra/kdeplasma-applets-networkmanagement/PKGBUILD
index d163a353c..eb9eba647 100644
--- a/extra/kdeplasma-applets-networkmanagement/PKGBUILD
+++ b/extra/kdeplasma-applets-networkmanagement/PKGBUILD
@@ -4,7 +4,7 @@
pkgname=kdeplasma-applets-networkmanagement
epoch=1
-pkgver=0.9.0.2
+pkgver=0.9.0.4
pkgrel=1
pkgdesc="KDE control panel and widget network connections"
arch=('i686' 'x86_64' 'mips64el')
@@ -17,7 +17,7 @@ optdepends=('mobile-broadband-provider-info: Database of mobile broadband servic
'openconnect: Cisco AnyConnect compatible VPN client')
install=${pkgname}.install
source=("http://download.kde.org/unstable/networkmanagement/${pkgver}/src/networkmanagement-${pkgver}.tar.bz2")
-sha1sums=('58b530d0dc97cc742f24413a54c58f20318cfa14')
+sha256sums=('520d0592171ce1aa1c54916f408e7f2d1e016da0acefc725f7170b67a292e256')
build() {
cd "${srcdir}"
diff --git a/extra/modemmanager/PKGBUILD b/extra/modemmanager/PKGBUILD
index f1403576f..b1246319f 100644
--- a/extra/modemmanager/PKGBUILD
+++ b/extra/modemmanager/PKGBUILD
@@ -1,9 +1,9 @@
-# $Id: PKGBUILD 165621 2012-08-27 12:25:05Z heftig $
+# $Id: PKGBUILD 166517 2012-09-09 15:40:36Z heftig $
# Maintainer: Ionut Biru <ibiru@archlinux.org>
pkgname=modemmanager
_realname=ModemManager
-pkgver=0.5.2.0
-pkgrel=4
+pkgver=0.6.0.0
+pkgrel=1
pkgdesc="Mobile broadband modem management service"
arch=('i686' 'x86_64' 'mips64el')
url="http://cgit.freedesktop.org/ModemManager/ModemManager/"
@@ -12,9 +12,9 @@ depends=('dbus-glib' 'udev' 'ppp')
makedepends=('intltool')
optdepends=('usb_modeswitch: install if your modem shows up as a storage drive')
options=('!libtool')
-source=(http://download.gnome.org/sources/$_realname/0.5/$_realname-$pkgver.tar.xz
+source=(http://download.gnome.org/sources/$_realname/0.6/$_realname-$pkgver.tar.xz
modem-manager.service)
-sha256sums=('7f8b3e1996a24e031df7534e226a0f0c7c2dd8b30322e6c5f4611dc1a848e6c8'
+sha256sums=('d4468300cf4aa7baf21c8564fa515e578056f34de5a64f452b053331f89e8ae2'
'118e36f2f956d719cf4036f3fd5f5bf0fde88ca55bdf7ed95051b5b09066fcbe')
build() {
diff --git a/extra/network-manager-applet/PKGBUILD b/extra/network-manager-applet/PKGBUILD
index 49e01e847..a45f68168 100644
--- a/extra/network-manager-applet/PKGBUILD
+++ b/extra/network-manager-applet/PKGBUILD
@@ -1,4 +1,4 @@
-# $Id: PKGBUILD 156942 2012-04-23 09:09:34Z ibiru $
+# $Id: PKGBUILD 166523 2012-09-09 15:41:15Z heftig $
# Maintainer: Jan de Groot <jgc@archlinux.org>
# Contributor: Arjan Timmerman <arjan@archlinux.org>
# Contributor: Wael Nasreddine <gandalf@siemens-mobiles.org>
@@ -6,20 +6,20 @@
# Contributor: Will Rea <sillywilly@gmail.com>
pkgname=network-manager-applet
-pkgver=0.9.4.1
+pkgver=0.9.6.2
pkgrel=1
pkgdesc="GNOME frontends to NetWorkmanager"
arch=('i686' 'x86_64' 'mips64el')
license=('GPL')
url="http://www.gnome.org/projects/NetworkManager/"
-depends=('networkmanager' 'libgnome-keyring' 'polkit-gnome' 'gtk3' 'libnotify' 'gnome-icon-theme'
- 'mobile-broadband-provider-info' 'gconf' 'iso-codes')
+depends=("networkmanager>=${pkgver::5}" 'libgnome-keyring' 'polkit-gnome' 'gtk3' 'libnotify'
+ 'gnome-icon-theme' 'mobile-broadband-provider-info' 'iso-codes')
makedepends=('intltool' 'gnome-bluetooth')
optdepends=('gnome-bluetooth: for PAN/DUN support')
options=('!libtool' '!emptydirs')
install=network-manager-applet.install
source=(http://ftp.gnome.org/pub/GNOME/sources/$pkgname/0.9/$pkgname-$pkgver.tar.xz)
-sha256sums=('b6b6de75e28d1fbcdfdbb51c0e40fcd6bc0ec0385bfecd16c457260491cd2ff7')
+sha256sums=('96c79ce199fe7770b66f2ddc5ee0a4b07a0ea1eaf5e2186b78d8dd69e38a3069')
build() {
cd ${pkgname}-${pkgver}
@@ -27,15 +27,12 @@ build() {
--localstatedir=/var \
--libexecdir=/usr/lib/networkmanager \
--disable-static \
- --disable-maintainer-mode
+ --disable-maintainer-mode \
+ --disable-migration
make
}
package() {
cd ${pkgname}-${pkgver}
- make GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1 DESTDIR="${pkgdir}" install
-
- install -m755 -d "${pkgdir}/usr/share/gconf/schemas"
- gconf-merge-schema "${pkgdir}/usr/share/gconf/schemas/${pkgname}.schemas" --domain nm-applet ${pkgdir}/etc/gconf/schemas/*.schemas
- rm -f ${pkgdir}/etc/gconf/schemas/*.schemas
+ make DESTDIR="${pkgdir}" install
}
diff --git a/extra/network-manager-applet/network-manager-applet.install b/extra/network-manager-applet/network-manager-applet.install
index 9922d12b2..255ea1f9a 100644
--- a/extra/network-manager-applet/network-manager-applet.install
+++ b/extra/network-manager-applet/network-manager-applet.install
@@ -1,18 +1,18 @@
-pkgname=network-manager-applet
-
post_install() {
- usr/sbin/gconfpkg --install ${pkgname}
+ glib-compile-schemas /usr/share/glib-2.0/schemas
gtk-update-icon-cache -f -q -t /usr/share/icons/hicolor
}
-post_upgrade() {
- post_install $1
+pre_upgrade() {
+ if (( $(vercmp $2 0.9.6.0) < 0 )); then
+ gconfpkg --uninstall network-manager-applet
+ fi
}
-pre_remove() {
- usr/sbin/gconfpkg --uninstall ${pkgname}
+post_upgrade() {
+ post_install
}
post_remove() {
- gtk-update-icon-cache -f -q -t /usr/share/icons/hicolor
-}
+ post_install
+}
diff --git a/extra/networkmanager-openconnect/PKGBUILD b/extra/networkmanager-openconnect/PKGBUILD
index 935c34fa7..3ecac5e28 100644
--- a/extra/networkmanager-openconnect/PKGBUILD
+++ b/extra/networkmanager-openconnect/PKGBUILD
@@ -1,20 +1,20 @@
-# $Id: PKGBUILD 156946 2012-04-23 09:09:41Z ibiru $
+# $Id: PKGBUILD 166519 2012-09-09 15:40:55Z heftig $
# Maintainer: Ionut Biru <ibiru@archlinux.org>
pkgname=networkmanager-openconnect
-pkgver=0.9.4.0
+pkgver=0.9.6.2
pkgrel=1
pkgdesc="NetworkManager VPN integration for openconnect"
arch=('i686' 'x86_64' 'mips64el')
license=('GPL')
url="http://www.gnome.org/projects/NetworkManager/"
-depends=("networkmanager>=${pkgver}" 'openconnect' 'gconf')
+depends=("networkmanager>=${pkgver::5}" 'openconnect' 'gconf' 'libgnome-keyring')
makedepends=('intltool')
optdepends=('network-manager-applet: GNOME frontends to NetWorkmanager')
options=('!libtool')
install=$pkgname.install
source=(http://ftp.gnome.org/pub/GNOME/sources/NetworkManager-openconnect/0.9/NetworkManager-openconnect-${pkgver}.tar.xz)
-sha256sums=('60732587befd062fb8d979540c4410831f5e686b5d092ec24b0237ebd09e1084')
+sha256sums=('3f53d87dbeb00fc841ef5981e6f1a1a192c65d273386246d48245cca84fa41b0')
build() {
cd NetworkManager-openconnect-${pkgver}
diff --git a/extra/networkmanager-openvpn/PKGBUILD b/extra/networkmanager-openvpn/PKGBUILD
index a95bae8a3..99e3eb775 100644
--- a/extra/networkmanager-openvpn/PKGBUILD
+++ b/extra/networkmanager-openvpn/PKGBUILD
@@ -1,8 +1,8 @@
-# $Id: PKGBUILD 156948 2012-04-23 09:09:44Z ibiru $
+# $Id: PKGBUILD 166520 2012-09-09 15:41:00Z heftig $
# Maintainer: Ionut Biru <ibiru@archlinux.org>
pkgname=networkmanager-openvpn
-pkgver=0.9.4.0
+pkgver=0.9.6.0
pkgrel=1
pkgdesc="NetworkManager VPN plugin for OpenVPN"
arch=('i686' 'x86_64' 'mips64el')
@@ -14,7 +14,7 @@ optdepends=('network-manager-applet: GNOME frontends to NetWorkmanager')
install=networkmanager-openvpn.install
options=('!libtool')
source=(http://ftp.gnome.org/pub/GNOME/sources/NetworkManager-openvpn/0.9/NetworkManager-openvpn-${pkgver}.tar.xz)
-sha256sums=('d04870b10c2cd3a0671a4be645f595ad0362bcfd23cb849690b27bbac53683e0')
+sha256sums=('8fb88705793399574b3de2af93f87b63c0eae342d549a1c79bc59f6a1fad87a3')
build() {
cd NetworkManager-openvpn-${pkgver}
diff --git a/extra/networkmanager-pptp/PKGBUILD b/extra/networkmanager-pptp/PKGBUILD
index 18b53e2fb..61ac1f7f2 100644
--- a/extra/networkmanager-pptp/PKGBUILD
+++ b/extra/networkmanager-pptp/PKGBUILD
@@ -1,8 +1,8 @@
-# $Id: PKGBUILD 156950 2012-04-23 09:09:48Z ibiru $
+# $Id: PKGBUILD 166521 2012-09-09 15:41:05Z heftig $
# Maintainer: Ionut Biru <ibiru@archlinux.org>
pkgname=networkmanager-pptp
-pkgver=0.9.4.0
+pkgver=0.9.6.0
pkgrel=1
pkgdesc="NetworkManager VPN plugin for pptp "
arch=('i686' 'x86_64' 'mips64el')
@@ -14,7 +14,7 @@ optdepends=('network-manager-applet: GNOME frontends to NetWorkmanager')
options=('!libtool')
install=networkmanager-pptp.install
source=(http://ftp.gnome.org/pub/GNOME/sources/NetworkManager-pptp/0.9/NetworkManager-pptp-${pkgver}.tar.xz)
-sha256sums=('6fb772985a7273793296375d0ecba59362fe5575f70a8dd36da622db8a8d235d')
+sha256sums=('a84cbbf24827229e3dd3611bbde191398275c3b7ecd03913047197644f27a2b4')
build() {
cd NetworkManager-pptp-${pkgver}
diff --git a/extra/networkmanager-vpnc/PKGBUILD b/extra/networkmanager-vpnc/PKGBUILD
index 2d9ebdb93..6158b31f9 100644
--- a/extra/networkmanager-vpnc/PKGBUILD
+++ b/extra/networkmanager-vpnc/PKGBUILD
@@ -1,8 +1,8 @@
-# $Id: PKGBUILD 156952 2012-04-23 09:09:52Z ibiru $
+# $Id: PKGBUILD 166522 2012-09-09 15:41:10Z heftig $
# Maintainer: Ionut Biru <ibiru@archlinux.org>
pkgname=networkmanager-vpnc
-pkgver=0.9.4.0
+pkgver=0.9.6.0
pkgrel=1
pkgdesc="NetworkManager VPN plugin for vpnc"
arch=('i686' 'x86_64' 'mips64el')
@@ -14,7 +14,7 @@ optdepends=('network-manager-applet: GNOME frontends to NetWorkmanager')
options=('!libtool')
install=networkmanager-vpnc.install
source=(http://ftp.gnome.org/pub/GNOME/sources/NetworkManager-vpnc/0.9/NetworkManager-vpnc-${pkgver}.tar.xz)
-sha256sums=('1d52720ce39bd772753a40c879d0a654fc2efcc4ef7b49ec18f55ae2e82efc7d')
+sha256sums=('6c8e35862330e17ee8f4dc44b1ac47470da703e436d339c7b3e2dac7d1b148a2')
build() {
cd NetworkManager-vpnc-${pkgver}
diff --git a/extra/networkmanager/PKGBUILD b/extra/networkmanager/PKGBUILD
index f391c88a2..9c3b8ed62 100644
--- a/extra/networkmanager/PKGBUILD
+++ b/extra/networkmanager/PKGBUILD
@@ -1,4 +1,4 @@
-# $Id: PKGBUILD 161859 2012-06-15 19:32:00Z heftig $
+# $Id: PKGBUILD 166518 2012-09-09 15:40:49Z heftig $
# Maintainer: Jan de Groot <jgc@archlinxu.org>
# Contributor: Wael Nasreddine <gandalf@siemens-mobiles.org>
# Contributor: Tor Krill <tor@krill.nu>
@@ -7,8 +7,8 @@
pkgname=networkmanager
_pkgname=NetworkManager
-pkgver=0.9.4.0
-pkgrel=6
+pkgver=0.9.6.0
+pkgrel=1
pkgdesc="Network Management daemon"
arch=('i686' 'x86_64' 'mips64el')
license=('GPL')
@@ -26,22 +26,17 @@ options=('!libtool')
backup=('etc/NetworkManager/NetworkManager.conf')
install=networkmanager.install
source=(http://ftp.gnome.org/pub/gnome/sources/$_pkgname/${pkgver:0:3}/$_pkgname-$pkgver.tar.xz
- NetworkManager.conf disable_set_hostname.patch dnsmasq-path.patch
- initialize-GError.patch dont-fight-over-ipv6.patch)
-sha256sums=('eb4f124008b3d855a37205d03ef035b7218639cd7332bdae5567095977e93e0f'
+ NetworkManager.conf disable_set_hostname.patch dnsmasq-path.patch)
+sha256sums=('3982b623b7b199ac99e2ddd0840fe7d088245a49e3f680237e8baebf0cf86d07'
'44b048804c7c0b8b3b0c29b8632b6ad613c397d0a1635ec918e10c0fbcdadf21'
'25056837ea92e559f09563ed817e3e0cd9333be861b8914e45f62ceaae2e0460'
- '65124505048cc8396daf0242c9f5d532fa669b4bbca305998c248ab2329490cb'
- '95c06ad34c131b1db0f28d6e78003bd8fd0a3ba903f76027381e3c4c411c6cb6'
- 'cc66f2fdf59f4f9873a5b775421e1968861c5541d7e29b83b4d30351ad1f9e94')
+ '65124505048cc8396daf0242c9f5d532fa669b4bbca305998c248ab2329490cb')
build() {
cd $_pkgname-$pkgver
patch -Np1 -i ../disable_set_hostname.patch
patch -Np1 -i ../dnsmasq-path.patch
- patch -Np1 -i ../initialize-GError.patch
- patch -Np1 -i ../dont-fight-over-ipv6.patch
./configure \
--prefix=/usr \
diff --git a/extra/openconnect/PKGBUILD b/extra/openconnect/PKGBUILD
index 13b72b32a..934a89d95 100644
--- a/extra/openconnect/PKGBUILD
+++ b/extra/openconnect/PKGBUILD
@@ -1,8 +1,8 @@
-# $Id: PKGBUILD 158780 2012-05-09 17:43:27Z ibiru $
+# $Id: PKGBUILD 166525 2012-09-09 15:41:23Z heftig $
# Maintainer: Ionut Biru <ibiru@archlinux.org>
pkgname=openconnect
-pkgver=3.18
+pkgver=4.06
pkgrel=1
epoch=1
pkgdesc="Open client for Cisco AnyConnect VPN"
@@ -13,16 +13,16 @@ depends=('libxml2' 'openssl' 'libproxy' 'vpnc')
makedepends=('intltool')
options=('!libtool' '!emptydirs')
source=(ftp://ftp.infradead.org/pub/$pkgname/$pkgname-$pkgver.tar.gz)
-md5sums=('5a440ad946cfec0f1ee7ee5519081cf1')
+md5sums=('e827c9d08bd4d6983e3cbd0c9c19b978')
build() {
- cd "$pkgname-$pkgver"
+ cd $pkgname-$pkgver
./configure --prefix=/usr \
--disable-static
make
}
package() {
- cd "$pkgname-$pkgver"
+ cd $pkgname-$pkgver
make DESTDIR="$pkgdir" install
}
diff --git a/extra/upower/0001-Send-resume-signal-when-built-with-systemd-and-using.patch b/extra/upower/0001-Send-resume-signal-when-built-with-systemd-and-using.patch
new file mode 100644
index 000000000..2694334c8
--- /dev/null
+++ b/extra/upower/0001-Send-resume-signal-when-built-with-systemd-and-using.patch
@@ -0,0 +1,35 @@
+From a5b3dd887dcd60e981626ae2e15c874311fc4fef Mon Sep 17 00:00:00 2001
+From: "Jan Alexander Steffens (heftig)" <jan.steffens@gmail.com>
+Date: Sun, 2 Sep 2012 04:36:13 +0200
+Subject: [PATCH] Send resume signal when built with systemd and using
+ pm-utils suspend
+
+This case was apparently overlooked when adding systemd support.
+
+Signed-off-by: Jan Alexander Steffens (heftig) <jan.steffens@gmail.com>
+---
+ src/linux/up-backend.c | 7 ++++---
+ 1 file changed, 4 insertions(+), 3 deletions(-)
+
+diff --git a/src/linux/up-backend.c b/src/linux/up-backend.c
+index ddd4472..52b430e 100644
+--- a/src/linux/up-backend.c
++++ b/src/linux/up-backend.c
+@@ -603,10 +603,11 @@ gboolean
+ up_backend_emits_resuming (UpBackend *backend)
+ {
+ #ifdef HAVE_SYSTEMD
+- return TRUE;
+-#else
+- return FALSE;
++ if (sd_booted ())
++ return TRUE;
++ else
+ #endif
++ return FALSE;
+ }
+
+ /**
+--
+1.7.12
+
diff --git a/extra/upower/PKGBUILD b/extra/upower/PKGBUILD
index 010857cd7..e8ceb8a2b 100644
--- a/extra/upower/PKGBUILD
+++ b/extra/upower/PKGBUILD
@@ -1,17 +1,20 @@
-# $Id: PKGBUILD 164370 2012-07-31 19:43:25Z eric $
+# $Id: PKGBUILD 166524 2012-09-09 15:41:20Z heftig $
# Maintainer: Jan de Groot <jgc@archlinux.org>
pkgname=upower
-pkgver=0.9.17
+pkgver=0.9.18
pkgrel=2
pkgdesc="Abstraction for enumerating power devices, listening to device events and querying history and statistics"
arch=('i686' 'x86_64' 'mips64el')
url="http://upower.freedesktop.org"
license=('GPL')
-depends=('systemd-tools' 'libusb' 'polkit' 'pm-utils' 'dbus-glib' 'libimobiledevice')
-makedepends=('intltool' 'docbook-xsl' 'gobject-introspection')
+depends=('systemd-tools' 'libsystemd' 'libusb' 'polkit' 'pm-utils' 'dbus-glib' 'libimobiledevice')
+makedepends=('intltool' 'docbook-xsl' 'gobject-introspection' 'systemd')
options=('!libtool')
-source=($url/releases/$pkgname-$pkgver.tar.xz)
+source=($url/releases/$pkgname-$pkgver.tar.xz
+ 0001-Send-resume-signal-when-built-with-systemd-and-using.patch)
+md5sums=('bfaaa1e7f8479fca5594406b3c36dff9'
+ '188afea4919dc324b2efbae35d9d216a')
build() {
cd "$pkgname-$pkgver"
@@ -19,11 +22,13 @@ build() {
# put udev files in /usr/lib
sed -i "/slashlibdir=/s#/lib#/usr/lib#" configure
+ # https://bugs.freedesktop.org/show_bug.cgi?id=54371
+ patch -Np1 -i ../0001-Send-resume-signal-when-built-with-systemd-and-using.patch
+
./configure --prefix=/usr --sysconfdir=/etc \
- --localstatedir=/var \
- --libexecdir=/usr/lib/upower \
- --with-systemdsystemunitdir=/usr/lib/systemd/system \
- --disable-static
+ --localstatedir=/var \
+ --libexecdir=/usr/lib/$pkgname \
+ --disable-static
make
}
@@ -31,4 +36,3 @@ package() {
cd "$pkgname-$pkgver"
make DESTDIR="$pkgdir" install
}
-md5sums=('9ef7fc8ec438542f014f3a34552822aa')
diff --git a/extra/xf86-input-vmmouse/PKGBUILD b/extra/xf86-input-vmmouse/PKGBUILD
new file mode 100644
index 000000000..f32c89108
--- /dev/null
+++ b/extra/xf86-input-vmmouse/PKGBUILD
@@ -0,0 +1,34 @@
+# $Id: PKGBUILD 159500 2012-05-25 15:04:46Z andyrtr $
+# Maintainer: Jan de Groot <jgc@archlinux.org>
+
+pkgname=xf86-input-vmmouse
+pkgver=12.9.0
+pkgrel=1
+pkgdesc="X.org VMWare Mouse input driver"
+arch=(i686 x86_64)
+license=('custom')
+url="http://xorg.freedesktop.org/"
+depends=('glibc' 'sh')
+makedepends=('xorg-server-devel>=1.11.99.902')
+conflicts=('xorg-server<1.11.99.902')
+groups=('xorg-drivers' 'xorg')
+backup=('etc/X11/xorg.conf.d/50-vmmouse.conf')
+options=('!libtool')
+source=(${url}/releases/individual/driver/${pkgname}-${pkgver}.tar.bz2)
+sha1sums=('83500beddba2da390389705d482131872fe9be8b')
+
+build() {
+ cd "${srcdir}/${pkgname}-${pkgver}"
+ ./configure --prefix=/usr \
+ --with-xorg-conf-dir=/etc/X11/xorg.conf.d \
+ --with-udev-rules-dir=/usr/lib/udev/rules.d
+ make
+}
+
+package() {
+ cd "${srcdir}/${pkgname}-${pkgver}"
+ make DESTDIR="${pkgdir}" install
+ install -m755 -d "${pkgdir}/usr/share/licenses/${pkgname}"
+ install -m644 COPYING "${pkgdir}/usr/share/licenses/${pkgname}/"
+ rm -rfv ${pkgdir}/usr/{lib,share}/hal
+}
diff --git a/extra/xf86-input-wacom/PKGBUILD b/extra/xf86-input-wacom/PKGBUILD
index b6fdf89b4..e149c5743 100644
--- a/extra/xf86-input-wacom/PKGBUILD
+++ b/extra/xf86-input-wacom/PKGBUILD
@@ -1,10 +1,10 @@
-# $Id: PKGBUILD 163478 2012-07-12 19:09:28Z andyrtr $
+# $Id: PKGBUILD 166529 2012-09-09 15:58:07Z heftig $
# Maintainer: Jan Alexander Steffens (heftig) <jan.steffens@gmail.com>
# Contributor: Jan de Groot <jgc@archlinux.org>
# Contributor: M Rawash <mrawash@gmail.com>
pkgname=xf86-input-wacom
-pkgver=0.16.0
+pkgver=0.17.0
pkgrel=1
pkgdesc="X.Org Wacom tablet driver"
arch=('i686' 'x86_64' 'mips64el')
@@ -15,21 +15,20 @@ depends=('libxi' 'libxrandr' 'libxinerama')
makedepends=('xorg-server-devel>=1.12.0' 'libxext')
conflicts=('xorg-server<1.12.0')
options=(!libtool)
-source=(http://downloads.sourceforge.net/project/linuxwacom/${pkgname}/${pkgname}-${pkgver}.tar.bz2
+source=(http://downloads.sourceforge.net/project/linuxwacom/$pkgname/$pkgname-$pkgver.tar.bz2
70-wacom.rules)
-md5sums=('aeee2bd339c825a9b1215df6a2e5e50b'
+md5sums=('92dffefc3bc30523463f2fa4bc753448'
'10db4f8272286690255c1bcc18bfdd92')
build() {
- cd "${srcdir}/${pkgname}-${pkgver}"
+ cd $pkgname-$pkgver
./configure --prefix=/usr --with-xorg-conf-dir=/etc/X11/xorg.conf.d
make
}
package() {
- cd "${srcdir}/${pkgname}-${pkgver}"
- make DESTDIR="${pkgdir}" install
+ cd $pkgname-$pkgver
+ make DESTDIR="$pkgdir" install
- install -m755 -d "${pkgdir}/usr/lib/udev/rules.d"
- install -m644 "${srcdir}/70-wacom.rules" "${pkgdir}/usr/lib/udev/rules.d/"
+ install -Dm644 ../70-wacom.rules "$pkgdir/usr/lib/udev/rules.d/70-wacom.rules"
}
diff --git a/extra/xf86-video-intel/PKGBUILD b/extra/xf86-video-intel/PKGBUILD
index 493eef879..ed2d7127c 100644
--- a/extra/xf86-video-intel/PKGBUILD
+++ b/extra/xf86-video-intel/PKGBUILD
@@ -1,9 +1,9 @@
-# $Id: PKGBUILD 165875 2012-09-02 10:29:23Z jgc $
+# $Id: PKGBUILD 166511 2012-09-09 07:04:08Z andyrtr $
# Maintainer: AndyRTR <andyrtr@archlinux.org>
# Maintainer: Jan de Groot <jgc@archlinux.org>
pkgname=xf86-video-intel
-pkgver=2.20.6
+pkgver=2.20.7
pkgrel=1
arch=(i686 x86_64)
url="http://xorg.freedesktop.org/"
@@ -18,7 +18,7 @@ conflicts=('xf86-video-intel-sna' 'xf86-video-intel-uxa' 'xorg-server<1.12.0' 'x
options=('!libtool')
groups=('xorg-drivers' 'xorg')
source=(${url}/archive/individual/driver/${pkgname}-${pkgver}.tar.bz2)
-sha256sums=('02e059bfa8e431b7503148a55b7d491816442c50ca706f3ab40052dc454cbb6d')
+sha256sums=('e34503e60f3bc54a7ecbca3a4e7052a5a1015b0f1b4009bf84c101b5e08f9bac')
build() {
cd "${srcdir}/${pkgname}-${pkgver}"
diff --git a/extra/xf86-video-vmware/PKGBUILD b/extra/xf86-video-vmware/PKGBUILD
new file mode 100644
index 000000000..a7a678bbf
--- /dev/null
+++ b/extra/xf86-video-vmware/PKGBUILD
@@ -0,0 +1,31 @@
+# $Id: PKGBUILD 154036 2012-03-21 19:49:43Z andyrtr $
+# Maintainer: Jan de Groot <jgc@archlinux.org>
+
+pkgname=xf86-video-vmware
+pkgver=12.0.2
+pkgrel=1
+pkgdesc="X.org vmware video driver"
+arch=(i686 x86_64)
+url="http://xorg.freedesktop.org/"
+license=('custom')
+depends=('libdrm' 'svga-dri')
+makedepends=('xorg-server-devel>=1.11.99.903' 'libx11' 'libxext')
+conflicts=('xorg-server<1.11.99.903')
+groups=('xorg-drivers' 'xorg')
+options=('!libtool' '!emptydirs')
+source=(${url}/releases/individual/driver/${pkgname}-${pkgver}.tar.bz2)
+sha1sums=('efa47f365d88da245804a9934719ff860ed04f95')
+
+build() {
+ cd "${srcdir}/${pkgname}-${pkgver}"
+ ./configure --prefix=/usr --enable-vmwarectrl-client
+ make
+}
+
+package() {
+ cd "${srcdir}/${pkgname}-${pkgver}"
+ make DESTDIR="${pkgdir}" install
+
+ install -m755 -d "${pkgdir}/usr/share/licenses/${pkgname}"
+ install -m644 COPYING "${pkgdir}/usr/share/licenses/${pkgname}/"
+}
diff --git a/libre/liferea-libre/PKGBUILD b/libre/liferea-libre/PKGBUILD
index 5f1a92b93..2eb2aff55 100644
--- a/libre/liferea-libre/PKGBUILD
+++ b/libre/liferea-libre/PKGBUILD
@@ -6,7 +6,7 @@
_pkgname=liferea
pkgname=liferea-libre
pkgver=1.8.8
-pkgrel=1
+pkgrel=1.1
pkgdesc="A desktop news aggregator for online news feeds and weblogs"
arch=('i686' 'x86_64' 'mips64el')
url="http://liferea.sourceforge.net/"
@@ -35,6 +35,6 @@ package() {
make DESTDIR="${pkgdir}" install
install -d "${pkgdir}/usr/share/gconf/schemas"
- gconf-merge-schema "${pkgdir}/usr/share/gconf/schemas/${pkgname}.schemas" "${pkgdir}"/etc/gconf/schemas/*.schemas
+ gconf-merge-schema "${pkgdir}/usr/share/gconf/schemas/${_pkgname}.schemas" "${pkgdir}"/etc/gconf/schemas/*.schemas
rm -f "${pkgdir}"/etc/gconf/schemas/*.schemas
}
diff --git a/libre/virtualbox-libre/PKGBUILD b/libre/virtualbox-libre/PKGBUILD
index 208d627ef..ceff911bc 100644
--- a/libre/virtualbox-libre/PKGBUILD
+++ b/libre/virtualbox-libre/PKGBUILD
@@ -11,7 +11,7 @@ pkgname=('virtualbox-libre'
'virtualbox-libre-source'
'virtualbox-libre-parabola-source')
pkgver=4.1.22
-pkgrel=1.1
+pkgrel=1.3
arch=('i686' 'x86_64')
url='http://virtualbox.org'
license=('GPL' 'custom')
@@ -76,7 +76,7 @@ build() {
}
package_virtualbox-libre() {
- pkgdesc="Powerful x86 virtualization for enterprise as well as home use (without Oracle VM VirtualBox Extension Pack and non-free OS options support)"
+ pkgdesc="Powerful x86 virtualization for enterprise as well as home use (without non-free distros and others OS presets for the VM creation wizard; Oracle VM VirtualBox Extension Pack support removed)"
depends=('virtualbox-libre-modules' 'libxml2' 'libxcursor' 'libxinerama' 'sdl-libre' 'libxmu' 'curl' 'libvncserver' 'libpng')
optdepends=('qt: for VirtualBox GUI'
'vde2: Virtual Distributed Ethernet support'
diff --git a/libre/virtualbox-libre/virtualbox-libre.install b/libre/virtualbox-libre/virtualbox-libre.install
index 064ee993d..3bce203ef 100644
--- a/libre/virtualbox-libre/virtualbox-libre.install
+++ b/libre/virtualbox-libre/virtualbox-libre.install
@@ -21,15 +21,15 @@ utils() {
# arg 1: the new package version
post_install() {
cat << EOF
+ virtualbox-libre is a libre version of VirtualBox without Oracle VM VirtualBox
+ Extension Pack support and includes a modified list with free distros presets
+ endorsed by the Free Software Foundation for the virtual machine creation wizard.
+ Non-free distros and others OS presets were removed.
- Virtualbox-libre is a libre version of Virtualbox without Oracle VM VirtualBox
- Extension Pack Support and includes a modified OSType list that contains only
- free distros distributions endorsed by the Free Software Foundation.
- It could generate problems with current virtual machines created on Virtualbox
- from others distros.
-
- To solve it, read https://parabolagnulinux.org/news/virtualbox-libre-new-version/
+ It could generate problems with virtual machines created on VirtualBox from
+ others distros or operating systems.
+ To solve it, read https://parabolagnulinux.org/news/virtualbox-libre-new-version
EOF
getent group vboxusers >/dev/null || usr/sbin/groupadd -g 108 vboxusers
diff --git a/pcr/cambozola/PKGBUILD b/pcr/cambozola/PKGBUILD
new file mode 100644
index 000000000..27664f181
--- /dev/null
+++ b/pcr/cambozola/PKGBUILD
@@ -0,0 +1,26 @@
+# Maintainer: Ernie Brodeur <ebrodeur@ujami.net>
+pkgname=cambozola
+pkgver=0.92
+pkgrel=1
+pkgdesc="A java servlet for streaming JPEG's from ip Cameras."
+url="http://www.charliemouse.com:8080/code/cambozola/"
+arch=('x86_64' 'i686')
+license=('GPL')
+depends=('java-runtime')
+makedepends=('apache-ant')
+source=("${url}${pkgname}-${pkgver}.tar.gz")
+md5sums=('602daba851e726e2399445fda3ca718f')
+
+build() {
+ cd "${srcdir}/${pkgname}-${pkgver}"
+ ant
+}
+
+package() {
+ cd "${srcdir}/${pkgname}-${pkgver}"
+ mkdir -p ${pkgdir}/usr/share/${pkgname}
+ cp dist/* ${pkgdir}/usr/share/${pkgname}/
+}
+
+# vim:set ts=2 sw=2 et:
+
diff --git a/pcr/libdrm-git/COPYING b/pcr/libdrm-git/COPYING
new file mode 100644
index 000000000..6e74c337c
--- /dev/null
+++ b/pcr/libdrm-git/COPYING
@@ -0,0 +1,48 @@
+ Copyright 2005 Adam Jackson.
+
+ Permission is hereby granted, free of charge, to any person obtaining
+ a copy of this software and associated documentation files (the
+ "Software"), to deal in the Software without restriction, including
+ without limitation on the rights to use, copy, modify, merge,
+ publish, distribute, sub license, and/or sell copies of the Software,
+ and to permit persons to whom the Software is furnished to do so,
+ subject to the following conditions:
+
+ The above copyright notice and this permission notice (including the
+ next paragraph) shall be included in all copies or substantial
+ portions of the Software.
+
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
+ EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
+ MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
+ NON-INFRINGEMENT. IN NO EVENT SHALL ADAM JACKSON BE LIABLE FOR ANY
+ CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
+ TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
+ SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
+
+------------------------------------------------------------------------
+
+ Copyright 1999 Precision Insight, Inc., Cedar Park, Texas.
+ Copyright 2000 VA Linux Systems, Inc., Sunnyvale, California.
+ All Rights Reserved.
+
+ Permission is hereby granted, free of charge, to any person obtaining
+ a copy of this software and associated documentation files (the
+ "Software"), to deal in the Software without restriction, including
+ without limitation the rights to use, copy, modify, merge, publish,
+ distribute, sublicense, and/or sell copies of the Software, and to
+ permit persons to whom the Software is furnished to do so, subject to
+ the following conditions:
+
+ The above copyright notice and this permission notice (including the
+ next paragraph) shall be included in all copies or substantial
+ portions of the Software.
+
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
+ EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
+ MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
+ NONINFRINGEMENT. IN NO EVENT SHALL PRECISION INSIGHT AND/OR ITS
+ SUPPLIERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
+ WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
+ DEALINGS IN THE SOFTWARE.
diff --git a/pcr/libdrm-git/PKGBUILD b/pcr/libdrm-git/PKGBUILD
index 823631073..94b7dca85 100644
--- a/pcr/libdrm-git/PKGBUILD
+++ b/pcr/libdrm-git/PKGBUILD
@@ -1,13 +1,10 @@
# Maintainer: Jan de Groot <jgc@archlinux.org>
-# Contributor: Alexander Baldeck <alexander@archlinux.org>
-# Arch libdrm Maintainers:
-# Jan de Groot
-# Andreas Radke
# Maintainer (Parabola): Márcio Silva <coadde@lavabit.com>
pkgname=libdrm-git
-pkgver=20120905
-pkgrel=2
+pkgver=$(LC_ALL=C date -u +%Y%m%d)
+_pkgver=2.4.39
+pkgrel=1
pkgdesc='Userspace interface to kernel DRM services'
arch=(
i686
@@ -30,12 +27,25 @@ options=(
)
url=http://dri.freedesktop.org/
provides=(
- ${pkgname%-git}
+ ${pkgname%-git}=$_pkgver
${pkgname%-git}-nouveau1
)
conflicts=(
${pkgname%-git}
+ ${pkgname%-git}-new
+ ${pkgname%-git}-nouveau
${pkgname%-git}-nouveau1
+ ${pkgname%-git}-old
+)
+replaces=(
+ ${pkgname%-git}-new
+ ${pkgname%-git}-nouveau
+)
+source=(
+ COPYING
+)
+sha512sums=(
+ b0ca349b882a4326b19f81f22804fabdb6fb7aef31cdc7b16b0a7ae191bfbb50c7daddb2fc4e6c33f1136af06d060a273de36f6f3412ea326f16fa4309fda660
)
_gitroot=git://git.freedesktop.org/git/mesa/drm
@@ -59,16 +69,28 @@ build() {
git clone $srcdir/$_gitname $srcdir/$_gitname-build
cd $srcdir/$_gitname-build
- sed -i 's/PKG_CHECK_MODULES(PTHREADSTUBS, pthread-stubs)//' configure.ac
+ sed -i '/PKG_CHECK_MODULES(PTHREADSTUBS, pthread-stubs)/d;/AC_SUBST(PTHREADSTUBS_CFLAGS)/d;/AC_SUBST(PTHREADSTUBS_LIBS)/d' \
+ configure.ac
+ sed -i '/ $(PTHREADSTUBS_CFLAGS) /d;s/ @PTHREADSTUBS_LIBS@//' \
+ exynos/Makefile.am
+ sed -i '/ $(PTHREADSTUBS_CFLAGS) /d;/ @PTHREADSTUBS_LIBS@ /d' \
+ intel/Makefile.am
+ sed -i '/ $(PTHREADSTUBS_CFLAGS) /d;s/ @PTHREADSTUBS_LIBS@//' \
+ nouveau/Makefile.am
+ sed -i '/ $(PTHREADSTUBS_CFLAGS) /d;s/ @PTHREADSTUBS_LIBS@//' \
+ omap/Makefile.am
+ sed -i '/ $(PTHREADSTUBS_CFLAGS) /d;s/ @PTHREADSTUBS_LIBS@//' \
+ radeon/Makefile.am
- ./autogen.sh
- ./configure --prefix=/usr \
- --enable-udev \
- --enable-intel \
- --enable-radeon \
- --enable-nouveau \
- --enable-vmwgfx
- make V=1
+ ./autogen.sh --prefix=/usr \
+ --enable-exynos-experimental-api \
+ --enable-intel \
+ --enable-nouveau \
+ --enable-omap-experimental-api \
+ --enable-radeon \
+ --enable-udev \
+ --enable-vmwgfx
+ make V=0
}
check() {
@@ -79,4 +101,6 @@ check() {
package() {
cd $srcdir/$_gitname-build
make DESTDIR=$pkgdir install
+ install -m755 -d $pkgdir/usr/share/licenses/${pkgname%-git}
+ install -m644 ../COPYING $pkgdir/usr/share/licenses/${pkgname%-git}
}
diff --git a/pcr/perl-astro-suntime/PKGBUILD b/pcr/perl-astro-suntime/PKGBUILD
new file mode 100644
index 000000000..d615aa3af
--- /dev/null
+++ b/pcr/perl-astro-suntime/PKGBUILD
@@ -0,0 +1,29 @@
+# This PKGBUILD was generated by cpan4pacman via CPANPLUS::Dist::Pacman
+# Contributor: Ross melin <rdmelin@gmail.com>
+
+# Required by zoneminder
+
+pkgname=perl-astro-suntime
+pkgver=0.01
+pkgrel=2
+pkgdesc="Calculate sun rise/set times"
+arch=('i686' 'x86_64')
+url="http://search.cpan.org/~ROBF/Astro-SunTime"
+license=('GPL' 'PerlArtistic')
+depends=('perl-time-modules')
+options=('!emptydirs')
+source=(http://www.cpan.org/authors/id/R/RO/ROBF/Astro-SunTime-$pkgver.tar.gz)
+md5sums=('4657927a49604494bfaaa153663b90b9')
+
+build() {
+ cd $startdir/src/Astro-SunTime-$pkgver
+ eval `perl -V:archname`
+ PERL_MM_USE_DEFAULT=1 /usr/bin/perl Makefile.PL \
+ INSTALLDIRS=vendor || return 1
+ /usr/bin/make || return 1
+ /usr/bin/make DESTDIR=$startdir/pkg install || return 1
+ /usr/bin/find $startdir/pkg -name '.packlist' -delete
+ /usr/bin/find $startdir/pkg -name '*.pod' -delete
+}
+
+# vim:set ts=2 sw=2 et:
diff --git a/pcr/perl-net-sftp-foreign/Changes b/pcr/perl-net-sftp-foreign/Changes
new file mode 100644
index 000000000..eff2bb00b
--- /dev/null
+++ b/pcr/perl-net-sftp-foreign/Changes
@@ -0,0 +1,795 @@
+Revision history for Net::SFTP::Foreign
+
+1.73 May 11, 2012
+ - password authentication was broken on Solaris (maybe also on
+ others) due to an incorrect waitpid call (bug report and
+ solution by Douglas Wilson)
+ - disconnect was dieing when used with autodie on (bug report
+ by Douglas Wilson)
+
+1.72_02 May 4, 2012
+ - add methods truncate, chmod, chown and utime
+ - make setstat, stat and statvfs accept both a path and a
+ remote file/dir handle as its first argument
+ - deprecate fsetstat, fstat and fstatvfs
+ - refactor remove and rmdir generation
+ - add support for sparse file transfer
+ - minor doc improvements
+
+1.72_01 Mar 20, 2012
+ - add support for asks_for_username_at_login feature (feature
+ request by Horea Gligan)
+ - key_path now can accept an array
+
+1.71 Mar 14, 2012
+ - release as stable
+ - add support for vendor-id extension
+
+1.70_10 Mar 2, 2012
+ - now perm and umask can be used together on get method calls
+ - more cleanups for permission handling code on get method
+
+1.70_09 Mar 2, 2012
+ - autodie was no working for chmod errors on get
+ - get was unlinking the file when chmod failed even whith
+ append or resume set
+ - get was failing when chmod failed even if copy_perms was
+ dissabled (bug report by Rich Anderson)
+ - solve bad interaction between autodie, resume and append
+ - best_effort wrapped methods were not failing ever
+ - minor put method refactoring
+ - save globals on destructor entry
+ - better put method debugging
+
+1.70_08 Feb 19, 2012
+ - queue_size defaults per backend were using the wrong key
+ name and so being ignored. That was causing connections to
+ stall on Windows with the default backend.
+
+1.70_07 Feb 19, 2012
+ - put recovers from open calls failing due to the existence of
+ a remote file with the wrong permissions
+ - do not use accessors for status and error slots internally
+ - test_d and test_e methods where broken when used with
+ autodie, this bug may also affected rget, rput and other
+ high level methods
+
+1.70_06 Feb 13, 2012
+ - add put_content method
+ - support perm option in mget, mput, rget and rput methods
+ - better umask handling, now use an object to reset it at end
+ of scope
+ - improve debugging output
+
+1.70_05 Feb 5, 2012
+ - on Compat::get $remote argument is optional
+ - make Compat::(get|put) use best_effort by default
+ - add support for best_effort feature
+
+1.70_04 Jan 22, 2012
+ - check number of arguments passed to Compat methods
+
+1.70_03 Dec 11, 2011
+ - remove uninitialized warning when using a custom transport
+ (bug report by Kay-C. Baufeld)
+ - several spelling corrections (patch contributed by Nicholas
+ Bamber)
+
+1.70_02 Dec 10, 2011
+ - syntax error, POSIX::WNOHANG was recognized as bareword in
+ perl 5.8
+
+1.70_01 Dec 9, 2011
+ - do not use Expect to handle password authentication but a
+ hand-crafted method that uses IO::Pty directly
+ - solve problem with connections stalling when using password
+ authentication and the remote host was unreachable (bug
+ report by Srini T)
+
+1.69 Dec 9, 2011
+ - release as stable
+
+1.68_08 Oct 11, 2011
+ - accept an array reference in ssh_cmd
+ - use warnings::warnif to generate warnings
+ - minor doc improvements and corrections
+ - in case of sftp-server not found test were not skipped but
+ failed
+
+1.68_07 Oct 10, 2011
+ - password authentication was not working with the new
+ IPC::Open3 replacement code (bug report by Srini T)
+ - empty password handling was also broken
+ - allow setting the backend on all the tests
+
+1.68_06 Oct 9, 2011
+ - do not use the buggy IPC::Open3 under Unix/Linux. This is a
+ mayor internal change, please report any connection problems
+ that were not happening with previous versions of the module
+ - allow testing Windows backend under Unix
+
+1.68_05 Sep 27, 2011
+ - this version is more picky about incomplete responses to
+ stat requests when copy_perms or copy_time are enabled
+ (implicetly or explicitly) on get method
+ - handle incomplete attributes in stat response inside get
+ (bug report by Gus via the Perl Guru Forums).
+
+1.68_04 Sep 7, 2011
+ - accept passing undef as second argument to put, get, rput,
+ rget, mput and mget
+ - catch invalid undefined arguments in several places
+ - custom conversion usage was broken
+ - add %DEFAULTS to Compat package for setting default options
+ for Net::SFTP::Foreign methods called under the hood.
+
+1.68_03 Aug 28, 2011
+ - atomic feature added to get, put and higher level methods
+ using them
+ - cleanup feature added to get and put
+ - support for numbered feature added to rename
+ - save final target name when a reference is passed as
+ numbered option
+ - refactor rput and rget handling of put, put_symlink, get and
+ get_symlink options using hashes
+ - remove operation inside put_symlink was clobbering error and
+ status from previous symlink call
+ - do not die from inside DESTROY methods when autodie is set
+ - resume feature in get method was broken
+ - refactor numbered logic inside _inc_numbered sub
+ - refactor _gen_save_status_method using local
+
+1.68_02 Jul 20, 2011
+ - make unix2dos clever so it doesn't convert CR+LF sequences
+ into CR+CR+LF (bug report by Pavel Albertyan).
+
+1.68_01 Jul 12, 2011
+ - add workaround for crippled versions of Scalar::Util
+ - document overwrite and numbered options as accepted by the
+ put method (reported by Paul Kolano)
+
+1.67 Jul 4, 2011
+ - released as stable in order to solve critical bug:
+ - solve regresion introduced in 1.63_05 that caused ssh to
+ hang when trying to access the tty
+ - pass password to plink via -pw and generate a warning when
+ doing so
+ - support for key_path constructor argument
+ - support for autodie mode
+ - docs misspelling errors corrected (reported by Michael
+ Stevens)
+
+1.66_01 Jun 3, 2011
+ - allow using regexp objects as patterns on glob and derived
+ methods
+ - some doc improvements
+
+1.65 May 17, 2011
+ - die_on_error was broken
+
+1.64 May 09, 2011
+ - release as stable
+ - document the write_delay and read_ahead options
+ - minor doc corrections
+
+1.63_10 Apr 13, 2011
+ - workaround bug in perl 5.6 calling STORE in a tied
+ filehandle
+ - solve "not enough arguments for grep" when using an old
+ version of Scalar::Util
+
+1.63_09 Apr 12, 2011
+ - an error in the handler accessors was adding and useless
+ wrapping layer
+
+1.63_08 Jan 22, 2011
+ - bad method call inside mkpath corrected (bug report and
+ solution by Adam Pingel)
+
+1.63_07 Jan 20, 2011
+ - do not override PreferredAuthentication when explicitly set
+ by the user (bug report and solution by Ave Wrigley)
+
+1.63_06 Dec 10, 2010
+ - redirect_stderr_to_tty was redirecting to the wrong side of
+ the tty (bug report by Russ Brewer)
+
+1.63_05 Dec 6, 2010
+ - add support for hardlink@openssh.com extension
+ - add die_on_error method
+ - create a new process group for slave ssh process so that
+ signals sent from the terminal are not propagated
+ - better error messages
+
+1.63_04 Nov 11, 2010
+ - workaround for IPC::Open3::open3 not working with tied file
+ handles on Windows (bug report by Barnabas Bona)
+ - several spelling corrections (contributed by Philippe Bruhat)
+
+1.63_03 Nov 10, 2010
+ - On some OSs (i.e. AIX) reading/writing from non-blocking fds
+ can result in EAGAIN even when select has indicated that
+ data was available (bug report and patch by Bill Godfrey)
+
+1.63_02 Nov 2, 2010
+ - Windows backend was not pipelining requests when called from
+ put method
+
+1.63_01
+ - support for Tectia client added (bug report by Russ Brewer)
+
+1.62 Oct 5, 2010
+ - _catch_tainted_args was not being imported from helpers (bug
+ report by rfbits at PerlMonks)
+
+1.61 Sep 22, 2010
+ - remove some dead code introducing unneeded constraints that
+ cause the Net::SSH2 backend to fail (bug report by Philippe
+ Vouters)
+
+1.60 Sep 20, 2010
+ - _ensure_list was not being imported from Helpers (bug report
+ and solution by Jean-Benoît Baudens)
+
+1.59 Sep 16, 2010
+ - kill ssh subprocess with KILL signal on Windows
+
+1.58_08 Aug 22, 2010
+ - import _hexdump from Helpers.pm (bug report by Chuck Kozak)
+ - call kill passing the signal name instead of using POSIX to
+ get its number
+
+1.58_07 Aug 2, 2010
+ - dump $! on failed sysreads and syswrites
+
+1.58_06 Jul 12, 2010
+ - rput was broken under Windows (bug report by Brian
+ E. Lozier)
+ - do not use Fcntl S_IS* macro wrappers as S_ISLNK is not
+ available under Windows
+ - new FAQ about put failing because of forbidden setstat
+ - minor doc improvements
+ - use "kill $name" instead of using POSIX to get the signal
+ number
+
+1.58_05 Jun 7, 2010
+ - add support for stderr_discard also in Windows backend
+
+1.58_04 Jun 7, 2010
+ - add support for stderr_discard
+
+1.58_03 May 27, 2010
+ - even more debugging for put method and the resume feature
+
+1.58_02
+ - add FAQ about strict host key checking
+ - better debugging for put method
+
+1.58_01 Apr 19, 2010
+ - add stderr redirection feature
+ - minor doc corrections
+ - add donating to OpenSSH entry in docs
+
+1.57 Mar 14, 2010
+ - release as stable
+
+1.56_09 Mar 11, 2010
+ - realpath feature was broken on find and ls methods (bug
+ report by Paul Kolano)
+ - taint checks on hashes were not reporting problems properly
+ - minor doc corrections
+
+1.56_08 Jan 5, 2010
+ - put'ting a tied file handle was generating some warnings
+ (bug report and patch by Gavin Carr)
+
+1.56_07 Dec 29, 2009
+ - new methods added: mget, mput, get_symlink, put_symlink
+ - new numbered feature
+ - some minor bugs corrected
+ - glob can now also be used from Net::SFTP::Foreign::Local
+ - some doc corrections and improvements
+ - _call_on_error was not cleaning up under some conditions
+
+1.56_06 Dec 14, 2009
+ - mkpath was broken, rewritten to not use the obsolete
+ _normalize_path method (bug report by Peter Edwards).
+ - add some tests for mkpath
+ - introduce internal _clear_error_and_status method
+ - completely remove _normalize_path
+ - correct bug in _debug not printing sub name under some
+ conditions
+
+1.56_05 Dec 9, 2009
+ - add support for plugable backends ***THIS IS A MAYOR
+ INTERNAL CHANGE THAT COULD INTRODUCE NEW BUGS***
+
+1.56_04 Dec 8, 2009
+ - remote file path joining sub rewritten (note: this could
+ change the module behaviour in some corner cases)
+ - new test file with path join operations
+ - rput('.',...) was failing due to bad path joining for local
+ filesystem (bug report by Aaron Paetznick).
+ - accept keyboard-interactive authentication
+ - some docs reorganization
+ - add pointer to my wish list :-)
+
+1.56_03 Nov 14, 2009
+ - use SIGTERM to kill children also on Windows
+ - workaround Cygwin bug, fopen(..., a); ftell() does not
+ return the size of the file
+
+1.56_01 Oct 26, 2009
+ - pass PreferredAuthentication option to SSH process to force
+ password authentication (bug and solution by Stewart
+ Heckenberg)
+ - use SIGTERM instead of SIGHUP to kill slave SSH process
+
+1.55 Sep 9, 2009
+ - re-release as stable
+
+1.54_03 Sep 4, 2009
+ - add debugging to _rel2abs
+
+1.54_02 Aug 19, 2009
+ - add extra sanity check to setcwd method. It seems that some
+ servers do not report an error when realpath is called on an
+ inexistent file (bug report by Ben Szulc)
+ - password authentication broken in AIX
+ - some documentation corrections
+ - more tests added
+
+1.54_01 Jul 22, 2009
+ - yet another "Password not requested as expected" bug solved,
+ $pty->close_slave was being called too soon (bug report by
+ Tim Rayner)
+
+1.53 Jul 6, 2009
+ - re-released as stable
+
+1.52_12 Jul 2, 2009
+ - also if using password authentication, detect when the
+ remote host key doesn't match the key stored in know_hosts
+ and abort the connection (bug report by Ryan Niebur).
+ - if using password authentication, detect when the target
+ host key has not been accepted yet (bug report by Ryan
+ Niebur)
+ - work around for IPC::Open3 feature missing in old versions
+ of that module that caused password authentication to fail
+ under 5.6.x perls (bug report by Vetrivel).
+ - find method would not follow links passed as arguments to
+ the method or others found when ordered mode was selected
+ (bug report by Paul Kolano)
+ - detect bad passwords and other password authentication
+ improvements
+ - sample scripts added
+ - atomic_rename was returning the wrong error code/string
+ - Perl 5.11 changes the EOF call interface for tied file
+ handles
+ - attributes flags slot was incorrectly set on new_from_buffer
+ - get/put_int64 optimization
+ - add calling function name to debug output
+ - add debug hexdumps for sysreads and syswrites
+ - optimize some common ls usages to reduce CPU utilization
+ - implement pipelining for ls command
+ - ls bug, wanted was being called with the wrong arguments
+ - add timestamps to debugging output
+ - ensure that attribute arguments are of class
+ Net::SFTP::Foreign::Attributes (feature request by Todd
+ Rinaldo)
+ - put_attributes was broken
+ - move _hexdump to Helpers package
+ - debug subsystem cleanup
+
+1.51 Apr 7, 2009
+ - "get" corrupted the fetched files if $\ was non empty (bug
+ report and solution by Dagfinn Ilmari Mannsaker)
+ - increment default packet and queue size
+
+1.50 Mar 18, 2009
+ - rel2abs was not collapsing duplicated slashes when joining
+ paths, generating paths as '//home' that have an unexpected
+ meaning under Windows (bug report and solution by Erik
+ Weidel)
+
+1.49 Mar 17, 2009
+ - use utf8::downgrade to handle data with may have its utf8
+ flag set (bug report by Jamie Lahowetz, solution by ikegami)
+ - emulate SSH2_FXF_APPEND mode not supported by OpenSSH SFTP
+ server
+ - open flags documented
+ - minor documentation corrections
+ - follow_links option from find method was broken (bug report
+ by Paul Kolano)
+ - spurious debugging message removed from statvfs
+ - put and get now accept a file handle instead of a file name
+ for the local file (feature request by David Morel)
+ - add support for append option in put and get
+ - put and get documentation reorganized
+ - improve write caching behavior, '_write_delay' is used to
+ control the write buffer size (feature request by David
+ Morel)
+
+1.47 Feb 13, 2009
+ - add support for per object dirty cleanup flag required by
+ proper Net::OpenSSH integration
+ - add support for old SSH1
+
+1.46 Dec 18, 2008
+ - release as stable version
+ - improve synopsis documentation
+ - commercial support offering note added
+
+1.45 Nov 11, 2008
+ - reduce localized scope for $SIG{__DIE__} and $@ (bug report
+ by David Serrano and David Riosalido)
+ - workaround incomplete unicode support in perl 5.6.x
+ - new FAQ entry about how to completely disable passwd
+ authentication
+ - add support for OpenSSH protocol extensions statvfs,
+ fstatvfs and posix-rename.
+ - add overwrite feature to rename method
+ - new fs_encoding feature added ***this is a mayor internal
+ change that could introduce new bugs***
+ - when parsing status msgs, the string was not being converted
+ to utf8
+ - croak when utf8 data is written to remote files in any way.
+ - binmode ssh_in and ssh_out
+ - some minor documentation corrections
+ - add support for mkpath (feature requested by Mark Murphy)
+ - add support for late_set_attr (bug report by Oliver Dunbar)
+ - add support for extended file attributes (bug report by
+ Oliver Dunbar)
+ - add support for the autodisconnect feature (bug report by
+ Jared Watkins).
+ - add support for multiprocess debugging
+
+1.44 Oct 9, 2008
+ - put was using block sizes 4 times bigger than
+ requested, bug introduced in 1.41 (reported by Hussain
+ Syed).
+
+1.43 Sep 8, 2008
+ - readline was slurping the full file contents (bug report by
+ Sylvain Cousineau).
+
+1.42 Jul 17, 2008
+ - experimental support for resuming file transfers
+ - some typos fixed
+ - TODO added
+
+1.41 Jul 16, 2008
+ - add support for on the fly data conversions including
+ dos2unix and unix2dos
+ - copy_perm => 0 was being ignored in several methods (bug
+ report by Dave Tauzell)
+
+1.40 Jun 24, 2008
+ - work around for servers that do not include the mandatory
+ error message on SSH_FXP_STATUS responses (bug report by
+ Hugh Lampert).
+
+1.39 Jun 23, 2008
+ - suppress warning on mod_perl environments (bug and solution
+ reported by Eric Rybski).
+
+1.38 May 20, 2008
+ - add experimental support for plink command
+ - on get, don't change file size passed to callback
+ - on get, survive stat failure for servers with stat/readdir
+ disabled (bug reported by Hussain Syed)
+ - default open mode set to read
+ - add support for block_size and queue_size constructor
+ arguments
+ - limit usage of Expect and PTYs to authentication phase (bug
+ reported by Tom Warkentin)
+ - honour copy_perm option in put method (bug report by Bruce
+ Harold)
+ - copy_perms option renamed to copy_perm for consistency
+ (copy_perms still supported)
+ - glob optimization
+ - typo in Net::SFTP::Foreign::Common::_set_errno was not
+ setting $! correctly (bug report by Rafael Kitover)
+ - add debugging support to _do_io and _set_(status|error)
+
+1.36 Apr 18, 2008
+ - forbid usage of Net::SFTP::Foreign methods from Compat
+ module (bug reported by Fred Zellinger)
+ - document the password and passphrase constructor
+ options.
+
+1.35 Feb 8, 2008
+ - put method was failing for binary files under Windows
+ because binmode was not set on the local filehandler (bug
+ report and patch by Patrick Frazer).
+
+1.34 Jan 8, 2008
+ - document rput. It said it was not implemented (bug report
+ by Paul Kolano).
+ - put method was failing for binary files under Windows
+ because binmode was not set on the local filehandler (bug
+ report and patch by Patrick Frazer).
+
+1.33 Jan 6, 2008
+ - rremove was not removing dirs (bug report by Paul Kolano).
+ - require perl >= 5.6
+ - add support for open/close and DESTROY debugging
+
+1.32 Dec 8, 2007
+ - add new question to FAQ
+ - document password and passphrase options (though, not
+ completely).
+ - somo minor documentation changes
+ - on testing look for sftp-server on libexec dirs
+ - and delete temporal files
+
+1.31 Oct 8, 2007
+ - remove Win32::Socketpair loading, it is not used anymore
+ - improve debugging
+ - do not croak when invalid data from the other side appears
+
+1.30 Aug 23, 2007
+ - add support for realpath option to ls method
+ - add support for realpath and names_only to glob method
+ - improve _set_status and _set_error methods
+ - add support for password authentication and for keys with
+ passphrases
+
+1.29 Aug 14, 2007
+ - add support for names_only option to ls and find methods
+ - make ls and find methods default to '.'
+ - DESTROY was also messing with $? and $! values (bug reported
+ by Dave Haywood)
+ - better usage checking for several methods
+ - add support for cwd (experimental)
+ - symlink docs corrected
+ - several other doc corrections
+
+1.28
+ - argument checking in rename was wrong (reported by Greg
+ Howard)
+ - disable DIE custom handlers when using eval
+
+1.27 Jul 7, 2007
+ - catch insecure $ENV{PATH} under taint mode (bug reported by
+ jmarshll).
+
+1.26 Jul 5, 2007
+ - my email was missing from the docs
+ - make it work under taint checking (experimental feature).
+ - work around bug in dualvar under taint checking
+
+1.25 Jun 19, 2007
+ - remove some obsolete tests not working on 5.9.x
+
+1.24 Jun 18, 2007
+ - DESTROY was messing up $@ (bug reported by Kai Grossjohann)
+ - set $SIG{PIPE} handler inside _do_io to catch IO errors
+ - don't execute external command when transport option is used
+ on constructor
+
+1.23 May 23, 2007
+ - release as stable!
+ - some doc improvements
+
+0.90_22 Apr 29, 2007
+ - experimental Windows support added
+
+0.90_21 Apr 25, 2007
+ - some documentation improvements
+ - check that ctor 'more' arguments are not joined
+ - eliminate "Password" prompt on passwd_auth sample (solution
+ suggested by Fletch on PerlMonks)
+
+0.90_20 Apr 20, 2007
+ - add support for "transport" options on the constructor that
+ allows to use password authentication and keys protected by
+ a passphrase
+ - add password authentication sample
+
+0.90_19 Apr 5, 2007
+ - add abort method (feature requested by Jamie Lahowetz)
+
+0.90_18 Mar 23, 2007
+ - fallback to dirty cleanup if ssh process doesn't exit cleanly in
+ 8 seconds (bug reported by Brandon Schendel).
+
+0.90_17 Mar 21, 2007
+ - add support for dont_save flag in get method, required for
+ Compat module (bug reported by Jamie Lahowetz).
+
+0.90_16 Mar 18, 2007
+ - new tests added
+ - mkdir, rmdir, remove, setstat, fsetstat and _close methods
+ argument parsing was wrong (bug #25101 reported by
+ funkonaut)
+ - wrong detection of Sort::Key corrected
+ - debug mode was broken
+ - network errors do not die anymore, documented
+
+0.90_15 Dec 19 2006
+ - messages were not being queued on get method and so,
+ performance was very bad (reported by "sched" via
+ Perlmonks).
+ - Auto reduce block size on get method.
+
+0.90_14 Nov 8 2006
+ - FAQ section added on the module documentation
+ - Net::SFTP supplant was not working, corrected
+
+0.90_13 Sep 22 2006
+ - fchmod is not available everywhere, don't use it (bug and
+ solution reported by Andre Tomt).
+
+0.90_12 Aug 21 2006
+ - syntax error on Net::SFTP::Foreign::Compat corrected
+ (reported by Hans Schligtenhorst).
+ - supplant was misspelled
+ - correct some dependency problems on Compat.
+ - add test for Compat.
+
+0.90_11 Jun 30 2006
+ - don't croak from connect on runtime errors
+ - workaround bug in IPC::Open3 that leaves two processes
+ running
+
+0.90_10 May 17 2006
+ - 0 is a valid sftp handler.
+
+0.90_09 Apr 25 2006
+ - bug on _do_io method corrected
+
+0.90_08 Apr 24 2006
+ - bug for copy_perms => 0 corrected (reported by Erik
+ Johansen).
+ - usage checks added to most commands.
+
+0.90_07 Apr 23 2006
+ - don't use pack for quads on little-endian systems (bug
+ reported by Mogens Hafsjold)
+
+0.90_06 Feb 24 2006
+ - implement rput
+ - use Win32::Socketpair on Windows
+ - implement API for local fs in Local
+ - move common functions to Common and Helpers packages
+
+0.90_05 Feb 23 2006
+ - convert remote file handle strings to tied file handles
+ - most methods changed to mimic perl buil-ins
+ - attach file position to file handles.
+
+0.90_04 Feb 22 2006
+ - remove bug in get that could left remote file handles open
+ - new methods readlink, symlink, rremove, rget.
+
+0.90_03 Feb 21 2006
+ - minor corrections to the docs
+ - new methods glob and join implemented.
+
+0.90_02 Feb 20 2006
+ - added new method find
+ - ls method expanded with callback
+ - contructor rewritten
+ - better docs for Constants package
+ - Compat module updated
+ - several corrections on the docs
+
+0.90_01 Feb 16 2006
+ - almost full rewrite exposing new much improved and
+ incompatible API!!!
+
+--------------------------------------------------------------------------
+
+0.57 Nov 29 2005
+ - check sysread return value when reading from pipe (bug
+ report and patch submited by Mina Naguib).
+
+0.56 Nov 14 2005
+ - correct bug on open2_cmd option
+
+0.55 Oct 24 2005
+ - kill ssh process when done (bug reported by Alf Carlsson).
+
+0.54 Sep 07 2005
+ - add support for transferring files bigger than 4GB
+
+0.53 May 03 2005
+ - link to SFTP draft actualised
+
+0.52 May 03 2005
+ - some typos corrected on the docs.
+
+0.51 May 03 2005
+ - Net::SFTP::Foreign::Buffer reimplemented from scratch. It
+ doesn't depend on Net::SSH::Perl::Buffer anymore.
+ - use foreign 'ssh' to open connections.
+
+0.50 May 02 2005
+ - Net::SFTP::Foreign FORKED !!!
+
+
+--------------------------------------------------------------------------
+Previous revision history for Net::SFTP
+
+0.09 2005.01.16
+ - New co-maintainer, David Robins (DBROBINS).
+ - Adds a 'warn' argument to the constructor to allow supression or
+ redirection of warnings.
+ - Allows the 'ssh_args' constructor argument to be either a hash ref or an
+ array ref.
+ - Adds a 'status' method which returns the last SSH2_FX_* status value, or
+ (status value, text) in list context (only useful after last failure).
+ - Adds brief summary comments to some methods.
+ - Returns failure if the remote open fails for 'get' (previous code ignored
+ it); also moves the remote open before the local open so that we don't
+ create empty local files if the remote file can't be opened.
+ - Changes 'ls' to return an array reference in scalar context.
+ - Documents: the fact that we die on protocol/local errors; the new option
+ and method; changes to 'get'/'put' (formerly 'put' didn't return anything
+ useful, and 'get's actual return values are the same, just better
+ documented).
+ - Adds a comprehensive remote test, but to use it one has to manually go in
+ and configure a server a certain way, so it defaults to skipping
+ everything; I'm including it as a base since there are currently no remote
+ tests at all.
+
+0.08 2003.12.12
+ - Net::SFTP::Buffer was passing an invalid option when loading
+ Net::SSH::Perl::Buffer.
+ - Add SUPPORT section to the docs.
+
+0.07 2003.11.14
+ - Require Net::SSH::Perl 1.24, which also includes circular
+ reference fixes.
+
+0.06 2003.11.14
+ - New maintainer, Dave Rolsky.
+ - Fixed a circular reference which caused connections to be held
+ open indefinitely in a persistent environment like mod_perl.
+ This uses weak references, so Perl 5.6.0+ is now required. This
+ work was funded by Kineticode, Inc.
+ - Added a LICENSE file.
+
+0.05 2001.05.24
+ - Added help ('h' or '?') command to psftp. Moved all shell
+ functionality into Net::SFTP::Shell.
+ - Net::SFTP::Util needed to 'use Exporter'.
+
+0.04 2001.05.16
+ - Fixed bug in put method when running fsetstat command; it
+ was trying to set the UID/GID on the remote file, which
+ was giving a permission denied message. Should not try to
+ set UID/GID, so had to adjust flags.
+ - Added eg/psftp, a working SFTP shell.
+ - Moved READ and WRITE commands into their own methods
+ (do_read and do_write, respectively).
+ - Changed semantics of get method. Returning the contents of
+ the remote file is no longer connected to whether a local
+ file is passed as an argument; it is instead based on the
+ calling context of 'get'. Updated docs to reflect this.
+
+0.03 2001.05.15
+ - Documentation for all extra classes: Attributes, Buffer,
+ Constants, and Util.
+ - Documentation for command methods in Net::SFTP.
+ - Added binmode when reading/writing from local files.
+ - Added methods for all remaining commands in SFTP protocol
+ version 3 (eg. remove, rmdir, mkdir, realpath, etc.).
+ - Added callbacks to get and put, eg. for status messages,
+ etc.
+ - Fixed typo in Net::SFTP::Buffer::get_int64 that was breaking
+ reading 64-bit ints.
+
+0.02 2001.05.14
+ - Fixed bug with SSH2 server not sending one message per
+ packet, ie. multiple packets have to be retrieved to make
+ up one SFTP message. This would show up as a "Message length
+ too long" error. Thanks to Matt Good for the spot.
+ - Fixed bug with OpenSSH and SSH2 SFTP servers where after
+ a certain amount of bytes the connection would hang. This
+ was a bug in Net::SSH::Perl (channel window sizes) that is
+ fixed in version 1.13.
+
+0.01 2001.05.13
+ - original version; created by h2xs 1.19
diff --git a/pcr/perl-net-sftp-foreign/PKGBUILD b/pcr/perl-net-sftp-foreign/PKGBUILD
new file mode 100644
index 000000000..61fb3b8df
--- /dev/null
+++ b/pcr/perl-net-sftp-foreign/PKGBUILD
@@ -0,0 +1,30 @@
+# Contributor: Alessandro Sagratini <ale_sagra at hotmail dot com>
+pkgname=perl-net-sftp-foreign
+pkgver=1.73
+pkgrel=1
+pkgdesc="Perl SFTP client using the native SSH client application"
+arch=(any)
+url=http://search.cpan.org/~salva/Net-SFTP-Foreign
+license=('GPL' 'PerlArtistic')
+depends=('perl>=5.10.0')
+optdepends=('perl-file-which' 'perl-sort-key')
+options=(!emptydirs)
+changelog=Changes
+source=(http://search.cpan.org/CPAN/authors/id/S/SA/SALVA/Net-SFTP-Foreign-$pkgver.tar.gz)
+md5sums=('3de69b9281027e484a30e3efa581981f')
+
+build() {
+ cd "$srcdir/Net-SFTP-Foreign-$pkgver"
+
+ # install module in vendor directories.
+ PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor || return 1
+ make || return 1
+}
+
+package() {
+ cd "$srcdir/Net-SFTP-Foreign-$pkgver"
+ make install DESTDIR=${pkgdir} || return 1
+ # remove perllocal.pod and .packlist
+ find "$pkgdir" -name perllocal.pod -delete
+ find "$pkgdir" -name .packlist -delete
+}
diff --git a/pcr/perl-sys-mmap/PKGBUILD b/pcr/perl-sys-mmap/PKGBUILD
new file mode 100644
index 000000000..e563d5da7
--- /dev/null
+++ b/pcr/perl-sys-mmap/PKGBUILD
@@ -0,0 +1,49 @@
+# Contributor: Justin Davis <jrcd83@gmail.com>
+# Generator : CPANPLUS::Dist::Arch 1.18
+
+pkgname='perl-sys-mmap'
+pkgver='0.16'
+pkgrel='1'
+pkgdesc="uses mmap to map in a file as a Perl variable"
+arch=('i686' 'x86_64')
+license=('PerlArtistic' 'GPL')
+options=('!emptydirs')
+depends=('perl')
+makedepends=()
+url='http://search.cpan.org/dist/Sys-Mmap'
+source=('http://search.cpan.org/CPAN/authors/id/T/TO/TODDR/Sys-Mmap-0.16.tar.gz')
+md5sums=('faae869e876fa86f92e6de3f13af3aef')
+sha512sums=('9f533f8eaa2707a77fa69dc0163e5e55b13d6653ddb5f7850c3fcaa090c79069cccedb947c1b8cd5a125fd7b055803eff437697c120785f422bff0414be7cd05')
+_distdir="${srcdir}/Sys-Mmap-0.16"
+
+build() {
+ ( export PERL_MM_USE_DEFAULT=1 PERL5LIB="" \
+ PERL_AUTOINSTALL=--skipdeps \
+ PERL_MM_OPT="INSTALLDIRS=vendor DESTDIR='$pkgdir'" \
+ PERL_MB_OPT="--installdirs vendor --destdir '$pkgdir'" \
+ MODULEBUILDRC=/dev/null
+
+ cd "$_distdir"
+ /usr/bin/perl Makefile.PL
+ make
+ )
+}
+
+check() {
+ cd "$_distdir"
+ ( export PERL_MM_USE_DEFAULT=1 PERL5LIB=""
+ make test
+ )
+}
+
+package() {
+ cd "$_distdir"
+ make install
+ find "$pkgdir" -name .packlist -o -name perllocal.pod -delete
+}
+
+# Local Variables:
+# mode: shell-script
+# sh-basic-offset: 2
+# End:
+# vim:set ts=2 sw=2 et:
diff --git a/pcr/perl-unicode-map/PKGBUILD b/pcr/perl-unicode-map/PKGBUILD
new file mode 100644
index 000000000..1d03e867d
--- /dev/null
+++ b/pcr/perl-unicode-map/PKGBUILD
@@ -0,0 +1,30 @@
+# This PKGBUILD was generated by cpan4pacman via CPANPLUS::Dist::Pacman
+# Contributor: Ross melin <rdmelin@gmail.com>
+
+# Required by zoneminder
+
+pkgname=perl-unicode-map
+pkgver=0.112
+pkgrel=2
+pkgdesc="Unicode::Map"
+arch=('i686' 'x86_64')
+url="http://search.cpan.org/~MSCHWARTZ/Unicode-Map"
+license=('GPL' 'PerlArtistic')
+depends=('perl')
+options=('!emptydirs')
+source=(http://www.cpan.org/authors/id/M/MS/MSCHWARTZ/Unicode-Map-$pkgver.tar.gz)
+md5sums=('edaa8fc5ddf0e5d805e274283dd0625d')
+
+build() {
+ cd $startdir/src/Unicode-Map-$pkgver
+ eval `perl -V:archname`
+ PERL_MM_USE_DEFAULT=1 /usr/bin/perl Makefile.PL \
+ INSTALLDIRS=vendor || return 1
+
+ /usr/bin/make || return 1
+ /usr/bin/make DESTDIR=$startdir/pkg install || return 1
+ /usr/bin/find $startdir/pkg -name '.packlist' -delete
+ /usr/bin/find $startdir/pkg -name '*.pod' -delete
+}
+
+# vim:set ts=2 sw=2 et:
diff --git a/pcr/perl-x10/PKGBUILD b/pcr/perl-x10/PKGBUILD
new file mode 100644
index 000000000..51283d599
--- /dev/null
+++ b/pcr/perl-x10/PKGBUILD
@@ -0,0 +1,30 @@
+# This PKGBUILD was generated by cpan4pacman via CPANPLUS::Dist::Pacman
+# Contributor: Ross melin <rdmelin@gmail.com>
+
+# Required by zoneminder
+
+pkgname=perl-x10
+pkgver=0.03
+pkgrel=2
+pkgdesc="X10"
+arch=('i686' 'x86_64')
+url="http://search.cpan.org/~ROBF/X10"
+license=('GPL' 'PerlArtistic')
+depends=('perl-astro-suntime>=0.01' 'perl-device-serialport' 'perl-time-modules')
+options=('!emptydirs')
+source=(http://www.cpan.org/authors/id/R/RO/ROBF/X10-$pkgver.tar.gz)
+md5sums=('056b3d98fab545865148b948de6784c7')
+
+build() {
+ cd $startdir/src/X10-$pkgver
+ eval `perl -V:archname`
+ PERL_MM_USE_DEFAULT=1 /usr/bin/perl Makefile.PL \
+ INSTALLDIRS=vendor || return 1
+
+ /usr/bin/make || return 1
+ /usr/bin/make DESTDIR=$startdir/pkg install || return 1
+ /usr/bin/find $startdir/pkg -name '.packlist' -delete
+ /usr/bin/find $startdir/pkg -name '*.pod' -delete
+}
+
+# vim:set ts=2 sw=2 et:
diff --git a/pcr/zoneminder/Controls_Orbit.sql b/pcr/zoneminder/Controls_Orbit.sql
new file mode 100644
index 000000000..23224e4aa
--- /dev/null
+++ b/pcr/zoneminder/Controls_Orbit.sql
@@ -0,0 +1,3 @@
+
+INSERT INTO `Controls` VALUES (7,'Orbit','Remote','mjpgStreamer',0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,1,1,-7000,7000,200,200,1,100,100,0,0,1,-2000,2000,10,100,1,200,200,0,0,0,0);
+
diff --git a/pcr/zoneminder/PKGBUILD b/pcr/zoneminder/PKGBUILD
new file mode 100644
index 000000000..206651216
--- /dev/null
+++ b/pcr/zoneminder/PKGBUILD
@@ -0,0 +1,114 @@
+# Maintainer: Vojtech Aschenbrenner <v@asch.cz>
+# Contributor: Jason Gardner <buhrietoe@gmail.com>
+# Contributor: Ross melin <rdmelin@gmail.com>
+
+pkgname=zoneminder
+pkgver=1.25.0
+pkgrel=13
+pkgdesc="Capture, analyse, record and monitor video security cameras"
+arch=('i686' 'x86_64' 'arm')
+url="http://www.zoneminder.com"
+license=('GPL')
+depends=('cambozola' 'apache' 'php' 'php-gd' 'php-mcrypt' 'mysql' 'pcre' 'openssl' 'ffmpeg' 'perl-libwww' 'perl-date-manip' 'perl-unicode-map' 'perl-dbi' 'perl-dbd-mysql' 'perl-io-stringy' 'perl-mime-lite' 'perl-timedate' 'perl-x10' 'perl-time-modules' 'perl-net-smtp-ssl' 'perl-sys-mmap' 'perl-net-sftp-foreign' 'perl-mime-tools' 'perl-io-tty' 'sudo' 'libv4l' 'libjpeg' 'gnutls' 'php-apache')
+makedepends=()
+install=zoneminder.install
+source=("http://www.zoneminder.com/downloads/ZoneMinder-${pkgver}.tar.gz"
+ zm.rc.d
+ Controls_Orbit.sql
+ zminit.arch
+ customdb
+ httpd-zm.conf
+ zmeventbackup
+ patch-ffmpeg-0.11.patch
+ patch-libavcodec-detection.patch
+ zoneminder-1.25.0-kernel35.patch
+ arm-context.patch)
+
+md5sums=('eaefa14befd482154970541252aa1a39'
+ '9fb81f81b056c18be6eef3f1c8e0dd6d'
+ '5033bc098bf497c8aed1fc1b3c9c5f9c'
+ 'f9720872736f26d17bc49d8725b75ae4'
+ '942f6641c744ffe7d64846a5c34d84f1'
+ 'e63262d1417105ae24c7a03d98b2c64c'
+ '1a6d7c43af79c786b27cc88f7ba7ed3e'
+ 'b872dd86926ab00c5d4733e7e38eaa9c'
+ '94bf5d95fe5429f7df458ddfbabf0c12'
+ '88bd124dfb841320cecb0a757b2a78c1'
+ 'b28c8eb392a7e7b6ef665817d7fe61f4')
+
+build() {
+ cd "$srcdir/ZoneMinder-$pkgver"
+
+ # Patch for GCC 4.7.x
+ sed -i -e '1 s/^/#include <unistd.h>\n/;' src/zm_logger.cpp
+ sed -i -e '1 s/^/#include <unistd.h>\n/;' src/zm_thread.h
+
+ # Patch for build/upgrade path
+ sed -i -e 's#ZM_PATH_BUILD=@PATH_BUILD@#ZM_PATH_BUILD=/srv/zoneminder/upgrade\nZM_PATH_UPDATE=/srv/zoneminder/upgrade#' zm.conf.in
+
+ # Patch for support new ffmpeg
+ patch -p1 < ../patch-ffmpeg-0.11.patch
+
+ # Patch for correct libavcodec detection
+ patch -p0 < ../patch-libavcodec-detection.patch
+
+ # Patch for type cast in kernel3.5
+ patch -p0 < ../zoneminder-1.25.0-kernel35.patch
+
+ # Patch for ARM
+ if test "$CARCH" == arm; then
+ patch -p0 < ../arm-context.patch
+ fi
+
+ # Add some more configs into DB
+ cat ../Controls_Orbit.sql >> db/zm_create.sql.in
+
+ ./configure --prefix=/usr \
+ --sysconfdir=/etc \
+ --with-webuser=http \
+ --with-webgroup=http \
+ --with-mysql=/usr \
+ --with-webdir=/srv/zoneminder/www \
+ --with-cgidir=/srv/zoneminder/cgi-bin \
+ --bindir=/srv/zoneminder/bin \
+ ZM_SSL_LIB=openssl \
+ CPPFLAGS=-D__STDC_CONSTANT_MACROS
+
+ # chown line mucks everything up, we'll chown it in the install script
+ sed -i '/chown/d' Makefile
+
+ # modify hard-coded paths
+ sed -i 's#/var/lib/zm#/srv/zoneminder/backup#' scripts/zmdbrestore.in
+ sed -i 's#/var/lib/zm#/srv/zoneminder/backup#' scripts/zmlogrotate.conf.in
+ sed -i 's#/var/lib/zm#/srv/zoneminder/backup#' scripts/zmdbbackup.in
+
+ # Build it!
+ make || return 1
+ make DESTDIR="$pkgdir" install || return 1
+
+ install -D -m 700 $startdir/src/zminit.arch $startdir/pkg/srv/zoneminder/bin/zminit
+ install -D -m 755 $startdir/src/zm.rc.d $startdir/pkg/etc/rc.d/zm
+ install -D -m 700 scripts/zmdbbackup $startdir/pkg/srv/zoneminder/bin/zmdbbackup
+ install -D -m 700 scripts/zmdbbackup $startdir/pkg/srv/zoneminder/bin/zmdbbackup
+ install -D -m 700 scripts/zmdbrestore $startdir/pkg/srv/zoneminder/bin/zmdbrestore
+ install -D -m 700 scripts/zmeventdump $startdir/pkg/srv/zoneminder/bin/zmeventdump
+ install -D -m 700 scripts/zmlogrotate.conf $startdir/pkg/etc/logrotate.d/zm
+ install -D -m 700 $startdir/src/zmeventbackup $startdir/pkg/etc/cron.hourly/zmeventbackup
+
+ mkdir -p $startdir/pkg/etc/httpd/conf/extra/
+ install -m 644 $startdir/src/httpd-zm.conf $startdir/pkg/etc/httpd/conf/extra/httpd-zm.conf
+
+ install -D -m 700 $startdir/src/customdb $startdir/pkg/srv/zoneminder/upgrade/customdb
+ install -D db/zm*.sql $startdir/pkg/srv/zoneminder/upgrade/
+
+ mkdir -p $startdir/pkg/var/run/zm
+
+ ### remove special files
+ find $startdir/pkg/ -name "perllocal.pod" \
+ -o -name ".packlist" \
+ -o -name "*.bs" \
+ |xargs -i rm -f {}
+
+}
+
+# vim:set ft=sh ts=2 sw=2 et:
diff --git a/pcr/zoneminder/arm-context.patch b/pcr/zoneminder/arm-context.patch
new file mode 100644
index 000000000..a6fbb5328
--- /dev/null
+++ b/pcr/zoneminder/arm-context.patch
@@ -0,0 +1,18 @@
+--- src/zm_signal.cpp.orig 2012-08-30 13:24:16.479872021 -0700
++++ src/zm_signal.cpp 2012-08-30 13:27:35.909871996 -0700
+@@ -82,13 +82,13 @@
+ int trace_size = 0;
+
+ #if HAVE_STRUCT_SIGCONTEXT_EIP
+- Error( "Signal address is %p, from %p", (void *)context.cr2, (void *)context.eip );
++ Error( "Signal address is %p, from %p", (void *)context.fault_address, (void *)context.eip );
+
+ trace_size = backtrace( trace, TRACE_SIZE );
+ // overwrite sigaction with caller's address
+ trace[1] = (void *)context.eip;
+ #elif HAVE_STRUCT_SIGCONTEXT
+- Error( "Signal address is %p, no eip", (void *)context.cr2 );
++ Error( "Signal address is %p, no eip", (void *)context.fault_address );
+
+ trace_size = backtrace( trace, TRACE_SIZE );
+ #else // HAVE_STRUCT_SIGCONTEXT
diff --git a/pcr/zoneminder/customdb b/pcr/zoneminder/customdb
new file mode 100755
index 000000000..afd295935
--- /dev/null
+++ b/pcr/zoneminder/customdb
@@ -0,0 +1,31 @@
+#!/bin/sh
+DBHOST=$1
+DBNAME=$2
+USERNAME=$3
+PASSWORD=$4
+
+ZM_PATH_ZMS=/cgi-bin/nph-zms
+ZM_PATH_SOCKS=/srv/zoneminder/socks
+ZM_PATH_LOGS=/var/log/zm
+ZM_WEB_LIST_THUMBS=1
+ZM_WEB_MONTAGE_WIDTH=320
+ZM_WEB_MONTAGE_HEIGHT=240
+ZM_OPT_CAMBOZOLA=1
+ZM_OPT_MPEG=ffmpeg
+ZM_PATH_FFMPEG=/usr/bin/ffmpeg
+ZM_OPT_NETPBM=1
+ZM_EXTRA_DEBUG_LOG=/var/log/zm/zm_debug.log
+ZM_OPT_USE_AUTH=0
+
+sql=/tmp/$$
+echo "" >$sql
+for n in ZM_PATH_ZMS ZM_PATH_SOCKS ZM_PATH_LOGS ZM_WEB_LIST_THUMBS ZM_WEB_MONTAGE_WIDTH ZM_WEB_MONTAGE_HEIGHT ZM_OPT_CAMBOZOLA ZM_OPT_MPEG ZM_PATH_FFMPEG ZM_OPT_NETPBM ZM_EXTRA_DEBUG_LOG ZM_OPT_USE_AUTH; do
+ eval "val=\$$n"
+ echo "UPDATE Config SET Value='$val' WHERE Name='$n';" >>$sql
+done
+
+cat $sql | mysql --user=$USERNAME --password=$PASSWORD --host=$DBHOST $DBNAME
+rm -f $sql
+
+
+exit 0
diff --git a/pcr/zoneminder/httpd-zm.conf b/pcr/zoneminder/httpd-zm.conf
new file mode 100644
index 000000000..ad24cbbe4
--- /dev/null
+++ b/pcr/zoneminder/httpd-zm.conf
@@ -0,0 +1,18 @@
+# /etc/httpd/conf/extra/httpd-zm.conf
+# Config for zoneminder web app
+
+Alias /zm "/srv/zoneminder/www"
+<Directory "/srv/zoneminder/www">
+ Options -Indexes MultiViews FollowSymLinks
+ AllowOverride All
+ Order allow,deny
+ Allow from all
+</Directory>
+
+ScriptAlias /cgi-bin "/srv/zoneminder/cgi-bin"
+<Directory "/srv/zoneminder/cgi-bin">
+ AllowOverride All
+ Options ExecCGI
+ Order allow,deny
+ Allow from all
+</Directory>
diff --git a/pcr/zoneminder/patch-ffmpeg-0.11.patch b/pcr/zoneminder/patch-ffmpeg-0.11.patch
new file mode 100644
index 000000000..8356fff83
--- /dev/null
+++ b/pcr/zoneminder/patch-ffmpeg-0.11.patch
@@ -0,0 +1,60 @@
+diff --git a/src/zm_ffmpeg_camera.cpp b/src/zm_ffmpeg_camera.cpp
+index 42927f6..61df606 100644
+--- a/src/zm_ffmpeg_camera.cpp
++++ b/src/zm_ffmpeg_camera.cpp
+@@ -108,7 +108,7 @@ int FfmpegCamera::PrimeCapture()
+ Info( "Priming capture from %s", mPath.c_str() );
+
+ // Open the input, not necessarily a file
+- if ( av_open_input_file( &mFormatContext, mPath.c_str(), NULL, 0, NULL ) !=0 )
++ if ( avformat_open_input( &mFormatContext, mPath.c_str(), NULL, NULL ) !=0 )
+ Fatal( "Unable to open input %s due to: %s", mPath.c_str(), strerror(errno) );
+
+ // Locate stream info from input
+@@ -139,7 +139,7 @@ int FfmpegCamera::PrimeCapture()
+ Fatal( "Can't find codec for video stream from %s", mPath.c_str() );
+
+ // Open the codec
+- if ( avcodec_open( mCodecContext, mCodec ) < 0 )
++ if ( avcodec_open2( mCodecContext, mCodec, NULL ) < 0 )
+ Fatal( "Unable to open codec for video stream from %s", mPath.c_str() );
+
+ // Allocate space for the native video frame
+
+diff --git a/src/zm_mpeg.cpp b/src/zm_mpeg.cpp
+index f5de2a4..d614346 100644
+--- a/src/zm_mpeg.cpp
++++ b/src/zm_mpeg.cpp
+@@ -167,10 +167,12 @@ void VideoStream::SetParameters()
+ {
+ /* set the output parameters (must be done even if no
+ parameters). */
+- if ( av_set_parameters(ofc, NULL) < 0 )
++ /*
++ * Removed in last ffmpeg
++ * if ( av_set_parameters(ofc, NULL) < 0 )
+ {
+ Panic( "Invalid output format parameters" );
+- }
++ }*/
+ //dump_format(ofc, 0, filename, 1);
+ }
+
+@@ -259,7 +261,7 @@ void VideoStream::OpenStream()
+ if ( !(of->flags & AVFMT_NOFILE) )
+ {
+ #if LIBAVUTIL_VERSION_INT >= AV_VERSION_INT(51,2,1)
+- if ( avio_open(&ofc->pb, filename, URL_WRONLY) < 0 )
++ if ( avio_open(&ofc->pb, filename, AVIO_FLAG_WRITE) < 0 )
+ #else
+ if ( url_fopen(&ofc->pb, filename, URL_WRONLY) < 0 )
+ #endif
+@@ -278,7 +280,7 @@ void VideoStream::OpenStream()
+ }
+
+ /* write the stream header, if any */
+- av_write_header(ofc);
++ avformat_write_header(ofc, NULL);
+ }
+
+ VideoStream::VideoStream( const char *filename, const char *format, int bitrate, double frame_rate, int colours, int subpixelorder, int width, int height ) \ No newline at end of file
diff --git a/pcr/zoneminder/patch-libavcodec-detection.patch b/pcr/zoneminder/patch-libavcodec-detection.patch
new file mode 100644
index 000000000..0aaa9bc23
--- /dev/null
+++ b/pcr/zoneminder/patch-libavcodec-detection.patch
@@ -0,0 +1,11 @@
+--- configure.ac~ 2012-07-15 22:27:11.195257379 +0100
++++ configure.ac 2012-07-15 22:24:34.308268675 +0100
+@@ -276,7 +276,7 @@
+ AC_CHECK_LIB(avutil,av_malloc,,AC_MSG_WARN(libavutil.a may be required for MPEG streaming))
+ # Don't bother to warn about this one
+ AC_CHECK_LIB(avcore,av_image_copy,,)
+-AC_CHECK_LIB(avcodec,avcodec_init,,AC_MSG_WARN(libavcodec.a is required for MPEG streaming))
++AC_CHECK_LIB(avcodec,avcodec_open,,AC_MSG_WARN(libavcodec.a is required for MPEG streaming))
+ AC_CHECK_LIB(avformat,av_new_stream,,AC_MSG_WARN(libavformat.a is required for MPEG streaming))
+ AC_CHECK_LIB(avdevice,avdevice_register_all,,AC_MSG_WARN(libavdevice.a may be required for MPEG streaming))
+ AC_CHECK_LIB(swscale,sws_scale,,,-lswscale) \ No newline at end of file
diff --git a/pcr/zoneminder/zm.rc.d b/pcr/zoneminder/zm.rc.d
new file mode 100644
index 000000000..99a1f1f22
--- /dev/null
+++ b/pcr/zoneminder/zm.rc.d
@@ -0,0 +1,172 @@
+#!/bin/bash
+
+# Source function library.
+. /etc/rc.conf
+. /etc/rc.d/functions
+
+prog=ZoneMinder
+ZM_VERSION="1.25.0"
+ZM_PATH_BIN="/srv/zoneminder/bin"
+ZM_CONFIG="/etc/zm.conf"
+command="$ZM_PATH_BIN/zmpkg.pl"
+
+loadconf()
+{
+ if [ -f $ZM_CONFIG ]; then
+ . $ZM_CONFIG
+ else
+ echo "ERROR: $ZM_CONFIG not found.
+"
+ return 1
+ fi
+}
+
+# Check for old config and update if needed
+checkcfg()
+{
+ # Check config
+ if [ "$ZM_DB_HOST" = "" -o "$ZM_DB_NAME" = "" -o "$ZM_DB_USER" = "" -o "$ZM_DB_PASS" = "" ]; then
+ echo "In $ZM_CONFIG there should not be null values.
+"
+ return 1
+ loadconf
+ fi
+}
+
+checkdb()
+{
+ # Check database exisits and version
+ GetVer="select Value from Config where Name='ZM_DYN_DB_VERSION'"
+ OLD_VERSION=`echo $GetVer | mysql -B -h $ZM_DB_HOST -u $ZM_DB_USER -p$ZM_DB_PASS $ZM_DB_NAME | grep -v '^Value'`
+ if [ "$OLD_VERSION" = "" ]; then
+ GetVer="select Value from Config where Name='ZM_DYN_CURR_VERSION'"
+ OLD_VERSION=`echo $GetVer | mysql -B -h $ZM_DB_HOST -u $ZM_DB_USER -p$ZM_DB_PASS $ZM_DB_NAME | grep -v '^Value'`
+ if [ "$OLD_VERSION" = "" ]; then
+ echo "You must run $ZM_PATH_BIN/zminit manually
+"
+ return 1
+ fi
+ fi
+ RETVAL=$?
+
+ if [ $RETVAL != 0 ]; then
+ tbls=`mysql -h $ZM_DB_HOST -u $ZM_DB_USER -p$ZM_DB_PASS -s -e 'show tables' $ZM_DB_NAME`
+ RETVAL=$?
+ if [ $RETVAL = 0 ]; then
+ echo "Initialize $prog database:
+"
+ echo tbls | grep Config >/dev/null 2>&1
+ RETVAL=$?
+ if [ $RETVAL != 0 ]; then
+ mysql -B -h $ZM_DB_HOST -u $ZM_DB_USER -p$ZM_DB_PASS $ZM_DB_NAME < $ZM_PATH_UPDATE/zm_create.sql
+ RETVAL=$?
+ [ $RETVAL = 0 ] && stat_done
+ [ $RETVAL != 0 ] && stat_fail
+ echo
+ return $RETVAL
+ fi
+ ( cd $ZM_PATH_UPDATE; perl $ZM_PATH_BIN/zmupdate.pl -f )
+ RETVAL=$?
+ [ $RETVAL = 0 ] && stat_done
+ [ $RETVAL != 0 ] && stat_fail
+ echo
+ return $RETVAL
+ else
+ echo "No access to ZoneMinder database.
+Run $ZM_PATH_BIN/zminit manually.
+"
+ return $RETVAL
+ fi
+ else
+ [ "$ZM_VERSION" = "$OLD_VERSION" ] && return 0
+ echo "Upgrade %s database: " "$prog"
+ $ZM_PATH_BIN/zmupdate.pl --version=$OLD_VERSION --noi && ( cd $ZM_PATH_UPDATE; perl $ZM_PATH_BIN/zmupdate.pl -f )
+ RETVAL=$?
+ [ $RETVAL = 0 ] && stat_done
+ [ $RETVAL != 0 ] && stat_fail
+ echo
+ return $RETVAL
+ fi
+}
+
+start()
+{
+ loadconf || return $?
+ checkcfg || return $?
+ checkdb || return $?
+ stat_busy "Starting $prog"
+ [ -d /var/run/zm ] || mkdir -m 774 /var/run/zm
+ chown -R $ZM_WEB_USER:$ZM_WEB_GROUP /var/run/zm
+ GetPath="select Value from Config where Name='ZM_PATH_SOCKS'"
+ ZM_PATH_SOCK=`echo $GetPath | mysql -B -h $ZM_DB_HOST -u $ZM_DB_USER -p$ZM_DB_PASS $ZM_DB_NAME | grep -v '^Value'`
+ [ -d $ZM_PATH_SOCK ] || mkdir -m 774 -p $ZM_PATH_SOCK
+ sudo -u $ZM_WEB_USER test -O $ZM_PATH_SOCK \
+ || chown -R $ZM_WEB_USER:$ZM_WEB_GROUP $ZM_PATH_SOCK
+ # Setup the log dir
+ [ -d /var/log/zm ] || mkdir /var/log/zm
+ for logs in zmaudit.log zmdc.log zmfilter.log zmpkg.log zmupdate.log zmwatch.log; do
+ touch /var/log/zm/$logs
+ done
+ chown -R $ZM_WEB_USER:$ZM_WEB_GROUP /var/log/zm
+ $command start
+ RETVAL=$?
+ [ $RETVAL = 0 ] && stat_done && add_daemon zm
+ [ $RETVAL != 0 ] && stat_fail
+ #[ $RETVAL = 0 ] && touch /var/lock/subsys/zm
+ return $RETVAL
+}
+
+stop()
+{
+ stat_busy "Stopping $prog"
+ $command stop
+ RETVAL=$?
+ [ $RETVAL = 0 ] && stat_done && rm_daemon zm
+ [ $RETVAL != 0 ] && stat_fail
+ #[ $RETVAL = 0 ] && rm -f /var/lock/subsys/zm
+}
+
+status()
+{
+ result=`$command status`
+ if [ "$result" = "running" ]; then
+ echo "ZoneMinder is running
+"
+ RETVAL=0
+ else
+ echo "ZoneMinder is stopped
+"
+ RETVAL=1
+ fi
+}
+
+case "$1" in
+ 'start')
+ start
+ ;;
+ 'stop')
+ stop
+ ;;
+ 'restart')
+ stop
+ start
+ ;;
+ 'condrestart')
+ loadconf
+ checkcfg
+ result=`$ZM_PATH_BIN/zmdc.pl check`
+ if [ "$result" = "running" ]; then
+ $ZM_PATH_BIN/zmdc.pl shutdown > /dev/null
+ start
+ fi
+ ;;
+ 'status')
+ status
+ ;;
+ *)
+ echo "Usage: zm { start | stop | restart | condrestart | status }
+"
+ RETVAL=1
+ ;;
+esac
+exit $RETVAL
diff --git a/pcr/zoneminder/zm.service b/pcr/zoneminder/zm.service
new file mode 100644
index 000000000..ccf1f3334
--- /dev/null
+++ b/pcr/zoneminder/zm.service
@@ -0,0 +1,9 @@
+[Unit]
+Description=Capture, analyse, record and monitor video security cameras
+
+[Service]
+Type=forking
+ExecStart=/usr/sbin/zm
+
+[Install]
+WantedBy=multi-user.target
diff --git a/pcr/zoneminder/zmeventbackup b/pcr/zoneminder/zmeventbackup
new file mode 100755
index 000000000..a14ee22a1
--- /dev/null
+++ b/pcr/zoneminder/zmeventbackup
@@ -0,0 +1,48 @@
+#!/bin/bash
+#===============================================================================
+#
+# FILE: eventdump.sh
+#
+# USAGE: ./eventdump.sh
+#
+# DESCRIPTION: Uses mysqldump to create a .sql file for individual zm
+# events to make Event table recovery possible by doing a
+# 'find' search in ZoneMinder the events directory
+#
+# OPTIONS: ---
+# REQUIREMENTS: --- mysqldump
+# BUGS: ---
+# NOTES: ---
+# AUTHOR: Ross Melin <rdmelin@gmail.com>
+# COMPANY:
+# VERSION: 1.0
+# CREATED: 03/06/2008 11:51:19 AM PST
+# REVISION: ---
+#===============================================================================
+
+# Edit these to suit your configuration
+ZM_CONFIG=/etc/zm.conf
+MYSQLDUMP=/usr/bin/mysqldump
+EVENTSDIR=/srv/zoneminder/www/events
+
+# The rest should not need editing
+
+# Get the mysql user and password
+source $ZM_CONFIG
+MYDUMPOPTS="--user=$ZM_DB_USER --password=$ZM_DB_PASS --skip-opt --compact --quick --no-create-info"
+
+
+for tag in $(find $EVENTSDIR -amin -65 -name ".[0-9]*")
+ do
+ EVENT_PATH=$(echo $tag |cut -f 1 -d .)
+ EVENT_ID=$(echo $tag |cut -f 2 -d .)
+ # Dump the sql statements needed to reload the Events, Frames and Stats tables
+
+ echo "-- ZM_DB_VERSION=$ZM_VERSION
+" > $EVENT_PATH.sql
+
+ $MYSQLDUMP $MYDUMPOPTS --where="Id=$EVENT_ID" zm Events >> $EVENT_PATH.sql
+ $MYSQLDUMP $MYDUMPOPTS --where="Eventid=$EVENT_ID" zm Frames >> $EVENT_PATH.sql
+ $MYSQLDUMP $MYDUMPOPTS --where="Eventid=$EVENT_ID" zm Stats >> $EVENT_PATH.sql
+
+done
diff --git a/pcr/zoneminder/zminit.arch b/pcr/zoneminder/zminit.arch
new file mode 100644
index 000000000..01b6658a7
--- /dev/null
+++ b/pcr/zoneminder/zminit.arch
@@ -0,0 +1,143 @@
+#!/bin/sh
+
+
+ZM_CONFIG=/etc/zm.conf
+
+
+
+loadcfg() {
+ if [ -f $ZM_CONFIG ]; then
+ . $ZM_CONFIG
+ else
+ echo "ERROR: $ZM_CONFIG not found."
+ exit 1
+ fi
+ }
+chkmysql(){
+ #FIXME
+ /etc/rc.d/mysqld restart || (echo "mysql is not availible" && exit 1 )
+ }
+
+getmylogin(){
+ echo "Enter MySQL Administrator username"
+ echo "(Default: root and password is blank)"
+ echo -n "MySQL Admin: "
+ read MYADMIN
+ echo -n "Password: "
+ read MYPASS
+ if [ "X$MYPASS" != "X" ]; then MYPASS="-p$MYPASS"; fi
+ echo "\q" |mysql -u $MYADMIN $MYPASS || exit 0
+
+ }
+
+checkdb()
+{
+ # Check database exisits and version
+ exists=$(echo "show databases" |mysql -u $MYADMIN "$MYPASS" |grep zm)
+ if [ "$exists" = "zm" ]; then
+ OLD_VERSION=$(echo "select Value from Config where Name = 'ZM_DYN_DB_VERSION';" | mysql -u $MYADMIN $MYPASS zm |grep -v '^Value')
+
+ case $OLD_VERSION in
+ "")
+ echo "A zm database exists, but the version is unknown"
+ echo "Updating is unlikely to succeed"
+ ;;
+ "$ZM_VERSION")
+ echo "The zm database appears to be up to date"
+ echo "If this is incorrect, edit $ZM_CONFIG to reflect the current version"
+ ;;
+ *)
+ echo "A database fron zm-$OLD_VERSION exists already"
+ ;;
+ esac
+
+ while [ true ]
+ do
+ echo "Choose one of the following options:"
+ echo "[U]pdate the database"
+ echo "[D]rop the old database and reinitialize"
+ echo "[E]xit and do nothing"
+ read OPTION
+ case $OPTION in
+ "U"|"u")
+ /etc/rc.d/zm restart
+ exit 0
+ ;;
+ "D"|"d")
+ echo "drop database zm;"|mysql -u $MYADMIN $MYPASS
+ return
+ ;;
+ "E"|"e")
+ exit 0
+ ;;
+ esac
+ done
+ fi
+}
+
+checkcfg(){
+for n in ZM_DB_HOST ZM_DB_NAME ZM_DB_USER ZM_DB_PASS; do
+ eval "val=\$$n"
+ if [ "$val" = "" ]; then
+ echo "ERROR($ZM_CONFIG): $n should not be empty."
+ echo "Enter a $n for ZM to use the Database."
+ if [ "$n" = "ZM_DB_PASS" ]; then
+ echo -n "Will not echo on screen $n : "
+ stty -echo # Turns off screen echo.
+ read newval
+ stty echo # Restores screen echo.
+ echo ""
+ ### The following can be used to generate a random password
+ # randstr newval 16
+ else
+ echo -n "$n : "
+ read newval
+ fi
+ cp $ZM_CONFIG /tmp/$$ &&
+ sed 's/^'$n='.*$/'$n=$newval'/g' /tmp/$$ >$ZM_CONFIG
+
+ fi
+done
+
+if [ "$ZM_DB_HOST" = "localhost" ]; then
+ ClientHost=localhost
+else
+ ClientHost=`hostname`
+fi
+}
+
+reloadcfg(){
+loadcfg
+}
+
+initdb(){
+sql=/tmp/zm.crdb.sql
+echo "" >$sql
+chmod 600 $sql
+
+echo "CREATE DATABASE $ZM_DB_NAME;" >>$sql
+echo "USE $ZM_DB_NAME;" >>$sql
+
+echo "GRANT all on $ZM_DB_NAME.* TO '$ZM_DB_USER'@'$ClientHost' IDENTIFIED BY '$ZM_DB_PASS';" >>$sql
+
+cat $sql | mysql -B -h $ZM_DB_HOST -u $MYADMIN $MYPASS
+rm -f $sql
+
+cat $ZM_PATH_UPDATE/zm_create.sql | mysql -h $ZM_DB_HOST -u $ZM_DB_USER -p$ZM_DB_PASS $ZM_DB_NAME
+( cd $ZM_PATH_UPDATE; perl $ZM_PATH_BIN/zmupdate.pl -f )
+
+ $ZM_PATH_UPDATE/customdb $ZM_DB_HOST $ZM_DB_NAME $ZM_DB_USER $ZM_DB_PASS
+}
+
+
+
+loadcfg
+getmylogin
+checkdb
+checkcfg
+reloadcfg
+initdb
+
+
+
+
diff --git a/pcr/zoneminder/zoneminder-1.25.0-kernel35.patch b/pcr/zoneminder/zoneminder-1.25.0-kernel35.patch
new file mode 100644
index 000000000..51bc1288d
--- /dev/null
+++ b/pcr/zoneminder/zoneminder-1.25.0-kernel35.patch
@@ -0,0 +1,21 @@
+diff -up ./src/zm_local_camera.cpp.kernel35 ./src/zm_local_camera.cpp
+--- ./src/zm_local_camera.cpp.kernel35 2012-07-16 15:01:22.182614878 -0500
++++ ./src/zm_local_camera.cpp 2012-07-16 15:02:16.491941730 -0500
+@@ -740,7 +740,7 @@ void LocalCamera::Terminate()
+ {
+ Debug( 3, "Terminating video stream" );
+ //enum v4l2_buf_type type = V4L2_BUF_TYPE_VIDEO_CAPTURE;
+- enum v4l2_buf_type type = v4l2_data.fmt.type;
++ enum v4l2_buf_type type = (v4l2_buf_type)v4l2_data.fmt.type;
+ if ( vidioctl( vid_fd, VIDIOC_STREAMOFF, &type ) < 0 )
+ Error( "Failed to stop capture stream: %s", strerror(errno) );
+
+@@ -1520,7 +1520,7 @@ int LocalCamera::PrimeCapture()
+
+ Debug( 3, "Starting video stream" );
+ //enum v4l2_buf_type type = V4L2_BUF_TYPE_VIDEO_CAPTURE;
+- enum v4l2_buf_type type = v4l2_data.fmt.type;
++ enum v4l2_buf_type type = (v4l2_buf_type)v4l2_data.fmt.type;
+ if ( vidioctl( vid_fd, VIDIOC_STREAMON, &type ) < 0 )
+ Fatal( "Failed to start capture stream: %s", strerror(errno) );
+ }
diff --git a/pcr/zoneminder/zoneminder.install b/pcr/zoneminder/zoneminder.install
new file mode 100644
index 000000000..be449a5ca
--- /dev/null
+++ b/pcr/zoneminder/zoneminder.install
@@ -0,0 +1,57 @@
+# zoneminder.install
+
+## arg 1: the new package version
+post_install() {
+ ln -s /usr/share/cambozola/cambozola.jar /srv/zoneminder/www/
+ chown -R http.http /srv/zoneminder
+ chown http.http /etc/zm.conf
+ mkdir /srv/zoneminder/backup
+ mkdir /srv/zoneminder/socks
+ cat << EOF
+Note:
+==> To initialize the ZoneMinder database run (as root)
+==> /srv/zoneminder/bin/zminit
+EOF
+
+ cat << EOF
+==> Check /etc/php/php.ini and make sure these are uncommented
+==> extension=gd.so
+==> extension=gettext.so
+==> extension=mcrypt.so
+==> extension=mysql.so
+==> extension=mysqli.so
+==> extension=session.so
+==> extension=sockets.so
+EOF
+ cat << EOF
+==> Check /etc/php/php.ini and make sure short_open_tag = On
+EOF
+
+
+ cat /etc/php/php.ini |grep "^open_basedir.*/etc/" | \
+grep "/srv/zoneminder/www">/dev/null || cat << EOF
+==> You must edit /etc/php/php.ini and add to open_basedir "/etc/" and
+==> "/srv/zoneminder/" like so
+==> open_basedir = /home/:/tmp/:/usr/share/pear/:/etc/:/srv/zoneminder/
+==> Otherwise ZoneMinder will be unable to read /etc/zm.conf
+==> or display its own web directory
+EOF
+
+ cat << EOF
+Note:
+==> You must edit /etc/httpd/conf/httpd.conf and uncomment/add the line
+==> LoadModule php5_module modules/libphp5.so
+==> You must also add these lines:
+==> Include conf/extra/php5_module.conf
+==> Include /etc/httpd/conf/extra/httpd-zm.conf
+EOF
+ touch /srv/zoneminder/zm_backup.sql
+}
+
+
+## arg 1: the new package version
+## arg 2: the old package version
+post_upgrade() {
+ /srv/zoneminder/bin/zmupdate.pl -f >/dev/null
+}
+# vim:set ts=2 sw=2 et:
diff --git a/testing/fluidsynth/PKGBUILD b/testing/fluidsynth/PKGBUILD
new file mode 100644
index 000000000..30569612a
--- /dev/null
+++ b/testing/fluidsynth/PKGBUILD
@@ -0,0 +1,51 @@
+# $Id: PKGBUILD 166535 2012-09-09 20:43:05Z schiv $
+# Maintainer: Ray Rashif <schiv@archlinux.org>
+# Contributor: damir <damir@archlinux.org>
+
+pkgname=fluidsynth
+pkgver=1.1.6
+pkgrel=1
+pkgdesc="A real-time software synthesizer based on the SoundFont 2 specifications"
+arch=('i686' 'x86_64')
+url="http://www.fluidsynth.org/"
+depends=('glib2' 'jack' 'dbus-core' 'libpulse')
+makedepends=('cmake' 'ladspa' 'doxygen')
+optdepends=('pulseaudio: PulseAudio sound support')
+license=('LGPL')
+backup=('etc/conf.d/fluidsynth')
+install=$pkgname.install
+source=("http://downloads.sourceforge.net/$pkgname/$pkgname-$pkgver.tar.gz"
+ 'fluidsynth.conf'
+ 'fluidsynth.rc'
+ 'fluidsynth.systemd')
+md5sums=('ae5aca6de824b4173667cbd3a310b263'
+ '7d0ab0d75d4e87652f4cb7ffeac8a82b'
+ 'b296dbfb524c2164f552f68bd9abe2ec'
+ 'e0406748a154409907df62292be32e8a')
+
+build() {
+ cd "$srcdir/$pkgname-$pkgver"
+
+ cmake . -DCMAKE_INSTALL_PREFIX=/usr \
+ -DCMAKE_BUILD_TYPE=Release \
+ -Denable-ladspa=ON \
+ -DLIB_SUFFIX=""
+ make
+}
+
+package() {
+ cd "$srcdir/$pkgname-$pkgver"
+
+ make DESTDIR="$pkgdir/" install
+
+ install -Dm644 "$srcdir/fluidsynth.conf" \
+ "$pkgdir/etc/conf.d/fluidsynth"
+
+ install -Dm755 "$srcdir/fluidsynth.rc" \
+ "$pkgdir/etc/rc.d/fluidsynth"
+
+ install -Dm644 "$srcdir/fluidsynth.systemd" \
+ "$pkgdir/usr/lib/systemd/system/fluidsynth.service"
+}
+
+# vim:set ts=2 sw=2 et:
diff --git a/testing/fluidsynth/fluidsynth.conf b/testing/fluidsynth/fluidsynth.conf
new file mode 100644
index 000000000..b8465fa2e
--- /dev/null
+++ b/testing/fluidsynth/fluidsynth.conf
@@ -0,0 +1,2 @@
+FSYNTH_OPTS="-a alsa -m alsa_seq -r 48000"
+FSYNTH_SOUNDFONT="" # path to your soundfont
diff --git a/testing/fluidsynth/fluidsynth.install b/testing/fluidsynth/fluidsynth.install
new file mode 100644
index 000000000..86e05f892
--- /dev/null
+++ b/testing/fluidsynth/fluidsynth.install
@@ -0,0 +1,19 @@
+post_install() {
+ echo
+ echo " > To use FluidSynth as a daemon edit /etc/conf.d/fluidsynth"
+ echo
+ echo " > Systemd users need to copy the service file from:"
+ echo " /usr/lib/systemd/system/fluidsynth.service"
+ echo " > to:"
+ echo " /etc/systemd/system/multi-user.target.wants/"
+ echo " > and then edit accordingly."
+ echo
+ echo " > PulseAudio output when running as a daemon"
+ echo " > is known to be problematic. See:"
+ echo " https://bbs.archlinux.org/viewtopic.php?id=135092"
+ echo
+}
+
+post_upgrade() {
+ post_install
+}
diff --git a/testing/fluidsynth/fluidsynth.rc b/testing/fluidsynth/fluidsynth.rc
new file mode 100644
index 000000000..ca1e8fa6e
--- /dev/null
+++ b/testing/fluidsynth/fluidsynth.rc
@@ -0,0 +1,40 @@
+#!/bin/bash
+
+. /etc/rc.conf
+. /etc/rc.d/functions
+
+[ -f /etc/conf.d/fluidsynth ] && . /etc/conf.d/fluidsynth
+
+PID=`pidof -o %PPID /usr/bin/fluidsynth`
+case "$1" in
+ start)
+ stat_busy "Starting Fluidsynth soundfont synthesizer"
+ [ -z "$PID" ] && /usr/bin/fluidsynth -is $FSYNTH_OPTS $FSYNTH_SOUNDFONT > /dev/null 2>&1 &
+ if [ $? -gt 0 ]; then
+ stat_fail
+ else
+ echo $PID > /var/run/fluidsynth.pid
+ add_daemon fluidsynth
+ stat_done
+ fi
+ ;;
+ stop)
+ stat_busy "Stopping Fluidsynth soundfont synthesizer"
+ [ ! -z "$PID" ] && kill $PID &> /dev/null 2>&1
+ if [ $? -gt 0 ]; then
+ stat_fail
+ else
+ rm /var/run/fluidsynth.pid
+ rm_daemon fluidsynth
+ stat_done
+ fi
+ ;;
+ restart)
+ $0 stop
+ sleep 1
+ $0 start
+ ;;
+ *)
+ echo "usage: $0 {start|stop|restart}"
+esac
+exit 0
diff --git a/testing/fluidsynth/fluidsynth.systemd b/testing/fluidsynth/fluidsynth.systemd
new file mode 100644
index 000000000..06784fe05
--- /dev/null
+++ b/testing/fluidsynth/fluidsynth.systemd
@@ -0,0 +1,9 @@
+[Unit]
+Description=FluidSynth Daemon
+After=sound.target
+
+[Service]
+ExecStart=/usr/bin/fluidsynth -is -a alsa -m alsa_seq -r 48000 # append soundfont path here
+
+[Install]
+WantedBy=multi-user.target
diff --git a/testing/kdevelop-php/PKGBUILD b/testing/kdevelop-php/PKGBUILD
new file mode 100644
index 000000000..11d184b2a
--- /dev/null
+++ b/testing/kdevelop-php/PKGBUILD
@@ -0,0 +1,46 @@
+# $Id: PKGBUILD 166545 2012-09-10 13:09:01Z andrea $
+# Maintainer: Andrea Scarpino <andrea@archlinux.org>
+
+pkgname=kdevelop-php
+pkgver=1.3.90
+_pkgver=4.3.90
+pkgrel=1
+pkgdesc="PHP language and documentation plugin for KDevelop/Quanta"
+arch=('i686' 'x86_64')
+url="http://www.kdevelop.org/"
+license=('GPL')
+depends=('kdevelop-pg-qt')
+makedepends=('cmake' 'automoc4')
+replaces=('kdevelop-php-docs')
+conflicts=('kdevelop-php-docs')
+source=(http://download.kde.org/unstable/kdevelop/${_pkgver}/src/${pkgname}-{,docs-}${pkgver}.tar.bz2)
+sha1sums=('11f9b3d2d27ad93aa666edae60d08f64ea82bb8d'
+ 'f11194f5672d78406b6c54d53b10c02384e5bf99')
+
+build() {
+ cd "${srcdir}"
+ mkdir build
+ cd build
+ cmake ../${pkgname}-${pkgver} \
+ -DCMAKE_INSTALL_PREFIX=/usr \
+ -DCMAKE_BUILD_TYPE=Release
+ make
+
+ # kdevelop-php-docs
+ cd "${srcdir}"
+ mkdir build-docs
+ cd build-docs
+ cmake ../${pkgname}-docs-${pkgver} \
+ -DCMAKE_INSTALL_PREFIX=/usr \
+ -DCMAKE_BUILD_TYPE=Release
+ make
+}
+
+package() {
+ cd "${srcdir}/build"
+ make DESTDIR="${pkgdir}" install
+
+ # kdevelop-php-docs
+ cd "${srcdir}"/build-docs
+ make DESTDIR="${pkgdir}" install
+}
diff --git a/testing/kdevelop/PKGBUILD b/testing/kdevelop/PKGBUILD
new file mode 100644
index 000000000..22df44824
--- /dev/null
+++ b/testing/kdevelop/PKGBUILD
@@ -0,0 +1,31 @@
+# $Id: PKGBUILD 166547 2012-09-10 13:10:09Z andrea $
+# Maintainer: Andrea Scarpino <andrea@archlinux.org>
+# Contributor: Giovanni Scafora <giovanni@archlinux.org>
+
+pkgname=kdevelop
+pkgver=4.3.90
+pkgrel=1
+pkgdesc="A C/C++ development environment for KDE"
+arch=('i686' 'x86_64')
+url="http://www.kdevelop.org/"
+license=('GPL')
+depends=('kdebase-workspace' 'kdevplatform' 'kdesdk-okteta' 'kdebase-katepart')
+makedepends=('cmake' 'automoc4')
+install="${pkgname}.install"
+source=("http://download.kde.org/unstable/${pkgname}/${pkgver}/src/${pkgname}-${pkgver}.tar.bz2")
+sha1sums=('18ed2dccdeef8abe41c135cd3038038790b4e50a')
+
+build() {
+ cd "${srcdir}"
+ mkdir build
+ cd build
+ cmake ../${pkgname}-${pkgver} \
+ -DCMAKE_INSTALL_PREFIX=/usr \
+ -DCMAKE_BUILD_TYPE=Release
+ make
+}
+
+package() {
+ cd "${srcdir}"/build
+ make DESTDIR="${pkgdir}" install
+}
diff --git a/testing/kdevelop/kdevelop.install b/testing/kdevelop/kdevelop.install
new file mode 100644
index 000000000..5c1338e67
--- /dev/null
+++ b/testing/kdevelop/kdevelop.install
@@ -0,0 +1,13 @@
+post_install() {
+ xdg-icon-resource forceupdate --theme hicolor &> /dev/null
+ update-mime-database usr/share/mime &> /dev/null
+ update-desktop-database -q
+}
+
+post_upgrade() {
+ post_install
+}
+
+post_remove() {
+ post_install
+}
diff --git a/testing/kdevplatform/PKGBUILD b/testing/kdevplatform/PKGBUILD
new file mode 100644
index 000000000..5f8c52bff
--- /dev/null
+++ b/testing/kdevplatform/PKGBUILD
@@ -0,0 +1,33 @@
+# $Id: PKGBUILD 166549 2012-09-10 13:31:25Z andrea $
+# Maintainer: Andrea Scarpino <andrea@archlinux.org>
+# Contributor: Giovanni Scafora <giovanni@archlinux.org>
+
+pkgname=kdevplatform
+pkgver=1.3.90
+_pkgver=4.3.90
+pkgrel=1
+pkgdesc="A C/C++ development platform for KDE"
+arch=('i686' 'x86_64')
+url="http://www.kdevelop.org/"
+license=('GPL')
+depends=('kdelibs' 'subversion' 'qjson')
+optdepends=("kdesdk-kompare: difference checking")
+makedepends=('cmake' 'automoc4' 'boost')
+install=${pkgname}.install
+source=("http://download.kde.org/unstable/kdevelop/${_pkgver}/src/${pkgname}-${pkgver}.tar.bz2")
+sha1sums=('88300217681caa5c69f09b6428f2a6298cbd4733')
+
+build() {
+ cd "${srcdir}"
+ mkdir build
+ cd build
+ cmake ../${pkgname}-${pkgver} \
+ -DCMAKE_INSTALL_PREFIX=/usr \
+ -DCMAKE_BUILD_TYPE=Release
+ make
+}
+
+package() {
+ cd "${srcdir}"/build
+ make DESTDIR="${pkgdir}" install
+}
diff --git a/testing/kdevplatform/kdevplatform.install b/testing/kdevplatform/kdevplatform.install
new file mode 100644
index 000000000..e70c054ec
--- /dev/null
+++ b/testing/kdevplatform/kdevplatform.install
@@ -0,0 +1,11 @@
+post_install() {
+ xdg-icon-resource forceupdate --theme hicolor &> /dev/null
+}
+
+post_upgrade() {
+ post_install
+}
+
+post_remove() {
+ post_install
+}
diff --git a/testing/util-linux/pam-su b/testing/util-linux/pam-su
deleted file mode 100644
index cf15f40f1..000000000
--- a/testing/util-linux/pam-su
+++ /dev/null
@@ -1,9 +0,0 @@
-#%PAM-1.0
-auth sufficient pam_rootok.so
-# Uncomment the following line to implicitly trust users in the "wheel" group.
-#auth sufficient pam_wheel.so trust use_uid
-# Uncomment the following line to require a user to be in the "wheel" group.
-#auth required pam_wheel.so use_uid
-auth required pam_unix.so
-account required pam_unix.so
-session required pam_unix.so
diff --git a/testing/util-linux/su.1 b/testing/util-linux/su.1
deleted file mode 100644
index 59e17314d..000000000
--- a/testing/util-linux/su.1
+++ /dev/null
@@ -1,230 +0,0 @@
-.TH SU "1" "June 2012" "util-linux" "User Commands"
-.SH NAME
-su \- run a command with substitute user and group ID
-.SH SYNOPSIS
-.B su
-[options...] [\-] [user [args...]]
-.SH DESCRIPTION
-.B su
-allows to run commands with substitute user and group ID.
-.PP
-When called without arguments
-.B su
-defaults to running an interactive shell as
-.IR root .
-.PP
-For backward compatibility
-.B su
-defaults to not change the current directory and to only set the
-environment variables
-.B HOME
-and
-.B SHELL
-(plus
-.B USER
-and
-.B LOGNAME
-if the target
-.I user
-is not root). It is recommended to always use the
-.B \-\-login
-option (instead it's shortcut
-.BR \- )
-to avoid side effects caused by mixing environments.
-.PP
-This version of
-.B su
-uses PAM for authentication, account and session management. Some
-configuration options found in other
-.B su
-implementations such as e.g. support of a wheel group have to be
-configured via PAM.
-.SH OPTIONS
-.TP
-\fB\-c\fR \fIcommand\fR, \fB\-\-command\fR=\fIcommand\fR
-Pass
-.I command
-to the shell with the
-.B \-c
-option.
-.TP
-\fB\-\-session\-command\fR=\fIcommand\fR
-Same as
-.B \-c
-but do not create a new session (discouraged).
-.TP
-\fB\-f\fR, \fB\-\-fast\fR
-Pass
-.B \-f
-to the shell which may or may not be useful depending on the
-shell.
-.TP
-\fB\-g\fR, \fB\-\-group\fR=\fIgroup\fR\fR
-specify the primary group, this option is allowed for root user only
-.TP
-\fB\-G\fR, \fB\-\-supp-group\fR=\fIgroup\fR\fR
-specify a supplemental group, this option is allowed for root user only
-.TP
-\fB\-\fR, \fB\-l\fR, \fB\-\-login\fR
-Starts the shell as login shell with an environment similar to a real
-login:
-.RS 10
-.TP
-o
-clears all environment variables except for
-.B TERM
-.TP
-o
-initializes the environment variables
-.BR HOME ,
-.BR SHELL ,
-.BR USER ,
-.BR LOGNAME ,
-.B PATH
-.TP
-o
-changes to the target user's home directory
-.TP
-o
-sets argv[0] of the shell to
-.RB ' \- '
-in order to make the shell a login shell
-.RE
-.TP
-\fB\-m\fR, \fB\-p\fR, \fB\-\-preserve-environment\fR
-Preserves the whole environment, ie does not set
-.BR HOME ,
-.BR SHELL ,
-.B USER
-nor
-.BR LOGNAME .
-.TP
-\fB\-s\fR \fISHELL\fR, \fB\-\-shell\fR=\fISHELL\fR
-Runs the specified shell instead of the default. The shell to run is
-selected according to the following rules in order:
-.RS 10
-.TP
-o
-the shell specified with
-.B \-\-shell
-.TP
-o
-The shell specified in the environment variable
-.B SHELL
-if the
-.B \-\-preserve-environment
-option is used.
-.TP
-o
-the shell listed in the passwd entry of the target user
-.TP
-o
-/bin/sh
-.RE
-.IP
-If the target user has a restricted shell (i.e. not listed in
-/etc/shells) the
-.B \-\-shell
-option and the
-.B SHELL
-environment variables are ignored unless the calling user is root.
-.TP
-\fB\-\-help\fR
-Display help text and exit.
-.TP
-\fB\-\-version\fR
-Display version information and exit.
-.SH CONFIG FILES
-.B su
-reads the
-.I /etc/default/su
-and
-.I /etc/login.defs
-configuration files. The following configuration items are relevant
-for
-.BR su (1):
-.PP
-.B FAIL_DELAY
-(number)
-.RS 4
-Delay in seconds in case of authentication failure. Number must be
-a non-negative integer.
-.RE
-.PP
-.B ENV_PATH
-(string)
-.RS 4
-Defines the PATH environment variable for a regular user. The
-default value is
-.IR /usr/local/bin:\:/bin:\:/usr/bin .
-.RE
-.PP
-.B ENV_ROOTPATH
-(string)
-.br
-.B ENV_SUPATH
-(string)
-.RS 4
-Defines the PATH environment variable for root. The default value is
-.IR /usr/local/sbin:\:/usr/local/bin:\:/sbin:\:/bin:\:/usr/sbin:\:/usr/bin .
-.RE
-.PP
-.B ALWAYS_SET_PATH
-(boolean)
-.RS 4
-If set to
-.I yes
-and \-\-login and \-\-preserve\-environment were not specified
-.B su
-initializes
-.BR PATH .
-.RE
-.SH EXIT STATUS
-.B su
-normally returns the exit status of the command it executed. If the
-command was killed by a signal,
-.B su
-returns the number of the signal plus 128.
-.PP
-Exit status generated by
-.B su
-itself:
-.RS 10
-.TP
-1
-Generic error before executing the requested command
-.TP
-126
-The requested command could not be executed
-.TP
-127
-The requested command could was not found
-.RE
-.SH FILES
-.PD 0
-.TP 17
-/etc/pam.d/su
-default PAM configuration file
-.TP
-/etc/pam.d/su-l
-PAM configuration file if \-\-login is specified
-.TP
-/etc/default/su
-command specific logindef config file
-.TP
-/etc/login.defs
-global logindef config file
-.PD 1
-.SH "SEE ALSO"
-.BR pam (8),
-.BR shells (5),
-.BR login.defs (5)
-.SH AUTHOR
-Derived from coreutils' su which was based on an implementation from
-David MacKenzie.
-.SH AVAILABILITY
-The su command is part of the util-linux package and is
-available from
-.UR ftp://\:ftp.kernel.org\:/pub\:/linux\:/utils\:/util-linux/
-Linux Kernel Archive
-.UE .
diff --git a/testing/util-linux/uuidd.tmpfiles b/testing/util-linux/uuidd.tmpfiles
deleted file mode 100644
index b059cfe65..000000000
--- a/testing/util-linux/uuidd.tmpfiles
+++ /dev/null
@@ -1 +0,0 @@
-d /run/uuidd 0755 uuidd uuidd