packages: kismet/kismet.spec - install kismet_capture suid manually
glen
glen at pld-linux.org
Wed Jan 12 23:33:09 CET 2011
Author: glen Date: Wed Jan 12 22:33:09 2011 GMT
Module: packages Tag: HEAD
---- Log message:
- install kismet_capture suid manually
---- Files affected:
packages/kismet:
kismet.spec (1.57 -> 1.58)
---- Diffs:
================================================================
Index: packages/kismet/kismet.spec
diff -u packages/kismet/kismet.spec:1.57 packages/kismet/kismet.spec:1.58
--- packages/kismet/kismet.spec:1.57 Wed Jan 12 22:57:24 2011
+++ packages/kismet/kismet.spec Wed Jan 12 23:33:04 2011
@@ -1,14 +1,16 @@
# $Revision$, $Date$
# TODO
# - Anybody knows, why it will not build, when kernel-headers are installed?
-# - maybe subpkg server and add initscript to it? especially as kismet server can be remote
+# - maybe subpkg server and add initscript to it? especially as kismet server
+# can be remote. kismet_capture would still be in client package?
+# - update ncurses patch for tinfo, make it detect wide versions as well
#
%define tarver %(echo %{version} | tr _ -)
Summary: Wireless network sniffer
Summary(pl.UTF-8): Sniffer sieci bezprzewodowych
Name: kismet
Version: 2010_07_R1
-Release: 0.2
+Release: 0.3
License: GPL
Group: Networking/Utilities
Source0: http://www.kismetwireless.net/code/%{name}-%{tarver}.tar.gz
@@ -89,6 +91,9 @@
MANGRP=%(id -gn)
done
+# do what binsuidinstall would do
+install -p kismet_capture $RPM_BUILD_ROOT%{_bindir}
+
%clean
rm -rf $RPM_BUILD_ROOT
@@ -99,6 +104,8 @@
%attr(755,root,root) %{_bindir}/kismet_client
%attr(755,root,root) %{_bindir}/kismet_drone
%attr(755,root,root) %{_bindir}/kismet_server
+# TODO: create kismet group instead
+%attr(4750,root,adm) %{_bindir}/kismet_capture
%{_datadir}/%{name}
%{_mandir}/man1/kismet.1*
%{_mandir}/man1/kismet_drone.1*
@@ -123,6 +130,9 @@
All persons listed below can be reached at <cvs_login>@pld-linux.org
$Log$
+Revision 1.58 2011/01/12 22:33:04 glen
+- install kismet_capture suid manually
+
Revision 1.57 2011/01/12 21:57:24 glen
- adjust defaults in config, add default logdir /var/log/kismet
================================================================
---- CVS-web:
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/kismet/kismet.spec?r1=1.57&r2=1.58&f=u
More information about the pld-cvs-commit
mailing list