rpms/kismet/F-12 kismet-2010-01-R1-fmt.patch, NONE, 1.1 sources, 1.7, 1.8 lastver, 1.5, 1.6 kismet.spec, 1.30, 1.31 .cvsignore, 1.6, 1.7 kismet-2009-06-R1-fmt.patch, 1.1, NONE

ensc ensc at fedoraproject.org
Sat Jan 16 18:54:00 UTC 2010


Author: ensc

Update of /cvs/extras/rpms/kismet/F-12
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv14420

Modified Files:
	sources lastver kismet.spec .cvsignore 
Added Files:
	kismet-2010-01-R1-fmt.patch 
Removed Files:
	kismet-2009-06-R1-fmt.patch 
Log Message:
- updated to 2010-01-R1
- rediffed patches


kismet-2010-01-R1-fmt.patch:
 kis_panel_network.cc |    8 +++++---
 1 file changed, 5 insertions(+), 3 deletions(-)

--- NEW FILE kismet-2010-01-R1-fmt.patch ---
Index: kismet-2010-01-R1/kis_panel_network.cc
===================================================================
--- kismet-2010-01-R1.orig/kis_panel_network.cc
+++ kismet-2010-01-R1/kis_panel_network.cc
@@ -18,6 +18,8 @@
 
 #include "config.h"
 
+#include <inttypes.h>
+
 // Panel has to be here to pass configure, so just test these
 #if (defined(HAVE_LIBNCURSES) || defined (HAVE_LIBCURSES))
 
@@ -1162,7 +1164,7 @@ void Kis_Netlist::Proto_BSSID(CLIPROTO_C
 	// Manuf field
 	net->manuf = MungeToPrintable((*proto_parsed)[fnum++].word);
 
-	if (sscanf((*proto_parsed)[fnum++].word.c_str(), "%llu", 
+	if (sscanf((*proto_parsed)[fnum++].word.c_str(), "%" SCNu64,
 			   &(net->data_cryptset)) != 1) {
 		delete net;
 		return;
@@ -1717,7 +1719,7 @@ void Kis_Netlist::Proto_CLIENT(CLIPROTO_
 	if (cli->dhcp_vendor == " ")
 		cli->dhcp_vendor = "";
 
-	if (sscanf((*proto_parsed)[fnum++].word.c_str(), "%llu", 
+	if (sscanf((*proto_parsed)[fnum++].word.c_str(), "%" SCNu64,
 			   &(cli->data_cryptset)) != 1) {
 		delete cli;
 		return;
@@ -2500,7 +2502,7 @@ int Kis_Netlist::PrintNetworkLine(Kis_Di
 			rofft += 4;
 		} else if (b == bcol_clients) {
 			// TODO - handle clients
-			snprintf(rline + rofft, max - rofft, "%4d", net->client_map.size());
+			snprintf(rline + rofft, max - rofft, "%4zd", net->client_map.size());
 			rofft += 4;
 		} else if (b == bcol_datasize) {
 			char dt = ' ';


Index: sources
===================================================================
RCS file: /cvs/extras/rpms/kismet/F-12/sources,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -p -r1.7 -r1.8
--- sources	6 Dec 2009 12:27:35 -0000	1.7
+++ sources	16 Jan 2010 18:53:59 -0000	1.8
@@ -1,2 +1,2 @@
-6987fb1dd8574a6b85ca3af3c068568e  kismet-2009-11-R1.tar.gz
-c619b1a50ccb042472b22b0a341ad29b  kismet-2009-11-R1.tar.gz.asc
+a6d6edcf65d5bb2cb5de6472bcc16f19  kismet-2010-01-R1.tar.gz
+bf730d15b28402fab5a4ac7efcaf6bc2  kismet-2010-01-R1.tar.gz.asc


Index: lastver
===================================================================
RCS file: /cvs/extras/rpms/kismet/F-12/lastver,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -p -r1.5 -r1.6
--- lastver	6 Dec 2009 12:27:35 -0000	1.5
+++ lastver	16 Jan 2010 18:53:59 -0000	1.6
@@ -1 +1 @@
-2009-11-R1
+2010-01-R1


Index: kismet.spec
===================================================================
RCS file: /cvs/extras/rpms/kismet/F-12/kismet.spec,v
retrieving revision 1.30
retrieving revision 1.31
diff -u -p -r1.30 -r1.31
--- kismet.spec	6 Dec 2009 12:27:35 -0000	1.30
+++ kismet.spec	16 Jan 2010 18:53:59 -0000	1.31
@@ -1,4 +1,4 @@
-%global _version	2009-11-R1
+%global _version	2010-01-R1
 
 ## {Local macros...
 %global cfgdir		%_sysconfdir/%name
@@ -6,6 +6,8 @@
 ## ...local macros}
 
 %{!?release_func:%global release_func() %1%{?dist}}
+%{!?apply:%global  apply(p:n:b:) %patch%%{-n:%%{-n*}} %%{-p:-p%%{-p*}} %%{-b:-b%%{-b*}} \
+%nil}
 
 Summary:	WLAN detector, sniffer and IDS
 Name:		kismet
@@ -20,7 +22,7 @@ Source1:	http://www.kismetwireless.net/c
 Source12:	kismet_capture.pam
 Source13:	kismet_capture.console
 
-Patch16:	kismet-2009-06-R1-fmt.patch
+Patch16:	kismet-2010-01-R1-fmt.patch
 Patch17:	kismet-2009-06-R1-perms.patch
 Patch18:	kismet-2009-06-R1-envp.patch
 Patch19:	kismet-2009-11-R1-pluginlibs.patch
@@ -66,10 +68,10 @@ This subpackage contains plugins shipped
 
 %prep
 %setup -q -n %name-%_version
-%patch16 -p1
-%patch17 -p1
-%patch18 -p1
-%patch19 -p1
+%apply -n16 -p1
+%apply -n17 -p1
+%apply -n18 -p1
+%apply -n19 -p1
 
 /bin/cp -a /usr/lib/rpm/config.sub .
 
@@ -88,7 +90,9 @@ sed -i \
 #export ac_cv_header_linux_netlink_h=yes	# we have netlink.h; just the check is buggy
 export ac_cv_lib_uClibcpp_main=no	# we do not want to build against uClibc++, even when available
 export LDFLAGS='-Wl,--as-needed'
-%configure --sysconfdir=%cfgdir
+%configure \
+	   --sysconfdir=%cfgdir \
+	   CXXFLAGS="$RPM_OPT_FLAGS -D__STDC_FORMAT_MACROS"
 
 # HOME will be set to @srcdir@ which is disturbing distcc
 make clean
@@ -157,6 +161,10 @@ rm -rf $RPM_BUILD_ROOT
 
 
 %changelog
+* Sat Jan 16 2010 Enrico Scholz <enrico.scholz at informatik.tu-chemnitz.de> - 0.0.2010.01.R1-1200
+- updated to 2010-01-R1
+- rediffed patches
+
 * Sun Dec  6 2009 Enrico Scholz <enrico.scholz at informatik.tu-chemnitz.de> - 0.0.2009.11.R1-1200
 - updated to 2009-11-R1
 


Index: .cvsignore
===================================================================
RCS file: /cvs/extras/rpms/kismet/F-12/.cvsignore,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -p -r1.6 -r1.7
--- .cvsignore	6 Dec 2009 12:27:35 -0000	1.6
+++ .cvsignore	16 Jan 2010 18:53:59 -0000	1.7
@@ -1,2 +1,2 @@
-kismet-2009-11-R1.tar.gz
-kismet-2009-11-R1.tar.gz.asc
+kismet-2010-01-R1.tar.gz
+kismet-2010-01-R1.tar.gz.asc


--- kismet-2009-06-R1-fmt.patch DELETED ---



More information about the scm-commits mailing list