forked from pool/samba
Accepting request 487103 from network:samba:STABLE
- Update to 4.6.2 + remove bso#12721 patches now upstream - Enable samba-ceph build for openSUSE and SLE12SP3+; (fate#321622). + x86-64 and aarch64 - Enable librados CTDB lock helper for samba-ceph package; (fate#321622). - Build and install the html man pages (bsc#1021907). - Fix CVE-2017-2619 regression with "follow symlinks = no"; (bso#12721). - Update to 4.6.1 + symlink race permits opening files outside share directory; CVE-2017-2619; (bso#12496); (bsc#1027147) + testparm checks for valid idmap parameters + add new krb client encryption types + support for printer driver upload from windows 10 + inherit owner = 'unix only' for improved quota support + improved CTDB event support + new primary group support for idmap_ad + idmap_hash deprecated + mvxattr added to recursively rename extended attributes - Remove chkconfig requirements for systemd systems - Don't call insserv if systemd is used - Fix check if we need to require insserv OBS-URL: https://build.opensuse.org/request/show/487103 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/samba?expand=0&rev=210
This commit is contained in:
commit
6debb252ea
@ -1,3 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:56bda5724c21a59d68291f1d78d8b7416af3c0642d3e82662911da723433d68a
|
||||
size 47430
|
||||
oid sha256:09e993823d82c27fb3c01c944e8c8a5f34b5d7c1dc40d1608186f17d040a595e
|
||||
size 41213
|
||||
|
@ -1,7 +0,0 @@
|
||||
-----BEGIN PGP SIGNATURE-----
|
||||
Version: GnuPG v1
|
||||
|
||||
iD8DBQBYSnw4bzORW2Vot+oRAjqGAJ9ieJ+wGww+Iw6aUYBFeF5a0gg4LQCfci+h
|
||||
ymnYzuj4guVsiSxLpOiJ9go=
|
||||
=3z3A
|
||||
-----END PGP SIGNATURE-----
|
@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:f06dc454a1bb72b21a329e1ad75a14795886401671ec7439d69a6b824c492eca
|
||||
size 20946015
|
7
samba-4.6.2.tar.asc
Normal file
7
samba-4.6.2.tar.asc
Normal file
@ -0,0 +1,7 @@
|
||||
-----BEGIN PGP SIGNATURE-----
|
||||
Version: GnuPG v1
|
||||
|
||||
iD8DBQBY3flHbzORW2Vot+oRAmTlAJ9sFlLebbYX3c7rOh1P9btozLmTPQCghScz
|
||||
DQw3KuAbWCKIgkHcy1zZr2o=
|
||||
=bIg5
|
||||
-----END PGP SIGNATURE-----
|
3
samba-4.6.2.tar.gz
Normal file
3
samba-4.6.2.tar.gz
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:927afcc16e444718985e3952de92d34e7b776b9ca0238179d866da18a6441c35
|
||||
size 21097045
|
@ -1,9 +1,66 @@
|
||||
-------------------------------------------------------------------
|
||||
Mon Feb 27 15:30:21 UTC 2017 - dimstar@opensuse.org
|
||||
Mon Apr 10 13:52:40 UTC 2017 - ddiss@suse.com
|
||||
|
||||
- Change insserv_prereq requires to requires(pre): this is
|
||||
factually seen not a runtime requirement of samba, but of the
|
||||
rpm scriptlets.
|
||||
- Update to 4.6.2
|
||||
+ remove bso#12721 patches now upstream
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Apr 7 12:59:26 UTC 2017 - ddiss@suse.com
|
||||
|
||||
- Enable samba-ceph build for openSUSE and SLE12SP3+; (fate#321622).
|
||||
+ x86-64 and aarch64
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Apr 3 14:01:25 UTC 2017 - ddiss@suse.com
|
||||
|
||||
- Enable librados CTDB lock helper for samba-ceph package; (fate#321622).
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Mar 30 17:18:54 UTC 2017 - dmulder@suse.com
|
||||
|
||||
- Build and install the html man pages (bsc#1021907).
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Mar 30 12:33:39 UTC 2017 - nopower@suse.com
|
||||
|
||||
- Fix CVE-2017-2619 regression with "follow symlinks = no";
|
||||
(bso#12721).
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Mar 22 13:15:12 UTC 2017 - jmcdonough@suse.com
|
||||
|
||||
- Update to 4.6.1
|
||||
+ symlink race permits opening files outside share directory;
|
||||
CVE-2017-2619; (bso#12496); (bsc#1027147)
|
||||
+ testparm checks for valid idmap parameters
|
||||
+ add new krb client encryption types
|
||||
+ support for printer driver upload from windows 10
|
||||
+ inherit owner = 'unix only' for improved quota support
|
||||
+ improved CTDB event support
|
||||
+ new primary group support for idmap_ad
|
||||
+ idmap_hash deprecated
|
||||
+ mvxattr added to recursively rename extended attributes
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Mar 15 11:50:50 UTC 2017 - aaptel@suse.com
|
||||
|
||||
- Remove chkconfig requirements for systemd systems
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Mar 13 15:14:58 UTC 2017 - kukuk@suse.com
|
||||
|
||||
- Don't call insserv if systemd is used
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Feb 10 23:00:14 CET 2017 - kukuk@suse.de
|
||||
|
||||
- Fix check if we need to require insserv
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Feb 6 18:35:29 UTC 2017 - aaptel@suse.com
|
||||
|
||||
- Force usage of ncurses6-config thru NCURSES_CONFIG env var;
|
||||
(bsc#1023847).
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Jan 26 21:23:06 UTC 2017 - dmulder@suse.com
|
||||
|
101
samba.keyring
101
samba.keyring
@ -1,8 +1,5 @@
|
||||
pub 1024D/6568B7EA 2007-02-04 [expires: 2014-02-25]
|
||||
uid Samba Distribution Verification Key <samba-bugs@samba.org>
|
||||
sub 2048g/DA6DFB44 2007-02-04 [expires: 2014-02-25]
|
||||
-----BEGIN PGP PUBLIC KEY BLOCK-----
|
||||
Version: GnuPG v1.4.11 (GNU/Linux)
|
||||
Version: GnuPG v1
|
||||
|
||||
mQGiBEXGOUcRBACooMht/2pmNT3bKZn1WEFQa+sXe6nxi3G6lH5bIBUKp85SDM57
|
||||
4qTcBIJXhwfGABeSvyUdZJbBxJDD5bNiO4k+Y5j3t8t9hb2FKg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gy
|
||||
PYVUJV12/sAjhlgAQq08SPgTJp4GE/Jx9C2KMS7dlWYH4tjDSbeO+RLLd26npdhi
|
||||
y8Cn9UvsJvDs71/+5S2PTpV16eH5QzQZkvJ/PXkkRXQ1Ilovkvt5rKieHCx4n6QZ
|
||||
b5td9AuAeRZp75UXERO7pXKG/57o/SzswrD/tSEKRpBKQED4eHsPohLw3dMKDWG6
|
||||
hLRf4GR8v+xKLFivqXr3ttELb9xS7ZyZqz6FSFucQAp6XY/xjnR3CFzfKq9pHO4P
|
||||
wvhU53uQeI9suAHSPecxfUIcQfrCaN6K6ktEMY+KxeTJUgqB7FnskqynCof0MN2O
|
||||
A40+iE8EGBECAA8CGwwFAlaonssFCRLDmN8ACgkQbzORW2Vot+pQOwCgn7y4A3pD
|
||||
ADb+tNzOo5L1fQcFlxYAmgMPOlsiuY4hd+pW1UjKCtIHaKuO
|
||||
=IqTy
|
||||
-----END PGP PUBLIC KEY BLOCK-----
|
||||
|
117
samba.spec
117
samba.spec
@ -21,13 +21,14 @@
|
||||
%if 0%{?suse_version} > 1140 && 0%{?suse_version} != 1315
|
||||
%define build_ctdb_pmda 1
|
||||
%endif
|
||||
%if 0%{?suse_version} > 1320
|
||||
%ifarch x86_64
|
||||
%define build_vfs_ceph 1
|
||||
%if 0%{?suse_version} > 1320 || 0%{?sle_version} > 120200
|
||||
%ifarch aarch64 x86_64
|
||||
%define build_ceph 1
|
||||
%endif
|
||||
%endif
|
||||
|
||||
Name: samba
|
||||
BuildRequires: autoconf
|
||||
BuildRequires: cups-devel
|
||||
BuildRequires: cyrus-sasl-devel
|
||||
BuildRequires: e2fsprogs-devel
|
||||
@ -125,10 +126,11 @@ BuildRequires: systemd-devel
|
||||
%if 0%{?build_ctdb_pmda}
|
||||
BuildRequires: libpcp-devel
|
||||
%endif
|
||||
%if 0%{?build_vfs_ceph}
|
||||
%if 0%{?build_ceph}
|
||||
BuildRequires: libcephfs-devel
|
||||
BuildRequires: librados-devel
|
||||
%endif
|
||||
%define samba_ver 4.5.3
|
||||
%define samba_ver 4.6.2
|
||||
%define samba_ver_suffix %nil
|
||||
%if "%{samba_ver_suffix}" == ""
|
||||
%define samba_source_location https://ftp.samba.org/pub/samba/stable/samba-%{version}.tar.gz
|
||||
@ -150,11 +152,11 @@ BuildRequires: libcephfs-devel
|
||||
%else
|
||||
%define build_make_smp_mflags %{?jobs:-j%jobs}
|
||||
%endif
|
||||
%define SOURCE_TIMESTAMP 0
|
||||
%define SOURCE_TIMESTAMP 3760
|
||||
%define BRANCH %{version}
|
||||
%global with_mitkrb5 1
|
||||
%global with_dc 0
|
||||
Version: 4.5.3
|
||||
Version: 4.6.2
|
||||
Release: 0
|
||||
Url: https://www.samba.org/
|
||||
Obsoletes: samba-gplv3 < %{version}
|
||||
@ -262,10 +264,10 @@ Group: Productivity/Networking/Samba
|
||||
Provides: smbfs
|
||||
Obsoletes: samba-gplv3-client < %{version}
|
||||
Obsoletes: samba-client-gplv2 < %{version}
|
||||
%if 0%{?suse_version} > 0
|
||||
Requires(pre): %{?insserv_prereq}
|
||||
%endif
|
||||
%if 0%{?suse_version} < 1221
|
||||
Requires: %{?insserv_prereq}
|
||||
Requires: /sbin/chkconfig
|
||||
%endif
|
||||
Requires: /sbin/ldconfig
|
||||
Requires: coreutils
|
||||
%{?systemd_requires}
|
||||
@ -416,8 +418,8 @@ Recommends: cron
|
||||
Recommends: logrotate
|
||||
Recommends: /usr/sbin/nscd
|
||||
%endif
|
||||
%if 0%{?suse_version} > 0
|
||||
Requires(pre): %{?insserv_prereq}
|
||||
%if 0%{?suse_version} < 1221
|
||||
Requires: %{?insserv_prereq}
|
||||
%endif
|
||||
Requires: /sbin/ldconfig
|
||||
Requires: /usr/sbin/groupadd
|
||||
@ -1035,15 +1037,17 @@ develop programs which make use of the wbclient programming interface.
|
||||
Source Timestamp: %{SOURCE_TIMESTAMP}
|
||||
Branch: %{BRANCH}
|
||||
|
||||
%if 0%{?build_vfs_ceph}
|
||||
%if 0%{?build_ceph}
|
||||
%package ceph
|
||||
Summary: Ceph VFS Module for Samba
|
||||
Summary: Ceph specific add-ons for Samba
|
||||
License: GPL-3.0+
|
||||
Group: Productivity/Networking/Samba
|
||||
Requires: samba = %{version}
|
||||
|
||||
%description ceph
|
||||
The Ceph VFS module for Samba allows shares to be backed by the Ceph distributed file system.
|
||||
The Ceph VFS module for Samba allows shares to be backed by the Ceph
|
||||
distributed file system. A Ceph CTDB lock helper binary is included so
|
||||
that RADOS locks can be used for CTDB split-brain avoidance.
|
||||
%endif
|
||||
|
||||
|
||||
@ -1101,6 +1105,10 @@ mv VERSION VERSION.orig
|
||||
sed -e "s/^SAMBA_VERSION_VENDOR_SUFFIX=$/SAMBA_VERSION_VENDOR_SUFFIX=${vendor_tag}%{VENDOR}${product_suffix}/" VERSION.orig >VERSION
|
||||
|
||||
%build
|
||||
if command -v ncurses6-config &> /dev/null; then
|
||||
export NCURSES_CONFIG="$(command -v ncurses6-config)"
|
||||
fi
|
||||
|
||||
export CFLAGS="%{optflags} -D_GNU_SOURCE -D_LARGEFILE64_SOURCE -DIDMAP_RID_SUPPORT_TRUSTED_DOMAINS"
|
||||
%if 0%{?suse_version} && 0%{?suse_version} < 1141
|
||||
%{?suse_update_config:%{suse_update_config -f}}
|
||||
@ -1126,6 +1134,9 @@ CONFIGURE_OPTIONS="\
|
||||
%endif
|
||||
--enable-fhs \
|
||||
--with-cluster-support \
|
||||
%if 0%{?build_ceph}
|
||||
--enable-ceph-reclock \
|
||||
%endif
|
||||
--with-pam \
|
||||
--with-pammodulesdir=%{_lib}/security \
|
||||
--with-piddir=%{PIDDIR} \
|
||||
@ -1141,12 +1152,17 @@ CONFIGURE_OPTIONS="\
|
||||
%if ! %with_dc
|
||||
--without-ad-dc \
|
||||
%endif
|
||||
--bundled-libraries=NONE,socket_wrapper,${bundled_libraries_extra} \
|
||||
--bundled-libraries=NONE,socket_wrapper,cmocka,${bundled_libraries_extra} \
|
||||
"
|
||||
./configure ${CONFIGURE_OPTIONS}
|
||||
make %{build_make_smp_mflags} \
|
||||
all
|
||||
|
||||
pushd docs-xml
|
||||
autoconf && ./configure
|
||||
XML_CATALOG_FILES="file:///etc/xml/catalog file://$(pwd)/build/catalog.xml" make htmlman
|
||||
popd
|
||||
|
||||
pushd pidl
|
||||
%{__perl} Makefile.PL INSTALLDIRS=vendor
|
||||
popd
|
||||
@ -1349,6 +1365,7 @@ install -m 0644 docu/README.SUSE %{buildroot}/%{DOCDIR}/
|
||||
install -m 0644 docu/Samba.desktop %{buildroot}/%{_datadir}/susehelp/meta/Administration/System/Samba.desktop
|
||||
install -d -m 0755 -p ../docs/htmldocs
|
||||
install -m 0644 docu/manpages.html ../docs/htmldocs/manpages.html
|
||||
install -m 0644 ../docs-xml/output/htmldocs/manpages/* ../docs/htmldocs/
|
||||
popd
|
||||
# winbind stuff
|
||||
install -m 0644 examples/pam_winbind/pam_winbind.conf %{buildroot}/%{_sysconfdir}/security/pam_winbind.conf
|
||||
@ -1365,7 +1382,7 @@ done
|
||||
# cups SMB support
|
||||
mkdir -p %{buildroot}/%{cups_lib_dir}/backend/
|
||||
touch %{buildroot}/%{cups_lib_dir}/backend/smb
|
||||
mv COPYING README Roadmap WHATSNEW.txt %{buildroot}/%{DOCDIR}/
|
||||
mv COPYING README WHATSNEW.txt %{buildroot}/%{DOCDIR}/
|
||||
cp -a docs/* %{buildroot}/%{DOCDIR}
|
||||
rmdir "%{buildroot}/%{DOCBOOKDIR}"
|
||||
cp -a examples/ %{buildroot}/%{DOCDIR}
|
||||
@ -1388,7 +1405,7 @@ done
|
||||
for file in %{buildroot}%{_mandir}/man8/vfs_*; do
|
||||
case "${file#%{buildroot}}" in
|
||||
%{_mandir}/man8/vfs_ceph.8)
|
||||
%if 0%{?build_vfs_ceph} == 0
|
||||
%if 0%{?build_ceph} == 0
|
||||
rm ${file}
|
||||
%endif
|
||||
continue
|
||||
@ -1528,7 +1545,9 @@ fi
|
||||
|
||||
%postun client
|
||||
/sbin/ldconfig
|
||||
%if 0%{?suse_version} < 1221
|
||||
%{?insserv_cleanup:%{insserv_cleanup}}
|
||||
%endif
|
||||
|
||||
%post -n libdcerpc-binding0 -p /sbin/ldconfig
|
||||
%postun -n libdcerpc-binding0 -p /sbin/ldconfig
|
||||
@ -1791,6 +1810,7 @@ fi
|
||||
%{_bindir}/smbtar
|
||||
%{_bindir}/smbtree
|
||||
%{_bindir}/testparm
|
||||
%{_bindir}/mvxattr
|
||||
%dir %{cups_lib_dir}
|
||||
%dir %{cups_lib_dir}/backend
|
||||
%ghost %{cups_lib_dir}/backend/smb
|
||||
@ -1819,6 +1839,7 @@ fi
|
||||
%{_mandir}/man1/smbtar.1.*
|
||||
%{_mandir}/man1/smbtree.1.*
|
||||
%{_mandir}/man1/testparm.1.*
|
||||
%{_mandir}/man1/mvxattr.1.*
|
||||
%{_mandir}/man5/lmhosts.5.*
|
||||
%{_mandir}/man5/smb.conf.5.*
|
||||
%{_mandir}/man5/smbgetrc.5.*
|
||||
@ -1977,7 +1998,6 @@ fi
|
||||
%{_libdir}/samba/libsmbd-shim-samba4.so
|
||||
%{_libdir}/samba/libsmbldaphelper-samba4.so
|
||||
%{_libdir}/samba/libsmbpasswdparser-samba4.so
|
||||
%{_libdir}/samba/libsmbregistry-samba4.so
|
||||
%{_libdir}/samba/libsocket-blocking-samba4.so
|
||||
%{_libdir}/samba/libsys-rw-samba4.so
|
||||
%{_libdir}/samba/libtalloc-report-samba4.so
|
||||
@ -2150,10 +2170,12 @@ fi
|
||||
%{_bindir}/onnode
|
||||
%{_bindir}/ping_pong
|
||||
%dir %{_libdir}/ctdb
|
||||
%{_libdir}/ctdb/ctdb_event_helper
|
||||
%{_libdir}/ctdb/ctdb_event
|
||||
%{_libdir}/ctdb/ctdb_eventd
|
||||
%{_libdir}/ctdb/ctdb_lock_helper
|
||||
%{_libdir}/ctdb/ctdb_natgw
|
||||
%{_libdir}/ctdb/ctdb_recovery_helper
|
||||
%{_libdir}/ctdb/ctdb_takeover_helper
|
||||
%{_libdir}/ctdb/smnotify
|
||||
%{_libdir}/ctdb/ctdb_killtcp
|
||||
%{_libdir}/ctdb/ctdb_lvs
|
||||
@ -2197,54 +2219,10 @@ fi
|
||||
%files -n ctdb-tests
|
||||
%defattr(-,root,root)
|
||||
%dir %{_libdir}/ctdb
|
||||
%dir %{_libdir}/ctdb/tests
|
||||
%{_libdir}/ctdb/tests/comm_client_test
|
||||
%{_libdir}/ctdb/tests/comm_server_test
|
||||
%{_libdir}/ctdb/tests/comm_test
|
||||
%{_libdir}/ctdb/tests/db_hash_test
|
||||
%{_libdir}/ctdb/tests/ctdb_takeover_tests
|
||||
%{_libdir}/ctdb/tests/pkt_read_test
|
||||
%{_libdir}/ctdb/tests/pkt_write_test
|
||||
%{_libdir}/ctdb/tests/protocol_client_test
|
||||
%{_libdir}/ctdb/tests/protocol_types_test
|
||||
%{_libdir}/ctdb/tests/rb_test
|
||||
%{_libdir}/ctdb/tests/reqid_test
|
||||
%{_libdir}/ctdb/tests/srvid_test
|
||||
%{_libdir}/ctdb/tests/ctdb_packet_parse
|
||||
%{_libdir}/ctdb/tests/fake_ctdbd
|
||||
%{_libdir}/ctdb/tests/fetch_loop
|
||||
%{_libdir}/ctdb/tests/fetch_loop_key
|
||||
%{_libdir}/ctdb/tests/fetch_readonly
|
||||
%{_libdir}/ctdb/tests/fetch_readonly_loop
|
||||
%{_libdir}/ctdb/tests/fetch_ring
|
||||
%{_libdir}/ctdb/tests/g_lock_loop
|
||||
%{_libdir}/ctdb/tests//lock_tdb
|
||||
%{_libdir}/ctdb/tests/message_ring
|
||||
%{_libdir}/ctdb/tests/porting_tests
|
||||
%{_libdir}/ctdb/tests/transaction_loop
|
||||
%{_libdir}/ctdb/tests/update_record
|
||||
%{_libdir}/ctdb/tests/update_record_persistent
|
||||
%{_libdir}/ctdb/tests/pidfile_test
|
||||
%{_libdir}/ctdb/tests/
|
||||
%dir %{_datadir}/ctdb
|
||||
%dir %{_datadir}/ctdb/tests
|
||||
%dir %{_datadir}/ctdb/tests/eventscripts
|
||||
%dir %{_datadir}/ctdb/tests/eventscripts/etc-ctdb
|
||||
%{_datadir}/ctdb/tests/eventscripts/etc-ctdb/events.d
|
||||
%{_datadir}/ctdb/tests/eventscripts/etc-ctdb/functions
|
||||
%{_datadir}/ctdb/tests/eventscripts/etc-ctdb/nfs-checks.d
|
||||
%{_datadir}/ctdb/tests/eventscripts/etc-ctdb/nfs-linux-kernel-callout
|
||||
%{_datadir}/ctdb/tests/eventscripts/etc-ctdb/statd-callout
|
||||
%dir %{_datadir}/ctdb/tests/onnode
|
||||
%{_datadir}/ctdb/tests/onnode/functions
|
||||
%dir %{_datadir}/ctdb/tests/scripts
|
||||
%{_datadir}/ctdb/tests/scripts/common.sh
|
||||
%{_datadir}/ctdb/tests/scripts/integration.bash
|
||||
%{_datadir}/ctdb/tests/scripts/test_wrap
|
||||
%{_datadir}/ctdb/tests/scripts/unit.sh
|
||||
%{_datadir}/ctdb/tests/scripts/script_install_paths.sh
|
||||
%dir %{_datadir}/ctdb/tests/simple
|
||||
%{_datadir}/ctdb/tests/simple/functions
|
||||
%{_datadir}/ctdb/tests/simple/nodes
|
||||
%{_datadir}/ctdb/tests
|
||||
|
||||
|
||||
%files -n libdcerpc-binding0
|
||||
%defattr(-,root,root)
|
||||
@ -2422,7 +2400,6 @@ fi
|
||||
%_includedir/samba-4.0/util/substitute.h
|
||||
%_includedir/samba-4.0/util/talloc_stack.h
|
||||
%_includedir/samba-4.0/util/time.h
|
||||
%_includedir/samba-4.0/util/xfile.h
|
||||
%_libdir/libsamba-util.so
|
||||
%_libdir/pkgconfig/samba-util.pc
|
||||
|
||||
@ -2492,11 +2469,13 @@ fi
|
||||
%{_libdir}/libwbclient.so
|
||||
%{_libdir}/pkgconfig/wbclient.pc
|
||||
|
||||
%if 0%{?build_vfs_ceph}
|
||||
%if 0%{?build_ceph}
|
||||
%files ceph
|
||||
%defattr(-,root,root)
|
||||
%{_mandir}/man8/vfs_ceph.8.*
|
||||
%{_libdir}/samba/vfs/ceph.so
|
||||
%{_mandir}/man7/ctdb_mutex_ceph_rados_helper.7.*
|
||||
%{_libdir}/ctdb/ctdb_mutex_ceph_rados_helper
|
||||
%endif
|
||||
|
||||
%changelog
|
||||
|
@ -1,3 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:196fe3dfc870543cb00af6662a38ea785fbe5f4e4f747d4398ef6cb453173d92
|
||||
size 55266
|
||||
oid sha256:16a440502ea2c66151c7d08a811ad998d3024afebfdb38fada6f8a6b86f726ad
|
||||
size 55342
|
||||
|
Loading…
Reference in New Issue
Block a user