diff options
Diffstat (limited to 'community-testing')
-rw-r--r-- | community-testing/catalyst-dkms/PKGBUILD | 19 | ||||
-rw-r--r-- | community-testing/catalyst-dkms/catalyst.install | 26 | ||||
-rw-r--r-- | community-testing/connman/PKGBUILD | 46 | ||||
-rw-r--r-- | community-testing/connman/allow_group_network.diff | 12 | ||||
-rwxr-xr-x | community-testing/connman/connmand-daemon | 44 | ||||
-rw-r--r-- | community-testing/lxdm/PKGBUILD | 7 | ||||
-rw-r--r-- | community-testing/lxdm/lxdm-pam | 4 | ||||
-rw-r--r-- | community-testing/unbound/PKGBUILD | 54 | ||||
-rw-r--r-- | community-testing/unbound/install | 10 | ||||
-rw-r--r-- | community-testing/unbound/rc.d | 39 | ||||
-rw-r--r-- | community-testing/unbound/unbound.conf | 4 | ||||
-rw-r--r-- | community-testing/unbound/unbound.service | 11 |
12 files changed, 246 insertions, 30 deletions
diff --git a/community-testing/catalyst-dkms/PKGBUILD b/community-testing/catalyst-dkms/PKGBUILD index 7b455b1cc..05e501cda 100644 --- a/community-testing/catalyst-dkms/PKGBUILD +++ b/community-testing/catalyst-dkms/PKGBUILD @@ -1,11 +1,11 @@ -# $Id: PKGBUILD 77331 2012-10-08 22:59:34Z lcarlier $ +# $Id: PKGBUILD 78743 2012-10-23 22:15:52Z lcarlier $ # Maintainer: Laurent Carlier <lordheavym@gmail.com> # Contributor: Vi0L0, wonder, Eduardo "kensai" Romero # Contributor: aidanlinz, Rip-Rip, OvsInc, Sebastian Siebert pkgname=catalyst-dkms -pkgver=12.9 -pkgrel=0.1 +pkgver=12.10 +pkgrel=1 pkgdesc="AMD proprietary gpu kernel driver" arch=('i686' 'x86_64') url="http://www.amd.com" @@ -14,10 +14,9 @@ depends=('dkms') optdepends=('linux-headers: build the module against Arch kernel' 'linux-lts-headers: build the module against LTS Arch kernel') replaces=('catalyst-lts-dkms') # useless -source=(#http://www2.ati.com/drivers/linux/amd-driver-installer-${pkgver/./-}-x86.x86_64.zip - https://launchpad.net/ubuntu/quantal/+source/fglrx-installer/2:9.000-0ubuntu1/+files/fglrx-installer_9.000.orig.tar.gz +source=(http://www2.ati.com/drivers/linux/amd-driver-installer-catalyst-${pkgver}-x86.x86_64.zip dkms.conf) -md5sums=('2bb6e8193fdddff9bbd2e3d9f9e8f39b' +md5sums=('ef6ecd984e47e80849215b33fbfa5b7f' '972049dc247a74a7162f2227078abcb0') install=catalyst.install @@ -32,14 +31,14 @@ package() { _archdir=x86 fi - #sh ./amd-driver-installer*.run --extract fglrx-install + sh ./amd-driver-installer*.run --extract fglrx-install - #cd fglrx-install + cd fglrx-install #patch -Np1 -i ../3.5-do_mmap.patch install -dm755 "${pkgdir}/usr/lib/modprobe.d" install -dm755 "${pkgdir}/usr/src/fglrx-${pkgver}-${pkgrel}" - cp -r lib/modules/fglrx/build_mod/* "${pkgdir}/usr/src/fglrx-${pkgver}-${pkgrel}/" + cp -r common/lib/modules/fglrx/build_mod/* "${pkgdir}/usr/src/fglrx-${pkgver}-${pkgrel}/" cp "arch/${_archdir}"/lib/modules/fglrx/build_mod/libfglrx_ip.a "${pkgdir}/usr/src/fglrx-${pkgver}-${pkgrel}/" cp ${srcdir}/dkms.conf "${pkgdir}/usr/src/fglrx-${pkgver}-${pkgrel}/" sed -i -e "s/@VERSION@/${pkgver}-${pkgrel}/" "${pkgdir}/usr/src/fglrx-${pkgver}-${pkgrel}/dkms.conf" @@ -47,5 +46,5 @@ package() { echo "blacklist radeon" >> "${pkgdir}/usr/lib/modprobe.d/catalyst.conf" # license - install -Dm644 "${srcdir}/usr/share/doc/fglrx/LICENSE.TXT" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE.TXT" + install -Dm644 "common/usr/share/doc/fglrx/LICENSE.TXT" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE.TXT" } diff --git a/community-testing/catalyst-dkms/catalyst.install b/community-testing/catalyst-dkms/catalyst.install index 3adb1410d..655468646 100644 --- a/community-testing/catalyst-dkms/catalyst.install +++ b/community-testing/catalyst-dkms/catalyst.install @@ -1,22 +1,18 @@ -post_install() -{ - dkms add -m fglrx -v $1 - dkms build -m fglrx -v $1 +post_install() { dkms install -m fglrx -v $1 } -post_upgrade() -{ - # removing old version - dkms remove -m fglrx -v $2 --all - # then installing the new one - dkms add -m fglrx -v $1 - dkms build -m fglrx -v $1 - dkms install -m fglrx -v $1 +pre_upgrade() { + local curver=$2 + # $2 is unset due to a bug. Query current version using pacman as fallback + [ -n "$curver" ] || curver=$(pacman -Qi catalyst-dkms | awk '/^Version/{print $3}') + pre_remove $curver } -pre_remove() -{ - dkms remove -m fglrx -v $1 --all +post_upgrade() { + post_install $1 } +pre_remove() { + dkms remove -m fglrx -v $1 --all +} diff --git a/community-testing/connman/PKGBUILD b/community-testing/connman/PKGBUILD new file mode 100644 index 000000000..a52740fca --- /dev/null +++ b/community-testing/connman/PKGBUILD @@ -0,0 +1,46 @@ +#$Id: PKGBUILD 78716 2012-10-23 04:26:25Z dwallace $ +# Maintainer: Daniel Wallace <danielwallace at gtmanfred dot com> +# Contributor: Lucas De Marchi <lucas.de.marchi@gmail.com> + +pkgname=connman +pkgver=1.8 +pkgrel=2 +pkgdesc="Wireless LAN network manager" +url="http://connman.net/" +arch=('i686' 'x86_64') +license=('GPL2') +depends=('dbus-core' 'iptables' 'glib2' 'gnutls') +conflicts=('openresolv') +optdepends=('bluez: Support for Bluetooth devices' + 'wpa_supplicant: For WiFi devices') +makedepends=('bluez' 'wpa_supplicant' 'openconnect' 'openvpn') +options=('!libtool') +source=('connmand-daemon' + "http://www.kernel.org/pub/linux/network/${pkgname}/${pkgname}-${pkgver}.tar.bz2" + 'allow_group_network.diff') + +md5sums=('88ece7cbf1d0d289545ce4f8553fdab8' + '689468f92a1dcb2c0e30d7d00410ad87' + 'a8d22ee089fb0ed725130d16ad393047') +build() { + cd "${srcdir}/${pkgname}-${pkgver}" + + patch -Np1 -i "${srcdir}/allow_group_network.diff" + + ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var \ + --with-systemdunitdir=/usr/lib/systemd/system \ + --enable-threads \ + --enable-openconnect \ + --enable-openvpn \ + --enable-polkit \ + --enable-client + + make +} + +package(){ + cd "${srcdir}/${pkgname}-${pkgver}" + + make DESTDIR="${pkgdir}" install + install -Dm755 "$srcdir"/connmand-daemon "$pkgdir"/etc/rc.d/connmand +} diff --git a/community-testing/connman/allow_group_network.diff b/community-testing/connman/allow_group_network.diff new file mode 100644 index 000000000..027d933f7 --- /dev/null +++ b/community-testing/connman/allow_group_network.diff @@ -0,0 +1,12 @@ +--- a/src/connman-polkit.conf 2010-11-05 12:09:04.285423955 -0200 ++++ b/src/connman-polkit.conf 2010-11-05 12:10:53.041423934 -0200 +@@ -5,6 +5,9 @@ + <allow own="net.connman"/> + <allow send_interface="net.connman.Agent"/> + </policy> ++ <policy group="network"> ++ <allow send_interface="net.connman.Agent"/> ++ </policy> + <policy context="default"> + <allow send_destination="net.connman"/> + </policy> diff --git a/community-testing/connman/connmand-daemon b/community-testing/connman/connmand-daemon new file mode 100755 index 000000000..aff1ddeb2 --- /dev/null +++ b/community-testing/connman/connmand-daemon @@ -0,0 +1,44 @@ +#!/bin/bash + +. /etc/rc.conf +. /etc/rc.d/functions + +DESC="Connection Manager" +NAME="connmand" +ARGS="" +DAEMON="/usr/sbin/$NAME" + +PID=`pidof -o %PPID ${DAEMON}` +case "$1" in + start) + stat_busy "Starting ${DESC}" + if [ -z "$PID" ]; then + ${DAEMON} ${ARGS} + fi + if [ ! -z "$PID" -o $? -gt 0 ]; then + stat_fail + else + add_daemon ${NAME} + stat_done + fi + ;; + stop) + stat_busy "Stopping ${DESC}" + [ ! -z "$PID" ] && killall ${DAEMON} &> /dev/null + if [ $? -gt 0 ]; then + stat_fail + else + rm_daemon ${NAME} + stat_done + fi + ;; + restart) + $0 stop + sleep 1 + $0 start + ;; + *) + echo "usage: $0 {start|stop|restart}" + ;; +esac +exit 0 diff --git a/community-testing/lxdm/PKGBUILD b/community-testing/lxdm/PKGBUILD index e569381bd..36a9ec902 100644 --- a/community-testing/lxdm/PKGBUILD +++ b/community-testing/lxdm/PKGBUILD @@ -1,11 +1,11 @@ -# $Id: PKGBUILD 78454 2012-10-18 22:15:34Z allan $ +# $Id: PKGBUILD 78734 2012-10-23 20:39:03Z dwallace $ # Maintainer: Bartłomiej Piotrowski <nospam@bpiotrowski.pl> # Contributor: AndyRTR <andyrtr@archlinux.org> # Contributor: kiefer <jorgelmadrid@gmail.com> pkgname=lxdm pkgver=0.4.1 -pkgrel=17 +pkgrel=18 pkgdesc='Lightweight X11 Display Manager' arch=('i686' 'x86_64') url="http://sourceforge.net/projects/lxdm/" @@ -64,5 +64,6 @@ md5sums=('8da1cfc2be6dc9217c85a7cf51e1e821' '4c1d43e81e9a256e8d1ea7686c24b3d3' '2c4afdbe3532be4f90d8f6240d352766' '705f394052fdd0dec22e95321d170de0' - '34908bc0ec15b6ae4e1074f39fce44df' + '9cc734228696a3c6f06d91bba61b03c1' 'e8cc66eb1a2405d2d9d184a727cbd9d8') + diff --git a/community-testing/lxdm/lxdm-pam b/community-testing/lxdm/lxdm-pam index c62f62721..57f33b221 100644 --- a/community-testing/lxdm/lxdm-pam +++ b/community-testing/lxdm/lxdm-pam @@ -6,5 +6,5 @@ account required pam_unix.so session required pam_limits.so session required pam_unix.so password required pam_unix.so --session optional pam_systemd.so --session optional pam_loginuid.so +-session optional pam_loginuid.so +-session optional pam_systemd.so diff --git a/community-testing/unbound/PKGBUILD b/community-testing/unbound/PKGBUILD new file mode 100644 index 000000000..cefb077c0 --- /dev/null +++ b/community-testing/unbound/PKGBUILD @@ -0,0 +1,54 @@ +# $Id: PKGBUILD 78747 2012-10-23 22:58:34Z bisson $ +# Maintainer: Gaetan Bisson <bisson@archlinux.org> +# Contributor: Hisato Tatekura <hisato_tatekura@excentrics.net> +# Contributor: Massimiliano Torromeo <massimiliano DOT torromeo AT google mail service> + +pkgname=unbound +pkgver=1.4.18 +pkgrel=2 +pkgdesc='Validating, recursive, and caching DNS resolver' +url='http://unbound.net/' +license=('custom:BSD') +arch=('i686' 'x86_64') +options=('!libtool') +depends=('openssl' 'ldns') +makedepends=('expat') +optdepends=('expat: unbound-anchor') +backup=('etc/unbound/unbound.conf') +source=("http://unbound.net/downloads/${pkgname}-${pkgver}.tar.gz" + 'unbound.service' + 'unbound.conf' + 'rc.d') +sha1sums=('b64b4c9f7981df4e7589ebb770a31352a09db3fb' + '5bc313cd978e4d6efe8c13600e838c70629be477' + '5d473ec2943fd85367cdb653fcd58e186f07383f' + 'dc96e772f467b32555df21d16fdb15e98194c228') + +install=install + +build() { + cd "${srcdir}/${pkgname}-${pkgver}" + + ./configure \ + --prefix=/usr \ + --sysconfdir=/etc \ + --localstatedir=/var \ + --enable-static=no \ + --disable-rpath \ + --with-conf-file=/etc/unbound/unbound.conf \ + --with-pidfile=/run/unbound.pid \ + + make +} + +package() { + cd "${srcdir}/${pkgname}-${pkgver}" + + make DESTDIR="${pkgdir}" install + + install -D -m644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" + install -D -m755 ../rc.d "${pkgdir}/etc/rc.d/${pkgname}" + install -D -m644 ../unbound.conf "${pkgdir}/etc/unbound/unbound.conf" + install -D -m644 doc/example.conf.in "${pkgdir}/etc/unbound/unbound.conf.example" + install -D -m644 ../unbound.service "${pkgdir}/usr/lib/systemd/system/unbound.service" +} diff --git a/community-testing/unbound/install b/community-testing/unbound/install new file mode 100644 index 000000000..964792592 --- /dev/null +++ b/community-testing/unbound/install @@ -0,0 +1,10 @@ +post_install() { + getent group unbound &>/dev/null || groupadd -r unbound >/dev/null + getent passwd unbound &>/dev/null || useradd -r -g unbound -d /etc/unbound -s /bin/false -c unbound unbound >/dev/null +} + +post_remove() { + getent passwd unbound &>/dev/null && userdel unbound >/dev/null + getent group unbound &>/dev/null && groupdel unbound >/dev/null + return 0 +} diff --git a/community-testing/unbound/rc.d b/community-testing/unbound/rc.d new file mode 100644 index 000000000..b5b6466de --- /dev/null +++ b/community-testing/unbound/rc.d @@ -0,0 +1,39 @@ +#!/bin/bash + +. /etc/rc.conf +. /etc/rc.d/functions + +name=unbound +prog="/usr/sbin/unbound" + +PID=$(pidof -o %PPID $prog) + +case "$1" in +start) + stat_busy "Starting $name daemon" + [[ -z "$PID" ]] && eval $prog &>/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; } + ;; +reload) + stat_busy "Reloading $name daemon" + [[ -n "$PID" ]] && kill -SIGHUP $PID &>/dev/null \ + && { stat_done; } \ + || { stat_fail; exit 1; } + ;; +restart) + $0 stop + sleep 2 + $0 start + ;; +*) + echo "usage: $0 {start|stop|restart|reload}" + exit 1 + ;; +esac diff --git a/community-testing/unbound/unbound.conf b/community-testing/unbound/unbound.conf new file mode 100644 index 000000000..445bceff1 --- /dev/null +++ b/community-testing/unbound/unbound.conf @@ -0,0 +1,4 @@ +server: + username: "unbound" + directory: "/etc/unbound" + use-syslog: yes diff --git a/community-testing/unbound/unbound.service b/community-testing/unbound/unbound.service new file mode 100644 index 000000000..8b3c9576b --- /dev/null +++ b/community-testing/unbound/unbound.service @@ -0,0 +1,11 @@ +[Unit] +Description=Unbound DNS Resolver + +[Service] +PIDFile=/run/unbound.pid +ExecStart=/usr/sbin/unbound -d +ExecReload=/bin/kill -HUP $MAINPID +Restart=always + +[Install] +WantedBy=multi-user.target |