automatic version update by autodist [release 6.10-1mamba;Wed Sep 09 2020]
This commit is contained in:
parent
511bebd7a5
commit
d5d6ced630
18
cifs-utils-6.10-DESTDIR.patch
Normal file
18
cifs-utils-6.10-DESTDIR.patch
Normal file
@ -0,0 +1,18 @@
|
|||||||
|
--- cifs-utils-6.10/Makefile.am.orig 2020-09-07 11:28:12.342000000 +0200
|
||||||
|
+++ cifs-utils-6.10/Makefile.am 2020-09-07 11:28:36.197000000 +0200
|
||||||
|
@@ -119,11 +119,11 @@
|
||||||
|
SUBDIRS = contrib
|
||||||
|
|
||||||
|
install-exec-hook:
|
||||||
|
- (cd $(ROOTSBINDIR) && ln -sf mount.cifs mount.smb3)
|
||||||
|
+ (cd $(DESTDIR)$(ROOTSBINDIR) && ln -sf mount.cifs mount.smb3)
|
||||||
|
|
||||||
|
install-data-hook:
|
||||||
|
- (cd $(man8dir) && ln -sf mount.cifs.8 mount.smb3.8)
|
||||||
|
+ (cd $(DESTDIR)$(man8dir) && ln -sf mount.cifs.8 mount.smb3.8)
|
||||||
|
|
||||||
|
uninstall-hook:
|
||||||
|
- (cd $(ROOTSBINDIR) && rm -f $(ROOTSBINDIR)/mount.smb3)
|
||||||
|
- (cd $(man8dir) && rm -f $(man8dir)/mount.smb3.8)
|
||||||
|
+ (cd $(DESTDIR)$(ROOTSBINDIR) && rm -f $(ROOTSBINDIR)/mount.smb3)
|
||||||
|
+ (cd $(DESTDIR)$(man8dir) && rm -f $(man8dir)/mount.smb3.8)
|
@ -1,5 +1,5 @@
|
|||||||
Name: cifs-utils
|
Name: cifs-utils
|
||||||
Version: 6.9
|
Version: 6.10
|
||||||
Release: 1mamba
|
Release: 1mamba
|
||||||
Summary: A set of user-space tools to manage the in-kernel CIFS filesystem
|
Summary: A set of user-space tools to manage the in-kernel CIFS filesystem
|
||||||
Group: System/Kernel and Hardware
|
Group: System/Kernel and Hardware
|
||||||
@ -8,6 +8,7 @@ Distribution: openmamba
|
|||||||
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
||||||
URL: http://wiki.samba.org/index.php/LinuxCIFS_utils
|
URL: http://wiki.samba.org/index.php/LinuxCIFS_utils
|
||||||
Source: http://ftp.samba.org/pub/linux-cifs/cifs-utils/cifs-utils-%{version}.tar.bz2
|
Source: http://ftp.samba.org/pub/linux-cifs/cifs-utils/cifs-utils-%{version}.tar.bz2
|
||||||
|
Patch0: cifs-utils-6.10-DESTDIR.patch
|
||||||
License: GPL
|
License: GPL
|
||||||
## AUTOBUILDREQ-BEGIN
|
## AUTOBUILDREQ-BEGIN
|
||||||
BuildRequires: glibc-devel
|
BuildRequires: glibc-devel
|
||||||
@ -38,9 +39,10 @@ This package contains static libraries and header files needed for development.
|
|||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q
|
%setup -q
|
||||||
|
%patch0 -p1
|
||||||
|
autoreconf -i
|
||||||
|
|
||||||
%build
|
%build
|
||||||
autoreconf -i
|
|
||||||
%configure \
|
%configure \
|
||||||
--enable-cifsidmap
|
--enable-cifsidmap
|
||||||
|
|
||||||
@ -48,7 +50,11 @@ autoreconf -i
|
|||||||
|
|
||||||
%install
|
%install
|
||||||
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
||||||
%makeinstall pamdir=/%{_lib}/security
|
install -d -m0755 %{buildroot}/sbin
|
||||||
|
install -d -m0755 %{buildroot}%{_mandir}/man8
|
||||||
|
%makeinstall pamdir=/%{_lib}/security \
|
||||||
|
ROOTSBINDIR=/sbin \
|
||||||
|
man8dir=%{_mandir}/man8
|
||||||
|
|
||||||
ln -sf mount.cifs %{buildroot}/sbin/mount.smbfs
|
ln -sf mount.cifs %{buildroot}/sbin/mount.smbfs
|
||||||
|
|
||||||
@ -58,11 +64,14 @@ ln -sf mount.cifs %{buildroot}/sbin/mount.smbfs
|
|||||||
%files
|
%files
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
%attr(4750,root,sysadmin) /sbin/mount.cifs
|
%attr(4750,root,sysadmin) /sbin/mount.cifs
|
||||||
|
/sbin/mount.cifs
|
||||||
/sbin/mount.smbfs
|
/sbin/mount.smbfs
|
||||||
|
/sbin/mount.smb3
|
||||||
%{_bindir}/cifscreds
|
%{_bindir}/cifscreds
|
||||||
%{_bindir}/getcifsacl
|
%{_bindir}/getcifsacl
|
||||||
%{_bindir}/setcifsacl
|
%{_bindir}/setcifsacl
|
||||||
%{_bindir}/smbinfo
|
%{_bindir}/smbinfo
|
||||||
|
%{_bindir}/smb2-quota
|
||||||
%{_libdir}/cifs-utils/idmapwb.so
|
%{_libdir}/cifs-utils/idmapwb.so
|
||||||
/%{_lib}/security/pam_cifscreds.so
|
/%{_lib}/security/pam_cifscreds.so
|
||||||
%{_sbindir}/cifs.idmap
|
%{_sbindir}/cifs.idmap
|
||||||
@ -71,10 +80,12 @@ ln -sf mount.cifs %{buildroot}/sbin/mount.smbfs
|
|||||||
%{_mandir}/man1/getcifsacl.1*
|
%{_mandir}/man1/getcifsacl.1*
|
||||||
%{_mandir}/man1/setcifsacl.1*
|
%{_mandir}/man1/setcifsacl.1*
|
||||||
%{_mandir}/man1/smbinfo.1*
|
%{_mandir}/man1/smbinfo.1*
|
||||||
|
%{_mandir}/man1/smb2-quota.1*
|
||||||
%{_mandir}/man8/cifs.idmap.8*
|
%{_mandir}/man8/cifs.idmap.8*
|
||||||
%{_mandir}/man8/cifs.upcall.8*
|
%{_mandir}/man8/cifs.upcall.8*
|
||||||
%{_mandir}/man8/idmapwb.8*
|
%{_mandir}/man8/idmapwb.8*
|
||||||
%{_mandir}/man8/mount.cifs.8*
|
%{_mandir}/man8/mount.cifs.8*
|
||||||
|
%{_mandir}/man8/mount.smb3.8*
|
||||||
%{_mandir}/man8/pam_cifscreds.8*
|
%{_mandir}/man8/pam_cifscreds.8*
|
||||||
%doc AUTHORS COPYING
|
%doc AUTHORS COPYING
|
||||||
# ChangeLog NEWS README
|
# ChangeLog NEWS README
|
||||||
@ -84,6 +95,9 @@ ln -sf mount.cifs %{buildroot}/sbin/mount.smbfs
|
|||||||
%{_includedir}/cifsidmap.h
|
%{_includedir}/cifsidmap.h
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Wed Sep 09 2020 Automatic Build System <autodist@mambasoft.it> 6.10-1mamba
|
||||||
|
- automatic version update by autodist
|
||||||
|
|
||||||
* Thu Nov 14 2019 Automatic Build System <autodist@mambasoft.it> 6.9-1mamba
|
* Thu Nov 14 2019 Automatic Build System <autodist@mambasoft.it> 6.9-1mamba
|
||||||
- automatic version update by autodist
|
- automatic version update by autodist
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user