mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-02-16 07:48:58 +00:00
* Added net-snmp.
svn path=/nixpkgs/trunk/; revision=34413
This commit is contained in:
parent
5d263987a0
commit
192291eb01
28
pkgs/tools/networking/net-snmp/default.nix
Normal file
28
pkgs/tools/networking/net-snmp/default.nix
Normal file
|
@ -0,0 +1,28 @@
|
|||
{ stdenv, fetchurl, file, openssl }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "net-snmp-5.7.1";
|
||||
|
||||
src = fetchurl {
|
||||
url = "mirror://sourceforge/net-snmp/${name}.tar.gz";
|
||||
sha256 = "07qqdgs3flraqccwry4a4x23jcg6vfi0rqj7clsibdv51ijwjwbw";
|
||||
};
|
||||
|
||||
configureFlags =
|
||||
[ "--with-default-snmp-version=3"
|
||||
"--with-sys-location=Unknown"
|
||||
"--with-sys-contact=root@unknown"
|
||||
"--with-logfile=/var/log/net-snmpd.log"
|
||||
"--with-persistent-directory=/var/lib/net-snmp"
|
||||
];
|
||||
|
||||
buildInputs = [ file openssl ];
|
||||
|
||||
enableParallelBuilding = true;
|
||||
|
||||
meta = {
|
||||
description = "Clients and server for the SNMP network monitoring protocol";
|
||||
homepage = http://net-snmp.sourceforge.net/;
|
||||
license = "bsd";
|
||||
};
|
||||
}
|
|
@ -1092,6 +1092,8 @@ let
|
|||
|
||||
ndisc6 = callPackage ../tools/networking/ndisc6 { };
|
||||
|
||||
net_snmp = callPackage ../tools/networking/net-snmp { };
|
||||
|
||||
netboot = callPackage ../tools/networking/netboot {};
|
||||
|
||||
netcat = callPackage ../tools/networking/netcat { };
|
||||
|
|
Loading…
Reference in a new issue