mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-06-10 03:23:29 +03:00
ike-scan: 1.9.5 -> 1.9.5-unstable-2024-09-15
This commit is contained in:
parent
dcb241e940
commit
6dea73ebdc
1 changed files with 13 additions and 13 deletions
|
@ -9,15 +9,24 @@
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
pname = "ike-scan";
|
pname = "ike-scan";
|
||||||
version = "1.9.5";
|
version = "1.9.5-unstable-2024-09-15";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "royhills";
|
owner = "royhills";
|
||||||
repo = "ike-scan";
|
repo = "ike-scan";
|
||||||
rev = version;
|
rev = "c74c01fd22d9a3aae3d8ba9a0bd2eb1a2146ac6f";
|
||||||
sha256 = "sha256-mbfg8p3y4aKoXpmLuF9GXAMPEqV5CsvetwGCRDJ9UNY=";
|
hash = "sha256-+eicvirqzZrAJiaGaVjqZlSpU2+jTG/MRPv50P+1Tpc=";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
patches = [
|
||||||
|
# Using the same patches as for the Fedora RPM
|
||||||
|
(fetchpatch {
|
||||||
|
# Memory leaks, https://github.com/royhills/ike-scan/pull/15
|
||||||
|
url = "https://github.com/royhills/ike-scan/pull/15/commits/d864811de08dcddd65ac9b8d0f2acf5d7ddb9dea.patch";
|
||||||
|
hash = "sha256-VVJZSTZfDV0qHuxdNoZV1NXJYCEMtB0bO1oi2hLCeXE=";
|
||||||
|
})
|
||||||
|
];
|
||||||
|
|
||||||
nativeBuildInputs = [
|
nativeBuildInputs = [
|
||||||
autoreconfHook
|
autoreconfHook
|
||||||
openssl
|
openssl
|
||||||
|
@ -25,15 +34,6 @@ stdenv.mkDerivation rec {
|
||||||
|
|
||||||
configureFlags = [ "--with-openssl=${openssl.dev}" ];
|
configureFlags = [ "--with-openssl=${openssl.dev}" ];
|
||||||
|
|
||||||
patches = [
|
|
||||||
# Using the same patches as for the Fedora RPM
|
|
||||||
(fetchpatch {
|
|
||||||
# Memory leaks, https://github.com/royhills/ike-scan/pull/15
|
|
||||||
url = "https://github.com/royhills/ike-scan/pull/15/commits/d864811de08dcddd65ac9b8d0f2acf5d7ddb9dea.patch";
|
|
||||||
sha256 = "0wbrq89dl8js7cdivd0c45hckmflan33cpgc3qm5s3az6r4mjljm";
|
|
||||||
})
|
|
||||||
];
|
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
description = "Tool to discover, fingerprint and test IPsec VPN servers";
|
description = "Tool to discover, fingerprint and test IPsec VPN servers";
|
||||||
longDescription = ''
|
longDescription = ''
|
||||||
|
@ -41,7 +41,7 @@ stdenv.mkDerivation rec {
|
||||||
fingerprint and test IPsec VPN servers.
|
fingerprint and test IPsec VPN servers.
|
||||||
'';
|
'';
|
||||||
homepage = "https://github.com/royhills/ike-scan";
|
homepage = "https://github.com/royhills/ike-scan";
|
||||||
license = with licenses; [ gpl3Plus ];
|
license = licenses.gpl3Plus;
|
||||||
platforms = platforms.linux;
|
platforms = platforms.linux;
|
||||||
maintainers = with maintainers; [ fab ];
|
maintainers = with maintainers; [ fab ];
|
||||||
};
|
};
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue