diff options
author | root <root@rshg054.dnsready.net> | 2012-11-23 02:33:48 -0800 |
---|---|---|
committer | root <root@rshg054.dnsready.net> | 2012-11-23 02:33:48 -0800 |
commit | 1fce42e9327109bd47dba5e3e690144a23bbbc19 (patch) | |
tree | e48f488b533fcfa9f4e29f6d2b935e57adf0a178 | |
parent | 13c6302fab6118693af345756375923b9fb7da69 (diff) |
Fri Nov 23 02:31:09 PST 2012
38 files changed, 765 insertions, 66 deletions
diff --git a/community/ecryptfs-utils/PKGBUILD b/community/ecryptfs-utils/PKGBUILD index 7bfc5c9d6..f90fe4a60 100644 --- a/community/ecryptfs-utils/PKGBUILD +++ b/community/ecryptfs-utils/PKGBUILD @@ -1,11 +1,11 @@ -# $Id: PKGBUILD 74862 2012-08-07 15:20:01Z tredaelli $ +# $Id: PKGBUILD 80488 2012-11-22 19:34:12Z tredaelli $ # Maintainer: Timothy Redaelli <timothy.redaelli@gmail.com> # Contributor: Richard Murri <admin@richardmurri.com> # Contributor: Michal Krenek <mikos@sg1.cz> pkgname=ecryptfs-utils -pkgver=100 -pkgrel=2 +pkgver=101 +pkgrel=1 arch=('i686' 'x86_64') pkgdesc="Enterprise-class stacked cryptographic filesystem for Linux" url="https://launchpad.net/ecryptfs" @@ -13,9 +13,11 @@ license=('GPL') makedepends=('swig' 'intltool' 'gettext' 'python2') depends=('keyutils' 'nss' 'openssl') optdepends=('python2: for python module') -source=("http://launchpad.net/ecryptfs/trunk/${pkgver}/+download/${pkgname}_${pkgver}.orig.tar.gz") +source=("http://launchpad.net/ecryptfs/trunk/${pkgver}/+download/${pkgname}_${pkgver}.orig.tar.gz" + "${pkgname}_${pkgver}.orig.tar.gz.sig::http://launchpad.net/ecryptfs/trunk/${pkgver}/+download/..-${pkgname}_${pkgver}.orig.tar.gz.asc") options=(!libtool) -md5sums=('efaa5eabbd368268874536036397f73b') +md5sums=('7a17714b2e4555a79d464e260b179f4f' + '51e24e3252deabec2b91811545805397') build() { cd "$srcdir/${pkgname}-${pkgver}" diff --git a/community/glusterfs/PKGBUILD b/community/glusterfs/PKGBUILD new file mode 100644 index 000000000..006770423 --- /dev/null +++ b/community/glusterfs/PKGBUILD @@ -0,0 +1,72 @@ +# $Id: PKGBUILD 80469 2012-11-22 12:21:36Z spupykin $ +# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com> +# Contributors: +# Andrei Antoukh - niwi@niwi.be - http://www.niwi.be +# henning mueller <henning@orgizm.net> + +pkgname=glusterfs +_basever=3.3 +pkgver=$_basever.1 +pkgrel=1 +pkgdesc='Is a cluster file-system capable of scaling to several peta-bytes.' +arch=(i686 x86_64) +url='http://www.gluster.org/' +license=(GPL2 LGPL3) +depends=(fuse python2 libxml2) +makedepends=(flex bison) +options=(!libtool) +source=(http://download.gluster.org/pub/gluster/glusterfs/$_basever/$pkgver/glusterfs-$pkgver.tar.gz + glusterd.rc + glusterd.service) +sha256sums=('19aaefe3a0f9059ae831b44c92944503cf439da82da23467101ac13da8b77519' + 'f8c113d2a101c93f0e899ba498d0cb6308caf02da37552f12245a863bec39ab4' + 'e9aa54fcff422e0266e0f89d4bda73e0c77458f7c5443b8327db1e7b4242e6f7') +sha256sums=('19aaefe3a0f9059ae831b44c92944503cf439da82da23467101ac13da8b77519' + 'f8c113d2a101c93f0e899ba498d0cb6308caf02da37552f12245a863bec39ab4' + 'e9aa54fcff422e0266e0f89d4bda73e0c77458f7c5443b8327db1e7b4242e6f7') + +build() { + cd $srcdir/$pkgname-$pkgver + + ./configure \ + --prefix=/usr \ + --sysconfdir=/etc \ + --localstatedir=/var \ + --mandir=/usr/share/man \ + --libexecdir=/usr/lib/$pkgname \ + PYTHON=python2 + + make + + sed -i s:env\ python:env\ python2: \ + xlators/features/marker/utils/syncdaemon/gsyncd.py + sed -i s:/usr/bin/python:/usr/bin/python2: \ + contrib/ipaddr-py/ipaddr.py +} + +package() { + cd $srcdir/$pkgname-$pkgver + + mkdir -p $pkgdir/usr/sbin + make DESTDIR=$pkgdir install + mv $pkgdir/sbin/* $pkgdir/usr/sbin + rmdir $pkgdir/sbin + + install -D -m 644 \ + $srcdir/$pkgname-$pkgver/{README,INSTALL,COPYING*} \ + $pkgdir/usr/share/doc/glusterfs/ + + install -D -m 755 \ + $srcdir/glusterd.rc \ + $pkgdir/etc/rc.d/glusterd + + install -D -m 644 \ + $srcdir/glusterd.service \ + $pkgdir/usr/lib/systemd/system/glusterd.service + + cp -rf \ + $srcdir/$pkgname-$pkgver/doc/* \ + $pkgdir/usr/share/doc/glusterfs/ +} + +# vim:set ts=2 sw=2 et: diff --git a/community/glusterfs/glusterd.rc b/community/glusterfs/glusterd.rc new file mode 100644 index 000000000..61cc26476 --- /dev/null +++ b/community/glusterfs/glusterd.rc @@ -0,0 +1,39 @@ +#!/bin/sh +# Thanks to igor + +. /etc/rc.conf +. /etc/rc.d/functions + +PID="/var/run/glusterd.pid" + +case "$1" in + start) + stat_busy "Starting glusterd" + /usr/sbin/glusterd -p $PID &>/dev/null + if [ $? -gt 0 ]; then + stat_fail + else + add_daemon glusterd + stat_done + fi + ;; + stop) + stat_busy "Stopping glusterd" + kill -QUIT `cat "$PID"` &>/dev/null + if [ $? -ne 0 ]; then + stat_fail + else + rm_daemon glusterd + stat_done + fi + ;; + restart) + $0 stop + sleep 1 + $0 start + ;; + *) + echo "usage: $0 {start|stop|restart}" +esac + +exit 0 diff --git a/community/glusterfs/glusterd.service b/community/glusterfs/glusterd.service new file mode 100644 index 000000000..c44024317 --- /dev/null +++ b/community/glusterfs/glusterd.service @@ -0,0 +1,10 @@ +[Unit] +Description=Distributed filesystem daemon +After=network.target + +[Service] +Type=forking +ExecStart=/usr/sbin/glusterd + +[Install] +WantedBy=multi-user.target diff --git a/community/ktoblzcheck/PKGBUILD b/community/ktoblzcheck/PKGBUILD index e58ee970d..22fa63751 100644 --- a/community/ktoblzcheck/PKGBUILD +++ b/community/ktoblzcheck/PKGBUILD @@ -1,10 +1,10 @@ -# $Id: PKGBUILD 78201 2012-10-17 10:24:34Z allan $ +# $Id: PKGBUILD 80490 2012-11-22 19:42:25Z spupykin $ # Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com> # Contributor: Philipp Sandhaus <philipp.sandhaus@gmx.de> pkgname=ktoblzcheck -pkgver=1.39 -pkgrel=3 +pkgver=1.40 +pkgrel=1 pkgdesc="A library to check account numbers and bank codes of German banks" arch=(i686 x86_64) url="http://ktoblzcheck.sourceforge.net" @@ -14,7 +14,7 @@ depends=('gcc-libs' 'python') optdepends=('perl') source=(http://downloads.sourceforge.net/sourceforge/ktoblzcheck/ktoblzcheck-$pkgver.tar.gz ktoblzcheck-python3.patch) -md5sums=('ef5efd6e2c31aaf6405060ec477c200c' +md5sums=('fe29ec3ef8b48adf0302fd9d2607580b' 'a81a697bb3aaeffb7fac0ad7d9166e3f') build() { diff --git a/community/libee/PKGBUILD b/community/libee/PKGBUILD index 07e51185b..147342e9d 100644 --- a/community/libee/PKGBUILD +++ b/community/libee/PKGBUILD @@ -1,9 +1,9 @@ -# $Id: PKGBUILD 69124 2012-04-09 15:33:25Z jelle $ +# $Id: PKGBUILD 80464 2012-11-22 10:27:21Z spupykin $ # Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com> # Maintainer: Brian Knox <taotetek@gmail.com> pkgname=libee -pkgver=0.4.0 +pkgver=0.4.1 pkgrel=1 pkgdesc="event expression library inspired by CEE" url="http://www.libee.org/" @@ -14,7 +14,7 @@ makedepends=() optdepends=() options=(!libtool) source=("http://www.libee.org/files/download/libee-$pkgver.tar.gz") -md5sums=('257a23d5cc8f211fb99464a462bc92cd') +md5sums=('7bbf4160876c12db6193c06e2badedb2') build() { cd ${srcdir}/${pkgname}-${pkgver} diff --git a/community/openclonk/PKGBUILD b/community/openclonk/PKGBUILD new file mode 100644 index 000000000..c3aebc93c --- /dev/null +++ b/community/openclonk/PKGBUILD @@ -0,0 +1,41 @@ +$Id: PKGBUILD 80496 2012-11-22 21:30:12Z jsteel $ +# Maintainer: Jonathan Steel <mail at jsteel dot org> +# Contributor: Sven-Hendrik Haase <sh@lutzhaase.com> +# Contributor: Wesley <rudirennsau at hotmail dot com> + +pkgname=openclonk +pkgver=5.3.2 +pkgrel=1 +pkgdesc="A multiplayer-action-tactic-skill game" +arch=('i686' 'x86_64') +url="http://openclonk.org" +license=('custom') +conflicts=('openclonk-hg') +depends=('gtk2' 'glew' 'sdl_mixer' 'libxpm' 'hicolor-icon-theme' 'libupnp') +makedepends=('cmake' 'boost' 'imagemagick' 'mesa') +install=$pkgname.install +source=(http://hg.openclonk.org/$pkgname/archive/$pkgname-release-$pkgver-src.tar.gz) +md5sums=('0d43b03f10c8af7a9022f023b21bb1b3') + +build() { + cd "$srcdir"/$pkgname-release-$pkgver-src + + [[ -d build ]] && rm -rf build + mkdir build && cd build + + cmake ../ -DCMAKE_INSTALL_PREFIX=/usr + + make +} + +package() { + cd "$srcdir"/$pkgname-release-$pkgver-src/build + + make DESTDIR="$pkgdir" install + + install -Dm644 clonk.png "$pkgdir"/usr/share/pixmaps/clonk.png + + cd .. + install -dm755 "$pkgdir"/usr/share/licenses/$pkgname + install -m644 licenses/*.txt "$pkgdir"/usr/share/licenses/$pkgname +} diff --git a/community/openclonk/openclonk.install b/community/openclonk/openclonk.install new file mode 100644 index 000000000..f1aa7421c --- /dev/null +++ b/community/openclonk/openclonk.install @@ -0,0 +1,7 @@ +post_install() { + gtk-update-icon-cache -qf /usr/share/icons/hicolor +} + +post_remove() { + post_install +} diff --git a/community/pkgfile/0001-update-fix-use-after-free.patch b/community/pkgfile/0001-update-fix-use-after-free.patch new file mode 100644 index 000000000..4494224c5 --- /dev/null +++ b/community/pkgfile/0001-update-fix-use-after-free.patch @@ -0,0 +1,27 @@ +From 60559a15e170ad49b388ee442eb2ccbe483bc9aa Mon Sep 17 00:00:00 2001 +From: Dave Reisner <dreisner@archlinux.org> +Date: Mon, 19 Nov 2012 19:50:47 -0500 +Subject: [PATCH] update: fix use after free + +mark the address space as unread so that we don't attempt a double free +on a repo download failure during the final cleanup. +--- + src/update.c | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/src/update.c b/src/update.c +index c2e76e5..0b4fb8a 100644 +--- a/src/update.c ++++ b/src/update.c +@@ -552,7 +552,7 @@ static int add_repo_download(CURLM *multi, struct repo_t *repo) + } else { + curl_multi_remove_handle(multi, repo->curl); + FREE(repo->url); +- free(repo->data); ++ FREE(repo->data); + repo->buflen = 0; + repo->server_idx++; + } +-- +1.8.0 + diff --git a/community/pkgfile/PKGBUILD b/community/pkgfile/PKGBUILD index 1ab0717c3..5f176cdb0 100644 --- a/community/pkgfile/PKGBUILD +++ b/community/pkgfile/PKGBUILD @@ -1,9 +1,9 @@ -# $Id: PKGBUILD 80220 2012-11-17 22:28:33Z dreisner $ +# $Id: PKGBUILD 80498 2012-11-23 00:24:41Z dreisner $ # Maintainer: Dave Reisner <dreisner@archlinux.org> pkgname=pkgfile pkgver=7 -pkgrel=1 +pkgrel=2 pkgdesc="a pacman .files metadata explorer" arch=('i686' 'x86_64') url="http://github.com/falconindy/pkgfile" @@ -11,13 +11,18 @@ license=('MIT') depends=('libarchive' 'curl' 'pcre' 'pacman') conflicts=('pkgtools<24-2') makedepends=('perl') -source=("https://github.com/downloads/falconindy/$pkgname/$pkgname-$pkgver.tar.xz"{,.sig}) +source=("https://github.com/downloads/falconindy/$pkgname/$pkgname-$pkgver.tar.xz"{,.sig} + '0001-update-fix-use-after-free.patch') install=pkgfile.install md5sums=('f1dc0052b1c21597ea2fa0f0ce05608c' - '28599a9b6e56860a9cba1c95ec797551') + '28599a9b6e56860a9cba1c95ec797551' + 'a4f505d080795fd0c10fd1d93b4520f6') build() { cd "$pkgname-$pkgver" + + patch -Np1 <"$srcdir/0001-update-fix-use-after-free.patch" + ./configure make diff --git a/community/pylibacl/PKGBUILD b/community/pylibacl/PKGBUILD index f43670048..85dd5173c 100644 --- a/community/pylibacl/PKGBUILD +++ b/community/pylibacl/PKGBUILD @@ -1,17 +1,17 @@ -# $Id: PKGBUILD 57855 2011-11-03 18:43:59Z lfleischer $ +# $Id: PKGBUILD 80486 2012-11-22 18:15:22Z lfleischer $ # Maintainer: Lukas Fleischer <archlinux at cryptocrack dot de> pkgname=pylibacl -pkgver=0.5.0 -pkgrel=2 +pkgver=0.5.1 +pkgrel=1 pkgdesc='A python extension module that allows you to manipulate the POSIX.1e ACLs.' arch=('i686' 'x86_64') -url='http://pylibacl.sourceforge.net/' +url='http://pylibacl.k1024.org/' license=('GPL') depends=('python2') makedepends=('python2-distribute') -source=("http://downloads.sourceforge.net/${pkgname}/${pkgname}-${pkgver}.tar.gz") -md5sums=('b9d34da90e6da0813115071b3a1ab204') +source=("https://github.com/downloads/iustin/${pkgname}/${pkgname}-${pkgver}.tar.gz") +md5sums=('a429256345ffdc2cea57fd24da0d980d') package() { cd "${srcdir}/${pkgname}-${pkgver}" diff --git a/community/schroot/PKGBUILD b/community/schroot/PKGBUILD index abaf0e165..3e850460d 100644 --- a/community/schroot/PKGBUILD +++ b/community/schroot/PKGBUILD @@ -1,10 +1,10 @@ -# $Id: PKGBUILD 80297 2012-11-19 14:37:12Z spupykin $ +# $Id: PKGBUILD 80475 2012-11-22 15:02:06Z spupykin $ # Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com> # Contributor: Andreas Wagner <Andreas dot Wagner at em dot uni-frankfurt dot de> pkgname=schroot pkgver=1.6.3 -pkgrel=2 +pkgrel=3 pkgdesc="Allows users to execute shell commands under different root filesystems. (Successor to dchroot)." url="http://packages.qa.debian.org/s/schroot.html" license=('GPL3') @@ -30,7 +30,7 @@ source=("http://ftp.debian.org/debian/pool/main/s/$pkgname/${pkgname}_${pkgver}. 'fix-bash-completion.patch') md5sums=('f6b1badef213ce8e9ef37bb3fc213390' 'a8d77cac806a0a9adef3f93cdbeb280a' - '1e34db5387c4e5de911e15d8a9208bdb' + '54239847f89b9a4772910415bde6276a' '5a3f7b839c7e0b8933748da7c5b6385b' 'ddb2f09c02b24dab777110f9808472e1' 'f0d5d5b5e34a860f6f90b5628c680f46' diff --git a/community/schroot/arch32-example b/community/schroot/arch32-example index 3f059e3c0..4781914b1 100644 --- a/community/schroot/arch32-example +++ b/community/schroot/arch32-example @@ -5,6 +5,6 @@ directory=/opt/arch32 #users=username groups=users root-groups=root -script-config=arch32/config +profile=arch32 personality=linux32 #aliases=32,i686 diff --git a/community/sshguard/PKGBUILD b/community/sshguard/PKGBUILD index ef71cd6d2..f52725501 100644 --- a/community/sshguard/PKGBUILD +++ b/community/sshguard/PKGBUILD @@ -1,10 +1,10 @@ -# $Id: PKGBUILD 79972 2012-11-15 09:06:26Z mtorromeo $ +# $Id: PKGBUILD 80462 2012-11-22 08:40:25Z mtorromeo $ # Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com> # Maintainer: Massimiliano Torromeo <massimiliano.torromeo@gmail.com> pkgname=sshguard pkgver=1.5 -pkgrel=8 +pkgrel=9 pkgdesc="Brute force detector for SSH, Exim, VSFTPD and more. Blocks by ip with iptables" arch=('i686' 'x86_64') #url="http://sourceforge.net/projects/sshguard/" @@ -21,7 +21,7 @@ source=("http://downloads.sourceforge.net/sourceforge/sshguard/sshguard-$pkgver. sha256sums=('b537f8765455fdf8424f87d4bd695e5b675b88e5d164865452137947093e7e19' 'a810da878e40be8616a93c9984e7dbd3700367d665b78b8aa2498228bb33cb6e' '66f28e2cc81e5686f8fd5c0d5a5015d7feecbe018a259f4032cfbacf6fe8d1c3' - '12e576713f7ed9c87cc36417fd8bb8dd613b9d27f06cae9dd0a1aae9ca65acd7' + '2b2a3c1140349296c3629e77f74c3b29f4ef2ce5f77cb3a811cbed5b46d23028' '9491c4cd23d789dd04af551e16dc123f1517ca02ad3539f25715bbeec70ee21e') build() { diff --git a/community/sshguard/sshguard.service b/community/sshguard/sshguard.service index 72e76be40..9340d8e9f 100644 --- a/community/sshguard/sshguard.service +++ b/community/sshguard/sshguard.service @@ -1,6 +1,7 @@ [Unit] Description=Block hacking attempts After=iptables.service network.target +Wants=iptables.service [Service] ExecStart=/usr/lib/systemd/scripts/sshguard-journalctl -b /var/db/sshguard/blacklist.db diff --git a/community/tor/PKGBUILD b/community/tor/PKGBUILD index d4dc0067b..6a1b3ec48 100644 --- a/community/tor/PKGBUILD +++ b/community/tor/PKGBUILD @@ -1,10 +1,10 @@ -# $Id: PKGBUILD 79370 2012-11-03 16:57:39Z lfleischer $ +# $Id: PKGBUILD 80483 2012-11-22 17:38:18Z lfleischer $ # Maintainer: Lukas Fleischer <archlinux at cryptocrack dot de> # Contributor: simo <simo@archlinux.org> pkgname=tor -pkgver=0.2.2.39 -pkgrel=2 +pkgver=0.2.3.25 +pkgrel=1 pkgdesc='Anonymizing overlay network.' arch=('i686' 'x86_64') url='http://www.torproject.org/' @@ -21,12 +21,12 @@ source=("http://www.torproject.org/dist/${pkgname}-${pkgver}.tar.gz"{,.asc} 'tor' 'tor.conf.d' 'tor.service') -md5sums=('9157a1f02fcda9d7d2c5744176373abd' - '7944de0693fccf65fe0e3ea6712887b6' +md5sums=('a1c364189a9a66ed9daa8e6436489daf' + 'a4c12795ffb8f68550a5dab4a9eb0654' '56c75d4e8a66f34167d31e38c43793dd' 'f8e6868a389877346e7eebaacd1078bb' '5c7c6834064b3530c442def6079ac3aa' - '98901f7dfa85b352b806ba7b0d66b7d0') + 'b8989a7b3ab39d697624b243f7fc255d') build() { cd "${srcdir}/${pkgname}-${pkgver}" diff --git a/community/tor/tor.service b/community/tor/tor.service index a4bc1ac51..33bbc0776 100644 --- a/community/tor/tor.service +++ b/community/tor/tor.service @@ -5,10 +5,10 @@ After=network.target [Service] Type=forking GuessMainPID=yes -EnvironmentFile=/etc/conf.d/tor -ExecStart=/usr/bin/tor -f $TOR_CONF $TOR_ARGS +ExecStart=/usr/bin/tor -f /etc/tor/torrc --quiet ExecReload=/bin/kill -HUP $MAINPID KillSignal=SIGINT +LimitNOFILE=8192 [Install] WantedBy=multi-user.target diff --git a/community/tvtime/PKGBUILD b/community/tvtime/PKGBUILD index 00442105e..d5e6eb6d2 100644 --- a/community/tvtime/PKGBUILD +++ b/community/tvtime/PKGBUILD @@ -1,10 +1,10 @@ -# $Id: PKGBUILD 63761 2012-02-05 12:12:36Z ibiru $ +# $Id: PKGBUILD 80477 2012-11-22 15:02:49Z spupykin $ # Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com> # Maintainer:thefatprecious <marty@loomar.com> pkgname=tvtime pkgver=1.0.2 -pkgrel=3 +pkgrel=4 pkgdesc="A high quality television application for use with video capture cards" arch=('i686' 'x86_64') url='http://tvtime.sourceforge.net/' @@ -23,12 +23,19 @@ md5sums=('4b3d03afe61be239b08b5e522cd8afed' build() { cd $srcdir/$pkgname-$pkgver + patch -p1 < ../tvtime-1.0.2+linux-headers-2.6.18.patch patch -p1 < ../tvtime-1.0.2-gcc41.patch patch -p1 < ../tvtime-1.0.2-locale_t.patch sed -i '1,1i#include <zlib.h>' src/pngoutput.c + echo "StartupWMClass=tvtime" >>docs/net-tvtime.desktop + [ -f Makefile ] || ./configure --prefix=/usr --mandir=/usr/share/man --localstatedir=/var --sysconfdir=/etc make +} + +package() { + cd $srcdir/$pkgname-$pkgver make DESTDIR=$pkgdir install install -D -m644 docs/html/default.tvtime.xml $pkgdir/usr/share/tvtime/default.tvtime.xml } diff --git a/extra/accountsservice/PKGBUILD b/extra/accountsservice/PKGBUILD index 557b59218..25244de8e 100644 --- a/extra/accountsservice/PKGBUILD +++ b/extra/accountsservice/PKGBUILD @@ -1,8 +1,8 @@ -# $Id: PKGBUILD 171616 2012-11-20 14:31:04Z heftig $ +# $Id: PKGBUILD 171876 2012-11-22 07:10:34Z heftig $ # Maintainer: Ionut Biru <ibiru@archlinux.org> pkgname=accountsservice -pkgver=0.6.28 +pkgver=0.6.29 pkgrel=1 pkgdesc="D-Bus interface for user account query and manipulation" arch=(i686 x86_64) @@ -12,7 +12,7 @@ depends=('glib2' 'polkit' 'systemd') makedepends=('intltool' 'gobject-introspection' 'vala') options=('!libtool') source=($url/$pkgname-$pkgver.tar.xz more-exclusions.patch) -md5sums=('311458f6ea444d64f298a2048bb4d8cf' +md5sums=('396c16f39711e24bb7cc685a170befa3' '1d5cf127e5aac407fe7c37b2f4fd503c') build() { diff --git a/extra/libsecret/PKGBUILD b/extra/libsecret/PKGBUILD index c7a51e800..1dcd39f3f 100644 --- a/extra/libsecret/PKGBUILD +++ b/extra/libsecret/PKGBUILD @@ -3,13 +3,13 @@ pkgname=libsecret pkgver=0.12 -pkgrel=1 +pkgrel=2 pkgdesc='library for storing and retrieving passwords and other secrets.' arch=('i686' 'x86_64') license=('LGPL') url="https://live.gnome.org/Libsecret" depends=('glib2' 'libgcrypt') -makedepends=('intltool' 'docbook-xsl') +makedepends=('intltool' 'docbook-xsl' 'gobject-introspection') options=('!libtool') source=(http://ftp.gnome.org/pub/gnome/sources/$pkgname/$pkgver/$pkgname-$pkgver.tar.xz) sha256sums=('323db75a5e73058d3eb95597d9f798fd715ec7d58f500be84628b8f9a0617c01') diff --git a/extra/php/PKGBUILD b/extra/php/PKGBUILD index cdf86575e..2b9d5f14c 100644 --- a/extra/php/PKGBUILD +++ b/extra/php/PKGBUILD @@ -1,4 +1,4 @@ -# $Id: PKGBUILD 171518 2012-11-18 10:28:03Z andyrtr $ +# $Id: PKGBUILD 171900 2012-11-22 18:08:46Z pierre $ # Maintainer: Pierre Schmitz <pierre@archlinux.de> pkgbase=php @@ -21,8 +21,8 @@ pkgname=('php' 'php-sqlite' 'php-tidy' 'php-xsl') -pkgver=5.4.8 -pkgrel=2 +pkgver=5.4.9 +pkgrel=1 arch=('i686' 'x86_64') license=('PHP') url='http://www.php.net' @@ -33,7 +33,7 @@ makedepends=('apache' 'imap' 'postgresql-libs' 'libldap' 'postfix' 'libvpx' source=("http://www.php.net/distributions/${pkgbase}-${pkgver}.tar.bz2" 'php.ini.patch' 'apache.conf' 'rc.d.php-fpm' 'php-fpm.conf.in.patch' 'logrotate.d.php-fpm' 'php-fpm.service' 'php-fpm.tmpfiles') -md5sums=('bb8c816a9299be8995255ef70c63b800' +md5sums=('076a9f84d861d3f664a2878d5773ba78' '0b0bc7a917fc592bdf11dcd3c5c255e9' 'dec2cbaad64e3abf4f0ec70e1de4e8e9' '3cfde0cc4ed09b55f1ce531437a4eb88' diff --git a/extra/qjson/PKGBUILD b/extra/qjson/PKGBUILD index 61ca3a799..a9c5b6d47 100644 --- a/extra/qjson/PKGBUILD +++ b/extra/qjson/PKGBUILD @@ -1,29 +1,28 @@ -# $Id: PKGBUILD 145864 2012-01-03 12:44:42Z andrea $ +# $Id: PKGBUILD 171883 2012-11-22 10:46:44Z andrea $ # Maintainer: Andrea Scarpino <andrea@archlinux.org> pkgname=qjson -pkgver=0.7.1 -pkgrel=2 +pkgver=0.8.0 +pkgrel=1 pkgdesc="A qt-based library that maps JSON data to QVariant objects" arch=('i686' 'x86_64') license=('GPL') url="http://qjson.sourceforge.net" depends=('qt') makedepends=('cmake') -source=("http://downloads.sourceforge.net/${pkgname}/${pkgname}-${pkgver}.tar.bz2") -md5sums=('5a833ad606c164ed8aa69f0873366ace') +source=(${pkgname}-${pkgver}.tar.gz::"https://github.com/flavio/${pkgname}/archive/${pkgver}.tar.gz") +md5sums=('e9537e6f596f21f0552978bf064a0415') build() { - cd "${srcdir}" mkdir build cd build - cmake ../${pkgname} \ + cmake ../${pkgname}-${pkgver} \ -DCMAKE_INSTALL_PREFIX=/usr \ -DCMAKE_BUILD_TYPE=Release make } package() { - cd "${srcdir}/build" + cd build make DESTDIR="${pkgdir}" install } diff --git a/extra/xf86-video-sis/0001-Disable-UploadToScreen-and-DownloadFromScreen.patch b/extra/xf86-video-sis/0001-Disable-UploadToScreen-and-DownloadFromScreen.patch new file mode 100644 index 000000000..90e93b403 --- /dev/null +++ b/extra/xf86-video-sis/0001-Disable-UploadToScreen-and-DownloadFromScreen.patch @@ -0,0 +1,66 @@ +From c0ff117d3e19e14829a21d89673e03f9d6389043 Mon Sep 17 00:00:00 2001 +From: Jan de Groot <jgc@archlinux.org> +Date: Thu, 22 Nov 2012 15:04:42 +0100 +Subject: [PATCH] Disable UploadToScreen and DownloadFromScreen. These + functions use invalid pointers, causing crashes. As the + driver is technically unmaintained, it's better to rely on + software fallback than trying to fix the driver + implementation. + +--- + src/sis300_accel.c | 2 ++ + src/sis310_accel.c | 2 ++ + src/sis_accel.c | 2 ++ + 3 files changed, 6 insertions(+) + +diff --git a/src/sis300_accel.c b/src/sis300_accel.c +index af0527d..2162d76 100644 +--- a/src/sis300_accel.c ++++ b/src/sis300_accel.c +@@ -1273,9 +1273,11 @@ SiS300AccelInit(ScreenPtr pScreen) + + /* Composite not supported */ + ++#if 0 + /* Upload, download to/from Screen */ + pSiS->EXADriverPtr->UploadToScreen = SiSUploadToScreen; + pSiS->EXADriverPtr->DownloadFromScreen = SiSDownloadFromScreen; ++#endif + + } else { + +diff --git a/src/sis310_accel.c b/src/sis310_accel.c +index 1a6f639..20106ce 100644 +--- a/src/sis310_accel.c ++++ b/src/sis310_accel.c +@@ -2303,9 +2303,11 @@ SiS315AccelInit(ScreenPtr pScreen) + } + #endif + ++#if 0 + /* Upload, download to/from Screen */ + pSiS->EXADriverPtr->UploadToScreen = SiSUploadToScreen; + pSiS->EXADriverPtr->DownloadFromScreen = SiSDownloadFromScreen; ++#endif + + } + #endif +diff --git a/src/sis_accel.c b/src/sis_accel.c +index c2c24c7..bb08296 100644 +--- a/src/sis_accel.c ++++ b/src/sis_accel.c +@@ -801,9 +801,11 @@ SiSAccelInit(ScreenPtr pScreen) + + /* Composite not supported */ + ++#if 0 + /* Upload, download to/from Screen */ + pSiS->EXADriverPtr->UploadToScreen = SiSUploadToScreen; + pSiS->EXADriverPtr->DownloadFromScreen = SiSDownloadFromScreen; ++#endif + + } + #endif /* EXA */ +-- +1.8.0 + diff --git a/extra/xf86-video-sis/PKGBUILD b/extra/xf86-video-sis/PKGBUILD index a44bde11c..fb0840cb0 100644 --- a/extra/xf86-video-sis/PKGBUILD +++ b/extra/xf86-video-sis/PKGBUILD @@ -1,9 +1,9 @@ -# $Id: PKGBUILD 168588 2012-10-13 11:45:51Z andyrtr $ +# $Id: PKGBUILD 171889 2012-11-22 14:24:06Z jgc $ # Maintainer: Jan de Groot <jgc@archlinux.org> pkgname=xf86-video-sis pkgver=0.10.7 -pkgrel=2 +pkgrel=3 pkgdesc="X.org SiS video driver" arch=(i686 x86_64) url="http://xorg.freedesktop.org/" @@ -14,11 +14,14 @@ conflicts=('xorg-server<1.13.0' 'X-ABI-VIDEODRV_VERSION<13' 'X-ABI-VIDEODRV_VERS optdepends=('sis-dri: DRI1 support from community repo') options=('!libtool') groups=('xorg-drivers' 'xorg') -source=(${url}/releases/individual/driver/${pkgname}-${pkgver}.tar.bz2) -sha256sums=('be2eb6acba081e88dabc5be9db379e3da89a4d4edeb68064f204bf343a411cd0') +source=(${url}/releases/individual/driver/${pkgname}-${pkgver}.tar.bz2 + 0001-Disable-UploadToScreen-and-DownloadFromScreen.patch) +sha256sums=('be2eb6acba081e88dabc5be9db379e3da89a4d4edeb68064f204bf343a411cd0' + '3108c60b3030c894fbdb1426b05d7a8281e5fa4f385e1a80e22c8813a3fb6f5b') build() { cd "${srcdir}/${pkgname}-${pkgver}" + patch -Np1 -i "${srcdir}/0001-Disable-UploadToScreen-and-DownloadFromScreen.patch" ./configure --prefix=/usr make } diff --git a/kde-unstable/kdegames-kigo/PKGBUILD b/kde-unstable/kdegames-kigo/PKGBUILD index 009f77d22..e8fcc0b52 100644 --- a/kde-unstable/kdegames-kigo/PKGBUILD +++ b/kde-unstable/kdegames-kigo/PKGBUILD @@ -1,15 +1,15 @@ -# $Id: PKGBUILD 171792 2012-11-21 19:24:51Z andrea $ +# $Id: PKGBUILD 171878 2012-11-22 08:11:00Z andrea $ # Maintainer: Andrea Scarpino <andrea@archlinux.org> pkgname=kdegames-kigo pkgver=4.9.80 -pkgrel=1 +pkgrel=2 pkgdesc="An open-source implementation of the popular Go game" url="http://kde.org/applications/games/kigo/" arch=('i686' 'x86_64') license=('GPL' 'LGPL' 'FDL') groups=('kde' 'kdegames') -depends=('kdebase-runtime' 'libkdegames') +depends=('kdebase-runtime' 'libkdegames' 'gnugo') makedepends=('cmake' 'automoc4') install=${pkgname}.install source=("http://download.kde.org/unstable/${pkgver}/src/kigo-${pkgver}.tar.xz") diff --git a/kde-unstable/kdeutils-print-manager/PKGBUILD b/kde-unstable/kdeutils-print-manager/PKGBUILD index e88be3aff..27cd7cea0 100644 --- a/kde-unstable/kdeutils-print-manager/PKGBUILD +++ b/kde-unstable/kdeutils-print-manager/PKGBUILD @@ -1,16 +1,16 @@ -# $Id: PKGBUILD 171854 2012-11-21 20:05:56Z andrea $ +# $Id: PKGBUILD 171880 2012-11-22 08:18:57Z andrea $ # Maintainer: Andrea Scarpino <andrea@archlinux.org> pkgname=kdeutils-print-manager pkgver=4.9.80 -pkgrel=1 +pkgrel=2 pkgdesc="A tool for managing print jobs and printers" arch=('i686' 'x86_64') url='https://projects.kde.org/projects/kde/kdeutils/print-manager' license=('GPL' 'LGPL' 'FDL') depends=('kdebase-workspace' 'libcups' 'system-config-printer') makedepends=('cmake' 'automoc4') -replaces=('print-manager' 'kdeutils-printer-applet') +replaces=('print-manager' 'kdeutils-printer-applet' 'kdeadmin-system-config-printer-kde') conflicts=('print-manager') groups=('kde' 'kdeutils') source=("http://download.kde.org/unstable/${pkgver}/src/print-manager-${pkgver}.tar.xz") diff --git a/pcr/facter/PKGBUILD b/pcr/facter/PKGBUILD new file mode 100644 index 000000000..956569001 --- /dev/null +++ b/pcr/facter/PKGBUILD @@ -0,0 +1,30 @@ +# Contributor: Greg Sutcliffe <facter_aur (at) emeraldreverie.orgr> +# Contributor: Hyacinthe Cartiaux <hyacinthe.cartiaux@free.fr> +# Contributor: Thomas S Hatch <thatch45 (at) Gmail.com> +# Contributor: Dave Simons <miouhpi (at) Gmail (dot) com> +# Maintainer : Parabola GNU / Linux-libre Aurelien Desbrieres + +pkgname=facter +pkgver=1.6.14 +pkgrel=1 +pkgdesc="A library for collecting facts about your system." +arch=("any") +url="http://puppetlabs.com/projects/facter/" +license=("APACHE") +depends=("ruby" "inetutils" "net-tools") +options=(!emptydirs) +source=(http://puppetlabs.com/downloads/facter/facter-$pkgver.tar.gz) +md5sums=('b6c3df8ad1781c10d30785c58a4504ef') + +package() { + cd $srcdir/facter-$pkgver + + ruby ./install.rb \ + --destdir=$pkgdir \ + --bindir=/usr/bin \ + --sbindir=/usr/sbin + + install -d -m755 "${pkgdir}/usr/share/licenses/${pkgname}" + install -m 644 "LICENSE" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" + +} diff --git a/pcr/puppet/PKGBUILD b/pcr/puppet/PKGBUILD new file mode 100644 index 000000000..02e8f32c8 --- /dev/null +++ b/pcr/puppet/PKGBUILD @@ -0,0 +1,86 @@ +# Puppet: Installer: Arch +# Contributor: Greg Sutcliffe <puppet-aur (at) emeraldreverie (dot) org> +# Contributor: Hyacinthe Cartiaux <hyacinthe (dot) cartiaux (at) free (dot) fr> +# Contributor: Thomas S Hatch <thatch45 (at) Gmail (dot) com> +# Contributor: Xavion <Xavion (dot) 0 (at) Gmail (dot) com> +# Contributor: Miah Johnson <miah (at) chia-pet dot org> +# Contributor: Dave Simons <miouhpi (at) Gmail (dot) com> +# Contributor: Niels Abspoel <aboe76 (at) Gmail (dot) com> +# Maintainer : Parabola GNU / Linux-libre Aurelien Desbrieres <aurelien@cwb.io> + +# RC style, reserved for later use +#pkgname=puppet +#_rc=8 +#_pkgver=3.0.0 +#pkgver=${_pkgver}_rc${_rc} + +pkgname=puppet +pkgver=3.0.1 +pkgrel=5 +pkgdesc="A system for automating system administration tasks." +arch=("any") +url="http://puppetlabs.com/projects/puppet/" +license=("APACHE") +depends=("ruby" "ruby-shadow" "facter" "ruby-hiera" "ruby-hiera-json") +makedepends=('which') +backup=("etc/puppet/puppet.conf") +options=(emptydirs) +provides=("puppet" "vim-puppet" "ruby-hiera-puppet") +conflicts=("puppet3" "ruby-puppet" "vim-puppet" "ruby-hiera-puppet") +install="puppet.install" +source=(http://puppetlabs.com/downloads/puppet/puppet-${pkgver//_/-}.tar.gz + fileserver.conf + puppet + puppet.conf + puppetmaster) +md5sums=('2117e3a1964ac54fcd36d926eed3db94' + 'ffacd9bfb9c7656a3a345dbc5eb0e67a' + '59dbf39e251bc4877e7604a5876c642d' + 'a7d61d20e46b411eb50ad5279987584a' + '4c507c580cb28d7a5adc9ea6b3626657') + +package() { + cd $srcdir/puppet-${pkgver//_/-} + + # Install + ruby ./install.rb \ + --destdir=$pkgdir \ + --bindir=/usr/bin \ + --sbindir=/usr/sbin \ + --mandir=/usr/share/man + + + # Set up vim and emacs + install -Dp -m0644 ext/vim/ftdetect/puppet.vim $pkgdir/usr/share/vim/vimfiles/ftdetect/puppet.vim + install -Dp -m0644 ext/vim/syntax/puppet.vim $pkgdir/usr/share/vim/vimfiles/syntax/puppet.vim + install -Dp -m0644 ext/emacs/puppet-mode.el $pkgdir/usr/share/emacs/site-lisp/puppet-mode.el + install -Dp -m0644 ext/emacs/puppet-mode-init.el $pkgdir/usr/share/emacs/site-lisp/site-start.d/puppet-mode-init.el + + # Configuration and rc scripts + install -d $pkgdir/etc/{puppet,rc.d} + install -m 644 $srcdir/puppet.conf $pkgdir/etc/puppet/puppet.conf + install -m 644 $srcdir/fileserver.conf $pkgdir/etc/puppet/fileserver.conf + + # Setup tmpfiles.d config + install -d $pkgdir/etc/tmpfiles.d + echo "D /var/run/puppet 0755 puppet puppet -" > $pkgdir/etc/tmpfiles.d/puppet.conf + + # Configuration for hiera / symlink is there to use hiera within puppet. + ln -snf /etc/hiera.yaml ${pkgdir}/etc/puppet/hiera.yaml + + # Systemd files + install -Dm 644 $srcdir/puppet-${pkgver//_/-}/ext/systemd/puppetagent.service $pkgdir/usr/lib/systemd/system/puppetagent.service + install -Dm 644 $srcdir/puppet-${pkgver//_/-}/ext/systemd/puppetmaster.service $pkgdir/usr/lib/systemd/system/puppetmaster.service + + # Create puppet homedir and hieradir + install -d $pkgdir/var/lib/puppet + install -d $pkgdir/var/lib/hiera + + install -D $srcdir/puppet $pkgdir/etc/rc.d/puppet + install -D $srcdir/puppetmaster $pkgdir/etc/rc.d/puppetmaster + + # Copy the LICENSE file in the usual directory + install -d -m755 "${pkgdir}/usr/share/licenses/${pkgname}" + install -m 644 "LICENSE" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" + +} diff --git a/pcr/puppet/fileserver.conf b/pcr/puppet/fileserver.conf new file mode 100644 index 000000000..67e387ca0 --- /dev/null +++ b/pcr/puppet/fileserver.conf @@ -0,0 +1,12 @@ +# This file consists of arbitrarily named sections/modules +# defining where files are served from and to whom + +# Define a section 'files' +# Adapt the allow/deny settings to your needs. Order +# for allow/deny does not matter, allow always takes precedence +# over deny +# [files] +# path /var/lib/puppet/files +# allow *.example.com +# deny *.evil.example.com +# allow 192.168.0.0/24 diff --git a/pcr/puppet/puppet b/pcr/puppet/puppet new file mode 100755 index 000000000..4126be850 --- /dev/null +++ b/pcr/puppet/puppet @@ -0,0 +1,45 @@ +#!/bin/bash +DAEMON=$(type -p puppetd) + +. /etc/rc.conf +. /etc/rc.d/functions +[ -f /etc/conf.d/puppet ] && . /etc/conf.d/puppet + +PID=$(pidof -xo %PPID $DAEMON) +case "$1" in + start) + stat_busy "Starting Puppet Daemon" + if [ -z "$PID" ]; then + [ -f /var/run/puppet.pid ] && rm -f /var/run/puppet.pid + $DAEMON $PUPPETD_ARGS + fi + if [ ! -z "$PID" -o $? -gt 0 ]; then + stat_fail + else + PID=$(pidof -xo %PPID $DAEMON) + echo $PID > /var/run/puppet.pid + add_daemon puppet + stat_done + fi + ;; + stop) + stat_busy "Stopping Puppet Daemon" + [ ! -z "$PID" ] && kill $PID &> /dev/null + if [ $? -gt 0 ]; then + stat_fail + else + rm_daemon puppet + rm -f /var/run/puppet.pid + stat_done + fi + ;; + restart) + $0 stop + if [ ! -z $PID ]; then + while ps -p $PID > /dev/null; do sleep 1; done + fi + $0 start + ;; + *) + echo "usage: $0 {start|stop|restart}" +esac diff --git a/pcr/puppet/puppet.conf b/pcr/puppet/puppet.conf new file mode 100644 index 000000000..aa5868dee --- /dev/null +++ b/pcr/puppet/puppet.conf @@ -0,0 +1,32 @@ +[main] + # The Puppet var directory + # The default value is '/var/lib/puppet' + vardir = /var/lib/puppet + + # The Puppet log directory. + # The default value is '$vardir/log'. + logdir = /var/log/puppet + + # Where Puppet PID files are kept. + # The default value is '$vardir/run'. + rundir = /var/run/puppet + + # Where SSL certificates are kept. + # The default value is '$confdir/ssl'. + pluginsync=true + + +[agent] + # The file in which puppetd stores a list of the classes + # associated with the retrieved configuratiion. Can be loaded in + # the separate ``puppet`` executable using the ``--loadclasses`` + # option. + # The default value is '$confdir/classes.txt'. + classfile = $vardir/classes.txt + + # Where puppetd caches the local configuration. An + # extension indicating the cache format is added automatically. + # The default value is '$confdir/localconfig'. + localconfig = $vardir/localconfig + +#[master] diff --git a/pcr/puppet/puppet.install b/pcr/puppet/puppet.install new file mode 100644 index 000000000..928df566b --- /dev/null +++ b/pcr/puppet/puppet.install @@ -0,0 +1,46 @@ +# Puppet: Installer: Arch +# Maintainer: Thomas S Hatch <thatch45 (at) Gmail (dot) com> +# Contributor: Xavion <Xavion (dot) 0 (at) Gmail (dot) com> +# Contributor: Miah Johnson <Miah (at) chia-pet dot org> + +pre_install() { + getent group puppet &>/dev/null || groupadd -r puppet -g 52 &>/dev/null + getent passwd puppet &>/dev/null || useradd -r -u 52 -g puppet -d /var/lib/puppet -s /sbin/nologin -c "Puppet" puppet &>/dev/null || : +} + +pre_upgrade() { + pre_install + usermod -d /var/lib/puppet puppet &>/dev/null || : +} + +post_install() { + : +} + +pre_remove() { +if [ -f /var/run/puppetmasterd.pid ]; then + PIDOF=$(pidof -xo %PPID puppetmasterd) + PIDFILE=$(cat /var/run/puppetmasterd.pid) + if [ $PIDOF -eq $PIDFILE ]; then + /etc/rc.d/puppetmaster stop + fi +fi + +if [ -f /var/run/puppetd.pid ]; then + PIDOF=$(pidof -xo %PPID puppetd) + PIDFILE=$(cat /var/run/puppetd.pid) + if [ $PIDOF -eq $PIDFILE ]; then + /etc/rc.d/puppet stop + fi +fi +} + +post_remove() { + # Remove user and group + userdel puppet +} + +op=$1 +shift + +$op "$@" diff --git a/pcr/puppet/puppetmaster b/pcr/puppet/puppetmaster new file mode 100755 index 000000000..8b3971053 --- /dev/null +++ b/pcr/puppet/puppetmaster @@ -0,0 +1,45 @@ +#!/bin/bash +DAEMON=$(type -p puppetmasterd) + +. /etc/rc.conf +. /etc/rc.d/functions +[ -f /etc/conf.d/puppetmaster ] && . /etc/conf.d/puppetmaster + +PID=$(pidof -xo %PPID $DAEMON) +case "$1" in + start) + stat_busy "Starting Puppet Master Daemon" + if [ -z "$PID" ]; then + [ -f /var/run/puppetmaster.pid ] && rm -f /var/run/puppetmaster.pid + $DAEMON $PUPPETMASTER_ARGS + fi + if [ ! -z "$PID" -o $? -gt 0 ]; then + stat_fail + else + PID=$(pidof -xo %PPID $DAEMON) + echo $PID > /var/run/puppetmaster.pid + add_daemon puppetmaster + stat_done + fi + ;; + stop) + stat_busy "Stopping Puppet Master Daemon" + [ ! -z "$PID" ] && kill $PID &> /dev/null + if [ $? -gt 0 ]; then + stat_fail + else + rm_daemon puppetmaster + rm -f /var/run/puppetmaster.pid + stat_done + fi + ;; + restart) + $0 stop + if [ ! -z $PID ]; then + while ps -p $PID > /dev/null; do sleep 1; done + fi + $0 start + ;; + *) + echo "usage: $0 {start|stop|restart}" +esac diff --git a/pcr/ruby-hiera-json/PKGBUILD b/pcr/ruby-hiera-json/PKGBUILD new file mode 100644 index 000000000..4d80244c8 --- /dev/null +++ b/pcr/ruby-hiera-json/PKGBUILD @@ -0,0 +1,26 @@ +# Contributor: Jochen Schalanda <jochen+aur@schalanda.name> +# Maintainer : Parabola GNU / Linux-libre Aurelien Desbrieres <aurelien@cwb.IO> + +_gemname=hiera-json +pkgname=ruby-$_gemname +pkgver=0.4.0 +pkgrel=1 +pkgdesc='Store Hiera data in JSON' +arch=(any) +url='http://projects.puppetlabs.com/projects/hiera/' +license=('MIT') +depends=('ruby') +makedepends=('rubygems' 'ruby-hiera') +source=(http://gems.rubyforge.org/gems/$_gemname-$pkgver.gem) +noextract=($_gemname-$pkgver.gem) + +package() { + cd "$srcdir" + # _gemdir is defined inside package() because if ruby[gems] is not installed on + # the system, makepkg will exit with an error when sourcing the PKGBUILD. + local _gemdir="$(ruby -rubygems -e'puts Gem.default_dir')" + + gem install --no-user-install --ignore-dependencies -i "$pkgdir$_gemdir" \ + -n "$pkgdir/usr/bin" "$_gemname-$pkgver.gem" +} + diff --git a/pcr/ruby-hiera/PKGBUILD b/pcr/ruby-hiera/PKGBUILD new file mode 100644 index 000000000..c4d51fe44 --- /dev/null +++ b/pcr/ruby-hiera/PKGBUILD @@ -0,0 +1,34 @@ +# Contributor: Jochen Schalanda <jochen+aur@schalanda.name> +# Maintainer : Parabola GNU / Linux-libre Aurelien Desbrieres <aurelien@cwb.io> + +_gemname=hiera +pkgname=ruby-$_gemname +pkgver=1.1.1 +pkgrel=1 +pkgdesc="A pluggable data store for hierarcical data." +arch=(any) +url='http://projects.puppetlabs.com/projects/hiera/' +license=('MIT') +depends=('ruby') +makedepends=('rubygems') +source=( + "http://gems.rubyforge.org/gems/$_gemname-$pkgver.gem" + 'hiera.yaml') +noextract=($_gemname-$pkgver.gem) + +package() { + cd "$srcdir" + # _gemdir is defined inside package() because if ruby[gems] is not installed on + # the system, makepkg will exit with an error when sourcing the PKGBUILD. + local _gemdir="$(ruby -rubygems -e'puts Gem.default_dir')" + + gem install --no-user-install --ignore-dependencies -i "$pkgdir$_gemdir" \ + -n "$pkgdir/usr/bin" "$_gemname-$pkgver.gem" + + # Create hiera default directory + install -d $pkgdir/var/lib/hiera + + # Create hiera default configuration + install -d $pkgdir/etc + install -m 644 $srcdir/hiera.yaml $pkgdir/etc/ +} diff --git a/pcr/ruby-hiera/hiera.yaml b/pcr/ruby-hiera/hiera.yaml new file mode 100644 index 000000000..cd0be3fec --- /dev/null +++ b/pcr/ruby-hiera/hiera.yaml @@ -0,0 +1,21 @@ +--- +:backend: + - yaml + - json +:hierarchy: + - defaults + - global + +:yaml: +# datadir is empty here, so hiera uses its defaults: +# - /var/lib/hiera on *nix +# - %CommonAppData%\PuppetLabs\hiera\var on Windows +# When specifying a datadir, make sure the directory exists. + :datadir: + +:json: +# datadir is empty here, so hiera uses its defaults: +# - /var/lib/hiera on *nix +# - %CommonAppData%\PuppetLabs\hiera\var on Windows +# When specifying a datadir, make sure the directory exists. + :datadir: diff --git a/pcr/ruby-shadow/PKGBUILD b/pcr/ruby-shadow/PKGBUILD new file mode 100644 index 000000000..5b7ee1972 --- /dev/null +++ b/pcr/ruby-shadow/PKGBUILD @@ -0,0 +1,24 @@ +# Contributor: Thomas S Hatch <thatch45@gmail.com> +# Maintainer : Parabola GNU / Linux-libre Aurelien Desbrieres <aurelien@cwb.io> + +pkgname=ruby-shadow +pkgver=2.1.4 +pkgrel=5 +pkgdesc="Interface for shadow passwords for Ruby" +arch=(i686 x86_64 arm) +depends=('ruby') +license=('publicdomain') +url=('https://github.com/apalmblad/ruby-shadow.git') +source=("https://github.com/apalmblad/ruby-shadow/archive/$pkgver.tar.gz") + + +build() { + cd $srcdir/$pkgname-$pkgver + ruby extconf.rb + make +} + +package() { + cd $srcdir/$pkgname-$pkgver + make DESTDIR=$pkgdir install +} diff --git a/~aurelien/aurelien b/~aurelien/aurelien new file mode 100644 index 000000000..3bda9d20a --- /dev/null +++ b/~aurelien/aurelien @@ -0,0 +1,19 @@ +Hi! + +I am or was aurelien. + +An happy free thinker that have find his way in Parabola! + +All the packages i had build are in pcr, why pcr? +Because Parabola Community Repository + +And so that community need from my point of view to offer +cool software to offer cool ways. + +All the packages have build are free as in freedom, so, +you are free to build them too, to get care of them. + +PKGBUILDs are great way to discover Parabola, BASH and much +more. + +Have fun & be free!
\ No newline at end of file |