packages: kismet/kismet.spec, kismet/kismet-if_arp.patch (NEW) - fix LibNL/...

draenog draenog at pld-linux.org
Tue Jan 19 06:01:10 CET 2010


Author: draenog                      Date: Tue Jan 19 05:01:10 2010 GMT
Module: packages                      Tag: HEAD
---- Log message:
- fix LibNL/nl80211 support
- rel. 2

---- Files affected:
packages/kismet:
   kismet.spec (1.48 -> 1.49) , kismet-if_arp.patch (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: packages/kismet/kismet.spec
diff -u packages/kismet/kismet.spec:1.48 packages/kismet/kismet.spec:1.49
--- packages/kismet/kismet.spec:1.48	Mon Jan 18 22:12:50 2010
+++ packages/kismet/kismet.spec	Tue Jan 19 06:01:02 2010
@@ -8,16 +8,18 @@
 Name:		kismet
 Version:	2010_01_R1
 %define	_ver	2010-01-R1
-Release:	1
+Release:	2
 License:	GPL
 Group:		Networking/Utilities
 Source0:	http://www.kismetwireless.net/code/%{name}-%{_ver}.tar.gz
 # Source0-md5:	a6d6edcf65d5bb2cb5de6472bcc16f19
+Patch0:		%{name}-if_arp.patch
 URL:		http://www.kismetwireless.net/
 BuildRequires:	ImageMagick-devel
 BuildRequires:	autoconf
 BuildRequires:	automake
 BuildRequires:	gmp-devel
+BuildRequires:	libnl-devel
 BuildRequires:	libpcap-devel >= 2:0.9.4-1
 BuildRequires:	libstdc++-devel
 BuildRequires:	libwiretap-devel
@@ -45,6 +47,7 @@
 
 %prep
 %setup -q -n %{name}-%{_ver}
+%patch0 -p1
 
 sed -i -e 's#-o $(INSTUSR)##g' -e 's#-o $(INSTGRP)##g' Makefile.in
 
@@ -94,6 +97,10 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.49  2010/01/19 05:01:02  draenog
+- fix LibNL/nl80211 support
+- rel. 2
+
 Revision 1.48  2010/01/18 21:12:50  sparky
 - BR: pkgconfig
 

================================================================
Index: packages/kismet/kismet-if_arp.patch
diff -u /dev/null packages/kismet/kismet-if_arp.patch:1.1
--- /dev/null	Tue Jan 19 06:01:10 2010
+++ packages/kismet/kismet-if_arp.patch	Tue Jan 19 06:01:03 2010
@@ -0,0 +1,15 @@
+--- kismet-2010-01-R1.orig/configure.in	2010-01-07 23:33:30.000000000 +0000
++++ kismet-2010-01-R1/configure.in	2010-01-15 03:40:30.000000000 +0000
+@@ -849,7 +849,11 @@
+ havenetlink=yes
+ 	AC_CHECK_HEADERS([asm/types.h netlink/genl/genl.h netlink/genl/family.h netlink/genl/ctrl.h netlink/msg.h netlink/attr.h linux/nl80211.h linux/if_arp.h linux/wireless.h], 
+ 	AC_DEFINE(HAVE_NETLINKHEADERS, 1, Netlink headers are there), 
+-	havenetlink=no)
++	havenetlink=no,
++	[[#ifdef HAVE_SYS_SOCKET_H
++	 # include <sys/socket.h>
++	 #endif
++	 ]])
+ 
+ 
+ #if test "$havenetlink" = "yes"; then
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/kismet/kismet.spec?r1=1.48&r2=1.49&f=u



More information about the pld-cvs-commit mailing list