commit cifs-utils for openSUSE:11.4:Update

2012-05-10 Thread h_root
Hello community,

here is the log from the commit of package cifs-utils for openSUSE:11.4:Update 
checked in at 2012-05-10 16:08:20

Comparing /work/SRC/openSUSE:11.4:Update/cifs-utils (Old)
 and  /work/SRC/openSUSE:11.4:Update/.cifs-utils.new (New)


Package is "cifs-utils", Maintainer is "sjayara...@suse.com"

Changes:

New Changes file:

NO CHANGES FILE!!!



Other differences:
--
++ _link ++
--- /var/tmp/diff_new_pack.tUzG6R/_old  2012-05-10 16:08:21.0 +0200
+++ /var/tmp/diff_new_pack.tUzG6R/_new  2012-05-10 16:08:21.0 +0200
@@ -1 +1 @@
-
+

-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org



commit cifs-utils for openSUSE:11.4

2012-03-15 Thread h_root

Hello community,

here is the log from the commit of package cifs-utils for openSUSE:11.4
checked in at Thu Mar 15 21:50:53 CET 2012.




--- old-versions/11.4/UPDATES/all/cifs-utils/cifs-utils.changes 2012-02-22 
14:42:06.0 +0100
+++ 11.4/cifs-utils/cifs-utils.changes  2012-03-09 10:05:03.0 +0100
@@ -1,0 +2,5 @@
+Thu Mar  8 20:12:19 CET 2012 - sjayara...@suse.de
+
+- mount.cifs: Properly update mtab during remount; (bnc#747906).
+
+---

calling whatdependson for 11.4-i586


New:

  mount.cifs-handle-errors-in-del_mtab.patch
  mount.cifs-properly-update-mtab.patch



Other differences:
--
++ cifs-utils.spec ++
--- /var/tmp/diff_new_pack.ebBGPV/_old  2012-03-15 21:50:32.0 +0100
+++ /var/tmp/diff_new_pack.ebBGPV/_new  2012-03-15 21:50:32.0 +0100
@@ -20,7 +20,7 @@
 
 Name:   cifs-utils
 Version:4.9
-Release:1.
+Release:1.
 License:GPLv3+
 Group:  System/Filesystems
 Url:http://www.samba.org/linux-cifs/cifs-utils/
@@ -28,6 +28,8 @@
 Source1:cifs.init
 Source2:mkinitrd_scripts_boot-cifs.sh
 Source3:mkinitrd_scripts_setup-cifs.sh
+Patch1: mount.cifs-properly-update-mtab.patch
+Patch2: mount.cifs-handle-errors-in-del_mtab.patch
 %if 0%{?suse_version}
 PreReq: insserv %{?fillup_prereq} mkinitrd
 %else
@@ -53,6 +55,8 @@
 
 %prep
 %setup -q
+%patch1 -p0
+%patch2 -p0
 
 %build
 %{?suse_update_config:%{suse_update_config -f}}

++ mount.cifs-handle-errors-in-del_mtab.patch ++
commit 92be8b6775958814d39fb19247ff85947a2e4f9e
Author: Jeff Layton 
Date:   Mon Jan 16 13:22:28 2012 -0500

   mount.cifs: handle errors from rename() in del_mtab

The new del_mtab code ignored errors from rename(). Make it handle that
error as well like it does other errors.

Fixes bnc#747906.

Cc: Carlos Maiolino 
Signed-off-by: Jeff Layton 
---
 mount.cifs.c |6 +-
 1 files changed, 5 insertions(+), 1 deletions(-)

Index: mount.cifs.c
===
--- mount.cifs.c.orig
+++ mount.cifs.c
@@ -1592,7 +1592,11 @@ del_mtab(char *mountpoint)
 
endmntent(mntmtab);
 
-   rename(mtabtmpfile, MOUNTED);
+   if (rename(mtabtmpfile, MOUNTED)) {
+   fprintf(stderr, "del_mtab: error %d when renaming mtab in 
place\n", errno);
+   rc = EX_FILEIO;
+   goto del_mtab_error;
+   }
 
 del_mtab_exit:
unlock_mtab();
++ mount.cifs-properly-update-mtab.patch ++
commit f46dd7661cfb87257c95081fc2071c934bfbbb16
Author: Carlos Maiolino 
Date: Mon, 16 Jan 2012 12:29:49 -0500

   mount.cifs: Properly update mtab during remount

During a remount of a cifs filesystem, the mtab file is not properly
updated, which leads to a doubled entry of the same filesystem in the
/etc/mtab file.  This patch adds a new function del_mtab() which is
called before the add_mtab() in case the fs is being remounted.

The del_mtab() function will delete from the mtab, the old entry from
the filesystem which is being remounted, and then, calls add_mtab() to
add an updated entry to the mtab file.

Fixes bnc#747906.

Signed-off-by: Carlos Maiolino 
---
 mount.cifs.c |   99 +-
 1 files changed, 98 insertions(+), 1 deletions(-)

Index: mount.cifs.c
===
--- mount.cifs.c.orig
+++ mount.cifs.c
@@ -42,6 +42,7 @@
 #include 
 #include 
 #include 
+#include 
 #include 
 #include 
 #ifdef HAVE_LIBCAP_NG
@@ -159,6 +160,7 @@
 #define OPT_NOMAND 28
 #define OPT_CRUID  29
 
+#define MNT_TMP_FILE "/.mtab.cifs.XX"
 
 /* struct for holding parsed mount info for use by privleged process */
 struct parsed_mount_info {
@@ -1523,6 +1525,87 @@ add_mtab_exit:
return rc;
 }
 
+static int
+del_mtab(char *mountpoint)
+{
+   int tmprc, rc = 0;
+   FILE *mnttmp, *mntmtab;
+   struct mntent *mountent;
+   char *mtabfile, *mtabdir, *mtabtmpfile;
+
+   mtabfile = strdup(MOUNTED);
+   mtabdir = dirname(mtabfile);
+   mtabdir = realloc(mtabdir, strlen(mtabdir) + strlen(MNT_TMP_FILE) + 2);
+   if (!mtabdir) {
+   fprintf(stderr, "del_mtab: cannot determine current mtab path");
+   rc = EX_FILEIO;
+   goto del_mtab_exit;
+   }
+
+   mtabtmpfile = strcat(mtabdir, MNT_TMP_FILE);
+   if (!mtabtmpfile) {
+   fprintf(stderr, "del_mtab: cannot allocate memory to tmp file");
+   rc = EX_FILEIO;
+   goto del_mtab_exit;
+   }
+
+   atexit(unlock_mtab);
+   rc = lock_mtab();
+   if (rc) {
+   fprintf(stderr, "del_mtab: cannot lock mtab");
+   rc = EX_FILEIO;
+   goto del_mtab_exit;
+   }
+
+  

commit cifs-utils for openSUSE:11.4

2012-02-22 Thread h_root

Hello community,

here is the log from the commit of package cifs-utils for openSUSE:11.4
checked in at Wed Feb 22 16:31:25 CET 2012.




--- old-versions/11.4/all/cifs-utils/cifs-utils.changes 2010-12-07 
14:32:43.0 +0100
+++ 11.4/cifs-utils/cifs-utils.changes  2012-02-22 14:42:06.0 +0100
@@ -1,0 +2,34 @@
+Wed Feb 22 09:27:28 UTC 2012 - sjayara...@suse.com
+
+- Update to cifs-utils 4.9.
+  + mount.cifs: don't try to alter mtab if it's a symlink (bnc#679949).
+  + mount.cifs: fix possible use of uninitialized variable.
+  + mount.cifs: reacquire CAP_DAC_READ_SEARCH before calling mount(2).
+  + mount.cifs: fix handling of scopeid in resolve_host.
+
+- Update to cifs-utils 4.8.1.
+  + fix mis-generated autoconf files.
+
+- Update to cifs-utils 4.8.
+  + mount.cifs: manpage: add entry for "actimeo" option.
+  + cifs-utils: rewrite hardcoded paths in manpages.
+  + cifs-utils: fixes for manpage pathname replacement scheme.
+  + cifs.upcall: fix memory and call krb5_auth_con_free().
+  + cifs.upcall: use krb5_auth_con_set_req_cksumtype() and pass a GSSAPI
+checksum; (bso#7890).
+  + manpage: change port option description.
+  + cifs.upcall: add 'l' to getopt_long string.
+  + cifs.upcall: fix crash when trying to free uninitialized var.
+  + cifs.upcall: consolidate find_krb5_cc calls.
+  + cifs.upcall: clean up key description decoding routine.
+  + cifs.upcall: add keytab support for unattended mounts.
+  + mount.cifs: add cruid= mount option.
+
+- Update to cifs-utils 4.7.
+  + manpage: add mount.cifs manpage entry for "multiuser" option.
+  + mount.cifs: reinstate ip= as an override for address resolution.
+  + mount.cifs: use monotonic time for timeouts.
+  + cifs-utils: infrastructure for stashing passwords in keyring.
+  + cifs-utils: moving resolve_host into separate file.
+
+---

Package does not exist at destination yet. Using Fallback 
old-versions/11.4/all/cifs-utils
Destination is old-versions/11.4/UPDATES/all/cifs-utils
calling whatdependson for 11.4-i586


Old:

  cifs-utils-4.6.tar.bz2

New:

  cifs-utils-4.9.tar.bz2



Other differences:
--
++ cifs-utils.spec ++
--- /var/tmp/diff_new_pack.Is6TiM/_old  2012-02-22 16:26:16.0 +0100
+++ /var/tmp/diff_new_pack.Is6TiM/_new  2012-02-22 16:26:16.0 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package cifs-utils
 #
-# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2012 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
@@ -19,8 +19,8 @@
 Summary:Utilities for doing and managing mounts of the Linux CIFS 
filesystem
 
 Name:   cifs-utils
-Version:4.6
-Release:3.
+Version:4.9
+Release:1.
 License:GPLv3+
 Group:  System/Filesystems
 Url:http://www.samba.org/linux-cifs/cifs-utils/

++ cifs-utils-4.6.tar.bz2 -> cifs-utils-4.9.tar.bz2 ++
 30682 lines of diff (skipped)

continue with "q"...



Remember to have fun...

-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org