mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-22 06:53:01 +00:00
perlPackages.NetSNMP: apply Fedora patches
This commit is contained in:
parent
0cd2be5eaa
commit
9bf3f227d0
@ -7,7 +7,7 @@
|
||||
|
||||
{ config
|
||||
, stdenv, lib, buildPackages, pkgs, darwin
|
||||
, fetchurl, fetchpatch, fetchFromGitHub, fetchFromGitLab
|
||||
, fetchurl, fetchpatch, fetchpatch2, fetchFromGitHub, fetchFromGitLab
|
||||
, perl, shortenPerlShebang
|
||||
, nixosTests
|
||||
}:
|
||||
@ -19213,6 +19213,28 @@ with self; {
|
||||
url = "mirror://cpan/authors/id/D/DT/DTOWN/Net-SNMP-v6.0.1.tar.gz";
|
||||
hash = "sha256-FMN7wcuz883H1sE+DyeoWfFM3P1epUoEZ6iLwlmwt0E=";
|
||||
};
|
||||
patches = [
|
||||
(fetchpatch2 {
|
||||
url = "https://src.fedoraproject.org/rpms/perl-Net-SNMP/raw/6e1d3e8ff2b9bd38dab48301a9d8b5d81ef3b7fe/f/Net-SNMP-v6.0.1-Switch_from_Socket6_to_Socket.patch";
|
||||
hash = "sha256-IpVhqI+dXqzauTkLF0Doulg5U33FxHUhqFTp0jeMtMY=";
|
||||
})
|
||||
(fetchpatch2 {
|
||||
url = "https://src.fedoraproject.org/rpms/perl-Net-SNMP/raw/6e1d3e8ff2b9bd38dab48301a9d8b5d81ef3b7fe/f/Net-SNMP-v6.0.1-Simple_rewrite_to_Digest-HMAC-helpers.patch";
|
||||
hash = "sha256-ZXo9w2YLtPmM1SJLvIiLWefw7SwrTFyTo4eX6DG1yfA=";
|
||||
})
|
||||
(fetchpatch2 {
|
||||
url = "https://src.fedoraproject.org/rpms/perl-Net-SNMP/raw/6e1d3e8ff2b9bd38dab48301a9d8b5d81ef3b7fe/f/Net-SNMP-v6.0.1-Split_usm.t_to_two_parts.patch";
|
||||
hash = "sha256-A2gsD6DIX1aFSVLbSL/1zKSM1xiM6hWBadJJH7f5E8o=";
|
||||
})
|
||||
(fetchpatch2 {
|
||||
url = "https://src.fedoraproject.org/rpms/perl-Net-SNMP/raw/6e1d3e8ff2b9bd38dab48301a9d8b5d81ef3b7fe/f/Net-SNMP-v6.0.1-Add_tests_for_another_usm_scenarios.patch";
|
||||
hash = "sha256-U7nNuL35l/zdSzx1jgjp1PmLQn3xzzDw9DGnyeydi2E=";
|
||||
})
|
||||
(fetchpatch2 {
|
||||
url = "https://src.fedoraproject.org/rpms/perl-Net-SNMP/raw/6e1d3e8ff2b9bd38dab48301a9d8b5d81ef3b7fe/f/Net-SNMP-v6.0.1-Rewrite_from_Digest-SHA1-to-Digest-SHA.patch";
|
||||
hash = "sha256-dznhj1Fcy0iBBl92p825InjkNZixR2MURVQ/b9bVjtc=";
|
||||
})
|
||||
];
|
||||
preCheck =
|
||||
(lib.optionalString stdenv.hostPlatform.isLinux ''
|
||||
export NIX_REDIRECTS=/etc/protocols=${pkgs.iana-etc}/etc/protocols
|
||||
@ -19222,8 +19244,6 @@ with self; {
|
||||
CryptDES
|
||||
CryptRijndael
|
||||
DigestHMAC
|
||||
DigestSHA1
|
||||
Socket6
|
||||
];
|
||||
meta = {
|
||||
description = "Object oriented interface to SNMP";
|
||||
|
Loading…
Reference in New Issue
Block a user