enum4linux: 0.8.9 -> 0.9.1
This commit is contained in:
parent
3e610e1d39
commit
490652c67e
1 changed files with 27 additions and 9 deletions
|
@ -1,16 +1,34 @@
|
||||||
{ lib, stdenv, fetchurl, makeWrapper, samba, perl, openldap }:
|
{ lib
|
||||||
|
, stdenv
|
||||||
|
, fetchFromGitHub
|
||||||
|
, makeWrapper
|
||||||
|
, samba
|
||||||
|
, perl
|
||||||
|
, openldap
|
||||||
|
}:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
pname = "enum4linux";
|
pname = "enum4linux";
|
||||||
version = "0.8.9";
|
version = "0.9.1";
|
||||||
src = fetchurl {
|
|
||||||
url = "https://labs.portcullis.co.uk/download/enum4linux-${version}.tar.gz";
|
src = fetchFromGitHub {
|
||||||
sha256 = "41334df0cb1ba82db9e3212981340372bb355a8160073331d2a1610908a62d85";
|
owner = "CiscoCXSecurity";
|
||||||
|
repo = pname;
|
||||||
|
rev = "v${version}";
|
||||||
|
sha256 = "sha256-/R0P4Ft9Y0LZwKwhDGAe36UKviih6CNbJbj1lcNKEkM=";
|
||||||
};
|
};
|
||||||
|
|
||||||
dontBuild = true;
|
dontBuild = true;
|
||||||
nativeBuildInputs = [ makeWrapper ];
|
|
||||||
buildInputs = [ samba perl openldap ];
|
nativeBuildInputs = [
|
||||||
|
makeWrapper
|
||||||
|
];
|
||||||
|
|
||||||
|
buildInputs = [
|
||||||
|
openldap
|
||||||
|
perl
|
||||||
|
samba
|
||||||
|
];
|
||||||
|
|
||||||
installPhase = ''
|
installPhase = ''
|
||||||
mkdir -p $out/bin
|
mkdir -p $out/bin
|
||||||
|
@ -23,9 +41,9 @@ stdenv.mkDerivation rec {
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
description = "A tool for enumerating information from Windows and Samba systems";
|
description = "A tool for enumerating information from Windows and Samba systems";
|
||||||
homepage = "https://labs.portcullis.co.uk/tools/enum4linux/";
|
homepage = "https://labs.portcullis.co.uk/tools/enum4linux/";
|
||||||
license = licenses.gpl2;
|
license = licenses.gpl2Plus;
|
||||||
|
maintainers = with maintainers; [ fishi0x01 ];
|
||||||
platforms = platforms.unix;
|
platforms = platforms.unix;
|
||||||
maintainers = [ maintainers.fishi0x01 ];
|
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue