1 Summary: Amap - a next-generation scanning tool
2 Summary(pl.UTF-8): Amap - skaner "następnej generacji"
6 License: GPL v2 with exceptions (see LICENCE.AMAP)
8 Source0: http://freeworld.thc.org/releases/%{name}-%{version}.tar.gz
9 # Source0-md5: e3b1f5ebd24aac03aacb38ec183eb426
10 Patch0: %{name}-destdir.patch
11 Patch1: %{name}-path.patch
12 Patch2: %{name}-ldflags.patch
13 Patch3: %{name}-new-homepage.patch
14 Patch4: %{name}-system-pcre.patch
15 URL: http://www.thc.org/thc-amap/
16 BuildRequires: openssl-devel
17 BuildRequires: pcre-devel
18 BuildRequires: sed >= 4.0
19 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
22 Amap is a next-generation scanning tool, which identifies applications
23 and services even if they are not listening on the default port by
24 creating a bogus-communication and analyzing the responses.
26 %description -l pl.UTF-8
27 Amap jest skanerem "następnej generacji", który identyfikuje aplikacje
28 i usługi nawet gdy nie nasłuchują na domyślnych portach poprzez
29 tworzenie pseudo komunikacji i analizie odpowiedzi.
38 %{__sed} -i 's@LIBDIRS=.*@LIBDIRS="%{_libdir} %{_libdir}/openssl"@' configure
47 LDFLAGS="%{rpmldflags}"
50 rm -rf $RPM_BUILD_ROOT
53 DESTDIR=$RPM_BUILD_ROOT
56 rm -rf $RPM_BUILD_ROOT
59 %defattr(644,root,root,755)
60 %doc CHANGES README TODO LICENCE.AMAP
61 %attr(755,root,root) %{_bindir}/amap
62 %attr(755,root,root) %{_bindir}/amap6
63 %attr(755,root,root) %{_bindir}/amapcrap
64 %{_mandir}/man1/amap.1*