summaryrefslogtreecommitdiff
path: root/community/mfs/PKGBUILD
diff options
context:
space:
mode:
authorMichał Masłowski <mtjm@mtjm.eu>2013-03-29 08:32:53 +0100
committerMichał Masłowski <mtjm@mtjm.eu>2013-03-29 08:32:53 +0100
commitf1fb1946c076c285bc95baf9fd3390e4e2b9acdc (patch)
treed902ae855f1c065fd5ffdd1da6c64689dfad84c3 /community/mfs/PKGBUILD
parentba24960f5e4f00fa98d065bebb829fc08d3645eb (diff)
parent236f7ce9638c79b9ff594552540f3f5a2cbd8703 (diff)
Merge branch 'master' of ssh://parabolagnulinux.org:1863/home/parabola/abslibre-pre-mips64el
Conflicts: community/mfs/PKGBUILD core/procps-ng/PKGBUILD extra/nx/PKGBUILD
Diffstat (limited to 'community/mfs/PKGBUILD')
-rw-r--r--community/mfs/PKGBUILD46
1 files changed, 17 insertions, 29 deletions
diff --git a/community/mfs/PKGBUILD b/community/mfs/PKGBUILD
index ded698166..2fc29c3d5 100644
--- a/community/mfs/PKGBUILD
+++ b/community/mfs/PKGBUILD
@@ -1,43 +1,35 @@
-# $Id: PKGBUILD 75321 2012-08-19 15:17:28Z arodseth $
+# $Id: PKGBUILD 87206 2013-03-28 15:53:12Z arodseth $
# Maintainer: Alexander Rødseth <rodseth@gmail.com>
# Contributor: Thomas S Hatch <thatch45@gmail.com>
pkgbase=mfs
pkgname=('mfs-master' 'mfs-chunkserver' 'mfs-client')
-pkgver=1.6.26
+pkgver=1.6.27_1
pkgrel=1
pkgdesc='MooseFS, fault tolerant, network distributed file system'
-license=('GPL3')
+url='http://www.moosefs.com/'
arch=('x86_64' 'i686' 'mips64el')
-options=('!libtool')
+license=('GPL3')
depends=('zlib' 'fuse' 'python2' 'bash' 'xfsprogs')
-url='http://www.moosefs.com/'
-install=mfs.install
-source=("http://www.moosefs.org/tl_files/mfscode/mfs-$pkgver.tar.gz"
+install="$pkgbase.install"
+options=('!libtool')
+source=("http://www.moosefs.org/tl_files/${pkgbase}code/$pkgbase-${pkgver/_/-}.tar.gz"
'mfsmaster.service'
'mfschunkserver.service'
'mfsmetalogger.service'
- 'mfscgiserv.service'
- 'mfsmaster'
- 'mfschunkserver'
- 'mfsmetalogger'
- 'mfscgiserv')
-sha256sums=('f250f97c6f2a229277fdbf9fe96036873fd6c95a38f484f06e6b87a404c01885'
+ 'mfscgiserv.service')
+sha256sums=('dfe682f0b184ed13e602274825148cd9a7ddfe4f0894e1ab9c1823f66208cb28'
'b24fc4f699e7d11fcda00d83a1feb45aa0e6f4f448e675a1857edcf315427fe0'
'19262bde4dbefb1d3eba09ba7d507595aed9647328a0a7822bbc1915ae3201a7'
'bf92e93be68308d53f649de84dc5bbb0fb433e33306b8d0c303be6c6c3e59a55'
- '6725a732c6294ee8817be6c24e3811481bf05e97a0a64108908e2312d7687f1a'
- '7c307f7be520644ac5d9c71e39ff7ec7e26800aa77c8a18c51a2d0087e5b2f48'
- '2d07e544f4bfeb497c24276936d3a8ce9f906597d6b9c898dc491426b21e74e0'
- 'd9c072cbb9d9645e5131d08b08628ccc2a2bef0a4e9c6fd8c3c33e50efce39f3'
- 'a2e1951888887e928e68a3a010047fa3528182e93c086e4addb5abc14ea72c3b')
+ '6725a732c6294ee8817be6c24e3811481bf05e97a0a64108908e2312d7687f1a')
build() {
cd "$srcdir"
msg2 'Building client...'
- cp -r $pkgbase-$pkgver $pkgbase-client
- cd $pkgbase-client
+ cp -r "$pkgbase-${pkgver%_1}" "$pkgbase-client"
+ cd "$pkgbase-client"
./configure \
--prefix=/usr \
--sysconfdir=/etc/mfs \
@@ -50,8 +42,8 @@ build() {
cd ..
msg2 'Building chunkserver...'
- cp -r $pkgbase-$pkgver $pkgbase-chunk
- cd $pkgbase-chunk
+ cp -r "$pkgbase-${pkgver%_1}" "$pkgbase-chunk"
+ cd "$pkgbase-chunk"
./configure \
--prefix=/usr \
--sysconfdir=/etc/mfs \
@@ -64,8 +56,8 @@ build() {
cd ..
msg2 'Building master...'
- cp -r $pkgbase-$pkgver $pkgbase-master
- cd $pkgbase-master
+ cp -r "$pkgbase-${pkgver%_1}" "$pkgbase-master"
+ cd "$pkgbase-master"
./configure \
--prefix=/usr \
--sysconfdir=/etc/mfs \
@@ -98,9 +90,6 @@ package_mfs-chunkserver() {
install -Dm644 "$srcdir/mfschunkserver.service" \
"$pkgdir/usr/lib/systemd/system/mfschunkserver.service"
- msg2 'Packaging initscript...'
- install -Dm755 "$srcdir/mfschunkserver" "$pkgdir/etc/rc.d/mfschunkserver"
-
msg2 'Cleaning up...'
rm -rf "$pkgdir/usr/share/man/man7"
rmdir "$pkgdir/usr/share/man/man1"
@@ -120,9 +109,8 @@ package_mfs-master() {
install -Dm644 NEWS "$pkgdir/usr/share/doc/$pkgbase/NEWS"
install -Dm644 UPGRADE "$pkgdir/usr/share/doc/$pkgbase/UPGRADE"
- msg2 'Packaging Systemd services and initscripts...'
+ msg2 'Packaging Systemd services...'
for fn in master metalogger cgiserv; do
- install -Dm755 "$srcdir/mfs$fn" "$pkgdir/etc/rc.d/mfs$fn"
install -Dm644 "$srcdir/mfs$fn.service" \
"$pkgdir/usr/lib/systemd/system/mfs$fn.service"
done