summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRaúl Porcel <armin76@gentoo.org>2008-08-11 16:57:47 +0000
committerRaúl Porcel <armin76@gentoo.org>2008-08-11 16:57:47 +0000
commit7c80f6c86e0ca7b0921043e14600e36c7b086f9d (patch)
tree1856f37440be3454f777a474a62bf04611396938 /net-wireless/kismet
parentFixed ingo installation within horde-webmail for kolab. (diff)
downloadhistorical-7c80f6c86e0ca7b0921043e14600e36c7b086f9d.tar.gz
historical-7c80f6c86e0ca7b0921043e14600e36c7b086f9d.tar.bz2
historical-7c80f6c86e0ca7b0921043e14600e36c7b086f9d.zip
Version bump wrt #225487, add gcc-4.3 patch, bug #217843
Package-Manager: portage-2.2_rc7/cvs/Linux 2.6.25-gentoo-r7 i686
Diffstat (limited to 'net-wireless/kismet')
-rw-r--r--net-wireless/kismet/ChangeLog12
-rw-r--r--net-wireless/kismet/Manifest16
-rw-r--r--net-wireless/kismet/files/gcc-4.3.patch36
-rw-r--r--net-wireless/kismet/files/kismet-2007.01.1b-Makefile.in.patch56
-rw-r--r--net-wireless/kismet/files/kismet-2007.01.1b-conf.d12
-rw-r--r--net-wireless/kismet/files/kismet-2007.01.1b-init.d27
-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
-rw-r--r--net-wireless/kismet/kismet-2006.04.1.ebuild61
-rw-r--r--net-wireless/kismet/kismet-2008.05.1.ebuild (renamed from net-wireless/kismet/kismet-2007.01.1b.ebuild)22
10 files changed, 66 insertions, 178 deletions
diff --git a/net-wireless/kismet/ChangeLog b/net-wireless/kismet/ChangeLog
index 0dccf4c475aa..4f264bf2ecac 100644
--- a/net-wireless/kismet/ChangeLog
+++ b/net-wireless/kismet/ChangeLog
@@ -1,6 +1,16 @@
# ChangeLog for net-wireless/kismet
# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-wireless/kismet/ChangeLog,v 1.101 2008/03/16 13:54:23 coldwind Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-wireless/kismet/ChangeLog,v 1.102 2008/08/11 16:57:47 armin76 Exp $
+
+*kismet-2008.05.1 (11 Aug 2008)
+
+ 11 Aug 2008; Raúl Porcel <armin76@gentoo.org> +files/gcc-4.3.patch,
+ -files/kismet-2006.04.1-conf.d, -files/kismet-2006.04.1-init.d,
+ -files/kismet-2007.01.1b-Makefile.in.patch,
+ -files/kismet-2007.01.1b-conf.d, -files/kismet-2007.01.1b-init.d,
+ +files/kismet.confd, +files/kismet.initd, -kismet-2006.04.1.ebuild,
+ -kismet-2007.01.1b.ebuild, +kismet-2008.05.1.ebuild:
+ Version bump wrt #225487, add gcc-4.3 patch, bug #217843
16 Mar 2008; Santiago M. Mola <coldwind@gentoo.org>
kismet-2007.10.1.ebuild:
diff --git a/net-wireless/kismet/Manifest b/net-wireless/kismet/Manifest
index 3cf1af11af82..9b41f6dbea06 100644
--- a/net-wireless/kismet/Manifest
+++ b/net-wireless/kismet/Manifest
@@ -1,16 +1,12 @@
-AUX kismet-2006.04.1-conf.d 403 RMD160 cf6cad4dc844ccf9c807edfb5adec2351c0cd249 SHA1 50ce39c8989ddf214f72b3ac14f2a989d6121d15 SHA256 d2f5bb606e4dac45c8de27843ab460b9dac02e83979e52e1b8b3ca3af841adeb
-AUX kismet-2006.04.1-init.d 750 RMD160 ecf426992dab4e2dcf447d07a3ccf22a3e9024de SHA1 02a7676a96eabd60a8d1504bef156578ab3299cb SHA256 6d5765d53b6ed5bd24f82a4555bb787ef1a1034af26ec99488808ae126209451
-AUX kismet-2007.01.1b-Makefile.in.patch 2736 RMD160 c9d4932a3f0ab48beda9996d9b2f2401103132b7 SHA1 30b2220bdb17f8716997de64a7c154cd25f6d436 SHA256 04360ab6ec851427395ae9a37d38f6ba005c7070ac73cc543a75581277121244
-AUX kismet-2007.01.1b-conf.d 403 RMD160 cf6cad4dc844ccf9c807edfb5adec2351c0cd249 SHA1 50ce39c8989ddf214f72b3ac14f2a989d6121d15 SHA256 d2f5bb606e4dac45c8de27843ab460b9dac02e83979e52e1b8b3ca3af841adeb
-AUX kismet-2007.01.1b-init.d 753 RMD160 423c56cbb12400a60ee4fd93abc67438bc1173d9 SHA1 475e6528bcc5d2a9a77a58bc38fb6cadf98ad116 SHA256 dcf19082c780198d8f146dd6039b5ccc0da3908ba3e3288a8cff4bc101e0c665
+AUX gcc-4.3.patch 1221 RMD160 6c9c7da7c90367a363dd5d6a4e23eeee89791552 SHA1 2aff87ae336cb27d8e96831a7ab57d3f328ca78e SHA256 5e98a582f93169f5525338b9842c9196ff8d2764c69f4dc412acafb67e3b002b
AUX kismet-2007.10.1-Makefile.in.patch 2716 RMD160 abccd73749e80afe299ef46ed7ce39f132d8805c SHA1 4bbe30845e190e01dc495573f7bcedbd8da9c089 SHA256 d74c9b7c558beff78908e3d720d2b1783c101e12c2b719315b5ac3abb2c8808a
AUX kismet-2007.10.1-conf.d 403 RMD160 cf6cad4dc844ccf9c807edfb5adec2351c0cd249 SHA1 50ce39c8989ddf214f72b3ac14f2a989d6121d15 SHA256 d2f5bb606e4dac45c8de27843ab460b9dac02e83979e52e1b8b3ca3af841adeb
AUX kismet-2007.10.1-init.d 749 RMD160 c9dfda5e93ae8fa59679194241dd9508830dc617 SHA1 b3efd2d802aa34eee278fa8b4933e3eec8c33308 SHA256 1dd3fd3fee724490908abe072577ab159c2371820561872f8af0e30ea2f83054
-DIST kismet-2006-04-R1.tar.gz 1005068 RMD160 b709256198820d5ac650ce40dea637716427a8b7 SHA1 e48ce08e96328bfdac98152df6b5759c27ed9169 SHA256 eb8a1c688b07adede53c362355e639d8ac29d30536d69eaee97235d14e6d7e76
-DIST kismet-2007-01-R1b.tar.gz 625585 RMD160 1f066bd2669e571ffe62789b82a28bbdece2a479 SHA1 d09256e744ec0ca924f80863feaba8e548d4b4bf SHA256 1b998b34e2e9377f5ac7704295d64507234fe7656e49d384f8bf95604e97e05b
+AUX kismet.confd 403 RMD160 cf6cad4dc844ccf9c807edfb5adec2351c0cd249 SHA1 50ce39c8989ddf214f72b3ac14f2a989d6121d15 SHA256 d2f5bb606e4dac45c8de27843ab460b9dac02e83979e52e1b8b3ca3af841adeb
+AUX kismet.initd 742 RMD160 f91c46a9a3d1cac2610659e65a1a3538af4f2772 SHA1 54aa3d489e2fade47cca11a036cb1237dab7786a SHA256 b4420c22264ff3604bf956b65bca5b564cbb70676c3f48d5e444f3aa6687a624
DIST kismet-2007-10-R1.tar.gz 646452 RMD160 7cb62a3fd964c9ee7e4ec6bef050558c806ab495 SHA1 a1c682797ad6842b53f9e0f038254aa8326e0fb4 SHA256 023e7f47039c1ad8615052e464f76a3cd496a423449b931036d127c56d58b2b9
-EBUILD kismet-2006.04.1.ebuild 1562 RMD160 651726148a91794277b8601543248bedbb60f2e8 SHA1 ba608c3caf88c0eda510a6ccca3c0f0c35a8511c SHA256 e5f2cf92cc2a659520034990b0a02e9538276274eb058179d77d34df37d9fe84
-EBUILD kismet-2007.01.1b.ebuild 1419 RMD160 ed208d7a96554f2e8dcac22886973ddafcd1dd8a SHA1 b64506bd65d8fdb7203210561831b5403e41b4ee SHA256 ff4e50b22b58924f0beab7d568a36b9cfa1fe7aa9577f0511f341dd05e8cd667
+DIST kismet-2008-05-R1.tar.gz 655362 RMD160 5613207b45f85fa72d146009434df984f721ccdc SHA1 8355aeb0374a39549dfdc0c73160125eadd7c6e2 SHA256 a298d44f8a6ec977021cd492a720987ded81b5c4baf5f68b36f1282a23c9f7d3
EBUILD kismet-2007.10.1.ebuild 1419 RMD160 404a8e7728914df6ef7068f27defd4e5ec43f2b0 SHA1 8e24517a45032a0e751236c56d0c0b84924afc20 SHA256 03091b90c603852024258b63035840f3d1eb6f94772b07d76b24d153e32385c2
-MISC ChangeLog 15601 RMD160 1fa4dda07347830612a0ebd71fbeec0b54e693ac SHA1 23b9045c4fbe8fc8bf30e993f3da701a830aabe3 SHA256 2081b7a3f554c4c46890a13095eefccebfe0d35bead2f9f44d7dbe617d3256df
+EBUILD kismet-2008.05.1.ebuild 1440 RMD160 3e9dac15dd108f012c16abd64fee48841ac38c1c SHA1 aec38aa8c4108f862baa0eacde5bd420ec9233a4 SHA256 fed5420ca63bfd09df640e1163b1300b451b8ecfac7a5425cb070368d9b5b684
+MISC ChangeLog 16069 RMD160 8d72cd8a5dc36cc7302262a1317dd427459c7eb1 SHA1 f4d7bc5c3ddd9a2e321ef09a29de7ae397bcf725 SHA256 9328ba05e3f56dc1890bcf496acd8482a6768d11f2df89a0c73e3168a4971cea
MISC metadata.xml 160 RMD160 8521c3bd3ae0fb2bfddce5edb33fd31e223747e1 SHA1 194b7194f38673fe427e5893a42cd4c1506ce846 SHA256 b13062a43e40469b137e1206494a44b45755ea69511b64e5373cb1ce30bbb160
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
diff --git a/net-wireless/kismet/kismet-2006.04.1.ebuild b/net-wireless/kismet/kismet-2006.04.1.ebuild
deleted file mode 100644
index b157bfe985f8..000000000000
--- a/net-wireless/kismet/kismet-2006.04.1.ebuild
+++ /dev/null
@@ -1,61 +0,0 @@
-# Copyright 1999-2007 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-wireless/kismet/kismet-2006.04.1.ebuild,v 1.9 2007/01/31 18:10:39 phreak Exp $
-
-inherit toolchain-funcs linux-info
-
-MY_P=${P/\./-}
-MY_P=${MY_P/./-R}
-S=${WORKDIR}/${MY_P}
-
-DESCRIPTION="IEEE 802.11 wireless LAN sniffer"
-HOMEPAGE="http://www.kismetwireless.net/"
-SRC_URI="http://www.kismetwireless.net/code/${MY_P}.tar.gz"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="amd64 ppc x86"
-IUSE="ncurses"
-
-RDEPEND="net-wireless/wireless-tools
- ncurses? ( sys-libs/ncurses )"
-DEPEND="${RDEPEND}
- >=sys-devel/autoconf-2.58
- sys-apps/sed"
-
-src_unpack() {
- unpack ${A}
-
- sed -i -e "s:^\(logtemplate\)=\(.*\):\1=/tmp/\2:" \
- "${S}"/conf/kismet.conf.in
-
- # Remove -s from install options
- sed -i -e 's| -s||g' "${S}"/Makefile.in
-}
-
-src_compile() {
- # the configure script only honors '--disable-foo'
- local config="--disable-gpsmap"
-
- if ! use ncurses; then
- config="${config} --disable-curses --disable-panel"
- fi
-
- # need to set CC and CXX for FEATURES=confcache, bug #129479
- CC=$(tc-getCC) CXX=$(tc-getCXX) \
- econf \
- ${config} --with-linuxheaders="${KV_DIR}" || die "econf failed"
-
- einfo "You may safely ignore the warning about the missing .depend file"
- emake dep || die "emake dep failed"
- emake || die "emake failed"
-}
-
-src_install () {
- emake DESTDIR="${D}" install || die "emake install failed"
-
- dodoc CHANGELOG README TODO docs/*
-
- newinitd "${FILESDIR}"/${P}-init.d kismet
- newconfd "${FILESDIR}"/${P}-conf.d kismet
-}
diff --git a/net-wireless/kismet/kismet-2007.01.1b.ebuild b/net-wireless/kismet/kismet-2008.05.1.ebuild
index 269fe29531d8..cc06c9f5c546 100644
--- a/net-wireless/kismet/kismet-2007.01.1b.ebuild
+++ b/net-wireless/kismet/kismet-2008.05.1.ebuild
@@ -1,6 +1,6 @@
-# Copyright 1999-2007 Gentoo Foundation
+# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-wireless/kismet/kismet-2007.01.1b.ebuild,v 1.5 2007/03/17 17:52:02 beandog Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-wireless/kismet/kismet-2008.05.1.ebuild,v 1.1 2008/08/11 16:57:47 armin76 Exp $
inherit toolchain-funcs linux-info eutils
@@ -14,7 +14,7 @@ SRC_URI="http://www.kismetwireless.net/code/${MY_P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
-KEYWORDS="amd64 ppc x86"
+KEYWORDS="~amd64 ~ppc ~x86"
IUSE="ncurses"
DEPEND="${RDEPEND}"
@@ -24,14 +24,16 @@ RDEPEND="net-wireless/wireless-tools
src_unpack() {
unpack ${A}
-
- epatch "${FILESDIR}"/${P}-Makefile.in.patch
+ cd "${S}"
sed -i -e "s:^\(logtemplate\)=\(.*\):\1=/tmp/\2:" \
- "${S}"/conf/kismet.conf.in
+ conf/kismet.conf.in
+
+ # Don't strip and set correct mangrp
+ sed -i -e 's| -s||g' \
+ -e 's|@mangrp@|root|g' Makefile.in
- # Remove -s from install options
- sed -i -e 's| -s||g' "${S}"/Makefile.in
+ epatch "${FILESDIR}"/gcc-4.3.patch
}
src_compile() {
@@ -54,6 +56,6 @@ src_install () {
dodoc CHANGELOG README TODO docs/*
- newinitd "${FILESDIR}"/${P}-init.d kismet
- newconfd "${FILESDIR}"/${P}-conf.d kismet
+ newinitd "${FILESDIR}"/${PN}.initd kismet
+ newconfd "${FILESDIR}"/${PN}.confd kismet
}