From 0dee03071a0643c3ee5820afa3c694dcef71d385 Mon Sep 17 00:00:00 2001 From: root Date: Tue, 7 Feb 2012 23:15:14 +0000 Subject: Tue Feb 7 23:15:14 UTC 2012 --- testing/iw/PKGBUILD | 24 ++++++++++++++++++ testing/systemd/PKGBUILD | 20 ++++++--------- testing/ypbind-mt/PKGBUILD | 48 ++++++++++++++++++++++++++++++++++++ testing/ypbind-mt/nisdomainname.conf | 4 +++ testing/ypbind-mt/ypbind | 35 ++++++++++++++++++++++++++ testing/ypbind-mt/ypbind.conf | 4 +++ 6 files changed, 123 insertions(+), 12 deletions(-) create mode 100644 testing/iw/PKGBUILD create mode 100644 testing/ypbind-mt/PKGBUILD create mode 100644 testing/ypbind-mt/nisdomainname.conf create mode 100755 testing/ypbind-mt/ypbind create mode 100644 testing/ypbind-mt/ypbind.conf (limited to 'testing') diff --git a/testing/iw/PKGBUILD b/testing/iw/PKGBUILD new file mode 100644 index 000000000..c28a67688 --- /dev/null +++ b/testing/iw/PKGBUILD @@ -0,0 +1,24 @@ +# $Id: PKGBUILD 149342 2012-02-06 21:31:23Z thomas $ +# Maintainer: Thomas Bächler + +pkgname=iw +pkgver=3.3 +pkgrel=1 +pkgdesc="nl80211 based CLI configuration utility for wireless devices" +arch=("i686" "x86_64") +url="http://wireless.kernel.org/en/users/Documentation/iw" +license=("GPL") +depends=("libnl") +makedepends=("kernel-headers") +source=(http://wireless.kernel.org/download/$pkgname/$pkgname-$pkgver.tar.bz2) +sha256sums=('567f0d389dd7c9919832101aaa8e3863a463cb505545534eb46b4ddab4400e60') + +build() { + cd "$srcdir"/$pkgname-$pkgver + make +} + +package() { + cd "$srcdir"/$pkgname-$pkgver + make DESTDIR="$pkgdir" install +} diff --git a/testing/systemd/PKGBUILD b/testing/systemd/PKGBUILD index a1f555c57..dfc15d473 100644 --- a/testing/systemd/PKGBUILD +++ b/testing/systemd/PKGBUILD @@ -1,9 +1,9 @@ -# $Id: PKGBUILD 147677 2012-01-26 13:47:39Z dreisner $ +# $Id: PKGBUILD 149354 2012-02-07 03:51:50Z dreisner $ # Maintainer: Dave Reisner pkgname=systemd -pkgver=39 -pkgrel=2 +pkgver=40 +pkgrel=1 pkgdesc="Session and Startup manager" arch=('i686' 'x86_64') url="http://www.freedesktop.org/wiki/Software/systemd" @@ -24,14 +24,13 @@ backup=(etc/dbus-1/system.d/org.freedesktop.systemd1.conf etc/dbus-1/system.d/org.freedesktop.timedate1.conf etc/systemd/system.conf etc/systemd/user.conf - etc/systemd/systemd-logind.conf) + etc/systemd/systemd-logind.conf + etc/systemd/systemd-journald.conf) install=systemd.install source=("http://www.freedesktop.org/software/$pkgname/$pkgname-$pkgver.tar.xz" - "os-release" - "0001-mount-fix-automount-regression.patch") -md5sums=('7179b34f6f6553d2a36551ac1dec5f0d' - '752636def0db3c03f121f8b4f44a63cd' - '6e42637c1b1d4589909329dab777631b') + "os-release") +md5sums=('8880180f54dac8618ef70c46492fd8d9' + '752636def0db3c03f121f8b4f44a63cd') build() { cd "$pkgname-$pkgver" @@ -41,9 +40,6 @@ build() { sed -i -e '/^Environ.*LANG/s/^/#/' \ -e '/^ExecStart/s/agetty/& -8/' units/getty@.service.m4 - # fix default dependencies for automounts in /etc/fstab - patch -Np1 < "$srcdir/0001-mount-fix-automount-regression.patch" - ./configure --sysconfdir=/etc \ --libexecdir=/usr/lib \ --libdir=/usr/lib \ diff --git a/testing/ypbind-mt/PKGBUILD b/testing/ypbind-mt/PKGBUILD new file mode 100644 index 000000000..c78f6d1dd --- /dev/null +++ b/testing/ypbind-mt/PKGBUILD @@ -0,0 +1,48 @@ +# $Id: PKGBUILD 149344 2012-02-06 23:02:05Z tomegun $ +# Maintainer: Tom Gundersen +# Contributor: Gaetan Bisson +# Contributor: judd +# Contributor: Tom Newsom + +pkgname=ypbind-mt +pkgver=1.33 +pkgrel=4 +pkgdesc='Linux NIS daemon' +url='http://www.linux-nis.org/nis/ypbind-mt/' +license=('GPL2') +arch=('i686' 'x86_64') +makedepends=('networkmanager') +depends=('rpcbind' 'openslp' 'dbus-glib') +optdepends=('yp-tools: to set a domain name') +backup=('etc/yp.conf' 'etc/conf.d/ypbind' 'etc/conf.d/nisdomainname') +#source=("ftp://ftp.kernel.org/pub/linux/utils/net/NIS/${pkgname}-${pkgver}.tar.gz" +source=("ftp://ftp.archlinux.org/other/${pkgname}/${pkgname}-${pkgver}.tar.bz2" + 'nisdomainname.conf' + 'ypbind.conf' + 'ypbind') + +build() { + cd "${srcdir}/${pkgname}-${pkgver}" + + ./configure \ + --prefix=/usr \ + --enable-dbus-nm \ + + make +} + +package() { + cd "${srcdir}/${pkgname}-${pkgver}" + + make DESTDIR="${pkgdir}" install + + install -D -m644 etc/yp.conf "${pkgdir}"/etc/yp.conf + install -D -m755 ../ypbind "${pkgdir}"/etc/rc.d/ypbind + install -D -m644 ../ypbind.conf "${pkgdir}"/etc/conf.d/ypbind + install -D -m644 ../nisdomainname.conf "${pkgdir}"/etc/conf.d/nisdomainname + install -d -m755 "${pkgdir}"/var/yp/binding +} +md5sums=('692f68ed0476762be4228ce543a5b791' + 'e83a85291ea2ee152a78f2c16b0b1185' + '229309a989abad27703ac2e6d07dc7ae' + '1f7a4c80414d580c9afb3a08267beed0') diff --git a/testing/ypbind-mt/nisdomainname.conf b/testing/ypbind-mt/nisdomainname.conf new file mode 100644 index 000000000..bbbbf8fc7 --- /dev/null +++ b/testing/ypbind-mt/nisdomainname.conf @@ -0,0 +1,4 @@ +# +# NIS domain to be set in /etc/rc.d/ypbind +# +NISDOMAINNAME="" diff --git a/testing/ypbind-mt/ypbind b/testing/ypbind-mt/ypbind new file mode 100755 index 000000000..6a5ef11e3 --- /dev/null +++ b/testing/ypbind-mt/ypbind @@ -0,0 +1,35 @@ +#!/bin/bash + +. /etc/rc.conf +. /etc/rc.d/functions + +. /etc/conf.d/ypbind +. /etc/conf.d/nisdomainname + +name=ypbind +PID=$(pidof -o %PPID /usr/sbin/ypbind) + +case "$1" in +start) + stat_busy "Starting $name daemon" + [[ -n $NISDOMAINNAME ]] && /usr/bin/domainname "$NISDOMAINNAME" &>/dev/null + [[ -z "$PID" ]] && /usr/sbin/ypbind $YPBIND_ARGS &>/dev/null \ + && { add_daemon $name; stat_done; } \ + || { stat_fail; exit 1; } + ;; +stop) + stat_busy "Stopping $name daemon" + [[ -n "$PID" ]] && kill $PID &>/dev/null \ + && { rm_daemon $name; stat_done; } \ + || { stat_fail; exit 1; } + ;; +restart) + $0 stop + sleep 1 + $0 start + ;; +*) + echo "usage: $0 {start|stop|restart}" + exit 1 + ;; +esac diff --git a/testing/ypbind-mt/ypbind.conf b/testing/ypbind-mt/ypbind.conf new file mode 100644 index 000000000..fd0ebd491 --- /dev/null +++ b/testing/ypbind-mt/ypbind.conf @@ -0,0 +1,4 @@ +# +# Parameters to be passed to ypbind +# +YPBIND_ARGS="" -- cgit v1.2.3-54-g00ecf