mirror of
https://github.com/PowerShell/openssh-portable.git
synced 2025-07-26 23:34:55 +02:00
Update openssl-devel dependency in RPM spec.
Since openssh 9.4p1, openssl >= 1.1.1 is required, so build with --without-openssl elsewhere. According to https://repology.org/project/openssl/versions openssl 1.1.1 is available on fedora >= 29 and rhel >= 8. Successfully build tested, installed and run on rhel 6
This commit is contained in:
parent
064e09cd63
commit
c2003d0dbd
@ -31,10 +31,13 @@
|
|||||||
%global build6x 1
|
%global build6x 1
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
%if 0%{?fedora} >= 26
|
%global without_openssl 0
|
||||||
%global compat_openssl 1
|
# build without openssl where 1.1.1 is not available
|
||||||
%else
|
%if 0%{?fedora} <= 28
|
||||||
%global compat_openssl 0
|
%global without_openssl 1
|
||||||
|
%endif
|
||||||
|
%if 0%{?rhel} <= 7
|
||||||
|
%global without_openssl 1
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
# Do we want kerberos5 support (1=yes 0=no)
|
# Do we want kerberos5 support (1=yes 0=no)
|
||||||
@ -96,11 +99,8 @@ PreReq: initscripts >= 5.00
|
|||||||
Requires: initscripts >= 5.20
|
Requires: initscripts >= 5.20
|
||||||
%endif
|
%endif
|
||||||
BuildRequires: perl
|
BuildRequires: perl
|
||||||
%if %{compat_openssl}
|
%if ! %{without_openssl}
|
||||||
BuildRequires: compat-openssl10-devel
|
BuildRequires: openssl-devel >= 1.1.1
|
||||||
%else
|
|
||||||
BuildRequires: openssl-devel >= 1.0.1
|
|
||||||
BuildRequires: openssl-devel < 1.1
|
|
||||||
%endif
|
%endif
|
||||||
BuildRequires: /bin/login
|
BuildRequires: /bin/login
|
||||||
%if ! %{build6x}
|
%if ! %{build6x}
|
||||||
@ -214,6 +214,9 @@ CFLAGS="$RPM_OPT_FLAGS -Os"; export CFLAGS
|
|||||||
--mandir=%{_mandir} \
|
--mandir=%{_mandir} \
|
||||||
--with-mantype=man \
|
--with-mantype=man \
|
||||||
--disable-strip \
|
--disable-strip \
|
||||||
|
%if %{without_openssl}
|
||||||
|
--without-openssl \
|
||||||
|
%endif
|
||||||
%if %{scard}
|
%if %{scard}
|
||||||
--with-smartcard \
|
--with-smartcard \
|
||||||
%endif
|
%endif
|
||||||
@ -421,6 +424,8 @@ fi
|
|||||||
%changelog
|
%changelog
|
||||||
* Mon Oct 16 2023 Fabio Pedretti <pedretti.fabio@gmail.com>
|
* Mon Oct 16 2023 Fabio Pedretti <pedretti.fabio@gmail.com>
|
||||||
- Remove reference of dropped sshd.pam.old file
|
- Remove reference of dropped sshd.pam.old file
|
||||||
|
- Update openssl-devel dependency to require >= 1.1.1
|
||||||
|
- Build with --without-openssl elsewhere
|
||||||
|
|
||||||
* Thu Oct 28 2021 Damien Miller <djm@mindrot.org>
|
* Thu Oct 28 2021 Damien Miller <djm@mindrot.org>
|
||||||
- Remove remaining traces of --with-md5-passwords
|
- Remove remaining traces of --with-md5-passwords
|
||||||
|
Loading…
x
Reference in New Issue
Block a user