Git-Url: 
http://git.frugalware.org/gitweb/gitweb.cgi?p=frugalware-current.git;a=commitdiff;h=6903169de5b03226c23d67f064cacb87b44075c3

commit 6903169de5b03226c23d67f064cacb87b44075c3
Author: DeX77 <[email protected]>
Date:   Fri Jan 10 10:35:34 2014 +0100

cifs-utils-6.3-1-x86_64

* version bump

diff --git a/source/network-extra/cifs-utils/FrugalBuild 
b/source/network-extra/cifs-utils/FrugalBuild
index 27e23b0..2cb98a8 100644
--- a/source/network-extra/cifs-utils/FrugalBuild
+++ b/source/network-extra/cifs-utils/FrugalBuild
@@ -4,14 +4,13 @@
options+=('asneeded')

pkgname=cifs-utils
-pkgver=6.2
+pkgver=6.3
pkgrel=1
pkgdesc="A set of user-space tools for the in-kernel CIFS filesystem"
archs=('i686' 'x86_64')
groups=('network-extra')
url="http://wiki.samba.org/index.php/LinuxCIFS_utils";
source=("ftp://ftp.samba.org/pub/linux-cifs/cifs-utils/$pkgname-$pkgver.tar.bz2";)
-
signatures=("${source[0]}.asc" )
up2date="Flasttar ftp://ftp.samba.org/pub/linux-cifs/cifs-utils";
depends=('libcap' 'talloc' 'libkrb5' 'keyutils')
diff --git a/source/network-extra/cifs-utils/no_more_werror.patch 
b/source/network-extra/cifs-utils/no_more_werror.patch
deleted file mode 100644
index 3e9cfc3..0000000
--- a/source/network-extra/cifs-utils/no_more_werror.patch
+++ /dev/null
@@ -1,77 +0,0 @@
-From 8c6268cbbd4202631e5c4b30297adc0088a1d568 Mon Sep 17 00:00:00 2001
-From: Jeff Layton <[email protected]>
-Date: Thu, 19 Apr 2012 07:29:46 -0400
-Subject: [PATCH 1/1] mount.cifs: fix up some -D_FORTIFY_SOURCE=2 warnings
-
-...and add -D_FORTIFY_SOURCE=2 to the default $CFLAGS.
-
-Acked-by: Acked-by: Suresh Jayaraman <[email protected]>
-Signed-off-by: Jeff Layton <[email protected]>
----
- Makefile.am  |    2 +-
- mount.cifs.c |   14 ++++++++------
- mtab.c       |    4 +++-
- 3 files changed, 12 insertions(+), 8 deletions(-)
-
-diff --git a/Makefile.am b/Makefile.am
-index d95142a..05729ca 100644
---- a/Makefile.am
-+++ b/Makefile.am
-@@ -1,4 +1,4 @@
--AM_CFLAGS = -Wall -Wextra -Werror
-+AM_CFLAGS = -Wall -Wextra -Werror -D_FORTIFY_SOURCE=2
- ACLOCAL_AMFLAGS = -I aclocal
-
- root_sbindir = $(ROOTSBINDIR)
-diff --git a/mount.cifs.c b/mount.cifs.c
-index f0b073e..2c481d8 100644
---- a/mount.cifs.c
-+++ b/mount.cifs.c
-@@ -927,11 +927,11 @@ parse_options(const char *data, struct parsed_mount_info 
*parsed_info)
-                                       return EX_USAGE;
-                               }
-                       } else {
--                              /* domain/username%password */
--                              const int max = MAX_DOMAIN_SIZE +
--                                              MAX_USERNAME_SIZE +
--                                              MOUNT_PASSWD_SIZE + 2;
--                              if (strnlen(value, max + 1) >= max + 1) {
-+                              /* domain/username%password  + NULL term. */
-+                              const size_t max = MAX_DOMAIN_SIZE +
-+                                                 MAX_USERNAME_SIZE +
-+                                                 MOUNT_PASSWD_SIZE + 2 + 1;
-+                              if (strnlen(value, max) >= max) {
-                                       fprintf(stderr, "username too long\n");
-                                       return EX_USAGE;
-                               }
-@@ -1603,8 +1603,10 @@ add_mtab(char *devname, char *mountpoint, unsigned long 
flags, const char *fstyp
-       mountent.mnt_passno = 0;
-       rc = addmntent(pmntfile, &mountent);
-       if (rc) {
-+              int ignore __attribute__((unused));
-+
-               fprintf(stderr, "unable to add mount entry to mtab\n");
--              ftruncate(fd, statbuf.st_size);
-+              ignore = ftruncate(fd, statbuf.st_size);
-               rc = EX_FILEIO;
-       }
-       tmprc = my_endmntent(pmntfile, statbuf.st_size);
-diff --git a/mtab.c b/mtab.c
-index de545b7..3d42ac0 100644
---- a/mtab.c
-+++ b/mtab.c
-@@ -271,8 +271,10 @@ my_endmntent(FILE *stream, off_t size)
-
-       /* truncate file back to "size" -- best effort here */
-       if (rc) {
-+              int ignore __attribute__((unused));
-+
-               rc = errno;
--              ftruncate(fd, size);
-+              ignore = ftruncate(fd, size);
-       }
-
-       endmntent(stream);
---
-1.7.0.4
-
diff --git a/source/network-extra/cifs-utils/store_return_code.patch 
b/source/network-extra/cifs-utils/store_return_code.patch
deleted file mode 100644
index 08398ec..0000000
--- a/source/network-extra/cifs-utils/store_return_code.patch
+++ /dev/null
@@ -1,38 +0,0 @@
-From 0aa12de5c1565d56a240d7b0dd814316f4ea81f3 Mon Sep 17 00:00:00 2001
-From: Lars Mueller <[email protected]>
-Date: Fri, 20 Apr 2012 07:59:15 -0400
-Subject: [PATCH] mount.cifs: toggle_dac_capability() stores return code
-
-the build process of the cifs-utils for Mandriva 2011 made me notice of
-the unused variable rc in toggle_dac_capability() of mount.cifs.c.
-
-A bit up in the code we store the return value and do not make use of it
-while calling return.
-
-The attached patch intends to fix this.
-
-The failing build result is still visible at
-https://build.opensuse.org/package/live_build_log?arch=x86_64&package=cifs-utils&project=network%3Asamba%3ASTABLE&repository=Mandriva_2011
-
-Acked-by: Suresh Jayaraman <[email protected]>
-Signed-off-by: Lars Mueller <[email protected]>
----
- mount.cifs.c |    2 +-
- 1 files changed, 1 insertions(+), 1 deletions(-)
-
-diff --git a/mount.cifs.c b/mount.cifs.c
-index a363b61..06715dd 100644
---- a/mount.cifs.c
-+++ b/mount.cifs.c
-@@ -577,7 +577,7 @@ toggle_dac_capability(int writable, int enable)
-       }
- free_caps:
-       cap_free(caps);
--      return 0;
-+      return rc;
- }
- #else /* HAVE_LIBCAP */
- static int
---
-1.7.0.4
-
_______________________________________________
Frugalware-git mailing list
[email protected]
http://frugalware.org/mailman/listinfo/frugalware-git

Reply via email to