moosefs: update to 3.0.103.

This commit is contained in:
maxice8 2018-11-24 18:56:49 -02:00 committed by maxice8
parent 71e1acd0b8
commit b7038962bd
3 changed files with 20 additions and 12 deletions

View 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"

View File

@ -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>

View File

@ -1,6 +1,6 @@
# Template file for 'moosefs'
pkgname=moosefs
version=3.0.101
version=3.0.103
revision=1
build_style=gnu-configure
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"
homepage="http://moosefs.org/"
distfiles="http://ppa.moosefs.com/src/moosefs-${version}-1.tar.gz"
checksum=f1dbf1d24f701d980631b0d394a3c951e7f45bcc3eff0c038e0ec4b23c746175
checksum=d8dc9fb7fb72b6f6991e422cbd32320811fa40207c5ced14aebb0ad89dd6af43
pre_configure() {
sed -i 's,AC_RUN_IFELSE,AC_LINK_IFELSE,g' configure.ac
autoreconf -fi
}
post_install() {
mv ${DESTDIR}/sbin/* ${DESTDIR}/usr/bin
for f in chunkserver master metalogger; do