From fdbc296110addf5d6f1ca909d8485158075933e5 Mon Sep 17 00:00:00 2001 From: Lars Wendler Date: Wed, 24 Feb 2016 11:08:12 +0100 Subject: net-fs/cifs-utils: Removed old. Package-Manager: portage-2.2.27 Signed-off-by: Lars Wendler --- ...cifs-utils-5.5-initialize_rc_var_properly.patch | 38 ---------------------- ...set-parsed_info-got_user-when-a-cred-file.patch | 31 ------------------ 2 files changed, 69 deletions(-) delete mode 100644 net-fs/cifs-utils/files/cifs-utils-5.5-initialize_rc_var_properly.patch delete mode 100644 net-fs/cifs-utils/files/cifs-utils-5.9-set-parsed_info-got_user-when-a-cred-file.patch (limited to 'net-fs/cifs-utils/files') diff --git a/net-fs/cifs-utils/files/cifs-utils-5.5-initialize_rc_var_properly.patch b/net-fs/cifs-utils/files/cifs-utils-5.5-initialize_rc_var_properly.patch deleted file mode 100644 index 2faa853e0a58..000000000000 --- a/net-fs/cifs-utils/files/cifs-utils-5.5-initialize_rc_var_properly.patch +++ /dev/null @@ -1,38 +0,0 @@ -From 0eb3daa4b17ee64b464594f1a5d413ecb364957c Mon Sep 17 00:00:00 2001 -From: Jeff Layton -Date: Thu, 14 Jun 2012 10:59:18 -0400 -Subject: [PATCH 1/1] mount.cifs: set rc to 0 in libcap toggle_dac_capability - -Thus spake Jochen: - -The mount.cifs program from the cifs-utils package 5.5 did not work on -my Linux system. It just exited without an error message and did not -mount anything. - -[...] - -I think, when this variable rc is now used in this function, it has also -to be properly initialized there. - -Reported-by: Jochen Roderburg -Signed-off-by: Jeff Layton ---- - mount.cifs.c | 2 +- - 1 files changed, 1 insertions(+), 1 deletions(-) - -diff --git a/mount.cifs.c b/mount.cifs.c -index a1b0454..6f3f382 100644 ---- a/mount.cifs.c -+++ b/mount.cifs.c -@@ -495,7 +495,7 @@ free_caps: - static int - toggle_dac_capability(int writable, int enable) - { -- int rc; -+ int rc = 0; - cap_t caps; - cap_value_t capability = writable ? CAP_DAC_OVERRIDE : CAP_DAC_READ_SEARCH; - --- -1.7.0.4 - diff --git a/net-fs/cifs-utils/files/cifs-utils-5.9-set-parsed_info-got_user-when-a-cred-file.patch b/net-fs/cifs-utils/files/cifs-utils-5.9-set-parsed_info-got_user-when-a-cred-file.patch deleted file mode 100644 index d06ae015d038..000000000000 --- a/net-fs/cifs-utils/files/cifs-utils-5.9-set-parsed_info-got_user-when-a-cred-file.patch +++ /dev/null @@ -1,31 +0,0 @@ -From: Jeff Layton -Date: Sun, 13 Jan 2013 03:02:01 +0000 (-0500) -Subject: mount.cifs: set parsed_info->got_user when a cred file supplies a username -X-Git-Url: https://gitweb.samba.org/?p=cifs-utils.git;a=commitdiff_plain;h=1a01f7c4b90695211d12291d7a24bec05b1f2922 - -mount.cifs: set parsed_info->got_user when a cred file supplies a username - -commit 85d18a1ed introduced a regression when using a credentials file. -It set the username in the parsed mount info properly, but didn't set -the "got_user" flag in it. - -Also, fix an incorrect strlcpy length specifier in open_cred_file. - -Reported-by: "Mantas M." -Signed-off-by: Jeff Layton ---- - -diff --git a/mount.cifs.c b/mount.cifs.c -index c7c3055..40b77e9 100644 ---- a/mount.cifs.c -+++ b/mount.cifs.c -@@ -581,7 +581,8 @@ static int open_cred_file(char *file_name, - switch (parse_cred_line(line_buf + i, &temp_val)) { - case CRED_USER: - strlcpy(parsed_info->username, temp_val, -- sizeof(parsed_info->domain)); -+ sizeof(parsed_info->username)); -+ parsed_info->got_user = 1; - break; - case CRED_PASS: - i = set_password(parsed_info, temp_val); -- cgit v1.2.3-65-gdbad