forked from pool/glusterfs
Accepting request 891200 from filesystems
Automatic submission by obs-autosubmit OBS-URL: https://build.opensuse.org/request/show/891200 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/glusterfs?expand=0&rev=29
This commit is contained in:
commit
88aecdcffd
@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:ffc5bd78b079009382bd01391865646bc9b2e8e72366afc96d62ba891dd9dbce
|
|
||||||
size 7629250
|
|
3
glusterfs-9.1.tar.gz
Normal file
3
glusterfs-9.1.tar.gz
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:078a7dad1aa6d9024e875e73b7f9f5c461234768ca6e239bc9e2e3a16b96884c
|
||||||
|
size 8206207
|
@ -1,3 +1,15 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Thu Apr 29 10:29:59 UTC 2021 - Jan Engelhardt <jengelh@inai.de>
|
||||||
|
|
||||||
|
- Update to release 9.1
|
||||||
|
* Implemented seek file operation for open-behind
|
||||||
|
* Added io_uring support for Gluster
|
||||||
|
* Added Support for 5K volumes
|
||||||
|
* Enabled granular-entry-heal by default
|
||||||
|
* Added support for monitoring the epoll/rpc layer
|
||||||
|
* Improve rebalance of sparse files
|
||||||
|
- Drop nocommon.patch (merged)
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Thu Jun 4 11:44:27 UTC 2020 - Callum Farmer <callumjfarmer13@gmail.com>
|
Thu Jun 4 11:44:27 UTC 2020 - Callum Farmer <callumjfarmer13@gmail.com>
|
||||||
|
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package glusterfs
|
# spec file for package glusterfs
|
||||||
#
|
#
|
||||||
# Copyright (c) 2020 SUSE LLC
|
# Copyright (c) 2021 SUSE LLC
|
||||||
#
|
#
|
||||||
# All modifications and additions to the file contributed by third parties
|
# All modifications and additions to the file contributed by third parties
|
||||||
# remain the property of their copyright owners, unless otherwise agreed
|
# remain the property of their copyright owners, unless otherwise agreed
|
||||||
@ -17,7 +17,7 @@
|
|||||||
|
|
||||||
|
|
||||||
Name: glusterfs
|
Name: glusterfs
|
||||||
Version: 7.1
|
Version: 9.1
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: Aggregating distributed file system
|
Summary: Aggregating distributed file system
|
||||||
License: GPL-2.0-only OR LGPL-3.0-or-later
|
License: GPL-2.0-only OR LGPL-3.0-or-later
|
||||||
@ -26,8 +26,7 @@ URL: http://www.gluster.org/
|
|||||||
|
|
||||||
#Git-Clone: https://github.com/gluster/glusterfs
|
#Git-Clone: https://github.com/gluster/glusterfs
|
||||||
#Git-Clone: https://github.com/fvzwieten/lsgvt
|
#Git-Clone: https://github.com/fvzwieten/lsgvt
|
||||||
Source: https://download.gluster.org/pub/gluster/glusterfs/7/7.1/glusterfs-7.1.tar.gz
|
Source: https://download.gluster.org/pub/gluster/glusterfs/9/9.1/glusterfs-9.1.tar.gz
|
||||||
Patch1: nocommon.patch
|
|
||||||
BuildRequires: acl-devel
|
BuildRequires: acl-devel
|
||||||
BuildRequires: autoconf
|
BuildRequires: autoconf
|
||||||
BuildRequires: automake
|
BuildRequires: automake
|
||||||
@ -45,11 +44,14 @@ BuildRequires: pkgconfig(fuse) >= 2.6.5
|
|||||||
BuildRequires: pkgconfig(libcrypto)
|
BuildRequires: pkgconfig(libcrypto)
|
||||||
BuildRequires: pkgconfig(libtirpc)
|
BuildRequires: pkgconfig(libtirpc)
|
||||||
BuildRequires: pkgconfig(liburcu)
|
BuildRequires: pkgconfig(liburcu)
|
||||||
|
%if 0%{?suse_version} >= 1550
|
||||||
|
BuildRequires: pkgconfig(liburing) >= 0.3
|
||||||
|
%endif
|
||||||
BuildRequires: pkgconfig(libxml-2.0)
|
BuildRequires: pkgconfig(libxml-2.0)
|
||||||
BuildRequires: pkgconfig(python3)
|
BuildRequires: pkgconfig(python3)
|
||||||
BuildRequires: pkgconfig(sqlite3)
|
BuildRequires: pkgconfig(sqlite3)
|
||||||
BuildRequires: pkgconfig(uuid)
|
BuildRequires: pkgconfig(uuid)
|
||||||
%{?systemd_requires}
|
%{?systemd_ordering}
|
||||||
|
|
||||||
%description
|
%description
|
||||||
GlusterFS is a clustered file-system capable of scaling to several
|
GlusterFS is a clustered file-system capable of scaling to several
|
||||||
@ -98,6 +100,14 @@ Group: System/Libraries
|
|||||||
GlusterFS is a clustered file-system capable of scaling to several
|
GlusterFS is a clustered file-system capable of scaling to several
|
||||||
petabytes.
|
petabytes.
|
||||||
|
|
||||||
|
%package -n libglusterd0
|
||||||
|
Summary: GlusterFS core daemon library
|
||||||
|
Group: System/Libraries
|
||||||
|
|
||||||
|
%description -n libglusterd0
|
||||||
|
GlusterFS is a clustered file-system capable of scaling to several
|
||||||
|
petabytes.
|
||||||
|
|
||||||
%package -n libglusterfs0
|
%package -n libglusterfs0
|
||||||
Summary: GlusterFS's core library
|
Summary: GlusterFS's core library
|
||||||
Group: System/Libraries
|
Group: System/Libraries
|
||||||
@ -126,6 +136,7 @@ Requires: libgfapi0 = %version
|
|||||||
Requires: libgfchangelog0 = %version
|
Requires: libgfchangelog0 = %version
|
||||||
Requires: libgfrpc0 = %version
|
Requires: libgfrpc0 = %version
|
||||||
Requires: libgfxdr0 = %version
|
Requires: libgfxdr0 = %version
|
||||||
|
Requires: libglusterd0 = %version
|
||||||
Requires: libglusterfs0 = %version
|
Requires: libglusterfs0 = %version
|
||||||
|
|
||||||
%description devel
|
%description devel
|
||||||
@ -137,61 +148,26 @@ links.
|
|||||||
|
|
||||||
%prep
|
%prep
|
||||||
%autosetup -p1
|
%autosetup -p1
|
||||||
>contrib/sunrpc/xdr_sizeof.c
|
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%define _lto_cflags %nil
|
%define _lto_cflags %nil
|
||||||
./autogen.sh
|
./autogen.sh
|
||||||
%configure --disable-static
|
%configure \
|
||||||
make %{?_smp_mflags} V=0
|
%if !(0%{?suse_version} >= 1550)
|
||||||
find . -name 'xdr_sizeof*' -type f -exec ls -lgo {} + || :
|
--disable-linux-io_uring \
|
||||||
|
%endif
|
||||||
|
--disable-static --with-ipv6-default
|
||||||
|
%make_build
|
||||||
|
|
||||||
%install
|
%install
|
||||||
b="%buildroot"
|
b="%buildroot"
|
||||||
%make_install docdir="%_docdir/%name"
|
%make_install docdir="%_docdir/%name"
|
||||||
find "$b" -type f -name "*.la" -delete -print
|
find "$b" -type f -name "*.la" -delete -print
|
||||||
mkdir -p "$b/%_localstatedir/log"/{glusterd,glusterfs,glusterfsd}
|
mkdir -pv "$b/%_localstatedir/log"/{glusterd,glusterfs,glusterfsd}
|
||||||
|
cp -av ChangeLog NEWS README.md "$b/%_docdir/%name/"
|
||||||
|
|
||||||
# The things seemingly forgotten by make install.
|
chmod -v u-s "%buildroot/%_bindir/fusermount-glusterfs"
|
||||||
# - Manually populate devel dirs
|
rm -fv "%buildroot/%_sbindir/conf.py"
|
||||||
mkdir -p "$b/%_includedir/%name"
|
|
||||||
install -pm0644 libglusterfs/src/*.h "$b/%_includedir/%name/"
|
|
||||||
# - hekafs wants this:
|
|
||||||
mkdir -p "$b/%_includedir/%name"/{rpc,server}
|
|
||||||
install -pm0644 rpc/rpc-lib/src/*.h rpc/xdr/src/*.h \
|
|
||||||
"$b/%_includedir/%name/rpc/"
|
|
||||||
install -pm0644 xlators/protocol/server/src/*.h \
|
|
||||||
"$b/%_includedir/%name/server/"
|
|
||||||
# - wrapper umount script?
|
|
||||||
# - logrotate entry
|
|
||||||
mkdir -p "$b/%_localstatedir/log/%name"
|
|
||||||
# - vim syntax
|
|
||||||
|
|
||||||
# - state
|
|
||||||
mkdir -p "$b/%_localstatedir/lib/glusterd"
|
|
||||||
perl -i -pe \
|
|
||||||
's{^(\s*option working-directory )\S+}{$1 %_localstatedir/lib/glusterd}g' \
|
|
||||||
"$b/%_sysconfdir/%name/glusterd.vol"
|
|
||||||
|
|
||||||
# W: wrong-file-end-of-line-encoding
|
|
||||||
perl -i -pe 's{\x0d\x0a}{\x0a}gs' %_docdir/%name/glusterfs-mode.el
|
|
||||||
|
|
||||||
# E: env-script-interpreter
|
|
||||||
perl -i -pe 's{#!/usr/bin/env python}{#!/usr/bin/python}' \
|
|
||||||
"$b/%_bindir/glusterfind" \
|
|
||||||
"$b/%_sbindirusr/gcron.py" "$b/%_sbindir/snap_scheduler.py" \
|
|
||||||
"$b/%_libexecdir/glusterfs"/*.py "$b/%_libexecdir/glusterfs"/*/*.py \
|
|
||||||
"$b/%_libexecdir/glusterfs/peer_mountbroker" \
|
|
||||||
"$b/%_datadir/glusterfs/scripts"/*.py
|
|
||||||
perl -i -pe 's{#!/usr/bin/env bash}{#!/bin/bash}' \
|
|
||||||
"$b/%_datadir/glusterfs/scripts"/*.sh
|
|
||||||
|
|
||||||
cp -a COPYING-GPLV2 COPYING-LGPLV3 ChangeLog NEWS README.md "$b/%_docdir/%name/"
|
|
||||||
|
|
||||||
mkdir -p "%buildroot/%_unitdir"
|
|
||||||
ln -s service "%buildroot/%_sbindir/rcglusterd"
|
|
||||||
chmod u-s "%buildroot/%_bindir/fusermount-glusterfs"
|
|
||||||
rm -f "%buildroot/%_sbindir/conf.py"
|
|
||||||
%fdupes %buildroot/%_prefix
|
%fdupes %buildroot/%_prefix
|
||||||
|
|
||||||
%pre
|
%pre
|
||||||
@ -214,11 +190,16 @@ rm -f "%buildroot/%_sbindir/conf.py"
|
|||||||
%postun -n libgfrpc0 -p /sbin/ldconfig
|
%postun -n libgfrpc0 -p /sbin/ldconfig
|
||||||
%post -n libgfxdr0 -p /sbin/ldconfig
|
%post -n libgfxdr0 -p /sbin/ldconfig
|
||||||
%postun -n libgfxdr0 -p /sbin/ldconfig
|
%postun -n libgfxdr0 -p /sbin/ldconfig
|
||||||
|
%post -n libglusterd0 -p /sbin/ldconfig
|
||||||
|
%postun -n libglusterd0 -p /sbin/ldconfig
|
||||||
%post -n libglusterfs0 -p /sbin/ldconfig
|
%post -n libglusterfs0 -p /sbin/ldconfig
|
||||||
%postun -n libglusterfs0 -p /sbin/ldconfig
|
%postun -n libglusterfs0 -p /sbin/ldconfig
|
||||||
|
|
||||||
%files
|
%files
|
||||||
|
%license COPYING*
|
||||||
|
%dir %_sysconfdir/ganesha
|
||||||
%dir %_sysconfdir/%name
|
%dir %_sysconfdir/%name
|
||||||
|
%_sysconfdir/ganesha/*.sample
|
||||||
%config(noreplace) %_sysconfdir/%name/eventsconfig.json
|
%config(noreplace) %_sysconfdir/%name/eventsconfig.json
|
||||||
%config(noreplace) %_sysconfdir/%name/g*lusterd.vol
|
%config(noreplace) %_sysconfdir/%name/g*lusterd.vol
|
||||||
%config(noreplace) %_sysconfdir/%name/glusterfs-logrotate
|
%config(noreplace) %_sysconfdir/%name/glusterfs-logrotate
|
||||||
@ -231,11 +212,10 @@ rm -f "%buildroot/%_sbindir/conf.py"
|
|||||||
%_bindir/fusermount-glusterfs
|
%_bindir/fusermount-glusterfs
|
||||||
%_bindir/glusterfind
|
%_bindir/glusterfind
|
||||||
/sbin/mount.%name
|
/sbin/mount.%name
|
||||||
|
%_libexecdir/ganesha/
|
||||||
%_libexecdir/%name/
|
%_libexecdir/%name/
|
||||||
%_libdir/%name/
|
%_libdir/%name/
|
||||||
%_sbindir/gluster*
|
%_sbindir/gluster*
|
||||||
%_sbindir/glfsheal
|
|
||||||
%_sbindir/rcglusterd
|
|
||||||
%_sbindir/gcron.py
|
%_sbindir/gcron.py
|
||||||
%_sbindir/gf_attach
|
%_sbindir/gf_attach
|
||||||
%_sbindir/gfind_missing_files
|
%_sbindir/gfind_missing_files
|
||||||
@ -263,6 +243,9 @@ rm -f "%buildroot/%_sbindir/conf.py"
|
|||||||
%files -n libgfxdr0
|
%files -n libgfxdr0
|
||||||
%_libdir/libgfxdr.so.0*
|
%_libdir/libgfxdr.so.0*
|
||||||
|
|
||||||
|
%files -n libglusterd0
|
||||||
|
%_libdir/libglusterd.so.0*
|
||||||
|
|
||||||
%files -n libglusterfs0
|
%files -n libglusterfs0
|
||||||
%_libdir/libglusterfs.so.0*
|
%_libdir/libglusterfs.so.0*
|
||||||
|
|
||||||
@ -270,7 +253,7 @@ rm -f "%buildroot/%_sbindir/conf.py"
|
|||||||
%python3_sitelib/gluster/
|
%python3_sitelib/gluster/
|
||||||
|
|
||||||
%files devel
|
%files devel
|
||||||
%_includedir/%name
|
%_includedir/%name/
|
||||||
%_libdir/*.so
|
%_libdir/*.so
|
||||||
%_libdir/pkgconfig/*.pc
|
%_libdir/pkgconfig/*.pc
|
||||||
|
|
||||||
|
@ -1,33 +0,0 @@
|
|||||||
References: https://bugzilla.suse.com/show_bug.cgi?id=1160382
|
|
||||||
---
|
|
||||||
cli/src/cli.c | 1 +
|
|
||||||
cli/src/cli.h | 4 ++--
|
|
||||||
2 files changed, 3 insertions(+), 2 deletions(-)
|
|
||||||
|
|
||||||
Index: glusterfs-7.1/cli/src/cli.c
|
|
||||||
===================================================================
|
|
||||||
--- glusterfs-7.1.orig/cli/src/cli.c
|
|
||||||
+++ glusterfs-7.1/cli/src/cli.c
|
|
||||||
@@ -61,6 +61,7 @@
|
|
||||||
|
|
||||||
#include "xdr-generic.h"
|
|
||||||
|
|
||||||
+int cli_default_conn_timeout, cli_ten_minutes_timeout;
|
|
||||||
extern int connected;
|
|
||||||
/* using argp for command line parsing */
|
|
||||||
|
|
||||||
Index: glusterfs-7.1/cli/src/cli.h
|
|
||||||
===================================================================
|
|
||||||
--- glusterfs-7.1.orig/cli/src/cli.h
|
|
||||||
+++ glusterfs-7.1/cli/src/cli.h
|
|
||||||
@@ -39,8 +39,8 @@ enum argp_option_keys {
|
|
||||||
ARGP_PORT_KEY = 'p',
|
|
||||||
};
|
|
||||||
|
|
||||||
-int cli_default_conn_timeout;
|
|
||||||
-int cli_ten_minutes_timeout;
|
|
||||||
+extern int cli_default_conn_timeout;
|
|
||||||
+extern int cli_ten_minutes_timeout;
|
|
||||||
|
|
||||||
typedef enum {
|
|
||||||
COLD_BRICK_COUNT,
|
|
Loading…
Reference in New Issue
Block a user