diff options
author | 2008-08-11 16:57:47 +0000 | |
---|---|---|
committer | 2008-08-11 16:57:47 +0000 | |
commit | 79ba189129b7deb5f5d929473f0ec176e875f5b3 (patch) | |
tree | 82198f7bed9533e1e3ae980c0523d88a0dccae21 /net-wireless/kismet/files | |
parent | Fixed ingo installation within horde-webmail for kolab. (diff) | |
download | gentoo-2-79ba189129b7deb5f5d929473f0ec176e875f5b3.tar.gz gentoo-2-79ba189129b7deb5f5d929473f0ec176e875f5b3.tar.bz2 gentoo-2-79ba189129b7deb5f5d929473f0ec176e875f5b3.zip |
Version bump wrt #225487, add gcc-4.3 patch, bug #217843
(Portage version: 2.2_rc7/cvs/Linux 2.6.25-gentoo-r7 i686)
Diffstat (limited to 'net-wireless/kismet/files')
-rw-r--r-- | net-wireless/kismet/files/gcc-4.3.patch | 36 | ||||
-rw-r--r-- | net-wireless/kismet/files/kismet-2007.01.1b-Makefile.in.patch | 56 | ||||
-rw-r--r-- | net-wireless/kismet/files/kismet-2007.01.1b-conf.d | 12 | ||||
-rw-r--r-- | net-wireless/kismet/files/kismet-2007.01.1b-init.d | 27 | ||||
-rw-r--r-- | net-wireless/kismet/files/kismet.confd (renamed from net-wireless/kismet/files/kismet-2006.04.1-conf.d) | 0 | ||||
-rw-r--r-- | net-wireless/kismet/files/kismet.initd (renamed from net-wireless/kismet/files/kismet-2006.04.1-init.d) | 2 |
6 files changed, 37 insertions, 96 deletions
diff --git a/net-wireless/kismet/files/gcc-4.3.patch b/net-wireless/kismet/files/gcc-4.3.patch new file mode 100644 index 000000000000..78883a4ebaf2 --- /dev/null +++ b/net-wireless/kismet/files/gcc-4.3.patch @@ -0,0 +1,36 @@ +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)) diff --git a/net-wireless/kismet/files/kismet-2007.01.1b-Makefile.in.patch b/net-wireless/kismet/files/kismet-2007.01.1b-Makefile.in.patch deleted file mode 100644 index a865f949d12c..000000000000 --- a/net-wireless/kismet/files/kismet-2007.01.1b-Makefile.in.patch +++ /dev/null @@ -1,56 +0,0 @@ -Index: kismet-2007-01-R1b/Makefile.in -=================================================================== ---- kismet-2007-01-R1b.orig/Makefile.in -+++ kismet-2007-01-R1b/Makefile.in -@@ -5,7 +5,7 @@ VERSION_MINOR = 01 - VERSION_TINY = R1 - - INSTGRP ?= "@instgrp@" --MANGRP ?= "@mangrp@" -+MANGRP ?= "root" - INSTUSR ?= "root" - - ZAURUS = @zaurus@ -@@ -128,23 +128,23 @@ checkuiconfig: - fi - - binuserinstall: -- install -o $(INSTUSR) -g $(INSTGRP) -s -m 755 $(PS) $(BIN)/$(PS); -- install -o $(INSTUSR) -g $(INSTGRP) -s -m 755 $(DRONE) $(BIN)/$(DRONE); -+ install -o $(INSTUSR) -g $(INSTGRP) -m 755 $(PS) $(BIN)/$(PS); -+ install -o $(INSTUSR) -g $(INSTGRP) -m 755 $(DRONE) $(BIN)/$(DRONE); - - binsuidinstall: -- install -o $(INSTUSR) -g $(INSTGRP) -s -m 4755 $(PS) $(BIN)/$(PS); -- install -o $(INSTUSR) -g $(INSTGRP) -s -m 4755 $(DRONE) $(BIN)/$(DRONE); -+ install -o $(INSTUSR) -g $(INSTGRP) -m 4755 $(PS) $(BIN)/$(PS); -+ install -o $(INSTUSR) -g $(INSTGRP) -m 4755 $(DRONE) $(BIN)/$(DRONE); - - commoninstall: - mkdir -p $(ETC) - mkdir -p $(BIN) - - install -o $(INSTUSR) -g $(INSTGRP) -m 755 scripts/kismet $(BIN)/kismet -- install -o $(INSTUSR) -g $(INSTGRP) -s -m 755 $(NC) $(BIN)/$(NC) -- # install -o $(INSTUSR) -g $(INSTGRP) -s -m 755 $(HOPPER) $(BIN)/$(HOPPER) -+ install -o $(INSTUSR) -g $(INSTGRP) -m 755 $(NC) $(BIN)/$(NC) -+ # install -o $(INSTUSR) -g $(INSTGRP) -m 755 $(HOPPER) $(BIN)/$(HOPPER) - @if test "$(ZAURUS)" = "yes"; then \ -- install -o $(INSTUSR) -g $(INSTGRP) -s -m 755 $(BUZZER) $(BIN)/buzzme; \ -- echo install -o $(INSTUSR) -g $(INSTGRP) -s -m 755 $(BUZZER) $(BIN)/buzzme; \ -+ install -o $(INSTUSR) -g $(INSTGRP) -m 755 $(BUZZER) $(BIN)/buzzme; \ -+ echo install -o $(INSTUSR) -g $(INSTGRP) -m 755 $(BUZZER) $(BIN)/buzzme; \ - fi - #install -o $(INSTUSR) -g $(INSTGRP) -m 755 scripts/kismet_monitor $(BIN)/kismet_monitor - #install -o $(INSTUSR) -g $(INSTGRP) -m 755 scripts/kismet_unmonitor $(BIN)/kismet_unmonitor -@@ -159,8 +159,8 @@ commoninstall: - install -o $(INSTUSR) -g $(MANGRP) -m 644 man/kismet_drone.conf.5 $(MAN)/man5/kismet_drone.conf.5 - - @if test "$(GPSLBUILD)" = "$(GPSL)"; then \ -- install -o $(INSTUSR) -g $(INSTGRP) -s -m 755 $(GPSL) $(BIN)/$(GPSL); \ -- echo install -o $(INSTUSR) -g $(INSTGRP) -s -m 755 $(GPSL) $(BIN)/$(GPSL); \ -+ install -o $(INSTUSR) -g $(INSTGRP) -m 755 $(GPSL) $(BIN)/$(GPSL); \ -+ echo install -o $(INSTUSR) -g $(INSTGRP) -m 755 $(GPSL) $(BIN)/$(GPSL); \ - install -o $(INSTUSR) -g $(INSTGRP) -m 755 scripts/gpsmap-helper-earthamaps $(BIN)/gpsmap-helper-earthamaps; \ - echo install -o $(INSTUSR) -g $(INSTGRP) -m 755 scripts/gpsmap-helper-earthamaps $(BIN)/gpsmap-helper-earthamaps; \ - install -o $(INSTUSR) -g $(MANGRP) -m 644 man/gpsmap.1 $(MAN)/man1/gpsmap.1; \ diff --git a/net-wireless/kismet/files/kismet-2007.01.1b-conf.d b/net-wireless/kismet/files/kismet-2007.01.1b-conf.d deleted file mode 100644 index d203513c7143..000000000000 --- a/net-wireless/kismet/files/kismet-2007.01.1b-conf.d +++ /dev/null @@ -1,12 +0,0 @@ -# /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="" diff --git a/net-wireless/kismet/files/kismet-2007.01.1b-init.d b/net-wireless/kismet/files/kismet-2007.01.1b-init.d deleted file mode 100644 index 7c848f1092e3..000000000000 --- a/net-wireless/kismet/files/kismet-2007.01.1b-init.d +++ /dev/null @@ -1,27 +0,0 @@ -#!/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-2007.01.1b-init.d,v 1.1 2007/01/20 13:04:26 phreak 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 ${?} -} diff --git a/net-wireless/kismet/files/kismet-2006.04.1-conf.d b/net-wireless/kismet/files/kismet.confd index d203513c7143..d203513c7143 100644 --- a/net-wireless/kismet/files/kismet-2006.04.1-conf.d +++ b/net-wireless/kismet/files/kismet.confd diff --git a/net-wireless/kismet/files/kismet-2006.04.1-init.d b/net-wireless/kismet/files/kismet.initd index 3505444a4f18..e18dd0106e25 100644 --- a/net-wireless/kismet/files/kismet-2006.04.1-init.d +++ b/net-wireless/kismet/files/kismet.initd @@ -1,7 +1,7 @@ #!/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-2006.04.1-init.d,v 1.1 2006/04/14 11:33:38 brix Exp $ +# $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 |