summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--community/aircrack-ng/PKGBUILD46
-rw-r--r--community/fcgiwrap/PKGBUILD7
-rw-r--r--community/fortune-mod/PKGBUILD6
-rw-r--r--community/gkrellm/PKGBUILD8
-rw-r--r--community/gkrellm/gkrellmd40
-rw-r--r--community/glusterfs/PKGBUILD10
-rw-r--r--community/glusterfs/glusterd.service2
-rw-r--r--community/hdapsd/PKGBUILD18
-rw-r--r--community/hdapsd/hdapsd.conf.d22
-rw-r--r--community/hdapsd/hdapsd.systemd2
-rw-r--r--community/hdapsd/hdapsd.wrapper20
-rw-r--r--community/hping/Makefile.patch10
-rw-r--r--community/hping/PKGBUILD6
-rw-r--r--community/i2c-tools/PKGBUILD8
-rw-r--r--community/iftop/PKGBUILD10
-rw-r--r--community/lib32-libtxc_dxtn/PKGBUILD36
-rw-r--r--community/libvirt/PKGBUILD13
-rw-r--r--community/monit/PKGBUILD10
-rw-r--r--community/monit/monitd43
-rw-r--r--community/ngircd/PKGBUILD10
-rw-r--r--community/ngircd/ngircd.service2
-rw-r--r--community/ngircd/ngircd.sh36
-rw-r--r--community/nodejs/PKGBUILD6
-rw-r--r--community/nss-pam-ldapd/PKGBUILD9
-rw-r--r--community/nss-pam-ldapd/nslcd.service2
-rw-r--r--community/ntop/PKGBUILD11
-rw-r--r--community/ntop/ntop38
-rw-r--r--community/ntop/ntop.conf.d5
-rw-r--r--community/nzbget/PKGBUILD6
-rw-r--r--community/parrot/PKGBUILD6
-rw-r--r--community/partimage/PKGBUILD11
-rw-r--r--community/partimage/partimaged64
-rw-r--r--community/partimage/partimaged.service2
-rw-r--r--community/privoxy/PKGBUILD22
-rw-r--r--community/privoxy/privoxy53
-rw-r--r--community/privoxy/privoxy.conf.d10
-rw-r--r--community/privoxy/privoxy.service2
-rw-r--r--community/sshguard/PKGBUILD4
-rw-r--r--community/stunnel/PKGBUILD7
-rw-r--r--community/stunnel/stunnel.rc.d44
-rw-r--r--community/tabbed/PKGBUILD8
-rw-r--r--community/tabbed/config.h39
-rw-r--r--community/tinc/PKGBUILD15
-rw-r--r--community/tinc/tincd.conf5
-rw-r--r--community/tinc/tincd.rc42
-rw-r--r--community/tinc/tincd@.service2
-rw-r--r--community/tinyproxy/PKGBUILD12
-rw-r--r--community/tinyproxy/tinyproxy50
-rw-r--r--community/tinyproxy/tinyproxy.service2
-rw-r--r--community/uml_utilities/PKGBUILD26
-rw-r--r--community/unhide/PKGBUILD36
-rw-r--r--community/vbetool/PKGBUILD8
-rw-r--r--community/webfs/PKGBUILD11
-rw-r--r--community/webfs/webfsd.rc38
-rw-r--r--core/dosfstools/PKGBUILD (renamed from extra/dosfstools/PKGBUILD)2
-rw-r--r--core/dosfstools/dosfstools-3.0.12-fix-alloc-rootdir-entry.patch (renamed from extra/dosfstools/dosfstools-3.0.12-fix-alloc-rootdir-entry.patch)0
-rw-r--r--core/keyutils/PKGBUILD22
-rw-r--r--core/keyutils/request-key.conf.patch21
-rw-r--r--core/nfs-utils/PKGBUILD47
-rw-r--r--core/nfs-utils/blkmapd.service2
-rw-r--r--core/nfs-utils/id_resolver.conf1
-rw-r--r--core/nfs-utils/nfs-common315
-rw-r--r--core/nfs-utils/nfs-server299
-rw-r--r--core/nfs-utils/nfsd.service8
-rw-r--r--core/nfs-utils/rpc-gssd.service2
-rw-r--r--core/nfs-utils/rpc-idmapd.service2
-rw-r--r--core/nfs-utils/rpc-mountd.service2
-rw-r--r--core/nfs-utils/rpc-statd.service2
-rw-r--r--core/nfs-utils/rpc-svcgssd.service2
-rw-r--r--core/nfs-utils/start-statd.patch22
-rw-r--r--core/rpcbind/PKGBUILD18
-rwxr-xr-xcore/rpcbind/rpcbind39
-rw-r--r--extra/epiphany/PKGBUILD10
-rw-r--r--extra/gnome-nettool/PKGBUILD11
-rw-r--r--extra/gnome-nettool/printf.patch34
-rw-r--r--extra/kismet/PKGBUILD12
-rw-r--r--extra/liblo/PKGBUILD18
-rw-r--r--extra/libxinerama/PKGBUILD9
-rw-r--r--extra/libxp/PKGBUILD11
-rw-r--r--extra/libxres/PKGBUILD9
-rw-r--r--extra/libxt/PKGBUILD11
-rw-r--r--extra/libxtst/PKGBUILD11
-rw-r--r--extra/libxxf86dga/PKGBUILD7
-rw-r--r--extra/libxxf86vm/PKGBUILD11
-rw-r--r--extra/metalog/PKGBUILD30
-rw-r--r--extra/metalog/metalog42
-rw-r--r--extra/metalog/metalog.confd8
-rw-r--r--extra/metalog/metalog.service2
-rw-r--r--extra/mtr/PKGBUILD8
-rw-r--r--extra/oxygen-gtk2/PKGBUILD6
-rw-r--r--extra/oxygen-gtk3/PKGBUILD6
-rw-r--r--extra/sane/PKGBUILD7
-rw-r--r--extra/snd/PKGBUILD6
-rw-r--r--extra/tftp-hpa/PKGBUILD26
-rw-r--r--extra/tftp-hpa/tftpd.conf4
-rwxr-xr-xextra/tftp-hpa/tftpd.rc38
-rw-r--r--extra/tftp-hpa/tftpd.service2
-rw-r--r--extra/transmission/PKGBUILD11
-rw-r--r--extra/transmission/transmissiond46
-rw-r--r--extra/transmission/transmissiond.conf4
-rw-r--r--libre/cgminer-libre/PKGBUILD10
-rw-r--r--libre/iceweasel-l10n/PKGBUILD2
-rw-r--r--libre/mkisolinux/PKGBUILD13
-rwxr-xr-xlibre/mkisolinux/mkisolinux1
-rw-r--r--libre/mkisolinux/mkisolinux.conf2
-rw-r--r--libre/mksyslinux/PKGBUILD26
-rw-r--r--libre/mksyslinux/boot.msg15
-rwxr-xr-xlibre/mksyslinux/mksyslinux143
-rw-r--r--libre/mksyslinux/mksyslinux.conf34
-rw-r--r--libre/mksyslinux/options.msg6
-rw-r--r--pcr/cluster-glue/PKGBUILD139
-rw-r--r--pcr/ha-heartbeat/PKGBUILD84
-rw-r--r--pcr/ha-heartbeat/ha-heartbeat.service10
-rw-r--r--pcr/ha-pacemaker/PKGBUILD83
-rw-r--r--pcr/ha-resourceagent/PKGBUILD68
-rw-r--r--pcr/ha-resourceagent/ha-ldirector.service10
-rw-r--r--pcr/heartbeat/PKGBUILD204
-rw-r--r--pcr/openhpi/PKGBUILD113
-rw-r--r--pcr/openipmi/PKGBUILD125
-rw-r--r--pcr/pacemaker/PKGBUILD221
-rw-r--r--pcr/resource-agent/PKGBUILD202
121 files changed, 1539 insertions, 2139 deletions
diff --git a/community/aircrack-ng/PKGBUILD b/community/aircrack-ng/PKGBUILD
index 17692b130..5b24b552b 100644
--- a/community/aircrack-ng/PKGBUILD
+++ b/community/aircrack-ng/PKGBUILD
@@ -1,4 +1,4 @@
-# $Id: PKGBUILD 64237 2012-02-11 00:32:23Z arodseth $
+# $Id: PKGBUILD 92023 2013-05-30 23:34:33Z seblu $
# Maintainer: Brad Fanella <bradfanella@archlinux.us>
# Contributor: Daenyth <Daenyth+Arch [at] gmail [dot] com>
# Contributor: Corrado Primier <bardo@aur.archlinux.org>
@@ -7,30 +7,30 @@
pkgbase=aircrack-ng
pkgname=(aircrack-ng aircrack-ng-scripts)
pkgver=1.1
-pkgrel=8.1
+pkgrel=9
arch=('i686' 'x86_64' 'mips64el')
url="http://www.aircrack-ng.org"
license=('GPL2')
source=("http://download.aircrack-ng.org/${pkgname}-${pkgver}.tar.gz")
md5sums=('f7a24ed8fad122c4187d06bfd6f998b4')
-depends=('openssl' 'sqlite3' 'iw' 'net-tools')
+depends=('openssl' 'sqlite' 'iw' 'net-tools')
build() {
- cd ${srcdir}/${pkgbase}-${pkgver}
- make SQLITE=true unstable=true
+ cd ${srcdir}/${pkgbase}-${pkgver}
+ make SQLITE=true unstable=true
}
package_aircrack-ng() {
pkgdesc="A key cracker for the 802.11 WEP and WPA-PSK protocols"
- cd ${srcdir}/${pkgname}-${pkgver}
+ cd ${srcdir}/${pkgname}-${pkgver}
make DESTDIR=${pkgdir} SQLITE=true unstable=true bindir=/usr/bin \
- mandir=/usr/share/man/man1 sbindir=/usr/sbin install
+ mandir=/usr/share/man/man1 sbindir=/usr/bin install
### Remove installed scripts/corresponding man pages (installed in aircrack-ng-scripts) ###
# Scripts
- rm ${pkgdir}/usr/sbin/airdriver-ng
- rm ${pkgdir}/usr/sbin/airodump-ng-oui-update
+ rm ${pkgdir}/usr/bin/airdriver-ng
+ rm ${pkgdir}/usr/bin/airodump-ng-oui-update
# Man pages
mkdir -p ${srcdir}/tmp/
mv ${pkgdir}/usr/share/man/man1/airdriver-ng.1 ${srcdir}/tmp/
@@ -38,15 +38,15 @@ package_aircrack-ng() {
package_aircrack-ng-scripts() {
pkgdesc="Included scripts for a key cracker for the 802.11 WEP and WPA-PSK protocols"
- depends=('python2' 'graphviz' 'python2-pylorcon')
+ depends=('python2' 'graphviz' 'python2-pylorcon')
cd ${srcdir}/aircrack-ng-${pkgver}/scripts
mkdir -p ${pkgdir}/usr/share/man/man1/ \
- ${pkgdir}/usr/sbin
+ ${pkgdir}/usr/bin
### AIRDRIVER-NG ###
# Script
- install -Dm644 airdriver-ng ${pkgdir}/usr/sbin/
+ install -Dm644 airdriver-ng ${pkgdir}/usr/bin/
# Libs
mkdir -p ${pkgdir}/usr/lib/airdrop-ng/
install -Dm644 airdrop-ng/lib/{colorize.py,libDumpParse.py,libOuiParse.py} \
@@ -54,14 +54,14 @@ package_aircrack-ng-scripts() {
# Man page
mv ${srcdir}/tmp/airdriver-ng.1 ${pkgdir}/usr/share/man/man1/
- ### AIRDROP-NG ###
+ ### AIRDROP-NG ###
# Man page
install -Dm644 airdrop-ng/docs/airdrop-ng.1 ${pkgdir}/usr/share/man/man1/
# Script
sed s/python/python2/ -i airdrop-ng/airdrop-ng.py
- install -Dm644 airdrop-ng/airdrop-ng.py ${pkgdir}/usr/sbin/airdrop-ng
- chmod +x ${pkgdir}/usr/sbin/airdrop-ng
-
+ install -Dm644 airdrop-ng/airdrop-ng.py ${pkgdir}/usr/bin/airdrop-ng
+ chmod +x ${pkgdir}/usr/bin/airdrop-ng
+
### AIRGRAPH-NG ###
# Libs
mkdir -p ${pkgdir}/usr/lib/airgraph-ng/
@@ -72,20 +72,20 @@ package_aircrack-ng-scripts() {
# Script
sed s/python/python2/ -i airgraph-ng/airgraph-ng.py
sed s_/usr/local/bin/lib_/usr/lib_ -i airgraph-ng/airgraph-ng.py
- install -Dm644 airgraph-ng/airgraph-ng.py ${pkgdir}/usr/sbin/airgraph-ng
- chmod +x ${pkgdir}/usr/sbin/airgraph-ng
+ install -Dm644 airgraph-ng/airgraph-ng.py ${pkgdir}/usr/bin/airgraph-ng
+ chmod +x ${pkgdir}/usr/bin/airgraph-ng
### DUMP-JOIN.PY ###
# Man page
install -Dm644 airgraph-ng/man/dump-join.1 ${pkgdir}/usr/share/man/man1/
# Script
sed s/python/python2/ -i airgraph-ng/dump-join.py
- install -Dm644 airgraph-ng/dump-join.py ${pkgdir}/usr/sbin/dump-join.py
- chmod +x ${pkgdir}/usr/sbin/dump-join.py
-
+ install -Dm644 airgraph-ng/dump-join.py ${pkgdir}/usr/bin/dump-join.py
+ chmod +x ${pkgdir}/usr/bin/dump-join.py
+
### AIRODUMP-NG-OUI-UPDATE ###
# Script
- install -Dm644 airodump-ng-oui-update ${pkgdir}/usr/sbin/
- chmod +x ${pkgdir}/usr/sbin/airodump-ng-oui-update
+ install -Dm644 airodump-ng-oui-update ${pkgdir}/usr/bin/
+ chmod +x ${pkgdir}/usr/bin/airodump-ng-oui-update
}
diff --git a/community/fcgiwrap/PKGBUILD b/community/fcgiwrap/PKGBUILD
index dd461bd70..0e862671f 100644
--- a/community/fcgiwrap/PKGBUILD
+++ b/community/fcgiwrap/PKGBUILD
@@ -1,11 +1,11 @@
-# $Id: PKGBUILD 84283 2013-02-15 14:33:33Z lfleischer $
+# $Id: PKGBUILD 92086 2013-05-31 10:35:32Z seblu $
# Maintainer: Lukas Fleischer <archlinux at cryptocrack dot de>
# Contributor: Aaron Bull Schaefer <aaron@elasticdog.com>
# Contributor: Ron Huang <ronhuang+aur at gmail dot com>
pkgname=fcgiwrap
pkgver=1.1.0
-pkgrel=1
+pkgrel=3
pkgdesc='A simple server for running CGI applications over FastCGI.'
arch=('i686' 'x86_64' 'mips64el')
url='http://nginx.localdomain.pl/wiki/FcgiWrap'
@@ -20,7 +20,8 @@ build() {
cd "${srcdir}/${pkgname}-${pkgver}"
autoreconf --install
- ./configure --prefix=/usr --mandir=/share/man
+ # Here --sbindir is implicitly prefixed by /usr
+ ./configure --prefix=/usr --mandir=/share/man --sbindir=/bin
make
}
diff --git a/community/fortune-mod/PKGBUILD b/community/fortune-mod/PKGBUILD
index cf1c5310d..5d3cbc654 100644
--- a/community/fortune-mod/PKGBUILD
+++ b/community/fortune-mod/PKGBUILD
@@ -1,10 +1,10 @@
-# $Id: PKGBUILD 75721 2012-08-29 11:10:03Z bisson $
+# $Id: PKGBUILD 92041 2013-05-31 00:16:32Z seblu $
# Maintainer: Kevin Piche <kevin@archlinux.org>
# Contributor: Dale Blount <archlinux@dale.us>
pkgname=fortune-mod
pkgver=1.99.1
-pkgrel=5.2
+pkgrel=6
pkgdesc="The Fortune Cookie Program from BSD games"
arch=('i686' 'x86_64' 'mips64el')
url="http://www.redellipse.net/code/fortune"
@@ -27,7 +27,7 @@ package() {
cd "$srcdir/$pkgname-$pkgver"
make FORTDIR="$pkgdir"/usr/bin \
COOKIEDIR="$pkgdir"/usr/share/fortune \
- BINDIR="$pkgdir"/usr/sbin \
+ BINDIR="$pkgdir"/usr/bin \
BINMANDIR="$pkgdir"/usr/share/man/man1 \
FORTMANDIR="$pkgdir"/usr/share/man/man6 install
rm "$pkgdir"/usr/share/fortune/*.u8
diff --git a/community/gkrellm/PKGBUILD b/community/gkrellm/PKGBUILD
index f1293632c..1a3a9ec5f 100644
--- a/community/gkrellm/PKGBUILD
+++ b/community/gkrellm/PKGBUILD
@@ -1,4 +1,4 @@
-# $Id: PKGBUILD 79153 2012-10-31 05:24:09Z ebelanger $
+# $Id: PKGBUILD 92097 2013-05-31 14:27:10Z foutrelis $
# Maintainer: dorphell <dorphell@archlinux.org>
# Contributor: Matt Smith (Majik) <darkknight@helpdesk.zaz.net>
# Contributor: Jaroslav Lichtblau <dragonlord@aur.archlinux.org>
@@ -6,7 +6,7 @@
# Contributor: Alexander Rødseth <rodseth@gmail.com>
pkgname=gkrellm
pkgver=2.3.5
-pkgrel=3
+pkgrel=4
pkgdesc="System monitor package for GTK2"
arch=('i686' 'x86_64' 'mips64el')
url="http://members.dslextreme.com/users/billw/gkrellm/gkrellm.html"
@@ -15,9 +15,8 @@ depends=('gtk2' 'libsm' 'lm_sensors')
makedepends=('gettext')
backup=('etc/gkrellmd.conf')
source=("http://members.dslextreme.com/users/billw/$pkgname/$pkgname-$pkgver.tar.bz2"
- "gkrellmd" "gkrellm.service")
+ "gkrellm.service")
sha256sums=('702b5b0e9c040eb3af8e157453f38dd6f53e1dcd8b1272d20266cda3d4372c8b'
- 'c6d532dd7a706891aed92d750bceda74d4618e86ad82feadc0503214de904360'
'2829931127632d0391f6749024809594b78c138fe4f03c98cd65fdbd47cea376')
build() {
@@ -31,7 +30,6 @@ package() {
make DESTDIR="$pkgdir" PREFIX=/usr install
install -Dm644 "server/gkrellmd.conf" "$pkgdir/etc/gkrellmd.conf"
- install -Dm755 "../gkrellmd" "$pkgdir/etc/rc.d/gkrellmd"
install -Dm644 "../gkrellm.service" "$pkgdir/usr/lib/systemd/system/gkrellm.service"
install -Dm644 COPYING "$pkgdir/usr/share/licenses/$pkgname/COPYING"
}
diff --git a/community/gkrellm/gkrellmd b/community/gkrellm/gkrellmd
deleted file mode 100644
index 1f255e755..000000000
--- a/community/gkrellm/gkrellmd
+++ /dev/null
@@ -1,40 +0,0 @@
-#!/bin/bash
-
-# source application-specific settings
-GKRELLMD_ARGS='-d'
-
-. /etc/rc.conf
-. /etc/rc.d/functions
-
-PID=$(pidof -o %PPID /usr/bin/gkrellmd)
-case "$1" in
- start)
- stat_busy "Starting GKrellM Daemon"
- [ -z "$PID" ] && /usr/bin/gkrellmd ${GKRELLMD_ARGS}
- PID=$(pidof -o %PPID /usr/bin/gkrellmd)
- if [ -z "$PID" ]; then
- stat_fail
- else
- add_daemon gkrellmd
- stat_done
- fi
- ;;
- stop)
- stat_busy "Stopping GKrellM Daemon"
- [ ! -z "$PID" ] && kill $PID &> /dev/null
- if [ $? -gt 0 ]; then
- stat_fail
- else
- rm_daemon gkrellmd
- stat_done
- fi
- ;;
- restart)
- $0 stop
- sleep 1
- $0 start
- ;;
- *)
- echo "usage: $0 {start|stop|restart}"
-esac
-exit 0
diff --git a/community/glusterfs/PKGBUILD b/community/glusterfs/PKGBUILD
index 2fcca6751..e20d459d2 100644
--- a/community/glusterfs/PKGBUILD
+++ b/community/glusterfs/PKGBUILD
@@ -1,13 +1,13 @@
-# $Id: PKGBUILD 91880 2013-05-28 18:08:16Z spupykin $
+# $Id: PKGBUILD 92113 2013-05-31 16:29:44Z 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=3
+pkgver=3.3.1
+_basever=`echo $pkgver | cut -f1-2 -d.`
+pkgrel=4
pkgdesc='Is a cluster file-system capable of scaling to several peta-bytes.'
arch=(i686 x86_64 mips64el)
url='http://www.gluster.org/'
@@ -19,6 +19,8 @@ source=(http://download.gluster.org/pub/gluster/glusterfs/$_basever/$pkgver/glus
glusterd.service)
sha256sums=('19aaefe3a0f9059ae831b44c92944503cf439da82da23467101ac13da8b77519'
'e9aa54fcff422e0266e0f89d4bda73e0c77458f7c5443b8327db1e7b4242e6f7')
+sha256sums=('19aaefe3a0f9059ae831b44c92944503cf439da82da23467101ac13da8b77519'
+ '18e6c3bcca396a4524d866977d3fa86135377d7bf5d28a130e697ae2e85f043b')
build() {
cd $srcdir/$pkgname-$pkgver
diff --git a/community/glusterfs/glusterd.service b/community/glusterfs/glusterd.service
index c44024317..b1dd5c18d 100644
--- a/community/glusterfs/glusterd.service
+++ b/community/glusterfs/glusterd.service
@@ -4,7 +4,7 @@ After=network.target
[Service]
Type=forking
-ExecStart=/usr/sbin/glusterd
+ExecStart=/usr/bin/glusterd
[Install]
WantedBy=multi-user.target
diff --git a/community/hdapsd/PKGBUILD b/community/hdapsd/PKGBUILD
index d85915337..5fcb53a3d 100644
--- a/community/hdapsd/PKGBUILD
+++ b/community/hdapsd/PKGBUILD
@@ -4,26 +4,21 @@
pkgname=hdapsd
pkgver=20090401
-pkgrel=6
+pkgrel=7
pkgdesc='HDAPS userspace hard drive protection daemon'
arch=('i686' 'x86_64' 'mips64el')
url='http://sourceforge.net/projects/hdaps/'
license=('GPL')
-depends=('glibc')
-backup=('etc/conf.d/hdapsd')
+depends=('glibc' 'bash')
source=("http://downloads.sourceforge.net/hdaps/hdapsd-${pkgver}.tar.gz"
- 'hdapsd.conf.d'
- 'hdapsd.systemd'
- 'hdapsd.wrapper')
+ 'hdapsd.systemd')
md5sums=('897cee8b0192febd127470f3e9506aeb'
- '07fc036c8717bf5a38bbc269ed38ad19'
- '4b1378d43dc9431982f6605265c24f3b'
- '11270661f3a543268786a68bbe74a6bb')
+ '61ac40d4d77e57863da68d9fd94c58e7')
build() {
cd "${srcdir}/${pkgname}-${pkgver}"
- ./configure --prefix=/usr --sysconfdir=/etc
+ ./configure --prefix=/usr --sysconfdir=/etc --sbindir=/usr/bin
make ${MAKEFLAGS}
}
@@ -32,8 +27,5 @@ package() {
make DESTDIR="${pkgdir}/" install
- # install rc script and its configuration file
- install -Dm0644 "${srcdir}/hdapsd.conf.d" "${pkgdir}/etc/conf.d/hdapsd"
install -Dm0644 "${srcdir}/hdapsd.systemd" "${pkgdir}/usr/lib/systemd/system/hdapsd.service"
- install -Dm0755 "${srcdir}/hdapsd.wrapper" "${pkgdir}/usr/sbin/hdapsd-wrapper"
}
diff --git a/community/hdapsd/hdapsd.conf.d b/community/hdapsd/hdapsd.conf.d
deleted file mode 100644
index eb99fdc2c..000000000
--- a/community/hdapsd/hdapsd.conf.d
+++ /dev/null
@@ -1,22 +0,0 @@
-# DEVICE specifies the device to monitor, defaults to "sda".
-#DEVICE='sda'
-
-# If an ultrabay hard drive is inserted, the following can be used:
-#DEVICE=('sda' 'sdb')
-
-# SENSITIVITY is self explanatory, defaults to "15".
-#SENSITIVITY='15'
-
-# Set ADAPTIVE to "yes" to enable adaptive threshold (automatically increase
-# when the built-in keyboard/mouse is used).
-#ADAPTIVE='yes'
-
-# Set SYSLOG to "yes" to have the daemon report errors to syslog (instead of
-# stderr/stdout).
-SYSLOG='yes'
-
-# Set FORCE to "yes" to force the kernel to use the unload heads feature on
-# some old hard drives for which support cannot be autodetected (don't use this
-# unless you're absolutely sure your hard drive really supports unloading
-# heads).
-#FORCE='yes'
diff --git a/community/hdapsd/hdapsd.systemd b/community/hdapsd/hdapsd.systemd
index 328699bc7..d3927d61e 100644
--- a/community/hdapsd/hdapsd.systemd
+++ b/community/hdapsd/hdapsd.systemd
@@ -5,7 +5,7 @@ After=syslog.target
[Service]
Type=forking
PIDFile=/var/run/hdapsd.pid
-ExecStart=/usr/sbin/hdapsd-wrapper
+ExecStart=/usr/bin/hdapsd-wrapper
ExecReload=/bin/kill -HUP ${MAINPID}
[Install]
diff --git a/community/hdapsd/hdapsd.wrapper b/community/hdapsd/hdapsd.wrapper
deleted file mode 100644
index d74fd272d..000000000
--- a/community/hdapsd/hdapsd.wrapper
+++ /dev/null
@@ -1,20 +0,0 @@
-#!/bin/bash
-
-[ -f /etc/conf.d/hdapsd ] && source /etc/conf.d/hdapsd
-
-OPTS="-bp"
-
-if [ -z "${DEVICE}" ]; then
- OPTS="${OPTS} -d sda"
-else
- for i in ${DEVICE[@]}; do
- OPTS="${OPTS} -d ${i}"
- done
-fi
-
-[ ! -z "${SENSITIVITY}" ] && OPTS="${OPTS} -s ${SENSITIVITY}"
-[ "${ADAPTIVE}" == "yes" ] && OPTS="${OPTS} -a"
-[ "${SYSLOG}" == "yes" ] && OPTS="${OPTS} -l"
-[ "${FORCE}" == "yes" ] && OPTS="${OPTS} -f"
-
-/usr/sbin/hdapsd ${OPTS}
diff --git a/community/hping/Makefile.patch b/community/hping/Makefile.patch
index dd53dd0a6..d1d4221f4 100644
--- a/community/hping/Makefile.patch
+++ b/community/hping/Makefile.patch
@@ -12,11 +12,11 @@ diff -Naur hping3-20051105/Makefile hping3-20051105-new/Makefile
- @if [ -d ${INSTALL_MANPATH}/man8 ]; then \
- cp ./docs/hping3.8 ${INSTALL_MANPATH}/man8; \
- chmod 644 ${INSTALL_MANPATH}/man8/hping3.8; \
-+ @[ ! -d ${DESTDIR}/usr/sbin ] && install -d ${DESTDIR}/usr/sbin
-+ cp -f hping3 ${DESTDIR}/usr/sbin/
-+ chmod 755 ${DESTDIR}/usr/sbin/hping3
-+ ln -s /usr/sbin/hping3 ${DESTDIR}/usr/sbin/hping
-+ ln -s /usr/sbin/hping3 ${DESTDIR}/usr/sbin/hping2
++ @[ ! -d ${DESTDIR}/usr/bin ] && install -d ${DESTDIR}/usr/bin
++ cp -f hping3 ${DESTDIR}/usr/bin/
++ chmod 755 ${DESTDIR}/usr/bin/hping3
++ ln -s hping3 ${DESTDIR}/usr/bin/hping
++ ln -s hping3 ${DESTDIR}/usr/bin/hping2
+ @[ ! -d ${DESTDIR}${INSTALL_MANPATH}/man8 ] && install -d ${DESTDIR}${INSTALL_MANPATH}/man8
+ @if [ -d ${DESTDIR}${INSTALL_MANPATH}/man8 ]; then \
+ cp ./docs/hping3.8 ${DESTDIR}${INSTALL_MANPATH}/man8; \
diff --git a/community/hping/PKGBUILD b/community/hping/PKGBUILD
index f312479fb..d75938dec 100644
--- a/community/hping/PKGBUILD
+++ b/community/hping/PKGBUILD
@@ -1,10 +1,10 @@
-# $Id: PKGBUILD 57877 2011-11-04 07:45:07Z lfleischer $
+# $Id: PKGBUILD 92024 2013-05-30 23:36:53Z seblu $
# Maintainer: Lukas Fleischer <archlinux at cryptocrack dot de>
# Contributor: Kevin Piche <kevin@archlinux.org>
pkgname=hping
pkgver=3.0.0
-pkgrel=2.2
+pkgrel=3
pkgdesc='A command-line oriented TCP/IP packet assembler/analyzer.'
arch=('i686' 'x86_64' 'mips64el')
url='http://www.hping.org'
@@ -14,7 +14,7 @@ source=("http://www.hping.org/hping3-20051105.tar.gz"
'Makefile.patch'
'bytesex.h.patch')
md5sums=('ca4ea4e34bcc2162aedf25df8b2d1747'
- '3c6f920201fc980d377408917a28df93'
+ '339a38f86169d1b9344287a85201afbe'
'8af8e336819df1447b0c1b879a704be9')
build() {
diff --git a/community/i2c-tools/PKGBUILD b/community/i2c-tools/PKGBUILD
index d74b2611f..858749946 100644
--- a/community/i2c-tools/PKGBUILD
+++ b/community/i2c-tools/PKGBUILD
@@ -1,10 +1,10 @@
-# $Id: PKGBUILD 91137 2013-05-20 09:47:55Z jelle $
+# $Id: PKGBUILD 92028 2013-05-30 23:36:57Z seblu $
# Maintainer: Timothy Redaelli <timothy.redaelli@gmail.com>
# Contributor: DonVla <donvla@users.sourceforge.net>
pkgname=i2c-tools
pkgver=3.1.0
-pkgrel=4
+pkgrel=5
pkgdesc="Heterogeneous set of I2C tools for Linux that used to be part of lm-sensors"
arch=('i686' 'x86_64' 'mips64el')
url="http://www.lm-sensors.org/wiki/I2CTools"
@@ -15,7 +15,7 @@ source=(http://dl.lm-sensors.org/${pkgname}/releases/${pkgname}-${pkgver}.tar.bz
md5sums=('f15019e559e378c6e9d5d6299a00df21')
build() {
- cd "${srcdir}/${pkgname}-${pkgver}"
+ cd "${srcdir}/${pkgname}-${pkgver}"
make
make -C eepromer CFLAGS="$CFLAGS -I../include"
cd py-smbus
@@ -24,7 +24,7 @@ build() {
package() {
cd "${srcdir}/${pkgname}-${pkgver}"
- make prefix="${pkgdir}/usr" install
+ make prefix="${pkgdir}/usr" sbindir="$pkgdir/usr/bin" install
install -Dm755 eepromer/eeprog eepromer/eeprom eepromer/eepromer "${pkgdir}/usr/bin"
cd py-smbus
python2 setup.py install --prefix "${pkgdir}/usr"
diff --git a/community/iftop/PKGBUILD b/community/iftop/PKGBUILD
index 8ed1225fb..508beb19d 100644
--- a/community/iftop/PKGBUILD
+++ b/community/iftop/PKGBUILD
@@ -1,4 +1,4 @@
-# $Id: PKGBUILD 67935 2012-03-16 10:23:32Z giovanni $
+# $Id: PKGBUILD 92025 2013-05-30 23:36:54Z seblu $
# Maintainer: Daenyth <Daenyth+Arch at gmail dot com>
# Contributor: Jeff Mickey <jeff@archlinux.org>
# Contributor: Alexander Mieland (dma147) <dma147@linux-stats.org>
@@ -6,22 +6,20 @@
pkgname=iftop
pkgver=0.17
-pkgrel=10
+pkgrel=11
pkgdesc="iftop does for network usage what top(1) does for CPU usage"
arch=('i686' 'x86_64' 'mips64el')
url="http://www.ex-parrot.com/~pdw/iftop/"
license=('GPL')
depends=('libpcap' 'ncurses')
options=('!makeflags')
-source=(http://www.ex-parrot.com/~pdw/$pkgname/download/$pkgname-$pkgver.tar.gz)
+source=("http://www.ex-parrot.com/~pdw/$pkgname/download/$pkgname-$pkgver.tar.gz")
md5sums=('062bc8fb3856580319857326e0b8752d')
build() {
cd "$srcdir/$pkgname-$pkgver"
- ./configure --prefix=/usr \
- --mandir=/usr/share/man \
- --build=$CHOST
+ ./configure --prefix=/usr --sbindir=/usr/bin --mandir=/usr/share/man --build=$CHOST
make
}
diff --git a/community/lib32-libtxc_dxtn/PKGBUILD b/community/lib32-libtxc_dxtn/PKGBUILD
deleted file mode 100644
index 6306e1c7e..000000000
--- a/community/lib32-libtxc_dxtn/PKGBUILD
+++ /dev/null
@@ -1,36 +0,0 @@
-# $Id: PKGBUILD 91929 2013-05-29 16:41:31Z lcarlier $
-# Maintainer: Jan "heftig" Steffens <jan.steffens@gmail.com>
-
-_pkgbasename=libtxc_dxtn
-pkgname=lib32-$_pkgbasename
-pkgver=1.0.1
-pkgrel=4
-arch=(x86_64)
-pkgdesc="S3 Texture Compression (S3TC) library for Mesa (32-bit)"
-url="http://dri.freedesktop.org/wiki/S3TC"
-license=(custom:BSD)
-depends=(lib32-mesa)
-makedepends=(gcc-multilib)
-options=(!libtool)
-source=(http://people.freedesktop.org/~cbrill/$_pkgbasename/$_pkgbasename-$pkgver.tar.bz2)
-md5sums=('7105107f07ac49753f4b61ba9d0c79c5')
-
-build() {
- cd "$srcdir/$_pkgbasename-$pkgver"
-
- CC="gcc -m32" ./configure --prefix=/usr --libdir=/usr/lib32
- make
-}
-
-package() {
- cd "$srcdir/$_pkgbasename-$pkgver"
-
- make DESTDIR="$pkgdir" install
-
- rm -rf "$pkgdir/usr/include"
-
- # License
- mkdir -p "$pkgdir/usr/share/licenses/$pkgname"
- sed -n '5,22{s|^ \* \?||;p}' txc_dxtn.h \
- > "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
-}
diff --git a/community/libvirt/PKGBUILD b/community/libvirt/PKGBUILD
index 93d023134..b44eabbc9 100644
--- a/community/libvirt/PKGBUILD
+++ b/community/libvirt/PKGBUILD
@@ -1,10 +1,10 @@
-# $Id: PKGBUILD 91813 2013-05-28 11:39:01Z spupykin $
+# $Id: PKGBUILD 92095 2013-05-31 13:59:18Z spupykin $
# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
# Contributor: Jonathan Wiersma <archaur at jonw dot org>
pkgname=libvirt
pkgver=1.0.5
-pkgrel=5
+pkgrel=7
pkgdesc="API for controlling virtualization engines (openvz,kvm,qemu,virtualbox,xen,etc)"
arch=('i686' 'x86_64' 'mips64el')
url="http://libvirt.org/"
@@ -50,17 +50,18 @@ build() {
done
export LDFLAGS=-lX11
- export RADVD=/usr/sbin/radvd
- [ -f Makefile ] || ./configure --prefix=/usr --libexec=/usr/lib/"$pkgname" \
+ export RADVD=/usr/bin/radvd
+ [ -f Makefile ] || ./configure --prefix=/usr --libexec=/usr/lib/"$pkgname" --sbindir=/usr/bin \
--with-storage-lvm --without-xen --with-udev --without-hal --disable-static \
--with-init-script=systemd --with-audit \
--with-qemu-user=nobody --with-qemu-group=nobody \
--without-netcf --with-interface \
- --with-dnsmasq-path=/usr/bin/dnsmasq
+ --with-dnsmasq-path=/usr/bin/dnsmasq \
+ --with-iptables-path=/usr/bin/iptables
make
sed -i 's|/etc/sysconfig/|/etc/conf.d/|' daemon/libvirtd.service tools/libvirt-guests.service
- sed -i 's|@sbindir@|/usr/sbin|g' src/virtlockd.service
+ sed -i 's|@sbindir@|/usr/bin|g' src/virtlockd.service
sed -i 's|#group =.*|group="kvm"|' src/qemu/qemu.conf
}
diff --git a/community/monit/PKGBUILD b/community/monit/PKGBUILD
index c10219857..318e5e1b9 100644
--- a/community/monit/PKGBUILD
+++ b/community/monit/PKGBUILD
@@ -1,11 +1,11 @@
-# $Id: PKGBUILD 79004 2012-10-28 18:41:19Z jlichtblau $
+# $Id: PKGBUILD 92063 2013-05-31 02:32:07Z seblu $
# Maintainer: Jaroslav Lichtblau <dragonlord@aur.archlinux.org>
# Contributor: Geoffroy Carrier <geoffroy.carrier@aur.archlinux.org>
# Contributor: Marco Bartholomew <marco@marcobartholomew.com>
pkgname=monit
pkgver=5.5
-pkgrel=2
+pkgrel=3
pkgdesc="Utility for managing and monitoring, processes, files, directories and devices on a *NIX system"
arch=('i686' 'x86_64' 'mips64el')
url="http://mmonit.com/monit/"
@@ -14,9 +14,8 @@ depends=('openssl')
backup=('etc/monitrc')
changelog=$pkgname.changelog
source=(http://mmonit.com/$pkgname/dist/$pkgname-$pkgver.tar.gz \
- monitd monit.service)
+ monit.service)
sha256sums=('8276b060b3f0e6453c9748d421dec044ddae09d3e4c4666e13472aab294d7c53'
- 'b235b2fdeec49015d6b74f028d161b289663692f9ee2d2d78cf52d8db87ca496'
'cf607209e9e5d39e708152dc181525570371fab750f828e890e2b6a00b81ebc4')
build() {
@@ -32,8 +31,7 @@ package() {
make DESTDIR=${pkgdir} install
- install -D -m755 ${srcdir}/monitd ${pkgdir}/etc/rc.d/monitd
install -D -m700 monitrc ${pkgdir}/etc/monitrc
-
+
install -D -m644 ${srcdir}/$pkgname.service ${pkgdir}/usr/lib/systemd/system/$pkgname.service
}
diff --git a/community/monit/monitd b/community/monit/monitd
deleted file mode 100644
index 61a359702..000000000
--- a/community/monit/monitd
+++ /dev/null
@@ -1,43 +0,0 @@
-#!/bin/bash
-
-. /etc/rc.conf
-. /etc/rc.d/functions
-
-start() {
- stat_busy "Starting Monit"
- /usr/bin/monit &> /dev/null
- if [ $? -gt 0 ]; then
- stat_fail
- else
- add_daemon monitd
- stat_done
- fi
-}
-
-stop() {
- stat_busy "Stopping Monit"
- /usr/bin/monit quit &> /dev/null
- if [ $? -gt 0 ]; then
- stat_fail
- else
- rm_daemon monitd
- stat_done
- fi
-}
-
-case "$1" in
- start)
- start
- ;;
- stop)
- stop
- ;;
- restart)
- $0 stop
- sleep 1
- $0 start
- ;;
- *)
- echo "usage: $0 {start|stop|restart}"
-esac
-exit 0
diff --git a/community/ngircd/PKGBUILD b/community/ngircd/PKGBUILD
index 36a37689f..28db8b57e 100644
--- a/community/ngircd/PKGBUILD
+++ b/community/ngircd/PKGBUILD
@@ -1,11 +1,11 @@
-# $Id: PKGBUILD 84301 2013-02-15 22:17:20Z kkeen $
+# $Id: PKGBUILD 92045 2013-05-31 00:26:55Z seblu $
# Maintainer: Kyle Keen <keenerd@gmail.com>
# Contributor: Mateusz Herych <heniekk@gmail.com>
# Contributor: Alexander Rødseth <rodseth@gmail.com>
pkgname=ngircd
pkgver=20.2
-pkgrel=1
+pkgrel=2
pkgdesc="Next Generation IRC Daemon"
arch=('i686' 'x86_64' 'mips64el')
backup=(etc/ngircd.conf)
@@ -13,17 +13,16 @@ url="http://ngircd.barton.de/"
license=('GPL')
depends=('openssl' 'libident')
source=("http://ngircd.barton.de/pub/ngircd/ngircd-$pkgver.tar.gz"
- ngircd.sh
ngircd.service)
sha256sums=('306c0ef0d2ceac0836a84ecf871a6bc4dd16c25683aa87c0f172b6e68b93357d'
- 'f8c28546090af8ce67471b9b4d577f6926007615356dd11afd2bc16f61d698d5'
- '13ffad9647ef42d1a9c8f01f6208bef9dfe9e0f86dce9a01f72711d813d720a0')
+ 'f02e30f6864ba1130bcc85bedc44ad782687f572c06f10e0501b0ddcf532b404')
build() {
cd "$srcdir/$pkgname-$pkgver"
./configure --prefix=/usr \
--sysconfdir=/etc \
+ --sbindir=/usr/bin \
--mandir=/usr/share/man \
--with-ident \
--with-openssl \
@@ -35,7 +34,6 @@ package() {
cd "$srcdir/$pkgname-$pkgver"
make DESTDIR="$pkgdir" install
- install -Dm 755 ../ngircd.sh "$pkgdir/etc/rc.d/ngircd"
install -Dm 755 ../ngircd.service "$pkgdir/usr/lib/systemd/system/ngircd.service"
}
diff --git a/community/ngircd/ngircd.service b/community/ngircd/ngircd.service
index b5bab060b..b75382ea9 100644
--- a/community/ngircd/ngircd.service
+++ b/community/ngircd/ngircd.service
@@ -4,7 +4,7 @@ After=network.target
[Service]
# don't daemonize to simplify stuff
-ExecStart=/usr/sbin/ngircd -n
+ExecStart=/usr/bin/ngircd -n
ExecReload=/bin/kill -HUP $MAINPID
[Install]
diff --git a/community/ngircd/ngircd.sh b/community/ngircd/ngircd.sh
deleted file mode 100644
index 3947f527e..000000000
--- a/community/ngircd/ngircd.sh
+++ /dev/null
@@ -1,36 +0,0 @@
-#!/bin/bash
-
-. /etc/rc.conf
-. /etc/rc.d/functions
-
-case "$1" in
- start)
- stat_busy "Starting ngircd IRC daemon"
- /usr/sbin/ngircd
- if [ $? -gt 0 ]; then
- stat_fail
- else
- stat_done
- add_daemon ngircd
- fi
- ;;
- stop)
- stat_busy "Stopping ngircd IRC daemon"
- PID=`pidof -o %PPID /usr/sbin/ngircd`
- kill $PID > /dev/null
- if [ $? -gt 0 ]; then
- stat_fail
- else
- rm_daemon ngircd
- stat_done
- fi
- ;;
- restart)
- $0 stop
- sleep 1
- $0 start
- ;;
- *)
- echo "usage: $0 {start|stop|restart}"
-esac
-exit 0
diff --git a/community/nodejs/PKGBUILD b/community/nodejs/PKGBUILD
index cc5114965..280cb5ccb 100644
--- a/community/nodejs/PKGBUILD
+++ b/community/nodejs/PKGBUILD
@@ -1,4 +1,4 @@
-# $Id: PKGBUILD 91630 2013-05-25 17:27:12Z bpiotrowski $
+# $Id: PKGBUILD 92090 2013-05-31 11:38:30Z bpiotrowski $
# Maintainer: Bartłomiej Piotrowski <nospam@bpiotrowski.pl>
# Contributor: Thomas Dziedzic < gostrc at gmail >
# Contributor: James Campos <james.r.campos@gmail.com>
@@ -8,7 +8,7 @@
# Contributor: TIanyi Cui <tianyicui@gmail.com>
pkgname=nodejs
-pkgver=0.10.8
+pkgver=0.10.9
pkgrel=1
pkgdesc='Evented I/O for V8 javascript'
arch=('i686' 'x86_64' 'mips64el')
@@ -19,7 +19,7 @@ makedepends=('python2')
checkdepends=('curl')
options=('!emptydirs')
source=(http://nodejs.org/dist/v$pkgver/node-v$pkgver.tar.gz)
-sha256sums=('edf6f766c8ccc7ef5b02a50c94567343eb1ffae479db93684ba89976e3f18354')
+sha256sums=('25fb276ac6765ebb19f44d3e3775ed1c0275f874c896755d0d619226caee9c30')
prepare() {
cd node-v$pkgver
diff --git a/community/nss-pam-ldapd/PKGBUILD b/community/nss-pam-ldapd/PKGBUILD
index bc3ddd0ea..f4cec348c 100644
--- a/community/nss-pam-ldapd/PKGBUILD
+++ b/community/nss-pam-ldapd/PKGBUILD
@@ -3,7 +3,7 @@
pkgname=nss-pam-ldapd
pkgver=0.8.13
-pkgrel=1
+pkgrel=2
pkgdesc='LDAP module for NSS and PAM'
arch=('i686' 'x86_64' 'mips64el')
url="http://arthurdejong.org/$pkgname/"
@@ -17,16 +17,17 @@ backup=('etc/nslcd.conf')
source=("http://arthurdejong.org/$pkgname/$pkgname-$pkgver.tar.gz"
"nslcd.service")
sha1sums=('0567cfea104defabeacd88a3a3200b311b8071ec'
- '40afa421f05c2128a5219504fea45b2e76830973')
-
+ 'b564fa5738963a67a9240bf4ce63b2fa494cafb7')
+
build() {
cd "$srcdir/$pkgname-$pkgver"
./configure \
--prefix=/usr \
+ --sbindir=/usr/bin \
--sysconfdir=/etc \
--localstatedir=/var \
--with-pam-seclib-dir=/usr/lib/security;
-
+
make
}
diff --git a/community/nss-pam-ldapd/nslcd.service b/community/nss-pam-ldapd/nslcd.service
index 41fcb8966..73a9b5272 100644
--- a/community/nss-pam-ldapd/nslcd.service
+++ b/community/nss-pam-ldapd/nslcd.service
@@ -5,7 +5,7 @@ After=syslog.target network.target
[Service]
Type=forking
PIDFile=/var/run/nslcd/nslcd.pid
-ExecStart=/usr/sbin/nslcd
+ExecStart=/usr/bin/nslcd
[Install]
WantedBy=multi-user.target
diff --git a/community/ntop/PKGBUILD b/community/ntop/PKGBUILD
index cd2b88464..c30bc8a73 100644
--- a/community/ntop/PKGBUILD
+++ b/community/ntop/PKGBUILD
@@ -1,10 +1,10 @@
-# $Id: PKGBUILD 81126 2012-12-12 00:49:38Z eric $
+# $Id: PKGBUILD 92109 2013-05-31 15:39:41Z foutrelis $
# Maintainer: Lukas Fleischer <archlinux at cryptocrack dot de>
# Contributor: Douglas Soares de Andrade <douglas@archlinux.org>
pkgname=ntop
pkgver=5.0.1
-pkgrel=2
+pkgrel=3
pkgdesc='A network traffic probe that shows the network usage.'
arch=('i686' 'x86_64' 'mips64el')
url='http://www.ntop.org/'
@@ -14,12 +14,8 @@ makedepends=('subversion' 'wget' 'ca-certificates')
options=('!libtool' '!makeflags')
install='ntop.install'
source=("http://sourceforge.net/projects/${pkgname}/files/${pkgname}/Stable/${pkgname}-${pkgver}.tar.gz"
- 'ntop'
- 'ntop.conf.d'
'ntop.service')
md5sums=('01710b6925a8a5ffe1a41b8b512ebd69'
- '7b0d7bb57432e768ff387e9f7236f87c'
- '6a9371de1dcf31d8ef13a4cf349c02b3'
'0e149d20f881600e8387d850ac268483')
build() {
@@ -37,9 +33,6 @@ package() {
install -dm0755 -o nobody -g nobody "${pkgdir}/var/lib/ntop"
install -dm0755 -o nobody -g nobody "${pkgdir}/var/lib/ntop/rrd"
- install -Dm0755 "${srcdir}/ntop" "${pkgdir}/etc/rc.d/ntop"
- install -Dm0644 "${srcdir}/ntop.conf.d" "${pkgdir}/etc/conf.d/ntop"
-
for _f in "${pkgdir}/usr/lib/ntop/plugins/"*.so; do
_plug="$(basename ${_f})"
ln -sf "../../lib${_plug}" "${_f}"
diff --git a/community/ntop/ntop b/community/ntop/ntop
deleted file mode 100644
index 2f0dbcbdd..000000000
--- a/community/ntop/ntop
+++ /dev/null
@@ -1,38 +0,0 @@
-#!/bin/bash
-
-. /etc/rc.conf
-. /etc/rc.d/functions
-
-# source application-specific settings
-[ -f /etc/conf.d/ntop ] && . /etc/conf.d/ntop
-
-case "$1" in
- start)
- stat_busy "Starting ntop daemon"
- /usr/bin/ntop -d ${NTOP_ARGS} 2>&1 >> ${NTOP_LOG}
- if [ $? -gt 0 ]; then
- stat_fail
- else
- add_daemon ntop
- stat_done
- fi
- ;;
- stop)
- stat_busy "Stopping ntop daemon"
- killall /usr/bin/ntop &> /dev/null
- if [ $? -gt 0 ]; then
- stat_fail
- else
- rm_daemon ntop
- stat_done
- fi
- ;;
- restart)
- $0 stop
- sleep 1
- $0 start
- ;;
- *)
- echo "usage: $0 {start|stop|restart}"
-esac
-exit 0
diff --git a/community/ntop/ntop.conf.d b/community/ntop/ntop.conf.d
deleted file mode 100644
index 28e2a3166..000000000
--- a/community/ntop/ntop.conf.d
+++ /dev/null
@@ -1,5 +0,0 @@
-# Parameters to be passed to ntop.
-NTOP_ARGS="-i eth0 -w 3000"
-
-# Location of the log file.
-NTOP_LOG="/var/log/ntop.log"
diff --git a/community/nzbget/PKGBUILD b/community/nzbget/PKGBUILD
index e1df72a0e..5030c8173 100644
--- a/community/nzbget/PKGBUILD
+++ b/community/nzbget/PKGBUILD
@@ -1,10 +1,10 @@
-# $Id: PKGBUILD 88583 2013-04-20 15:33:34Z jlichtblau $
+# $Id: PKGBUILD 92051 2013-05-31 00:48:23Z seblu $
# Maintainer: Jaroslav Lichtblau <dragonlord@aur.archlinux.org>
# Contributor: Alexander Rødseth <rodseth@gmail.com>
pkgname=nzbget
pkgver=10.2
-pkgrel=1
+pkgrel=2
pkgdesc="Download from Usenet using .nzb files"
arch=('x86_64' 'i686' 'mips64el')
url="http://nzbget.sourceforge.net/"
@@ -18,7 +18,7 @@ sha256sums=('c9b878744c162e7721ffc8b048a2e4550a8ed8da6e706ee4cbd026ed2d612ec2')
build() {
cd ${srcdir}/$pkgname-$pkgver
- ./configure --prefix=/usr --enable-parcheck
+ ./configure --prefix=/usr --sbindir=/usr/bin --enable-parcheck
make CXXFLAGS="-lsigc-2.0"
}
diff --git a/community/parrot/PKGBUILD b/community/parrot/PKGBUILD
index a3caad52b..94a3bda89 100644
--- a/community/parrot/PKGBUILD
+++ b/community/parrot/PKGBUILD
@@ -1,9 +1,9 @@
-# $Id: PKGBUILD 88524 2013-04-19 10:31:48Z spupykin $
+# $Id: PKGBUILD 92115 2013-05-31 16:30:12Z spupykin $
# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
# Contributor: mpie <michael.kyne-phillips1@ntlworld.com>
pkgname=parrot
-pkgver=5.3.0
+pkgver=5.4.0
#_rel=stable
_rel=devel
pkgrel=1
@@ -16,7 +16,7 @@ makedepends=('perl-json')
optdepends=('freeglut')
options=('!makeflags')
source=(ftp://ftp.parrot.org/pub/parrot/releases/$_rel/$pkgver/$pkgname-$pkgver.tar.bz2)
-md5sums=('4f9fd4994bffd7664901dcace9ab6c16')
+md5sums=('5f4603d4c4ee8d60826e56f9012d2e99')
build() {
cd "$srcdir/$pkgname-$pkgver"
diff --git a/community/partimage/PKGBUILD b/community/partimage/PKGBUILD
index 7cc655b41..679a5bebe 100644
--- a/community/partimage/PKGBUILD
+++ b/community/partimage/PKGBUILD
@@ -1,4 +1,4 @@
-# $Id: PKGBUILD 77310 2012-10-08 15:54:38Z lfleischer $
+# $Id: PKGBUILD 92035 2013-05-31 00:06:34Z seblu $
# Maintainer: Lukas Fleischer <archlinux at cryptocrack dot de>
# Contributor: Roman Kyrylych <roman@archlinux.org>
# Contributor: Sven Kauber <celeon@gmail.com>
@@ -7,7 +7,7 @@
pkgname=partimage
pkgver=0.6.9
-pkgrel=3
+pkgrel=4
pkgdesc='Partition Image saves partitions in many formats to an image file.'
arch=('i686' 'x86_64' 'mips64el')
url='http://www.partimage.org/'
@@ -17,21 +17,19 @@ backup=('etc/partimaged/partimagedusers')
install='partimage.install'
source=("http://downloads.sourceforge.net/${pkgname}/${pkgname}-${pkgver}.tar.bz2"
'partimage-0.6.9-zlib-1.2.6.patch'
- 'partimaged'
'partimaged-gencrt'
'partimaged.service')
md5sums=('1bc046fd915c5debbafc85729464e513'
'202c4334766041d98c5f67c9d62c3063'
- 'f3b517a62de5540f3b1a8b7edf65b7ec'
'2316b116227b07efb48266e660ca1ba1'
- '4102983fdf6e7af7cac73fdf9d37a6f6')
+ '5f8dae511cdfbf097409a45e9642a372')
build() {
cd "${srcdir}/${pkgname}-${pkgver}"
patch -p1 -i ../partimage-0.6.9-zlib-1.2.6.patch
- ./configure --prefix=/usr --sysconfdir=/etc --enable-pam
+ ./configure --prefix=/usr --sysconfdir=/etc --sbindir=/usr/bin --enable-pam
make
make pamfile
}
@@ -42,7 +40,6 @@ package() {
make DESTDIR="${pkgdir}" install
install -Dm0644 partimaged.pam "${pkgdir}/etc/pam.d/partimaged"
- install -Dm0755 "${srcdir}/partimaged" "${pkgdir}/etc/rc.d/partimaged"
install -Dm0755 "${srcdir}/partimaged-gencrt" "${pkgdir}/usr/bin/partimaged-gencrt"
chmod 644 "${pkgdir}/etc/partimaged/partimagedusers"
diff --git a/community/partimage/partimaged b/community/partimage/partimaged
deleted file mode 100644
index da810cbb1..000000000
--- a/community/partimage/partimaged
+++ /dev/null
@@ -1,64 +0,0 @@
-#!/bin/bash
-# This file belongs in /etc/rc.d
-#
-###############################################################################
-
-#inserting certain functions (like stat_busy)
-. /etc/rc.conf
-. /etc/rc.d/functions
-
-PARTIMAGE=/usr/sbin/
-
-# Check the file is there and is executable.
-[ -x $PARTIMAGE/partimaged ] || exit 0
-
-PID=`pidof -o %PPID /usr/sbin/partimaged`
-
-# See how we were called.
-case "$1" in
- start)
- stat_busy "Starting Partimage Daemon "
- if [ -z "$PID" ]; then
- /usr/sbin/partimaged -D &>/dev/null
- RETVAL=$? #storing the status of the last command to RETVAL
- if [ $? -gt 0 ]; then #if the status was other than 0, the command failed
- stat_fail
- exit 1
- else
- add_daemon partimaged
- stat_done
- fi
- else
- stat_fail
- echo ":: Daemon already started as pid $PID"
- exit 1
- fi
- ;;
- stop)
- stat_busy "Stopping Partimage Daemon "
- if [ "$PID" != "" ]; then #if PID exists
- kill -KILL $PID &>/dev/null
- stat_done
- if [ $? -gt 0 ]; then
- stat_fail
- exit 1
- else
- RETVAL=$?
- rm_daemon partimaged
- fi
- else
- stat_fail
- echo ":: Daemon already stopped"
- exit 1
- fi
- ;;
- restart|reload)
- $0 stop
- $0 start
- RETVAL=$?
- ;;
- *)
- echo "Usage: partimaged {start|stop|restart|reload}"
- exit 1
-esac
-exit $RETVAL
diff --git a/community/partimage/partimaged.service b/community/partimage/partimaged.service
index 34eb87fd7..baa682981 100644
--- a/community/partimage/partimaged.service
+++ b/community/partimage/partimaged.service
@@ -4,7 +4,7 @@ After=syslog.target network.target
[Service]
Type=forking
-ExecStart=/usr/sbin/partimaged --daemon
+ExecStart=/usr/bin/partimaged --daemon
[Install]
WantedBy=multi-user.target
diff --git a/community/privoxy/PKGBUILD b/community/privoxy/PKGBUILD
index ff82d567b..da2bb0532 100644
--- a/community/privoxy/PKGBUILD
+++ b/community/privoxy/PKGBUILD
@@ -1,32 +1,27 @@
-# $Id: PKGBUILD 80122 2012-11-16 17:01:01Z lfleischer $
+# $Id: PKGBUILD 92055 2013-05-31 01:13:33Z seblu $
# Maintainer: Lukas Fleischer <archlinux at cryptocrack dot de>
# Contributor: Juergen Hoetzel <juergen@hoetzel.info>
# Contributor: basilburn (basilburn), Paul Bredbury (brebs)
pkgname=privoxy
-pkgver=3.0.19
-pkgrel=7
+pkgver=3.0.21
+pkgrel=1
pkgdesc='A web proxy with advanced filtering capabilities.'
arch=('i686' 'x86_64' 'mips64el')
url='http://www.privoxy.org'
license=('GPL')
depends=('pcre' 'zlib')
makedepends=('autoconf')
-backup=('etc/conf.d/privoxy'
- 'etc/privoxy/'{config,trust,default.action,user.filter,default.filter}
+backup=('etc/privoxy/'{config,trust,default.action,user.filter,default.filter}
'etc/privoxy/'{match-all,user}.action
'etc/logrotate.d/privoxy')
install='privoxy.install'
source=("http://downloads.sourceforge.net/ijbswa/${pkgname}-${pkgver}-stable-src.tar.gz"
- 'privoxy'
'privoxy.logrotate.d'
- 'privoxy.conf.d'
'privoxy.service')
-md5sums=('57acc79059565cc42eda67982842785d'
- '1b4ed8c4e7e5b04b10ef41b597dc3f3b'
+md5sums=('79558f2545cfcf9731f7de611646d837'
'fc3046377137003726a151ee27b142a2'
- '27830ef79418e277b90c1c1fa933f876'
- '4c154a126ec17b02c623e3d451e062d9')
+ '358e614190247fc1671bbcadddf500db')
build() {
cd "${srcdir}/${pkgname}-${pkgver}-stable"
@@ -41,15 +36,14 @@ build() {
package() {
cd "${srcdir}/${pkgname}-${pkgver}-stable"
- make prefix="${pkgdir}/usr" MAN_DEST="${pkgdir}/usr/share/man/man1" GROUP=42 \
+ make prefix="${pkgdir}/usr" SBIN_DEST="${pkgdir}/usr/bin" \
+ MAN_DEST="${pkgdir}/usr/share/man/man1" GROUP=42 \
CONF_BASE="${pkgdir}/etc/privoxy" VAR_DEST="${pkgdir}/var" install
# Don't overwrite existing log files!
rm "${pkgdir}/var/log/privoxy/"*
- install -Dm0755 "${srcdir}/privoxy" "${pkgdir}/etc/rc.d/privoxy"
install -Dm0644 "${srcdir}/privoxy.logrotate.d" "${pkgdir}/etc/logrotate.d/privoxy"
- install -Dm0644 "${srcdir}/privoxy.conf.d" "${pkgdir}/etc/conf.d/privoxy"
# Fix config paths.
sed -i -e 's#^confdir.*$#confdir /etc/privoxy#' -e 's#^logdir.*$#logdir /var/log/privoxy#' \
diff --git a/community/privoxy/privoxy b/community/privoxy/privoxy
deleted file mode 100644
index 754453de5..000000000
--- a/community/privoxy/privoxy
+++ /dev/null
@@ -1,53 +0,0 @@
-#!/bin/bash
-
-. /etc/rc.conf
-. /etc/rc.d/functions
-
-# source application-specific settings
-[ -f /etc/conf.d/privoxy ] && . /etc/conf.d/privoxy
-
-# read logdir and logfile from privoxy config
-prld=`grep ^logdir "$PRIVOXY_CONF" 2>/dev/null | cut -d' ' -f2`
-[ -n "$prld" ] || prld=/var/log/privoxy
-prlf=`grep ^logfile "$PRIVOXY_CONF" 2>/dev/null | cut -d' ' -f2`
-[ -n "$prlf" ] || prlf=logfile
-
-PID=`pidof -o %PPID /usr/sbin/privoxy`
-
-case "$1" in
- start)
- stat_busy "Starting Privoxy"
- # create missing logdir and logfile
- [ -d "$prld" ] || mkdir -p "$prld"
- if [ ! -f "$prlf" ]; then
- touch "$prld/$prlf" && chgrp "${PRIVOXY_GROUP}" "$prld/$prlf" && \
- chmod 0660 "$prld/$prlf"
- fi
- [ -z "$PID" ] && /usr/sbin/privoxy --user ${PRIVOXY_USER}.${PRIVOXY_GROUP} \
- ${PRIVOXY_ARGS} ${PRIVOXY_CONF}
- if [ $? -gt 0 ]; then
- stat_fail
- else
- add_daemon privoxy
- stat_done
- fi
- ;;
- stop)
- stat_busy "Stopping Privoxy"
- [ ! -z "$PID" ] && kill $PID &> /dev/null
- if [ $? -gt 0 ]; then
- stat_fail
- else
- rm_daemon privoxy
- stat_done
- fi
- ;;
- restart)
- $0 stop
- sleep 1
- $0 start
- ;;
- *)
- echo "usage: $0 {start|stop|restart}"
-esac
-exit 0
diff --git a/community/privoxy/privoxy.conf.d b/community/privoxy/privoxy.conf.d
deleted file mode 100644
index 9aa11cd67..000000000
--- a/community/privoxy/privoxy.conf.d
+++ /dev/null
@@ -1,10 +0,0 @@
-# Location of the config file.
-PRIVOXY_CONF='/etc/privoxy/config'
-
-# User and group that privoxy will be run as.
-PRIVOXY_USER='privoxy'
-PRIVOXY_GROUP='privoxy'
-
-# Additional arguments.
-PRIVOXY_ARGS="--pidfile /var/run/privoxy.pid"
-
diff --git a/community/privoxy/privoxy.service b/community/privoxy/privoxy.service
index 59a8884f9..e8b04447b 100644
--- a/community/privoxy/privoxy.service
+++ b/community/privoxy/privoxy.service
@@ -5,7 +5,7 @@ After=network.target
[Service]
Type=forking
PIDFile=/run/privoxy.pid
-ExecStart=/usr/sbin/privoxy --pidfile /run/privoxy.pid --user privoxy.privoxy /etc/privoxy/config
+ExecStart=/usr/bin/privoxy --pidfile /run/privoxy.pid --user privoxy.privoxy /etc/privoxy/config
SuccessExitStatus=15
[Install]
diff --git a/community/sshguard/PKGBUILD b/community/sshguard/PKGBUILD
index 1ac28a1f3..276987c87 100644
--- a/community/sshguard/PKGBUILD
+++ b/community/sshguard/PKGBUILD
@@ -1,10 +1,10 @@
-# $Id: PKGBUILD 90628 2013-05-13 12:25:45Z mtorromeo $
+# $Id: PKGBUILD 92088 2013-05-31 11:33:59Z mtorromeo $
# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
# Maintainer: Massimiliano Torromeo <massimiliano.torromeo@gmail.com>
pkgname=sshguard
pkgver=1.5
-pkgrel=12
+pkgrel=13
pkgdesc="Brute force detector for SSH, Exim, VSFTPD and more. Blocks by ip with iptables"
arch=('i686' 'x86_64' 'mips64el')
#url="http://sourceforge.net/projects/sshguard/"
diff --git a/community/stunnel/PKGBUILD b/community/stunnel/PKGBUILD
index e218d11a8..a889fa914 100644
--- a/community/stunnel/PKGBUILD
+++ b/community/stunnel/PKGBUILD
@@ -1,11 +1,11 @@
-# $Id: PKGBUILD 87349 2013-03-30 09:40:31Z lfleischer $
+# $Id: PKGBUILD 92065 2013-05-31 02:33:12Z seblu $
# Maintainer: Kaiting Chen <kaitocracy@gmail.com>
# Contributor: Daniel J Griffiths <ghost1227@archlinux.us>
# Contributor: Kevin Piche <kevin@archlinux.org>
pkgname=stunnel
pkgver=4.56
-pkgrel=1
+pkgrel=2
pkgdesc="A program that allows you to encrypt arbitrary TCP connections inside SSL"
arch=('i686' 'x86_64' 'mips64el')
url="http://www.stunnel.org"
@@ -15,13 +15,11 @@ install=$pkgname.install
options=('!libtool')
source=("ftp://ftp.stunnel.org/stunnel/$pkgname-$pkgver.tar.gz"{,.asc}
'Makefile.patch'
- 'stunnel.rc.d'
'stunnel.tmpfiles.conf')
md5sums=('ac4c4a30bd7a55b6687cbd62d864054c'
'd68c7dd65d515c678cdde15bbf0ce344'
'f15398497e10e080c2406d2fc541660c'
- '4c7e3634a9d4dc040102f5d4160fb123'
'2e065a39998e57727ee79887bbd1751e')
build() {
@@ -48,7 +46,6 @@ package() {
done
install -Dm644 tools/stunnel.cnf "$pkgdir/etc/stunnel/stunnel.cnf"
- install -Dm755 "$srcdir/stunnel.rc.d" "$pkgdir/etc/rc.d/stunnel"
install -Dm644 "$srcdir/stunnel.tmpfiles.conf" "$pkgdir/usr/lib/tmpfiles.d/stunnel.conf"
# move systemd service into place
diff --git a/community/stunnel/stunnel.rc.d b/community/stunnel/stunnel.rc.d
deleted file mode 100644
index 76f7b796a..000000000
--- a/community/stunnel/stunnel.rc.d
+++ /dev/null
@@ -1,44 +0,0 @@
-#!/bin/bash
-
-. /etc/rc.conf
-. /etc/rc.d/functions
-
-pidfile=/var/run/stunnel/stunnel.pid
-if [[ -r $pidfile ]]; then
- read -r PID < "$pidfile"
- if [[ $PID && ! -d /proc/$PID ]]; then
- # stale pidfile
- unset PID
- rm -f "$pidfile"
- fi
-fi
-
-case "$1" in
- start)
- stat_busy "Starting stunnel"
- if [[ -z $PID ]] && /usr/bin/stunnel; then
- add_daemon stunnel
- stat_done
- else
- stat_fail
- exit 1
- fi
- ;;
- stop)
- stat_busy "Stopping stunnel"
- if [[ $PID ]] && kill $PID &>/dev/null; then
- rm_daemon stunnel
- stat_done
- else
- stat_fail
- exit 1
- fi
- ;;
- restart)
- $0 stop
- sleep 1
- $0 start
- ;;
- *)
- echo "usage: $0 {start|stop|restart}"
-esac
diff --git a/community/tabbed/PKGBUILD b/community/tabbed/PKGBUILD
index b6a2bfc08..59dc75b5b 100644
--- a/community/tabbed/PKGBUILD
+++ b/community/tabbed/PKGBUILD
@@ -1,9 +1,9 @@
-# $Id: PKGBUILD 75438 2012-08-23 21:00:37Z lfleischer $
+# $Id: PKGBUILD 92069 2013-05-31 08:05:10Z lfleischer $
# Maintainer: Lukas Fleischer <archlinux at cryptocrack dot de>
# Contributor: totoloco <totoloco at gmx>
pkgname=tabbed
-pkgver=0.4.1
+pkgver=0.5
pkgrel=1
pkgdesc='Simple generic tabbed fronted to xembed aware applications.'
arch=('i686' 'x86_64' 'mips64el')
@@ -13,8 +13,8 @@ depends=('libx11')
install='tabbed.install'
source=("http://dl.suckless.org/tools/${pkgname}-${pkgver}.tar.gz"
'config.h')
-md5sums=('6349b763f8a4d5e42d18245169fb136c'
- '5aa6c1fdc7971b21363704391bea6e1b')
+md5sums=('cd9cfd696db745637486ec3b9bbe4b75'
+ 'cea7b04d4f67d917c68673cd0e63ae32')
build() {
cd "${srcdir}/${pkgname}-${pkgver}"
diff --git a/community/tabbed/config.h b/community/tabbed/config.h
index 402cf25d1..ca4b8d6b4 100644
--- a/community/tabbed/config.h
+++ b/community/tabbed/config.h
@@ -1,21 +1,36 @@
-static const char *font = "-*-terminus-medium-r-normal-*-14-*-*-*-*-*-*-*";
-static const char *normbgcolor = "#cccccc";
-static const char *normfgcolor = "#000000";
-static const char *selbgcolor = "#0066ff";
-static const char *selfgcolor = "#ffffff";
-static const char *before = "<";
-static const char *after = ">";
-static const int tabwidth = 200;
-static const Bool foreground = False;
+/* See LICENSE file for copyright and license details. */
+
+/* appearance */
+static const char font[] = "-*-*-medium-*-*-*-14-*-*-*-*-*-*-*";
+static const char normbgcolor[] = "#222222";
+static const char normfgcolor[] = "#cccccc";
+static const char selbgcolor[] = "#555555";
+static const char selfgcolor[] = "#ffffff";
+static const char before[] = "<";
+static const char after[] = ">";
+static const int tabwidth = 200;
+static const Bool foreground = True;
+
+/*
+ * Where to place a new tab when it is opened. When npisrelative is True,
+ * then the current position is changed + newposition. If npisrelative
+ * is False, then newposition is an absolute position.
+ */
+static int newposition = 0;
+static Bool npisrelative = False;
#define MODKEY ControlMask
static Key keys[] = { \
/* modifier key function argument */
{ MODKEY|ShiftMask, XK_Return, focusonce, { 0 } },
- { MODKEY|ShiftMask, XK_Return, spawn, { .v = (char*[]){ "surf", "-e", winid, NULL} } },
+ { MODKEY|ShiftMask, XK_Return, spawn, { 0 } },
+
{ MODKEY|ShiftMask, XK_l, rotate, { .i = +1 } },
{ MODKEY|ShiftMask, XK_h, rotate, { .i = -1 } },
+ { MODKEY|ShiftMask, XK_j, movetab, { .i = -1 } },
+ { MODKEY|ShiftMask, XK_k, movetab, { .i = +1 } },
{ MODKEY, XK_Tab, rotate, { .i = 0 } },
+
{ MODKEY, XK_1, move, { .i = 0 } },
{ MODKEY, XK_2, move, { .i = 1 } },
{ MODKEY, XK_3, move, { .i = 2 } },
@@ -26,5 +41,9 @@ static Key keys[] = { \
{ MODKEY, XK_8, move, { .i = 7 } },
{ MODKEY, XK_9, move, { .i = 8 } },
{ MODKEY, XK_0, move, { .i = 9 } },
+
{ MODKEY, XK_q, killclient, { 0 } },
+
+ { 0, XK_F11, fullscreen, { 0 } },
};
+
diff --git a/community/tinc/PKGBUILD b/community/tinc/PKGBUILD
index d0454b011..3fe65db54 100644
--- a/community/tinc/PKGBUILD
+++ b/community/tinc/PKGBUILD
@@ -1,4 +1,4 @@
-# $Id: PKGBUILD 88838 2013-04-23 16:26:01Z tredaelli $
+# $Id: PKGBUILD 92047 2013-05-31 00:34:01Z seblu $
# Maintainer: Timothy Redaelli <timothy.redaelli@gmail.com>
# Contributor: helios
# Contributor: Lothar Gesslein
@@ -6,26 +6,23 @@
pkgname=tinc
pkgver=1.0.21
-pkgrel=1
+pkgrel=2
pkgdesc="VPN (Virtual Private Network) daemon"
arch=('i686' 'x86_64' 'mips64el')
url="http://www.tinc-vpn.org/"
license=('GPL')
depends=('lzo2' 'openssl')
-backup=(etc/conf.d/tincd.conf)
install=tinc.install
source=(http://www.tinc-vpn.org/packages/tinc-$pkgver.tar.gz{,.sig}
- tincd.rc tincd.conf tincd@.service)
+ tincd@.service)
md5sums=('d7bc9ca38672c9da08d74ff2a3e8e36d'
'SKIP'
- '64bb53748d9051255f243003f0d511f5'
- '7c0276d4812cc5d3cc18142562a3aa82'
- '035b0e549b08da55d19a8df5b8306e4d')
+ '112327da32fdb56ab779fe004712235f')
build() {
cd "$srcdir/$pkgname-$pkgver"
- ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var
+ ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var --sbindir=/usr/bin
make
}
@@ -38,7 +35,5 @@ package() {
find "$pkgdir"/usr/share/tinc/examples -type f -exec chmod 644 {} +
find "$pkgdir"/usr/share/tinc/examples -type d -exec chmod 755 {} +
- install -Dm755 "$srcdir/tincd.rc" "$pkgdir/etc/rc.d/tincd"
- install -Dm644 "$srcdir/tincd.conf" "$pkgdir/etc/conf.d/tincd.conf"
install -Dm644 "$srcdir/tincd@.service" "$pkgdir/usr/lib/systemd/system/tincd@.service"
}
diff --git a/community/tinc/tincd.conf b/community/tinc/tincd.conf
deleted file mode 100644
index 6e0902bbb..000000000
--- a/community/tinc/tincd.conf
+++ /dev/null
@@ -1,5 +0,0 @@
-# Extra options to be passed to tincd.
-# TINCD_EXTRAOPTS="-d"
-
-# Arrays containing all names of the networks to be started from rc.d.
-NETNAMES=()
diff --git a/community/tinc/tincd.rc b/community/tinc/tincd.rc
deleted file mode 100644
index 48c132f25..000000000
--- a/community/tinc/tincd.rc
+++ /dev/null
@@ -1,42 +0,0 @@
-#!/bin/bash
-
-daemon_name=tincd
-
-. /etc/rc.conf
-. /etc/rc.d/functions
-. /etc/conf.d/$daemon_name.conf
-
-case "$1" in
- start)
- for net in "${NETNAMES[@]}"; do
- stat_busy "Starting ${daemon_name}"
- /usr/sbin/tincd -n "${net}" $TINCD_EXTRAOPTS &>/dev/null
- if [ $? -gt 0 ]; then
- stat_fail
- else
- add_daemon ${daemon_name}
- stat_done
- fi
- done
- ;;
- stop)
- stat_busy "Stopping ${daemon_name}"
- for net in "${NETNAMES[@]}"; do
- /usr/sbin/tincd -k -n "${net}" &>/dev/null
- if [ $? -gt 0 ]; then
- stat_fail
- else
- rm_daemon ${daemon_name}
- stat_done
- fi
- done
- ;;
- restart)
- "$0" stop
- sleep 5
- "$0" start
- ;;
- *)
- echo "usage: $0 {start|stop|restart}"
-esac
-exit 0
diff --git a/community/tinc/tincd@.service b/community/tinc/tincd@.service
index ef8f2da9f..069bf4570 100644
--- a/community/tinc/tincd@.service
+++ b/community/tinc/tincd@.service
@@ -4,7 +4,7 @@ After=network.target
[Service]
Type=forking
-ExecStart=/usr/sbin/tincd -n %i
+ExecStart=/usr/bin/tincd -n %i
[Install]
WantedBy=multi-user.target
diff --git a/community/tinyproxy/PKGBUILD b/community/tinyproxy/PKGBUILD
index 7206f5728..af06dc7ef 100644
--- a/community/tinyproxy/PKGBUILD
+++ b/community/tinyproxy/PKGBUILD
@@ -1,10 +1,10 @@
-# $Id: PKGBUILD 80139 2012-11-16 17:14:04Z lfleischer $
+# $Id: PKGBUILD 92033 2013-05-30 23:55:47Z seblu $
# Maintainer: Lukas Fleischer <archlinux at cryptocrack dot de>
# Contributor: Andrea Zucchelli <zukka77@gmail.com>
pkgname=tinyproxy
pkgver=1.8.3
-pkgrel=6
+pkgrel=7
pkgdesc='A light-weight HTTP proxy daemon for POSIX operating systems.'
arch=('i686' 'x86_64' 'mips64el')
url='https://banu.com/tinyproxy/'
@@ -13,18 +13,17 @@ makedepends=('asciidoc')
install="${pkgname}.install"
backup=('etc/tinyproxy/tinyproxy.conf')
source=("https://banu.com/pub/${pkgname}/1.8/${pkgname}-${pkgver}.tar.bz2"
- 'tinyproxy'
'tinyproxy.tmpfiles.conf'
'tinyproxy.service')
md5sums=('292ac51da8ad6ae883d4ebf56908400d'
- '90eb2b3371e56d5a784fd826d4a6e5f8'
'3c2764578f26581346fe312da0519a3e'
- '299ca484c08d9873c74e1eb96f6a5cc0')
+ '41938243faca487a14beeee5114f244e')
build() {
cd "${srcdir}/${pkgname}-${pkgver}"
- ./configure --prefix=/usr --sysconfdir=/etc/tinyproxy --localstatedir=/var --enable-transparent
+ ./configure --prefix=/usr --sysconfdir=/etc/tinyproxy --sbindir=/usr/bin \
+ --localstatedir=/var --enable-transparent
make
}
@@ -32,7 +31,6 @@ package() {
cd "${srcdir}/${pkgname}-${pkgver}"
make DESTDIR="${pkgdir}" install
- install -Dm0755 "${srcdir}/tinyproxy" "${pkgdir}/etc/rc.d/tinyproxy"
install -Dm0644 "${srcdir}/tinyproxy.tmpfiles.conf" "${pkgdir}/usr/lib/tmpfiles.d/tinyproxy.conf"
install -dm0755 -o nobody -g nobody "${pkgdir}/var/log/${pkgname}"
diff --git a/community/tinyproxy/tinyproxy b/community/tinyproxy/tinyproxy
deleted file mode 100644
index 5580ea804..000000000
--- a/community/tinyproxy/tinyproxy
+++ /dev/null
@@ -1,50 +0,0 @@
-#!/bin/bash
-
-. /etc/rc.conf
-. /etc/rc.d/functions
-
-PID=$(pidof -o %PPID /usr/sbin/tinyproxy)
-
-start() {
- stat_busy "Starting Tinyproxy"
-
- [ -z "$PID" ] && rm -f /var/run/tinyproxy/tinyproxy.pid && \
- /usr/sbin/tinyproxy -c /etc/tinyproxy/tinyproxy.conf 2>/dev/null
-
- if [ $? -gt 0 ]; then
- stat_fail
- else
- add_daemon tinyproxy
- stat_done
- fi
-}
-
-stop() {
- stat_busy "Stopping Tinyproxy"
-
- [ ! -z "$PID" ] && kill $PID &> /dev/null
-
- if [ $? -gt 0 ]; then
- stat_fail
- else
- rm_daemon tinyproxy
- stat_done
- fi
-}
-
-case "$1" in
- start)
- start
- ;;
- stop)
- stop
- ;;
- restart)
- $0 stop
- sleep 1
- $0 start
- ;;
- *)
- echo "usage: $0 {start|stop|restart}"
-esac
-exit 0
diff --git a/community/tinyproxy/tinyproxy.service b/community/tinyproxy/tinyproxy.service
index 8776a0ee1..f1ef18faa 100644
--- a/community/tinyproxy/tinyproxy.service
+++ b/community/tinyproxy/tinyproxy.service
@@ -4,7 +4,7 @@ After=network.target
[Service]
Type=forking
-ExecStart=/usr/sbin/tinyproxy -c /etc/tinyproxy/tinyproxy.conf
+ExecStart=/usr/bin/tinyproxy -c /etc/tinyproxy/tinyproxy.conf
PIDFile=/run/tinyproxy/tinyproxy.pid
[Install]
diff --git a/community/uml_utilities/PKGBUILD b/community/uml_utilities/PKGBUILD
deleted file mode 100644
index a5620b335..000000000
--- a/community/uml_utilities/PKGBUILD
+++ /dev/null
@@ -1,26 +0,0 @@
-# Maintainer: Mike Sampson <mike at sambodata dot com>
-# Contributor: Jason Chu <jason@archlinux.org>
-# Contributor: Juergen Hoetzel <juergen@archlinux.org>
-
-pkgname=uml_utilities
-pkgver=20070815
-pkgrel=5
-pkgdesc="User Mode Linux Utilities"
-arch=(i686 x86_64 'mips64el')
-depends=('fuse' 'readline' 'perl')
-url="http://user-mode-linux.sourceforge.net/"
-source=(http://user-mode-linux.sourceforge.net/${pkgname}_${pkgver}.tar.bz2)
-license=('GPL2')
-md5sums=('b0468ac8b79cef53f36f5f9517907462')
-
-build() {
- cd $srcdir/tools-$pkgver
- sed 's|lib64|lib|g' -i Makefile
- make all
-}
-
-package() {
- cd $srcdir/tools-$pkgver
- make DESTDIR=$pkgdir install
- chown root $pkgdir/usr/bin/*
-}
diff --git a/community/unhide/PKGBUILD b/community/unhide/PKGBUILD
index 598623562..18f16e8f4 100644
--- a/community/unhide/PKGBUILD
+++ b/community/unhide/PKGBUILD
@@ -1,31 +1,31 @@
-# $Id: PKGBUILD 66390 2012-02-24 12:30:25Z lfleischer $
+# $Id: PKGBUILD 92031 2013-05-30 23:43:09Z seblu $
# Maintainer: Lukas Fleischer <archlinux at cryptocrack dot de>
pkgname=unhide
-pkgver=20110113
-pkgrel=3
+pkgver=20130526
+pkgrel=1
pkgdesc='A forensic tool to find processes hidden by rootkits, LKMs or by other techniques.'
arch=('i686' 'x86_64' 'mips64el')
-url='http://www.unhide-forensics.info/'
+url='http://sourceforge.net/projects/unhide/'
license=('GPL3')
-source=("http://downloads.sourceforge.net/project/${pkgname}/${pkgname}-${pkgver}.tgz")
-md5sums=('0dff8ee5029615f1f81db96dcf6758f7')
+depends=('iproute2' 'lsof' 'psmisc' 'net-tools' 'procps-ng')
+source=("http://downloads.sourceforge.net/project/$pkgname/$pkgname/$pkgname-$pkgver.tgz")
+md5sums=('f3d68ed8eb239614abb0ff5ace22cf85')
build() {
- cd "${srcdir}/${pkgname}-${pkgver}"
-
- cc -Os -static unhide.c -o unhide-posix
- cc -Os -static -pthread unhide-linux26.c -o unhide-linux26
- cc -Os -static unhide-tcp.c -o unhide-tcp
+ cd $pkgname-$pkgver
+ cc -Wall -O2 --static -pthread unhide-linux*.c unhide-output.c -o unhide-linux
+ cc -Wall -O2 --static unhide_rb.c -o unhide_rb
+ cc -Wall -O2 --static unhide-posix.c -o unhide-posix
+ cc -Wall -O2 --static unhide-tcp.c unhide-tcp-fast.c unhide-output.c -o unhide-tcp
}
package() {
- cd "${srcdir}/${pkgname}-${pkgver}"
-
- install -Dm0755 unhide-posix "${pkgdir}/usr/sbin/unhide-posix"
- install -Dm0755 unhide-linux26 "${pkgdir}/usr/sbin/unhide-linux26"
- install -Dm0755 unhide-tcp "${pkgdir}/usr/sbin/unhide-tcp"
- ln -fs ./unhide-linux26 "${pkgdir}/usr/sbin/unhide"
- install -Dm0644 man/unhide.8 "${pkgdir}/usr/share/man/man8/unhide.8"
+ cd $pkgname-$pkgver
+ for _p in unhide-linux unhide-posix unhide_rb unhide-tcp; do
+ install -Dm0755 "$_p" "$pkgdir/usr/bin/$_p"
+ done
+ ln -s unhide-linux "$pkgdir/usr/bin/unhide"
+ install -Dm0644 man/unhide.8 "$pkgdir/usr/share/man/man8/unhide.8"
}
diff --git a/community/vbetool/PKGBUILD b/community/vbetool/PKGBUILD
index d39993d3b..a6e2058eb 100644
--- a/community/vbetool/PKGBUILD
+++ b/community/vbetool/PKGBUILD
@@ -1,4 +1,4 @@
-# $Id: PKGBUILD 55527 2011-09-14 07:33:04Z andrea $
+# $Id: PKGBUILD 92026 2013-05-30 23:36:55Z seblu $
# Maintainer: Lukas Fleischer <archlinux at cryptocrack dot de>
# Contributor: Christian Storm <Christian.Storm@gmx.DE>
# Contributor: James Rayner <james@archlinux.org>
@@ -6,7 +6,7 @@
pkgname=vbetool
pkgver=1.1
-pkgrel=2
+pkgrel=3
pkgdesc="Uses lrmi in order to run code from the video BIOS"
url="http://www.srcf.ucam.org/~mjg59/vbetool/"
license=('GPL2')
@@ -19,9 +19,9 @@ md5sums=('ffb03b118867a02296d7449019ad8846')
build() {
cd "${srcdir}"/$pkgname-$pkgver
if [ "${CARCH}" = "x86_64" ]; then
- ./configure --prefix=/usr --without-x86emu
+ ./configure --prefix=/usr --sbindir=/usr/bin --without-x86emu
else
- ./configure --prefix=/usr
+ ./configure --prefix=/usr --sbindir=/usr/bin
fi
make LIBS=-lpci
}
diff --git a/community/webfs/PKGBUILD b/community/webfs/PKGBUILD
index e23bd81d8..b96a2a0f7 100644
--- a/community/webfs/PKGBUILD
+++ b/community/webfs/PKGBUILD
@@ -1,4 +1,4 @@
-# $Id: PKGBUILD 79331 2012-11-03 03:32:04Z kkeen $
+# $Id: PKGBUILD 92107 2013-05-31 15:10:32Z foutrelis $
# Maintainer: Kyle Keen <keenerd@gmail.com>
# Contributor: Roman Kyrylych <Roman.Kyrylych@gmail.com>
# Contributor: Mark Rosenstand <mark@archlinux.org>
@@ -7,18 +7,18 @@
pkgname=webfs
pkgver=1.21
-pkgrel=9
+pkgrel=10
pkgdesc="Simple and instant http server for mostly static content."
arch=(i686 x86_64 'mips64el')
url="http://linux.bytesex.org/misc/webfs.html"
license=("GPL")
depends=('mime-types' 'openssl')
-backup=(etc/conf.d/webfsd)
+backup=('etc/conf.d/webfsd')
source=(http://dl.bytesex.org/releases/webfs/webfs-${pkgver}.tar.gz
- webfsd.rc webfsd.conf webfs.patch
+ webfsd.conf
+ webfs.patch
webfsd.service)
md5sums=('6dc125fe160479404147e7bbfc781dbc'
- '3ae9fcdcf79b193aa88e386055e9ebd7'
'b2c1ab041a82acd8391b06dc38d986be'
'7294edcec2589df04bb775270d56536e'
'e1202dd915cba1a02e0016aa3a516b4a')
@@ -34,7 +34,6 @@ package() {
cd "$srcdir/$pkgname-$pkgver"
make prefix=/usr DESTDIR="$pkgdir" install
- install -Dm755 "$srcdir/webfsd.rc" "$pkgdir/etc/rc.d/webfsd"
install -Dm644 "$srcdir/webfsd.conf" "$pkgdir/etc/conf.d/webfsd"
install -Dm755 "$srcdir/webfsd.service" "$pkgdir/usr/lib/systemd/system/webfsd.service"
}
diff --git a/community/webfs/webfsd.rc b/community/webfs/webfsd.rc
deleted file mode 100644
index 1c854ebdb..000000000
--- a/community/webfs/webfsd.rc
+++ /dev/null
@@ -1,38 +0,0 @@
-#!/bin/sh
-
-# source application-specific settings
-[ -f /etc/conf.d/webfsd ] && . /etc/conf.d/webfsd
-
-. /etc/rc.conf
-. /etc/rc.d/functions
-
-PID=`pidof -o %PPID webfsd`
-case "$1" in
- start)
- stat_busy "Starting webfsd"
- [ -z "$PID" ] && /usr/bin/webfsd ${WEBFSD_ARGS} &
- if [ $? -gt 0 ]; then
- stat_fail
- else
- add_daemon webfsd
- stat_done
- fi
- ;;
- stop)
- stat_busy "Stopping webfsd"
- [ ! -z "$PID" ] && kill $PID &>/dev/null
- if [ $? -gt 0 ]; then
- stat_fail
- else
- rm_daemon webfsd
- stat_done
- fi
- ;;
- restart)
- $0 stop
- $0 start
- ;;
- *)
- echo "usage: $0 {start|stop|restart}"
-esac
-exit 0
diff --git a/extra/dosfstools/PKGBUILD b/core/dosfstools/PKGBUILD
index ec298d33f..a51005dbe 100644
--- a/extra/dosfstools/PKGBUILD
+++ b/core/dosfstools/PKGBUILD
@@ -1,4 +1,4 @@
-# $Id: PKGBUILD 186622 2013-05-30 05:56:36Z tpowa $
+# $Id: PKGBUILD 186902 2013-05-31 16:49:40Z tpowa $
# Maintainer: dorphell <dorphell@archlinux.org>
# Committer: Judd Vinet <jvinet@zeroflux.org>
pkgname=dosfstools
diff --git a/extra/dosfstools/dosfstools-3.0.12-fix-alloc-rootdir-entry.patch b/core/dosfstools/dosfstools-3.0.12-fix-alloc-rootdir-entry.patch
index 44e6e86b5..44e6e86b5 100644
--- a/extra/dosfstools/dosfstools-3.0.12-fix-alloc-rootdir-entry.patch
+++ b/core/dosfstools/dosfstools-3.0.12-fix-alloc-rootdir-entry.patch
diff --git a/core/keyutils/PKGBUILD b/core/keyutils/PKGBUILD
index abb73476e..3bfd63f4b 100644
--- a/core/keyutils/PKGBUILD
+++ b/core/keyutils/PKGBUILD
@@ -1,28 +1,32 @@
-# $Id: PKGBUILD 185695 2013-05-17 11:13:15Z stephane $
+# $Id: PKGBUILD 186780 2013-05-31 07:19:13Z tpowa $
# Maintainer: Stéphane Gaudreault <stephane@archlinux.org>
# Contributor: Tobias Powalowski <tpowa@archlinux.org>
pkgname=keyutils
pkgver=1.5.5
-pkgrel=4
+pkgrel=5
pkgdesc="Linux Key Management Utilities"
arch=(i686 x86_64 'mips64el')
url="http://www.kernel.org"
license=('GPL2' 'LGPL2.1')
depends=('glibc' 'sh')
backup=(etc/request-key.conf)
-source=(http://people.redhat.com/~dhowells/${pkgname}/${pkgname}-${pkgver}.tar.bz2)
-md5sums=('d759680b2f23c99af95938f5026f25fb')
+source=(http://people.redhat.com/~dhowells/${pkgname}/${pkgname}-${pkgver}.tar.bz2
+request-key.conf.patch)
+md5sums=('d759680b2f23c99af95938f5026f25fb'
+ '89a819a7e4e90936b210c9d5020d296d')
+
+prepare() {
+ cd "${srcdir}/${pkgname}-${pkgver}"
+ # fix paths of binaries in /etc/request-key.conf
+ patch -Np0 -i ../request-key.conf.patch
+}
build() {
cd "${srcdir}/${pkgname}-${pkgver}"
- make CFLAGS="${CFLAGS}" LDFLAGS="${LDFLAGS}"
+ make CFLAGS="${CFLAGS}" LDFLAGS="${LDFLAGS}" SBINDIR='/usr/bin' BINDIR='/usr/bin'
}
package() {
cd "${srcdir}/${pkgname}-${pkgver}"
make DESTDIR="${pkgdir}" SBINDIR='/usr/bin' BINDIR='/usr/bin' LIBDIR='/usr/lib' USRLIBDIR='/usr/lib' install
- # add nfsidmap to config file #30396
- echo "# NFS idmap resolver" >> $pkgdir/etc/request-key.conf
- echo "create id_resolver * * /usr/sbin/nfsidmap %k %d" \
- >> $pkgdir/etc/request-key.conf
}
diff --git a/core/keyutils/request-key.conf.patch b/core/keyutils/request-key.conf.patch
new file mode 100644
index 000000000..9ab479631
--- /dev/null
+++ b/core/keyutils/request-key.conf.patch
@@ -0,0 +1,21 @@
+--- request-key.conf.old 2013-05-28 15:34:10.966001242 +0200
++++ request-key.conf 2013-05-28 15:35:34.857969598 +0200
+@@ -31,11 +31,11 @@
+
+ #OP TYPE DESCRIPTION CALLOUT INFO PROGRAM ARG1 ARG2 ARG3 ...
+ #====== ======= =============== =============== ===============================
+-create dns_resolver * * /sbin/key.dns_resolver %k
+-create user debug:* negate /bin/keyctl negate %k 30 %S
+-create user debug:* rejected /bin/keyctl reject %k 30 %c %S
+-create user debug:* expired /bin/keyctl reject %k 30 %c %S
+-create user debug:* revoked /bin/keyctl reject %k 30 %c %S
+-create user debug:loop:* * |/bin/cat
++create dns_resolver * * /usr/bin/key.dns_resolver %k
++create user debug:* negate /usr/bin/keyctl negate %k 30 %S
++create user debug:* rejected /usr/bin/keyctl reject %k 30 %c %S
++create user debug:* expired /usr/bin/keyctl reject %k 30 %c %S
++create user debug:* revoked /usr/bin/keyctl reject %k 30 %c %S
++create user debug:loop:* * |/usr/bin/cat
+ create user debug:* * /usr/share/keyutils/request-key-debug.sh %k %d %c %S
+-negate * * * /bin/keyctl negate %k 30 %S
++negate * * * /usr/bin/keyctl negate %k 30 %S
diff --git a/core/nfs-utils/PKGBUILD b/core/nfs-utils/PKGBUILD
index 768cf9d69..6cbbc88fa 100644
--- a/core/nfs-utils/PKGBUILD
+++ b/core/nfs-utils/PKGBUILD
@@ -1,4 +1,4 @@
-# $Id: PKGBUILD 185039 2013-05-10 16:21:44Z tomegun $
+# $Id: PKGBUILD 186779 2013-05-31 07:19:12Z tpowa $
# Maintainer: Tobias Powalowski <tpowa@archlinux.org>
# Contributor: John Proctor <jproctor@prium.net>
# Contributor: dibblethewrecker <dibblethewrecker.at.jiwe.org>
@@ -7,7 +7,7 @@
pkgname=nfs-utils
pkgver=1.2.8
-pkgrel=3
+pkgrel=6
pkgdesc="Support programs for Network File Systems"
arch=('i686' 'x86_64' 'mips64el')
url='http://nfs.sourceforge.net'
@@ -20,7 +20,6 @@ source=(http://downloads.sourceforge.net/project/nfs/${pkgname}/${pkgver}/${pkgn
nfs-server.conf
exports
idmapd.conf
- start-statd.patch
nfs
nfs-utils-1.1.4-mtab-sym.patch
nfs-utils-1.1.4-no-exec.patch
@@ -33,54 +32,59 @@ source=(http://downloads.sourceforge.net/project/nfs/${pkgname}/${pkgver}/${pkgn
var-lib-nfs-rpc_pipefs.mount
proc-fs-nfsd.mount
blkmapd.service
- nfs-utils.conf)
+ nfs-utils.conf
+ id_resolver.conf
+ start-statd.patch)
install=nfs-utils.install
md5sums=('6e7d97de51e428a0b8698c16ca23db77'
'f73f197a16b02c3e248488ec35c4cf43'
'9cef69bc686cc5dcac23fbb51450747d'
'ff585faf410a62c4333a027c50b56bae'
'eb4f4027fab6fc1201f1ca04f5954c76'
- 'e9144277a89a620d9bc80413158a7d27'
'f5e7bba09a46c5c5d7007cac6eff9df5'
'7674106eaaa4c149bccd4f05fe3604e9'
'4f4827dfc93008dfadd0a530ad0872b2'
- '3694619813cebc5b4502b58f1992b442'
- '965311784d49a7d126d512cadbe91deb'
- 'e05705d9ccccaeaeb1ecaee20adc05bc'
- '359d84a85f8781dc3f45f4cf1dbe4b53'
- 'beff8a426b3b14c46e3e78a2a283e2ab'
- '5d33d2e754fd37280365b287603bac90'
+ '6aeb4a80b2a5162f5951438474ea22f3'
+ 'ff95ad9275ef774e0a2ea8adfe55ee66'
+ '2e991f0e440b4809e22b6c7689544fc0'
+ '42d0088add3beab0284be1379391382b'
+ '60d82e2d2d19d21ceb72665e54bf913e'
+ '3bcc9901478f4f9ea0a03b67171c13e3'
'1cd65909fa0983047f3f06a3ab352401'
'8f1b5282795895c9b8ce8430d20cdda6'
- '8ffc2ebe932d29efe17d6f3f23d5b975'
- '8ac484023d786766d287ccbe878ae4ba')
+ '8f03e708b230619ffc2a799a48bffb53'
+ '8ac484023d786766d287ccbe878ae4ba'
+ 'bed57f7c3911af695ec7b469248c104a'
+ 'f8bb29c2ca1ce178e6371091a3e1090d')
prepare() {
cd $srcdir/${pkgname}-${pkgver}
patch -Np1 -i ../nfs-utils-1.1.4-mtab-sym.patch
+ # fix /usr/bin in start-statd shell script
+ patch -Np1 -i ../start-statd.patch
#patch -Np1 -i ../nfs-utils-1.1.4-no-exec.patch
- # arch specific patch
- patch -Np0 -i $srcdir/start-statd.patch
}
build() {
cd $srcdir/${pkgname}-${pkgver}
- ./configure --prefix=/usr --enable-nfsv4 --enable-nfsv41 --enable-gss \
+ ./configure --prefix=/usr --sbindir=/usr/bin --enable-nfsv4 --enable-nfsv41 --enable-gss \
--without-tcp-wrappers --with-statedir=/var/lib/nfs \
--enable-ipv6 --sysconfdir=/etc --enable-libmount-mount \
- --enable-mountconfig
-
+ --enable-mountconfig --with-start-statd=/usr/bin/start-statd
+ # move mount helpers to /usr/bin
+ sed -i -e 's#sbindir = /sbin#sbindir = /usr/bin#g' utils/mount/Makefile
+ # move osd_login to /usr/bin
+ sed -i -e 's#sbindir = /sbin#sbindir = /usr/bin#g' utils/osd_login/Makefile
make
}
package() {
cd $srcdir/${pkgname}-${pkgver}
# fix make install
- mkdir -p $pkgdir/sbin
make DESTDIR=$pkgdir install
# support python2 (FS#25120)
- sed -i '1s/python$/python2/' "$pkgdir"/usr/sbin/{nfsiostat,mountstats}
+ sed -i '1s/python$/python2/' "$pkgdir"/usr/bin/{nfsiostat,mountstats}
# Configuration
install -D -m 644 ../exports "$pkgdir/"etc/exports
@@ -89,6 +93,8 @@ package() {
install -D -m 644 ../nfs-server.conf "$pkgdir/"etc/conf.d/nfs-server.conf
install -D -m 644 ../nfs "$pkgdir/"etc/conf.d/nfs
install -D -m 644 utils/mount/nfsmount.conf "$pkgdir/"etc/nfsmount.conf
+ # keyutils id_resolver #35463
+ install -D -m 644 ../id_resolver.conf "$pkgdir/"etc/request-key.d/id_resolver.conf
# systemd files
for i in ${srcdir}/*.{service,mount}; do
install -D -m 644 $i "$pkgdir/usr/lib/systemd/system/${i##*/}"
@@ -99,3 +105,4 @@ package() {
mkdir -m 555 "$pkgdir/"var/lib/nfs/rpc_pipefs
mkdir "$pkgdir/"var/lib/nfs/v4recovery
}
+
diff --git a/core/nfs-utils/blkmapd.service b/core/nfs-utils/blkmapd.service
index 16cb68bbb..fa7ce394b 100644
--- a/core/nfs-utils/blkmapd.service
+++ b/core/nfs-utils/blkmapd.service
@@ -5,7 +5,7 @@ Requires=var-lib-nfs-rpc_pipefs.mount
[Service]
Type=forking
-ExecStart=/usr/sbin/blkmapd
+ExecStart=/usr/bin/blkmapd
[Install]
WantedBy=multi-user.target
diff --git a/core/nfs-utils/id_resolver.conf b/core/nfs-utils/id_resolver.conf
new file mode 100644
index 000000000..9c0fee337
--- /dev/null
+++ b/core/nfs-utils/id_resolver.conf
@@ -0,0 +1 @@
+create id_resolver * * /usr/bin/nfsidmap %k %d \ No newline at end of file
diff --git a/core/nfs-utils/nfs-common b/core/nfs-utils/nfs-common
deleted file mode 100644
index 7b16b4b3c..000000000
--- a/core/nfs-utils/nfs-common
+++ /dev/null
@@ -1,315 +0,0 @@
-#!/bin/bash
-
-daemon_name=nfs-common
-
-NEED_STATD=
-STATD_OPTS=
-NEED_IDMAPD=
-IDMAPD_OPTS=
-NEED_GSSD=
-GSSD_OPTS=
-PIPEFS_MOUNTPOINT=
-PIPEFS_MOUNTOPTS=
-
-# rpc.statd daemon & binary location
-STATD_DAEMON_NAME=rpc.statd
-STATD="/usr/sbin/rpc.statd"
-
-# rpc.idmapd daemon & binary location
-IDMAPD_DAEMON_NAME=rpc.idmapd
-IDMAPD="/usr/sbin/rpc.idmapd"
-
-# rpc.gssd daemon & binary location
-GSSD_DAEMON_NAME=rpc.gssd
-GSSD="/usr/sbin/rpc.gssd"
-
-. /etc/rc.conf
-. /etc/rc.d/functions
-. /etc/conf.d/$daemon_name.conf
-
-# Default mountpoint and options for rpc_pipefs filesystem
-[ -z "$PIPEFS_MOUNTPOINT" ] && PIPEFS_MOUNTPOINT="/var/lib/nfs/rpc_pipefs"
-[ -z "$PIPEFS_MOUNTOPTS" ] && PIPEFS_MOUNTOPTS="defaults"
-
-# Parse the fstab file, and determine whether we need idmapd and gssd. (The
-# /etc/conf.d/nfs-common settings, if any, will override our autodetection.)
-AUTO_NEED_IDMAPD=no
-AUTO_NEED_GSSD=no
-
-if [ -f /etc/fstab ]; then
- exec 9<&0 </etc/fstab
-
- while read DEV MTPT FSTYPE OPTS REST; do
- if [ "$FSTYPE" = "nfs4" ]; then
- AUTO_NEED_IDMAPD=yes
- fi
- case "$OPTS" in
- sec=krb5|*,sec=krb5|sec=krb5,*|*,sec=krb5i,*|sec=krb5i|*,sec=krb5i|sec=krb5i,*|*,sec=krb5i,*|sec=krb5p|*,sec=krb5p|sec=krb5p,*|*,sec=krb5p,*)
- AUTO_NEED_GSSD=yes
- ;;
- esac
- done
-
- exec 0<&9 9<&-
-fi
-
-# We also need idmapd if we run an NFSv4 server. It's fairly difficult
-# to autodetect whether there are NFSv4 exports or not, and idmapd is not a
-# particularily heavy daemon, so we auto-enable it if we find an /etc/exports
-# file. This does not mean that there are NFSv4 or other mounts active (or
-# even that nfs-kernel-server is installed), but it matches what the "start"
-# condition in nfs-kernel-server's init script does, which has a value in
-# itself.
-if [ -f /etc/exports ] && grep -q '^[[:space:]]*[^#]*/' /etc/exports; then
- AUTO_NEED_IDMAPD=yes
-fi
-
-case "$NEED_STATD" in
- yes|no)
- ;;
- *)
- NEED_STATD=yes
- ;;
-esac
-
-case "$NEED_IDMAPD" in
- yes|no)
- ;;
- *)
- NEED_IDMAPD=$AUTO_NEED_IDMAPD
- ;;
-esac
-
-case "$NEED_GSSD" in
- yes|no)
- ;;
- *)
- NEED_GSSD=$AUTO_NEED_GSSD
- ;;
-esac
-
-do_modprobe() {
- if [ -x /sbin/modprobe -a -f /proc/modules ]; then
- modprobe -q "$1" || true
- fi
-}
-
-do_mount() {
- if ! grep -E "$1\$" /proc/filesystems &> /dev/null ; then
- return 1
- fi
-
- if grep -vw "$1" /proc/mounts &> /dev/null ; then
- if ! mountpoint -q "$2" ; then
- mount -t "$1" "$1" "$2" -o "$3"
- return
- fi
- fi
- return 0
-}
-
-do_umount() {
- if mountpoint -q "$1" ; then
- umount "$1"
- fi
- return 0
-}
-
-get_pid() {
- pidof -o %PPID "$1"
-}
-
-case "$1" in
- start)
- ck_daemon rpcbind && { echo -n "Start rpcbind first." >&2; stat_die; }
- rc=0
- if [ "$NEED_STATD" = yes ]; then
- stat_busy "Starting $STATD_DAEMON_NAME daemon"
- PID=$(get_pid $STATD)
- if [ -z "$PID" ]; then
- [ -f /var/run/$STATD_DAEMON_NAME.pid ] && rm -f /var/run/$STATD_DAEMON_NAME.pid
- # RUN
- $STATD $STATD_OPTS
- #
- rc=$(($rc+$?))
- if [ $rc -gt 0 ]; then
- stat_fail
- exit $rc
- else
- echo $(get_pid $STATD) > /var/run/$STATD_DAEMON_NAME.pid
- stat_done
- fi
- else
- stat_fail
- exit 1
- fi
- # Run sm-notify
- /usr/sbin/sm-notify $SMNOTIFY_OPTS
- fi
-
- if [ "$NEED_IDMAPD" = yes ] || [ "$NEED_GSSD" = yes ]; then
- stat_busy "Mounting pipefs filesystem"
- do_modprobe sunrpc
- do_modprobe nfs
- do_modprobe nfsd
- do_mount rpc_pipefs "$PIPEFS_MOUNTPOINT" "$PIPEFS_MOUNTOPTS"
- rc=$(($rc+$?))
- if [ $rc -gt 0 ]; then
- stat_fail
- exit $rc
- else
- stat_done
- fi
-
- if [ "$NEED_IDMAPD" = yes ]; then
- stat_busy "Starting $IDMAPD_DAEMON_NAME daemon"
- PID=$(get_pid $IDMAPD)
- if [ -z "$PID" ]; then
- [ -f /var/run/$IDMAPD_DAEMON_NAME.pid ] && rm -f /var/run/$IDMAPD_DAEMON_NAME.pid
- # RUN
- $IDMAPD $IDMAPD_OPTS
- #
- rc=$(($rc+$?))
- if [ $rc -gt 0 ]; then
- stat_fail
- exit $rc
- else
- echo $(get_pid $IDMAPD) > /var/run/$IDMAPD_DAEMON_NAME.pid
- stat_done
- fi
- else
- stat_fail
- exit 1
- fi
- fi
-
- if [ "$NEED_GSSD" = yes ]; then
- do_modprobe rpcsec_gss_krb5
- stat_busy "Starting $GSSD_DAEMON_NAME daemon"
- PID=$(get_pid $GSSD)
- if [ -z "$PID" ]; then
- [ -f /var/run/$GSSD_DAEMON_NAME.pid ] && rm -f /var/run/$GSSD_DAEMON_NAME.pid
- # RUN
- $GSSD $GSSD_OPTS
- #
- rc=$(($rc+$?))
- if [ $rc -gt 0 ]; then
- stat_fail
- exit $rc
- else
- echo $(get_pid $GSSD) > /var/run/$GSSD_DAEMON_NAME.pid
- stat_done
- fi
- else
- stat_fail
- exit 1
- fi
- fi
- fi
-
- add_daemon $daemon_name
- ;;
-
- stop)
- rc=0
- if [ "$NEED_IDMAPD" = yes ] || [ "$NEED_GSSD" = yes ]; then
-
- if [ "$NEED_GSSD" = yes ]; then
- stat_busy "Stopping $GSSD_DAEMON_NAME daemon"
- PID=$(get_pid $GSSD)
- # KILL
- [ ! -z "$PID" ] && kill $PID &> /dev/null
- #
- rc=$(($rc+$?))
- if [ $rc -gt 0 ]; then
- stat_fail
- exit $rc
- else
- rm -f /var/run/$GSSD_DAEMON_NAME.pid &> /dev/null
- stat_done
- fi
- fi
-
- if [ "$NEED_IDMAPD" = yes ]; then
- stat_busy "Stopping $IDMAPD_DAEMON_NAME daemon"
- PID=$(get_pid $IDMAPD)
- # KILL
- [ ! -z "$PID" ] && kill $PID &> /dev/null
- #
- rc=$(($rc+$?))
- if [ $rc -gt 0 ]; then
- stat_fail
- exit $rc
- else
- rm -f /var/run/$IDMAPD_DAEMON_NAME.pid &> /dev/null
- stat_done
- fi
- fi
- do_umount "$PIPEFS_MOUNTPOINT" 2>/dev/null || true
- fi
-
- if [ "$NEED_STATD" = yes ]; then
- stat_busy "Stopping $STATD_DAEMON_NAME daemon"
- PID=$(get_pid $STATD)
- # KILL
- [ ! -z "$PID" ] && kill $PID &> /dev/null
- #
- rc=$(($rc+$?))
- if [ $rc -gt 0 ]; then
- stat_fail
- exit $rc
- else
- rm -f /var/run/$STATD_DAEMON_NAME.pid &> /dev/null
- stat_done
- fi
- fi
-
- rm_daemon $daemon_name
- ;;
-
- status)
- stat_busy "Checking $daemon_name status";
- ck_status $daemon_name
-
- if [ "$NEED_STATD" = yes ]; then
- stat_busy "Daemon $STATD_DAEMON_NAME running"
- PID=$(get_pid $STATD)
- if [ -z "$PID" ]; then
- stat_fail
- else
- stat_done
- fi
- fi
-
- if [ "$NEED_GSSD" = yes ]; then
- stat_busy "Daemon $GSSD_DAEMON_NAME running"
- PID=$(get_pid $GSSD)
- if [ -z "$PID" ]; then
- stat_fail
- else
- stat_done
- fi
- fi
-
- if [ "$NEED_IDMAPD" = yes ]; then
- stat_busy "Daemon $IDMAPD_DAEMON_NAME running"
- PID=$(get_pid $IDMAPD)
- if [ -z "$PID" ]; then
- stat_fail
- else
- stat_done
- fi
- fi
- echo
- ;;
-
- restart)
- $0 stop
- sleep 3
- $0 start
- ;;
- *)
- echo "usage: $0 {start|stop|status|restart}"
-esac
-exit 0
-
diff --git a/core/nfs-utils/nfs-server b/core/nfs-utils/nfs-server
deleted file mode 100644
index 6aa609d8c..000000000
--- a/core/nfs-utils/nfs-server
+++ /dev/null
@@ -1,299 +0,0 @@
-#!/bin/bash
-
-daemon_name=nfs-server
-
-NFSD_COUNT=
-NFSD_OPTS=
-NEED_SVCGSSD=
-SVCGSSD_OPTS=
-MOUNTD_OPTS=
-PROCNFSD_MOUNTPOINT=
-PROCNFSD_MOUNTOPTS=
-
-# rpc.nfsd daemon & binary location
-NFSD_PROCESS_NAME=nfsd
-NFSD_DAEMON_NAME=rpc.nfsd
-NFSD="/usr/sbin/rpc.nfsd"
-
-# rpc.svcgssd daemon & binary location
-SVCGSSD_DAEMON_NAME=rpc.svcgssd
-SVCGSSD="/usr/sbin/rpc.svcgssd"
-
-# rpc.idmapd daemon & binary location
-IDMAPD_DAEMON_NAME=rpc.idmapd
-IDMAPD="/usr/sbin/rpc.idmapd"
-
-# rpc.mountd daemon & binary location
-MOUNTD_DAEMON_NAME=rpc.mountd
-MOUNTD="/usr/sbin/rpc.mountd"
-
-# exortfs binary location
-EXPORTFS="/usr/sbin/exportfs"
-
-. /etc/rc.conf
-. /etc/rc.d/functions
-. /etc/conf.d/$daemon_name.conf
-
-# Default number of nfsd servers
-[ -z "$NFSD_COUNT" ] && NFSD_COUNT=8
-
-# Default mountpoint and options for nfsd filesystem
-[ -z "$PROCNFSD_MOUNTPOINT" ] && PROCNFSD_MOUNTPOINT="/proc/fs/nfsd"
-[ -z "$PROCNFSD_MOUNTOPTS" ] && PROCNFSD_MOUNTOPTS="rw,nodev,noexec,nosuid"
-
-case "$NEED_SVCGSSD" in
- yes|no)
- ;;
- *)
- NEED_SVCGSSD=no
- ;;
-esac
-
-do_modprobe() {
- if [ -x /sbin/modprobe -a -f /proc/modules ]; then
- modprobe -q "$1" || true
- fi
-}
-
-do_mount() {
- if ! grep -E "$1\$" /proc/filesystems &> /dev/null ; then
- return 1
- fi
-
- if grep -vw "$1" /proc/mounts &> /dev/null ; then
- if ! mountpoint -q "$2" ; then
- mount -t "$1" "$1" "$2" -o "$3"
- return
- fi
- fi
- return 0
-}
-
-do_umount() {
- if mountpoint -q "$1" ; then
- umount "$1"
- fi
- return 0
-}
-
-get_pid() {
- pidof -o %PPID "$1"
-}
-
-case "$1" in
- start)
- ck_daemon nfs-common && { echo -n "Start nfs-common first." >&2; stat_die; }
- rc=0
- stat_busy "Mounting nfsd filesystem"
- do_modprobe nfsd
- do_mount nfsd "$PROCNFSD_MOUNTPOINT" "$PROCNFSD_MOUNTOPTS"
- rc=$(($rc+$?))
- if [ $rc -gt 0 ]; then
- stat_fail
- exit $rc
- else
- stat_done
- fi
-
- stat_busy "Exporting all directories"
- $EXPORTFS -r
- rc=$(($rc+$?))
- if [ $rc -gt 0 ]; then
- stat_fail
- exit $rc
- else
- stat_done
- fi
-
- stat_busy "Starting $NFSD_DAEMON_NAME daemon"
- PID=$(get_pid $NFSD_PROCESS_NAME)
- if [ -z "$PID" ]; then
- [ -f /var/run/$NFSD_DAEMON_NAME.pid ] && rm -f /var/run/$NFSD_DAEMON_NAME.pid
- # RUN
- $NFSD $NFSD_OPTS $NFSD_COUNT
- #
- rc=$(($rc+$?))
- if [ $rc -gt 0 ]; then
- stat_fail
- exit $rc
- else
- echo $(get_pid $NFSD_PROCESS_NAME) > /var/run/$NFSD_DAEMON_NAME.pid
- stat_done
- fi
- else
- stat_fail
- exit 1
- fi
-
- if [ "$NEED_SVCGSSD" = yes ]; then
- do_modprobe rpcsec_gss_krb5
- stat_busy "Starting $SVCGSSD_DAEMON_NAME daemon"
- PID=$(get_pid $SVCGSSD)
- if [ -z "$PID" ]; then
- [ -f /var/run/$SVCGSSD_DAEMON_NAME.pid ] && rm -f /var/run/$SVCGSSD_DAEMON_NAME.pid
- # RUN
- $SVCGSSD $SVCGSSD_OPTS
- #
- rc=$(($rc+$?))
- if [ $rc -gt 0 ]; then
- stat_fail
- exit $rc
- else
- echo $(get_pid $SVCGSSD) > /var/run/$SVCGSSD_DAEMON_NAME.pid
- stat_done
- fi
- else
- stat_fail
- exit 1
- fi
- fi
-
- PID=$(get_pid $IDMAPD)
- [ ! -z "$PID" ] && kill -SIGHUP $IDMAPD_DAEMON_NAME &> /dev/null
-
- stat_busy "Starting $MOUNTD_DAEMON_NAME daemon"
- PID=$(get_pid $MOUNTD)
- if [ -z "$PID" ]; then
- [ -f /var/run/$MOUNTD_DAEMON_NAME.pid ] && rm -f /var/run/$MOUNTD_DAEMON_NAME.pid
- # RUN
- $MOUNTD $MOUNTD_OPTS
- #
- rc=$(($rc+$?))
- if [ $rc -gt 0 ]; then
- stat_fail
- exit $rc
- else
- echo $(get_pid $MOUNTD) > /var/run/$MOUNTD_DAEMON_NAME.pid
- stat_done
- fi
- else
- stat_fail
- exit 1
- fi
-
- add_daemon $daemon_name
- ;;
-
- stop)
- rc=0
- stat_busy "Stopping $MOUNTD_DAEMON_NAME daemon"
- PID=$(get_pid $MOUNTD)
- # KILL
- [ ! -z "$PID" ] && kill $PID &> /dev/null
- #
- rc=$(($rc+$?))
- if [ $rc -gt 0 ]; then
- stat_fail
- exit $rc
- else
- rm -f /var/run/$MOUNTD_DAEMON_NAME.pid &> /dev/null
- stat_done
- fi
-
- if [ "$NEED_SVCGSSD" = yes ]; then
- stat_busy "Stopping $SVCGSSD_DAEMON_NAME daemon"
- PID=$(get_pid $SVCGSSD)
- # KILL
- [ ! -z "$PID" ] && kill $PID &> /dev/null
- #
- rc=$(($rc+$?))
- if [ $rc -gt 0 ]; then
- stat_fail
- exit $rc
- else
- rm -f /var/run/$SVCGSSD_DAEMON_NAME.pid &> /dev/null
- stat_done
- fi
- fi
-
- stat_busy "Stopping $NFSD_DAEMON_NAME daemon"
- PID=$(get_pid $NFSD_PROCESS_NAME)
- # KILL (SIGINT)
- [ ! -z "$PID" ] && kill -2 $PID &> /dev/null
- #
- rc=$(($rc+$?))
- if [ $rc -gt 0 ]; then
- stat_fail
- exit $rc
- else
- sleep 1
- PID=$(get_pid $NFSD_PROCESS_NAME)
- # KILL (KILL) - just to be sure
- [ ! -z "$PID" ] && kill -9 $PID &> /dev/null
- #
- rm -f /var/run/$NFSD_DAEMON_NAME.pid &> /dev/null
- stat_done
- fi
-
- stat_busy "Unexporting all directories"
- $EXPORTFS -au
- rc=$(($rc+$?))
- if [ $rc -gt 0 ]; then
- stat_fail
- exit $rc
- else
- stat_done
- fi
-
- # flush everything out of the kernels export table
- if mountpoint -q "$PROCNFSD_MOUNTPOINT" ; then
- $EXPORTFS -f
- fi
- do_umount "$PROCNFSD_MOUNTPOINT" 2>/dev/null || true
- rm_daemon $daemon_name
- ;;
-
- status)
- stat_busy "Checking $daemon_name status";
- ck_status $daemon_name
-
- stat_busy "Daemon $NFSD_DAEMON_NAME running"
- PID=$(get_pid $NFSD_PROCESS_NAME)
- if [ -z "$PID" ]; then
- stat_fail
- else
- stat_done
- fi
-
- stat_busy "Daemon $MOUNTD_DAEMON_NAME running"
- PID=$(get_pid $MOUNTD)
- if [ -z "$PID" ]; then
- stat_fail
- else
- stat_done
- fi
-
- if [ "$NEED_SVCGSSD" = yes ]; then
- stat_busy "Daemon $SVCGSSD_DAEMON_NAME running"
- PID=$(get_pid $SVCGSSD)
- if [ -z "$PID" ]; then
- stat_fail
- else
- stat_done
- fi
- fi
- echo
- ;;
-
- reload)
- rc=0
- stat_busy "Re-exporting all directories"
- $EXPORTFS -r
- rc=$(($rc+$?))
- if [ $rc -gt 0 ]; then
- stat_fail
- exit $rc
- else
- stat_done
- fi
- ;;
-
- restart)
- $0 stop
- sleep 3
- $0 start
- ;;
- *)
- echo "usage: $0 {start|stop|status|reload|restart}"
-esac
-exit 0
diff --git a/core/nfs-utils/nfsd.service b/core/nfs-utils/nfsd.service
index e5481c3d1..d63e49016 100644
--- a/core/nfs-utils/nfsd.service
+++ b/core/nfs-utils/nfsd.service
@@ -6,10 +6,10 @@ Requires=rpcbind.service
[Service]
Type=oneshot
EnvironmentFile=/etc/conf.d/nfs-server.conf
-ExecStart=/usr/sbin/rpc.nfsd $NFSD_OPTS $NFSD_COUNT
-ExecStartPost=/usr/sbin/exportfs -a
-ExecStop=/usr/sbin/rpc.nfsd 0
-ExecStopPost=/usr/sbin/exportfs -a -u
+ExecStart=/usr/bin/rpc.nfsd $NFSD_OPTS $NFSD_COUNT
+ExecStartPost=/usr/bin/exportfs -a
+ExecStop=/usr/bin/rpc.nfsd 0
+ExecStopPost=/usr/bin/exportfs -a -u
RemainAfterExit=yes
[Install]
diff --git a/core/nfs-utils/rpc-gssd.service b/core/nfs-utils/rpc-gssd.service
index da4c71307..182d9b72c 100644
--- a/core/nfs-utils/rpc-gssd.service
+++ b/core/nfs-utils/rpc-gssd.service
@@ -7,7 +7,7 @@ Before=remote-fs-pre.target
[Service]
Type=forking
EnvironmentFile=/etc/conf.d/nfs-common.conf
-ExecStart=/usr/sbin/rpc.gssd $GSSD_OPTS
+ExecStart=/usr/bin/rpc.gssd $GSSD_OPTS
[Install]
WantedBy=multi-user.target
diff --git a/core/nfs-utils/rpc-idmapd.service b/core/nfs-utils/rpc-idmapd.service
index 7785c1bd5..1167daf36 100644
--- a/core/nfs-utils/rpc-idmapd.service
+++ b/core/nfs-utils/rpc-idmapd.service
@@ -7,7 +7,7 @@ Before=remote-fs-pre.target
[Service]
Type=forking
EnvironmentFile=/etc/conf.d/nfs-common.conf
-ExecStart=/usr/sbin/rpc.idmapd $IDMAPD_OPTS
+ExecStart=/usr/bin/rpc.idmapd $IDMAPD_OPTS
[Install]
WantedBy=multi-user.target
diff --git a/core/nfs-utils/rpc-mountd.service b/core/nfs-utils/rpc-mountd.service
index edd8c851d..7528884c2 100644
--- a/core/nfs-utils/rpc-mountd.service
+++ b/core/nfs-utils/rpc-mountd.service
@@ -6,7 +6,7 @@ Requires=rpcbind.service nfsd.service
[Service]
Type=forking
EnvironmentFile=/etc/conf.d/nfs-server.conf
-ExecStart=/usr/sbin/rpc.mountd $MOUNTD_OPTS
+ExecStart=/usr/bin/rpc.mountd $MOUNTD_OPTS
[Install]
WantedBy=multi-user.target
diff --git a/core/nfs-utils/rpc-statd.service b/core/nfs-utils/rpc-statd.service
index 46e19673e..c2fd63b3d 100644
--- a/core/nfs-utils/rpc-statd.service
+++ b/core/nfs-utils/rpc-statd.service
@@ -7,7 +7,7 @@ Before=remote-fs-pre.target
[Service]
Type=forking
EnvironmentFile=/etc/conf.d/nfs-common.conf
-ExecStart=/usr/sbin/rpc.statd $STATD_OPTS
+ExecStart=/usr/bin/rpc.statd $STATD_OPTS
[Install]
WantedBy=multi-user.target
diff --git a/core/nfs-utils/rpc-svcgssd.service b/core/nfs-utils/rpc-svcgssd.service
index 8152e8338..876bad38c 100644
--- a/core/nfs-utils/rpc-svcgssd.service
+++ b/core/nfs-utils/rpc-svcgssd.service
@@ -6,7 +6,7 @@ Requires=rpcbind.service
[Service]
Type=forking
EnvironmentFile=/etc/conf.d/nfs-server.conf
-ExecStart=/usr/sbin/rpc.svcgssd $SVCGSSD_OPTS
+ExecStart=/usr/bin/rpc.svcgssd $SVCGSSD_OPTS
[Install]
WantedBy=multi-user.target
diff --git a/core/nfs-utils/start-statd.patch b/core/nfs-utils/start-statd.patch
index 5d73b6e35..6f6f1194d 100644
--- a/core/nfs-utils/start-statd.patch
+++ b/core/nfs-utils/start-statd.patch
@@ -1,22 +1,10 @@
---- utils/statd/start-statd 2007-05-11 04:40:57.000000000 +0100
-+++ utils/statd/start-statd.new 2007-09-21 17:11:34.000000000 +0100
-@@ -1,9 +1,16 @@
--#!/bin/bash -p
-+#!/bin/sh
-+
-+# Original script provided by the NFS project
-+# Modified for Arch Linux by Tom Killian
-+
- # nfsmount calls this script when mounting a filesystem with locking
- # enabled, but when statd does not seem to be running (based on
+--- nfs-utils-1.2.8/utils/statd/start-statd.old 2013-05-23 11:35:10.408221686 +0200
++++ nfs-utils-1.2.8/utils/statd/start-statd 2013-05-23 11:35:22.191356904 +0200
+@@ -4,6 +4,6 @@
# /var/run/rpc.statd.pid).
# It should run statd with whatever flags are apropriate for this
# site.
-PATH=/sbin:/usr/sbin
--exec rpc.statd --no-notify
-+
-+# source application-specific settings
-+[ -f /etc/conf.d/nfs-common.conf ] && . /etc/conf.d/nfs-common.conf
-+
-+exec /usr/sbin/rpc.statd $STATD_OPTS
++PATH=/sbin:/usr/sbin:/usr/bin
+ exec rpc.statd --no-notify
diff --git a/core/rpcbind/PKGBUILD b/core/rpcbind/PKGBUILD
index 4e68056b1..2eed8c3ff 100644
--- a/core/rpcbind/PKGBUILD
+++ b/core/rpcbind/PKGBUILD
@@ -1,9 +1,9 @@
-# $Id: PKGBUILD 185041 2013-05-10 16:21:46Z tomegun $
+# $Id: PKGBUILD 186778 2013-05-31 07:19:10Z tpowa $
# Maintainer: Tobias Powalowski <tpowa@archlinux.org>
pkgname=rpcbind
pkgver=0.2.0
-pkgrel=11
+pkgrel=12
pkgdesc="portmap replacement which supports RPC over various protocols"
arch=(i686 x86_64 'mips64el')
depends=('bash' 'glibc' 'libtirpc')
@@ -12,17 +12,19 @@ license=('custom')
replaces=('portmap')
source=(http://downloads.sourceforge.net/sourceforge/rpcbind/rpcbind-0.2.0.tar.bz2
rpcbind-sunrpc.patch
- rpcbind.service
- rpcbind)
+ rpcbind.service)
md5sums=('1a77ddb1aaea8099ab19c351eeb26316'
'c02ac36a98baac70b8a26190524b7b73'
- 'a7b23a32be2eb52d7dec52da36d4eba1'
- '78a963654f57cbb209e228884767836e')
+ 'a7b23a32be2eb52d7dec52da36d4eba1')
-build() {
+prepare() {
cd $srcdir/$pkgname-$pkgver
# patch for iana services file
patch -Np1 -i ../rpcbind-sunrpc.patch
+}
+
+build() {
+ cd $srcdir/$pkgname-$pkgver
./configure --prefix=/usr --enable-warmstarts --with-statedir=/run
make
}
@@ -37,8 +39,6 @@ package() {
make DESTDIR=$pkgdir install
# install missing man page - https://bugs.archlinux.org/task/21271
install -m644 man/rpcinfo.8 $pkgdir/usr/share/man/man8/
- # install daemon
- install -D -m755 $srcdir/rpcbind $pkgdir/etc/rc.d/rpcbind
# install systemd service file
install -D -m644 $srcdir/rpcbind.service $pkgdir/usr/lib/systemd/system/rpcbind.service
# install license
diff --git a/core/rpcbind/rpcbind b/core/rpcbind/rpcbind
deleted file mode 100755
index 87c5b50da..000000000
--- a/core/rpcbind/rpcbind
+++ /dev/null
@@ -1,39 +0,0 @@
-#!/bin/bash
-
-. /etc/rc.conf
-. /etc/rc.d/functions
-
-PID="$(pidof -o %PPID /usr/bin/rpcbind)"
-case "$1" in
- start)
- stat_busy "Starting rpcbind"
- [ -z "$PID" ] && /usr/bin/rpcbind &>/dev/null
- if [ $? -gt 0 ]; then
- stat_fail
- else
- PID=$(pidof -o %PPID /usr/bin/rpcbind)
- echo $PID > /var/run/rpcbind.pid
- add_daemon rpcbind
- stat_done
- fi
- ;;
- stop)
- stat_busy "Stopping rpcbind"
- [ ! -z "$PID" ] && kill $PID &> /dev/null
- if [ $? -gt 0 ]; then
- stat_fail
- else
- rm /var/run/rpcbind.pid
- rm_daemon rpcbind
- stat_done
- fi
- ;;
- restart)
- $0 stop
- sleep 1
- $0 start
- ;;
- *)
- echo "usage: $0 {start|stop|restart}"
-esac
-exit 0
diff --git a/extra/epiphany/PKGBUILD b/extra/epiphany/PKGBUILD
index 3d0b8fe7b..b0fa14489 100644
--- a/extra/epiphany/PKGBUILD
+++ b/extra/epiphany/PKGBUILD
@@ -1,8 +1,8 @@
-# $Id: PKGBUILD 183349 2013-04-21 22:08:53Z heftig $
+# $Id: PKGBUILD 186906 2013-05-31 18:10:20Z heftig $
# Maintainer: Jan de Groot <jgc@archlinux.org>
pkgname=epiphany
-pkgver=3.8.1
+pkgver=3.8.2
pkgrel=1
install=epiphany.install
pkgdesc="A GNOME web browser based on the WebKit rendering engine."
@@ -15,12 +15,16 @@ options=('!libtool' '!emptydirs')
groups=('gnome')
url="http://www.gnome.org/projects/epiphany/"
source=(http://ftp.gnome.org/pub/GNOME/sources/$pkgname/${pkgver:0:3}/$pkgname-$pkgver.tar.xz)
-sha256sums=('8c231bb1af8daf739524bd89aa44873f5936b8a849da49326427486ed825523f')
+sha256sums=('ae89d6902ed243304d2cbf2fa361f6dd0cb3401fdaf726e6fdd4acc09197d50a')
build() {
cd $pkgname-$pkgver
./configure --prefix=/usr --sysconfdir=/etc \
--localstatedir=/var
+
+ # https://bugzilla.gnome.org/show_bug.cgi?id=655517
+ sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
+
make
}
diff --git a/extra/gnome-nettool/PKGBUILD b/extra/gnome-nettool/PKGBUILD
index e1da9bfed..e57680e55 100644
--- a/extra/gnome-nettool/PKGBUILD
+++ b/extra/gnome-nettool/PKGBUILD
@@ -1,10 +1,10 @@
-# $Id: PKGBUILD 184172 2013-05-03 03:24:57Z heftig $
+# $Id: PKGBUILD 186905 2013-05-31 18:09:23Z heftig $
# Maintainer: Jan Alexander Steffens (heftig) <jan.steffens@gmail.com>
# Contributor: Jan de Groot <jgc@archlinux.org>
# Contributor: Kritoke <kritoke@nospam.gmail.com>
pkgname=gnome-nettool
-pkgver=3.8.0
+pkgver=3.8.1
pkgrel=1
pkgdesc="A Collection of GNOME3 Networking Tools."
arch=(i686 x86_64 mips64el)
@@ -16,14 +16,11 @@ optdepends=('nmap: Port scanning'
groups=(gnome-extra)
url="http://www.gnome.org"
install=gnome-nettool.install
-source=(http://ftp.gnome.org/pub/gnome/sources/$pkgname/${pkgver%.*}/$pkgname-$pkgver.tar.xz
- printf.patch)
-sha256sums=('3a3480dcef181684f3e37d779cfd43f9b21920412aff78501de1695faf194a28'
- '4b06c0748650996100f710a2d7c90afc8fb75bbdd1984f243f42318d0985229e')
+source=(http://ftp.gnome.org/pub/gnome/sources/$pkgname/${pkgver%.*}/$pkgname-$pkgver.tar.xz)
+sha256sums=('f0a4510d9fe5eae4c91b63ade9848992b2795108e76eff7f51dc3decf7df2cb1')
build() {
cd $pkgname-$pkgver
- patch -Np1 -i ../printf.patch
./configure --prefix=/usr --sysconfdir=/etc \
--localstatedir=/var --disable-schemas-compile
make
diff --git a/extra/gnome-nettool/printf.patch b/extra/gnome-nettool/printf.patch
deleted file mode 100644
index 89868411a..000000000
--- a/extra/gnome-nettool/printf.patch
+++ /dev/null
@@ -1,34 +0,0 @@
-diff -u -r gnome-nettool-3.8.0/src/info.c gnome-nettool-3.8.0-printf/src/info.c
---- gnome-nettool-3.8.0/src/info.c 2013-05-02 13:58:40.000000000 +0200
-+++ gnome-nettool-3.8.0-printf/src/info.c 2013-05-03 05:20:04.684921458 +0200
-@@ -232,13 +232,13 @@
- text_rx_bytes = util_legible_bytes (netload.bytes_in);
- text_tx_bytes = util_legible_bytes (netload.bytes_out);
-
-- g_sprintf (rx_pkt, "%lld", netload.packets_in);
-- g_sprintf (tx_pkt, "%lld", netload.packets_out);
-+ g_sprintf (rx_pkt, "%" G_GUINT64_FORMAT, netload.packets_in);
-+ g_sprintf (tx_pkt, "%" G_GUINT64_FORMAT, netload.packets_out);
-
-- g_sprintf (rx_error, "%lld", netload.errors_in);
-- g_sprintf (tx_error, "%lld", netload.errors_out);
-+ g_sprintf (rx_error, "%" G_GUINT64_FORMAT, netload.errors_in);
-+ g_sprintf (tx_error, "%" G_GUINT64_FORMAT, netload.errors_out);
-
-- g_sprintf (collisions, "%lld", netload.collisions);
-+ g_sprintf (collisions, "%" G_GUINT64_FORMAT, netload.collisions);
-
- gtk_label_set_text (GTK_LABEL (info->tx_bytes), text_tx_bytes);
- gtk_label_set_text (GTK_LABEL (info->tx), tx_pkt);
-diff -u -r gnome-nettool-3.8.0/src/utils.c gnome-nettool-3.8.0-printf/src/utils.c
---- gnome-nettool-3.8.0/src/utils.c 2013-05-02 13:58:40.000000000 +0200
-+++ gnome-nettool-3.8.0-printf/src/utils.c 2013-05-03 05:21:45.704202804 +0200
-@@ -272,7 +272,7 @@
- unit = "KiB";
- }
-
-- result = g_strdup_printf ("%lld.%lld %s", short_rx / 10,
-+ result = g_strdup_printf ("%" G_GUINT64_FORMAT ".%" G_GUINT64_FORMAT " %s", short_rx / 10,
- short_rx % 10, unit);
- return result;
- }
diff --git a/extra/kismet/PKGBUILD b/extra/kismet/PKGBUILD
index f1de285d1..a50a798fc 100644
--- a/extra/kismet/PKGBUILD
+++ b/extra/kismet/PKGBUILD
@@ -1,18 +1,18 @@
-# $Id: PKGBUILD 171085 2012-11-16 14:51:57Z allan $
+# $Id: PKGBUILD 186877 2013-05-31 13:31:02Z andrea $
# Maintainer:
# Contributor: Angel Velasquez <angvp@archlinux.org>
# Contributor: Jason Chu <jason@archlinux.org>
# Contributor: Juergen Hoetzel <jason@archlinux.org>
pkgname=kismet
-pkgver=2011_03_R2
+pkgver=2013_03_R1b
_realver="${pkgver//_/-}"
-pkgrel=5.1
+pkgrel=1
pkgdesc="802.11 layer2 wireless network detector, sniffer, and intrusion detection system"
arch=('i686' 'x86_64' 'mips64el')
url="http://www.kismetwireless.net/"
license=('GPL')
-depends=('libcap' 'libnl1' 'pcre' 'ncurses' 'libpcap>=1.0.0' 'bluez' 'openssl' 'libusb-compat')
+depends=('libpcap' 'pcre' 'bluez')
optdepends=('gpsd: log coordinates of detected networks'
'wireshark-cli: provide OUI files used to determine device manufacturer'
'wireshark-cli: mergecap, to merge multiple capture files'
@@ -24,8 +24,8 @@ backup=('etc/kismet.conf' 'etc/kismet_drone.conf')
install=kismet.install
changelog=kismet.changelog
source=("http://www.kismetwireless.net/code/${pkgname}-${_realver}.tar.gz"{,.asc})
-md5sums=('8bf077e8111e6dc8c12cadefdf40aadd'
- '500deff918ede6d0bc392a0419322833')
+md5sums=('6cdcd78baf2e15edbe8a9de3c5493f02'
+ 'SKIP')
build() {
cd "${srcdir}/${pkgname}-${_realver}"
diff --git a/extra/liblo/PKGBUILD b/extra/liblo/PKGBUILD
index 5bc4b86c6..46af636cb 100644
--- a/extra/liblo/PKGBUILD
+++ b/extra/liblo/PKGBUILD
@@ -1,25 +1,29 @@
-# $Id: PKGBUILD 150414 2012-02-17 12:41:31Z allan $
+# $Id: PKGBUILD 186897 2013-05-31 15:30:05Z schiv $
+# Maintainer: Ray Rashif <schiv@archlinux.org>
# Contributor: damir <damir@archlinux.org>
# Contributor: Pajaro
pkgname=liblo
-pkgver=0.26
-pkgrel=2.2
+pkgver=0.27
+pkgrel=1
pkgdesc="Lightweight OSC implementation: an implementation of the Open Sound Control protocol for POSIX systems"
arch=(i686 x86_64 'mips64el')
url="http://plugin.org.uk/liblo/"
license=('GPL')
+depends=('glibc')
options=('!libtool')
source=("http://downloads.sourceforge.net/$pkgname/$pkgname-$pkgver.tar.gz")
-md5sums=('5351de14262560e15e7f23865293b16f')
+md5sums=('e4317bab5b16003df350adfe2c181364')
build() {
- cd $srcdir/$pkgname-$pkgver
+ cd "$srcdir/$pkgname-$pkgver"
+
./configure --prefix=/usr
make
}
package() {
- cd $srcdir/$pkgname-$pkgver
- make DESTDIR=$pkgdir install || return 1
+ cd "$srcdir/$pkgname-$pkgver"
+
+ make DESTDIR="$pkgdir" install
}
diff --git a/extra/libxinerama/PKGBUILD b/extra/libxinerama/PKGBUILD
index 90e9f0e21..c5468dacf 100644
--- a/extra/libxinerama/PKGBUILD
+++ b/extra/libxinerama/PKGBUILD
@@ -1,10 +1,11 @@
-# $Id: PKGBUILD 152778 2012-03-09 16:15:35Z andyrtr $
+# $Id: PKGBUILD 186881 2013-05-31 14:01:07Z andyrtr $
+# Maintainer: AndyRTR <andyrtr@archlinux.org>
# Maintainer: Jan de Groot <jgc@archlinux.org>
# Contributor: Alexander Baldeck <alexander@archlinux.org>
pkgname=libxinerama
-pkgver=1.1.2
-pkgrel=1.1
+pkgver=1.1.3
+pkgrel=1
pkgdesc="X11 Xinerama extension library"
arch=('i686' 'x86_64' 'mips64el')
url="http://xorg.freedesktop.org/"
@@ -13,7 +14,7 @@ depends=('libxext' 'xineramaproto')
makedepends=('xorg-util-macros')
options=('!libtool')
source=("${url}/releases/individual/lib/libXinerama-${pkgver}.tar.bz2")
-sha1sums=('06a5b636305725ce09f6c3a4d5a15f2f188b5afd')
+sha256sums=('7a45699f1773095a3f821e491cbd5e10c887c5a5fce5d8d3fced15c2ff7698e2')
build() {
cd "${srcdir}/libXinerama-${pkgver}"
diff --git a/extra/libxp/PKGBUILD b/extra/libxp/PKGBUILD
index d199ed32c..cbb27982b 100644
--- a/extra/libxp/PKGBUILD
+++ b/extra/libxp/PKGBUILD
@@ -1,9 +1,10 @@
-# $Id: PKGBUILD 151429 2012-02-26 10:49:41Z pierre $
-#Maintainer: Jan de Groot <jgc@archlinux.org>
+# $Id: PKGBUILD 186883 2013-05-31 14:02:47Z andyrtr $
+# Maintainer: AndyRTR <andyrtr@archlinux.org>
+# Maintainer: Jan de Groot <jgc@archlinux.org>
pkgname=libxp
-pkgver=1.0.1
-pkgrel=3.1
+pkgver=1.0.2
+pkgrel=1
pkgdesc="X11 X Print Library"
arch=('i686' 'x86_64' 'mips64el')
license=('custom')
@@ -13,7 +14,7 @@ makedepends=('xorg-util-macros')
options=('!libtool')
source=("${url}/releases/individual/lib/libXp-${pkgver}.tar.bz2")
license=('custom')
-sha1sums=('9c76823c7cfcb43f097963d0c930dcc4e38807a8')
+sha256sums=('952fe5b5e90abd2cf04739aef3a9b63a253cd9309ed066a82bab7ca9112fd0b5')
build() {
cd "${srcdir}/libXp-${pkgver}"
diff --git a/extra/libxres/PKGBUILD b/extra/libxres/PKGBUILD
index c252f8a3f..f7bbb1b36 100644
--- a/extra/libxres/PKGBUILD
+++ b/extra/libxres/PKGBUILD
@@ -1,9 +1,10 @@
-# $Id: PKGBUILD 152788 2012-03-09 16:26:13Z andyrtr $
+# $Id: PKGBUILD 186885 2013-05-31 14:04:26Z andyrtr $
+# Maintainer: AndyRTR <andyrtr@archlinux.org>
# Maintainer: Jan de Groot <jgc@archlinux.org>
pkgname=libxres
-pkgver=1.0.6
-pkgrel=1.1
+pkgver=1.0.7
+pkgrel=1
pkgdesc="X11 Resource extension library"
arch=('i686' 'x86_64' 'mips64el')
url="http://xorg.freedesktop.org"
@@ -12,7 +13,7 @@ depends=('libxext')
makedepends=('resourceproto' 'damageproto' 'compositeproto' 'scrnsaverproto' 'xorg-util-macros')
options=('!libtool')
source=("${url}/releases/individual/lib/libXres-${pkgver}.tar.bz2")
-sha1sums=('31a9b7d4f7a978de36c6f1c867dced29bfe7ef0f')
+sha256sums=('26899054aa87f81b17becc68e8645b240f140464cf90c42616ebb263ec5fa0e5')
build() {
cd "${srcdir}/libXres-${pkgver}"
diff --git a/extra/libxt/PKGBUILD b/extra/libxt/PKGBUILD
index 1c9bd18a0..c0b6a26ec 100644
--- a/extra/libxt/PKGBUILD
+++ b/extra/libxt/PKGBUILD
@@ -1,9 +1,10 @@
-# $Id: PKGBUILD 153609 2012-03-16 17:09:01Z andyrtr $
-#Maintainer: Jan de Groot <jgc@archlinux.org>
+# $Id: PKGBUILD 186887 2013-05-31 14:06:19Z andyrtr $
+# Maintainer: AndyRTR <andyrtr@archlinux.org>
+# Maintainer: Jan de Groot <jgc@archlinux.org>
pkgname=libxt
-pkgver=1.1.3
-pkgrel=1.1
+pkgver=1.1.4
+pkgrel=1
pkgdesc="X11 toolkit intrinsics library"
arch=('i686' 'x86_64' 'mips64el')
url="http://xorg.freedesktop.org/"
@@ -12,7 +13,7 @@ depends=('libsm' 'libx11')
makedepends=('xorg-util-macros')
options=('!libtool')
source=("${url}/releases/individual/lib/libXt-${pkgver}.tar.bz2")
-sha1sums=('2cef068bc4d7170e31b89b5c06aeaf4451a7699a')
+sha256sums=('843a97a988f5654872682a4120486d987d853a71651515472f55519ffae2dd57')
build() {
cd "${srcdir}/libXt-${pkgver}"
diff --git a/extra/libxtst/PKGBUILD b/extra/libxtst/PKGBUILD
index b690e1d00..3921bb8f1 100644
--- a/extra/libxtst/PKGBUILD
+++ b/extra/libxtst/PKGBUILD
@@ -1,18 +1,19 @@
-# $Id: PKGBUILD 152793 2012-03-09 16:30:31Z andyrtr $
+# $Id: PKGBUILD 186893 2013-05-31 14:14:53Z andyrtr $
+# Maintainer: AndyRTR <andyrtr@archlinux.org>
# Maintainer: Jan de Groot <jgc@archlinux.org>
pkgname=libxtst
-pkgver=1.2.1
-pkgrel=1.1
+pkgver=1.2.2
+pkgrel=1
pkgdesc="X11 Testing -- Resource extension library"
arch=('i686' 'x86_64' 'mips64el')
url="http://xorg.freedesktop.org/"
license=('custom')
-depends=('libxext' 'libxi' 'recordproto' 'inputproto')
+depends=('libxext' 'libxi' 'recordproto' 'inputproto' 'libxfixes')
makedepends=('xorg-util-macros')
options=('!libtool')
source=("${url}/releases/individual/lib/libXtst-${pkgver}.tar.bz2")
-sha1sums=('44e19899f9938d3db5546e51c338d6f86d88cfe2')
+sha256sums=('ef0a7ffd577e5f1a25b1663b375679529663a1880151beaa73e9186c8309f6d9')
build() {
cd "${srcdir}/libXtst-${pkgver}"
diff --git a/extra/libxxf86dga/PKGBUILD b/extra/libxxf86dga/PKGBUILD
index 5eebaf323..2af625e53 100644
--- a/extra/libxxf86dga/PKGBUILD
+++ b/extra/libxxf86dga/PKGBUILD
@@ -1,9 +1,10 @@
-# $Id: PKGBUILD 152799 2012-03-09 16:36:28Z andyrtr $
+# $Id: PKGBUILD 186889 2013-05-31 14:07:54Z andyrtr $
+# Maintainer: AndyRTR <andyrtr@archlinux.org>
# Maintainer: Jan de Groot <jgc@archlinux.org>
# Contributor: Alexander Baldeck <alexander@archlinux.org>
pkgname=libxxf86dga
-pkgver=1.1.3
+pkgver=1.1.4
pkgrel=1
pkgdesc="X11 Direct Graphics Access extension library"
arch=('i686' 'x86_64' 'mips64el')
@@ -13,7 +14,7 @@ depends=('libxext' 'xf86dgaproto')
makedepends=('xorg-util-macros')
options=('!libtool')
source=(${url}/releases/individual/lib/libXxf86dga-${pkgver}.tar.bz2)
-sha1sums=('5af5d7d2f239b31035ae5b9d3e3718c833af8b56')
+sha256sums=('8eecd4b6c1df9a3704c04733c2f4fa93ef469b55028af5510b25818e2456c77e')
build() {
cd "${srcdir}/libXxf86dga-${pkgver}"
diff --git a/extra/libxxf86vm/PKGBUILD b/extra/libxxf86vm/PKGBUILD
index 94dfbf043..19b6d3bb4 100644
--- a/extra/libxxf86vm/PKGBUILD
+++ b/extra/libxxf86vm/PKGBUILD
@@ -1,9 +1,10 @@
-# $Id: PKGBUILD 152801 2012-03-09 16:38:21Z andyrtr $
-#Maintainer: Jan de Groot <jgc@archlinux.org>
+# $Id: PKGBUILD 186891 2013-05-31 14:09:38Z andyrtr $
+# Maintainer: AndyRTR <andyrtr@archlinux.org>
+# Maintainer: Jan de Groot <jgc@archlinux.org>
pkgname=libxxf86vm
-pkgver=1.1.2
-pkgrel=1.1
+pkgver=1.1.3
+pkgrel=1
pkgdesc="X11 XFree86 video mode extension library"
arch=('x86_64' 'i686' 'mips64el')
license=('custom')
@@ -12,7 +13,7 @@ depends=('libxext' 'xf86vidmodeproto')
makedepends=('xorg-util-macros')
options=('!libtool')
source=(${url}/releases/individual/lib/libXxf86vm-${pkgver}.tar.bz2)
-sha1sums=('57bbf3bb69a49f6a6dec515813394a383f85502f')
+sha256sums=('da5e86c32ee2069b9e6d820e4c2e4242d4877cb155a2b2fbf2675a1480ec37b8')
build() {
cd "${srcdir}/libXxf86vm-${pkgver}"
diff --git a/extra/metalog/PKGBUILD b/extra/metalog/PKGBUILD
index fd87ef8c8..efdeaf7fc 100644
--- a/extra/metalog/PKGBUILD
+++ b/extra/metalog/PKGBUILD
@@ -1,36 +1,30 @@
-# $Id: PKGBUILD 167973 2012-10-04 13:24:41Z juergen $
+# $Id: PKGBUILD 186745 2013-05-31 01:44:03Z eric $
# Maintainer: juergen <juergen@archlinux.org>
# Contributor: Tom Newsom <Jeepster@gmx.co.uk>
pkgname=metalog
pkgver=3.0
-pkgrel=0
-pkgdesc="Metalog is a modern replacement for syslogd and klogd"
+pkgrel=2
+pkgdesc="A modern replacement for syslogd and klogd"
url="http://metalog.sourceforge.net"
license=('GPL')
arch=('i686' 'x86_64' 'mips64el')
depends=('pcre')
provides=('logger')
-backup=('etc/metalog.conf' 'etc/conf.d/metalog')
-source=("http://sourceforge.net/projects/metalog/files/metalog-3.tar.xz/download" 'metalog' 'metalog.confd' 'metalog.service')
+backup=('etc/metalog.conf')
+source=("http://sourceforge.net/projects/metalog/files/metalog-3.tar.xz/download" 'metalog.service')
md5sums=('6fe404e49764fa24108fd090417bacb5'
- '9e73301a7f0be291749ee30638527cb9'
- '86bccd5a02996921e29eff8a0394d11f'
- 'f005e6970c25bfdaf0596791e9135f98')
+ '42b8138e8868ecdf0616f73efca7b339')
build() {
- cd $srcdir/$pkgname-3
- ./configure --prefix=/usr --sysconfdir=/etc
+ cd $pkgname-3
+ ./configure --prefix=/usr --sysconfdir=/etc --sbin=/usr/bin
make
}
package() {
- cd $srcdir/$pkgname-3
- make DESTDIR=$pkgdir install
- install -D -m755 $srcdir/metalog $pkgdir/etc/rc.d/metalog
- install -D -m644 $srcdir/metalog.confd $pkgdir/etc/conf.d/metalog
- install -D -m644 metalog.conf $pkgdir/etc/metalog.conf
-
- install -d "${pkgdir}"/usr/lib/systemd/system
- install -Dm644 "${srcdir}"/metalog.service "${pkgdir}"/usr/lib/systemd/system/
+ cd $pkgname-3
+ make DESTDIR="$pkgdir" install
+ install -D -m644 metalog.conf "$pkgdir/etc/metalog.conf"
+ install -Dm644 "${srcdir}"/metalog.service "${pkgdir}"/usr/lib/systemd/system/metalog.service
}
diff --git a/extra/metalog/metalog b/extra/metalog/metalog
deleted file mode 100644
index 211002401..000000000
--- a/extra/metalog/metalog
+++ /dev/null
@@ -1,42 +0,0 @@
-#!/bin/bash
-
-# source application-specific settings
-[ -f /etc/conf.d/metalog ] && . /etc/conf.d/metalog
-
-. /etc/rc.conf
-. /etc/rc.d/functions
-
-if [ -f /var/run/metalog.pid ]; then
- PID=$(cat /var/run/metalog.pid) 2>/dev/null
-fi
-
-case "$1" in
- start)
- stat_busy "Starting Metalog"
- [ -z "$PID" ] && /usr/sbin/metalog -B $METALOG_OPTS 2>&1
- if [ $? -gt 0 ]; then
- stat_fail
- else
- add_daemon metalog
- stat_done
- fi
- ;;
- stop)
- stat_busy "Stopping Metalog"
- [ ! -z "$PID" ] && kill $PID &>/dev/null
- if [ $? -gt 0 ]; then
- stat_fail
- else
- rm_daemon metalog
- stat_done
- fi
- ;;
- restart)
- $0 stop
- sleep 1
- $0 start
- ;;
- *)
- echo "usage: $0 {start|stop|restart}"
-esac
-exit 0
diff --git a/extra/metalog/metalog.confd b/extra/metalog/metalog.confd
deleted file mode 100644
index 3d76ffab3..000000000
--- a/extra/metalog/metalog.confd
+++ /dev/null
@@ -1,8 +0,0 @@
-#
-# Parameters to be passed to metalog
-#
-
-# NOTE: Since v.0.7, metalog disables buffering by default.
-# Add '-a' if you want buffering.
-
-METALOG_OPTS=""
diff --git a/extra/metalog/metalog.service b/extra/metalog/metalog.service
index 5982c8804..82a81ea98 100644
--- a/extra/metalog/metalog.service
+++ b/extra/metalog/metalog.service
@@ -2,7 +2,7 @@
Description=System Logger Daemon
[Service]
-ExecStart=/usr/sbin/metalog
+ExecStart=/usr/bin/metalog
[Install]
WantedBy=multi-user.target
diff --git a/extra/mtr/PKGBUILD b/extra/mtr/PKGBUILD
index c1af1911b..dd19ab8f1 100644
--- a/extra/mtr/PKGBUILD
+++ b/extra/mtr/PKGBUILD
@@ -1,11 +1,11 @@
-# $Id: PKGBUILD 182370 2013-04-09 18:07:19Z ioni $
+# $Id: PKGBUILD 186756 2013-05-31 04:03:04Z foutrelis $
# Maintainer : Ionut Biru <ibiru@archlinux.org>
# Contributor: Douglas Soares de Andrade <douglas@archlinux.org>
pkgbase=mtr
pkgname=(mtr mtr-gtk)
pkgver=0.84
-pkgrel=1
+pkgrel=2
arch=('i686' 'x86_64' 'mips64el')
license=('GPL')
makedepends=('ncurses' 'gtk2')
@@ -16,11 +16,11 @@ md5sums=('df61096ae1b18b27f915feeb907ae48c')
build() {
cp -r $pkgbase-$pkgver $pkgbase-cli
cd mtr-cli
- ./configure --prefix=/usr --without-gtk
+ ./configure --prefix=/usr --without-gtk --sbindir=/usr/bin
make
cd "$srcdir/$pkgbase-$pkgver"
- ./configure --prefix=/usr
+ ./configure --prefix=/usr --sbindir=/usr/bin
make
}
diff --git a/extra/oxygen-gtk2/PKGBUILD b/extra/oxygen-gtk2/PKGBUILD
index 322688170..bf82523f9 100644
--- a/extra/oxygen-gtk2/PKGBUILD
+++ b/extra/oxygen-gtk2/PKGBUILD
@@ -1,9 +1,9 @@
-# $Id: PKGBUILD 183540 2013-04-22 20:14:05Z andrea $
+# $Id: PKGBUILD 186908 2013-05-31 18:38:20Z andrea $
# Maintainer: Andrea Scarpino <andrea@archlinux.org>
# Contributor: birdflesh <antkoul at gmail dot com>
pkgname=oxygen-gtk2
-pkgver=1.3.3
+pkgver=1.3.4
pkgrel=1
pkgdesc="Port of the default KDE widget theme (Oxygen) to GTK2"
arch=('i686' 'x86_64' 'mips64el')
@@ -14,7 +14,7 @@ conflicts=('oxygen-gtk')
replaces=('oxygen-gtk')
makedepends=('cmake')
source=("http://download.kde.org/stable/${pkgname}/${pkgver}/src/${pkgname}-${pkgver}.tar.bz2")
-md5sums=('37b24d69d386eca5b4382424002ed762')
+md5sums=('10a78d31de95168eae861d9c5b4be9ed')
build() {
mkdir build
diff --git a/extra/oxygen-gtk3/PKGBUILD b/extra/oxygen-gtk3/PKGBUILD
index 6fe117199..23a43e728 100644
--- a/extra/oxygen-gtk3/PKGBUILD
+++ b/extra/oxygen-gtk3/PKGBUILD
@@ -1,8 +1,8 @@
-# $Id: PKGBUILD 183542 2013-04-22 20:16:28Z andrea $
+# $Id: PKGBUILD 186910 2013-05-31 18:41:51Z andrea $
# Maintainer: Andrea Scarpino <andrea@archlinux.org>
pkgname=oxygen-gtk3
-pkgver=1.1.3
+pkgver=1.1.4
pkgrel=1
pkgdesc="Port of the default KDE widget theme (Oxygen) to GTK3"
arch=('i686' 'x86_64' 'mips64el')
@@ -11,7 +11,7 @@ license=('LGPL')
depends=('gtk3')
makedepends=('cmake')
source=("http://download.kde.org/stable/${pkgname}/${pkgver}/src/${pkgname}-${pkgver}.tar.bz2")
-md5sums=('63ae9752dd39a3310d20d973dd6ea247')
+md5sums=('6c6db0188d3780173af1994f34db8a71')
build() {
mkdir build
diff --git a/extra/sane/PKGBUILD b/extra/sane/PKGBUILD
index 47a86b2d2..494ff622e 100644
--- a/extra/sane/PKGBUILD
+++ b/extra/sane/PKGBUILD
@@ -1,4 +1,4 @@
-# $Id: PKGBUILD 185795 2013-05-19 09:05:59Z tpowa $
+# $Id: PKGBUILD 186914 2013-05-31 19:37:31Z tpowa $
# Maintainer: Tobias Powalowski <tpowa@archlinux.org>
# Contributor: Sarah Hay <sarahhay@mb.sympatico.ca>
# Contributor: Simo L. <neotuli@yahoo.com>
@@ -6,12 +6,12 @@
pkgname=sane
pkgver=1.0.23
-pkgrel=5
+pkgrel=6
pkgdesc="Scanner Access Now Easy"
url="http://www.sane-project.org/"
arch=('i686' 'x86_64' 'mips64el')
license=('GPL')
-depends=('libtiff>=4.0.0' 'libgphoto2' 'libjpeg>=8' 'libusb-compat' 'libcups' 'libieee1284' 'v4l-utils' 'avahi' 'bash' 'net-snmp')
+depends=('libtiff>=4.0.0' 'libgphoto2' 'libjpeg>=8' 'libusbx' 'libcups' 'libieee1284' 'v4l-utils' 'avahi' 'bash' 'net-snmp')
makedepends=('texlive-latexextra')
backup=(etc/sane.d/{abaton.conf,agfafocus.conf,apple.conf,artec.conf,artec_eplus48u.conf,avision.conf,bh.conf,canon.conf,canon630u.conf,canon_dr.conf,canon_pp.conf,cardscan.conf,coolscan2.conf,coolscan3.conf,coolscan.conf,dc25.conf,dc210.conf,dc240.conf,dell1600n_net.conf,dll.conf,dmc.conf,epjitsu.conf,epson.conf,epson2.conf,fujitsu.conf,genesys.conf,gphoto2.conf,gt68xx.conf,hp.conf,hp3900.conf,hp4200.conf,hp5400.conf,hpsj5s.conf,hs2p.conf,ibm.conf,kodak.conf,kodakaio.conf,leo.conf,lexmark.conf,ma1509.conf,magicolor.conf,matsushita.conf,microtek.conf,microtek2.conf,mustek.conf,mustek_pp.conf,mustek_usb.conf,nec.conf,net.conf,p5.conf,pie.conf,pixma.conf,plustek.conf,plustek_pp.conf,qcam.conf,ricoh.conf,rts8891.conf,s9036.conf,saned.conf,sceptre.conf,sharp.conf,sm3840.conf,snapscan.conf,sp15c.conf,st400.conf,stv680.conf,tamarack.conf,teco1.conf,teco2.conf,teco3.conf,test.conf,u12.conf,umax.conf,umax1220u.conf,umax_pp.conf,xerox_mfp.conf,v4l.conf} etc/xinetd.d/sane)
source=(ftp://ftp.archlinux.org/other/sane/$pkgname-backends-$pkgver.tar.gz
@@ -41,6 +41,7 @@ build() {
--enable-avahi \
--enable-pthread \
--disable-rpath \
+ --enable-libusb_1_0 \
--disable-locking
make
}
diff --git a/extra/snd/PKGBUILD b/extra/snd/PKGBUILD
index 4607e6441..894ad7771 100644
--- a/extra/snd/PKGBUILD
+++ b/extra/snd/PKGBUILD
@@ -1,10 +1,10 @@
-# $Id: PKGBUILD 185448 2013-05-14 10:13:02Z schiv $
+# $Id: PKGBUILD 186867 2013-05-31 11:57:47Z schiv $
# Maintainer: Ray Rashif <schiv@archlinux.org>
# Contributor: Juergen Hoetzel <juergen@archlinux.org>
# Contributor: see .contrib
pkgname=snd
-pkgver=13.6
+pkgver=13.7
pkgrel=1
pkgdesc="An advanced sound editor"
arch=('i686' 'x86_64')
@@ -17,7 +17,7 @@ optdepends=('wavpack' 'flac' 'speex' 'mpg123'
'timidity++' 'vorbis-tools')
install=$pkgname.install
source=("ftp://ccrma-ftp.stanford.edu/pub/Lisp/$pkgname-$pkgver.tar.gz")
-md5sums=('8da59d2bfe4aa2c6ae3aa07fcc6ee6eb')
+md5sums=('220b0155bace73d4442374a837c2f5fd')
build() {
cd "$srcdir/$pkgname-$pkgver"
diff --git a/extra/tftp-hpa/PKGBUILD b/extra/tftp-hpa/PKGBUILD
index 439ac4a14..ca202c1bc 100644
--- a/extra/tftp-hpa/PKGBUILD
+++ b/extra/tftp-hpa/PKGBUILD
@@ -1,46 +1,42 @@
-# $Id: PKGBUILD 166932 2012-09-22 13:11:31Z thomas $
+# $Id: PKGBUILD 186770 2013-05-31 05:42:13Z eric $
# Maintainer: dorphell <dorphell@archlinux.org>
# Contributor: Jose Javier <jojapa@terra.es>
pkgname=tftp-hpa
pkgver=5.2
-pkgrel=3
+pkgrel=4
pkgdesc="Official tftp server"
arch=('i686' 'x86_64' 'mips64el')
url="http://www.kernel.org/pub/software/network/tftp/tftp-hpa/"
license=('BSD')
depends=('readline>=6.0.00')
conflicts=('netkit-tftp')
-backup=('etc/conf.d/tftpd')
source=(http://www.kernel.org/pub/software/network/tftp/tftp-hpa/$pkgname-$pkgver.tar.gz
- tftpd.rc
- tftpd.conf
LICENSE
tftpd.service
tftpd.socket
tftp-hpa-0.49-fortify-strcpy-crash.patch)
md5sums=('3de3038e7c2bf6fc5d496825893ac8e7'
- '83fbb6f52205d95951a3c059e5351ca2'
- 'f41f484f94e91175e9183e872a2bff3b'
'6ce21e27b6fdc1a1adf85c81e42aeecf'
- '165b98f814f74568635a720e674d7f18'
+ 'ffeac33192eac4c526657b6789cace21'
'a23369ea33be8b4a5427ec2cfc5373dd'
'22e8629ef19bc276a102c5d4d284c1bd')
-build() {
- cd "${srcdir}/${pkgname}-${pkgver}"
+prepare() {
+ cd ${pkgname}-${pkgver}
# fix #28103
patch -Np1 -i ../tftp-hpa-0.49-fortify-strcpy-crash.patch
- ./configure --prefix=/usr --mandir=/usr/share/man --without-tcpwrappers
+}
+
+build() {
+ cd ${pkgname}-${pkgver}
+ ./configure --prefix=/usr --mandir=/usr/share/man --sbindir=/usr/bin --without-tcpwrappers
make
}
package() {
- cd "${srcdir}/${pkgname}-${pkgver}"
+ cd ${pkgname}-${pkgver}
make INSTALLROOT="${pkgdir}" install
- install -d "${pkgdir}/etc/rc.d"
install -d "${pkgdir}/srv/tftp"
- install -m755 "${srcdir}/tftpd.rc" "${pkgdir}/etc/rc.d/tftpd"
- install -D -m644 "${srcdir}/tftpd.conf" "${pkgdir}/etc/conf.d/tftpd"
install -D -m655 "${srcdir}/tftpd.service" "${pkgdir}/usr/lib/systemd/system/tftpd.service"
install -D -m655 "${srcdir}/tftpd.socket" "${pkgdir}/usr/lib/systemd/system/tftpd.socket"
install -D -m644 "${srcdir}/LICENSE" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
diff --git a/extra/tftp-hpa/tftpd.conf b/extra/tftp-hpa/tftpd.conf
deleted file mode 100644
index a4329f608..000000000
--- a/extra/tftp-hpa/tftpd.conf
+++ /dev/null
@@ -1,4 +0,0 @@
-#
-# Parameters to be passed to TFTPD
-#
-TFTPD_ARGS="-l -s /srv/tftp/"
diff --git a/extra/tftp-hpa/tftpd.rc b/extra/tftp-hpa/tftpd.rc
deleted file mode 100755
index 0222d1693..000000000
--- a/extra/tftp-hpa/tftpd.rc
+++ /dev/null
@@ -1,38 +0,0 @@
-#!/bin/bash
-
-. /etc/rc.conf
-. /etc/rc.d/functions
-
-TFTPD_ARGS=
-[ -f /etc/conf.d/tftpd ] && . /etc/conf.d/tftpd
-
-PID=$(pidof -o %PPID /usr/sbin/in.tftpd)
-case "$1" in
- start)
- stat_busy "Starting TFTPD"
- [ -z "$PID" ] && /usr/sbin/in.tftpd ${TFTPD_ARGS}
- if [ $? -gt 0 ]; then
- stat_fail
- else
- add_daemon tftpd
- stat_done
- fi
- ;;
- stop)
- stat_busy "Stopping TFTPD"
- [ ! -z "$PID" ] && kill $PID &> /dev/null
- if [ $? -gt 0 ]; then
- stat_fail
- else
- rm_daemon tftpd
- stat_done
- fi
- ;;
- restart)
- $0 stop
- $0 start
- ;;
- *)
- echo "usage: $0 {start|stop|restart}"
-esac
-exit 0
diff --git a/extra/tftp-hpa/tftpd.service b/extra/tftp-hpa/tftpd.service
index 62562343d..293e0370b 100644
--- a/extra/tftp-hpa/tftpd.service
+++ b/extra/tftp-hpa/tftpd.service
@@ -2,7 +2,7 @@
Description=hpa's original TFTP daemon
[Service]
-ExecStart=/usr/sbin/in.tftpd -s /srv/tftp/
+ExecStart=/usr/bin/in.tftpd -s /srv/tftp/
StandardInput=socket
StandardOutput=inherit
StandardError=journal
diff --git a/extra/transmission/PKGBUILD b/extra/transmission/PKGBUILD
index a95b9c42d..b01553131 100644
--- a/extra/transmission/PKGBUILD
+++ b/extra/transmission/PKGBUILD
@@ -1,20 +1,18 @@
-# $Id: PKGBUILD 179032 2013-03-01 18:56:31Z andrea $
+# $Id: PKGBUILD 186895 2013-05-31 15:05:32Z foutrelis $
# Maintainer : Ionut Biru <ibiru@archlinux.org>
pkgbase=transmission
pkgname=('transmission-cli' 'transmission-gtk' 'transmission-qt')
pkgver=2.77
-pkgrel=2
+pkgrel=3
arch=('i686' 'x86_64' 'mips64el')
url="http://www.transmissionbt.com/"
license=('MIT')
makedepends=('gtk3' 'intltool' 'curl' 'qt4' 'libevent')
source=(http://mirrors.m0k.org/transmission/files/$pkgbase-$pkgver.tar.xz
- transmissiond transmissiond.conf transmission.systemd
+ transmission.systemd
transmission.tmpfiles)
md5sums=('60c0e77a1852656215f7102a437b2a3d'
- '7d6186ee2a852ae3d44980f05063e194'
- 'db72b02fee139e8ab416324e6c044d76'
'5c289c8901221a94be74665368ab5c2c'
'23f2320361ad54373c3a4551ef634fe8')
@@ -30,7 +28,6 @@ build() {
package_transmission-cli() {
pkgdesc="Fast, easy, and free BitTorrent client (CLI tools, daemon and web client)"
depends=('curl' 'libevent')
- backup=('etc/conf.d/transmissiond')
install=transmission-cli.install
cd $pkgbase-$pkgver
@@ -40,8 +37,6 @@ package_transmission-cli() {
make -C "$dir" DESTDIR="$pkgdir" install
done
- install -D -m755 "$srcdir/transmissiond" "$pkgdir/etc/rc.d/transmissiond"
- install -D -m644 "$srcdir/transmissiond.conf" "$pkgdir/etc/conf.d/transmissiond"
install -D -m644 "$srcdir/transmission.tmpfiles" "$pkgdir/usr/lib/tmpfiles.d/transmission.conf"
install -D -m644 "$srcdir/transmission.systemd" "$pkgdir/usr/lib/systemd/system/transmission.service"
install -D -m644 COPYING "$pkgdir/usr/share/licenses/transmission-cli/COPYING"
diff --git a/extra/transmission/transmissiond b/extra/transmission/transmissiond
deleted file mode 100644
index ea3d770f9..000000000
--- a/extra/transmission/transmissiond
+++ /dev/null
@@ -1,46 +0,0 @@
-#!/bin/bash
-
-. /etc/rc.conf
-. /etc/rc.d/functions
-. /etc/conf.d/transmissiond
-
-PID=`pidof -o %PPID /usr/bin/transmission-daemon`
-case "$1" in
- start)
- stat_busy "Starting Transmission Daemon"
- [ -z "$PID" ] && su -l -s /bin/sh -c "/usr/bin/transmission-daemon $TRANS_ARGS" "${TRANS_USER:-transmission}"
- if [ $? -gt 0 ]; then
- stat_fail
- else
- add_daemon transmissiond
- stat_done
- fi
- ;;
- stop)
- stat_busy "Stopping Transmission Daemon"
- [ ! -z "$PID" ] && kill $PID &> /dev/null
- if [ $? -gt 0 ]; then
- stat_fail
- else
- rm_daemon transmissiond
- stat_done
- fi
- ;;
- restart)
- $0 stop
- while [ ! -z "$PID" -a -d "/proc/$PID" ]; do sleep 1; done
- $0 start
- ;;
- reload)
- stat_busy "Reloading config"
- [ ! -z "$PID" ] && kill -HUP $PID &> /dev/null
- if [ $? -gt 0 ]; then
- stat_fail
- else
- stat_done
- fi
- ;;
- *)
- echo "usage: $0 {start|stop|restart|reload}"
-esac
-exit 0
diff --git a/extra/transmission/transmissiond.conf b/extra/transmission/transmissiond.conf
deleted file mode 100644
index 45a9fd51d..000000000
--- a/extra/transmission/transmissiond.conf
+++ /dev/null
@@ -1,4 +0,0 @@
-# example configuration file
-
-# TRANS_USER="transmission"
-# TRANS_ARGS=""
diff --git a/libre/cgminer-libre/PKGBUILD b/libre/cgminer-libre/PKGBUILD
index 575ea2d55..2db7dbbc5 100644
--- a/libre/cgminer-libre/PKGBUILD
+++ b/libre/cgminer-libre/PKGBUILD
@@ -1,4 +1,4 @@
-# $Id: PKGBUILD 90344 2013-05-11 16:51:20Z fyan $
+# $Id: PKGBUILD 92066 2013-05-31 05:55:37Z fyan $
# Maintainer: Felix Yan <felixonmars@gmail.com>
# Contributor: monson <holymonson@gmail.com>
# Contributor: Thomas Dziedzic < gostrc at gmail >
@@ -7,7 +7,7 @@
pkgname=cgminer-libre
_pkgflag=libre
-pkgver=3.1.1
+pkgver=3.2.0
pkgrel=1
pkgdesc="Multi-threaded multi-pool GPU, FPGA and ASIC miner for bitcoin and derivative coins, without nonfree OpenCL recommendation"
url='http://forum.bitcoin.org/index.php?topic=28402.0'
@@ -18,7 +18,7 @@ makedepends=('opencl-headers')
provides=(${pkgname%-$_pkgflag}=$pkgver)
conflicts=${pkgname%-$_pkgflag}
replaces=${pkgname%-$_pkgflag}
-source=("https://github.com/ckolivas/${pkgname%-$_pkgflag}/archive/v$pkgver.tar.gz"
+source=("http://ck.kolivas.org/apps/${pkgname%-$_pkgflag}/${pkgname%-$_pkgflag}-${pkgver}.tar.bz2"
"${pkgname%-$_pkgflag}.conf.d"
"${pkgname%-$_pkgflag}.service")
backup=("etc/conf.d/${pkgname%-$_pkgflag}" "etc/${pkgname%-$_pkgflag}.conf")
@@ -34,7 +34,7 @@ build() {
# Here you may want to use custom CFLAGS
#export CFLAGS="-O2 -march=native -mtune=native -msse2"
- ./autogen.sh
+ #./autogen.sh
./configure --prefix=/usr --enable-scrypt --disable-adl
make
@@ -51,6 +51,6 @@ package() {
install -Dm644 ${pkgname%-$_pkgflag}.conf "$pkgdir"/etc/${pkgname%-$_pkgflag}.conf
}
-sha512sums=('f95db6ab14fe35ed19c1af152c6eb979787e966afad250252053bf11abe8293dfe857a7a2abfd9e33b60a190b310193a03151eb67a9db255a2a929660278ad62'
+sha512sums=('e96b874fd53c771535098c1077200b5ab88aa628383f7af56f861c952a534283942ce34647f279bf4229bfc3a0114f81a7ae3deca4e8e7931d7551fdb75c68c0'
'99c38bc395848f9712ce172343d31f5c60f5d8ac1cfe2f48df8f3ec6c488fc275763a79c5ef36b99f32faa465b5a65284b38e8a63ef9b144075ee13971313b41'
'3317b60c6b1f14c47d8ee636113ef40a4023ab14054129de80a37947b381fd2b647a7053f4e1bb639efa225a514e862fa531908714c34040dda2d6221dde7f5f')
diff --git a/libre/iceweasel-l10n/PKGBUILD b/libre/iceweasel-l10n/PKGBUILD
index 3c3d957a4..298d740cc 100644
--- a/libre/iceweasel-l10n/PKGBUILD
+++ b/libre/iceweasel-l10n/PKGBUILD
@@ -23,7 +23,7 @@ pkgname=($(for lang in ${_langpacks[@]}
do echo $pkgbase-$lang | tr A-Z a-z
done))
pkgver=$_debver.$_debrel
-pkgrel=1
+pkgrel=2
pkgdesc="Language packs for Debian Iceweasel."
arch=('any')
diff --git a/libre/mkisolinux/PKGBUILD b/libre/mkisolinux/PKGBUILD
index 1c02bb01b..7c9ab6cc4 100644
--- a/libre/mkisolinux/PKGBUILD
+++ b/libre/mkisolinux/PKGBUILD
@@ -2,8 +2,8 @@
# Maintainer : Tobias Powalowski <tpowa@archlinux.org>
pkgname=mkisolinux
-pkgver=2013.03
-pkgrel=2
+pkgver=2013.05
+pkgrel=1
pkgdesc="Advanced, modular isolinux bootcd image creation utility (Parabola rebranded)"
arch=(any)
license=('GPL')
@@ -12,10 +12,7 @@ depends=('mkinitcpio' 'cdrkit' 'syslinux' 'pciutils')
replaces=('mkbootcd')
backup=(etc/mkisolinux.conf)
source=('boot.msg' 'mkisolinux' 'mkisolinux.conf' 'options.msg')
-md5sums=('945d5f5d74f37718c8c9d518bfd5698d'
- 'e28b82502ae44087852ea6bfac398d5c'
- '456eba83dfba319f8132c89e7ba42ce5'
- 'ae0007d6679b5a575b2a9e5ac3664baf')
+
package()
{
@@ -25,3 +22,7 @@ package()
install -D -m644 boot.msg "$pkgdir/usr/share/mkisolinux/boot.msg"
install -D -m644 options.msg "$pkgdir/usr/share/mkisolinux/options.msg"
}
+md5sums=('945d5f5d74f37718c8c9d518bfd5698d'
+ '384aac3786506ff96ec3d1147bcacfe5'
+ '3cc23d74d7e4378d1be431d68a71a173'
+ 'ae0007d6679b5a575b2a9e5ac3664baf')
diff --git a/libre/mkisolinux/mkisolinux b/libre/mkisolinux/mkisolinux
index 0cb53e81e..ce1187d2a 100755
--- a/libre/mkisolinux/mkisolinux
+++ b/libre/mkisolinux/mkisolinux
@@ -65,7 +65,6 @@ install -m755 /usr/lib/syslinux/isolinux.bin ${TEMPDIR}/${BOOTDIRNAME}/isolinux.
for i in /usr/lib/syslinux/*.c32; do
install -m644 $i ${TEMPDIR}/${BOOTDIRNAME}/$(basename $i)
done
-install -m644 /lib/modules/$(uname -r)/modules.pcimap ${TEMPDIR}/${BOOTDIRNAME}/modules.pcimap
install -m644 /usr/share/hwdata/pci.ids ${TEMPDIR}/${BOOTDIRNAME}/pci.ids
# create syslinux.cfg
echo ":: Creating syslinux.cfg ..."
diff --git a/libre/mkisolinux/mkisolinux.conf b/libre/mkisolinux/mkisolinux.conf
index 83d36219d..4af6f098c 100644
--- a/libre/mkisolinux/mkisolinux.conf
+++ b/libre/mkisolinux/mkisolinux.conf
@@ -2,7 +2,7 @@
# Rebranded for Parabola by André Silva <emulatorman@lavabit.com>
# config file of mkisolinux
-# DEFAULT kernel boot options like root=/dev/hda3 etc.
+# DEFAULT kernel boot options like root=/dev/sda3 etc.
# add your root= option, if you boot from a disk device
# and don't want to add it by hand on each boot
KERNEL_BOOT_OPTIONS=""
diff --git a/libre/mksyslinux/PKGBUILD b/libre/mksyslinux/PKGBUILD
new file mode 100644
index 000000000..16d595f12
--- /dev/null
+++ b/libre/mksyslinux/PKGBUILD
@@ -0,0 +1,26 @@
+# $Id: PKGBUILD 186874 2013-05-31 13:27:18Z tpowa $
+# Maintainer : Tobias Powalowski <tpowa@archlinux.org>
+
+pkgname=mksyslinux
+pkgver=2013.05
+pkgrel=1
+pkgdesc="Advanced, modular syslinux boot image creation utility (Parabola rebranded)"
+arch=(any)
+license=('GPL')
+url="https://parabolagnulinux.org/"
+depends=('mkinitcpio' 'syslinux' 'pciutils')
+backup=(etc/mksyslinux.conf)
+source=('boot.msg' 'mksyslinux' 'mksyslinux.conf' 'options.msg')
+
+package()
+{
+ cd "$srcdir/"
+ install -D -m755 mksyslinux "$pkgdir/usr/bin/mksyslinux"
+ install -D -m644 mksyslinux.conf "$pkgdir/etc/mksyslinux.conf"
+ install -D -m644 boot.msg "$pkgdir/usr/share/mksyslinux/boot.msg"
+ install -D -m644 options.msg "$pkgdir/usr/share/mksyslinux/options.msg"
+}
+md5sums=('287aad9693ca8061495e248c41ba43a7'
+ 'd958575945e4ce8a9002bd056e2f14be'
+ '1f1e2d80e28b087e4103282bc5c44071'
+ 'ae0007d6679b5a575b2a9e5ac3664baf')
diff --git a/libre/mksyslinux/boot.msg b/libre/mksyslinux/boot.msg
new file mode 100644
index 000000000..15476f2bd
--- /dev/null
+++ b/libre/mksyslinux/boot.msg
@@ -0,0 +1,15 @@
+
+
+------------------------------------------------------------------------------
+Parabola GNU/Linux-libre
+SYSLINUX BOOT
+created with 'mksyslinux' by Tobias Powalowski <tpowa@archlinux.org>
+rebranded for Parabola by André Silva <emulatorman@lavabit.com>
+
+Press ENTER or type 'parabola' to boot image.
+
+If you wish to change your defaults to boot into your existing system,
+type 'vmlinuz initrd=initrd.img <any_other_boot_option>'
+Use the F2 key for troubleshooting and options.
+------------------------------------------------------------------------------
+
diff --git a/libre/mksyslinux/mksyslinux b/libre/mksyslinux/mksyslinux
new file mode 100755
index 000000000..4db771f83
--- /dev/null
+++ b/libre/mksyslinux/mksyslinux
@@ -0,0 +1,143 @@
+#! /bin/sh
+# Created by Tobias Powalowski <tpowa@archlinux.org>
+# Settings
+APPNAME=$(basename "${0}")
+CONFIG="/etc/mksyslinux.conf"
+export TEMPDIR=$(mktemp /tmp/mksyslinux.XXX)
+TMPDIR=$(mktemp -d /tmp/mksyslinux-image.XXX)
+BOOTDIRNAME=boot/syslinux
+
+usage ()
+{
+ echo "${APPNAME}: usage"
+ echo "WRITING TO DEVICE:"
+ echo "- PREPARATION: Your device must have a bootable first partition in FAT16 format!"
+ echo "- ATTENTION: The MBR of your DEVICE will be overwritten! You have been warned!"
+ echo ""
+ echo "CREATING AN IMAGE FILE:"
+ echo "- For creating an image file use the -i=IMAGEFILE switch"
+ echo "- use 'dd if=<yourimage> of=<yourdevice>' to write to your device afterwards."
+ echo ""
+ echo "PARAMETERS:"
+ echo " -d=DEVICE Your DEVICE first partition from /dev/xxx tree to install"
+ echo " -i=IMAGENAME Your IMAGENAME"
+ echo " -c=CONFIG Use CONFIG file. default: /etc/mksyslinux.conf"
+ echo " -h This message."
+ exit 1
+}
+
+[ "$1" == "" ] && usage && exit 1
+
+
+while [ $# -gt 0 ]; do
+ case $1 in
+ -c=*|--c=*) CONFIG="$(echo $1 | awk -F= '{print $2;}')" ;;
+ -d=*|--d=*) DEVICE="$(echo $1 | awk -F= '{print $2;}')" ;;
+ -i=*|--i=*) IMAGENAME="$(echo $1 | awk -F= '{print $2;}')" ;;
+ -h|--h|?) usage ;;
+ *) usage ;;
+ esac
+ shift
+done
+
+if [ ! -f "${CONFIG}" ]; then
+ echo "config file '${CONFIG}' cannot be found, aborting..."
+ exit 1
+fi
+
+if [ "${IMAGENAME}" = "" ]; then
+ if [ "${DEVICE}" = "" ]; then
+ echo "ERROR: No DEVICE name specified, please use the -d option"
+ exit 1
+ fi
+fi
+
+if ! [ $UID -eq 0 ]; then
+ echo "ERROR: only works when run as root!"
+ exit 1
+fi
+
+. "${CONFIG}"
+# export for mkinitcpio
+[ -n "${APPENDBOOTMESSAGE}" ] && export APPENDBOOTMESSAGE
+[ -n "${APPENDBOOTMESSAGE_SYSLINUX}" ] && export APPENDBOOTMESSAGE_SYSLINUX
+[ -n "${APPENDOPTIONSBOOTMESSAGE}" ] && export APPENDOPTIONSBOOTMESSAGE
+
+MBRDEVICE="$(echo ${DEVICE} | sed -e 's/[0-9]//g')"
+
+export RUNPROGRAM="${APPNAME}"
+[ "${BOOTMESSAGE}" = "" ] && export BOOTMESSAGE=$(mktemp /tmp/bootmessage.XXXX)
+[ "${OPTIONSBOOTMESSAGE}" = "" ] && export OPTIONSBOOTMESSAGE=$(mktemp /tmp/optionsbootmessage.XXXX)
+export USEKERNEL=${VERSION}
+# begin script
+[ -e ${TEMPDIR} ] && rm -r ${TEMPDIR}
+mkdir -p ${TEMPDIR}/$BOOTDIRNAME
+echo ":: Mounting ${DEVICE} ..."
+if ! [ "${IMAGENAME}" = "" ]; then
+ modprobe loop
+else
+ mount ${DEVICE} ${TEMPDIR} || exit 1
+fi
+# prepare syslinux bootloader
+install -m755 /usr/lib/syslinux/isolinux.bin ${TEMPDIR}/${BOOTDIRNAME}/isolinux.bin
+for i in /usr/lib/syslinux/*.c32; do
+ install -m644 $i ${TEMPDIR}/${BOOTDIRNAME}/$(basename $i)
+done
+install -m644 /usr/share/hwdata/pci.ids ${TEMPDIR}/${BOOTDIRNAME}/pci.ids
+
+# create syslinux.cfg
+echo ":: Creating syslinux.cfg ..."
+if [ "${SYSLINUXCFG}" = "" ]; then
+ [ -e ${TEMPDIR}/${BOOTDIRNAME}/syslinux.cfg ] && rm ${TEMPDIR}/${BOOTDIRNAME}/syslinux.cfg
+ echo "prompt ${PROMPT}" >> ${TEMPDIR}/${BOOTDIRNAME}/syslinux.cfg
+ echo "timeout ${TIMEOUT}" >> ${TEMPDIR}/${BOOTDIRNAME}/syslinux.cfg
+ echo "display boot.msg" >> ${TEMPDIR}/${BOOTDIRNAME}/syslinux.cfg
+ echo "F1 boot.msg" >> ${TEMPDIR}/${BOOTDIRNAME}/syslinux.cfg
+ echo "F2 options.msg" >> ${TEMPDIR}/${BOOTDIRNAME}/syslinux.cfg
+ echo "default parabola" >> ${TEMPDIR}/${BOOTDIRNAME}/syslinux.cfg
+ echo "label parabola" >> ${TEMPDIR}/${BOOTDIRNAME}/syslinux.cfg
+ echo "kernel /boot/vmlinuz" >> ${TEMPDIR}/${BOOTDIRNAME}/syslinux.cfg
+ echo "append initrd=/boot/initrd.img ${KERNEL_BOOT_OPTIONS}" >> ${TEMPDIR}/${BOOTDIRNAME}/syslinux.cfg
+else
+ sed "s|@@PROMPT@@|${PROMPT}|g;s|@@TIMEOUT@@|${TIMEOUT}|g;s|@@KERNEL_BOOT_OPTIONS@@|${KERNEL_BOOT_OPTIONS}|g" \
+ ${SYSLINUXCFG} > ${TEMPDIR}/${BOOTDIRNAME}/syslinux.cfg
+fi
+[ ! -s ${TEMPDIR}/syslinux.cfg ] && echo "No syslinux.cfg found" && exit 1
+echo ":: Calling mkinitcpio CONFIG=${MKINITCPIO_CONFIG} KERNEL=${VERSION} ..."
+# generate initramdisk
+echo ":: Creating initramdisk ..."
+ mkinitcpio -c ${MKINITCPIO_CONFIG} -k ${VERSION} -g ${TEMPDIR}/boot/initrd.img
+echo ":: Using ${KERNEL} as image kernel ..."
+ install -m644 ${KERNEL} ${TEMPDIR}/boot/vmlinuz
+ install -m644 ${BOOTMESSAGE} ${TEMPDIR}/${BOOTDIRNAME}/boot.msg
+ install -m644 ${OPTIONSBOOTMESSAGE} ${TEMPDIR}/${BOOTDIRNAME}/options.msg
+ [ ! -s ${TEMPDIR}/${BOOTDIRNAME}/boot.msg ] && echo 'ERROR:no boot.msg found, aborting!' && exit 1
+ [ ! -s ${TEMPDIR}/${BOOTDIRNAME}/options.msg ] && echo 'ERROR:no options.msg found, aborting!' && exit 1
+if ! [ "${IMAGENAME}" = "" ]; then
+ # ext2 overhead's upper bound is 6%
+ # empirically tested up to 1GB
+ rootsize=$(du -bs ${TEMPDIR}|cut -f1)
+ IMGSZ=$(( (${rootsize}*106)/100/512 + 1)) # image size in sectors
+ # create the filesystem image file
+ dd if=/dev/zero of="${IMAGENAME}" bs=512 count="${IMGSZ}"
+ # create a filesystem on the image
+ mkfs.vfat "${IMAGENAME}"
+ mount -o loop ${IMAGENAME} ${TMPDIR} || exit 1
+ cp -r "${TEMPDIR}"/* "$TMPDIR"
+ umount ${TMPDIR}
+else
+ echo ":: Unmounting ${DEVICE} ..."
+ umount ${TEMPDIR} || exit 1
+fi
+if ! [ "${IMAGENAME}" = "" ]; then
+ echo ":: Installing SYSLINUX on ${IMAGENAME} ..."
+ syslinux ${IMAGENAME} && echo "Installation completed."
+else
+ echo ":: Installing MBR on ${MBRDEVICE} ..."
+ cat ${MBR} > ${MBRDEVICE}
+ echo ":: Installing SYSLINUX on ${DEVICE} ..."
+ syslinux -o offset ${DEVICE} && echo "Installation completed."
+fi
+# clean /tmp
+rm -r ${TEMPDIR}
+! [ ${IMAGENAME} = "" ] && rm -r ${TMPDIR}
diff --git a/libre/mksyslinux/mksyslinux.conf b/libre/mksyslinux/mksyslinux.conf
new file mode 100644
index 000000000..ab2d4978a
--- /dev/null
+++ b/libre/mksyslinux/mksyslinux.conf
@@ -0,0 +1,34 @@
+# Created by Tobias Powalowski <tpowa@archlinux.org>
+# Rebranded for Parabola by André Silva <emulatorman@lavabit.com>
+# config file of mksyslinux
+
+# DEFAULT kernel boot options like root=/dev/sda3 etc.
+# add your root= option, if you boot from a disk device
+# and don't want to add it by hand on each boot
+KERNEL_BOOT_OPTIONS=""
+
+# mkinitcpio config file, defaulted to stock config file
+MKINITCPIO_CONFIG="/etc/mkinitcpio.conf"
+
+# kernel version, defaulted to build for runtime kernel
+VERSION="$(uname -r)"
+
+# kernel image, defaulted to stock libre kernel
+KERNEL="/boot/vmlinuz-linux-libre"
+
+# boot message files
+BOOTMESSAGE="/usr/share/mksyslinux/boot.msg"
+OPTIONSBOOTMESSAGE="/usr/share/mksyslinux/options.msg"
+
+syslinux.cfg file to use
+SYSLINUXCFG=""
+
+# Prompt on boot, 1=yes 0=no
+PROMPT="1"
+
+# Timeout, 30 seconds to fix usb keyboard issues
+# 0 means wait for prompt
+TIMEOUT="300"
+
+# default MBR
+MBR="/usr/lib/syslinux/mbr.bin"
diff --git a/libre/mksyslinux/options.msg b/libre/mksyslinux/options.msg
new file mode 100644
index 000000000..16c6b2eda
--- /dev/null
+++ b/libre/mksyslinux/options.msg
@@ -0,0 +1,6 @@
+------------------------------------------------------------------------------
+Parabola GNU/Linux-libre options and troubleshooting:
+
+- If your system hangs during the boot process, any combinations of the
+ boot options noapic acpi=off pci=routeirq nosmp nomsi may be useful.
+------------------------------------------------------------------------------
diff --git a/pcr/cluster-glue/PKGBUILD b/pcr/cluster-glue/PKGBUILD
index f23f88ef3..684efe7c2 100644
--- a/pcr/cluster-glue/PKGBUILD
+++ b/pcr/cluster-glue/PKGBUILD
@@ -1,24 +1,23 @@
-# Maintainer (Parabola): Márcio Silva <coadde@lavabit.com>
+# Maintainer: Márcio Silva <coadde@lavabit.com>
pkgname=cluster-glue
_pkgname1=${pkgname::7}
_pkgname2=${pkgname:8}
_pkgname=${_pkgname1^}_${_pkgname2^}
-_grpname=linux-ha
pkgver=1.0.11
-pkgrel=9
-pkgdesc='Set of libraries, tools and utilities suitable for the Heartbeat/Pacemaker cluster stack'
+pkgrel=11
+pkgdesc='Set of libraries, tools and utilities suitable for the Heartbeat/Pacemaker cluster stack (Linux-HA)'
arch=(
i686
x86_64
mips64el
)
-url=http://$_grpname.org/wiki/$_pkgname
+group=linux-ha
+url=http://$group.org/wiki/$_pkgname
license=(
GPL2
LGPL2.1
)
-group=$_grpname
depends=(
curl
dbus-glib
@@ -31,14 +30,12 @@ depends=(
net-snmp
openhpi
openipmi
+ openssh
python
util-linux
- #vacm
-)
-optdepends=(
- net-tools
- openssh
+ #vacm !!Is VA-Cluster Manager abandonware? - http://vacm.sourceforge.net/ - ver 2.0.5a - 2001/10/03!!
)
+optdepends=net-tools
makedepends=(
help2man
libxslt
@@ -53,7 +50,7 @@ provides=(ha-$_pkgname2)
conflicts=ha-$_pkgname2
replaces=ha-$_pkgname2
install=$pkgname.install
-source=http://hg.$_grpname.org/$_pkgname2/archive/$_pkgname2-$pkgver.tar.bz2
+source=http://hg.$group.org/$_pkgname2/archive/$_pkgname2-$pkgver.tar.bz2
sha512sums=35ac8ac555c39f24c11e3a768cc50eba051fe617edf4cdc0429dac73f45a472f144cfe6ec5faff575606f2b04ff76a2f732556d848b61410c2683d93ba928413
prepare() {
@@ -85,19 +82,23 @@ prepare() {
s|/sbin:/usr/sbin:/usr/local/sbin:/usr/local/bin|/usr/bin|;
' configure.ac
sed -i 's|INCLUDES|AM_CPPFLAGS|;
- ' $(grep -rl INCLUDES . | grep Makefile.am)
+ ' $(grep -rl INCLUDES | grep Makefile.am)
# fixing path
sed -i 's|bin/sh|usr/bin/bash|;
- ' $(grep -rl bin/sh .)
- sed -i 's|usr/sbin|usr/bin|;
- ' $(grep -rl usr/bin .)
+ ' $(grep -rl bin/sh)
sed -i 's| /bin| /usr/bin|;
- ' $(grep -rl ' /bin' .)
+ ' $(grep -rl ' /bin')
sed -i 's| /sbin| /usr/bin|;
- ' $(grep -rl ' /sbin' .)
- sed -i 's|/var/lock|/run/lock|;
- ' $(grep -rl /var/lock .)
+ ' $(grep -rl ' /sbin')
+ sed -i 's|usr/sbin|usr/bin|;
+ ' $(grep -rl usr/sbin)
+ #sed -i 's|/lib64|/lib|;
+ # ' $(grep -rl /lib64)
+ #sed -i 's|usr/libexec|usr/lib|;
+ # ' $(grep -rl usr/libexec)
+ sed -i 's|var/lock|run/lock|;
+ ' $(grep -rl var/lock)
sed -i 's|var/run|run|;
' $(grep -rl var/run)
@@ -106,40 +107,92 @@ prepare() {
s|open source / ||;
s|Open Source|Free Software|;
s|open source|free software|;
+ s|Free Software Development Lab|Open Source Development Lab|;
' $(grep -ril 'open source')
sed -i 's|OpenSource / ||;
s|opensource / ||;
s|OpenSource|FreeSoftware|;
s|opensource|freesoftware|;
+ s|freesoftware.org|opensource.org|;
+ s|http://www.opensource.org/|http://www.gnu.org/philosophy/free-sw.html|;
+ s|http://www.gnu.org/philosophy/free-sw.htmllicenses/osl-|http://opensource.org/licenses/osl-|;
+ s|http://www.gnu.org/philosophy/free-sw.htmlosd|http://opensource.org/osd|;
' $(grep -ril opensource)
# remove Linux term
- sed -i '/, Linux/ s|Linux|GNU/Linux|;
- /And Linux/ s|Linux|GNU/Linux|;
- /and Linux/ s|Linux|GNU/Linux|;
- /For Linux/ s|Linux|GNU/Linux|;
- /for Linux/ s|Linux|GNU/Linux|;
- /Like Linux/ s|Linux|GNU/Linux|;
- /like Linux/ s|Linux|GNU/Linux|;
- /Linux,/ s|Linux|GNU/Linux|;
- /Linux and/ s|Linux|GNU/Linux|;
- /Linux distribution/ s|Linux|GNU/Linux|;
- /Linux machine/ s|Linux|GNU/Linux|;
- /Linux operating/ s|Linux|GNU/Linux|;
- /Linux OS/ s|Linux|GNU/Linux|;
- /Linux specific/ s|Linux|GNU/Linux|;
- /Linux system/ s|Linux|GNU/Linux|;
- /Under Linux/ s|Linux|GNU/Linux|;
- /under Linux/ s|Linux|GNU/Linux|;
- /On Linux/ s|Linux|GNU/Linux|;
- /on Linux/ s|Linux|GNU/Linux|;
- /(e.g. Linux)/ s|Linux|GNU/Linux|;
- /High-Availability Linux/ s|Linux|GNU/Linux|;
- /sysDescr.0 = STRING: Linux/ s|Linux|GNU/Linux|;
- /This is what the Linux/ s|Linux|GNU/Linux|;
+ sed -i 's|Linux,|GNU/Linux,|;
+ s|Linux and|GNU/Linux and|;
+ s|Linux distro|GNU/Linux distro|;
+ s|Linux distribution|GNU/Linux distribution|;
+ s|Linux machine|GNU/Linux machine|;
+ s|Linux Only|GNU/Linux Only|;
+ s|Linux only|GNU/Linux only|;
+ s|Linux operating|GNU/Linux operating|;
+ s|Linux OS|GNU/Linux OS|;
+ s|Linux platform|GNU/Linux platform|;
+ s|Linux software|GNU/Linux software|;
+ s|Linux specific|GNU/Linux specific|;
+ s|Linux system|GNU/Linux system|;
+ s|Linux will|GNU/Linux will|;
+ s|# Linux$|# GNU/Linux|;
+ s|# Linux.$|# GNU/Linux.|;
+ s|* Linux$|* GNU/Linux|;
+ s|* Linux.$|* GNU/Linux.|;
+ s|// Linux$|// GNU/Linux|;
+ s|// Linux.$|// GNU/Linux.|;
+ s|, Linux|, GNU/Linux|;
+ s|As Linux|As GNU/Linux|;
+ s|as Linux|as GNU/Linux|;
+ s|And Linux|And GNU/Linux|;
+ s|and Linux|and GNU/Linux|;
+ s|Be Linux|Be GNU/Linux|;
+ s|be Linux|be GNU/Linux|;
+ s|Because Linux|Because GNU/Linux|;
+ s|because Linux|because GNU/Linux|;
+ s|e.g. Linux|e.g. GNU/Linux|;
+ s|For Linux|For GNU/Linux|;
+ s|for Linux|for GNU/Linux|;
+ s|In Linux|In GNU/Linux|;
+ s|in Linux|in GNU/Linux|;
+ s|Like Linux|Like GNU/Linux|;
+ s|like Linux|like GNU/Linux|;
+ s|non-Linux|non GNU/Linux|;
+ s|Of Linux|Of GNU/Linux|;
+ s|of Linux|of GNU/Linux|;
+ s|On Linux|On GNU/Linux|;
+ s|on Linux|on GNU/Linux|;
+ s|OS type: Linux|OS type: GNU/Linux|;
+ s|Other Linux|Other GNU/Linux|;
+ s|other Linux|other GNU/Linux|;
+ s|The Linux|The GNU/Linux|;
+ s|the Linux|the GNU/Linux|;
+ s|Typically Linux|Typically GNU/Linux|;
+ s|typically Linux|typically GNU/Linux|;
+ s|To Linux|To GNU/Linux|;
+ s|to Linux|to GNU/Linux|;
+ s|Under Linux|Under GNU/Linux|;
+ s|under Linux|under GNU/Linux|;
+ s|ArchGNU/Linux|ArchLinux|;
+ s|e2fsprogs, typically GNU/Linux|e2fsprogs, typically Linux|;
s|GNU/GNU|GNU|;
+ s|GNU/Linux device|Linux device|;
+ s|GNU/Linux Director Daemon|Linux Director Daemon|;
+ s|GNU/Linux is a registered trademark of Linus Torvalds|Linux is a registered trademark of Linus Torvalds|;
s|GNU/Linux kernel|Linux kernel|;
s|GNU/Linux specific kernel|Linux specific kernel|;
+ s|GNU/Linux Standard Base|Linux Standard Base|;
+ s|GNU/Linux sysfs|Linux sysfs|;
+ s|GNU/Linux Virtual Server|Linux Virtual Server|;
+ s|GNU/Linux Watchdog|Linux Watchdog|;
+ s|GNU/Linux watchdog|Linux watchdog|;
+ s|GNU/LinuxHA|LinuxHA|;
+ s|GNU/Linux-HA|Linux-HA|;
+ s|GNU/LinuxSCSI|LinuxSCSI|;
+ s|HA GNU/Linux|HA Linux|;
+ s|High-Availability GNU/Linux|High-Availability Linux|;
+ s|MkGNU/Linux|MkLinux|;
+ s|SEGNU/Linux|SELinux|;
+ s|VA GNU/Linux Cluster|VA Linux Cluster|;
' $(grep -rl Linux)
}
diff --git a/pcr/ha-heartbeat/PKGBUILD b/pcr/ha-heartbeat/PKGBUILD
deleted file mode 100644
index f913344a0..000000000
--- a/pcr/ha-heartbeat/PKGBUILD
+++ /dev/null
@@ -1,84 +0,0 @@
-# Maintainer (Parabola): Márcio Silva <coadde@lavabit.com>
-
-pkgname=ha-heartbeat
-_pkgname=${pkgname:3}
-pkgver=3.0.5
-_pkgver=${pkgver::1}_${pkgver:2:1}
-pkgrel=6
-pkgdesc='Daemon that provides cluster infrastructure services to its clients'
-arch=(
- i686
- x86_64
- mips64el
-)
-url=http://linux-ha.org/wiki/${_pkgname^}
-license=(
- GPL2
- lGPL2.1
-)
-depends=(
- gnutls
- ha-glue
-)
-optdepends=(
- lynx
- net-tools
- openssh
- swig
- valgrind
- w3m
-)
-makedepends=(
- docbook-xsl
- libxslt
- lynx
- net-tools
- openssh
- swig
- valgrind
- w3m
-)
-options=!libtool
-source=(
- http://hg.linux-ha.org/$_pkgname-STABLE_$_pkgver/archive/STABLE-$pkgver.tar.bz2
- $pkgname.service
-)
-sha512sums=(
- e38083b87c56a72eb8925ac42adeabb92618608e92218a63960ec0d0bca264f92a8e9c3ebfb0589cc4538da1a82b268b5cc9ee5a51ed33057c969e694e16b27d
- d14013b4ee133ed07e17fa6e09cae1f9f7bdbabaadfda9b9bb8ed25d4d5ff2f3d419f344195c6d5211da33293d5fe5ad64dbc8be6e1a02f7fa21563f54907a20
-)
-
-prepare() {
- cd $srcdir/${_pkgname^}-3-0-STABLE-$pkgver
- mv configure.{in,ac}
- sed -i 's|AM_CONFIG_HEADER|AC_CONFIG_HEADERS|;
- s|AM_INIT_AUTOMAKE(heartbeat, $HAPKGVERSION)|AM_INIT_AUTOMAKE|;
- ' configure.ac
- sed -i "s|AC_INIT(GNUmakefile)|AC_INIT(heartbeat, $pkgver)|;
- " configure.ac
- sed -i 's|INCLUDES|AM_CPPFLAGS|;
- ' {contrib/{drbd-outdate-peer,ipfail,mlock},cts,heartbeat,lib/{apphb,hbclient,plugins/{HB{auth,comm,compress},quorum{,d},tiebreaker}},membership/{ccm,quorumd},replace,telecom/apphbd,tools}/Makefile.am
-}
-
-build() {
- cd $srcdir/${_pkgname^}-3-0-STABLE-$pkgver
- setarch $CARCH ./bootstrap
- setarch $CARCH ./configure --prefix=/usr\
- --disable-fatal-warnings\
- --enable-static=no\
- --enable-valgrind\
- --libdir=/usr/lib\
- --localstatedir=/var\
- --sysconfdir=/etc
- setarch $CARCH make
-}
-
-package() {
- cd $srcdir/${_pkgname^}-3-0-STABLE-$pkgver
- setarch $CARCH make DESTDIR=$pkgdir install
-
- install -d $pkgdir/usr/lib/systemd/system
- install -Dm644 $srcdir/$pkgname.service $pkgdir/usr/lib/systemd/system
-}
-
-# vim:set ts=2 sw=2 et:
diff --git a/pcr/ha-heartbeat/ha-heartbeat.service b/pcr/ha-heartbeat/ha-heartbeat.service
deleted file mode 100644
index aacde3dbb..000000000
--- a/pcr/ha-heartbeat/ha-heartbeat.service
+++ /dev/null
@@ -1,10 +0,0 @@
-[Unit]
-Description=Startup script high-availability services.
-Requires=network.target remote-fs.target timers.target
-
-[Service]
-Type=forking
-ExecStart=/usr/lib/heartbeat/heartbeat
-
-[Install]
-WantedBy=multi-user.target
diff --git a/pcr/ha-pacemaker/PKGBUILD b/pcr/ha-pacemaker/PKGBUILD
deleted file mode 100644
index 2cd0be84c..000000000
--- a/pcr/ha-pacemaker/PKGBUILD
+++ /dev/null
@@ -1,83 +0,0 @@
-# Maintainer (Parabola): Márcio Silva <coadde@lavabit.com>
-
-pkgname=ha-pacemaker
-_pkgname=${pkgname:3}
-pkgver=1.1.9
-pkgrel=3
-pkgdesc='Cluster resource manager'
-arch=(
- i686
- x86_64
- mips64el
-)
-url=http://linux-ha.org/wiki/${_pkgname^}
-license=GPL2
-depends=(
- corosync
- ha-heartbeat
- ha-resourceagent
- libqb
-)
-optdepens=(
- inkscape
- lynx
- openssh
- valgrind
- w3m
-)
-makedepends=(
- help2man
- inkscape
- libxslt
- lynx
- openssh
- valgrind
- w3m
-)
-options=(!libtool)
-source=https://github.com/ClusterLabs/$_pkgname/archive/${_pkgname^}-$pkgver.tar.gz
-sha512sums=97d13cf722aea9cba1ce344afc3137d9edc15a978d2a7acc44179c4859ecb18f800312caf02c9574b0fab528cd6e2c3e4876a1ffde8a08c2500c0ba816cdf071
-
-prepare() {
- cd $srcdir/$_pkgname-${_pkgname^}-$pkgver
- sed -i 's|AM_CONFIG_HEADER|AC_CONFIG_HEADERS|;
- s|AM_INIT_AUTOMAKE($PACKAGE_NAME, $PACKAGE_VERSION)|AM_INIT_AUTOMAKE|;
- ' configure.ac
- sed -i 's|INCLUDES|AM_CPPFLAGS|;
- ' {cib,crmd,cts,lib/{cib,cluster,common,fencing,lrmd,pengine,services,transition},mcp,pengine,replace,tools}/Makefile.am
-}
-
-build() {
- cd $srcdir/$_pkgname-${_pkgname^}-$pkgver
- setarch $CARCH ./autogen.sh
- setarch $CARCH ./configure --prefix=/usr\
- --enable-fatal-warnings=yes\
- --disable-static\
- --enable-systemd\
- --enable-upstart\
- --libdir=/usr/lib\
- --libexecdir=/usr/lib\
- --localstatedir=/var\
- --sysconfdir=/etc\
- --with-acl\
- --with-ais\
- --with-cibsecrets\
- --with-cman\
- --with-corosync\
- --with-cs-quorum\
- --with-esmtp\
- --with-heartbeat\
- --with-lcrso-dir=/usr/lib/lcrso\
- --with-nagios\
- --with-profiling\
- --with-snmp\
- --without-gcov
- setarch $CARCH make
-}
-
-package() {
- cd $srcdir/$_pkgname-${_pkgname^}-$pkgver
- setarch $CARCH make DESTDIR=$pkgdir install
-
- mv $pkgdir/usr/sbin/cibsecret{,-pacemaker}
-}
diff --git a/pcr/ha-resourceagent/PKGBUILD b/pcr/ha-resourceagent/PKGBUILD
deleted file mode 100644
index 15438769a..000000000
--- a/pcr/ha-resourceagent/PKGBUILD
+++ /dev/null
@@ -1,68 +0,0 @@
-# Maintainer (Parabola): Márcio Silva <coadde@lavabit.com>
-
-pkgname=ha-resourceagent
-_pkgname=${pkgname:3}
-_xname=${_pkgname::8}
-_yname=${_pkgname:8}
-_Name=${_xname^}_${_yname^}
-_name=${_xname}-${_yname}s
-pkgver=3.9.5
-pkgrel=3
-pkgdesc='Standardized interface for a cluster resource'
-arch=(
- i686
- x86_64
- mips64el
-)
-url=http://linux-ha.org/wiki/$_Name
-license=GPL
-depends=ha-glue
-optdepends=(
- net-tools
- openssh
-)
-makedepends=(
- #libxslt
- libvirt
- net-tools
- openssh
-)
-source=(
- https://github.com/ClusterLabs/$_name/archive/v$pkgver.tar.gz
- ha-ldirector.service
-)
-sha512sums=(
- 668955de7a80577a1fb599d03b0a47589a00aed3017b532931b5132b877e45778c590f26d3057ee763c35973b0f6b032e2f74ebdf0b5f45b5e402b0f13b8ff4e
- 9e257b31305657a5164eebf6893d84496ef5dc5e80058dda5cd250c847c8247e10410cca99f0a481fa461487198fa59640e09d1e81fc3199a54f3ec85c56d9a3
-)
-
-prepare() {
- cd $srcdir/$_name-$pkgver
- sed -i 's|AM_CONFIG_HEADER|AC_CONFIG_HEADERS|;
- ' configure.ac
- sed -i 's|INCLUDES|AM_CPPFLAGS|;
- ' {heartbeat,tools}/Makefile.am
-}
-
-build() {
- cd $srcdir/$_name-$pkgver
- setarch $CARCH ./autogen.sh
- setarch $CARCH ./configure --prefix=/usr\
- --enable-fatal-warnings\
- --enable-libnet\
- --libdir=/usr/lib\
- --localstatedir=/var\
- --sysconfdir=/etc\
- --with-ocf-root=/usr/lib/ocf
- setarch $CARCH make
-}
-
-package() {
- cd $srcdir/$_name-$pkgver
- setarch $CARCH make DESTDIR=$pkgdir install
-
- install -d $pkgdir/usr/lib/systemd/system
- install -Dm644 $srcdir/ha-ldirector.service $pkgdir/usr/lib/systemd/system
-}
-
-# vim:set ts=2 sw=2 et:
diff --git a/pcr/ha-resourceagent/ha-ldirector.service b/pcr/ha-resourceagent/ha-ldirector.service
deleted file mode 100644
index c5809a216..000000000
--- a/pcr/ha-resourceagent/ha-ldirector.service
+++ /dev/null
@@ -1,10 +0,0 @@
-[Unit]
-Description=Non-heartbeat systems service, that manages the Linux Virtual Server component for TCP/UDP load-balancing.
-Requires=network.target remote-fs.target
-
-[Service]
-Type=forking
-ExecStart=/usr/sbin/ldirectord
-
-[Install]
-WantedBy=multi-user.target
diff --git a/pcr/heartbeat/PKGBUILD b/pcr/heartbeat/PKGBUILD
new file mode 100644
index 000000000..cf2269d70
--- /dev/null
+++ b/pcr/heartbeat/PKGBUILD
@@ -0,0 +1,204 @@
+# Maintainer: Márcio Silva <coadde@lavabit.com>
+
+pkgname=heartbeat
+pkgver=3.0.5
+_pkgver=${pkgver::1}_${pkgver:2:1}
+pkgrel=9
+pkgdesc='Daemon that provides cluster infrastructure services to its clients (Linux-HA)'
+arch=(
+ i686
+ x86_64
+ mips64el
+)
+group=linux-ha
+url=http://$group.org/wiki/${pkgname^}
+license=(
+ GPL2
+ lGPL2.1
+)
+depends=(
+ gnutls
+ cluster-glue
+)
+optdepends=(
+ net-tools
+ openssh
+)
+makedepends=(
+ docbook-xsl
+ libxslt
+ lynx
+ net-tools
+ openssh
+ swig
+ valgrind
+ w3m
+)
+options=(!libtool)
+provides=(ha-$pkgname)
+conflicts=ha-$pkgname
+replaces=ha-$pkgname
+source=http://hg.$group.org/$pkgname-STABLE_$_pkgver/archive/STABLE-$pkgver.tar.bz2
+sha512sums=e38083b87c56a72eb8925ac42adeabb92618608e92218a63960ec0d0bca264f92a8e9c3ebfb0589cc4538da1a82b268b5cc9ee5a51ed33057c969e694e16b27d
+
+prepare() {
+ cd $srcdir/${pkgname^}-3-0-STABLE-$pkgver
+
+ mv configure.{in,ac}
+
+ sed -i 's|AM_CONFIG_HEADER|AC_CONFIG_HEADERS|;
+ s|AM_INIT_AUTOMAKE(heartbeat, $HAPKGVERSION)|AM_INIT_AUTOMAKE|;
+ ' configure.ac
+ sed -i "s|AC_INIT(GNUmakefile)|AC_INIT(heartbeat, $pkgver)|;
+ " configure.ac
+
+ sed -i 's|INCLUDES|AM_CPPFLAGS|;
+ ' $(grep -rl INCLUDES | grep Makefile.am)
+
+ # fixing path
+ sed -i 's|bin/sh|usr/bin/bash|;
+ ' $(grep -rl bin/sh)
+ sed -i 's| /bin| /usr/bin|;
+ ' $(grep -rl ' /bin')
+ sed -i 's| /sbin| /usr/bin|;
+ ' $(grep -rl ' /sbin')
+ sed -i 's|usr/sbin|usr/bin|;
+ ' $(grep -rl usr/sbin)
+ #sed -i 's|/lib64|/lib|;
+ # ' $(grep -rl /lib64)
+ #sed -i 's|usr/libexec|usr/lib|;
+ # ' $(grep -rl usr/libexec)
+ sed -i 's|var/lock|run/lock|;
+ ' $(grep -rl var/lock)
+ sed -i 's|var/run|run|;
+ ' $(grep -rl var/run)
+
+ # remove Open Source term
+ sed -i 's|Open Source / ||;
+ s|open source / ||;
+ s|Open Source|Free Software|;
+ s|open source|free software|;
+ s|Free Software Development Lab|Open Source Development Lab|;
+ ' $(grep -ril 'open source')
+ #sed -i 's|OpenSource / ||;
+ # s|opensource / ||;
+ # s|OpenSource|FreeSoftware|;
+ # s|opensource|freesoftware|;
+ # s|freesoftware.org|opensource.org|;
+ # s|http://www.opensource.org/|http://www.gnu.org/philosophy/free-sw.html|;
+ # s|http://www.gnu.org/philosophy/free-sw.htmllicenses/osl-|http://opensource.org/licenses/osl-|;
+ # s|http://www.gnu.org/philosophy/free-sw.htmlosd|http://opensource.org/osd|;
+ # ' $(grep -ril opensource)
+
+ # remove Linux term
+ sed -i 's|Linux,|GNU/Linux,|;
+ s|Linux and|GNU/Linux and|;
+ s|Linux distro|GNU/Linux distro|;
+ s|Linux distribution|GNU/Linux distribution|;
+ s|Linux machine|GNU/Linux machine|;
+ s|Linux Only|GNU/Linux Only|;
+ s|Linux only|GNU/Linux only|;
+ s|Linux operating|GNU/Linux operating|;
+ s|Linux OS|GNU/Linux OS|;
+ s|Linux platform|GNU/Linux platform|;
+ s|Linux software|GNU/Linux software|;
+ s|Linux specific|GNU/Linux specific|;
+ s|Linux system|GNU/Linux system|;
+ s|Linux will|GNU/Linux will|;
+ s|# Linux$|# GNU/Linux|;
+ s|# Linux.$|# GNU/Linux.|;
+ s|* Linux$|* GNU/Linux|;
+ s|* Linux.$|* GNU/Linux.|;
+ s|// Linux$|// GNU/Linux|;
+ s|// Linux.$|// GNU/Linux.|;
+ s|, Linux|, GNU/Linux|;
+ s|As Linux|As GNU/Linux|;
+ s|as Linux|as GNU/Linux|;
+ s|And Linux|And GNU/Linux|;
+ s|and Linux|and GNU/Linux|;
+ s|Be Linux|Be GNU/Linux|;
+ s|be Linux|be GNU/Linux|;
+ s|Because Linux|Because GNU/Linux|;
+ s|because Linux|because GNU/Linux|;
+ s|e.g. Linux|e.g. GNU/Linux|;
+ s|For Linux|For GNU/Linux|;
+ s|for Linux|for GNU/Linux|;
+ s|In Linux|In GNU/Linux|;
+ s|in Linux|in GNU/Linux|;
+ s|Like Linux|Like GNU/Linux|;
+ s|like Linux|like GNU/Linux|;
+ s|non-Linux|non GNU/Linux|;
+ s|Of Linux|Of GNU/Linux|;
+ s|of Linux|of GNU/Linux|;
+ s|On Linux|On GNU/Linux|;
+ s|on Linux|on GNU/Linux|;
+ s|OS type: Linux|OS type: GNU/Linux|;
+ s|Other Linux|Other GNU/Linux|;
+ s|other Linux|other GNU/Linux|;
+ s|The Linux|The GNU/Linux|;
+ s|the Linux|the GNU/Linux|;
+ s|Typically Linux|Typically GNU/Linux|;
+ s|typically Linux|typically GNU/Linux|;
+ s|To Linux|To GNU/Linux|;
+ s|to Linux|to GNU/Linux|;
+ s|Under Linux|Under GNU/Linux|;
+ s|under Linux|under GNU/Linux|;
+ /Linux: "mail" offers "-s"./ s|Linux|GNU/Linux|;
+ s|ArchGNU/Linux|ArchLinux|;
+ s|e2fsprogs, typically GNU/Linux|e2fsprogs, typically Linux|;
+ s|GNU/GNU|GNU|;
+ s|GNU/Linux device|Linux device|;
+ s|GNU/Linux Director Daemon|Linux Director Daemon|;
+ s|GNU/Linux is a registered trademark of Linus Torvalds|Linux is a registered trademark of Linus Torvalds|;
+ s|GNU/Linux kernel|Linux kernel|;
+ s|GNU/Linux specific kernel|Linux specific kernel|;
+ s|GNU/Linux Standard Base|Linux Standard Base|;
+ s|GNU/Linux sysfs|Linux sysfs|;
+ s|GNU/Linux Virtual Server|Linux Virtual Server|;
+ s|GNU/Linux Watchdog|Linux Watchdog|;
+ s|GNU/Linux watchdog|Linux watchdog|;
+ s|GNU/LinuxHA|LinuxHA|;
+ s|GNU/Linux-HA|Linux-HA|;
+ s|GNU/LinuxSCSI|LinuxSCSI|;
+ s|HA GNU/Linux|HA Linux|;
+ s|High-Availability GNU/Linux|High-Availability Linux|;
+ s|MkGNU/Linux|MkLinux|;
+ s|SEGNU/Linux|SELinux|;
+ s|VA GNU/Linux Cluster|VA Linux Cluster|;
+ s|ConfigureLinux|ConfigureGNULinux|;
+ ' $(grep -rl Linux)
+}
+
+build() {
+ cd $srcdir/${pkgname^}-3-0-STABLE-$pkgver
+ setarch $CARCH ./bootstrap
+ setarch $CARCH ./configure --prefix=/usr\
+ --disable-fatal-warnings\
+ --disable-static\
+ --enable-valgrind\
+ --libdir=/usr/lib\
+ --localstatedir=/var\
+ --sysconfdir=/etc
+ setarch $CARCH make
+}
+
+package() {
+ cd $srcdir/${pkgname^}-3-0-STABLE-$pkgver
+ setarch $CARCH make DESTDIR=$pkgdir install
+
+ rm $pkgdir/etc/rc.d/$pkgname && rmdir $pkgdir/etc/rc.d
+
+ install -d $pkgdir/usr/lib/systemd/system
+ echo '[Unit]' > $pkgdir/usr/lib/systemd/system/$pkgname.service
+ echo 'Description=Startup script high-availability services' >> $pkgdir/usr/lib/systemd/system/$pkgname.service
+ echo 'Requires=network.target remote-fs.target timers.target' >> $pkgdir/usr/lib/systemd/system/$pkgname.service
+ echo '' >> $pkgdir/usr/lib/systemd/system/$pkgname.service
+ echo '[Service]' >> $pkgdir/usr/lib/systemd/system/$pkgname.service
+ echo 'Type=forking' >> $pkgdir/usr/lib/systemd/system/$pkgname.service
+ echo 'ExecStart=/usr/lib/heartbeat/heartbeat' >> $pkgdir/usr/lib/systemd/system/$pkgname.service
+ echo '' >> $pkgdir/usr/lib/systemd/system/$pkgname.service
+ echo '[Install]' >> $pkgdir/usr/lib/systemd/system/$pkgname.service
+ echo 'WantedBy=multi-user.target' >> $pkgdir/usr/lib/systemd/system/$pkgname.service
+}
+
+# vim:set ts=2 sw=2 et:
diff --git a/pcr/openhpi/PKGBUILD b/pcr/openhpi/PKGBUILD
index 7da1cc055..bffcc74ba 100644
--- a/pcr/openhpi/PKGBUILD
+++ b/pcr/openhpi/PKGBUILD
@@ -1,8 +1,8 @@
-# Maintainer (Parabola): Márcio Silva <coadde@lavabit.com>
+# Maintainer: Márcio Silva <coadde@lavabit.com>
pkgname=openhpi
pkgver=3.2.0
-pkgrel=3
+pkgrel=4
pkgdesc='Abstracted interface for managing computer hardware, typically chassis and rack based servers'
arch=(
i686
@@ -22,15 +22,26 @@ sha512sums=5a54ccc2279b3a608e2842dd3b4f01d7d483182ecd33d1d33186247cea15b62f1e0ae
prepare() {
cd $srcdir/$pkgname-$pkgver
+ _automake=$(automake --version | grep automake | sed 's|automake (GNU automake) ||')
+ sed -i "/am__api_version=/ s|1.12|${_automake::4}|;
+ " $(grep -rl am__api_version=)
+
+ #sed -i 's|INCLUDES|AM_CPPFLAGS|;
+ # ' $(grep -rl INCLUDES | grep Makefile.am)
+
# fixing path
sed -i 's|bin/sh|usr/bin/bash|;
' $(grep -rl bin/sh)
- sed -i 's|usr/sbin|usr/bin|;
- ' $(grep -rl usr/bin)
sed -i 's| /bin| /usr/bin|;
' $(grep -rl ' /bin')
sed -i 's| /sbin| /usr/bin|;
' $(grep -rl ' /sbin')
+ sed -i 's|usr/sbin|usr/bin|;
+ ' $(grep -rl usr/sbin)
+ #sed -i 's|/lib64|/lib|;
+ # ' $(grep -rl /lib64)
+ sed -i 's|usr/libexec|usr/lib|;
+ ' $(grep -rl usr/libexec)
sed -i 's|var/lock|run/lock|;
' $(grep -rl var/lock)
sed -i 's|var/run|run|;
@@ -41,36 +52,92 @@ prepare() {
# s|open source / ||;
# s|Open Source|Free Software|;
# s|open source|free software|;
+ # s|Free Software Development Lab|Open Source Development Lab|;
# ' $(grep -ril 'open source')
#sed -i 's|OpenSource / ||;
# s|opensource / ||;
# s|OpenSource|FreeSoftware|;
# s|opensource|freesoftware|;
+ # s|freesoftware.org|opensource.org|;
+ # s|http://www.opensource.org/|http://www.gnu.org/philosophy/free-sw.html|;
+ # s|http://www.gnu.org/philosophy/free-sw.htmllicenses/osl-|http://opensource.org/licenses/osl-|;
+ # s|http://www.gnu.org/philosophy/free-sw.htmlosd|http://opensource.org/osd|;
# ' $(grep -ril opensource)
# remove Linux term
- sed -i '/, Linux/ s|Linux|GNU/Linux|;
- /And Linux/ s|Linux|GNU/Linux|;
- /and Linux/ s|Linux|GNU/Linux|;
- /For Linux/ s|Linux|GNU/Linux|;
- /for Linux/ s|Linux|GNU/Linux|;
- /Like Linux/ s|Linux|GNU/Linux|;
- /like Linux/ s|Linux|GNU/Linux|;
- /Linux,/ s|Linux|GNU/Linux|;
- /Linux and/ s|Linux|GNU/Linux|;
- /Linux distribution/ s|Linux|GNU/Linux|;
- /Linux machine/ s|Linux|GNU/Linux|;
- /Linux operating/ s|Linux|GNU/Linux|;
- /Linux OS/ s|Linux|GNU/Linux|;
- /Linux specific/ s|Linux|GNU/Linux|;
- /Linux system/ s|Linux|GNU/Linux|;
- /Under Linux/ s|Linux|GNU/Linux|;
- /under Linux/ s|Linux|GNU/Linux|;
- /On Linux/ s|Linux|GNU/Linux|;
- /on Linux/ s|Linux|GNU/Linux|;
+ sed -i 's|Linux,|GNU/Linux,|;
+ s|Linux and|GNU/Linux and|;
+ s|Linux distro|GNU/Linux distro|;
+ s|Linux distribution|GNU/Linux distribution|;
+ s|Linux machine|GNU/Linux machine|;
+ s|Linux Only|GNU/Linux Only|;
+ s|Linux only|GNU/Linux only|;
+ s|Linux operating|GNU/Linux operating|;
+ s|Linux OS|GNU/Linux OS|;
+ s|Linux platform|GNU/Linux platform|;
+ s|Linux software|GNU/Linux software|;
+ s|Linux specific|GNU/Linux specific|;
+ s|Linux system|GNU/Linux system|;
+ s|Linux will|GNU/Linux will|;
+ s|# Linux$|# GNU/Linux|;
+ s|# Linux.$|# GNU/Linux.|;
+ s|* Linux$|* GNU/Linux|;
+ s|* Linux.$|* GNU/Linux.|;
+ s|// Linux$|// GNU/Linux|;
+ s|// Linux.$|// GNU/Linux.|;
+ s|, Linux|, GNU/Linux|;
+ s|As Linux|As GNU/Linux|;
+ s|as Linux|as GNU/Linux|;
+ s|And Linux|And GNU/Linux|;
+ s|and Linux|and GNU/Linux|;
+ s|Be Linux|Be GNU/Linux|;
+ s|be Linux|be GNU/Linux|;
+ s|Because Linux|Because GNU/Linux|;
+ s|because Linux|because GNU/Linux|;
+ s|e.g. Linux|e.g. GNU/Linux|;
+ s|For Linux|For GNU/Linux|;
+ s|for Linux|for GNU/Linux|;
+ s|In Linux|In GNU/Linux|;
+ s|in Linux|in GNU/Linux|;
+ s|Like Linux|Like GNU/Linux|;
+ s|like Linux|like GNU/Linux|;
+ s|non-Linux|non GNU/Linux|;
+ s|Of Linux|Of GNU/Linux|;
+ s|of Linux|of GNU/Linux|;
+ s|On Linux|On GNU/Linux|;
+ s|on Linux|on GNU/Linux|;
+ s|OS type: Linux|OS type: GNU/Linux|;
+ s|Other Linux|Other GNU/Linux|;
+ s|other Linux|other GNU/Linux|;
+ s|The Linux|The GNU/Linux|;
+ s|the Linux|the GNU/Linux|;
+ s|Typically Linux|Typically GNU/Linux|;
+ s|typically Linux|typically GNU/Linux|;
+ s|To Linux|To GNU/Linux|;
+ s|to Linux|to GNU/Linux|;
+ s|Under Linux|Under GNU/Linux|;
+ s|under Linux|under GNU/Linux|;
+ s|ArchGNU/Linux|ArchLinux|;
+ s|e2fsprogs, typically GNU/Linux|e2fsprogs, typically Linux|;
s|GNU/GNU|GNU|;
+ s|GNU/Linux device|Linux device|;
+ s|GNU/Linux Director Daemon|Linux Director Daemon|;
+ s|GNU/Linux is a registered trademark of Linus Torvalds|Linux is a registered trademark of Linus Torvalds|;
s|GNU/Linux kernel|Linux kernel|;
s|GNU/Linux specific kernel|Linux specific kernel|;
+ s|GNU/Linux Standard Base|Linux Standard Base|;
+ s|GNU/Linux sysfs|Linux sysfs|;
+ s|GNU/Linux Virtual Server|Linux Virtual Server|;
+ s|GNU/Linux Watchdog|Linux Watchdog|;
+ s|GNU/Linux watchdog|Linux watchdog|;
+ s|GNU/LinuxHA|LinuxHA|;
+ s|GNU/Linux-HA|Linux-HA|;
+ s|GNU/LinuxSCSI|LinuxSCSI|;
+ s|HA GNU/Linux|HA Linux|;
+ s|High-Availability GNU/Linux|High-Availability Linux|;
+ s|MkGNU/Linux|MkLinux|;
+ s|SEGNU/Linux|SELinux|;
+ s|VA GNU/Linux Cluster|VA Linux Cluster|;
' $(grep -rl Linux)
}
diff --git a/pcr/openipmi/PKGBUILD b/pcr/openipmi/PKGBUILD
index 9c3c73ed8..cced11d05 100644
--- a/pcr/openipmi/PKGBUILD
+++ b/pcr/openipmi/PKGBUILD
@@ -6,7 +6,7 @@ _pkgname2=${pkgname:4}
_pkgname=${_pkgname1^}${_pkgname2^^}
pkgver=2.0.19
_pkgver=${pkgver::3}
-pkgrel=2
+pkgrel=3
pkgdesc="Allow access to platform information using Intelligent Platform Management Interface (${_pkgname2^^})"
arch=(
i686
@@ -38,41 +38,126 @@ sha512sums=ee95eb64b7cde3f22c8444a5f8e3172808b0bb9a3a7034c1302c5f568c1cc0852a44c
prepare() {
cd $srcdir/$_pkgname-$pkgver
+ #mv configure.{in,ac}
+
+ #_automake=$(automake --version | grep automake | sed 's|automake (GNU automake) ||')
+ #sed -i "/am__api_version=/ s|1.11|${_automake::4}|;
+ # " $(grep -rl am__api_version=)
+
+ #sed -i "s|AC_INIT(README.Force)|AC_INIT(OpenIPMI, $pkgver|;
+ # " configure.ac
+ #sed -i 's|AM_INIT_AUTOMAKE(OpenIPMI, ${OPENIPMI_VERSION_MAJOR}.${OPENIPMI_VERSION_MINOR}.${OPENIPMI_VERSION_RELEASE}${OPENIPMI_VERSION_EXTRA})|AM_INIT_AUTOMAKE|;
+ # ' configure.ac
+
+ # fixing path
+ sed -i 's|bin/sh|usr/bin/bash|;
+ ' $(grep -rl bin/sh)
+ sed -i 's| /bin| /usr/bin|;
+ ' $(grep -rl ' /bin')
+ sed -i 's| /sbin| /usr/bin|;
+ ' $(grep -rl ' /sbin')
+ sed -i 's|usr/sbin|usr/bin|;
+ ' $(grep -rl usr/sbin)
+ #sed -i 's|/lib64|/lib|;
+ # ' $(grep -rl /lib64)
+ sed -i 's|usr/libexec|usr/lib|;
+ ' $(grep -rl usr/libexec)
+ sed -i 's|var/lock|run/lock|;
+ ' $(grep -rl var/lock)
+ #sed -i 's|var/run|run|;
+ # ' $(grep -rl var/run)
+
# remove Open Source term
sed -i 's|Open Source / ||;
s|open source / ||;
s|Open Source|Free Software|;
s|open source|free software|;
+ s|Free Software Development Lab|Open Source Development Lab|;
' $(grep -ril 'open source')
#sed -i 's|OpenSource / ||;
# s|opensource / ||;
# s|OpenSource|FreeSoftware|;
# s|opensource|freesoftware|;
+ # s|freesoftware.org|opensource.org|;
+ # s|http://www.opensource.org/|http://www.gnu.org/philosophy/free-sw.html|;
+ # s|http://www.gnu.org/philosophy/free-sw.htmllicenses/osl-|http://opensource.org/licenses/osl-|;
+ # s|http://www.gnu.org/philosophy/free-sw.htmlosd|http://opensource.org/osd|;
# ' $(grep -ril opensource)
# remove Linux term
- sed -i '/, Linux/ s|Linux|GNU/Linux|;
- /And Linux/ s|Linux|GNU/Linux|;
- /and Linux/ s|Linux|GNU/Linux|;
- /For Linux/ s|Linux|GNU/Linux|;
- /for Linux/ s|Linux|GNU/Linux|;
- /Like Linux/ s|Linux|GNU/Linux|;
- /like Linux/ s|Linux|GNU/Linux|;
- /Linux,/ s|Linux|GNU/Linux|;
- /Linux and/ s|Linux|GNU/Linux|;
- /Linux distribution/ s|Linux|GNU/Linux|;
- /Linux machine/ s|Linux|GNU/Linux|;
- /Linux operating/ s|Linux|GNU/Linux|;
- /Linux OS/ s|Linux|GNU/Linux|;
- /Linux specific/ s|Linux|GNU/Linux|;
- /Linux system/ s|Linux|GNU/Linux|;
- /Under Linux/ s|Linux|GNU/Linux|;
- /under Linux/ s|Linux|GNU/Linux|;
- /On Linux/ s|Linux|GNU/Linux|;
- /on Linux/ s|Linux|GNU/Linux|;
+ sed -i 's|Linux,|GNU/Linux,|;
+ s|Linux and|GNU/Linux and|;
+ s|Linux distro|GNU/Linux distro|;
+ s|Linux distribution|GNU/Linux distribution|;
+ s|Linux machine|GNU/Linux machine|;
+ s|Linux Only|GNU/Linux Only|;
+ s|Linux only|GNU/Linux only|;
+ s|Linux operating|GNU/Linux operating|;
+ s|Linux OS|GNU/Linux OS|;
+ s|Linux platform|GNU/Linux platform|;
+ s|Linux software|GNU/Linux software|;
+ s|Linux specific|GNU/Linux specific|;
+ s|Linux system|GNU/Linux system|;
+ s|Linux will|GNU/Linux will|;
+ s|# Linux$|# GNU/Linux|;
+ s|# Linux.$|# GNU/Linux.|;
+ s|* Linux$|* GNU/Linux|;
+ s|* Linux.$|* GNU/Linux.|;
+ s|// Linux$|// GNU/Linux|;
+ s|// Linux.$|// GNU/Linux.|;
+ s|, Linux|, GNU/Linux|;
+ s|As Linux|As GNU/Linux|;
+ s|as Linux|as GNU/Linux|;
+ s|And Linux|And GNU/Linux|;
+ s|and Linux|and GNU/Linux|;
+ s|Be Linux|Be GNU/Linux|;
+ s|be Linux|be GNU/Linux|;
+ s|Because Linux|Because GNU/Linux|;
+ s|because Linux|because GNU/Linux|;
+ s|e.g. Linux|e.g. GNU/Linux|;
+ s|For Linux|For GNU/Linux|;
+ s|for Linux|for GNU/Linux|;
+ s|In Linux|In GNU/Linux|;
+ s|in Linux|in GNU/Linux|;
+ s|Like Linux|Like GNU/Linux|;
+ s|like Linux|like GNU/Linux|;
+ s|non-Linux|non GNU/Linux|;
+ s|Of Linux|Of GNU/Linux|;
+ s|of Linux|of GNU/Linux|;
+ s|On Linux|On GNU/Linux|;
+ s|on Linux|on GNU/Linux|;
+ s|OS type: Linux|OS type: GNU/Linux|;
+ s|Other Linux|Other GNU/Linux|;
+ s|other Linux|other GNU/Linux|;
+ s|The Linux|The GNU/Linux|;
+ s|the Linux|the GNU/Linux|;
+ s|Typically Linux|Typically GNU/Linux|;
+ s|typically Linux|typically GNU/Linux|;
+ s|To Linux|To GNU/Linux|;
+ s|to Linux|to GNU/Linux|;
+ s|Under Linux|Under GNU/Linux|;
+ s|under Linux|under GNU/Linux|;
+ s|ArchGNU/Linux|ArchLinux|;
+ s|e2fsprogs, typically GNU/Linux|e2fsprogs, typically Linux|;
s|GNU/GNU|GNU|;
+ s|GNU/Linux device|Linux device|;
+ s|GNU/Linux Director Daemon|Linux Director Daemon|;
+ s|GNU/Linux is a registered trademark of Linus Torvalds|Linux is a registered trademark of Linus Torvalds|;
s|GNU/Linux kernel|Linux kernel|;
s|GNU/Linux specific kernel|Linux specific kernel|;
+ s|GNU/Linux Standard Base|Linux Standard Base|;
+ s|GNU/Linux sysfs|Linux sysfs|;
+ s|GNU/Linux Virtual Server|Linux Virtual Server|;
+ s|GNU/Linux Watchdog|Linux Watchdog|;
+ s|GNU/Linux watchdog|Linux watchdog|;
+ s|GNU/LinuxHA|LinuxHA|;
+ s|GNU/Linux-HA|Linux-HA|;
+ s|GNU/LinuxSCSI|LinuxSCSI|;
+ s|HA GNU/Linux|HA Linux|;
+ s|High-Availability GNU/Linux|High-Availability Linux|;
+ s|MkGNU/Linux|MkLinux|;
+ s|SEGNU/Linux|SELinux|;
+ s|VA GNU/Linux Cluster|VA Linux Cluster|;
' $(grep -rl Linux)
}
diff --git a/pcr/pacemaker/PKGBUILD b/pcr/pacemaker/PKGBUILD
new file mode 100644
index 000000000..10d32ad33
--- /dev/null
+++ b/pcr/pacemaker/PKGBUILD
@@ -0,0 +1,221 @@
+# Maintainer: Márcio Silva <coadde@lavabit.com>
+
+pkgname=pacemaker
+pkgver=1.1.9
+pkgrel=4
+pkgdesc='Cluster resource manager (Linux-HA)'
+arch=(
+ i686
+ x86_64
+ mips64el
+)
+group=linux-ha
+url=http://$group.org/wiki/${pkgname^}
+license=GPL2
+depends=(
+ corosync
+ heartbeat
+ jre7-openjdk
+ resource-agent
+ libqb
+ libxslt
+ #saxon.jar?
+)
+optdepens=openssh
+makedepends=(
+ help2man
+ inkscape
+ libxslt
+ lynx
+ openssh
+ valgrind
+ w3m
+)
+options=(!libtool)
+provides=(ha-$pkgname)
+conflicts=ha-$pkgname
+replaces=ha-$pkgname
+source=https://github.com/ClusterLabs/$pkgname/archive/${pkgname^}-$pkgver.tar.gz
+sha512sums=97d13cf722aea9cba1ce344afc3137d9edc15a978d2a7acc44179c4859ecb18f800312caf02c9574b0fab528cd6e2c3e4876a1ffde8a08c2500c0ba816cdf071
+
+prepare() {
+ cd $srcdir/$pkgname-${pkgname^}-$pkgver
+
+ sed -i 's|AM_CONFIG_HEADER|AC_CONFIG_HEADERS|;
+ s|AM_INIT_AUTOMAKE($PACKAGE_NAME, $PACKAGE_VERSION)|AM_INIT_AUTOMAKE|;
+ ' configure.ac
+
+ sed -i 's|INCLUDES|AM_CPPFLAGS|;
+ ' $(grep -rl INCLUDES | grep Makefile.am)
+
+ # fixing path
+ sed -i 's|bin/sh|usr/bin/bash|;
+ ' $(grep -rl bin/sh)
+ sed -i 's| /bin| /usr/bin|;
+ ' $(grep -rl ' /bin')
+ sed -i 's| /sbin| /usr/bin|;
+ ' $(grep -rl ' /sbin')
+ sed -i 's|usr/sbin|usr/bin|;
+ ' $(grep -rl usr/sbin)
+ sed -i 's|/lib64|/lib|;
+ ' $(grep -rl /lib64)
+ sed -i 's|usr/libexec|usr/lib|;
+ ' $(grep -rl usr/libexec)
+ sed -i 's|var/lock|run/lock|;
+ ' $(grep -rl var/lock)
+ sed -i 's|var/run|run|;
+ ' $(grep -rl var/run)
+
+ # remove Open Source term
+ sed -i 's|Open Source / ||;
+ s|open source / ||;
+ s|Open Source|Free Software|;
+ s|open source|free software|;
+ s|Free Software Development Lab|Open Source Development Lab|;
+ ' $(grep -ril 'open source')
+ sed -i 's|OpenSource / ||;
+ s|opensource / ||;
+ s|OpenSource|FreeSoftware|;
+ s|opensource|freesoftware|;
+ s|freesoftware.org|opensource.org|;
+ s|http://www.opensource.org/|http://www.gnu.org/philosophy/free-sw.html|;
+ s|http://www.gnu.org/philosophy/free-sw.htmllicenses/osl-|http://opensource.org/licenses/osl-|;
+ s|http://www.gnu.org/philosophy/free-sw.htmlosd|http://opensource.org/osd|;
+ ' $(grep -ril opensource)
+
+ # remove Linux term
+ sed -i 's|Linux,|GNU/Linux,|;
+ s|Linux and|GNU/Linux and|;
+ s|Linux distro|GNU/Linux distro|;
+ s|Linux distribution|GNU/Linux distribution|;
+ s|Linux machine|GNU/Linux machine|;
+ s|Linux Only|GNU/Linux Only|;
+ s|Linux only|GNU/Linux only|;
+ s|Linux operating|GNU/Linux operating|;
+ s|Linux OS|GNU/Linux OS|;
+ s|Linux platform|GNU/Linux platform|;
+ s|Linux software|GNU/Linux software|;
+ s|Linux specific|GNU/Linux specific|;
+ s|Linux system|GNU/Linux system|;
+ s|Linux will|GNU/Linux will|;
+ s|# Linux$|# GNU/Linux|;
+ s|# Linux.$|# GNU/Linux.|;
+ s|* Linux$|* GNU/Linux|;
+ s|* Linux.$|* GNU/Linux.|;
+ s|// Linux$|// GNU/Linux|;
+ s|// Linux.$|// GNU/Linux.|;
+ s|, Linux|, GNU/Linux|;
+ s|As Linux|As GNU/Linux|;
+ s|as Linux|as GNU/Linux|;
+ s|And Linux|And GNU/Linux|;
+ s|and Linux|and GNU/Linux|;
+ s|Be Linux|Be GNU/Linux|;
+ s|be Linux|be GNU/Linux|;
+ s|Because Linux|Because GNU/Linux|;
+ s|because Linux|because GNU/Linux|;
+ s|e.g. Linux|e.g. GNU/Linux|;
+ s|For Linux|For GNU/Linux|;
+ s|for Linux|for GNU/Linux|;
+ s|In Linux|In GNU/Linux|;
+ s|in Linux|in GNU/Linux|;
+ s|Like Linux|Like GNU/Linux|;
+ s|like Linux|like GNU/Linux|;
+ s|non-Linux|non GNU/Linux|;
+ s|Of Linux|Of GNU/Linux|;
+ s|of Linux|of GNU/Linux|;
+ s|On Linux|On GNU/Linux|;
+ s|on Linux|on GNU/Linux|;
+ s|OS type: Linux|OS type: GNU/Linux|;
+ s|Other Linux|Other GNU/Linux|;
+ s|other Linux|other GNU/Linux|;
+ s|The Linux|The GNU/Linux|;
+ s|the Linux|the GNU/Linux|;
+ s|Typically Linux|Typically GNU/Linux|;
+ s|typically Linux|typically GNU/Linux|;
+ s|To Linux|To GNU/Linux|;
+ s|to Linux|to GNU/Linux|;
+ s|Under Linux|Under GNU/Linux|;
+ s|under Linux|under GNU/Linux|;
+ s|ArchGNU/Linux|ArchLinux|;
+ s|e2fsprogs, typically GNU/Linux|e2fsprogs, typically Linux|;
+ s|GNU/GNU|GNU|;
+ s|GNU/Linux device|Linux device|;
+ s|GNU/Linux Director Daemon|Linux Director Daemon|;
+ s|GNU/Linux is a registered trademark of Linus Torvalds|Linux is a registered trademark of Linus Torvalds|;
+ s|GNU/Linux kernel|Linux kernel|;
+ s|GNU/Linux specific kernel|Linux specific kernel|;
+ s|GNU/Linux Standard Base|Linux Standard Base|;
+ s|GNU/Linux sysfs|Linux sysfs|;
+ s|GNU/Linux Virtual Server|Linux Virtual Server|;
+ s|GNU/Linux Watchdog|Linux Watchdog|;
+ s|GNU/Linux watchdog|Linux watchdog|;
+ s|GNU/LinuxHA|LinuxHA|;
+ s|GNU/Linux-HA|Linux-HA|;
+ s|GNU/LinuxSCSI|LinuxSCSI|;
+ s|HA GNU/Linux|HA Linux|;
+ s|High-Availability GNU/Linux|High-Availability Linux|;
+ s|MkGNU/Linux|MkLinux|;
+ s|SEGNU/Linux|SELinux|;
+ s|VA GNU/Linux Cluster|VA Linux Cluster|;
+ ' $(grep -rl Linux)
+ sed -i 's|Linux|GNU/Linux|;
+ s|ArchGNU/Linux|ArchLinux|;
+ s|e2fsprogs, typically GNU/Linux|e2fsprogs, typically Linux|;
+ s|GNU/GNU|GNU|;
+ s|GNU/Linux device|Linux device|;
+ s|GNU/Linux Director Daemon|Linux Director Daemon|;
+ s|GNU/Linux is a registered trademark of Linus Torvalds|Linux is a registered trademark of Linus Torvalds|;
+ s|GNU/Linux kernel|Linux kernel|;
+ s|GNU/Linux specific kernel|Linux specific kernel|;
+ s|GNU/Linux Standard Base|Linux Standard Base|;
+ s|GNU/Linux sysfs|Linux sysfs|;
+ s|GNU/Linux Virtual Server|Linux Virtual Server|;
+ s|GNU/Linux Watchdog|Linux Watchdog|;
+ s|GNU/Linux watchdog|Linux watchdog|;
+ s|GNU/LinuxHA|LinuxHA|;
+ s|GNU/Linux-HA|Linux-HA|;
+ s|GNU/LinuxSCSI|LinuxSCSI|;
+ s|HA GNU/Linux|HA Linux|;
+ s|High-Availability GNU/Linux|High-Availability Linux|;
+ s|MkGNU/Linux|MkLinux|;
+ s|SEGNU/Linux|SELinux|;
+ s|VA GNU/Linux Cluster|VA Linux Cluster|;
+ ' $(grep -rl Linux | grep .po)
+}
+
+build() {
+ cd $srcdir/$pkgname-${pkgname^}-$pkgver
+ setarch $CARCH ./autogen.sh
+ setarch $CARCH ./configure --prefix=/usr\
+ --disable-static\
+ --enable-fatal-warnings\
+ --enable-systemd\
+ --enable-upstart\
+ --libdir=/usr/lib\
+ --libexecdir=/usr/lib\
+ --localstatedir=/var\
+ --sysconfdir=/etc\
+ --with-acl\
+ --with-ais\
+ --with-cibsecrets\
+ --with-cman\
+ --with-corosync\
+ --with-cs-quorum\
+ --with-esmtp\
+ --with-heartbeat\
+ --with-lcrso-dir=/usr/lib/lcrso\
+ --with-nagios\
+ --with-profiling\
+ --with-snmp\
+ --without-gcov
+ setarch $CARCH make
+}
+
+package() {
+ cd $srcdir/$pkgname-${pkgname^}-$pkgver
+ setarch $CARCH make DESTDIR=$pkgdir install
+
+ mv $pkgdir/usr/sbin/cibsecret{,-$pkgname}
+}
+
+# vim:set ts=2 sw=2 et:
diff --git a/pcr/resource-agent/PKGBUILD b/pcr/resource-agent/PKGBUILD
new file mode 100644
index 000000000..46c95ede1
--- /dev/null
+++ b/pcr/resource-agent/PKGBUILD
@@ -0,0 +1,202 @@
+# Maintainer: Márcio Silva <coadde@lavabit.com>
+
+pkgname=resource-agent
+_pkgname1=${pkgname::8}
+_pkgname2=${pkgname:9}
+_pkgnamex=${_pkgname1^}_${_pkgname2^}
+_pkgnamey=${pkgname}s
+_pkgnamez=ha-${_pkgname1}${_pkgname2}
+pkgver=3.9.5
+pkgrel=5
+pkgdesc='Standardized interface for a cluster resource (Linux-HA)'
+arch=(
+ i686
+ x86_64
+ mips64el
+)
+group=linux-ha
+url=http://$group.org/wiki/$_pkgnamex
+license=GPL
+depends=(
+ cluster-glue
+ ipvsadm
+ perl-socket6
+ perl-lwp-protocol-https
+ perl-io-socket-inet6
+ perl-mailtools
+ #rgmanager (clulog) !!redhat-cluster!!
+)
+optdepends=net-tools
+makedepends=(
+ libxslt
+ libvirt
+ net-tools
+ openssh
+)
+options=(!libtool)
+provides=($_pkgnamez)
+conflicts=$_pkgnamez
+replaces=$_pkgnamez
+source=https://github.com/ClusterLabs/$_pkgnamey/archive/v$pkgver.tar.gz
+sha512sums=668955de7a80577a1fb599d03b0a47589a00aed3017b532931b5132b877e45778c590f26d3057ee763c35973b0f6b032e2f74ebdf0b5f45b5e402b0f13b8ff4e
+
+prepare() {
+ cd $srcdir/$_pkgnamey-$pkgver
+
+ sed -i 's|AM_CONFIG_HEADER|AC_CONFIG_HEADERS|;
+ ' configure.ac
+
+ sed -i 's|INCLUDES|AM_CPPFLAGS|;
+ ' $(grep -rl INCLUDES | grep Makefile.am)
+
+ # fixing path
+ sed -i 's|bin/sh|usr/bin/bash|;
+ ' $(grep -rl bin/sh)
+ sed -i 's| /bin| /usr/bin|;
+ ' $(grep -rl ' /bin')
+ sed -i 's| /sbin| /usr/bin|;
+ ' $(grep -rl ' /sbin')
+ sed -i 's|usr/sbin|usr/bin|;
+ ' $(grep -rl usr/sbin)
+ sed -i 's|/lib64|/lib|;
+ ' $(grep -rl /lib64)
+ #sed -i 's|usr/libexec|usr/lib|;
+ # ' $(grep -rl usr/libexec)
+ sed -i 's|var/lock|run/lock|;
+ ' $(grep -rl var/lock)
+ sed -i 's|var/run|run|;
+ ' $(grep -rl var/run)
+
+ # remove Open Source term
+ sed -i 's|Open Source / ||;
+ s|open source / ||;
+ s|Open Source|Free Software|;
+ s|open source|free software|;
+ s|Free Software Development Lab|Open Source Development Lab|;
+ ' $(grep -ril 'open source')
+ sed -i 's|OpenSource / ||;
+ s|opensource / ||;
+ s|OpenSource|FreeSoftware|;
+ s|opensource|freesoftware|;
+ s|freesoftware.org|opensource.org|;
+ s|http://www.opensource.org/|http://www.gnu.org/philosophy/free-sw.html|;
+ s|http://www.gnu.org/philosophy/free-sw.htmllicenses/osl-|http://opensource.org/licenses/osl-|;
+ s|http://www.gnu.org/philosophy/free-sw.htmlosd|http://opensource.org/osd|;
+ ' $(grep -ril opensource)
+
+ # remove Linux term
+ sed -i 's|Linux,|GNU/Linux,|;
+ s|Linux and|GNU/Linux and|;
+ s|Linux distro|GNU/Linux distro|;
+ s|Linux distribution|GNU/Linux distribution|;
+ s|Linux machine|GNU/Linux machine|;
+ s|Linux Only|GNU/Linux Only|;
+ s|Linux only|GNU/Linux only|;
+ s|Linux operating|GNU/Linux operating|;
+ s|Linux OS|GNU/Linux OS|;
+ s|Linux platform|GNU/Linux platform|;
+ s|Linux software|GNU/Linux software|;
+ s|Linux specific|GNU/Linux specific|;
+ s|Linux system|GNU/Linux system|;
+ s|Linux will|GNU/Linux will|;
+ s|# Linux$|# GNU/Linux|;
+ s|# Linux.$|# GNU/Linux.|;
+ s|* Linux$|* GNU/Linux|;
+ s|* Linux.$|* GNU/Linux.|;
+ s|// Linux$|// GNU/Linux|;
+ s|// Linux.$|// GNU/Linux.|;
+ s|, Linux|, GNU/Linux|;
+ s|As Linux|As GNU/Linux|;
+ s|as Linux|as GNU/Linux|;
+ s|And Linux|And GNU/Linux|;
+ s|and Linux|and GNU/Linux|;
+ s|Be Linux|Be GNU/Linux|;
+ s|be Linux|be GNU/Linux|;
+ s|Because Linux|Because GNU/Linux|;
+ s|because Linux|because GNU/Linux|;
+ s|e.g. Linux|e.g. GNU/Linux|;
+ s|For Linux|For GNU/Linux|;
+ s|for Linux|for GNU/Linux|;
+ s|In Linux|In GNU/Linux|;
+ s|in Linux|in GNU/Linux|;
+ s|Like Linux|Like GNU/Linux|;
+ s|like Linux|like GNU/Linux|;
+ s|non-Linux|non GNU/Linux|;
+ s|Of Linux|Of GNU/Linux|;
+ s|of Linux|of GNU/Linux|;
+ s|On Linux|On GNU/Linux|;
+ s|on Linux|on GNU/Linux|;
+ s|OS type: Linux|OS type: GNU/Linux|;
+ s|Other Linux|Other GNU/Linux|;
+ s|other Linux|other GNU/Linux|;
+ s|The Linux|The GNU/Linux|;
+ s|the Linux|the GNU/Linux|;
+ s|Typically Linux|Typically GNU/Linux|;
+ s|typically Linux|typically GNU/Linux|;
+ s|To Linux|To GNU/Linux|;
+ s|to Linux|to GNU/Linux|;
+ s|Under Linux|Under GNU/Linux|;
+ s|under Linux|under GNU/Linux|;
+ s|ArchGNU/Linux|ArchLinux|;
+ s|e2fsprogs, typically GNU/Linux|e2fsprogs, typically Linux|;
+ s|GNU/GNU|GNU|;
+ s|GNU/Linux device|Linux device|;
+ s|GNU/Linux Director Daemon|Linux Director Daemon|;
+ s|GNU/Linux is a registered trademark of Linus Torvalds|Linux is a registered trademark of Linus Torvalds|;
+ s|GNU/Linux kernel|Linux kernel|;
+ s|GNU/Linux specific kernel|Linux specific kernel|;
+ s|GNU/Linux Standard Base|Linux Standard Base|;
+ s|GNU/Linux sysfs|Linux sysfs|;
+ s|GNU/Linux Virtual Server|Linux Virtual Server|;
+ s|GNU/Linux Watchdog|Linux Watchdog|;
+ s|GNU/Linux watchdog|Linux watchdog|;
+ s|GNU/LinuxHA|LinuxHA|;
+ s|GNU/Linux-HA|Linux-HA|;
+ s|GNU/LinuxSCSI|LinuxSCSI|;
+ s|HA GNU/Linux|HA Linux|;
+ s|High-Availability GNU/Linux|High-Availability Linux|;
+ s|MkGNU/Linux|MkLinux|;
+ s|SEGNU/Linux|SELinux|;
+ s|VA GNU/Linux Cluster|VA Linux Cluster|;
+ s|VERSION_STR = "GNU/Linux Director|VERSION_STR = "Linux Director|;
+ / 2.6, the alignment should be / s|GNU/Linux|Linux|;
+ s|Linux-2.4.26-gentoo-r14|GNU/Linux-2.4.26-gentoo-r14|;
+ ' $(grep -rl Linux)
+}
+
+build() {
+ cd $srcdir/$_pkgnamey-$pkgver
+ setarch $CARCH ./autogen.sh
+ setarch $CARCH ./configure --prefix=/usr\
+ --enable-fatal-warnings\
+ --enable-libnet\
+ --libdir=/usr/lib\
+ --localstatedir=/var\
+ --sbindir=/usr/bin\
+ --sysconfdir=/etc\
+ --with-ocf-root=/usr/lib/ocf
+ setarch $CARCH make
+}
+
+package() {
+ cd $srcdir/$_pkgnamey-$pkgver
+ setarch $CARCH make DESTDIR=$pkgdir install
+
+ mv $pkgdir/{var/,}run
+ touch $pkgdir/etc/ha.d/ldirectord.cf
+ rm $pkgdir/etc/rc.d/ldirectord && rmdir $pkgdir/etc/rc.d
+
+ install -d $pkgdir/usr/lib/systemd/system
+ echo '[Unit]' > $pkgdir/usr/lib/systemd/system/ldirectord.service
+ echo 'Description=Non-heartbeat systems service, that manages the LVS component for TCP/UDP load-balancing' >> $pkgdir/usr/lib/systemd/system/ldirectord.service
+ echo 'Requires=network.target remote-fs.target' >> $pkgdir/usr/lib/systemd/system/ldirectord.service
+ echo '' >> $pkgdir/usr/lib/systemd/system/ldirectord.service
+ echo '[Service]' >> $pkgdir/usr/lib/systemd/system/ldirectord.service
+ echo 'Type=forking' >> $pkgdir/usr/lib/systemd/system/ldirectord.service
+ echo 'ExecStart=/usr/bin/ldirectord' >> $pkgdir/usr/lib/systemd/system/ldirectord.service
+ echo '' >> $pkgdir/usr/lib/systemd/system/ldirectord.service
+ echo '[Install]' >> $pkgdir/usr/lib/systemd/system/ldirectord.service
+ echo 'WantedBy=multi-user.target' >> $pkgdir/usr/lib/systemd/system/ldirectord.service
+}
+
+# vim:set ts=2 sw=2 et: