rpms/onesixtyone/F-7 onesixtyone-makefile.patch, NONE, 1.1 onesixtyone.spec, NONE, 1.1 sources, 1.1, 1.2

Sindre Pedersen Bjørdal (sindrepb) fedora-extras-commits at redhat.com
Sat Jun 2 18:04:34 UTC 2007


Author: sindrepb

Update of /cvs/extras/rpms/onesixtyone/F-7
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv429

Modified Files:
	sources 
Added Files:
	onesixtyone-makefile.patch onesixtyone.spec 
Log Message:
add files to branch

onesixtyone-makefile.patch:

--- NEW FILE onesixtyone-makefile.patch ---
--- 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


--- NEW FILE onesixtyone.spec ---
Name:           onesixtyone
Version:        0.3.2
Release:        3%{?dist}
Summary:        An efficient SNMP scanner

Group:          Applications/Internet
License:        GPL
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
* 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


Index: sources
===================================================================
RCS file: /cvs/extras/rpms/onesixtyone/F-7/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- sources	2 Jun 2007 15:54:42 -0000	1.1
+++ sources	2 Jun 2007 18:04:03 -0000	1.2
@@ -0,0 +1 @@
+b08ac88615c04fa50d4eeecd75882e3f  onesixtyone-0.3.2.tar.gz




More information about the fedora-extras-commits mailing list