diff options
author | root <root@rshg054.dnsready.net> | 2011-10-14 23:14:43 +0000 |
---|---|---|
committer | root <root@rshg054.dnsready.net> | 2011-10-14 23:14:43 +0000 |
commit | 4232b74445f80f4175c1485a53a02c79b37a63f1 (patch) | |
tree | ff7a0dde570bf886cc5006918a9ee339efecde1c | |
parent | e426a2696568231fa5a863cb80f4db9088193732 (diff) |
Fri Oct 14 23:14:43 UTC 2011
-rw-r--r-- | community-testing/expac/PKGBUILD | 26 | ||||
-rw-r--r-- | community/autossh/PKGBUILD | 24 | ||||
-rw-r--r-- | community/pari/PKGBUILD | 22 | ||||
-rw-r--r-- | community/python2-matplotlib/PKGBUILD | 12 | ||||
-rw-r--r-- | community/sysprof/PKGBUILD | 6 | ||||
-rw-r--r-- | libre/filesystem/PKGBUILD | 42 | ||||
-rw-r--r-- | libre/filesystem/fstab | 4 | ||||
-rw-r--r-- | staging/tracker/PKGBUILD | 6 | ||||
-rw-r--r-- | testing/jack/40-hpet-permissions.rules | 2 | ||||
-rw-r--r-- | testing/jack/99-realtime.conf | 2 | ||||
-rw-r--r-- | testing/jack/PKGBUILD | 53 | ||||
-rw-r--r-- | testing/jack/jack.install | 57 | ||||
-rw-r--r-- | testing/pyalpm/PKGBUILD | 23 |
13 files changed, 221 insertions, 58 deletions
diff --git a/community-testing/expac/PKGBUILD b/community-testing/expac/PKGBUILD new file mode 100644 index 000000000..ff83247d7 --- /dev/null +++ b/community-testing/expac/PKGBUILD @@ -0,0 +1,26 @@ +# $Id: PKGBUILD 56821 2011-10-13 19:47:47Z dreisner $ +# Maintainer: Dave Reisner <d@falconindy.com> + +pkgname=expac +pkgver=0.07 +pkgrel=1 +pkgdesc="pacman database extraction utility" +arch=('i686' 'x86_64') +url="http://github.com/falconindy/expac" +license=('GPL') +depends=('pacman') +makedepends=('perl') +source=("https://github.com/downloads/falconindy/$pkgname/$pkgname-$pkgver.tar.gz") +md5sums=('1bc637b733051827982db12db84643f2') + +build() { + cd "$srcdir/$pkgname-$pkgver" + make +} + +package() { + cd "$srcdir/$pkgname-$pkgver" + make PREFIX=/usr DESTDIR="$pkgdir" install +} + +# vim: ft=sh syn=sh diff --git a/community/autossh/PKGBUILD b/community/autossh/PKGBUILD index c15c56ad8..dae94ca80 100644 --- a/community/autossh/PKGBUILD +++ b/community/autossh/PKGBUILD @@ -1,8 +1,8 @@ # Contributor: Ian Taylor <ian at lorf dot orgs> pkgname=autossh -pkgver=1.4b -pkgrel=2 +pkgver=1.4c +pkgrel=1 pkgdesc="Automatically restart SSH sessions and tunnels" arch=('i686' 'x86_64') url="http://www.harding.motd.ca/autossh/" @@ -10,24 +10,24 @@ license=('custom') depends=('openssh') source=("http://www.harding.motd.ca/autossh/$pkgname-$pkgver.tgz" "LICENSE") -md5sums=('8f9aa006f6f69e912d3c2f504622d6f7' +md5sums=('26520eea934f296be0783dabe7fcfd28' '5d65ce1eff3f2c72546a8343b18d67bf') build() { cd $srcdir/$pkgname-$pkgver msg "Configuring" - ./configure --prefix=$pkgdir/usr --sysconfdir=/etc --localstatedir=/var || return 1 + ./configure --prefix=$pkgdir/usr --sysconfdir=/etc --localstatedir=/var msg "Building" - make || return 1 + make msg "Creating package" - install -D -m755 autossh $pkgdir/usr/bin/autossh || return 1 - install -D -m644 CHANGES $pkgdir/usr/share/doc/autossh/CHANGES || return 1 - install -D -m644 README $pkgdir/usr/share/doc/autossh/README || return 1 - install -D -m644 autossh.host $pkgdir/usr/share/autossh/examples/autossh.host || return 1 - install -D -m644 rscreen $pkgdir/usr/share/autossh/examples/rscreen || return 1 - install -D -m644 autossh.1 $pkgdir/usr/share/man/man1/autossh.1 || return 1 - install -D -m644 ${startdir}/LICENSE ${pkgdir}/usr/share/licenses/${pkgname}/LICENSE || return 1 + install -D -m755 autossh $pkgdir/usr/bin/autossh + install -D -m644 CHANGES $pkgdir/usr/share/doc/autossh/CHANGES + install -D -m644 README $pkgdir/usr/share/doc/autossh/README + install -D -m644 autossh.host $pkgdir/usr/share/autossh/examples/autossh.host + install -D -m644 rscreen $pkgdir/usr/share/autossh/examples/rscreen + install -D -m644 autossh.1 $pkgdir/usr/share/man/man1/autossh.1 + install -D -m644 ${srcdir}/LICENSE ${pkgdir}/usr/share/licenses/${pkgname}/LICENSE } diff --git a/community/pari/PKGBUILD b/community/pari/PKGBUILD index ec9c6f80b..770b1133c 100644 --- a/community/pari/PKGBUILD +++ b/community/pari/PKGBUILD @@ -1,35 +1,35 @@ +# $Id: PKGBUILD 56828 2011-10-14 00:16:01Z bisson $ # Maintainer: Gaetan Bisson <bisson@archlinux.org> pkgname=pari pkgver=2.5.0 -pkgrel=1 +pkgrel=2 pkgdesc='Computer algebra system designed for fast computations in number theory' arch=('i686' 'x86_64') url='http://pari.math.u-bordeaux.fr/' license=('GPL') -depends=('gmp' 'readline') +depends=('gmp' 'readline' 'libx11') makedepends=('perl' 'texlive-core') -optdepends=('perl: gphelp, tex2mail' - 'libx11: high precision plots') -source=("${url}pub/pari/unix/$pkgname-$pkgver.tar.gz") +optdepends=('perl: gphelp, tex2mail') +source=("${url}pub/pari/unix/${pkgname}-${pkgver}.tar.gz") sha1sums=('d96250cd8b3e426f548a832f2f44fdfd30fd32b6') build() { - cd "$srcdir/$pkgname-$pkgver" + cd "${srcdir}/${pkgname}-${pkgver}" ./Configure --prefix=/usr --with-gmp --with-readline make all } check() { - cd "$srcdir/$pkgname-$pkgver" + cd "${srcdir}/${pkgname}-${pkgver}" make bench } package() { - cd "$srcdir/$pkgname-$pkgver" - make DESTDIR="$pkgdir" install + cd "${srcdir}/${pkgname}-${pkgver}" + make DESTDIR="${pkgdir}" install # symlink pointing to a symlink that is going to be moved by zipman - rm "$pkgdir"/usr/share/man/man1/pari.1 - ln -s gp.1.gz "$pkgdir"/usr/share/man/man1/pari.1.gz + rm "${pkgdir}"/usr/share/man/man1/pari.1 + ln -s gp.1.gz "${pkgdir}"/usr/share/man/man1/pari.1.gz } diff --git a/community/python2-matplotlib/PKGBUILD b/community/python2-matplotlib/PKGBUILD index 7f19554c5..102421f30 100644 --- a/community/python2-matplotlib/PKGBUILD +++ b/community/python2-matplotlib/PKGBUILD @@ -1,17 +1,17 @@ -# $Id: PKGBUILD 40554 2011-02-25 11:55:09Z stephane $ +# $Id: PKGBUILD 56824 2011-10-13 21:31:09Z stephane $ # Maintainer: Stéphane Gaudreault <stephane@archlinux.org> # Contributor: Stefan Husmann <stefan-husmann@t-online.de> # Contributor: Angel 'angvp' Velasquez <angvp[at]archlinux.com.ve> # Contributor: Douglas Soares de Andrade <dsa@aur.archlinux.org> pkgname=python2-matplotlib -pkgver=1.0.1 -pkgrel=2 +pkgver=1.1.0 +pkgrel=1 pkgdesc="A python plotting library, making publication quality plots" arch=('i686' 'x86_64') url="http://matplotlib.sourceforge.net/" backup=(usr/lib/python2.7/site-packages/matplotlib/mpl-data/matplotlibrc) -depends=('python-dateutil' 'python2-pytz' 'python2-numpy' 'python2-pyparsing' 'python2-qt') +depends=('python2-dateutil' 'python2-pytz' 'python2-numpy' 'python2-pyparsing' 'python2-qt') optdepends=('pygtk: for use with the GTK or GTKAgg backend' 'tk: used by the TkAgg backend' 'wxpython: for use with the WXAgg backend') @@ -21,7 +21,7 @@ replaces=('python-matplotlib') conflicts=('python-matplotlib') source=("http://downloads.sourceforge.net/matplotlib/matplotlib-${pkgver}.tar.gz" setup.cfg) -sha1sums=('c7a832f28a66817626e7a8af21e14ea0e15f4008' +sha1sums=('435b4f04a7e099b79f66451d69ad0b5ce66030ae' 'bcb5a83db9d95c96a57ca518fa6bd1897b23558f') license=('custom') @@ -48,5 +48,5 @@ package() { python2 setup.py install -O1 --skip-build --root "${pkgdir}" --prefix=/usr install -dm755 "${pkgdir}/usr/share/licenses/${pkgname}" - mv license "${pkgdir}/usr/share/licenses/${pkgname}" + install -m 644 doc/users/license.rst "${pkgdir}/usr/share/licenses/${pkgname}" } diff --git a/community/sysprof/PKGBUILD b/community/sysprof/PKGBUILD index 0def78052..697cdc142 100644 --- a/community/sysprof/PKGBUILD +++ b/community/sysprof/PKGBUILD @@ -1,11 +1,11 @@ -# $Id: PKGBUILD 34968 2010-12-14 10:32:56Z spupykin $ +# $Id: PKGBUILD 56814 2011-10-13 17:07:33Z spupykin $ # Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com> # Maintainer: Geoffroy Carrier <geoffroy.carrier@aur.archlinux.org> # Previous Contributor: Eric Belanger <belanger@astro.umontreal.ca> # Previous Contributor: aeolist <aeolist@hotmail.com> pkgname=sysprof -pkgver=1.1.6 +pkgver=1.1.8 pkgrel=1 pkgdesc="A sampling CPU profiler that uses a Linux kernel module to profile the entire system" arch=('i686' 'x86_64') @@ -14,7 +14,7 @@ license=("GPL") source=(http://www.daimi.au.dk/~sandmann/$pkgname/$pkgname-$pkgver.tar.gz) depends=('libglade' 'binutils') makedepends=('libglade' 'binutils' 'kernel26-headers') -md5sums=('219f888777771f3709cb35a64bb008a9') +md5sums=('a46e24250988d96d8fc7b30773d55222') build() { cd "$srcdir/$pkgname-$pkgver" diff --git a/libre/filesystem/PKGBUILD b/libre/filesystem/PKGBUILD index 958d21e01..ea1e0e4f9 100644 --- a/libre/filesystem/PKGBUILD +++ b/libre/filesystem/PKGBUILD @@ -1,10 +1,10 @@ -# $Id: PKGBUILD 135046 2011-08-09 23:41:13Z tomegun $ +# $Id: PKGBUILD 140217 2011-10-09 23:32:13Z dreisner $ # Maintainer: Tom Gundersen <teg@jklm.no> # Maintainer (Parabola): fauno <fauno@kiwwwi.com.ar> pkgname=filesystem -pkgver=2011.08 -pkgrel=1.1 +pkgver=2011.10 +pkgrel=1 pkgdesc='Base filesystem for Parabola' arch=('any') license=('GPL') @@ -18,6 +18,23 @@ backup=('etc/fstab' 'etc/crypttab' 'etc/group' 'etc/hosts' 'etc/ld.so.conf' 'etc source=('group' 'issue' 'nsswitch.conf' 'securetty' 'host.conf' 'ld.so.conf' 'passwd' 'shadow' 'fstab' 'crypttab' 'hosts' 'motd' 'resolv.conf' 'shells' 'gshadow' 'profile' 'modprobe.d.usb-load-ehci-first') +md5sums=('772fe869b921698cc3e6fde73c4ac85a' + '140787c0dc6f3f1272cfd381b92b0155' + '13753e4e0964f3652b0cc60a28528bdf' + '4c4540eeb748bf1f71d631b8c1dcf0b3' + 'f28150d4c0b22a017be51b9f7f9977ed' + '6e488ffecc8ba142c0cf7e2d7aeb832e' + '8a9042a2cedf6b6b47eb8973f14289cb' + 'b8355d9d2782f424f4cedcf682651be0' + 'ca716f853860199c1286e7939b2f2666' + 'e5d8323a4dbee7a6d0d2a19cbf4b819f' + '7bc65f234dfb6abf24e7c3b03e86f4ff' + 'd41d8cd98f00b204e9800998ecf8427e' + '6f48288b6fcaf0065fcb7b0e525413e0' + '22518e922891f9359f971f4f5b4e793c' + 'd2dc4e39dbdea75b107f91789e3274ab' + 'f3b6ae7db8adffaaa4bffc6099dcbd50' + '8098ffd9fbf890468d3198277596b85a') package() { cd ${srcdir} @@ -43,7 +60,7 @@ package() { install -m600 ${srcdir}/${f} ${pkgdir}/etc/ done touch ${pkgdir}/etc/arch-release - install -D -m644 ${srcdir}/modprobe.d.usb-load-ehci-first ${pkgdir}/etc/modprobe.d/usb-load-ehci-first.conf + install -D -m644 ${srcdir}/modprobe.d.usb-load-ehci-first ${pkgdir}/lib/modprobe.d/usb-load-ehci-first.conf # setup /var for d in cache/man local opt run log/old lib/misc empty; do @@ -76,20 +93,3 @@ package() { done ln -s ../man ${pkgdir}/usr/local/share/man } -md5sums=('772fe869b921698cc3e6fde73c4ac85a' - '140787c0dc6f3f1272cfd381b92b0155' - '13753e4e0964f3652b0cc60a28528bdf' - '4c4540eeb748bf1f71d631b8c1dcf0b3' - 'f28150d4c0b22a017be51b9f7f9977ed' - '6e488ffecc8ba142c0cf7e2d7aeb832e' - '8a9042a2cedf6b6b47eb8973f14289cb' - 'b8355d9d2782f424f4cedcf682651be0' - '6e81e088e67741210622e60292a39c9c' - 'e5d8323a4dbee7a6d0d2a19cbf4b819f' - '7bc65f234dfb6abf24e7c3b03e86f4ff' - 'd41d8cd98f00b204e9800998ecf8427e' - '6f48288b6fcaf0065fcb7b0e525413e0' - '22518e922891f9359f971f4f5b4e793c' - 'd2dc4e39dbdea75b107f91789e3274ab' - 'f3b6ae7db8adffaaa4bffc6099dcbd50' - '8098ffd9fbf890468d3198277596b85a') diff --git a/libre/filesystem/fstab b/libre/filesystem/fstab index c1a07fcc7..f7f9298d4 100644 --- a/libre/filesystem/fstab +++ b/libre/filesystem/fstab @@ -1,5 +1,5 @@ # # /etc/fstab: static file system information # -# <file system> <dir> <type> <options> <dump> <pass> -tmpfs /tmp tmpfs nodev,noexec,nosuid 0 0 +# <file system> <dir> <type> <options> <dump> <pass> +tmpfs /tmp tmpfs nodev,nosuid 0 0 diff --git a/staging/tracker/PKGBUILD b/staging/tracker/PKGBUILD index c8cfb3158..9c8e3aa20 100644 --- a/staging/tracker/PKGBUILD +++ b/staging/tracker/PKGBUILD @@ -1,11 +1,11 @@ -# $Id: PKGBUILD 140107 2011-10-06 18:31:24Z heftig $ +# $Id: PKGBUILD 140419 2011-10-13 20:07:47Z heftig $ # Maintainer: Jan "heftig" Steffens <jan.steffens@gmail.com> # Contributor: Sergej Pupykin <pupykin.s+arch@gmail.com> # Contributor: Alexander Fehr <pizzapunk gmail com> pkgbase=tracker pkgname=(tracker libtracker-sparql) -pkgver=0.12.4 +pkgver=0.12.5 _tver=${pkgver%.*} pkgrel=1 pkgdesc="All-in-one indexer, search tool and metadata database" @@ -19,7 +19,7 @@ makedepends=('libgee' 'libgnome-keyring' 'upower' 'libexif' 'exempi' url="http://www.gnome.org" options=('!libtool' '!emptydirs') source=(http://ftp.gnome.org/pub/gnome/sources/$pkgbase/$_tver/$pkgbase-$pkgver.tar.xz) -sha256sums=('14c1e2c02f96e1160cfe557e0669558524902042ae04b06e343f879419cb6d82') +sha256sums=('5fddbda9df10fada07f335751370e46b5e2b5ef971d4da8efd47ea795d7b5c5b') build() { cd "$srcdir/$pkgbase-$pkgver" diff --git a/testing/jack/40-hpet-permissions.rules b/testing/jack/40-hpet-permissions.rules new file mode 100644 index 000000000..5a640b34a --- /dev/null +++ b/testing/jack/40-hpet-permissions.rules @@ -0,0 +1,2 @@ +KERNEL=="rtc0", GROUP="realtime" +KERNEL=="hpet", GROUP="realtime" diff --git a/testing/jack/99-realtime.conf b/testing/jack/99-realtime.conf new file mode 100644 index 000000000..671a10851 --- /dev/null +++ b/testing/jack/99-realtime.conf @@ -0,0 +1,2 @@ +@realtime - rtprio 99 +@realtime - memlock unlimited diff --git a/testing/jack/PKGBUILD b/testing/jack/PKGBUILD new file mode 100644 index 000000000..6cc592384 --- /dev/null +++ b/testing/jack/PKGBUILD @@ -0,0 +1,53 @@ +# $Id: PKGBUILD 140421 2011-10-13 20:39:26Z schiv $ +# Maintainer: Ray Rashif <schiv@archlinux.org> +# Contributor: tobias <tobias@archlinux.net> +# Contributor: Robert Emil Berge <robert@rebi.no> + +pkgname=jack +_longname=jack-audio-connection-kit +pkgver=0.121.3 +pkgrel=2 +pkgdesc="A low-latency audio server" +arch=('i686' 'x86_64') +license=('GPL' 'LGPL') +depends=('libsamplerate' 'readline') +makedepends=('doxygen' 'libffado' 'celt') +optdepends=('libffado: FireWire support' + 'celt: NetJACK driver') +url="http://jackaudio.org/" +backup=(etc/security/limits.d/99-realtime.conf) +options=('!libtool') +provides=("$_longname=$pkgver") +conflicts=("$_longname") +replaces=("$_longname") +install=$pkgname.install +source=("http://jackaudio.org/downloads/$_longname-$pkgver.tar.gz" + "99-realtime.conf" + "40-hpet-permissions.rules") +md5sums=('35f470f7422c37b33eb965033f7a42e8' + 'bb312fa74956066046d6a599ac623c98' + '6a1017041c024cea57da9bd726b664d7') + +build() { + cd "$srcdir/$_longname-$pkgver" + + ./configure --prefix=/usr \ + --libdir=/usr/lib + make +} + +package() { + cd "$srcdir/$_longname-$pkgver" + + make DESTDIR="$pkgdir" install + + # configure realtime access/scheduling + # see https://bugs.archlinux.org/task/26343 + install -Dm644 "$srcdir/99-realtime.conf" \ + "$pkgdir/etc/security/limits.d/99-realtime.conf" + + install -Dm644 "$srcdir/40-hpet-permissions.rules" \ + "$srcdir/lib/udev/rules.d/40-hpet-permissions.rules" +} + +# vim:set ts=2 sw=2 et: diff --git a/testing/jack/jack.install b/testing/jack/jack.install new file mode 100644 index 000000000..2d0db58e7 --- /dev/null +++ b/testing/jack/jack.install @@ -0,0 +1,57 @@ +_addgroup() { + # _addgroup $GROUPNAME $GID + [ ${#@} -ne 2 ] && return 1 + + echo -n " > Checking if '$1' group exists..." + if ! getent group $1 > /dev/null; then + echo "no" + echo " > Add '$1' group" + echo -n " >> checking if GID is in use..." + # no other package or user is supposed to use this gid + # delete the group and re-add it at the end without static gid + if getent group $2 > /dev/null; then + echo "yes" + firstgroup=$(getent group $2 | sed 's/:.*//') + firstusers=$(getent group $2 | sed 's/.*://') + echo " >> delete group '$firstgroup'" + groupdel $firstgroup + else + echo "no" + fi + + echo " >> add our group with proper GID" + groupadd -g $2 $1 + + if [ -n "$firstgroup" ]; then + echo " >> restore group '$firstgroup' with dynamic GID" + groupadd $firstgroup + [ -n "$firstusers" ] && gpasswd -M $firstusers $firstgroup + fi + else + echo "yes (all good)" + fi +} + +post_install() { + _addgroup realtime 112 + echo + echo " * You must be part of the 'realtime' group to use RT scheduling" + echo " * You don't need an 'RT kernel' to use RT scheduling" + echo " * If you don't need RT start jack with '--no-realtime'" + echo " * If you don't record or sequence audio you don't need RT" +} + +post_upgrade() { + _addgroup realtime 112 + echo + echo " * You must be part of the 'realtime' group to use RT scheduling" + echo " * Configuring RT through limits.conf has been deprecated" + echo " * See /etc/security/limits.d/99-realtime.conf instead" +} + +post_remove() { + [ "$(getent group realtime | cut -d ':' -f 3)" = '112' ] && \ + groupdel realtime || true +} + +# vim:set ts=2 sw=2 et: diff --git a/testing/pyalpm/PKGBUILD b/testing/pyalpm/PKGBUILD new file mode 100644 index 000000000..7a2eccdda --- /dev/null +++ b/testing/pyalpm/PKGBUILD @@ -0,0 +1,23 @@ +# Maintainer : Rémy Oudompheng <remy@archlinux.org> + +pkgname=pyalpm +pkgver=0.5 +pkgrel=1 +pkgdesc="Libalpm bindings for Python 3" +arch=('i686' 'x86_64') +url="http://projects.archlinux.org/users/remy/pyalpm.git/" +license=('GPL') +depends=('python>=3.2' 'pacman>=4') +source=("ftp://ftp.archlinux.org/other/pyalpm/$pkgname-$pkgver.tar.gz") +md5sums=('25b078e0c56d10cf64edd026be317760') + +build() { + cd ${srcdir}/${pkgname}-${pkgver} + python setup.py build +} + +package() { + cd ${srcdir}/${pkgname}-${pkgver} + python setup.py install --root=${pkgdir} +} + |