public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] gentoo-x86 commit in net-wireless/kismet/files: kismet.confd gcc-4.3.patch kismet.initd kismet-2007.01.1b-Makefile.in.patch kismet-2006.04.1-init.d kismet-2006.04.1-conf.d kismet-2007.01.1b-conf.d kismet-2007.01.1b-init.d
@ 2008-08-11 16:57 Raul Porcel (armin76)
  0 siblings, 0 replies; only message in thread
From: Raul Porcel (armin76) @ 2008-08-11 16:57 UTC (permalink / raw
  To: gentoo-commits

armin76     08/08/11 16:57:48

  Added:                kismet.confd gcc-4.3.patch kismet.initd
  Removed:              kismet-2007.01.1b-Makefile.in.patch
                        kismet-2006.04.1-init.d kismet-2006.04.1-conf.d
                        kismet-2007.01.1b-conf.d kismet-2007.01.1b-init.d
  Log:
  Version bump wrt #225487, add gcc-4.3 patch, bug #217843
  (Portage version: 2.2_rc7/cvs/Linux 2.6.25-gentoo-r7 i686)

Revision  Changes    Path
1.1                  net-wireless/kismet/files/kismet.confd

file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-wireless/kismet/files/kismet.confd?rev=1.1&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-wireless/kismet/files/kismet.confd?rev=1.1&content-type=text/plain

Index: kismet.confd
===================================================================
# /etc/conf.d/kismet - configuration file for /etc/init.d/kismet

# Kismet configuration is done in /etc/kismet.conf

# To use the kismet init script, you must have "logtemplate" set to a location
# that is writable by the user assigned by "suiduser".
# e.g.
# suiduser=foo
# logtemplate=%h/kismet_log/%n-%d-%i.%l

# Options to pass to kismet_server, see `kismet_server --help`
KISMET_SERVER_OPTIONS=""



1.1                  net-wireless/kismet/files/gcc-4.3.patch

file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-wireless/kismet/files/gcc-4.3.patch?rev=1.1&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-wireless/kismet/files/gcc-4.3.patch?rev=1.1&content-type=text/plain

Index: gcc-4.3.patch
===================================================================
diff -r -u ../kismet-2007-10-R1/kismet_wrapper.cc kismet-2007-10-R1/kismet_wrapper.cc
--- ../kismet-2007-10-R1/kismet_wrapper.cc	2007-10-06 23:50:03.000000000 +0200
+++ kismet-2007-10-R1/kismet_wrapper.cc	2008-03-24 14:23:51.831523343 +0100
@@ -28,6 +28,8 @@
 
 #include "config.h"
 
+#include <cstring>
+
 /* Blob of globals since sighandler needs them */
 vector<string> postcli_err;
 pid_t srvpid = -1, clipid = -1;
diff -r -u ../kismet-2007-10-R1/ringbuf.cc kismet-2007-10-R1/ringbuf.cc
--- ../kismet-2007-10-R1/ringbuf.cc	2005-12-11 20:14:39.000000000 +0100
+++ kismet-2007-10-R1/ringbuf.cc	2008-03-24 14:23:51.875510223 +0100
@@ -18,6 +18,8 @@
 
 #include "ringbuf.h"
 
+#include <cstring>
+
 RingBuffer::RingBuffer(int in_size) {
     ring_len = in_size;
     ring_data = new uint8_t[in_size];
diff -r -u ../kismet-2007-10-R1/util.cc kismet-2007-10-R1/util.cc
--- ../kismet-2007-10-R1/util.cc	2006-08-28 22:37:29.000000000 +0200
+++ kismet-2007-10-R1/util.cc	2008-03-24 14:23:51.875510223 +0100
@@ -23,6 +23,8 @@
 #include <sys/stat.h>
 #include <fcntl.h>
 
+#include <cstring>
+
 // We need this to make uclibc happy since they don't even have rintf...
 #ifndef rintf
 #define rintf(x) (float) rint((double) (x))



1.1                  net-wireless/kismet/files/kismet.initd

file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-wireless/kismet/files/kismet.initd?rev=1.1&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-wireless/kismet/files/kismet.initd?rev=1.1&content-type=text/plain

Index: kismet.initd
===================================================================
#!/sbin/runscript
# Copyright 1999-2006 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/net-wireless/kismet/files/kismet.initd,v 1.1 2008/08/11 16:57:47 armin76 Exp $

checkconfig() {
	if [ ! -e /etc/kismet.conf ]; then
		eerror "Configuration file /etc/kismet.conf not found"
		return 1
	fi
}

start() {
	checkconfig || return 1

	ebegin "Starting kismet server"
	start-stop-daemon --start --quiet --pidfile /var/run/kismet_server.pid \
		--background --make-pidfile --exec /usr/bin/kismet_server \
		-- ${KISMET_SERVER_OPTIONS}
	eend ${?}
}

stop() {
	ebegin "Stopping kismet server"
	start-stop-daemon --stop --quiet --pidfile /var/run/kismet_server.pid
	eend ${?}
}






^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2008-08-11 16:57 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-08-11 16:57 [gentoo-commits] gentoo-x86 commit in net-wireless/kismet/files: kismet.confd gcc-4.3.patch kismet.initd kismet-2007.01.1b-Makefile.in.patch kismet-2006.04.1-init.d kismet-2006.04.1-conf.d kismet-2007.01.1b-conf.d kismet-2007.01.1b-init.d Raul Porcel (armin76)

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox