From 2e10cd26d6f02d9e3307577a5c48e689e28fb6a5 Mon Sep 17 00:00:00 2001 From: Rino Mario Bross Rondan Date: Jan 03 2014 02:21:42 +0000 Subject: First commit --- diff --git a/.gitignore b/.gitignore index e69de29..2f2dd65 100644 --- a/.gitignore +++ b/.gitignore @@ -0,0 +1 @@ +/masscan-1.0-8746c78.zip diff --git a/masscan.spec b/masscan.spec new file mode 100644 index 0000000..c23ff20 --- /dev/null +++ b/masscan.spec @@ -0,0 +1,59 @@ +%global commit 8746c78856ca9a4d20617dd5d234850a6136b0af +%global shortcommit %(c=%{commit}; echo ${c:0:7}) +Name: masscan +Version: 1.0 +Release: 7%{?dist} +Summary: This is the fastest Internet port scanner +License: BSD +URL: https://github.com/robertdavidgraham/%{name} +Source0: https://github.com/robertdavidgraham/%{name}/archive/%{commit}/%{name}-%{version}-%{shortcommit}.zip + +BuildRequires: libpcap-devel + +%description +It is a faster port scan that produces results similar to nmap, +the most famous port scanner. Internally, it operates more like +scanrand, unicornscan, and ZMap, using asynchronous transmission. + +%prep +%setup -q -n %{name}-%{commit} +sed -i 's/\r$//' VULNINFO.md + +%build +make %{?_smp_mflags} CFLAGS="%{optflags}" CXXFLAGS="%{optflags}" + + +%install +make install DESTDIR=%{buildroot} +mkdir -p %{buildroot}%{_bindir}/ +install -pm 0755 bin/masscan %{buildroot}%{_bindir}/%{name} + +%files +%doc LICENSE VULNINFO.md README.md +%{_bindir}/masscan + + + +%changelog +* Wed Jan 01 2014 Rino Rondan - 1.0-7 +- Change the description + +* Mon Nov 04 2013 Rino Rondan - 1.0-6 +- Change the version macro, and all relationship with it + +* Thu Oct 31 2013 Rino Rondan - 1.0-5 +- Change summary and description + +* Thu Oct 31 2013 Rino Rondan - 1.0-4 +- Add some variables to build + +* Thu Oct 31 2013 Rino Rondan - 1.0-3 +- Add the correct info on changelog +- Fix the problem with doc + +* Thu Oct 31 2013 Rino Rondan - 1.0-2 +- Add the correct tag for pre-release on Version and Release +- Add global variable for checkout + +* Wed Sep 11 2013 Rino Rondan - 1.0-1 +- Initial Package diff --git a/sources b/sources index e69de29..7c30573 100644 --- a/sources +++ b/sources @@ -0,0 +1 @@ +e73ce6a66ab558630292a985c28d95e8 masscan-1.0-8746c78.zip