mstpd: 0.0.8 -> 0.1.0
Removed strncpy patch since it is present in the upstream release now. Also added a make flag to change the config file location to /etc.
This commit is contained in:
parent
fa79acc597
commit
6f371215c3
@ -1,26 +1,21 @@
|
||||
{ lib, stdenv, fetchFromGitHub, fetchpatch, autoreconfHook }:
|
||||
{ lib, stdenv, fetchFromGitHub, autoreconfHook }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "mstpd";
|
||||
version = "0.0.8";
|
||||
version = "0.1.0";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = pname;
|
||||
repo = pname;
|
||||
rev = version;
|
||||
sha256 = "1xkfydxljdnj49p5r3mirk4k146428b6imfc9bkfps9yjn64mkgb";
|
||||
sha256 = "m4gbVXAPIYGQvTFaSziFuOO6say5kgUsk7NSdqXgKmA=";
|
||||
};
|
||||
|
||||
patches = [
|
||||
(fetchpatch {
|
||||
name = "fix-strncpy-gcc9.patch";
|
||||
url = "https://github.com/mstpd/mstpd/commit/d27d7e93485d881d8ff3a7f85309b545edbe1fc6.patch";
|
||||
sha256 = "19456daih8l3y6m9kphjr7pj7slrqzbj6yacnlgznpxyd8y4d86y";
|
||||
})
|
||||
];
|
||||
|
||||
nativeBuildInputs = [ autoreconfHook ];
|
||||
|
||||
makeFlags = [
|
||||
"bridgestpconffile=/etc/bridge-stp.conf"
|
||||
];
|
||||
configureFlags = [
|
||||
"--prefix=$(out)"
|
||||
"--sysconfdir=$(out)/etc"
|
||||
|
Loading…
Reference in New Issue
Block a user