File ike-scan.spec of Package ike-scan

#
# spec file for package ike-scan
#
# Copyright (c) 2025 SUSE LLC and contributors
#
# 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/
#


%global git_rev c74c01fd22d9a3aae3d8ba9a0bd2eb1a2146ac6f

Name:           ike-scan
Version:        1.9.5~17~gc74c01f
Release:        0
Summary:        IPsec VPN scanning, fingerprinting and testing tool
License:        GPL-3.0-only
Group:          Productivity/Networking/Security
URL:            https://github.com/royhills/ike-scan/
Source:         %{URL}/archive/%{git_rev}/%{name}-%{version}.tar.gz
BuildRequires:  autoconf
BuildRequires:  automake
BuildRequires:  gcc
BuildRequires:  glibc-devel
BuildRequires:  openssl-devel

%description
ike-scan is a command-line tool that uses the IKE protocol to
discover, fingerprint and test IPsec VPN servers.

%prep
%autosetup -p1 -n ike-scan-%{git_rev}

%build
autoreconf -fiv
%configure --with-openssl
%make_build

%install
%make_install

%files
%doc AUTHORS ChangeLog NEWS README TODO
%{_bindir}/ike-scan
%{_bindir}/psk-crack
%{_datadir}/ike-scan
%{_mandir}/man1/ike-scan.1%{?ext_man}
%{_mandir}/man1/psk-crack.1%{?ext_man}

%changelog
openSUSE Build Service is sponsored by