From d5d6ced6304ddf65b9508ed3735e1642ea7579ba Mon Sep 17 00:00:00 2001 From: Automatic Build System Date: Fri, 5 Jan 2024 21:21:27 +0100 Subject: [PATCH] automatic version update by autodist [release 6.10-1mamba;Wed Sep 09 2020] --- cifs-utils-6.10-DESTDIR.patch | 18 ++++++++++++++++++ cifs-utils.spec | 20 +++++++++++++++++--- 2 files changed, 35 insertions(+), 3 deletions(-) create mode 100644 cifs-utils-6.10-DESTDIR.patch diff --git a/cifs-utils-6.10-DESTDIR.patch b/cifs-utils-6.10-DESTDIR.patch new file mode 100644 index 0000000..7ebf992 --- /dev/null +++ b/cifs-utils-6.10-DESTDIR.patch @@ -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) diff --git a/cifs-utils.spec b/cifs-utils.spec index f942562..2c5fed0 100644 --- a/cifs-utils.spec +++ b/cifs-utils.spec @@ -1,5 +1,5 @@ Name: cifs-utils -Version: 6.9 +Version: 6.10 Release: 1mamba Summary: A set of user-space tools to manage the in-kernel CIFS filesystem Group: System/Kernel and Hardware @@ -8,6 +8,7 @@ Distribution: openmamba Packager: Silvan Calarco URL: http://wiki.samba.org/index.php/LinuxCIFS_utils Source: http://ftp.samba.org/pub/linux-cifs/cifs-utils/cifs-utils-%{version}.tar.bz2 +Patch0: cifs-utils-6.10-DESTDIR.patch License: GPL ## AUTOBUILDREQ-BEGIN BuildRequires: glibc-devel @@ -38,9 +39,10 @@ This package contains static libraries and header files needed for development. %prep %setup -q +%patch0 -p1 +autoreconf -i %build -autoreconf -i %configure \ --enable-cifsidmap @@ -48,7 +50,11 @@ autoreconf -i %install [ "%{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 @@ -58,11 +64,14 @@ ln -sf mount.cifs %{buildroot}/sbin/mount.smbfs %files %defattr(-,root,root) %attr(4750,root,sysadmin) /sbin/mount.cifs +/sbin/mount.cifs /sbin/mount.smbfs +/sbin/mount.smb3 %{_bindir}/cifscreds %{_bindir}/getcifsacl %{_bindir}/setcifsacl %{_bindir}/smbinfo +%{_bindir}/smb2-quota %{_libdir}/cifs-utils/idmapwb.so /%{_lib}/security/pam_cifscreds.so %{_sbindir}/cifs.idmap @@ -71,10 +80,12 @@ ln -sf mount.cifs %{buildroot}/sbin/mount.smbfs %{_mandir}/man1/getcifsacl.1* %{_mandir}/man1/setcifsacl.1* %{_mandir}/man1/smbinfo.1* +%{_mandir}/man1/smb2-quota.1* %{_mandir}/man8/cifs.idmap.8* %{_mandir}/man8/cifs.upcall.8* %{_mandir}/man8/idmapwb.8* %{_mandir}/man8/mount.cifs.8* +%{_mandir}/man8/mount.smb3.8* %{_mandir}/man8/pam_cifscreds.8* %doc AUTHORS COPYING # ChangeLog NEWS README @@ -84,6 +95,9 @@ ln -sf mount.cifs %{buildroot}/sbin/mount.smbfs %{_includedir}/cifsidmap.h %changelog +* Wed Sep 09 2020 Automatic Build System 6.10-1mamba +- automatic version update by autodist + * Thu Nov 14 2019 Automatic Build System 6.9-1mamba - automatic version update by autodist