Accepting request 1149389 from security

- Use %autosetup macro. Allows to eliminate the usage of deprecated
  %patchN
- Rebase ecryptfs-utils-openssl11.patch: make it apply with patch
  -p1 like all the others.

OBS-URL: https://build.opensuse.org/request/show/1149389
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/ecryptfs-utils?expand=0&rev=56
This commit is contained in:
Ana Guerrero 2024-02-22 20:00:36 +00:00 committed by Git OBS Bridge
commit 5e53867d66
3 changed files with 14 additions and 10 deletions

View File

@ -1,6 +1,6 @@
=== modified file 'src/key_mod/ecryptfs_key_mod_openssl.c'
--- src/key_mod/ecryptfs_key_mod_openssl.c 2013-10-25 19:45:09 +0000
+++ src/key_mod/ecryptfs_key_mod_openssl.c 2017-06-02 18:27:28 +0000
--- a/src/key_mod/ecryptfs_key_mod_openssl.c 2013-10-25 19:45:09 +0000
+++ a/src/key_mod/ecryptfs_key_mod_openssl.c 2017-06-02 18:27:28 +0000
@@ -41,6 +41,7 @@
#include <stdlib.h>
#include <unistd.h>
@ -81,8 +81,8 @@
ENGINE_load_builtin_engines();
=== modified file 'src/key_mod/ecryptfs_key_mod_pkcs11_helper.c'
--- src/key_mod/ecryptfs_key_mod_pkcs11_helper.c 2013-10-25 19:45:09 +0000
+++ src/key_mod/ecryptfs_key_mod_pkcs11_helper.c 2017-06-02 18:27:28 +0000
--- a/src/key_mod/ecryptfs_key_mod_pkcs11_helper.c 2013-10-25 19:45:09 +0000
+++ a/src/key_mod/ecryptfs_key_mod_pkcs11_helper.c 2017-06-02 18:27:28 +0000
@@ -41,6 +41,7 @@
#include <errno.h>
#include <stdlib.h>

View File

@ -1,3 +1,11 @@
-------------------------------------------------------------------
Thu Feb 22 11:29:42 UTC 2024 - Dominique Leuenberger <dimstar@opensuse.org>
- Use %autosetup macro. Allows to eliminate the usage of deprecated
%patchN
- Rebase ecryptfs-utils-openssl11.patch: make it apply with patch
-p1 like all the others.
-------------------------------------------------------------------
Tue Dec 27 10:35:17 UTC 2022 - Ludwig Nussel <lnussel@suse.com>

View File

@ -1,7 +1,7 @@
#
# spec file for package ecryptfs-utils
#
# Copyright (c) 2023 SUSE LLC
# Copyright (c) 2024 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@ -81,11 +81,7 @@ Requires: %{lname} = %{version}
A stacked cryptographic filesystem for Linux.
%prep
%setup -q
%patch0 -p1
%patch1 -p1
%patch2 -p0
%patch3 -p1
%autosetup -p1
%build
export RPM_OPT_FLAGS="%{optflags} -fno-strict-aliasing"