cifs-utils/fix-sbin-install-error.patch

14 lines
462 B
Diff
Raw Normal View History

Accepting request 877262 from home:aaptel:cifs-utils-next - Update to cifs-utils 6.12 * remove cifs-utils-6.11.tar.bz2 * remove cifs-utils-6.11.tar.bz2.asc * add cifs-utils-6.12.tar.bz2 * add cifs-utils-6.12.tar.bz2.asc - Remove backports already in 6.12 * remove 0001-cifs-utils-Respect-DESTDIR-when-installing-smb3-stuf.patch * remove 0002-cifs-utils-fix-probabilistic-compiling-error.patch - Refresh Makefile.am install fix * modify fix-sbin-install-error.patch - Hardcode python3 interpreter in shebang of smbinfo instead of /usr/bin/env to let rpm runtime dependency detect it. - Update to cifs-utils 6.11 * remove cifs-utils-6.9.tar.bz2 * remove cifs-utils-6.9.tar.bz2.asc * add cifs-utils-6.11.tar.bz2 * add cifs-utils-6.11.tar.bz2.asc - Remove backports already in 6.11 * remove 0001-smbinfo-Improve-help-usage-and-add-h-option.patch * remove 0002-smbinfo-Add-bash-completion-support-for-smbinfo.patch * remove 0003-getcifsacl-Add-support-to-accept-more-paths.patch * remove 0004-getcifsacl-Fix-usage-message-to-include-multiple-fil.patch * remove 0005-smbinfo-add-GETCOMPRESSION-support.patch * remove 0006-getcifsacl-Add-support-for-R-recursive-option.patch * remove 0007-smbinfo-add-bash-completion-support-for-getcompressi.patch * remove 0008-mount.cifs.c-fix-memory-leaks-in-main-func.patch * remove 0009-Zero-fill-the-allocated-memory-for-new-struct-cifs_n.patch * remove 0010-Zero-fill-the-allocated-memory-for-a-new-ACE.patch * remove 0011-fix-doublefree.patch * remove 0012-mount.cifs-Fix-invalid-free.patch * remove 0013-CVE-2020-14342-mount.cifs-fix-shell-command-injectio.patch - Add fixes for autoconf and make install issues * add fix-sbin-install-error.patch * add 0001-cifs-utils-Respect-DESTDIR-when-installing-smb3-stuf.patch * add 0002-cifs-utils-fix-probabilistic-compiling-error.patch - Hardcode python3 interpreter in shebang of smb2-quota instead of /usr/bin/env to let rpm runtime dependency detect it. OBS-URL: https://build.opensuse.org/request/show/877262 OBS-URL: https://build.opensuse.org/package/show/network:samba:STABLE/cifs-utils?expand=0&rev=188
2021-03-05 16:46:11 +01:00
Index: cifs-utils-6.12/Makefile.am
===================================================================
--- cifs-utils-6.12.orig/Makefile.am
+++ cifs-utils-6.12/Makefile.am
@@ -118,7 +118,7 @@ endif
SUBDIRS = contrib
install-exec-hook: install-sbinPROGRAMS
- (cd $(DESTDIR)$(ROOTSBINDIR) && ln -sf mount.cifs mount.smb3)
+ (mkdir -p $(DESTDIR)$(ROOTSBINDIR) && cd $(DESTDIR)$(ROOTSBINDIR) && ln -sf mount.cifs mount.smb3)
install-data-hook:
if CONFIG_MAN