SHA256
1
0
forked from pool/sslscan
sslscan/sslscan.spec
Johannes Weberhofer 2779045d1d Accepting request 822258 from home:wfrisch:branches:security
- Upgrade to version 2.0.0-beta6
  * Various bugfixes
  * Added -4 and -6 options to force IPv4 and IPv6.
  * Added strength attribute to XML to reflect colouring in stdout
  * Checks for server signature algorithms.
  * Checks for server key exchange groups.
  * Support for SSLv2 and SSLv3 protocol detection regardless of OpenSSL
  * Support for TLSv1.3
  * Support for additional cipher suites.
  * Print curve name and key strength for ECC certs
  * Fix a bug with servers that return incorrect cipher IDs.
  * Add a new "<certificates>" element to the XML output.
  * Remove the "Signature Algorithm:" text and spacing from the XML.
  * Report servers that accept any signature algorithm in the XML
- Rebased fedora-sslscan-patents.patch
- OpenSSL dependency bumped to >= 1.1

OBS-URL: https://build.opensuse.org/request/show/822258
OBS-URL: https://build.opensuse.org/package/show/security/sslscan?expand=0&rev=18
2020-07-22 15:03:09 +00:00

64 lines
1.9 KiB
RPMSpec

#
# spec file for package sslscan
#
# Copyright (c) 2020 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via https://bugs.opensuse.org/
#
Name: sslscan
Version: 2.0.0~beta6
Release: 0
%define UpstreamVersion 2.0.0-beta6
Summary: SSL cipher scanning tool
License: SUSE-GPL-3.0+-with-openssl-exception
Group: Productivity/Networking/Diagnostic
Source: https://github.com/rbsec/sslscan/archive/%{UpstreamVersion}.tar.gz#/%{name}-%{version}.tar.gz
#Patches copied from Debian package
Patch1: fedora-sslscan-patents.patch
BuildRequires: pkgconfig
BuildRequires: pkgconfig(libssl) >= 1.1.0
%if 0%{?sle_version}
%ifarch x86_64
BuildRequires: glibc-devel-32bit(x86-32)
%endif
%endif
%description
SSLScan determines what ciphers are supported on SSL-based services,
such as HTTPS. Furthermore, SSLScan will determine the preferred
ciphers of the SSL service.
%prep
%setup -q -n %{name}-%{UpstreamVersion}
%if %{defined fedora}
%patch1 -p1
%endif
%build
make CFLAGS="%{optflags} -fPIE" %{?_smp_mflags}
%install
install -d "%{buildroot}%{_bindir}"
install -d "%{buildroot}%{_mandir}/man1"
make install PREFIX="%{buildroot}%{_prefix}"
%files
%defattr(0644,root,root)
%doc README.md
%license LICENSE
%attr(0755,root,root) %{_bindir}/sslscan
%{_mandir}/man1/sslscan.1%{ext_man}
%changelog