File asleap.spec of Package asleap
#
# spec file for package asleap
#
# Copyright (c) 2016, Martin Hauke <mardnh@gmx.de>
#
# 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/
#
Name: asleap
Version: 2.2
Release: 0
Summary: Recover weak LEAP and PPTP passwords
License: GPL-2.0
Group: Productivity/Networking/Other
Url: http://www.willhackforsushi.com/?page_id=41
Source: http://www.willhackforsushi.com/code/%{name}/%{version}/%{name}-%{version}.tgz
Patch0: asleap-obey-cflags.diff
BuildRequires: libopenssl-devel
BuildRequires: libpcap-devel
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%description
a tool to recover weak LEAP and PPTP passwords. asleap is the
product of the research of weaknesses in Cisco's proprietary LEAP protocol.
asleap can work directly from any wireless interface in RFMON mode and can
perform channel hopping.
%prep
%setup -q
%patch0 -p1
%build
export CFLAGS="%{optflags}"
make %{?_smp_mflags} # parallel build is broken
%install
install -Dpm0755 asleap %{buildroot}%{_bindir}/asleap
install -Dpm0755 genkeys %{buildroot}%{_bindir}/genkeys
%files
%defattr(-,root,root)
%doc COPYING README THANKS
#%%doc scripts/
#%%doc data/
%{_bindir}/asleap
%{_bindir}/genkeys
%changelog