cifs-utils/Makefile.am-wo_libcapng.diff
Lars Müller 1ccd8cb8c2 The patch to Makefile.am is hacky!
- Update to cifs-utils 4.3.
  + credential files accept parameter names consistent with mount options.
  + some problems with linking are fixed.
  + libcap-ng is used if it's available.
  + the capability bounding set is zeroed out for greater security.
  + CAP_DAC_OVERRIDE is only enabled when updating the mtab.

OBS-URL: https://build.opensuse.org/package/show/network:samba:STABLE/cifs-utils?expand=0&rev=12
2010-04-13 13:30:50 +00:00

19 lines
574 B
Diff

Author: Lars Mueller <lmuelle at suse dot de>
Subject: Make cifs-utils 4.3 build on systems without libcap-ng
X-Hack-Rate: 100%
X-Reported-Upstream: No
Index: cifs-utils-4.3/Makefile.am
===================================================================
--- cifs-utils-4.3.orig/Makefile.am
+++ cifs-utils-4.3/Makefile.am
@@ -4,7 +4,7 @@ ACLOCAL_AMFLAGS = -I aclocal
root_sbindir = "/sbin"
root_sbin_PROGRAMS = mount.cifs
mount_cifs_SOURCES = mount.cifs.c mtab.c util.c
-mount_cifs_LDADD = @LIBCAP@ @CAPNG_LDADD@
+mount_cifs_LDADD = @LIBCAP@
man_MANS = mount.cifs.8