opensnitch: 1.7.0.0 -> 1.7.1 (#421999)
This commit is contained in:
commit
614b6619e7
@ -1,7 +1,6 @@
|
|||||||
{
|
{
|
||||||
buildGoModule,
|
buildGoModule,
|
||||||
fetchFromGitHub,
|
fetchFromGitHub,
|
||||||
fetchpatch,
|
|
||||||
protobuf,
|
protobuf,
|
||||||
go-protobuf,
|
go-protobuf,
|
||||||
pkg-config,
|
pkg-config,
|
||||||
@ -35,24 +34,15 @@ let
|
|||||||
in
|
in
|
||||||
buildGoModule (finalAttrs: {
|
buildGoModule (finalAttrs: {
|
||||||
pname = "opensnitch";
|
pname = "opensnitch";
|
||||||
version = "1.7.0.0";
|
version = "1.7.1";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "evilsocket";
|
owner = "evilsocket";
|
||||||
repo = "opensnitch";
|
repo = "opensnitch";
|
||||||
tag = "v${finalAttrs.version}";
|
tag = "v${finalAttrs.version}";
|
||||||
hash = "sha256-ZkXqocgxyJGo5uQq4Ct1wmUIQljtx5oPzj4JfWWAuSE=";
|
hash = "sha256-j73wbHm8hrfm+8YVwonzU+ddzwSk9+ecucsQ0Es715k=";
|
||||||
};
|
};
|
||||||
|
|
||||||
patches = [
|
|
||||||
# https://github.com/evilsocket/opensnitch/issues/1357
|
|
||||||
# remove next release
|
|
||||||
(fetchpatch {
|
|
||||||
url = "https://github.com/dwongdev/opensnitch/commit/376b06ef97ef79e3afa699878af2e59918aa7ef0.patch?full_index=1";
|
|
||||||
hash = "sha256-QBhc4A2Dign5JY4fcQ2c3F02xFj3m3G2VwY9cFuWV3w=";
|
|
||||||
})
|
|
||||||
];
|
|
||||||
|
|
||||||
postPatch = ''
|
postPatch = ''
|
||||||
# Allow configuring Version at build time
|
# Allow configuring Version at build time
|
||||||
substituteInPlace daemon/core/version.go --replace-fail "const " "var "
|
substituteInPlace daemon/core/version.go --replace-fail "const " "var "
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user