mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-02 15:41:48 +00:00
applications/networking/sniffers/kismet: Update to 2013-03-R1b.
This commit is contained in:
parent
4c661d6607
commit
e886f9aea1
@ -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";
|
||||
|
Loading…
Reference in New Issue
Block a user