2014-04-27 19:31:55 +02:00
|
|
|
#
|
|
|
|
# spec file for package sslscan
|
|
|
|
#
|
2022-01-10 13:12:21 +01:00
|
|
|
# Copyright (c) 2022 SUSE LLC
|
2014-04-27 19:31:55 +02:00
|
|
|
#
|
|
|
|
# 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.
|
|
|
|
|
2020-07-22 17:03:09 +02:00
|
|
|
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
2014-04-27 19:31:55 +02:00
|
|
|
#
|
|
|
|
|
2016-10-31 12:09:56 +01:00
|
|
|
|
2014-04-27 19:31:55 +02:00
|
|
|
Name: sslscan
|
2022-03-28 08:41:31 +02:00
|
|
|
Version: 2.0.12
|
2014-04-27 19:31:55 +02:00
|
|
|
Release: 0
|
|
|
|
Summary: SSL cipher scanning tool
|
2017-12-18 06:58:35 +01:00
|
|
|
License: SUSE-GPL-3.0+-with-openssl-exception
|
2014-04-27 19:31:55 +02:00
|
|
|
Group: Productivity/Networking/Diagnostic
|
2022-01-10 13:12:21 +01:00
|
|
|
URL: https://github.com/rbsec/sslscan
|
2020-07-23 14:28:14 +02:00
|
|
|
Source: https://github.com/rbsec/sslscan/archive/%{version}.tar.gz#/%{name}-%{version}.tar.gz
|
2014-04-27 19:31:55 +02:00
|
|
|
#Patches copied from Debian package
|
2017-12-18 06:58:35 +01:00
|
|
|
Patch1: fedora-sslscan-patents.patch
|
2018-02-02 13:35:14 +01:00
|
|
|
BuildRequires: pkgconfig
|
2020-07-23 14:28:14 +02:00
|
|
|
BuildRequires: pkgconfig(libssl) >= 1.1.1
|
2014-04-27 19:31:55 +02:00
|
|
|
|
|
|
|
%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
|
2020-07-23 14:28:14 +02:00
|
|
|
%setup -q
|
2017-12-17 09:08:18 +01:00
|
|
|
%if %{defined fedora}
|
2017-12-18 06:58:35 +01:00
|
|
|
%patch1 -p1
|
2014-04-27 19:31:55 +02:00
|
|
|
%endif
|
|
|
|
|
|
|
|
%build
|
2020-07-23 14:28:14 +02:00
|
|
|
%make_build CFLAGS="%{optflags} -fPIE"
|
2014-04-27 19:31:55 +02:00
|
|
|
|
|
|
|
%install
|
|
|
|
install -d "%{buildroot}%{_bindir}"
|
|
|
|
install -d "%{buildroot}%{_mandir}/man1"
|
2016-10-31 12:09:56 +01:00
|
|
|
make install PREFIX="%{buildroot}%{_prefix}"
|
2014-04-27 19:31:55 +02:00
|
|
|
|
|
|
|
%files
|
2017-12-25 07:37:31 +01:00
|
|
|
%defattr(0644,root,root)
|
2020-07-22 17:03:09 +02:00
|
|
|
%doc README.md
|
|
|
|
%license LICENSE
|
2016-10-31 12:09:56 +01:00
|
|
|
%attr(0755,root,root) %{_bindir}/sslscan
|
2020-07-23 14:28:14 +02:00
|
|
|
%{_mandir}/man1/sslscan.1%{?ext_man}
|
2014-04-27 19:31:55 +02:00
|
|
|
|
|
|
|
%changelog
|