Accepting request 583081 from network

- add OpenSSL 1.0 to 1.1 shim to remove dependency on old OpenSSL
  (update tracker: bsc#1080779)

OBS-URL: https://build.opensuse.org/request/show/583081
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/openssh?expand=0&rev=115
This commit is contained in:
Dominique Leuenberger 2018-03-08 09:54:05 +00:00 committed by Git OBS Bridge
commit adf0854dff
4 changed files with 17 additions and 10 deletions

View File

@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1 version https://git-lfs.github.com/spec/v1
oid sha256:1b8b4090d531508f682c5169927e1baa356e6ca19d95baf10bdece9a0f6e1e78 oid sha256:476f021b1259a5b25c56ef81624e0c6fba39834f6432776c75c1700715daf616
size 78356 size 99505

View File

@ -1,7 +1,7 @@
# #
# spec file for package openssh-askpass-gnome # spec file for package openssh-askpass-gnome
# #
# Copyright (c) 2018 SUSE LINUX Products GmbH, Nuernberg, Germany. # Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
# #
# All modifications and additions to the file contributed by third parties # All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed # remain the property of their copyright owners, unless otherwise agreed

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Mon Feb 12 22:55:01 UTC 2018 - pcerny@suse.com
- add OpenSSL 1.0 to 1.1 shim to remove dependency on old OpenSSL
(update tracker: bsc#1080779)
------------------------------------------------------------------- -------------------------------------------------------------------
Wed Jan 31 13:31:41 UTC 2018 - pcerny@suse.com Wed Jan 31 13:31:41 UTC 2018 - pcerny@suse.com

View File

@ -1,7 +1,7 @@
# #
# spec file for package openssh # spec file for package openssh
# #
# Copyright (c) 2018 SUSE LINUX Products GmbH, Nuernberg, Germany. # Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
# #
# All modifications and additions to the file contributed by third parties # All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed # remain the property of their copyright owners, unless otherwise agreed
@ -82,19 +82,14 @@ BuildRequires: libedit-devel
%if %{has_libselinux} %if %{has_libselinux}
BuildRequires: libselinux-devel BuildRequires: libselinux-devel
%endif %endif
%if %{suse_version} < 1330
BuildRequires: openssl-devel
%else
BuildRequires: libopenssl-1_0_0-devel
%endif
BuildRequires: openldap2-devel BuildRequires: openldap2-devel
BuildRequires: openssl-devel
BuildRequires: pam-devel BuildRequires: pam-devel
%if %{uses_systemd} %if %{uses_systemd}
BuildRequires: pkgconfig(libsystemd) BuildRequires: pkgconfig(libsystemd)
BuildRequires: pkgconfig(systemd) BuildRequires: pkgconfig(systemd)
%{?systemd_requires} %{?systemd_requires}
%endif %endif
BuildRequires: tcpd-devel
PreReq: pwdutils %{fillup_prereq} coreutils PreReq: pwdutils %{fillup_prereq} coreutils
%if ! %{uses_systemd} %if ! %{uses_systemd}
PreReq: %{insserv_prereq} PreReq: %{insserv_prereq}
@ -175,6 +170,12 @@ cp %{SOURCE3} %{SOURCE4} %{SOURCE11} .
# patch sources # patch sources
PATCH_DIR="../SUSE_patches" PATCH_DIR="../SUSE_patches"
cat $PATCH_DIR/patch.series | while read p; do cat $PATCH_DIR/patch.series | while read p; do
%if %{suse_version} < 1330
if echo "$p" | grep openssl_1.1.0.patch ; then
printf ">> skipping '$p'"
continue
fi
%endif
printf ">> applying '$p'\n" printf ">> applying '$p'\n"
patch -p2 < "${PATCH_DIR}/$p" patch -p2 < "${PATCH_DIR}/$p"
done done