packages: kismet/kismet.spec - adjust defaults in config, add default logdi...

glen glen at pld-linux.org
Wed Jan 12 22:57:29 CET 2011


Author: glen                         Date: Wed Jan 12 21:57:29 2011 GMT
Module: packages                      Tag: HEAD
---- Log message:
- adjust defaults in config, add default logdir /var/log/kismet

---- Files affected:
packages/kismet:
   kismet.spec (1.56 -> 1.57) 

---- Diffs:

================================================================
Index: packages/kismet/kismet.spec
diff -u packages/kismet/kismet.spec:1.56 packages/kismet/kismet.spec:1.57
--- packages/kismet/kismet.spec:1.56	Wed Jan 12 22:45:45 2011
+++ packages/kismet/kismet.spec	Wed Jan 12 22:57:24 2011
@@ -1,18 +1,19 @@
 # $Revision$, $Date$
 # TODO
 #  - Anybody knows, why it will not build, when kernel-headers are installed?
-#  - maybe subpkg server and add initscript to it?
+#  - maybe subpkg server and add initscript to it? especially as kismet server can be remote
 #
 %define		tarver	%(echo %{version} | tr _ -)
 Summary:	Wireless network sniffer
 Summary(pl.UTF-8):	Sniffer sieci bezprzewodowych
 Name:		kismet
 Version:	2010_07_R1
-Release:	0.1
+Release:	0.2
 License:	GPL
 Group:		Networking/Utilities
 Source0:	http://www.kismetwireless.net/code/%{name}-%{tarver}.tar.gz
 # Source0-md5:	85e59186eb529889118b5635f35cf57d
+Patch0:		config.patch
 URL:		http://www.kismetwireless.net/
 BuildRequires:	autoconf
 BuildRequires:	automake
@@ -51,6 +52,7 @@
 
 %prep
 %setup -q -n %{name}-%{tarver}
+%patch0 -p1
 
 # make lib64 aware, include exec bits on install
 %{__sed} -i -e 's!\$(prefix)/lib/!%_libdir/!g' plugin-*/Makefile
@@ -77,7 +79,7 @@
 
 %install
 rm -rf $RPM_BUILD_ROOT
-install -d $RPM_BUILD_ROOT{%{_sysconfdir},%{_bindir},%{_datadir}}
+install -d $RPM_BUILD_ROOT{%{_sysconfdir},%{_bindir},%{_datadir},/var/lib/%{name}}
 for dir in . %plugins; do
 	%{__make} -C $dir install \
 		DESTDIR="$RPM_BUILD_ROOT" \
@@ -113,12 +115,17 @@
 %attr(755,root,root) %{_libdir}/kismet_client/btscan_ui.so
 %attr(755,root,root) %{_libdir}/kismet_client/spectools_ui.so
 
+%dir /var/lib/%{name}
+
 %define date	%(echo `LC_ALL="C" date +"%a %b %d %Y"`)
 %changelog
 * %{date} PLD Team <feedback at pld-linux.org>
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.57  2011/01/12 21:57:24  glen
+- adjust defaults in config, add default logdir /var/log/kismet
+
 Revision 1.56  2011/01/12 21:45:45  glen
 - btscan plugin installed with proper perms, so bluez-libs dep added automaticaly
 
================================================================

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



More information about the pld-cvs-commit mailing list