firejail: 0.9.42 -> 0.9.44.2
This commit is contained in:
parent
41dc1e5237
commit
11bfe01846
|
@ -3,11 +3,11 @@ let
|
|||
s = # Generated upstream information
|
||||
rec {
|
||||
baseName="firejail";
|
||||
version="0.9.42";
|
||||
version="0.9.44.2";
|
||||
name="${baseName}-${version}";
|
||||
hash="0iwv97c0ygxrgxg997618a7cq3hl1l3b0njx7bqzv11vjzpcwfsg";
|
||||
url="mirror://sourceforge/project/firejail/firejail/firejail-0.9.42.tar.xz";
|
||||
sha256="0iwv97c0ygxrgxg997618a7cq3hl1l3b0njx7bqzv11vjzpcwfsg";
|
||||
hash="0lc8vq6lj0669q4vx08m3dzqjayhl0cmm7n3qi4k18ys8ccyzbf5";
|
||||
url="https://kent.dl.sourceforge.net/project/firejail/firejail/firejail-0.9.44.2.tar.xz";
|
||||
sha256="0lc8vq6lj0669q4vx08m3dzqjayhl0cmm7n3qi4k18ys8ccyzbf5";
|
||||
};
|
||||
buildInputs = [
|
||||
which
|
||||
|
@ -24,8 +24,6 @@ stdenv.mkDerivation {
|
|||
preConfigure = ''
|
||||
sed -e 's@/bin/bash@${stdenv.shell}@g' -i $( grep -lr /bin/bash .)
|
||||
sed -e "s@/bin/cp@$(which cp)@g" -i $( grep -lr /bin/cp .)
|
||||
sed -e '/void fs_var_run(/achar *vrcs = get_link("/var/run/current-system")\;' -i ./src/firejail/fs_var.c
|
||||
sed -e '/ \/run/iif(vrcs!=NULL){symlink(vrcs, "/var/run/current-system")\;free(vrcs)\;}' -i ./src/firejail/fs_var.c
|
||||
'';
|
||||
|
||||
preBuild = ''
|
||||
|
|
Loading…
Reference in New Issue