moosefs: update to 3.0.103.
This commit is contained in:
parent
71e1acd0b8
commit
b7038962bd
17
srcpkgs/moosefs/patches/fix-musl.patch
Normal file
17
srcpkgs/moosefs/patches/fix-musl.patch
Normal file
|
@ -0,0 +1,17 @@
|
||||||
|
author: maxice8
|
||||||
|
Upstream: no
|
||||||
|
Reason: fixes musl compilation
|
||||||
|
|
||||||
|
diff --git a/mfsclient/mfsio.c b/mfsclient/mfsio.c
|
||||||
|
index 2c624e9..cd99a53 100644
|
||||||
|
--- mfsclient/mfsio.c
|
||||||
|
+++ mfsclient/mfsio.c
|
||||||
|
@@ -31,6 +31,7 @@
|
||||||
|
#include <unistd.h>
|
||||||
|
#include <fcntl.h>
|
||||||
|
#include <pthread.h>
|
||||||
|
+#include <sys/file.h>
|
||||||
|
|
||||||
|
#include "MFSCommunication.h"
|
||||||
|
#include "mastercomm.h"
|
||||||
|
|
|
@ -1,10 +0,0 @@
|
||||||
--- mfsmount/mfs_fuse.c.orig 2016-07-17 18:56:40.670701543 +0200
|
|
||||||
+++ mfsmount/mfs_fuse.c 2016-07-17 18:57:03.222961265 +0200
|
|
||||||
@@ -28,6 +28,7 @@
|
|
||||||
#include "config.h"
|
|
||||||
#endif
|
|
||||||
|
|
||||||
+#include <sys/file.h> /* LOCK_UN */
|
|
||||||
#include <fuse_lowlevel.h>
|
|
||||||
#include <stdio.h>
|
|
||||||
#include <stdlib.h>
|
|
|
@ -1,6 +1,6 @@
|
||||||
# Template file for 'moosefs'
|
# Template file for 'moosefs'
|
||||||
pkgname=moosefs
|
pkgname=moosefs
|
||||||
version=3.0.101
|
version=3.0.103
|
||||||
revision=1
|
revision=1
|
||||||
build_style=gnu-configure
|
build_style=gnu-configure
|
||||||
configure_args="--localstatedir=/var/lib --with-default-user=_mfs --with-default-group=_mfs"
|
configure_args="--localstatedir=/var/lib --with-default-user=_mfs --with-default-group=_mfs"
|
||||||
|
@ -12,12 +12,13 @@ maintainer="Juan RP <xtraeme@voidlinux.eu>"
|
||||||
license="GPL-2.0-only"
|
license="GPL-2.0-only"
|
||||||
homepage="http://moosefs.org/"
|
homepage="http://moosefs.org/"
|
||||||
distfiles="http://ppa.moosefs.com/src/moosefs-${version}-1.tar.gz"
|
distfiles="http://ppa.moosefs.com/src/moosefs-${version}-1.tar.gz"
|
||||||
checksum=f1dbf1d24f701d980631b0d394a3c951e7f45bcc3eff0c038e0ec4b23c746175
|
checksum=d8dc9fb7fb72b6f6991e422cbd32320811fa40207c5ced14aebb0ad89dd6af43
|
||||||
|
|
||||||
pre_configure() {
|
pre_configure() {
|
||||||
sed -i 's,AC_RUN_IFELSE,AC_LINK_IFELSE,g' configure.ac
|
sed -i 's,AC_RUN_IFELSE,AC_LINK_IFELSE,g' configure.ac
|
||||||
autoreconf -fi
|
autoreconf -fi
|
||||||
}
|
}
|
||||||
|
|
||||||
post_install() {
|
post_install() {
|
||||||
mv ${DESTDIR}/sbin/* ${DESTDIR}/usr/bin
|
mv ${DESTDIR}/sbin/* ${DESTDIR}/usr/bin
|
||||||
for f in chunkserver master metalogger; do
|
for f in chunkserver master metalogger; do
|
||||||
|
|
Loading…
Reference in New Issue
Block a user