Hello community, here is the log from the commit of package cifs-utils for openSUSE:Factory checked in at 2014-04-03 16:38:27 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/cifs-utils (Old) and /work/SRC/openSUSE:Factory/.cifs-utils.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "cifs-utils" Changes: -------- --- /work/SRC/openSUSE:Factory/cifs-utils/cifs-utils.changes 2013-10-10 08:26:19.000000000 +0200 +++ /work/SRC/openSUSE:Factory/.cifs-utils.new/cifs-utils.changes 2014-04-03 16:38:28.000000000 +0200 @@ -1,0 +2,11 @@ +Thu Mar 20 19:40:40 UTC 2014 - [email protected] + +- Update to cifs-utils 6.3. + + fixes for various bugs turned up by Coverity + + clean unused cruft out of upcall binary + + add new pam_cifscreds PAM module for establishing NTLM creds on login + which BuildRequires the pam-devel package +- Make the PAM security directory configurable at compile time; (bso#10513). + + Make_the_PAM_security_directory_configurable_at_compile_time.patch + +------------------------------------------------------------------- Old: ---- cifs-utils-6.2.tar.bz2 cifs-utils-6.2.tar.bz2.asc New: ---- Make_the_PAM_security_directory_configurable_at_compile_time.patch cifs-utils-6.3.tar.bz2 cifs-utils-6.3.tar.bz2.asc ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ cifs-utils.spec ++++++ --- /var/tmp/diff_new_pack.hDZJrV/_old 2014-04-03 16:38:28.000000000 +0200 +++ /var/tmp/diff_new_pack.hDZJrV/_new 2014-04-03 16:38:28.000000000 +0200 @@ -1,7 +1,7 @@ # # spec file for package cifs-utils # -# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -17,7 +17,7 @@ Name: cifs-utils -Version: 6.2 +Version: 6.3 Release: 0 Summary: Utilities for doing and managing mounts of the Linux CIFS filesyste License: GPL-3.0+ @@ -35,6 +35,7 @@ Source2: mkinitrd_scripts_boot-cifs.sh Source3: mkinitrd_scripts_setup-cifs.sh Source4: cifstab +Patch: Make_the_PAM_security_directory_configurable_at_compile_time.patch %if 0%{?suse_version} PreReq: insserv %{?fillup_prereq} mkinitrd %else @@ -67,6 +68,7 @@ %if 0%{?centos_version} > 599 || 0%{?fedora_version} > 14 || 0%{?rhel_version} > 599 || 0%{?suse_version} > 1020 BuildRequires: libwbclient-devel %endif +BuildRequires: pam-devel %if 0%{?suse_version} > 1020 BuildRequires: pkg-config %else @@ -91,14 +93,31 @@ on Microsoft Windows machines. This package contains the header file necessary for building ID mapping plugins for cifs-utils. +%package -n pam_cifscreds +Summary: PAM module to manage NTLM credentials in kernel keyring +Group: System/Libraries + +%description -n pam_cifscreds +The pam_cifscreds PAM module is a tool for automatically adding +credentials (username and password) for the purpose of establishing +sessions in multiuser mounts. + +When a cifs filesystem is mounted with the "multiuser" option, and does +not use krb5 authentication, it needs to be able to get the credentials +for each user from somewhere. The pam_cifscreds module can be used to +provide these credentials to the kernel automatically at login. + %prep %{?gpg_verify: %gpg_verify --keyring %{SOURCE6} %{SOURCE5}} %setup -q +%patch -p1 %build export CFLAGS="$RPM_OPT_FLAGS -D_GNU_SOURCE -fpie" export LDFLAGS="-pie" -%{configure} +autoreconf -i +%{configure} \ + --with-pamdir=/%{_lib}/security %{__make} %{?_smp_mflags} %install @@ -208,4 +227,9 @@ %defattr(-,root,root) %{_includedir}/cifsidmap.h +%files -n pam_cifscreds +%defattr(-,root,root) +/%{_lib}/security/pam_cifscreds.so +%{_mandir}/man8/pam_cifscreds.8.* + %changelog ++++++ Make_the_PAM_security_directory_configurable_at_compile_time.patch ++++++ Author: Lars Mueller <[email protected]> Subject: Make PAM security install directory configurable at compile time Reported-upstream: yes Bugzilla: bso#10513 Index: cifs-utils-6.3/configure.ac =================================================================== --- cifs-utils-6.3.orig/configure.ac +++ cifs-utils-6.3/configure.ac @@ -58,6 +58,12 @@ AC_ARG_WITH(idmap-plugin, AC_DEFINE_UNQUOTED(IDMAP_PLUGIN_PATH, "$pluginpath", [Location of plugin that ID mapping infrastructure should use. (usually a symlink to real plugin)]) AC_SUBST([pluginpath]) +AC_ARG_WITH(pamdir, + [AC_HELP_STRING([--with-pamdir=DIR],[Where to install the PAM module [[$(libdir)/security]]])], + pamdir=$withval, + pamdir="\$(libdir)/security") +AC_SUBST([pamdir]) + # check for ROOTSBINDIR environment var if test -z $ROOTSBINDIR; then ROOTSBINDIR="/sbin" Index: cifs-utils-6.3/Makefile.am =================================================================== --- cifs-utils-6.3.orig/Makefile.am +++ cifs-utils-6.3/Makefile.am @@ -92,8 +92,6 @@ idmapwb.8: idmapwb.8.in endif if CONFIG_PAM -pamdir = $(libdir)/security - pam_PROGRAMS = pam_cifscreds.so pam_cifscreds.so: pam_cifscreds.c cifskey.c resolve_host.c util.c ++++++ cifs-utils-6.2.tar.bz2 -> cifs-utils-6.3.tar.bz2 ++++++ ++++ 5239 lines of diff (skipped) -- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
