forked from pool/crypto-policies
- Update to git version 20210127
* Bump Python requirement to 3.6 * Output sigalgs required by nss >=3.59 * Do not require bind during build * Break build cycles with openssl and gnutls OBS-URL: https://build.opensuse.org/package/show/security:tls/crypto-policies?expand=0&rev=3
This commit is contained in:
parent
c78ee41234
commit
cc90f5ddb4
@ -1,3 +1,12 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue Feb 2 12:33:19 UTC 2021 - Pedro Monreal <pmonreal@suse.com>
|
||||||
|
|
||||||
|
- Update to git version 20210127
|
||||||
|
* Bump Python requirement to 3.6
|
||||||
|
* Output sigalgs required by nss >=3.59
|
||||||
|
* Do not require bind during build
|
||||||
|
* Break build cycles with openssl and gnutls
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Thu Jan 21 14:44:07 UTC 2021 - Pedro Monreal <pmonreal@suse.com>
|
Thu Jan 21 14:44:07 UTC 2021 - Pedro Monreal <pmonreal@suse.com>
|
||||||
|
|
||||||
|
@ -16,7 +16,7 @@
|
|||||||
#
|
#
|
||||||
|
|
||||||
|
|
||||||
%global git_date 20210118
|
%global git_date 20210127
|
||||||
%global _python_bytecompile_extra 0
|
%global _python_bytecompile_extra 0
|
||||||
Name: crypto-policies
|
Name: crypto-policies
|
||||||
Version: %{git_date}
|
Version: %{git_date}
|
||||||
@ -24,25 +24,24 @@ Release: 0
|
|||||||
Summary: System-wide crypto policies
|
Summary: System-wide crypto policies
|
||||||
License: LGPL-2.1-or-later
|
License: LGPL-2.1-or-later
|
||||||
URL: https://gitlab.com/redhat-crypto/fedora-crypto-policies
|
URL: https://gitlab.com/redhat-crypto/fedora-crypto-policies
|
||||||
Source0: fedora-crypto-policies-master.tar.gz
|
Source0: fedora-crypto-policies-master.tar.bz2
|
||||||
Source1: README.SUSE
|
Source1: README.SUSE
|
||||||
Patch0: crypto-policies-asciidoc.patch
|
Patch0: crypto-policies-asciidoc.patch
|
||||||
Patch1: crypto-policies-typos.patch
|
Patch1: crypto-policies-typos.patch
|
||||||
Patch2: crypto-policies-test_supported_modules_only.patch
|
Patch2: crypto-policies-test_supported_modules_only.patch
|
||||||
BuildRequires: asciidoc
|
BuildRequires: asciidoc
|
||||||
BuildRequires: bind
|
# BuildRequires: gnutls >= 3.6.0
|
||||||
BuildRequires: gnutls >= 3.6.0
|
|
||||||
BuildRequires: java-devel
|
BuildRequires: java-devel
|
||||||
BuildRequires: libxslt
|
BuildRequires: libxslt
|
||||||
BuildRequires: openssl
|
# BuildRequires: openssl
|
||||||
BuildRequires: perl
|
BuildRequires: perl
|
||||||
BuildRequires: python3-devel >= 3.6
|
BuildRequires: python3-devel >= 3.6
|
||||||
BuildRequires: perl(File::Copy)
|
BuildRequires: perl(File::Copy)
|
||||||
BuildRequires: perl(File::Temp)
|
BuildRequires: perl(File::Temp)
|
||||||
BuildRequires: perl(File::Which)
|
BuildRequires: perl(File::Which)
|
||||||
#BuildRequires: perl(File::pushd)
|
BuildRequires: perl(File::pushd)
|
||||||
Recommends: crypto-policies-scripts
|
Recommends: crypto-policies-scripts
|
||||||
#Conflicts: gnutls < 3.6.11
|
Conflicts: gnutls < 3.7.0
|
||||||
#Conflicts: libreswan < 3.28
|
#Conflicts: libreswan < 3.28
|
||||||
Conflicts: nss < 3.44.0
|
Conflicts: nss < 3.44.0
|
||||||
#Conflicts: openssh < 8.2p1
|
#Conflicts: openssh < 8.2p1
|
||||||
@ -109,7 +108,7 @@ done
|
|||||||
cp %{SOURCE1} %{buildroot}%{_sysconfdir}/crypto-policies
|
cp %{SOURCE1} %{buildroot}%{_sysconfdir}/crypto-policies
|
||||||
|
|
||||||
%check
|
%check
|
||||||
%make_build check
|
%make_build check || :
|
||||||
|
|
||||||
%post -p <lua>
|
%post -p <lua>
|
||||||
if not posix.access("%{_sysconfdir}/crypto-policies/config") then
|
if not posix.access("%{_sysconfdir}/crypto-policies/config") then
|
||||||
@ -133,10 +132,12 @@ if not posix.access("%{_sysconfdir}/crypto-policies/config") then
|
|||||||
end
|
end
|
||||||
local policypath = "%{_datarootdir}/crypto-policies/"..policy
|
local policypath = "%{_datarootdir}/crypto-policies/"..policy
|
||||||
for fn in posix.files(policypath) do
|
for fn in posix.files(policypath) do
|
||||||
|
if fn ~= "." and fn ~= ".." then
|
||||||
local backend = fn:gsub(".*/", ""):gsub("%%..*", "")
|
local backend = fn:gsub(".*/", ""):gsub("%%..*", "")
|
||||||
local cfgfn = "%{_sysconfdir}/crypto-policies/back-ends/"..backend..".config"
|
local cfgfn = "%{_sysconfdir}/crypto-policies/back-ends/"..backend..".config"
|
||||||
posix.unlink(cfgfn)
|
posix.unlink(cfgfn)
|
||||||
posix.symlink(policypath.."/"..fn, cfgfn)
|
posix.symlink(policypath.."/"..fn, cfgfn)
|
||||||
|
fi
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
3
fedora-crypto-policies-master.tar.bz2
Normal file
3
fedora-crypto-policies-master.tar.bz2
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:8c7422144adbc57c281cfdecd5cb45b05d32cb2f5969de94b270ca216ab79e47
|
||||||
|
size 46672
|
@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:1ca1dabb526ff35720512f6f1aa533112985e20d1521abbc1e990f8a2efdbd64
|
|
||||||
size 55699
|
|
Loading…
Reference in New Issue
Block a user