applications/networking/sniffers/kismet: Update to 2013-03-R1b.

This commit is contained in:
Alexander Tsamutali 2013-09-07 16:46:53 +04:00
parent 4c661d6607
commit e886f9aea1

View File

@ -1,19 +1,22 @@
{stdenv, fetchurl, libpcap, ncurses, expat, pcre}:
{ stdenv, fetchurl, pkgconfig, libpcap, ncurses, expat, pcre, libnl }:
stdenv.mkDerivation {
name = "kismet-2011-03-r2";
stdenv.mkDerivation rec {
name = "kismet-${version}";
version = "2013-03-R1b";
src = fetchurl {
url = http://www.kismetwireless.net/code/kismet-2011-03-R2.tar.gz;
sha256 = "0r1admlaiq7k0v13d9ci9i9mf5m25i1r5r18bkawsla9fbxrk83i";
url = "http://www.kismetwireless.net/code/${name}.tar.xz";
sha256 = "0b3wabdkh0p3msphihm4kz5yw02p27ska5lfippfcyn6z1z4svb3";
};
buildInputs = [libpcap ncurses expat pcre];
postConfigure =
"sed -e 's@-o \$(INSTUSR)@@' \\
-e 's@-g \$(INSTGRP)@@' \\
-e 's@-g \$(MANGRP)@@' \\
-i Makefile";
buildInputs = [ pkgconfig libpcap ncurses expat pcre libnl ];
postConfigure = ''
sed -e 's/-o $(INSTUSR)//' \
-e 's/-g $(INSTGRP)//' \
-e 's/-g $(MANGRP)//' \
-e 's/-g $(SUIDGROUP)//' \
-i Makefile
'';
meta = {
description = "Wireless network sniffer";