Merge pull request #253129 from jiegec/dhcpcd

dhcpcd: 9.4.1 -> 10.0.3
This commit is contained in:
Maciej Krüger 2023-12-10 15:12:43 +01:00 committed by GitHub
commit b09d027d83
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,7 +1,6 @@
{ lib
, stdenv
, fetchFromGitHub
, fetchpatch
, pkg-config
, udev
, runtimeShellPackage
@ -12,24 +11,15 @@
stdenv.mkDerivation rec {
pname = "dhcpcd";
version = "9.4.1";
version = "10.0.3";
src = fetchFromGitHub {
owner = "NetworkConfiguration";
repo = "dhcpcd";
rev = "v${version}";
sha256 = "sha256-qyxON+TsAKMwAI19b5P+dT/sgxpW6m1giGcf/boFpHc=";
sha256 = "sha256-NXLOfSPGHiRDSagaT+37TAn9XtdcG4+wP9AvyGJi4Dc=";
};
patches = [
# dhcpcd with privsep SIGSYS's on dhcpcd -U
# https://github.com/NetworkConfiguration/dhcpcd/issues/147
(fetchpatch {
url = "https://github.com/NetworkConfiguration/dhcpcd/commit/38befd4e867583002b96ec39df733585d74c4ff5.patch";
hash = "sha256-nS2zmLuQBYhLfoPp0DOwxF803Hh32EE4OUKGBTTukE0=";
})
];
nativeBuildInputs = [ pkg-config ];
buildInputs = [
udev