diff options
26 files changed, 379 insertions, 51 deletions
diff --git a/community/gnome-packagekit/PKGBUILD b/community/gnome-packagekit/PKGBUILD index 080a7d4a7..c8b1a8f34 100644 --- a/community/gnome-packagekit/PKGBUILD +++ b/community/gnome-packagekit/PKGBUILD @@ -1,9 +1,9 @@ -# $Id: PKGBUILD 74017 2012-07-18 01:51:17Z jconder $ +# $Id: PKGBUILD 75404 2012-08-22 06:01:57Z jconder $ # Maintainer: Jonathan Conder <jonno.conder@gmail.com> pkgname=gnome-packagekit pkgver=3.4.2 -pkgrel=1 +pkgrel=2 pkgdesc='Collection of graphical tools for PackageKit to be used in the GNOME desktop' arch=('i686' 'x86_64') url='http://www.packagekit.org/' diff --git a/community/libbsd/PKGBUILD b/community/libbsd/PKGBUILD index 23bb96d5a..86850d37f 100644 --- a/community/libbsd/PKGBUILD +++ b/community/libbsd/PKGBUILD @@ -1,30 +1,30 @@ +# $Id: PKGBUILD 75426 2012-08-23 01:07:04Z svenstaro $ # Maintainer: Sven-Hendrik Haase <sh@lutzhaase.com> # Contributor: Gerardo Exequiel Pozzi <vmlinuz386@yahoo.com.ar> pkgname=libbsd -pkgver=0.3.0 +pkgver=0.4.2 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') +source=(http://libbsd.freedesktop.org/releases/$pkgname-$pkgver.tar.gz) +md5sums=('591fc9de4ca22f78cf87a94e648a92f4') build() { cd $srcdir/$pkgname-$pkgver - make exec_prefix=/usr includedir=/usr/include/libbsd + ./configure --prefix=/usr + make } 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 + make DESTDIR=$pkgdir install + install -D -m644 COPYING $pkgdir/usr/share/licenses/$pkgname/LICENSE } # vim:set ts=2 sw=2 et: diff --git a/community/linux-tools/PKGBUILD b/community/linux-tools/PKGBUILD index d5fd8ce8b..d3fc34b01 100644 --- a/community/linux-tools/PKGBUILD +++ b/community/linux-tools/PKGBUILD @@ -1,10 +1,10 @@ -# $Id: PKGBUILD 74870 2012-08-07 22:24:52Z seblu $ +# $Id: PKGBUILD 75410 2012-08-22 13:10:25Z seblu $ # Maintainer: Sébastien Luttringer <seblu@aur.archlinux.org> pkgbase=linux-tools pkgname=('perf' 'cpupower' 'x86_energy_perf_policy' 'usbip') pkgver=3.5 -pkgrel=3 +pkgrel=4 license=('GPL2') arch=('i686' 'x86_64') url='http://www.kernel.org' @@ -25,6 +25,7 @@ source=("http://ftp.kernel.org/pub/linux/kernel/v3.x/linux-$pkgver.tar.xz" 'cpupower.rc' 'cpupower.systemd' 'cpupower.service' + 'cpupower.pmutils' 'usbipd.conf' 'usbipd.rc' 'usbipd.service') @@ -33,6 +34,7 @@ md5sums=('24153eaaa81dedc9481ada8cd9c3b83d' '1d9214637968b91706b6e616a100d44b' 'c0d17b5295fe964623c772a2dd981771' '2450e8ff41b30eb58d43b5fffbfde1f4' + '1c2743ce57b56e16feec86a8b49f3391' 'e8fac9c45a628015644b4150b139278a' '8a3831d962ff6a9968c0c20fd601cdec' 'ba7c1c513314dd21fb2334fb8417738f') @@ -104,11 +106,13 @@ package_cpupower() { docdir='/usr/share/doc/cpupower' \ install install-man popd - # install daemon scripts + # install startup scripts install -Dm 755 $pkgname.rc "$pkgdir/etc/rc.d/$pkgname" install -Dm 644 $pkgname.conf "$pkgdir/etc/conf.d/$pkgname" install -Dm 644 $pkgname.service "$pkgdir/usr/lib/systemd/system/$pkgname.service" install -Dm 755 $pkgname.systemd "$pkgdir/usr/lib/systemd/scripts/$pkgname" + # install pm-utils hook + install -Dm 755 $pkgname.pmutils "$pkgdir/usr/lib/pm-utils/power.d/$pkgname" } package_x86_energy_perf_policy() { diff --git a/community/linux-tools/cpupower.pmutils b/community/linux-tools/cpupower.pmutils new file mode 100644 index 000000000..fb93cd7c1 --- /dev/null +++ b/community/linux-tools/cpupower.pmutils @@ -0,0 +1,37 @@ +#!/bin/bash + +[[ -x /usr/bin/cpupower ]] || exit $NA + +CPUPOWER_GOVERNOR_AC=${CPUPOWER_GOVERNOR_AC:-ondemand} +CPUPOWER_GOVERNOR_BAT=${CPUPOWER_GOVERNOR_BAT:-conservative} + +help() { + cat <<EOF +-------- +$0: Select cpupower frequency governor. + +Parameters: +CPUPOWER_GOVERNOR_AC = Governor to use on AC. +Defaults to ondemand. + +CPUPOWER_GOVERNOR_BAT = Governor to use on battery. +Defaults to conservative. + +EOF +} + +cpupow() { + printf 'Setting cpupower frequency governor to %s...' "$1" + cpupower -c all frequency-set -g "$1" +} + +case $1 in + true) cpupow "$CPUPOWER_GOVERNOR_BAT" ;; + false) cpupow "$CPUPOWER_GOVERNOR_AC" ;; + help) help;; + *) exit $NA ;; +esac + +exit 0 + +# vim:set ts=2 sw=2 ft=sh et: diff --git a/community/packagekit/PKGBUILD b/community/packagekit/PKGBUILD index d4068f9b6..f00c83929 100644 --- a/community/packagekit/PKGBUILD +++ b/community/packagekit/PKGBUILD @@ -1,9 +1,9 @@ -# $Id: PKGBUILD 69338 2012-04-14 09:48:38Z jconder $ +# $Id: PKGBUILD 75406 2012-08-22 08:09:42Z jconder $ # Maintainer: Jonathan Conder <jonno.conder@gmail.com> pkgbase='packagekit' pkgname=('packagekit' 'packagekit-qt2' 'packagekit-python') -pkgver=0.6.22 -pkgrel=1 +pkgver=0.7.6 +pkgrel=2 pkgdesc="A system designed to make installation and updates of packages easier." arch=('i686' 'x86_64') url="http://www.packagekit.org" @@ -12,8 +12,10 @@ makedepends=('dbus-glib' 'gobject-introspection' 'gtk-doc' 'intltool' 'networkmanager' 'pacman' 'pm-utils' 'polkit' 'python2' 'qt' 'shared-mime-info' 'sqlite' 'udev') options=('!libtool') -source=("http://www.packagekit.org/releases/PackageKit-$pkgver.tar.xz") -sha256sums=('b9f71721b0b16e106c0a1ce28c97b2277a34b0c15d1a171f4898f34117ebaa2d') +source=("http://www.packagekit.org/releases/PackageKit-$pkgver.tar.xz" + 'adopt.patch') +sha256sums=('82c0a553075d49add3c4f58e6e93f7f3613938809a4b8e36f46476e86981b45d' + 'd0ee8580202a878571dddd470017731299c63e5c5120afe881bb41b9544322b8') build() { cd "$srcdir/PackageKit-$pkgver" @@ -22,6 +24,8 @@ build() { sed -i 's@python @python2 @' 'lib/python/packagekit/Makefile.in' sed -i 's@bin/python@bin/python2@' 'lib/python/packagekit/'*.py + patch -Np1 -i "$srcdir/adopt.patch" + export PYTHON=/usr/bin/python2 ./configure --prefix=/usr \ --sysconfdir=/etc \ @@ -61,7 +65,7 @@ package_packagekit() { rm -rf "$pkgdir/usr/include/PackageKit/packagekit-qt"* rm -rf "$pkgdir/usr/lib/libpackagekit-qt"* rm -rf "$pkgdir/usr/lib/pkgconfig/packagekit-qt"* - rm -rf "$pkgdir/usr/share/cmake" + rm -rf "$pkgdir/usr/lib/cmake" rm -rf "$pkgdir/usr/lib/python"* rm -rf "$pkgdir/usr/share/PackageKit/website" @@ -69,6 +73,7 @@ package_packagekit() { mkdir -p "$pkgdir/usr/share/bash-completion/completions" mv "$pkgdir/etc/bash_completion.d/pk-completion.bash" \ "$pkgdir/usr/share/bash-completion/completions/pkcon" + rmdir "$pkgdir/etc/bash_completion.d" touch "$pkgdir/var/log/PackageKit" } diff --git a/community/packagekit/adopt.patch b/community/packagekit/adopt.patch new file mode 100644 index 000000000..5eaf0ea8b --- /dev/null +++ b/community/packagekit/adopt.patch @@ -0,0 +1,13 @@ +diff -ru a/lib/packagekit-glib2/pk-client.c b/lib/packagekit-glib2/pk-client.c +--- a/lib/packagekit-glib2/pk-client.c 2012-08-22 00:30:33.000000000 +1200 ++++ b/lib/packagekit-glib2/pk-client.c 2012-08-22 19:58:44.772432269 +1200 +@@ -4898,9 +4898,6 @@ + + /* connect */ + pk_client_proxy_connect (state); +- +- state->ret = TRUE; +- pk_client_state_finish (state, NULL); + } + + /** diff --git a/community/powertop/PKGBUILD b/community/powertop/PKGBUILD index 8b76e9d03..f8302d2e9 100644 --- a/community/powertop/PKGBUILD +++ b/community/powertop/PKGBUILD @@ -1,29 +1,29 @@ -# $Id: PKGBUILD 70596 2012-05-12 11:08:44Z jlichtblau $ +# $Id: PKGBUILD 75422 2012-08-22 21:05:18Z seblu $ # Maintainer: Jaroslav Lichtblau <dragonlord@aur.archlinux.org> # Contributor: Alexander Fehr <pizzapunk gmail com> # Contributor: Xilon <xilonmu@gmail.com> pkgname=powertop -pkgver=2.0 +pkgver=2.1 pkgrel=1 -pkgdesc="A tool to diagnose issues with power consumption and power management" +pkgdesc='A tool to diagnose issues with power consumption and power management' arch=('i686' 'x86_64') -url="https://01.org/powertop/" +url='https://01.org/powertop/' license=('GPL2') -depends=('libnl' 'ncurses') +depends=('gcc-libs' 'libnl' 'ncurses' 'pciutils') changelog=$pkgname.changelog -source=(https://01.org/powertop/sites/default/files/downloads/$pkgname-$pkgver.tar.bz2) -sha256sums=('7af51d320856b3446bcc314c9414385f3b05b9360f650883b0210cd3b12c5c1c') +source=("https://01.org/powertop/sites/default/files/downloads/$pkgname-$pkgver.tar.gz") +sha256sums=('3dd4816cca4167063b78d2d7772aff8dc58377d0ed74bf11862412a8a80d2698') build() { - cd ${srcdir}/$pkgname-$pkgver + cd $pkgname-$pkgver - ./configure --prefix=/usr + ./configure --prefix=/usr make } package() { - cd ${srcdir}/$pkgname-$pkgver + cd $pkgname-$pkgver - make DESTDIR=${pkgdir} install + make DESTDIR="$pkgdir" install } diff --git a/community/powertop/powertop.changelog b/community/powertop/powertop.changelog index 7e8deb15d..581da010b 100644 --- a/community/powertop/powertop.changelog +++ b/community/powertop/powertop.changelog @@ -1,2 +1,5 @@ +2012-08-22 Sébastien Luttringer (seblu) <seblu@aur.archlinux.org> + * powertop 2.1-1 + 2012-05-12 Jaroslav Lichtblau (Dragonlord) <dragonlord@aur.archlinux.org> * powertop 2.0-1 diff --git a/community/pragha/PKGBUILD b/community/pragha/PKGBUILD index c0c3379f1..ea590746b 100755 --- a/community/pragha/PKGBUILD +++ b/community/pragha/PKGBUILD @@ -1,10 +1,10 @@ -# $Id: PKGBUILD 72729 2012-06-21 16:19:43Z ttopper $ +# $Id: PKGBUILD 75419 2012-08-22 19:34:43Z ttopper $ # Maintainer: Thorsten Töpper <atsutane-tu@freethoughts.de> # Contributor: Alois Nespor <alois.nespor@gmail.com> # Contributor: JerichoKru <jerichokru(AT)htomail.com> pkgname=pragha -pkgver=1.1.0.1 +pkgver=1.1.1 pkgrel=1 pkgdesc="A lightweight GTK+ music manager - fork of Consonance Music Manager." arch=('i686' 'x86_64') @@ -18,7 +18,7 @@ optdepends=('notification-daemon: OSD notification') replaces=('dissonance') install=pragha.install source=("https://github.com/downloads/matiasdelellis/pragha/$pkgname-$pkgver.tar.bz2") -sha1sums=('2db115a7f263ea8bcac446590ccc32cae7542c93') +sha1sums=('a7b839df5799263f870ea65a7f272015e24637e9') build() { cd "$srcdir/$pkgname-$pkgver" diff --git a/community/rygel/PKGBUILD b/community/rygel/PKGBUILD index 9263a97c8..2d0b771a3 100644 --- a/community/rygel/PKGBUILD +++ b/community/rygel/PKGBUILD @@ -1,9 +1,9 @@ -# $Id: PKGBUILD 75009 2012-08-11 13:57:55Z bgyorgy $ +# $Id: PKGBUILD 75414 2012-08-22 16:11:51Z bgyorgy $ # Maintainer: Balló György <ballogyor+arch at gmail dot com> pkgname=rygel pkgver=0.14.3 -pkgrel=1 +pkgrel=2 pkgdesc="UPnP AV MediaServer and MediaRenderer that allows you to easily share audio, video and pictures, and control of media player on your home network" arch=('i686' 'x86_64') url="http://live.gnome.org/Rygel" @@ -25,7 +25,7 @@ build() { cd "$srcdir/$pkgname-$pkgver" ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var \ - --disable-static + --disable-static --enable-mediathek-plugin --enable-gst-launch-plugin make } diff --git a/extra/spandsp/PKGBUILD b/extra/spandsp/PKGBUILD index 3f5f5f94e..359dffd72 100644 --- a/extra/spandsp/PKGBUILD +++ b/extra/spandsp/PKGBUILD @@ -1,8 +1,8 @@ -# $Id: PKGBUILD 154549 2012-03-30 08:01:29Z tpowa $ +# $Id: PKGBUILD 165523 2012-08-22 19:37:34Z tpowa $ # Maintainer: Tobias Powalowski <tpowa@archlinux.org> pkgname=spandsp -pkgver=0.0.6pre20 +pkgver=0.0.6pre21 pkgrel=1 pkgdesc="A DSP library for telephony" arch=(i686 x86_64) @@ -27,4 +27,4 @@ package() { cd $srcdir/$pkgname-0.0.6 make DESTDIR=$pkgdir install } -md5sums=('9bdf1d027f1b5dc5e622d707fa1634cb') +md5sums=('492f3790439891c07d8c06e97ccbfcf1') diff --git a/extra/varnish/PKGBUILD b/extra/varnish/PKGBUILD index 126dbd27b..dc7f84eac 100644 --- a/extra/varnish/PKGBUILD +++ b/extra/varnish/PKGBUILD @@ -1,4 +1,4 @@ -# $Id: PKGBUILD 165515 2012-08-21 21:58:47Z dreisner $ +# $Id: PKGBUILD 165520 2012-08-22 17:11:02Z dreisner $ # Maintainer: Dave Reisner <dreisner@archlinux.org> # Contributor: Jaroslav Lichtblau <dragonlord@aur.archlinux.org> # Contributor: Douglas Soares de Andrade @@ -6,7 +6,7 @@ pkgname=varnish pkgver=3.0.3 -pkgrel=1 +pkgrel=2 pkgdesc="High-performance HTTP accelerator" arch=('i686' 'x86_64') url="http://www.varnish-cache.org/" @@ -22,10 +22,10 @@ source=("http://repo.varnish-cache.org/source/$pkgname-$pkgver.tar.gz" varnish-vcl-reload varnish.service) md5sums=('714310c83fdbd2061d897dacd3f63d8b' - 'edd1237d097d72173d9772754335890c' + '3b563d2d9bd74a819fdb116d69d022f0' '40b4c83b3ad225ed2f4bd7e677fe41a2' '03196dee7fc68e75069393d52c370762' - '45cc1fd57aa2ffc22d6af62f9eedc842') + '1adf5282d111a9e00e99786045451016') build() { cd "$pkgname-$pkgver" diff --git a/extra/varnish/varnish.conf.d b/extra/varnish/varnish.conf.d index 904ca119f..4cf40c4fc 100644 --- a/extra/varnish/varnish.conf.d +++ b/extra/varnish/varnish.conf.d @@ -2,10 +2,10 @@ # Command line options to varnishd # +VARNISH_CFG="/etc/varnish/default.vcl" + VARNISHD_OPTS="-a 0.0.0.0:80 \ - -b localhost:8080 \ + -f $VARNISH_CFG \ -T localhost:6082 \ -s malloc,64M -u nobody -g nobody" - -VARNISH_CFG="/etc/varnish/default.vcl" diff --git a/extra/varnish/varnish.service b/extra/varnish/varnish.service index c8bb6c6e1..d5b0aa66d 100644 --- a/extra/varnish/varnish.service +++ b/extra/varnish/varnish.service @@ -3,7 +3,7 @@ Description=Web Application Accelerator After=network.target [Service] -ExecStart=/usr/sbin/varnishd -a 0.0.0.0:80 -b localhost:8080 -T localhost:6082 -s malloc,64M -u nobody -g nobody -F +ExecStart=/usr/sbin/varnishd -a 0.0.0.0:80 -f /etc/varnish/default.vcl -T localhost:6082 -s malloc,64M -u nobody -g nobody -F ExecReload=/usr/bin/varnish-vcl-reload [Install] diff --git a/extra/vlc/PKGBUILD b/extra/vlc/PKGBUILD index f534ac848..6fc59b0a2 100644 --- a/extra/vlc/PKGBUILD +++ b/extra/vlc/PKGBUILD @@ -1,11 +1,11 @@ -# $Id: PKGBUILD 164719 2012-08-04 05:32:21Z giovanni $ +# $Id: PKGBUILD 165525 2012-08-22 19:38:08Z giovanni $ # Maintainer: Giovanni Scafora <giovanni@archlinux.org> # Contributor: Sarah Hay <sarahhay@mb.sympatico.ca> # Contributor: Martin Sandsmark <martin.sandsmark@kde.org> pkgname=vlc pkgver=2.0.3 -pkgrel=2 +pkgrel=3 pkgdesc="A multi-platform MPEG, VCD/DVD, and DivX player" arch=('i686' 'x86_64') url="http://www.videolan.org/vlc/" @@ -61,6 +61,7 @@ build() { cd "${srcdir}/${pkgname}-${pkgver}" sed -i -e 's:truetype/freefont:TTF:g' modules/text_renderer/freetype.c + sed -i -e 's:truetype/ttf-dejavu:TTF:g' modules/visualization/projectm.cpp ./configure --prefix=/usr \ --sysconfdir=/etc \ diff --git a/libre/virtualbox-libre/LocalConfig.kmk b/libre/virtualbox-libre/LocalConfig.kmk index d42cd3e1f..6eca06d9b 100644 --- a/libre/virtualbox-libre/LocalConfig.kmk +++ b/libre/virtualbox-libre/LocalConfig.kmk @@ -10,6 +10,7 @@ VBOX_PATH_SHARED_LIBS := $(VBOX_PATH_APP_PRIVATE_ARCH) VBOX_WITH_RUNPATH := $(VBOX_PATH_APP_PRIVATE_ARCH) VBOX_PATH_APP_PRIVATE := /usr/share/virtualbox VBOX_PATH_APP_DOCS := /usr/share/virtualbox +VBOX_PATH_PACKAGE_DOCS := $(VBOX_PATH_APP_DOCS) VBOX_WITH_REGISTRATION_REQUEST = VBOX_WITH_UPDATE_REQUEST = VBOX_WITH_VNC := 1 diff --git a/libre/virtualbox-libre/PKGBUILD b/libre/virtualbox-libre/PKGBUILD index eef1c73ca..1ac873d98 100644 --- a/libre/virtualbox-libre/PKGBUILD +++ b/libre/virtualbox-libre/PKGBUILD @@ -11,7 +11,7 @@ pkgname=('virtualbox-libre' 'virtualbox-libre-source' 'virtualbox-libre-parabola-source') pkgver=4.1.20 -pkgrel=1 +pkgrel=2 arch=('i686' 'x86_64') url='http://virtualbox.org' license=('GPL' 'custom') @@ -255,7 +255,7 @@ package_virtualbox-libre-parabola-source() { md5sums=('5784c6dda8a9d53f8f21b2d41eba903c' '5f85710e0b8606de967716ded7b2d351' 'bf5d1eeeec20a042e8af34cd61a9e11b' - 'a1ff1d1b4423556887e48a32978226a6' + '58d6e5bb4b4c1c6f3f0b3daa6aaeed03' '4ff559f2bea335d59c4012048983ca91' '97e193f050574dd272a38e5ee5ebe62b' '3c08ad30b89add47d3f45121200a5360' diff --git a/testing/libmtp/PKGBUILD b/testing/libmtp/PKGBUILD new file mode 100644 index 000000000..fdbb15e2b --- /dev/null +++ b/testing/libmtp/PKGBUILD @@ -0,0 +1,27 @@ +# $Id: PKGBUILD 165531 2012-08-22 22:28:14Z tomegun $ +# Maintainer: Tom Gundersen <teg@jklm.no> +# Contributor: damir <damir@archlinux.org> +# Contributor: Kevin Edmonds <edmondskevin@hotmail.com> + +pkgname=libmtp +pkgver=1.1.4 +pkgrel=1 +pkgdesc="Library implementation of the Media Transfer Protocol" +arch=("i686" "x86_64") +url="http://libmtp.sourceforge.net" +license=('LGPL') +depends=('libusb' 'libgcrypt') +options=('!libtool') +source=("http://downloads.sourceforge.net/${pkgname}/${pkgname}-${pkgver}.tar.gz") + +build() { + cd "${srcdir}/${pkgname}-${pkgver}" + ./configure --prefix=/usr --with-udev=/usr/lib/udev + make +} + +package() { + cd "${srcdir}/${pkgname}-${pkgver}" + make DESTDIR="${pkgdir}" install +} +md5sums=('27d9bcbc925c1ef84869eb27fdda54e8') diff --git a/testing/openmpi/PKGBUILD b/testing/openmpi/PKGBUILD new file mode 100644 index 000000000..1ea67baaa --- /dev/null +++ b/testing/openmpi/PKGBUILD @@ -0,0 +1,65 @@ +# $Id: PKGBUILD 165529 2012-08-22 22:11:14Z stephane $ +# Maintainer: Stéphane Gaudreault <stephane@archlinux.org> +pkgname=openmpi +pkgver=1.6.1 +pkgrel=1 +pkgdesc="High performance message passing library (MPI)" +arch=('i686' 'x86_64') +url="http://www.open-mpi.org" +license=('custom') +depends=('gcc-fortran' 'openssh' 'valgrind' 'libltdl' 'hwloc') +makedepends=('inetutils') +options=(!libtool) +source=(http://www.open-mpi.org/software/ompi/v1.6/downloads/${pkgname}-${pkgver}.tar.bz2) +sha1sums=('1ccff71e3775c80c5a553f30104d663e1226baab') + +build() { + cd "${srcdir}/${pkgname}-${pkgver}" + + # Make sure we use the system ltdl librariry rather than the ones in the tarball + rm -r opal/libltdl + + ./configure --prefix=/usr \ + --sysconfdir=/etc/${pkgname} \ + --mandir=/usr/share/man \ + --enable-mpi-f90 \ + --libdir=/usr/lib/${pkgname} \ + --with-threads=posix \ + --enable-smp-locks \ + --with-valgrind \ + --enable-memchecker \ + --enable-debug \ + --enable-pretty-print-stacktrace \ + --without-slurm \ + --with-hwloc=/usr \ + --with-libltdl=/usr \ + FC=/usr/bin/gfortran \ + LDFLAGS="$LDFLAGS -Wl,-z,noexecstack" + + make +} + +package() { + cd "${srcdir}/${pkgname}-${pkgver}" + make DESTDIR="${pkgdir}" install + + # FS#28583 + install -d -m 755 "${pkgdir}"/usr/lib/pkgconfig + for i in ompi-c.pc ompi-cxx.pc ompi-f77.pc ompi-f90.pc ompi.pc; do + ln -sf /usr/lib/openmpi/pkgconfig/${i} "${pkgdir}"/usr/lib/pkgconfig/ + done + + # Openmpi's otfinfo conflicts with the one from texlive + mv "${pkgdir}"/usr/bin/otfinfo{,mpi} + + # Openmpi's otfdump conflicts with the one from libotf + mv "${pkgdir}"/usr/bin/otfdump{,ompi} + + # Remove dangling symlink + rm "${pkgdir}"/usr/share/man/man1/orteCC.1 + + install -d -m 755 "${pkgdir}"/etc/ld.so.conf.d + echo "/usr/lib/${pkgname}" > "${pkgdir}"/etc/ld.so.conf.d/${pkgname}.conf + + install -Dm644 LICENSE "${pkgdir}"/usr/share/licenses/${pkgname}/LICENSE +} diff --git a/testing/ypserv/PKGBUILD b/testing/ypserv/PKGBUILD new file mode 100644 index 000000000..0a3781750 --- /dev/null +++ b/testing/ypserv/PKGBUILD @@ -0,0 +1,54 @@ +# $Id: PKGBUILD 165527 2012-08-22 22:01:24Z tomegun $ +# Maintainer: Tom Gundersen <teg@jklm.no> +# Contributor: Gaetan Bisson <bisson@archlinux.org> +# Contributor: judd <jvinet@zeroflux.org> +# Contributor: Tom Newsom <Jeepster@gmx.co.uk> + +pkgname=ypserv +pkgver=2.28 +pkgrel=1 +pkgdesc='Linux NIS Server' +arch=('i686' 'x86_64') +url='http://www.linux-nis.org/nis/ypserv/' +license=('GPL2') +depends=('gdbm' 'openslp' 'inetutils') +optdepends=('gawk: for printcap support') +backup=('etc/ypserv.conf' 'etc/netgroup' 'var/yp/securenets') +source=("http://www.linux-nis.org/download/${pkgname}/${pkgname}-${pkgver}.tar.bz2" + 'confpost.patch' + 'ypxfrd.service' + 'yppasswdd.service' + 'ypserv.service' + 'yppasswd' + 'ypserv') + +build() { + cd "${srcdir}/${pkgname}-${pkgver}" + patch -p1 -i ../confpost.patch + ./configure --prefix=/usr + make +} + +package() { + cd "${srcdir}/${pkgname}-${pkgver}" + make DESTDIR="${pkgdir}" install + + install -D -m644 etc/netgroup "${pkgdir}"/etc/netgroup + install -D -m644 etc/ypserv.conf "${pkgdir}"/etc/ypserv.conf + install -D -m644 etc/securenets "${pkgdir}"/var/yp/securenets + install -D -m755 ../ypserv "${pkgdir}"/etc/rc.d/ypserv + install -D -m755 ../yppasswd "${pkgdir}"/etc/rc.d/yppasswd + install -D -m644 ../ypxfrd.service "${pkgdir}"/usr/lib/systemd/system/ypxfrd.service + install -D -m644 ../ypserv.service "${pkgdir}"/usr/lib/systemd/system/ypserv.service + install -D -m644 ../yppasswdd.service "${pkgdir}"/usr/lib/systemd/system/yppasswdd.service + + # Provide native service for arch-daemons generator + ln -s yppasswdd.service "$pkgdir/usr/lib/systemd/system/yppasswd.service" +} +md5sums=('ed64f489bab494218fc5c5942b95d5b6' + '8acb314f30d6e531ac9efa8655f68ccb' + 'c80e253756446d59a90c4c21b1cb8740' + '7cba3dd3544436c3c1f05e36c0018e92' + '3398271c3e0a054e64b06b99aa2dc63d' + '4bc84c48ed1bb9659698853acb5cfd76' + 'c40befe5932f1b42efaced6b46809303') diff --git a/testing/ypserv/confpost.patch b/testing/ypserv/confpost.patch new file mode 100644 index 000000000..489e4368a --- /dev/null +++ b/testing/ypserv/confpost.patch @@ -0,0 +1,14 @@ +diff -up ypserv-2.27/conf_post.h.qdbm ypserv-2.27/conf_post.h +--- ypserv-2.27/conf_post.h.qdbm 2012-02-01 14:18:01.780846425 +0100 ++++ ypserv-2.27/conf_post.h 2012-02-01 14:18:01.780846425 +0100 +@@ -0,0 +1,10 @@ ++/* Define common preprocessor symbol for HAVE_LIBGDBM and HAVE_LIBQDBM, since ++ * libraries gdbm and qdbm have same symbol names. */ ++#undef HAVE_COMPAT_LIBGDBM ++#ifdef HAVE_LIBGDBM ++#define HAVE_COMPAT_LIBGDBM ++#endif ++#ifdef HAVE_LIBQDBM ++#define HAVE_COMPAT_LIBGDBM ++#endif ++ diff --git a/testing/ypserv/yppasswd b/testing/ypserv/yppasswd new file mode 100755 index 000000000..c2b00b2ca --- /dev/null +++ b/testing/ypserv/yppasswd @@ -0,0 +1,34 @@ +#!/bin/bash + +. /etc/rc.conf +. /etc/rc.d/functions + +case "$1" in + start) + stat_busy "Starting NIS Password Daemon" + /usr/sbin/rpc.yppasswdd + if [ $? -gt 0 ]; then + stat_fail + else + add_daemon yppasswd + stat_done + fi + ;; + stop) + stat_busy "Stopping NIS Password Daemon" + killall -q /usr/sbin/rpc.yppasswdd + if [ $? -gt 0 ]; then + stat_fail + else + rm_daemon yppasswd + stat_done + fi + ;; + restart) + $0 stop + sleep 1 + $0 start + ;; + *) + echo "usage: $0 {start|stop|restart}" +esac diff --git a/testing/ypserv/yppasswdd.service b/testing/ypserv/yppasswdd.service new file mode 100644 index 000000000..9a7068b6c --- /dev/null +++ b/testing/ypserv/yppasswdd.service @@ -0,0 +1,12 @@ +[Unit] +Description=NIS/YP (Network Information Service) Users Passwords Change Server +Requires=rpcbind.service +After=network.target rpcbind.service + +[Service] +Type=forking +PIDFile=/run/yppasswdd.pid +ExecStart=/usr/sbin/rpc.yppasswdd + +[Install] +WantedBy=multi-user.target diff --git a/testing/ypserv/ypserv b/testing/ypserv/ypserv new file mode 100755 index 000000000..c36e6901b --- /dev/null +++ b/testing/ypserv/ypserv @@ -0,0 +1,34 @@ +#!/bin/bash + +. /etc/rc.conf +. /etc/rc.d/functions + +case "$1" in + start) + stat_busy "Starting NIS Server" + /usr/sbin/ypserv + if [ $? -gt 0 ]; then + stat_fail + else + add_daemon ypserv + stat_done + fi + ;; + stop) + stat_busy "Stopping NIS Server" + killall -q /usr/sbin/ypserv + if [ $? -gt 0 ]; then + stat_fail + else + rm_daemon ypserv + stat_done + fi + ;; + restart) + $0 stop + sleep 1 + $0 start + ;; + *) + echo "usage: $0 {start|stop|restart}" +esac diff --git a/testing/ypserv/ypserv.service b/testing/ypserv/ypserv.service new file mode 100644 index 000000000..024a92e5a --- /dev/null +++ b/testing/ypserv/ypserv.service @@ -0,0 +1,12 @@ +[Unit] +Description=NIS/YP (Network Information Service) Server +Requires=rpcbind.service +After=network.target rpcbind.service + +[Service] +Type=forking +PIDFile=/run/ypserv.pid +ExecStart=/usr/sbin/ypserv + +[Install] +WantedBy=multi-user.target diff --git a/testing/ypserv/ypxfrd.service b/testing/ypserv/ypxfrd.service new file mode 100644 index 000000000..322ef559f --- /dev/null +++ b/testing/ypserv/ypxfrd.service @@ -0,0 +1,12 @@ +[Unit] +Description=NIS/YP (Network Information Service) Maps Transferring Accelerator +Requires=rpcbind.service +After=network.target rpcbind.service + +[Service] +Type=forking +PIDFile=/run/ypxfrd.pid +ExecStart=/usr/sbin/rpc.ypxfrd + +[Install] +WantedBy=multi-user.target |