Compare commits

...

6 Commits
rawhide ... f23

Author SHA1 Message Date
Kaleb S. KEITHLEY 3c28ac7417 2.3.3 GA 2016-08-15 11:15:38 -04:00
Jiffin Tony Thottan 5c1a85f7d7 2.3.2 GA 2016-05-03 20:34:45 +05:30
Kaleb S KEITHLEY 5a95d4652b w/ fsal_gluster, fsal_xfs, fsal_ceph 2016-04-06 06:18:08 -04:00
Kaleb S KEITHLEY e21bce4e0b w/ nfs-ganesha-config.service 2016-03-31 08:03:03 -04:00
Kaleb S KEITHLEY ed9485760e 2.3.1 GA, again 2016-03-22 00:43:18 -04:00
Kaleb S KEITHLEY 8bcfe55a1e 2.3.1 GA 2016-03-16 01:15:30 -04:00
3 changed files with 75 additions and 8 deletions

View File

@ -0,0 +1,11 @@
--- nfs-ganesha-2.3.2/src/include/nfsv41.h.org 2016-05-03 18:10:18.701170555 +0530
+++ nfs-ganesha-2.3.2/src/include/nfsv41.h 2016-05-03 18:10:35.175228434 +0530
@@ -3646,7 +3646,7 @@
return false;
/* skip any further elements and lie on bitmap len */
for (i = mapsize; i < objp->bitmap4_len; i++) {
- u_int crud;
+ u_int crud = 0;
if (!inline_xdr_u_int32_t(xdrs, &crud))
return false;

View File

@ -38,6 +38,9 @@
%bcond_without ceph
%global use_fsal_ceph %{on_off_switch ceph}
%bcond_with rgw
%global use_fsal_rgw %{on_off_switch rgw}
%bcond_with lustre
%global use_fsal_lustre %{on_off_switch lustre}
@ -79,14 +82,14 @@
%global dev_version %{lua: extraver = string.gsub('', '%-', '.'); print(extraver) }
Name: nfs-ganesha
Version: 2.3.0
Version: 2.3.3
Release: 1%{?dev_version:%{dev_version}}%{?dist}
Summary: NFS-Ganesha is a NFS Server running in user space
Summary: NFS Server running in user space
Group: Applications/System
License: LGPLv3+
Url: https://github.com/nfs-ganesha/nfs-ganesha/wiki
Source0: https://github.com/%{name}/%{name}/archive/V%{version}/%{name}-%{version}%{dev_version}.tar.gz
Source0: https://github.com/%{name}/%{name}/archive/V%{version}/%{name}-%{version}%{dev_version}.tar.gz
BuildRequires: cmake
BuildRequires: bison
@ -102,6 +105,11 @@ BuildRequires: libntirpc-devel >= 1.3.1
%endif
Requires: dbus
Requires: nfs-utils
%if ( 0%{?fedora} ) || ( 0%{?rhel} && 0%{?rhel} >= 6 )
Requires: rpcbind
%else
Requires: portmap
%endif
%if %{with_nfsidmap}
BuildRequires: libnfsidmap-devel
%else
@ -220,14 +228,26 @@ be used with NFS-Ganesha to support GPFS backend
Summary: The NFS-GANESHA's CEPH FSAL
Group: Applications/System
Requires: nfs-ganesha = %{version}-%{release}
Requires: ceph >= 0.78
BuildRequires: ceph-devel >= 0.78
BuildRequires: libcephfs1-devel >= 0.94
%description ceph
This package contains a FSAL shared object to
be used with NFS-Ganesha to support CEPH
%endif
# RGW
%if %{with rgw}
%package rgw
Summary: The NFS-GANESHA's Ceph RGW FSAL
Group: Applications/System
Requires: nfs-ganesha = %{version}-%{release}
BuildRequires: librgw2-devel >= 10.2.0
%description rgw
This package contains a FSAL shared object to
be used with NFS-Ganesha to support Ceph RGW
%endif
# LUSTRE
%if %{with lustre}
%package lustre
@ -332,6 +352,7 @@ cd src && %cmake . -DCMAKE_BUILD_TYPE=Debug \
-DUSE_FSAL_ZFS=NO \
-DUSE_FSAL_XFS=%{use_fsal_xfs} \
-DUSE_FSAL_CEPH=%{use_fsal_ceph} \
-DUSE_FSAL_RGW=%{use_fsal_rgw} \
-DUSE_FSAL_LUSTRE=%{use_fsal_lustre} \
-DUSE_FSAL_SHOOK=%{use_fsal_shook} \
-DUSE_FSAL_GPFS=%{use_fsal_gpfs} \
@ -365,17 +386,23 @@ mkdir -p %{buildroot}%{_bindir}
mkdir -p %{buildroot}%{_sbindir}
mkdir -p %{buildroot}%{_libdir}/ganesha
mkdir -p %{buildroot}%{_localstatedir}/run/ganesha
mkdir -p %{buildroot}%{_libexecdir}/ganesha
cd src
install -m 644 config_samples/logrotate_ganesha %{buildroot}%{_sysconfdir}/logrotate.d/ganesha
install -m 644 scripts/ganeshactl/org.ganesha.nfsd.conf %{buildroot}%{_sysconfdir}/dbus-1/system.d
install -m 644 config_samples/logrotate_ganesha %{buildroot}%{_sysconfdir}/logrotate.d/ganesha
install -m 644 scripts/ganeshactl/org.ganesha.nfsd.conf %{buildroot}%{_sysconfdir}/dbus-1/system.d
install -m 755 scripts/nfs-ganesha-config.sh %{buildroot}%{_libexecdir}/ganesha
install -m 755 tools/mount.9P %{buildroot}%{_sbindir}/mount.9P
install -m 644 config_samples/vfs.conf %{buildroot}%{_sysconfdir}/ganesha
%if %{with rgw}
install -m 644 config_samples/rgw.conf %{buildroot}%{_sysconfdir}/ganesha
%endif
%if %{with_systemd}
mkdir -p %{buildroot}%{_unitdir}
install -m 644 scripts/systemd/nfs-ganesha.service %{buildroot}%{_unitdir}/nfs-ganesha.service
install -m 644 scripts/systemd/nfs-ganesha-lock.service %{buildroot}%{_unitdir}/nfs-ganesha-lock.service
install -m 644 scripts/systemd/nfs-ganesha-config.service %{buildroot}%{_unitdir}/nfs-ganesha-config.service
install -m 644 scripts/systemd/sysconfig/nfs-ganesha %{buildroot}%{_sysconfdir}/sysconfig/ganesha
%else
mkdir -p %{buildroot}%{_sysconfdir}/init.d
@ -425,6 +452,7 @@ install -m 644 ChangeLog %{buildroot}%{_defaultdocdir}/ganesha
%if %{with_systemd}
%systemd_post nfs-ganesha.service
%systemd_post nfs-ganesha-lock.service
%systemd_post nfs-ganesha-config.service
%endif
%preun
@ -438,6 +466,7 @@ install -m 644 ChangeLog %{buildroot}%{_defaultdocdir}/ganesha
%endif
%files
%{!?_licensedir:%global license %%doc}
%license src/LICENSE.txt
%{_bindir}/ganesha.nfsd
%if ! %{with system_ntirpc}
@ -456,10 +485,12 @@ install -m 644 ChangeLog %{buildroot}%{_defaultdocdir}/ganesha
%{_defaultdocdir}/ganesha/*
%doc %{_defaultdocdir}/ganesha/ChangeLog
%dir %{_localstatedir}/run/ganesha
%{_libexecdir}/ganesha/nfs-ganesha-config.sh
%if %{with_systemd}
%{_unitdir}/nfs-ganesha.service
%{_unitdir}/nfs-ganesha-lock.service
%{_unitdir}/nfs-ganesha-config.service
%else
%{_sysconfdir}/init.d/nfs-ganesha
%endif
@ -507,6 +538,13 @@ install -m 644 ChangeLog %{buildroot}%{_defaultdocdir}/ganesha
%config(noreplace) %{_sysconfdir}/ganesha/ceph.conf
%endif
%if %{with rgw}
%files rgw
%defattr(-,root,root,-)
%{_libdir}/ganesha/libfsalrgw*
%config(noreplace) %{_sysconfdir}/ganesha/rgw.conf
%endif
%if %{with lustre}
%files lustre
%config(noreplace) %{_sysconfdir}/ganesha/lustre.conf
@ -567,6 +605,24 @@ install -m 644 ChangeLog %{buildroot}%{_defaultdocdir}/ganesha
%endif
%changelog
* Mon Aug 15 2016 Kaleb S. KEITHLEY <kkeithle at redhat.com> 2.3.3-1
- 2.3.3 GA
* Mon May 02 2016 Jiffin Tony Thottan <jthottan at redhat.com> 2.3.2-1
- 2.3.2 GA
* Wed Apr 6 2016 Kaleb S. KEITHLEY <kkeithle at redhat.com> 2.3.1-4
- w/ fsal_gluster, fsal_xfs, fsal_ceph
* Wed Mar 30 2016 Kaleb S. KEITHLEY <kkeithle at redhat.com> 2.3.1-3
- w/ nfs-ganesha-config.service
* Wed Mar 16 2016 Kaleb S. KEITHLEY <kkeithle at redhat.com> 2.3.1-2
- 2.3.1 GA, again
* Wed Mar 16 2016 Kaleb S. KEITHLEY <kkeithle at redhat.com> 2.3.1-1
- 2.3.1 GA
* Wed Oct 28 2015 Kaleb S. KEITHLEY <kkeithle at redhat.com> 2.3.0-1
- 2.3.0 GA

View File

@ -1 +1 @@
feb466ad1ea3e34a54819768e6d22450 nfs-ganesha-2.3.0.tar.gz
967210e9818c327eda800ae0c0a55514 nfs-ganesha-2.3.3.tar.gz