summaryrefslogtreecommitdiff
path: root/community/glusterfs
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2013-05-14 01:18:40 -0700
committerroot <root@rshg054.dnsready.net>2013-05-14 01:18:40 -0700
commit2e5b72e5e8dfb5199a9b0da7c76d052a456662c2 (patch)
treefa055d4e2f367acb518de6c4e06b77b6d8cbef75 /community/glusterfs
parent66cb4a487ad73063c6b000279a5d5558fb7603f5 (diff)
Tue May 14 01:18:40 PDT 2013
Diffstat (limited to 'community/glusterfs')
-rw-r--r--community/glusterfs/PKGBUILD11
-rw-r--r--community/glusterfs/glusterd.rc39
2 files changed, 4 insertions, 46 deletions
diff --git a/community/glusterfs/PKGBUILD b/community/glusterfs/PKGBUILD
index 006770423..656fc7597 100644
--- a/community/glusterfs/PKGBUILD
+++ b/community/glusterfs/PKGBUILD
@@ -1,4 +1,4 @@
-# $Id: PKGBUILD 80469 2012-11-22 12:21:36Z spupykin $
+# $Id: PKGBUILD 90667 2013-05-13 14:24:32Z spupykin $
# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
# Contributors:
# Andrei Antoukh - niwi@niwi.be - http://www.niwi.be
@@ -7,7 +7,7 @@
pkgname=glusterfs
_basever=3.3
pkgver=$_basever.1
-pkgrel=1
+pkgrel=2
pkgdesc='Is a cluster file-system capable of scaling to several peta-bytes.'
arch=(i686 x86_64)
url='http://www.gluster.org/'
@@ -16,7 +16,6 @@ depends=(fuse python2 libxml2)
makedepends=(flex bison)
options=(!libtool)
source=(http://download.gluster.org/pub/gluster/glusterfs/$_basever/$pkgver/glusterfs-$pkgver.tar.gz
- glusterd.rc
glusterd.service)
sha256sums=('19aaefe3a0f9059ae831b44c92944503cf439da82da23467101ac13da8b77519'
'f8c113d2a101c93f0e899ba498d0cb6308caf02da37552f12245a863bec39ab4'
@@ -24,6 +23,8 @@ sha256sums=('19aaefe3a0f9059ae831b44c92944503cf439da82da23467101ac13da8b77519'
sha256sums=('19aaefe3a0f9059ae831b44c92944503cf439da82da23467101ac13da8b77519'
'f8c113d2a101c93f0e899ba498d0cb6308caf02da37552f12245a863bec39ab4'
'e9aa54fcff422e0266e0f89d4bda73e0c77458f7c5443b8327db1e7b4242e6f7')
+sha256sums=('19aaefe3a0f9059ae831b44c92944503cf439da82da23467101ac13da8b77519'
+ 'e9aa54fcff422e0266e0f89d4bda73e0c77458f7c5443b8327db1e7b4242e6f7')
build() {
cd $srcdir/$pkgname-$pkgver
@@ -56,10 +57,6 @@ package() {
$srcdir/$pkgname-$pkgver/{README,INSTALL,COPYING*} \
$pkgdir/usr/share/doc/glusterfs/
- install -D -m 755 \
- $srcdir/glusterd.rc \
- $pkgdir/etc/rc.d/glusterd
-
install -D -m 644 \
$srcdir/glusterd.service \
$pkgdir/usr/lib/systemd/system/glusterd.service
diff --git a/community/glusterfs/glusterd.rc b/community/glusterfs/glusterd.rc
deleted file mode 100644
index 61cc26476..000000000
--- a/community/glusterfs/glusterd.rc
+++ /dev/null
@@ -1,39 +0,0 @@
-#!/bin/sh
-# Thanks to igor
-
-. /etc/rc.conf
-. /etc/rc.d/functions
-
-PID="/var/run/glusterd.pid"
-
-case "$1" in
- start)
- stat_busy "Starting glusterd"
- /usr/sbin/glusterd -p $PID &>/dev/null
- if [ $? -gt 0 ]; then
- stat_fail
- else
- add_daemon glusterd
- stat_done
- fi
- ;;
- stop)
- stat_busy "Stopping glusterd"
- kill -QUIT `cat "$PID"` &>/dev/null
- if [ $? -ne 0 ]; then
- stat_fail
- else
- rm_daemon glusterd
- stat_done
- fi
- ;;
- restart)
- $0 stop
- sleep 1
- $0 start
- ;;
- *)
- echo "usage: $0 {start|stop|restart}"
-esac
-
-exit 0