summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHenrik Brix Andersen <brix@gentoo.org>2005-07-25 15:59:49 +0000
committerHenrik Brix Andersen <brix@gentoo.org>2005-07-25 15:59:49 +0000
commitf563ef35b38d49a75ab6a19e2363d0ee3c7234c6 (patch)
tree8d5026ba61982f850ae32db025f31e019407c78d /net-wireless/kismet/files
parentChange dep per bug #100235 (diff)
downloadgentoo-2-f563ef35b38d49a75ab6a19e2363d0ee3c7234c6.tar.gz
gentoo-2-f563ef35b38d49a75ab6a19e2363d0ee3c7234c6.tar.bz2
gentoo-2-f563ef35b38d49a75ab6a19e2363d0ee3c7234c6.zip
Version bump.
(Portage version: 2.0.51.22-r2)
Diffstat (limited to 'net-wireless/kismet/files')
-rw-r--r--net-wireless/kismet/files/digest-kismet-2005.07.1a2
-rw-r--r--net-wireless/kismet/files/kismet-2005.07.1a-conf.d14
-rw-r--r--net-wireless/kismet/files/kismet-2005.07.1a-init.d27
3 files changed, 43 insertions, 0 deletions
diff --git a/net-wireless/kismet/files/digest-kismet-2005.07.1a b/net-wireless/kismet/files/digest-kismet-2005.07.1a
new file mode 100644
index 000000000000..fb9ad01dc425
--- /dev/null
+++ b/net-wireless/kismet/files/digest-kismet-2005.07.1a
@@ -0,0 +1,2 @@
+MD5 9f59bce7d6cc8504ff602f150e578ab5 kismet-2005-07-R1a.tar.gz 983150
+MD5 03aa7fe2cbef9aa0654637cdc60e0458 ethereal-0.10.11.tar.bz2 5964016
diff --git a/net-wireless/kismet/files/kismet-2005.07.1a-conf.d b/net-wireless/kismet/files/kismet-2005.07.1a-conf.d
new file mode 100644
index 000000000000..1cd1cd4d5d1d
--- /dev/null
+++ b/net-wireless/kismet/files/kismet-2005.07.1a-conf.d
@@ -0,0 +1,14 @@
+# Copyright 1999-2005 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-wireless/kismet/files/kismet-2005.07.1a-conf.d,v 1.1 2005/07/25 15:59:49 brix Exp $
+
+# 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-2005.07.1a-init.d b/net-wireless/kismet/files/kismet-2005.07.1a-init.d
new file mode 100644
index 000000000000..d97d193c03fe
--- /dev/null
+++ b/net-wireless/kismet/files/kismet-2005.07.1a-init.d
@@ -0,0 +1,27 @@
+#!/sbin/runscript
+# Copyright 1999-2005 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-wireless/kismet/files/kismet-2005.07.1a-init.d,v 1.1 2005/07/25 15:59:49 brix 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 ${?}
+}