mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-10-03 13:30:36 +00:00
kismet: 2023-07-R1 -> 2023-07-R2; adopt
This is a security release. Enable the update script while we're at it.
Switch to GH for releases.
Switch to pcre2 since there are startup warnings with the old pcre.
(cherry picked from commit 5e872fd3a3)
This commit is contained in:
committed by
github-actions[bot]
parent
e1cd802516
commit
aa04087ce3
@@ -4,7 +4,7 @@
|
||||
autoreconfHook,
|
||||
binutils,
|
||||
elfutils,
|
||||
fetchurl,
|
||||
fetchFromGitHub,
|
||||
glib,
|
||||
libcap,
|
||||
libmicrohttpd,
|
||||
@@ -14,7 +14,8 @@
|
||||
libwebsockets,
|
||||
lm_sensors,
|
||||
networkmanager,
|
||||
pcre,
|
||||
nix-update-script,
|
||||
pcre2,
|
||||
pkg-config,
|
||||
openssl,
|
||||
protobuf,
|
||||
@@ -27,20 +28,22 @@
|
||||
zlib,
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
stdenv.mkDerivation (finalPackage: {
|
||||
pname = "kismet";
|
||||
version = "2023-07-R1";
|
||||
version = "2023-07-R2";
|
||||
|
||||
src = fetchurl {
|
||||
url = "https://www.kismetwireless.net/code/${pname}-${version}.tar.xz";
|
||||
hash = "sha256-8IVI4mymX6HlZ7Heu+ocpNDnIGvduWpPY5yQFxhz6Pc=";
|
||||
src = fetchFromGitHub {
|
||||
owner = "kismetwireless";
|
||||
repo = "kismet";
|
||||
tag = "kismet-${finalPackage.version}";
|
||||
hash = "sha256-QwTjjZHnrlATFvHK9PLDTt76UjfZdzCmV6uXVgIMIYg=";
|
||||
};
|
||||
|
||||
postPatch = ''
|
||||
substituteInPlace Makefile.in \
|
||||
--replace "-m 4550" ""
|
||||
--replace-fail "-m 4550" ""
|
||||
substituteInPlace configure.ac \
|
||||
--replace "pkg-config" "$PKG_CONFIG"
|
||||
--replace-fail "pkg-config" "$PKG_CONFIG"
|
||||
'';
|
||||
|
||||
postConfigure = ''
|
||||
@@ -81,7 +84,7 @@ stdenv.mkDerivation rec {
|
||||
openssl
|
||||
libusb1
|
||||
libwebsockets
|
||||
pcre
|
||||
pcre2
|
||||
protobuf
|
||||
protobufc
|
||||
sqlite
|
||||
@@ -111,10 +114,20 @@ stdenv.mkDerivation rec {
|
||||
|
||||
enableParallelBuilding = true;
|
||||
|
||||
meta = with lib; {
|
||||
passthru = {
|
||||
updateScript = nix-update-script {
|
||||
extraArgs = [
|
||||
"--version-regex"
|
||||
"^kismet-(\\d+-\\d+-.+)$"
|
||||
];
|
||||
};
|
||||
};
|
||||
|
||||
meta = {
|
||||
description = "Wireless network sniffer";
|
||||
homepage = "https://www.kismetwireless.net/";
|
||||
license = licenses.gpl3Plus;
|
||||
platforms = platforms.linux;
|
||||
license = lib.licenses.gpl3Plus;
|
||||
platforms = lib.platforms.linux;
|
||||
maintainers = with lib.maintainers; [ numinit ];
|
||||
};
|
||||
}
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user