[onesixtyone] Ressurect the onesixtyone for F16/17

rebus rebus at fedoraproject.org
Sat Jan 21 11:06:57 UTC 2012


commit 61d135b10ae2783a190b0885f118ab45c033fed1
Author: Michal Ambroz <rebus at seznam.cz>
Date:   Sat Jan 21 12:06:27 2012 +0100

    Ressurect the onesixtyone for F16/17

 onesixtyone-makefile.patch |   10 +++++++
 onesixtyone.spec           |   65 ++++++++++++++++++++++++++++++++++++++++++++
 sources                    |    1 +
 3 files changed, 76 insertions(+), 0 deletions(-)
---
diff --git a/onesixtyone-makefile.patch b/onesixtyone-makefile.patch
new file mode 100644
index 0000000..690c489
--- /dev/null
+++ b/onesixtyone-makefile.patch
@@ -0,0 +1,10 @@
+--- Makefile.orig	2007-05-22 20:57:00.000000000 -0500
++++ Makefile	2007-05-22 21:09:56.000000000 -0500
+@@ -1,5 +1,5 @@
+-onesixtyone: onesixtyone.c
+-	gcc -o onesixtyone onesixtyone.c
++onesixtyone: onesixtyone.o
++	gcc -o onesixtyone onesixtyone.o
+ 
+ solaris: onesixtyone.c
+ 	cc -o onesixtyone onesixtyone.c -lsocket -lnsl
diff --git a/onesixtyone.spec b/onesixtyone.spec
new file mode 100644
index 0000000..ec53092
--- /dev/null
+++ b/onesixtyone.spec
@@ -0,0 +1,65 @@
+Name:           onesixtyone
+Version:        0.3.2
+Release:        8%{?dist}
+Summary:        An efficient SNMP scanner
+
+Group:          Applications/Internet
+License:        GPLv2+
+URL:            http://www.phreedom.org/solar/onesixtyone/
+Source0:        http://www.phreedom.org/solar/onesixtyone/%{name}-%{version}.tar.gz
+Patch0:         onesixtyone-makefile.patch
+BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
+
+
+%description
+onesixtyone takes a different approach to SNMP scanning. It takes advantage of
+the fact that SNMP is a connectionless protocol and sends all SNMP requests
+as fast as it can. Then the scanner waits for responses to come back and logs
+them, in a fashion similar to Nmap ping sweeps.
+
+%prep
+%setup -q
+%patch0 -p0
+
+%build
+make CFLAGS="$RPM_OPT_FLAGS" %{?_smp_mflags}
+
+%install
+rm -rf $RPM_BUILD_ROOT
+install -D onesixtyone $RPM_BUILD_ROOT%{_bindir}/onesixtyone
+install -D -m 0644 dict.txt $RPM_BUILD_ROOT%{_datadir}/onesixtyone/dict.txt
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+
+%files
+%defattr(-,root,root,-)
+#no copy of GPL in tarball, licencing info in .c file.
+%doc ChangeLog README
+%{_bindir}/*
+%{_datadir}/onesixtyone
+
+
+%changelog
+* Fri Jan 20 2011 Michal Ambroz <rebus at, seznam.cz> - 0.3.2-8
+- Ressurect the package for F16/17
+
+* Sat Jul 25 2009 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 0.3.2-7
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
+
+* Thu Feb 26 2009 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 0.3.2-6
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
+
+* Mon Aug 11 2008 Tom "spot" Callaway <tcallawa at redhat.com> - 0.3.2-5
+- fix license tag
+
+* Tue Feb 19 2008 Fedora Release Engineering <rel-eng at fedoraproject.org> - 0.3.2-4
+- Autorebuild for GCC 4.3
+
+* Wed May 23 2007 Sindre Pedersen Bjørdal <foolish[AT]guezz.net> - 0.3.2-3
+- Add patch to really call proper flags, promise
+* Tue May 22 2007 Sindre Pedersen Bjørdal <foolish[AT]guezz.net> - 0.3.2-2
+- Change make to really call proper flags
+* Fri May 04 2007 Sindre Pedersen Bjørdal <foolish[AT]guezz.net> - 0.3.2-1
+- Initial build
diff --git a/sources b/sources
new file mode 100644
index 0000000..b8137fa
--- /dev/null
+++ b/sources
@@ -0,0 +1 @@
+b08ac88615c04fa50d4eeecd75882e3f  onesixtyone-0.3.2.tar.gz


More information about the scm-commits mailing list