summaryrefslogtreecommitdiff
path: root/community
diff options
context:
space:
mode:
Diffstat (limited to 'community')
-rw-r--r--community/bird/PKGBUILD6
-rw-r--r--community/calibre/PKGBUILD6
-rw-r--r--community/chromaprint/PKGBUILD26
-rw-r--r--community/dos2unix/PKGBUILD27
-rw-r--r--community/duplicity/PKGBUILD13
-rw-r--r--community/duplicity/duplicity-0.6.17-fix-memleak.patch29
-rw-r--r--community/freemat/PKGBUILD51
-rw-r--r--community/freemat/build-fix.patch11
-rw-r--r--community/freemat/freemat.install4
-rw-r--r--community/haveged/PKGBUILD31
-rw-r--r--community/haveged/haveged44
-rw-r--r--community/i7z/PKGBUILD32
-rw-r--r--community/libbsd/LICENSE28
-rw-r--r--community/libbsd/PKGBUILD30
-rw-r--r--community/libfaketime/PKGBUILD16
-rw-r--r--community/libfaketime/libfaketime-0.9.1-fix-README-NEWS.patch29
-rw-r--r--community/libfaketime/libfaketime-0.9.1-fix-as-needed.patch39
-rw-r--r--community/libircclient/PKGBUILD45
-rw-r--r--community/libvisual-projectm/PKGBUILD38
-rw-r--r--community/libvisual-projectm/libvisual-projectm-gcc-4.6.patch11
-rw-r--r--community/nodejs/PKGBUILD10
-rw-r--r--community/opensc/PKGBUILD42
-rw-r--r--community/packagekit/PKGBUILD43
-rw-r--r--community/packagekit/alpm.patch230
-rw-r--r--community/par2cmdline/PKGBUILD34
-rw-r--r--community/picard/PKGBUILD7
-rw-r--r--community/pidgin-gfire/PKGBUILD27
-rw-r--r--community/pidgin-gfire/gfire-libnotify.patch21
-rw-r--r--community/python-memcached/PKGBUILD12
-rw-r--r--community/python-mpi4py/PKGBUILD8
-rw-r--r--community/roxterm/PKGBUILD8
-rw-r--r--community/snort/PKGBUILD8
-rw-r--r--community/tinyproxy/PKGBUILD7
-rwxr-xr-xcommunity/tinyproxy/tinyproxy6
-rw-r--r--community/tinyproxy/tinyproxy.install9
35 files changed, 832 insertions, 156 deletions
diff --git a/community/bird/PKGBUILD b/community/bird/PKGBUILD
index 38d4c5bb3..07961fe67 100644
--- a/community/bird/PKGBUILD
+++ b/community/bird/PKGBUILD
@@ -1,9 +1,9 @@
# $Id$
-# Maintainer: Sebastien Luttringer <seblu+arch@seblu.net>
+# Maintainer: Sébastien Luttringer <seblu@aur.archlinux.org>
pkgbase=bird
pkgname=('bird' 'bird6')
-pkgver=1.3.5
+pkgver=1.3.6
pkgrel=1
arch=('i686' 'x86_64' 'mips64el')
url='http://bird.network.cz/'
@@ -14,7 +14,7 @@ source=("ftp://bird.network.cz/pub/bird/${pkgname}-${pkgver}.tar.gz"
'bird.conf'
'bird.service'
'bird6.service')
-md5sums=('9efc2b1c05fa6298a8df60f5147ad5c1'
+md5sums=('fa5621a41dcd86b6cb8cbe4fbd74af7e'
'1a4b98756d64f52333a83eff2e95d233'
'25241a4d7ef639506e0080431b2c1690'
'e82a0519dca0b289685fda44787f5911'
diff --git a/community/calibre/PKGBUILD b/community/calibre/PKGBUILD
index 42a52f376..ac163851d 100644
--- a/community/calibre/PKGBUILD
+++ b/community/calibre/PKGBUILD
@@ -1,10 +1,10 @@
-# $Id: PKGBUILD 61987 2012-01-13 12:17:48Z giovanni $
+# $Id: PKGBUILD 62518 2012-01-20 10:19:50Z giovanni $
# Maintainer: Giovanni Scafora <giovanni@archlinux.org>
# Contributor: Petrov Roman <nwhisper@gmail.com>
# Contributor: Andrea Fagiani <andfagiani _at_ gmail dot com>
pkgname=calibre
-pkgver=0.8.35
+pkgver=0.8.36
pkgrel=1
pkgdesc="Ebook management application"
arch=('i686' 'x86_64' 'mips64el')
@@ -21,7 +21,7 @@ install=calibre.install
source=("http://downloads.sourceforge.net/${pkgname}/${pkgname}-${pkgver}.tar.xz"
'desktop_integration.patch'
'calibre-mount-helper')
-md5sums=('0a1170534492c6ca5b9f849cbfaa7acc'
+md5sums=('cc009c02fa0db088d074fef8b983e78a'
'253ce4fe5d01f8ff76b63cd3825755ea'
'675cd87d41342119827ef706055491e7')
diff --git a/community/chromaprint/PKGBUILD b/community/chromaprint/PKGBUILD
new file mode 100644
index 000000000..ea7e1ef90
--- /dev/null
+++ b/community/chromaprint/PKGBUILD
@@ -0,0 +1,26 @@
+# $Id: PKGBUILD 62590 2012-01-22 09:25:04Z bisson $
+# Contributor: Wieland Hoffmann <the_mineo@web.de>
+# Maintainer: Gaetan Bisson <bisson@archlinux.org>
+
+pkgname=chromaprint
+pkgver=0.6
+pkgrel=2
+pkgdesc='Library that implements a custom algorithm for extracting fingerprints from any audio source'
+url='http://acoustid.org/chromaprint/'
+arch=('i686' 'x86_64')
+license=('LGPL')
+depends=('ffmpeg')
+makedepends=('cmake')
+source=("https://github.com/downloads/lalinsky/${pkgname}/${pkgname}-${pkgver}.tar.gz")
+sha1sums=('e8bcc1d0d8dfec86aa648b87ba3f69b6d589eae0')
+
+build() {
+ cd "${srcdir}/${pkgname}-${pkgver}"
+ cmake -DCMAKE_INSTALL_PREFIX=/usr -DBUILD_EXAMPLES=ON .
+ make
+}
+
+package() {
+ cd "${srcdir}/${pkgname}-${pkgver}"
+ make DESTDIR="${pkgdir}" install
+}
diff --git a/community/dos2unix/PKGBUILD b/community/dos2unix/PKGBUILD
new file mode 100644
index 000000000..5c7dd4848
--- /dev/null
+++ b/community/dos2unix/PKGBUILD
@@ -0,0 +1,27 @@
+# Maintainer: Bartłomiej Piotrowski <barthalion@gmail.com>
+# Contributor: Renato Garcia <fgar.renatoATgmailDOTcom>
+# Contributor: Gerson E. Ruotolo <gersonruotolo@globo.com>
+
+pkgname=dos2unix
+pkgver=5.3.1
+pkgrel=3
+pkgdesc='Text file format converter'
+arch=('i686' 'x86_64')
+url='http://waterlan.home.xs4all.nl/dos2unix.html'
+license=('BSD')
+depends=('glibc')
+makedepends=('perl')
+conflicts=('hd2u')
+source=("http://waterlan.home.xs4all.nl/${pkgname}/${pkgname}-${pkgver}.tar.gz")
+md5sums=('438c48ebd6891b80b58de14c022ca69e')
+
+build() {
+ 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"
+}
diff --git a/community/duplicity/PKGBUILD b/community/duplicity/PKGBUILD
index 08a9f5a31..5c3163f90 100644
--- a/community/duplicity/PKGBUILD
+++ b/community/duplicity/PKGBUILD
@@ -1,19 +1,21 @@
-# $Id: PKGBUILD 60285 2011-12-08 22:52:59Z lfleischer $
+# $Id: PKGBUILD 62636 2012-01-23 00:53:34Z lfleischer $
# Maintainer: Kaiting Chen <kaitocracy@gmail.com>
# Contributor: Aaron Schaefer <aaron@elasticdog.com>
pkgname=duplicity
pkgver=0.6.17
-pkgrel=3
+pkgrel=4
pkgdesc='A utility for encrypted, bandwidth-efficient backups using the rsync algorithm'
arch=('i686' 'x86_64' 'mips64el')
url='http://www.nongnu.org/duplicity/'
license=('GPL')
depends=('librsync' 'ncftp' 'python2' 'python-boto' 'python-gnupginterface')
source=("http://savannah.nongnu.org/download/$pkgname/$pkgname-$pkgver.tar.gz"
- 'botobackend.patch')
+ 'botobackend.patch'
+ 'duplicity-0.6.17-fix-memleak.patch')
md5sums=('36423ab4e3b9aa90c5c44d9fa93fba0f'
- '49bbdc327230fe5985d18eaae37eec0c')
+ '49bbdc327230fe5985d18eaae37eec0c'
+ 'b77e98d006842414fdda9662c8081d3b')
build() {
cd "${srcdir}/${pkgname}-${pkgver}"
@@ -27,6 +29,9 @@ build() {
# add hotfix issued by upstream (FS#27390)
patch -p0 -i ../botobackend.patch
+ # fix a memory leak (upstream bug #908228)
+ patch -p0 -i ../duplicity-0.6.17-fix-memleak.patch
+
python2 setup.py install --root="$pkgdir" --optimize=1
# fix broken documentation permissions until upstream does (FS#27301)
diff --git a/community/duplicity/duplicity-0.6.17-fix-memleak.patch b/community/duplicity/duplicity-0.6.17-fix-memleak.patch
new file mode 100644
index 000000000..1c4c8daff
--- /dev/null
+++ b/community/duplicity/duplicity-0.6.17-fix-memleak.patch
@@ -0,0 +1,29 @@
+=== modified file 'duplicity/util.py'
+--- duplicity/util.py 2011-08-23 18:14:17 +0000
++++ duplicity/util.py 2012-01-20 21:50:01 +0000
+@@ -71,6 +71,10 @@
+ else:
+ raise
+
++class BlackHoleList(list):
++ def append(self, x):
++ pass
++
+ class FakeTarFile:
+ debug = 0
+ def __iter__(self):
+@@ -83,7 +87,12 @@
+ # yet. So we want to ignore ReadError exceptions, which are used to signal
+ # this.
+ try:
+- return tarfile.TarFile("arbitrary", mode, fp)
++ tf = tarfile.TarFile("arbitrary", mode, fp)
++ # Now we cause TarFile to not cache TarInfo objects. It would end up
++ # consuming a lot of memory over the lifetime of our long-lasting
++ # signature files otherwise.
++ tf.members = BlackHoleList()
++ return tf
+ except tarfile.ReadError:
+ return FakeTarFile()
+
+
diff --git a/community/freemat/PKGBUILD b/community/freemat/PKGBUILD
index a2f839ed6..67a1fa216 100644
--- a/community/freemat/PKGBUILD
+++ b/community/freemat/PKGBUILD
@@ -1,45 +1,38 @@
-# $Id: PKGBUILD 58815 2011-11-18 15:51:12Z spupykin $
+# $Id: PKGBUILD 62525 2012-01-20 17:49:51Z spupykin $
# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
# Contributor: William Rea <sillywilly@gmail.com>
pkgname=freemat
-pkgver=4.0
-pkgrel=5
+pkgver=4.1
+pkgrel=1
pkgdesc="A free environment for rapid engineering, scientific prototyping and data processing"
arch=('i686' 'x86_64' 'mips64el')
url="http://freemat.sourceforge.net"
license=('GPL')
-depends=('qt' 'ffcall' 'fftw' 'mesa' 'portaudio')
-makedepends=('arpack' 'lapack' 'umfpack' 'blas' 'libmatio' 'cmake')
+depends=('qt' 'ffcall' 'fftw' 'mesa' 'portaudio' 'libffi')
+makedepends=('arpack' 'lapack' 'umfpack' 'blas' 'libmatio' 'cmake' 'python2')
install=freemat.install
source=(http://downloads.sourceforge.net/project/freemat/FreeMat4/FreeMat-$pkgver-Source.tar.gz
- freemat-gcc-4.3.0.patch
- freemat-gcc-4.5.0.patch
- freemat-qt46.patch
- input-fix.patch)
-md5sums=('adb58b9f2c508d9ae5b6041da2f75baf'
- '3dc3848949183de2664c2cf67663c892'
- 'a3edb7b51057a90a752aff5053f8eed6'
- 'a8d2ffa9319eccaedb28a10f9c7617f4'
- 'a78941563453feaca5c7463eaeea1a70')
+ build-fix.patch)
+md5sums=('929d31e2310feaff5d380fc2f7b4d1a2'
+ '2d11a28aa2a7df89c4618ed1c4be5973')
build() {
- cd $srcdir/FreeMat-$pkgver.1-Source
+ cd $srcdir/FreeMat-$pkgver-Source
- if [ $NOEXTRACT -ne 1 ]; then
- patch -p1 <$srcdir/freemat-gcc-4.5.0.patch
- patch -p1 <$srcdir/input-fix.patch
- patch -p1 <$srcdir/freemat-qt46.patch
- patch -p1 CMakeCache.txt <<EOF
-23c23,25
-< CMAKE_CACHEFILE_DIR:INTERNAL=/home/basu/dev/branches/FreeMat4
----
-> #CMAKE_CACHEFILE_DIR:INTERNAL=/home/basu/dev/branches/FreeMat4
-> USE_LLVM:BOOL=OFF
-> CMAKE_INSTALL_PREFIX:PATH=/usr
-EOF
- cmake `pwd`
- fi
+ rm -f CMakeCache.txt
+ find . -type f -name '*.moc.cpp' -exec rm -f {} \;
+ find . -type f -name 'add.so' -exec rm -f {} \;
+ patch -p1 <$srcdir/build-fix.patch
+ echo >libs/libMatC/CJitFuncClang.hpp
+ echo >libs/libMatC/CJitFuncClang.cpp
+
+ cmake \
+ -DCMAKE_INSTALL_PREFIX=/usr \
+ -DUSE_LLVM=OFF \
+ -DFFI_INCLUDE_DIR=/usr/lib/libffi-`pacman -Q libffi | cut -f2 -d\ |cut -f1 -d-`/include/ \
+ -DPYTHON_EXECUTABLE=/usr/bin/python2 \
+ .
make
make DESTDIR=$pkgdir install
sed -i "s|/FreeMat-.*/|/FreeMat-$pkgver/|g" $startdir/freemat.install
diff --git a/community/freemat/build-fix.patch b/community/freemat/build-fix.patch
new file mode 100644
index 000000000..c1ea63088
--- /dev/null
+++ b/community/freemat/build-fix.patch
@@ -0,0 +1,11 @@
+diff -wbBur FreeMat-4.1-Source/libs/libGraphics/GLRenderEngine.cpp FreeMat-4.1-Source.my/libs/libGraphics/GLRenderEngine.cpp
+--- FreeMat-4.1-Source/libs/libGraphics/GLRenderEngine.cpp 2011-11-27 04:27:43.000000000 +0400
++++ FreeMat-4.1-Source.my/libs/libGraphics/GLRenderEngine.cpp 2012-01-20 19:07:48.000000000 +0400
+@@ -20,6 +20,7 @@
+ #include <qimage.h>
+ #include <qpainter.h>
+ #include <QtOpenGL>
++#include <GL/glu.h>
+ #include <math.h>
+ #include "IEEEFP.hpp"
+
diff --git a/community/freemat/freemat.install b/community/freemat/freemat.install
index e319f1a24..051cca866 100644
--- a/community/freemat/freemat.install
+++ b/community/freemat/freemat.install
@@ -1,7 +1,7 @@
post_install() {
- echo "-- Use FreeMat -i /usr/share/FreeMat-4.0/ to adjust docs location"
+ echo "-- Use FreeMat -i /usr/share/FreeMat-4.1/ to adjust docs location"
}
post_upgrade() {
- echo "-- Use FreeMat -i /usr/share/FreeMat-4.0/ to adjust docs location"
+ echo "-- Use FreeMat -i /usr/share/FreeMat-4.1/ to adjust docs location"
}
diff --git a/community/haveged/PKGBUILD b/community/haveged/PKGBUILD
new file mode 100644
index 000000000..e3a60bdb9
--- /dev/null
+++ b/community/haveged/PKGBUILD
@@ -0,0 +1,31 @@
+# Maintainer: Bartłomiej Piotrowski <barthalion@gmail.com>
+# Contributor: kfgz <kfgz at interia dot pl>
+# Contributor: pootzko <pootzko at gmail dot com>
+
+pkgname=haveged
+pkgver=1.3a
+pkgrel=1
+pkgdesc="A simple entropy daemon."
+arch=('i686' 'x86_64')
+url="http://www.issihosts.com/haveged"
+license=('GPL')
+depends=('bash')
+source=(${url}/${pkgname}-${pkgver}.tar.gz
+ haveged)
+md5sums=('dad8b95c6eafcec7eb42eb8454e60a0d'
+ '264b725be5271288b40f363d7cfc6b68')
+
+build() {
+ cd "${srcdir}"/${pkgname}-${pkgver/a/}
+ ./configure --prefix=/usr
+ make
+}
+
+package() {
+ cd "${srcdir}"/${pkgname}-${pkgver/a/}
+ make DESTDIR="${pkgdir}" install
+ rm -rf "${pkgdir}"/etc/init.d
+
+ cd "${srcdir}"
+ install -D -m755 haveged "${pkgdir}"/etc/rc.d/haveged
+}
diff --git a/community/haveged/haveged b/community/haveged/haveged
new file mode 100644
index 000000000..c0e13b40d
--- /dev/null
+++ b/community/haveged/haveged
@@ -0,0 +1,44 @@
+#!/bin/bash
+##
+# chkconfig: 2345 75 25
+# description: havege entropy daemon
+#
+# source function library
+. /etc/rc.conf
+. /etc/rc.d/functions
+
+RETVAL=0
+prog="haveged"
+
+case "$1" in
+start)
+ stat_busy $"Starting $prog"
+ /usr/sbin/$prog -w 1024 -v 1
+ if [ $? -gt 0 ]; then
+ stat_fail
+ else
+ add_daemon $prog
+ stat_done
+ fi
+ ;;
+
+stop)
+ stat_busy $"Stopping $prog"
+ kill `cat /var/run/$prog.pid`
+ if [ $? -gt 0 ]; then
+ stat_fail
+ else
+ rm_daemon $prog
+ stat_done
+ rm -f /var/lock/$prog
+ fi
+ ;;
+
+restart)
+ $0 stop
+ $0 start
+ ;;
+
+*)
+ echo "usage: $prog [start|stop|restart]"
+esac
diff --git a/community/i7z/PKGBUILD b/community/i7z/PKGBUILD
new file mode 100644
index 000000000..f573fc123
--- /dev/null
+++ b/community/i7z/PKGBUILD
@@ -0,0 +1,32 @@
+# Maintainer: Sven-Hendrik Haase <sh@lutzhaase.com>
+# Contributor: Nathan O <ndowens.aur at gmail dot com>
+
+pkgname=i7z
+pkgver=0.27.1
+pkgrel=1
+pkgdesc="A better i7 (and now i3, i5) reporting tool for Linux"
+arch=('i686' 'x86_64')
+license=('GPL2')
+depends=('ncurses')
+makedepends=('qt')
+optdepends=('qt: for i7z-gui')
+url="http://code.google.com/p/i7z/"
+source=("http://i7z.googlecode.com/files/${pkgname}-${pkgver}.tar.gz")
+md5sums=('4408e0e39b195b8fe6383cadc971a862')
+
+build() {
+ cd ${srcdir}/${pkgname}-${pkgver}
+
+ make
+
+ cd GUI
+ qmake
+ make clean
+ make
+}
+package() {
+ cd ${srcdir}/${pkgname}-${pkgver}
+
+ install -Dm 755 i7z ${pkgdir}/usr/bin/i7z
+ install -Dm 755 GUI/i7z_GUI ${pkgdir}/usr/bin/i7z-gui
+}
diff --git a/community/libbsd/LICENSE b/community/libbsd/LICENSE
new file mode 100644
index 000000000..7dcbfc2ba
--- /dev/null
+++ b/community/libbsd/LICENSE
@@ -0,0 +1,28 @@
+/*-
+ * Copyright (c) 1989, 1993
+ * The Regents of the University of California. All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without
+ * modification, are permitted provided that the following conditions
+ * are met:
+ * 1. Redistributions of source code must retain the above copyright
+ * notice, this list of conditions and the following disclaimer.
+ * 2. Redistributions in binary form must reproduce the above copyright
+ * notice, this list of conditions and the following disclaimer in the
+ * documentation and/or other materials provided with the distribution.
+ * 3. Neither the name of the University nor the names of its contributors
+ * may be used to endorse or promote products derived from this software
+ * without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
+ * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
+ * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
+ * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
+ * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
+ * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
+ * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
+ * SUCH DAMAGE.
+ */
diff --git a/community/libbsd/PKGBUILD b/community/libbsd/PKGBUILD
new file mode 100644
index 000000000..23bb96d5a
--- /dev/null
+++ b/community/libbsd/PKGBUILD
@@ -0,0 +1,30 @@
+# Maintainer: Sven-Hendrik Haase <sh@lutzhaase.com>
+# Contributor: Gerardo Exequiel Pozzi <vmlinuz386@yahoo.com.ar>
+
+pkgname=libbsd
+pkgver=0.3.0
+pkgrel=1
+pkgdesc="Provides useful functions commonly found on BSD systems like strlcpy()"
+arch=('i686' 'x86_64')
+url="http://libbsd.freedesktop.org"
+license=('custom')
+depends=('glibc')
+source=(http://libbsd.freedesktop.org/releases/$pkgname-$pkgver.tar.gz
+ LICENSE)
+md5sums=('833e58531b4bd84b119b53d834d8e0d8'
+ '5bd59ff83a7df4873b034478ffae62a6')
+
+build() {
+ cd $srcdir/$pkgname-$pkgver
+
+ make exec_prefix=/usr includedir=/usr/include/libbsd
+}
+
+package() {
+ cd $srcdir/$pkgname-$pkgver
+
+ make exec_prefix=/usr includedir=/usr/include/libbsd DESTDIR=$pkgdir install
+ install -D -m644 $srcdir/LICENSE $pkgdir/usr/share/licenses/$pkgname/LICENSE
+}
+
+# vim:set ts=2 sw=2 et:
diff --git a/community/libfaketime/PKGBUILD b/community/libfaketime/PKGBUILD
index a982b3970..1ed0c439f 100644
--- a/community/libfaketime/PKGBUILD
+++ b/community/libfaketime/PKGBUILD
@@ -1,20 +1,28 @@
-# $Id: PKGBUILD 47438 2011-05-23 06:26:34Z lfleischer $
+# $Id: PKGBUILD 62627 2012-01-22 21:34:26Z lfleischer $
# Maintainer: Lukas Fleischer <archlinux at cryptocrack dot de>
# Contributor: Dan Serban
# Contributor: Ross Melin <rdmelin@gmail.com>
pkgname=libfaketime
-pkgver=0.8.1
+pkgver=0.9.1
pkgrel=1
pkgdesc='Report fake dates and times to programs without having to change the system-wide time.'
arch=('i686' 'x86_64' 'mips64el')
url='http://www.code-wizards.com/projects/libfaketime/'
license=('GPL2')
-source=("http://www.code-wizards.com/projects/${pkgname}/${pkgname}-${pkgver}.tar.gz")
-md5sums=('113d75d73e39f0f5022dc7385628d57c')
+source=("http://www.code-wizards.com/projects/${pkgname}/${pkgname}-${pkgver}.tar.gz"
+ 'libfaketime-0.9.1-fix-as-needed.patch'
+ 'libfaketime-0.9.1-fix-README-NEWS.patch')
+md5sums=('ce3f996dfd5826b4ac62f1a7cc36ea27'
+ '90873e4df35283463ef54b159c318686'
+ 'b1b641a8e2298aa1646982e3bde96117')
build() {
cd "${pkgname}-${pkgver}"
+
+ patch -p1 -i ../libfaketime-0.9.1-fix-as-needed.patch
+ patch -p1 -i ../libfaketime-0.9.1-fix-README-NEWS.patch
+
make
}
diff --git a/community/libfaketime/libfaketime-0.9.1-fix-README-NEWS.patch b/community/libfaketime/libfaketime-0.9.1-fix-README-NEWS.patch
new file mode 100644
index 000000000..3d47c5404
--- /dev/null
+++ b/community/libfaketime/libfaketime-0.9.1-fix-README-NEWS.patch
@@ -0,0 +1,29 @@
+From c0c19a71c5481f3082afee2ac7962bd7abfcf134 Mon Sep 17 00:00:00 2001
+From: Lukas Fleischer <info@cryptocrack.de>
+Date: Sun, 22 Jan 2012 22:19:50 +0100
+Subject: [PATCH] Makefile: Fix installation of "README" and "NEWS"
+
+Initialize "INSTALL" in the top-level Makefile in order to avoid broken
+install(1) invocations such as:
+
+ dm0755 "/build/pkg/usr/share/doc/faketime/"
+ /bin/sh: dm0755: command not found
+
+Signed-off-by: Lukas Fleischer <info@cryptocrack.de>
+---
+ Makefile | 2 ++
+ 1 files changed, 2 insertions(+), 0 deletions(-)
+
+diff --git a/Makefile b/Makefile
+index f90e18e..d0225ba 100644
+--- a/Makefile
++++ b/Makefile
+@@ -1,3 +1,5 @@
++INSTALL = install
++
+ all:
+ $(MAKE) -C src all
+ $(MAKE) -C test all
+--
+1.7.8.4
+
diff --git a/community/libfaketime/libfaketime-0.9.1-fix-as-needed.patch b/community/libfaketime/libfaketime-0.9.1-fix-as-needed.patch
new file mode 100644
index 000000000..870349145
--- /dev/null
+++ b/community/libfaketime/libfaketime-0.9.1-fix-as-needed.patch
@@ -0,0 +1,39 @@
+From f0ee2ee1e0a2fa5f11614a55ab8543380faa9695 Mon Sep 17 00:00:00 2001
+From: Lukas Fleischer <info@cryptocrack.de>
+Date: Sun, 22 Jan 2012 21:47:52 +0100
+Subject: [PATCH] Fix linking with "-Wl,--as-needed"
+
+Reorder linker flags in order to ensure proper linking when using
+"--Wl,--as-needed". Read http://www.gentoo.org/proj/en/qa/asneeded.xml,
+especially "Importance of linking order" for details:
+
+ Basically, what the linker does is look for the symbols missing in a
+ given file (either an object file, a static archive or a library)
+ only in the files coming after it. When using the normal linking,
+ without --as-needed, this is not a problem, although there might be
+ some internal drawbacks on the linking stage, the files are linked
+ together without considering ordering. But with the flag, the
+ libraries that aren't used for resolving symbols are discarded and
+ thus not linked.
+
+Signed-off-by: Lukas Fleischer <info@cryptocrack.de>
+---
+ src/Makefile | 2 +-
+ 1 files changed, 1 insertions(+), 1 deletions(-)
+
+diff --git a/src/Makefile b/src/Makefile
+index 9118815..d4a04b5 100644
+--- a/src/Makefile
++++ b/src/Makefile
+@@ -69,7 +69,7 @@ ${OBJ}: faketime.c
+ ${CC} -o $@ -c ${CFLAGS} ${EXTRA_FLAGS} $<
+
+ lib%.so.${SONAME}: %.o
+- ${CC} -o $@ -Wl,-soname,$@ ${LDFLAGS} $<
++ ${CC} -o $@ -Wl,-soname,$@ $< ${LDFLAGS}
+
+ clean:
+ @rm -f ${OBJ} ${LIBS}
+--
+1.7.8.4
+
diff --git a/community/libircclient/PKGBUILD b/community/libircclient/PKGBUILD
index 50e1c02a8..72a698e73 100644
--- a/community/libircclient/PKGBUILD
+++ b/community/libircclient/PKGBUILD
@@ -1,20 +1,18 @@
# Maintainer: Bartłomiej Piotrowski <barthalion@gmail.com>
-# Contributor: SpepS <dreamspepser at yahoo dot it>
+# Maintainer: SpepS <dreamspepser at yahoo dot it>
# Contributor: Marcel Wysocki <maci@satgnu.net>
# Contributor: coolkehon <coolkehon at g m a i l>
pkgname=libircclient
-pkgver=1.3
-pkgrel=5
+pkgver=1.6
+pkgrel=1
pkgdesc="A small but powerful library, which implements client-server IRC protocol."
arch=('i686' 'x86_64')
-url="http://libircclient.sf.net"
+url="http://www.ulduzsoft.com/libircclient/"
depends=('glibc')
-license=("GPL2")
-source=("http://downloads.sourceforge.net/sourceforge/$pkgname/$pkgname-$pkgver.tar.gz"
- "shared.patch")
-md5sums=('b0e80d1d6b0c1cc61660fb9d2350b32d'
- 'f2c350d140bd522990c15162645c72f0')
+license=('GPL')
+source=("http://downloads.sourceforge.net/sourceforge/$pkgname/$pkgname-$pkgver.tar.gz")
+md5sums=('eb6a2c4e91862cc10de3b13b198cfa23')
build() {
cd "$srcdir/$pkgname-$pkgver"
@@ -22,15 +20,36 @@ build() {
# add fPIC flag for x86_64
[ "$CARCH" = x86_64 ] && export CFLAGS="$CFLAGS -fPIC"
- # shared and path patch
- patch -p1 -i ../shared.patch
+ ## Makefile.in fixes:
+ # invalid `lib` requisite for `install` target
+ # install shared lib instead of static
+ # headers in /usr/include/$pkgname
+ sed -e "/install/s/lib/all/" \
+ -e "/DESTDIR/s/\.a/\.so/g" \
+ -e "s/@\/include/&\/$pkgname/" \
+ -i src/Makefile.in
- ./configure --prefix=/usr
- cd src && make CFLAGS="$CFLAGS"
+ ./configure --prefix=/usr \
+ --enable-shared
+
+ cd src && make CFLAGS="$CFLAGS"
}
package() {
cd "$srcdir/$pkgname-$pkgver/src"
make DESTDIR="$pkgdir/" install
+
+ # doc
+ install -d "$pkgdir/usr/share/doc/$pkgname"
+ cp -a ../doc/{html,rfc1459.txt} \
+ "$pkgdir/usr/share/doc/$pkgname"
+
+ # man
+ cp -a ../doc/man "$pkgdir/usr/share"
+
+ # examples (optional)
+ install -d "$pkgdir/usr/share/$pkgname/examples"
+ install -Dm644 ../examples/* \
+ "$pkgdir/usr/share/$pkgname/examples"
}
diff --git a/community/libvisual-projectm/PKGBUILD b/community/libvisual-projectm/PKGBUILD
index da278241b..976b3cbff 100644
--- a/community/libvisual-projectm/PKGBUILD
+++ b/community/libvisual-projectm/PKGBUILD
@@ -1,26 +1,36 @@
-# $Id: PKGBUILD 61634 2009-12-20 18:27:47Z andrea $
+# $Id: PKGBUILD 62640 2012-01-23 02:32:15Z lfleischer $
+# Maintainer: Lukas Fleischer <archlinux at cryptocrack dot de>
# Contributor: Alexander Baldeck <alexander@archlinux.org>
pkgname=libvisual-projectm
pkgver=2.0.1
-pkgrel=1
-pkgdesc="ProjectM XMMS plugin"
+pkgrel=3
+pkgdesc='ProjectM XMMS plugin.'
arch=('i686' 'x86_64' 'mips64el')
-url="http://projectm.sourceforge.net/"
+url='http://projectm.sourceforge.net/'
license=('GPL')
depends=('projectm>=2.0.1' 'libvisual' 'sdl')
makedepends=('pkgconfig' 'cmake' 'libxext')
options=('!libtool')
-source=(http://downloads.sourceforge.net/projectm/projectM_libvisual-${pkgver}-Source.tar.gz)
-md5sums=('35e09b09210d48b437e3574bd00b15a8')
+source=("http://downloads.sourceforge.net/projectm/projectM_libvisual-${pkgver}-Source.tar.gz"
+ 'libvisual-projectm-gcc-4.6.patch')
+md5sums=('35e09b09210d48b437e3574bd00b15a8'
+ 'a1fa2fd4fc85b1f27e32d400e17a3196')
build() {
- cd ${srcdir}
- mkdir build
- cd build
- cmake ../projectM_libvisual-${pkgver}-Source \
- -DCMAKE_INSTALL_PREFIX=/usr \
- -DCMAKE_BUILD_TYPE=Release || return 1
- make || return
- make DESTDIR=${pkgdir} install || return
+ cd "${srcdir}"
+
+ # fix build failure with GCC 4.6 (taken from SVN, revision 1355)
+ (cd "projectM_libvisual-${pkgver}-Source" && patch -p3 -i ../libvisual-projectm-gcc-4.6.patch)
+
+ mkdir build && cd build
+
+ cmake "../projectM_libvisual-${pkgver}-Source" \
+ -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=Release
+ make
+}
+
+package() {
+ cd "${srcdir}/build"
+ make DESTDIR="${pkgdir}" install
}
diff --git a/community/libvisual-projectm/libvisual-projectm-gcc-4.6.patch b/community/libvisual-projectm/libvisual-projectm-gcc-4.6.patch
new file mode 100644
index 000000000..0e1234f83
--- /dev/null
+++ b/community/libvisual-projectm/libvisual-projectm-gcc-4.6.patch
@@ -0,0 +1,11 @@
+--- trunk/src/projectM-libvisual/actor_projectM.cpp 2009/02/20 19:07:44 1210
++++ trunk/src/projectM-libvisual/actor_projectM.cpp 2011/05/06 12:04:58 1355
+@@ -209,7 +209,7 @@
+ * we aren't with projectm, so just ignore :) */
+ extern "C" VisPalette *lv_projectm_palette (VisPluginData *plugin)
+ {
+- return NULL;
++ return (VisPalette *) NULL;
+ }
+
+ /* This is where the real rendering happens! This function is what we call, many times
diff --git a/community/nodejs/PKGBUILD b/community/nodejs/PKGBUILD
index a21312c36..736d2ebb9 100644
--- a/community/nodejs/PKGBUILD
+++ b/community/nodejs/PKGBUILD
@@ -6,7 +6,7 @@
# Contributor: TIanyi Cui <tianyicui@gmail.com>
pkgname=nodejs
-pkgver=0.6.7
+pkgver=0.6.8
pkgrel=1
pkgdesc='Evented I/O for V8 javascript'
arch=('i686' 'x86_64' 'mips64el')
@@ -17,16 +17,20 @@ checkdepends=('curl') # curl used for check()
optdepends=('openssl: TLS support')
options=('!emptydirs')
source=("http://nodejs.org/dist/v${pkgver}/node-v${pkgver}.tar.gz")
-md5sums=('e7b238356ea7fb230b956010931ca468')
+md5sums=('9fd7baa2d27b848c3134e6ae35bb87b2')
build() {
cd node-v${pkgver}
msg 'fixing for python2 name'
- find -type f -exec sed -e 's_^#!/usr/bin/env python$_&2_' -e 's_^\(#!/usr/bin/python2\).[45]$_\1_' -e 's_^#!/usr/bin/python$_&2_' -i {} \;
+ find -type f -exec sed -e 's_^#!/usr/bin/env python$_&2_' -e 's_^\(#!/usr/bin/python2\).[45]$_\1_' -e 's_^#!/usr/bin/python$_&2_' -e "s_'python'_'python2'_" -i {} \;
+ find test -type f -exec sed -e "s|python |python2 |" -i {} \;
sed -i "s|cmd_R = 'python |cmd_R = 'python2 |" wscript
sed -i "s|python |python2 |" Makefile
find test -type f -exec sed -e 's/python/&2/' -i {} \;
+ sed -i "s/python/&2/" configure
+
+ export PYTHON=python2
./configure \
--prefix=/usr
diff --git a/community/opensc/PKGBUILD b/community/opensc/PKGBUILD
new file mode 100644
index 000000000..1da03752e
--- /dev/null
+++ b/community/opensc/PKGBUILD
@@ -0,0 +1,42 @@
+# $Id: PKGBUILD 62576 2012-01-21 15:54:56Z seblu $
+# Maintainer: Sébastien Luttringer <seblu@aur.archlinux.org>
+# Contributor: kevku <kevku@msn.com>
+
+pkgname=opensc
+pkgver=0.12.2
+pkgrel=3
+pkgdesc='Access smart cards that support cryptographic operations'
+arch=('x86_64' 'i686')
+url='http://www.opensc-project.org/opensc/'
+license=('LGPL')
+backup=('etc/opensc.conf')
+makedepends=('docbook-xsl')
+depends=('openssl' 'pcsclite' 'libltdl')
+options=('!libtool' '!emptydirs')
+source=("http://www.opensc-project.org/files/$pkgname/$pkgname-$pkgver.tar.gz")
+md5sums=('5116adea5f2f9f22fb9896965789144b')
+
+build() {
+ cd $pkgname-$pkgver
+ export LIBS=-lltdl
+ _sheetdir=(/usr/share/xml/docbook/xsl-stylesheets-*)
+ ./configure \
+ --prefix=/usr \
+ --sysconfdir=/etc \
+ --enable-man \
+ --enable-doc \
+ --enable-readline \
+ --enable-openssl \
+ --enable-pcsc \
+ --enable-zlib \
+ --with-xsl-stylesheetsdir="$_sheetdir"
+ make
+}
+
+package(){
+ cd $pkgname-$pkgver
+ make DESTDIR="$pkgdir" install
+ install -D -m644 etc/opensc.conf "$pkgdir/etc/opensc.conf"
+}
+
+# vim:set ts=2 sw=2 ft=sh et:
diff --git a/community/packagekit/PKGBUILD b/community/packagekit/PKGBUILD
index 95957f648..b29373993 100644
--- a/community/packagekit/PKGBUILD
+++ b/community/packagekit/PKGBUILD
@@ -1,21 +1,21 @@
-# $Id: PKGBUILD 62160 2012-01-17 00:26:49Z jconder $
+# $Id: PKGBUILD 62671 2012-01-24 01:58:04Z jconder $
# Maintainer: Jonathan Conder <jonno.conder@gmail.com>
pkgbase='packagekit'
pkgname=('packagekit' 'packagekit-qt' 'packagekit-qt2' 'packagekit-python')
pkgver=0.6.21
-pkgrel=1
+pkgrel=2
pkgdesc="A system designed to make installation and updates of packages easier."
arch=('i686' 'x86_64' 'mips64el')
url="http://www.packagekit.org"
license=('GPL')
makedepends=('dbus-glib' 'gobject-introspection' 'gtk-doc' 'intltool'
'networkmanager' 'pacman' 'pm-utils' 'polkit' 'python2' 'qt'
- 'shared-mime-info' 'sqlite3' 'udev')
+ 'shared-mime-info' 'sqlite3' 'udev')
options=('!libtool')
source=("http://www.packagekit.org/releases/PackageKit-$pkgver.tar.xz"
'alpm.patch')
sha256sums=('68e5d4d07adf50b1fae6cbc0963555345ba7fc12d86d3e3387874547a5448b8e'
- 'fbe54a89c3495376a0b939b67fec5b2e57bed46e92b3f4816d797745882481e6')
+ '44e7adbff7e2255fd9712eef33df866c3a868b3758ceff4adeef209927a97716')
build() {
cd "$srcdir/PackageKit-$pkgver"
@@ -30,23 +30,24 @@ build() {
# TODO: remove when upstream is patched
autoreconf
./configure --prefix=/usr \
- --sysconfdir=/etc \
- --localstatedir=/var \
- --libexecdir=/usr/lib/PackageKit \
- --disable-static \
- --disable-gtk-doc \
- --disable-tests \
- --disable-local \
- --disable-browser-plugin \
- --disable-gstreamer-plugin \
- --disable-gtk-module \
- --disable-command-not-found \
- --disable-cron \
- --disable-debuginfo-install \
- --enable-pm-utils \
- --disable-dummy \
- --enable-alpm \
- --with-default-backend=alpm
+ --sysconfdir=/etc \
+ --localstatedir=/var \
+ --libexecdir=/usr/lib/PackageKit \
+ --enable-strict \
+ --disable-static \
+ --disable-gtk-doc \
+ --disable-tests \
+ --disable-local \
+ --disable-browser-plugin \
+ --disable-gstreamer-plugin \
+ --disable-gtk-module \
+ --disable-command-not-found \
+ --disable-cron \
+ --disable-debuginfo-install \
+ --enable-pm-utils \
+ --disable-dummy \
+ --enable-alpm \
+ --with-default-backend=alpm
make -s
}
diff --git a/community/packagekit/alpm.patch b/community/packagekit/alpm.patch
index d39ce14e1..997d252b2 100644
--- a/community/packagekit/alpm.patch
+++ b/community/packagekit/alpm.patch
@@ -19,7 +19,7 @@ index 5a5468a..d8c3dfc 100644
-DPK_BACKEND_DEFAULT_LOGFILE=\"$(PK_BACKEND_DEFAULT_LOGFILE)\" \
-DALPM_CACHE_PATH=\"$(ALPM_CACHE_PATH)\" \
diff --git a/backends/alpm/pk-backend-alpm.c b/backends/alpm/pk-backend-alpm.c
-index ba993f0..93f6d95 100644
+index ba993f0..5c6b629 100644
--- a/backends/alpm/pk-backend-alpm.c
+++ b/backends/alpm/pk-backend-alpm.c
@@ -22,10 +22,13 @@
@@ -219,6 +219,18 @@ index ba993f0..93f6d95 100644
}
void
+@@ -380,3 +442,11 @@ pk_backend_finish (PkBackend *self, GError *error)
+ pk_backend_thread_finished (self);
+ return (error == NULL);
+ }
++
++void
++pk_backend_transaction_start (PkBackend *self)
++{
++ g_return_if_fail (self != NULL);
++
++ pk_backend_configure_environment (self);
++}
diff --git a/backends/alpm/pk-backend-alpm.h b/backends/alpm/pk-backend-alpm.h
index 23a2724..ecd6d0f 100644
--- a/backends/alpm/pk-backend-alpm.h
@@ -234,7 +246,7 @@ index 23a2724..ecd6d0f 100644
extern gchar *xfercmd;
extern alpm_list_t *holdpkgs;
diff --git a/backends/alpm/pk-backend-config.c b/backends/alpm/pk-backend-config.c
-index 21a4c54..a51a984 100644
+index 21a4c54..d62b927 100644
--- a/backends/alpm/pk-backend-config.c
+++ b/backends/alpm/pk-backend-config.c
@@ -28,29 +28,44 @@
@@ -480,14 +492,14 @@ index 21a4c54..a51a984 100644
+ }
+
+ /* this also allows e.g. NeverEver, so put prefixes last */
-+ if (g_str_has_prefix (list, "Never") == 0) {
++ if (g_str_has_prefix (list, "Never")) {
+ if (package) {
+ *level &= ~ALPM_SIG_PACKAGE;
+ }
+ if (database) {
+ *level &= ~ALPM_SIG_DATABASE;
+ }
-+ } else if (g_str_has_prefix (list, "Optional") == 0) {
++ } else if (g_str_has_prefix (list, "Optional")) {
+ if (package) {
+ *level |= ALPM_SIG_PACKAGE;
+ *level |= ALPM_SIG_PACKAGE_OPTIONAL;
@@ -496,7 +508,7 @@ index 21a4c54..a51a984 100644
+ *level |= ALPM_SIG_DATABASE;
+ *level |= ALPM_SIG_DATABASE_OPTIONAL;
+ }
-+ } else if (g_str_has_prefix (list, "Required") == 0) {
++ } else if (g_str_has_prefix (list, "Required")) {
+ if (package) {
+ *level |= ALPM_SIG_PACKAGE;
+ *level &= ~ALPM_SIG_PACKAGE_OPTIONAL;
@@ -505,7 +517,7 @@ index 21a4c54..a51a984 100644
+ *level |= ALPM_SIG_DATABASE;
+ *level &= ~ALPM_SIG_DATABASE_OPTIONAL;
+ }
-+ } else if (g_str_has_prefix (list, "TrustedOnly") == 0) {
++ } else if (g_str_has_prefix (list, "TrustedOnly")) {
+ if (package) {
+ *level &= ~ALPM_SIG_PACKAGE_MARGINAL_OK;
+ *level &= ~ALPM_SIG_PACKAGE_UNKNOWN_OK;
@@ -514,7 +526,7 @@ index 21a4c54..a51a984 100644
+ *level &= ~ALPM_SIG_DATABASE_MARGINAL_OK;
+ *level &= ~ALPM_SIG_DATABASE_UNKNOWN_OK;
+ }
-+ } else if (g_str_has_prefix (list, "TrustAll") == 0) {
++ } else if (g_str_has_prefix (list, "TrustAll")) {
+ if (package) {
+ *level |= ALPM_SIG_PACKAGE_MARGINAL_OK;
+ *level |= ALPM_SIG_PACKAGE_UNKNOWN_OK;
@@ -843,7 +855,7 @@ index cb8b8dc..412f59c 100644
-gboolean pk_backend_configure (const gchar *filename, GError **error);
+alpm_handle_t *pk_backend_configure (const gchar *filename, GError **error);
diff --git a/backends/alpm/pk-backend-databases.c b/backends/alpm/pk-backend-databases.c
-index f6ab06e..ac530c7 100644
+index f6ab06e..a123297 100644
--- a/backends/alpm/pk-backend-databases.c
+++ b/backends/alpm/pk-backend-databases.c
@@ -26,7 +26,15 @@
@@ -873,7 +885,13 @@ index f6ab06e..ac530c7 100644
g_object_unref (output);
g_object_unref (os);
-@@ -128,37 +136,65 @@ disabled_repos_configure (GHashTable *table, GError **error)
+@@ -124,41 +132,91 @@ disabled_repos_free (GHashTable *table)
+ }
+
+ static gboolean
+-disabled_repos_configure (GHashTable *table, GError **error)
++disabled_repos_configure (GHashTable *table, gboolean only_trusted,
++ GError **error)
{
const alpm_list_t *i;
@@ -896,6 +914,7 @@ index f6ab06e..ac530c7 100644
- const gchar *repo = alpm_db_get_name (db);
+ for (i = configured; i != NULL; i = i->next) {
+ PkBackendRepo *repo = (PkBackendRepo *) i->data;
++ alpm_siglevel_t level = repo->level;
+ alpm_db_t *db;
- if (g_hash_table_lookup (table, repo) == NULL) {
@@ -904,12 +923,16 @@ index f6ab06e..ac530c7 100644
+ if (g_hash_table_lookup (table, repo->name) != NULL) {
+ /* repo is disabled */
continue;
++ } else if (!only_trusted) {
++ level &= ~ALPM_SIG_PACKAGE;
++ level &= ~ALPM_SIG_DATABASE;
++ level &= ~ALPM_SIG_USE_DEFAULT;
}
- if (alpm_db_unregister (db) < 0) {
- g_set_error (error, ALPM_ERROR, pm_errno, "[%s]: %s",
- repo, alpm_strerrorlast ());
-+ db = alpm_db_register_sync (alpm, repo->name, repo->level);
++ db = alpm_db_register_sync (alpm, repo->name, level);
+ if (db == NULL) {
+ enum _alpm_errno_t errno = alpm_errno (alpm);
+ g_set_error (error, ALPM_ERROR, errno, "[%s]: %s",
@@ -942,7 +965,7 @@ index f6ab06e..ac530c7 100644
+
+ value = g_hash_table_lookup (levels, i->data);
+ if (value != NULL) {
-+ repo->level = *(alpm_siglevel_t *)value;
++ repo->level = *(alpm_siglevel_t *) value;
+ } else {
+ repo->level = ALPM_SIG_USE_DEFAULT;
+ }
@@ -951,10 +974,35 @@ index f6ab06e..ac530c7 100644
+ }
+}
+
++gboolean
++pk_backend_disable_signatures (PkBackend *self, GError **error)
++{
++ g_return_val_if_fail (self != NULL, FALSE);
++
++ return disabled_repos_configure (disabled, FALSE, error);
++}
++
++gboolean
++pk_backend_enable_signatures (PkBackend *self, GError **error)
++{
++ g_return_val_if_fail (self != NULL, FALSE);
++
++ return disabled_repos_configure (disabled, TRUE, error);
++}
++
gboolean
pk_backend_initialize_databases (PkBackend *self, GError **error)
{
-@@ -179,11 +215,21 @@ pk_backend_initialize_databases (PkBackend *self, GError **error)
+@@ -169,7 +227,7 @@ pk_backend_initialize_databases (PkBackend *self, GError **error)
+ return FALSE;
+ }
+
+- if (!disabled_repos_configure (disabled, error)) {
++ if (!disabled_repos_configure (disabled, TRUE, error)) {
+ return FALSE;
+ }
+
+@@ -179,11 +237,21 @@ pk_backend_initialize_databases (PkBackend *self, GError **error)
void
pk_backend_destroy_databases (PkBackend *self)
{
@@ -976,7 +1024,7 @@ index f6ab06e..ac530c7 100644
}
static gboolean
-@@ -210,11 +256,12 @@ pk_backend_get_repo_list_thread (PkBackend *self)
+@@ -210,11 +278,12 @@ pk_backend_get_repo_list_thread (PkBackend *self)
gpointer key, value;
g_return_val_if_fail (self != NULL, FALSE);
@@ -991,7 +1039,12 @@ index f6ab06e..ac530c7 100644
const gchar *repo = alpm_db_get_name (db);
if (pk_backend_cancelled (self)) {
-@@ -269,7 +316,7 @@ pk_backend_repo_enable_thread (PkBackend *self)
+@@ -265,11 +334,11 @@ pk_backend_repo_enable_thread (PkBackend *self)
+
+ if (g_hash_table_remove (disabled, repo)) {
+ /* reload configuration to preserve ordering */
+- if (disabled_repos_configure (disabled, &error)) {
++ if (disabled_repos_configure (disabled, TRUE, &error)) {
pk_backend_repo_list_changed (self);
}
} else {
@@ -1000,7 +1053,7 @@ index f6ab06e..ac530c7 100644
g_set_error (&error, ALPM_ERROR, code, "[%s]: %s",
repo, alpm_strerror (code));
}
-@@ -292,21 +339,23 @@ pk_backend_repo_disable_thread (PkBackend *self)
+@@ -292,21 +361,23 @@ pk_backend_repo_disable_thread (PkBackend *self)
GError *error = NULL;
g_return_val_if_fail (self != NULL, FALSE);
@@ -1028,7 +1081,7 @@ index f6ab06e..ac530c7 100644
} else {
g_hash_table_insert (disabled, g_strdup (repo),
GINT_TO_POINTER (1));
-@@ -316,7 +365,7 @@ pk_backend_repo_disable_thread (PkBackend *self)
+@@ -316,7 +387,7 @@ pk_backend_repo_disable_thread (PkBackend *self)
}
if (i == NULL) {
@@ -1038,10 +1091,10 @@ index f6ab06e..ac530c7 100644
alpm_strerror (code));
}
diff --git a/backends/alpm/pk-backend-databases.h b/backends/alpm/pk-backend-databases.h
-index f9eb2f9..2636cae 100644
+index f9eb2f9..d9b9e78 100644
--- a/backends/alpm/pk-backend-databases.h
+++ b/backends/alpm/pk-backend-databases.h
-@@ -24,6 +24,10 @@
+@@ -24,6 +24,16 @@
#include <alpm.h>
#include <pk-backend.h>
@@ -1049,6 +1102,12 @@ index f9eb2f9..2636cae 100644
+ GHashTable *servers,
+ GHashTable *levels);
+
++gboolean pk_backend_disable_signatures (PkBackend *self,
++ GError **error);
++
++gboolean pk_backend_enable_signatures (PkBackend *self,
++ GError **error);
++
gboolean pk_backend_initialize_databases (PkBackend *self,
GError **error);
@@ -1472,10 +1531,18 @@ index 28dcf65..d736e37 100644
-const gchar *alpm_pkg_get_group (pmpkg_t *pkg);
+const gchar *alpm_pkg_get_group (alpm_pkg_t *pkg);
diff --git a/backends/alpm/pk-backend-install.c b/backends/alpm/pk-backend-install.c
-index 65a6c11..5b5e2b2 100644
+index 65a6c11..d0cbca2 100644
--- a/backends/alpm/pk-backend-install.c
+++ b/backends/alpm/pk-backend-install.c
-@@ -32,15 +32,19 @@
+@@ -25,6 +25,7 @@
+ #include <pk-backend.h>
+
+ #include "pk-backend-alpm.h"
++#include "pk-backend-databases.h"
+ #include "pk-backend-error.h"
+ #include "pk-backend-install.h"
+ #include "pk-backend-transaction.h"
+@@ -32,15 +33,19 @@
static gint
alpm_add_file (const gchar *filename)
{
@@ -1498,7 +1565,7 @@ index 65a6c11..5b5e2b2 100644
alpm_pkg_free (pkg);
return -1;
}
-@@ -61,8 +65,9 @@ pk_backend_transaction_add_targets (PkBackend *self, GError **error)
+@@ -61,8 +66,9 @@ pk_backend_transaction_add_targets (PkBackend *self, GError **error)
for (; *paths != NULL; ++paths) {
if (alpm_add_file (*paths) < 0) {
@@ -1510,6 +1577,40 @@ index 65a6c11..5b5e2b2 100644
return FALSE;
}
}
+@@ -89,17 +95,32 @@ pk_backend_simulate_install_files_thread (PkBackend *self)
+ static gboolean
+ pk_backend_install_files_thread (PkBackend *self)
+ {
++ gboolean only_trusted;
+ GError *error = NULL;
+
+ g_return_val_if_fail (self != NULL, FALSE);
+
++ only_trusted = pk_backend_get_bool (self, "only_trusted");
++
++ if (!only_trusted && !pk_backend_disable_signatures (self, &error)) {
++ goto out;
++ }
++
+ if (pk_backend_transaction_initialize (self, 0, &error) &&
+ pk_backend_transaction_add_targets (self, &error) &&
+ pk_backend_transaction_simulate (self, &error)) {
+ pk_backend_transaction_commit (self, &error);
+ }
+
+- return pk_backend_transaction_finish (self, error);
++out:
++ pk_backend_transaction_end (self, (error == NULL) ? &error : NULL);
++
++ if (!only_trusted) {
++ GError **e = (error == NULL) ? &error : NULL;
++ pk_backend_enable_signatures (self, e);
++ }
++
++ return pk_backend_finish (self, error);
+ }
+
+ void
diff --git a/backends/alpm/pk-backend-packages.c b/backends/alpm/pk-backend-packages.c
index e9a7c94..2d057aa 100644
--- a/backends/alpm/pk-backend-packages.c
@@ -2002,10 +2103,15 @@ index 592472d..c4e80ae 100644
break;
}
diff --git a/backends/alpm/pk-backend-sync.c b/backends/alpm/pk-backend-sync.c
-index 9e1e02b..c770159 100644
+index 9e1e02b..d2f363b 100644
--- a/backends/alpm/pk-backend-sync.c
+++ b/backends/alpm/pk-backend-sync.c
-@@ -30,41 +30,13 @@
+@@ -26,45 +26,18 @@
+ #include <string.h>
+
+ #include "pk-backend-alpm.h"
++#include "pk-backend-databases.h"
+ #include "pk-backend-error.h"
#include "pk-backend-sync.h"
#include "pk-backend-transaction.h"
@@ -2048,7 +2154,7 @@ index 9e1e02b..c770159 100644
packages = pk_backend_get_strv (self, "package_ids");
-@@ -75,9 +47,28 @@ pk_backend_transaction_sync_targets (PkBackend *self, GError **error)
+@@ -75,9 +48,28 @@ pk_backend_transaction_sync_targets (PkBackend *self, GError **error)
gchar *repo = package[PK_PACKAGE_ID_DATA];
gchar *name = package[PK_PACKAGE_ID_NAME];
@@ -2080,7 +2186,7 @@ index 9e1e02b..c770159 100644
g_strfreev (package);
return FALSE;
}
-@@ -93,23 +84,27 @@ pk_backend_download_packages_thread (PkBackend *self)
+@@ -93,23 +85,27 @@ pk_backend_download_packages_thread (PkBackend *self)
{
alpm_list_t *cachedirs;
const gchar *directory;
@@ -2114,7 +2220,7 @@ index 9e1e02b..c770159 100644
if (pk_backend_transaction_initialize (self, flags, &error) &&
pk_backend_transaction_sync_targets (self, &error) &&
-@@ -118,7 +113,7 @@ pk_backend_download_packages_thread (PkBackend *self)
+@@ -118,7 +114,7 @@ pk_backend_download_packages_thread (PkBackend *self)
}
if (directory != NULL) {
@@ -2123,7 +2229,40 @@ index 9e1e02b..c770159 100644
}
return pk_backend_transaction_finish (self, error);
-@@ -190,16 +185,17 @@ pk_backend_install_packages (PkBackend *self, gboolean only_trusted,
+@@ -155,17 +151,31 @@ pk_backend_simulate_install_packages_thread (PkBackend *self)
+ static gboolean
+ pk_backend_install_packages_thread (PkBackend *self)
+ {
++ gboolean only_trusted;
+ GError *error = NULL;
+
+ g_return_val_if_fail (self != NULL, FALSE);
+
++ only_trusted = pk_backend_get_bool (self, "only_trusted");
++
++ if (!only_trusted && !pk_backend_disable_signatures (self, &error)) {
++ goto out;
++ }
++
+ if (pk_backend_transaction_initialize (self, 0, &error) &&
+ pk_backend_transaction_sync_targets (self, &error) &&
+ pk_backend_transaction_simulate (self, &error)) {
+ pk_backend_transaction_commit (self, &error);
+ }
+
+- return pk_backend_transaction_finish (self, error);
++ pk_backend_transaction_end (self, (error == NULL) ? &error : NULL);
++out:
++ if (!only_trusted) {
++ GError **e = (error == NULL) ? &error : NULL;
++ pk_backend_enable_signatures (self, e);
++ }
++
++ return pk_backend_finish (self, error);
+ }
+
+ void
+@@ -190,16 +200,17 @@ pk_backend_install_packages (PkBackend *self, gboolean only_trusted,
}
static gboolean
@@ -2144,7 +2283,7 @@ index 9e1e02b..c770159 100644
const gchar *rname = alpm_pkg_get_name (rpkg);
if (pk_backend_cancelled (self)) {
-@@ -208,7 +204,7 @@ pk_backend_replaces_dependencies (PkBackend *self, pmpkg_t *pkg)
+@@ -208,7 +219,7 @@ pk_backend_replaces_dependencies (PkBackend *self, pmpkg_t *pkg)
continue;
}
@@ -2153,15 +2292,29 @@ index 9e1e02b..c770159 100644
return FALSE;
}
}
-@@ -224,6 +220,7 @@ pk_backend_update_packages_thread (PkBackend *self)
+@@ -219,13 +230,21 @@ pk_backend_replaces_dependencies (PkBackend *self, pmpkg_t *pkg)
+ static gboolean
+ pk_backend_update_packages_thread (PkBackend *self)
+ {
++ gboolean only_trusted;
+ const alpm_list_t *i;
+ alpm_list_t *asdeps = NULL;
GError *error = NULL;
g_return_val_if_fail (self != NULL, FALSE);
+ g_return_val_if_fail (alpm != NULL, FALSE);
g_return_val_if_fail (localdb != NULL, FALSE);
++ only_trusted = pk_backend_get_bool (self, "only_trusted");
++
++ if (!only_trusted && !pk_backend_disable_signatures (self, &error)) {
++ goto out;
++ }
++
if (!pk_backend_transaction_initialize (self, 0, &error) ||
-@@ -233,8 +230,8 @@ pk_backend_update_packages_thread (PkBackend *self)
+ !pk_backend_transaction_sync_targets (self, &error) ||
+ !pk_backend_transaction_simulate (self, &error)) {
+@@ -233,8 +252,8 @@ pk_backend_update_packages_thread (PkBackend *self)
}
/* change the install reason of packages that replace dependencies */
@@ -2172,7 +2325,7 @@ index 9e1e02b..c770159 100644
const gchar *name = alpm_pkg_get_name (pkg);
if (pk_backend_cancelled (self)) {
-@@ -254,7 +251,8 @@ pk_backend_update_packages_thread (PkBackend *self)
+@@ -254,14 +273,22 @@ pk_backend_update_packages_thread (PkBackend *self)
for (i = asdeps; i != NULL; i = i->next) {
const gchar *name = (const gchar *) i->data;
@@ -2182,6 +2335,21 @@ index 9e1e02b..c770159 100644
}
out:
++ pk_backend_transaction_end (self, (error == NULL) ? &error : NULL);
++
++ if (!only_trusted) {
++ GError **e = (error == NULL) ? &error : NULL;
++ pk_backend_enable_signatures (self, e);
++ }
++
+ alpm_list_free_inner (asdeps, g_free);
+ alpm_list_free (asdeps);
+
+- return pk_backend_transaction_finish (self, error);
++ return pk_backend_finish (self, error);
+ }
+
+ void
diff --git a/backends/alpm/pk-backend-transaction.c b/backends/alpm/pk-backend-transaction.c
index fdb840e..76402f0 100644
--- a/backends/alpm/pk-backend-transaction.c
diff --git a/community/par2cmdline/PKGBUILD b/community/par2cmdline/PKGBUILD
new file mode 100644
index 000000000..9b37571a5
--- /dev/null
+++ b/community/par2cmdline/PKGBUILD
@@ -0,0 +1,34 @@
+# $Id: PKGBUILD 62520 2012-01-20 16:52:42Z seblu $
+# Maintainer: Sébastien Luttringer <seblu@aur.archlinux.org
+# Contributor: BlackEagle < ike DOT devolder AT gmail DOT com >
+
+pkgname=par2cmdline
+pkgver=0.5.3
+pkgrel=1
+pkgdesc='A PAR 2.0 compatible file verification and repair tool'
+url='https://github.com/BlackIkeEagle/par2cmdline'
+license=('GPL2')
+arch=('i686' 'x86_64')
+source=("https://github.com/downloads/BlackIkeEagle/$pkgname/$pkgname-$pkgver.tar.xz")
+md5sums=('708db095eac3d83f21ce27b8be123c54')
+
+build() {
+ cd ${pkgname}-${pkgver}
+ aclocal
+ automake --add-missing
+ autoconf
+ ./configure --prefix=/usr
+ make
+}
+
+check() {
+ cd ${pkgname}-${pkgver}
+ make check
+}
+
+package() {
+ cd ${pkgname}-${pkgver}
+ make DESTDIR="$pkgdir" install
+}
+
+# vim:set ts=2 sw=2 ft=sh et:
diff --git a/community/picard/PKGBUILD b/community/picard/PKGBUILD
index dcc8aba90..9feb1be34 100644
--- a/community/picard/PKGBUILD
+++ b/community/picard/PKGBUILD
@@ -1,17 +1,18 @@
-# $Id: PKGBUILD 58419 2011-11-12 17:18:36Z ibiru $
+# $Id: PKGBUILD 62594 2012-01-22 09:34:17Z bisson $
# Maintainer: Gaetan Bisson <bisson@archlinux.org>
# Maintainer: Mateusz Herych <heniekk@gmail.com>
# Contributor: sysrq
pkgname=picard
pkgver=0.16
-pkgrel=3
+pkgrel=4
pkgdesc='Official MusicBrainz tagger'
url='http://musicbrainz.org/doc/MusicBrainz_Picard'
license=('GPL')
arch=('i686' 'x86_64' 'mips64el')
depends=('python2-pyqt' 'mutagen' 'libofa' 'ffmpeg')
-optdepends=('libdiscid: CD-Lookup feature')
+optdepends=('libdiscid: CD lookup'
+ 'chromaprint: fingerprinting')
source=("http://ftp.musicbrainz.org/pub/musicbrainz/${pkgname}/${pkgname}-${pkgver}.tar.gz")
sha1sums=('274071410550ee29051bb0137d72602921a015f9')
diff --git a/community/pidgin-gfire/PKGBUILD b/community/pidgin-gfire/PKGBUILD
new file mode 100644
index 000000000..9abfa1f83
--- /dev/null
+++ b/community/pidgin-gfire/PKGBUILD
@@ -0,0 +1,27 @@
+# Maintainer: Sven-Hendrik Haase <sh@lutzhaase.com>
+# Contributor: Slash <demodevil5[at]yahoo[dot]com>
+# Contributor: LookTJ <jesus[dot]christ[dot]i[dot]love[at]gmail[dot]com>
+
+pkgname=pidgin-gfire
+pkgver=0.9.4
+pkgrel=3
+pkgdesc="Gfire is an Plugin for the Pidgin IM client which allows you to connect the Xfire network."
+arch=('i686' 'x86_64')
+url="http://gfireproject.org/"
+license=('GPL')
+depends=('glib2' 'libpurple' 'libnotify' 'gtk2')
+makedepends=('pkgconfig' 'intltool' 'libtool')
+source=("http://downloads.sourceforge.net/gfire/pidgin-gfire-$pkgver.tar.bz2" "gfire-libnotify.patch")
+md5sums=('7167828fd77200603a318afdd4d9ebd2'
+ '5d6fc2b98837fbebba6bef2648699d5e')
+options=(!libtool)
+
+build() {
+ cd "$srcdir/pidgin-gfire-$pkgver"
+
+ patch -p0 -i ../gfire-libnotify.patch
+ ./autogen.sh
+ ./configure --prefix=/usr --enable-libnotify
+ make
+ make DESTDIR="$pkgdir" install
+}
diff --git a/community/pidgin-gfire/gfire-libnotify.patch b/community/pidgin-gfire/gfire-libnotify.patch
new file mode 100644
index 000000000..51e744cd9
--- /dev/null
+++ b/community/pidgin-gfire/gfire-libnotify.patch
@@ -0,0 +1,21 @@
+--- src/gf_util.c 2011-03-14 21:19:46.987545000 +0100
++++ src/gf_util.c 2011-04-18 03:36:24.970676551 +0200
+@@ -612,7 +612,7 @@
+ if(!gfire_notify_init() || !p_title)
+ return;
+
+- NotifyNotification *notification = notify_notification_new(p_title, p_msg, NULL, NULL);
++ NotifyNotification *notification = notify_notification_new(p_title, p_msg, NULL);
+ notify_notification_set_urgency(notification, NOTIFY_URGENCY_NORMAL);
+ notify_notification_set_timeout(notification, NOTIFY_EXPIRES_DEFAULT);
+ g_signal_connect(notification, "closed", G_CALLBACK(gfire_notify_closed_cb), NULL);
+@@ -637,7 +637,7 @@
+ return;
+ }
+
+- notification = notify_notification_new(p_title, p_msg, NULL, NULL);
++ notification = notify_notification_new(p_title, p_msg, NULL);
+
+ // Get Buddy Icon
+ PurpleBuddyIcon *icon = purple_buddy_get_icon(p_buddy);
+
diff --git a/community/python-memcached/PKGBUILD b/community/python-memcached/PKGBUILD
index 52b99ad1f..f90b83dae 100644
--- a/community/python-memcached/PKGBUILD
+++ b/community/python-memcached/PKGBUILD
@@ -2,16 +2,16 @@
# Contributor: Geoffroy Carrier <geoffroy.carrier@aur.archlinux.org>
# Contributor: Nathan Jones <nathanj@insightbb.com>
pkgname=python-memcached
-pkgver=1.47
+pkgver=1.48
pkgrel=1
pkgdesc="A Python interface to memcached"
-depends=('python2')
-makedepends=('setuptools')
-source=(ftp://ftp.tummy.com/pub/$pkgname/$pkgname-$pkgver.tar.gz LICENSE)
url="ftp://ftp.tummy.com/pub/python-memcached/"
-license=('Python')
arch=('i686' 'x86_64' 'mips64el')
-md5sums=('e4e9d65e5721a1bb01f8d657ddf3f03e'
+license=('Python')
+source=(ftp://ftp.tummy.com/pub/$pkgname/$pkgname-$pkgver.tar.gz LICENSE)
+makedepends=('setuptools')
+depends=('python2')
+md5sums=('58f8c328304df6aca1f8b60170e98932'
'5286ea4c34766a357085694e0984f116')
build() {
diff --git a/community/python-mpi4py/PKGBUILD b/community/python-mpi4py/PKGBUILD
index e48458f39..454a96961 100644
--- a/community/python-mpi4py/PKGBUILD
+++ b/community/python-mpi4py/PKGBUILD
@@ -1,17 +1,17 @@
-# $Id: PKGBUILD 60172 2011-12-06 14:17:13Z stephane $
+# $Id: PKGBUILD 62551 2012-01-21 03:26:53Z stephane $
# Maintainer : Stéphane Gaudreault <stephane@archlinux.org>
# Contributor: Sebastien Binet <binet@cern.ch>
pkgbase=python-mpi4py
pkgname=('python-mpi4py' 'python2-mpi4py')
-pkgver=1.2.2
-pkgrel=5
+pkgver=1.3
+pkgrel=1
arch=('i686' 'x86_64' 'mips64el')
url="http://mpi4py.scipy.org"
license=('BSD')
makedepends=('python' 'python2' 'python-distribute' 'python2-distribute' 'openmpi')
source=(http://mpi4py.googlecode.com/files/mpi4py-${pkgver}.tar.gz)
-sha1sums=('e08d09257794a85d010a22ad9bda9d1c89a6258f')
+sha1sums=('282c1b9e35b242c9bd86126ebc5af6c70d8c2833')
build() {
cd "${srcdir}"
diff --git a/community/roxterm/PKGBUILD b/community/roxterm/PKGBUILD
index 42d7051a2..66bbc18d0 100644
--- a/community/roxterm/PKGBUILD
+++ b/community/roxterm/PKGBUILD
@@ -1,10 +1,10 @@
-# $Id: PKGBUILD 62226 2012-01-18 16:36:56Z ttopper $
+# $Id: PKGBUILD 62568 2012-01-21 14:00:13Z ttopper $
# Maintainer: Thorsten Töpper <atsutane-tu@freethoughts.de>
# Contributor: Alexander Fehr <pizzapunk gmail com>
pkgname=roxterm
pkgver=2.4.2
-pkgrel=1
+pkgrel=2
pkgdesc="Tabbed, VTE-based terminal emulator"
arch=('i686' 'x86_64' 'mips64el')
url="http://roxterm.sourceforge.net/"
@@ -20,13 +20,13 @@ md5sums=('7c3bb1471f814a8bfdfcf169ad18e425')
build() {
cd "${srcdir}/roxterm-${pkgver}"
- python2 mscript.py configure
+ python2 mscript.py configure --prefix="/usr"
python2 mscript.py build
}
package() {
cd "${srcdir}/roxterm-${pkgver}"
- python2 mscript.py install --destdir=${pkgdir} --prefix="usr"
+ python2 mscript.py install --destdir="${pkgdir}"
}
# vim:set ts=2 sw=2 et:
diff --git a/community/snort/PKGBUILD b/community/snort/PKGBUILD
index d35dfeba4..178925eb6 100644
--- a/community/snort/PKGBUILD
+++ b/community/snort/PKGBUILD
@@ -1,4 +1,4 @@
-# $Id: PKGBUILD 60676 2011-12-16 19:35:40Z lfleischer $
+# $Id: PKGBUILD 62466 2012-01-20 07:55:34Z lfleischer $
# Maintainer: Lukas Fleischer <archlinux at cryptocrack dot de>
# Contributor: Hugo Doria <hugo@archlinux.org>
# Contributor: Kessia 'even' Pinheiro <kessiapinheiro at gmail.com>
@@ -6,7 +6,7 @@
# Contributor: Gregor Ibic <gregor.ibic@intelicom.si>
pkgname=snort
-pkgver=2.9.2
+pkgver=2.9.2.1
pkgrel=1
pkgdesc='A lightweight network intrusion detection system.'
arch=('i686' 'x86_64' 'mips64el')
@@ -21,10 +21,10 @@ backup=('etc/conf.d/snort'
'etc/snort/classification.config')
options=('!makeflags' '!libtool')
install='snort.install'
-source=('http://www.snort.org/downloads/1347'
+source=('http://www.snort.org/downloads/1419'
'snort'
'snort.conf.d')
-md5sums=('22fa07ba915535b151329056439ae194'
+md5sums=('2f3e2b6ee72adbdfac73cb1c6c14bd61'
'361b8b9e40b9af0164f6b3e3da2e8277'
'b4fb8a68490589cd34df93de7609bfac')
diff --git a/community/tinyproxy/PKGBUILD b/community/tinyproxy/PKGBUILD
index 841333712..230ccbc55 100644
--- a/community/tinyproxy/PKGBUILD
+++ b/community/tinyproxy/PKGBUILD
@@ -1,21 +1,22 @@
-# $Id: PKGBUILD 61689 2012-01-06 19:23:37Z lfleischer $
+# $Id: PKGBUILD 62660 2012-01-23 13:31:10Z lfleischer $
# Maintainer: Lukas Fleischer <archlinux at cryptocrack dot de>
# Contributor: Andrea Zucchelli <zukka77@gmail.com>
pkgname=tinyproxy
pkgver=1.8.3
-pkgrel=2
+pkgrel=3
pkgdesc='A light-weight HTTP proxy daemon for POSIX operating systems.'
arch=('i686' 'x86_64' 'mips64el')
url='https://banu.com/tinyproxy/'
license=('GPL')
makedepends=('asciidoc')
+install="${pkgname}.install"
backup=('etc/tinyproxy/tinyproxy.conf')
source=("https://banu.com/pub/${pkgname}/1.8/${pkgname}-${pkgver}.tar.bz2"
'tinyproxy'
'tinyproxy.tmpfiles.conf')
md5sums=('292ac51da8ad6ae883d4ebf56908400d'
- '464b5d60b1c9cbae26367fe2337c2d77'
+ '90eb2b3371e56d5a784fd826d4a6e5f8'
'3c2764578f26581346fe312da0519a3e')
build() {
diff --git a/community/tinyproxy/tinyproxy b/community/tinyproxy/tinyproxy
index 86ba7b77c..5580ea804 100755
--- a/community/tinyproxy/tinyproxy
+++ b/community/tinyproxy/tinyproxy
@@ -8,11 +8,7 @@ PID=$(pidof -o %PPID /usr/sbin/tinyproxy)
start() {
stat_busy "Starting Tinyproxy"
- if [ ! -d /var/run/tinyproxy ]; then
- mkdir -p /var/run/tinyproxy && chown nobody:nobody /var/run/tinyproxy
- fi
-
- [ -z "$PID" ] && rm -f /var/run/tinyproxy.pid && \
+ [ -z "$PID" ] && rm -f /var/run/tinyproxy/tinyproxy.pid && \
/usr/sbin/tinyproxy -c /etc/tinyproxy/tinyproxy.conf 2>/dev/null
if [ $? -gt 0 ]; then
diff --git a/community/tinyproxy/tinyproxy.install b/community/tinyproxy/tinyproxy.install
new file mode 100644
index 000000000..85f3dfc41
--- /dev/null
+++ b/community/tinyproxy/tinyproxy.install
@@ -0,0 +1,9 @@
+post_install() {
+ if [ ! -d /var/run/tinyproxy ]; then
+ install -dm0770 -o nobody -g nobody /var/run/tinyproxy
+ fi
+}
+
+post_upgrade() {
+ post_install "$@"
+}