forked from pool/sslscan
e3ad59bcf9
It would be great if someone could review that version which includes a statically linked openssl version to test for old features. Strangely the tests occasionally fails on OBS. OBS-URL: https://build.opensuse.org/request/show/554947 OBS-URL: https://build.opensuse.org/package/show/security/sslscan?expand=0&rev=10
70 lines
2.2 KiB
RPMSpec
70 lines
2.2 KiB
RPMSpec
#
|
|
# spec file for package sslscan
|
|
#
|
|
# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
|
|
#
|
|
# 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 http://bugs.opensuse.org/
|
|
#
|
|
|
|
|
|
%define OSSL_VERSION 1.0.2
|
|
Name: sslscan
|
|
Version: 1.11.10
|
|
Release: 0
|
|
Summary: SSL cipher scanning tool
|
|
License: SUSE-GPL-3.0+-with-openssl-exception AND OpenSSL
|
|
Group: Productivity/Networking/Diagnostic
|
|
URL: https://www.titania-security.com/labs/sslscan
|
|
Source: https://github.com/rbsec/sslscan/archive/%{version}-rbsec.tar.gz#/%{name}-%{version}-rbsec.tar.gz
|
|
Source1: https://github.com/PeterMosmans/openssl/archive/%{OSSL_VERSION}-chacha.tar.gz#/openssl-%{OSSL_VERSION}-chacha.tar.gz
|
|
#Disable fetching openssl from git
|
|
Patch1: disable-git.patch
|
|
#Patches copied from Debian package
|
|
Patch10: fedora-sslscan-patents.patch
|
|
BuildRequires: bc
|
|
BuildRequires: ed
|
|
BuildRequires: makedepend
|
|
BuildRequires: pkgconfig
|
|
BuildRequires: zlib-devel
|
|
|
|
%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}-%{version}-rbsec
|
|
tar -xzf %{SOURCE1}
|
|
mv openssl-%{OSSL_VERSION}-chacha openssl
|
|
%patch1 -p1
|
|
%if %{defined fedora}
|
|
%patch10 -p1
|
|
%endif
|
|
|
|
%build
|
|
pushd openssl
|
|
./config
|
|
popd
|
|
make %{?_smp_mflags} static
|
|
|
|
%install
|
|
install -d "%{buildroot}%{_bindir}"
|
|
install -d "%{buildroot}%{_mandir}/man1"
|
|
make install PREFIX="%{buildroot}%{_prefix}"
|
|
|
|
%files
|
|
%doc LICENSE README.md openssl/LICENSE
|
|
%attr(0755,root,root) %{_bindir}/sslscan
|
|
%{_mandir}/man1/sslscan.1%{ext_man}
|
|
|
|
%changelog
|