tangled
alpha
login
or
join now
pyrox.dev
/
nixpkgs
0
fork
atom
lol
0
fork
atom
overview
issues
pulls
pipelines
enum4linux: 0.8.9 -> 0.9.1
Fabian Affolter
4 years ago
490652c6
3e610e1d
+27
-9
1 changed file
expand all
collapse all
unified
split
pkgs
tools
security
enum4linux
default.nix
+27
-9
pkgs/tools/security/enum4linux/default.nix
···
1
1
-
{ lib, stdenv, fetchurl, makeWrapper, samba, perl, openldap }:
1
1
+
{ lib
2
2
+
, stdenv
3
3
+
, fetchFromGitHub
4
4
+
, makeWrapper
5
5
+
, samba
6
6
+
, perl
7
7
+
, openldap
8
8
+
}:
2
9
3
10
stdenv.mkDerivation rec {
4
11
pname = "enum4linux";
5
5
-
version = "0.8.9";
6
6
-
src = fetchurl {
7
7
-
url = "https://labs.portcullis.co.uk/download/enum4linux-${version}.tar.gz";
8
8
-
sha256 = "41334df0cb1ba82db9e3212981340372bb355a8160073331d2a1610908a62d85";
12
12
+
version = "0.9.1";
13
13
+
14
14
+
src = fetchFromGitHub {
15
15
+
owner = "CiscoCXSecurity";
16
16
+
repo = pname;
17
17
+
rev = "v${version}";
18
18
+
sha256 = "sha256-/R0P4Ft9Y0LZwKwhDGAe36UKviih6CNbJbj1lcNKEkM=";
9
19
};
10
20
11
21
dontBuild = true;
12
12
-
nativeBuildInputs = [ makeWrapper ];
13
13
-
buildInputs = [ samba perl openldap ];
22
22
+
23
23
+
nativeBuildInputs = [
24
24
+
makeWrapper
25
25
+
];
26
26
+
27
27
+
buildInputs = [
28
28
+
openldap
29
29
+
perl
30
30
+
samba
31
31
+
];
14
32
15
33
installPhase = ''
16
34
mkdir -p $out/bin
···
23
41
meta = with lib; {
24
42
description = "A tool for enumerating information from Windows and Samba systems";
25
43
homepage = "https://labs.portcullis.co.uk/tools/enum4linux/";
26
26
-
license = licenses.gpl2;
44
44
+
license = licenses.gpl2Plus;
45
45
+
maintainers = with maintainers; [ fishi0x01 ];
27
46
platforms = platforms.unix;
28
28
-
maintainers = [ maintainers.fishi0x01 ];
29
47
};
30
48
}
31
49