3
0
Fork 0
forked from mirrors/nixpkgs

Merge pull request #75562 from corngood/http-egg-cve-fix

Http egg cve fix
This commit is contained in:
Renaud 2019-12-13 23:56:31 +01:00 committed by GitHub
commit af5547fec8
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
5 changed files with 28 additions and 187 deletions

View file

@ -8,7 +8,7 @@
let let
libPath = "${chicken}/var/lib/chicken/${toString chicken.binaryVersion}/"; libPath = "${chicken}/var/lib/chicken/${toString chicken.binaryVersion}/";
overrides = import ./overrides.nix; overrides = import ./overrides.nix;
baseName = lib.getName name; baseName = stdenv.lib.getName name;
override = if builtins.hasAttr baseName overrides override = if builtins.hasAttr baseName overrides
then then
builtins.getAttr baseName overrides builtins.getAttr baseName overrides

View file

@ -1,4 +1,4 @@
{ pkgs }: { pkgs, stdenv }:
rec { rec {
inherit (pkgs) eggDerivation fetchegg; inherit (pkgs) eggDerivation fetchegg;
@ -16,35 +16,6 @@ rec {
]; ];
}; };
blob-utils = eggDerivation {
name = "blob-utils-1.0.3";
src = fetchegg {
name = "blob-utils";
version = "1.0.3";
sha256 = "17vdn02fnxnjx5ixgqimln93lqvzyq4y9w02fw7xnbdcjzqm0xml";
};
buildInputs = [
setup-helper
string-utils
];
};
check-errors = eggDerivation {
name = "check-errors-1.13.0";
src = fetchegg {
name = "check-errors";
version = "1.13.0";
sha256 = "12a0sn82n98jybh72zb39fdddmr5k4785xglxb16750fhy8rmjwi";
};
buildInputs = [
setup-helper
];
};
defstruct = eggDerivation { defstruct = eggDerivation {
name = "defstruct-1.6"; name = "defstruct-1.6";
@ -60,31 +31,29 @@ rec {
}; };
http-client = eggDerivation { http-client = eggDerivation {
name = "http-client-0.7.1"; name = "http-client-0.18";
src = fetchegg { src = fetchegg {
name = "http-client"; name = "http-client";
version = "0.7.1"; version = "0.18";
sha256 = "1s03zgmb7kb99ld0f2ylqgicrab9qgza53fkgsqvg7bh5njmzhxr"; sha256 = "1b9x66kfcglld4xhm06vba00gw37vr07c859kj7lmwnk9nwhcplg";
}; };
buildInputs = [ buildInputs = [
intarweb intarweb
uri-common uri-common
message-digest simple-md5
md5
string-utils
sendfile sendfile
]; ];
}; };
intarweb = eggDerivation { intarweb = eggDerivation {
name = "intarweb-1.3"; name = "intarweb-1.7";
src = fetchegg { src = fetchegg {
name = "intarweb"; name = "intarweb";
version = "1.3"; version = "1.7";
sha256 = "0izlby78c25py29bdcbc0vapb6h7xgchqrzi6i51d0rb3mnwy88h"; sha256 = "1arjgn5g4jfdzj3nlrhxk235qwf6k6jxr14yhnncnfbgdb820xp8";
}; };
buildInputs = [ buildInputs = [
@ -94,92 +63,13 @@ rec {
]; ];
}; };
lookup-table = eggDerivation {
name = "lookup-table-1.13.5";
src = fetchegg {
name = "lookup-table";
version = "1.13.5";
sha256 = "1nzly6rhynawlvzlyilk8z8cxz57cf9n5iv20glkhh28pz2izmrb";
};
buildInputs = [
setup-helper
check-errors
miscmacros
record-variants
synch
];
};
matchable = eggDerivation { matchable = eggDerivation {
name = "matchable-3.3"; name = "matchable-3.7";
src = fetchegg { src = fetchegg {
name = "matchable"; name = "matchable";
version = "3.3"; version = "3.7";
sha256 = "07y3lpzgm4djiwi9y2adc796f9kwkmdr28fkfkw65syahdax8990"; sha256 = "1vc9rpb44fhn0n91hzglin986dw9zj87fikvfrd7j308z22a41yh";
};
buildInputs = [
];
};
md5 = eggDerivation {
name = "md5-3.1.0";
src = fetchegg {
name = "md5";
version = "3.1.0";
sha256 = "0bka43nx8x9b0b079qpvml2fl20km19ny0qjmhwzlh6rwmzazj2a";
};
buildInputs = [
message-digest
];
};
message-digest = eggDerivation {
name = "message-digest-3.1.0";
src = fetchegg {
name = "message-digest";
version = "3.1.0";
sha256 = "1w6bax19dwgih78vcimiws0rja7qsd8hmbm6qqg2hf9cw3vab21s";
};
buildInputs = [
setup-helper
miscmacros
check-errors
variable-item
blob-utils
string-utils
];
};
miscmacros = eggDerivation {
name = "miscmacros-2.96";
src = fetchegg {
name = "miscmacros";
version = "2.96";
sha256 = "1ajdgjrni10i2hmhcp4rawnxajjxry3kmq1krdmah4sf0kjrgajc";
};
buildInputs = [
];
};
record-variants = eggDerivation {
name = "record-variants-0.5.1";
src = fetchegg {
name = "record-variants";
version = "0.5.1";
sha256 = "15wgysxkm8m4hx9nhhw9akchzipdnqc7yj3qd3zn0z7sxg4sld1h";
}; };
buildInputs = [ buildInputs = [
@ -188,12 +78,12 @@ rec {
}; };
sendfile = eggDerivation { sendfile = eggDerivation {
name = "sendfile-1.7.29"; name = "sendfile-1.8.3";
src = fetchegg { src = fetchegg {
name = "sendfile"; name = "sendfile";
version = "1.7.29"; version = "1.8.3";
sha256 = "1dc02cbkx5kixhbqjy26g6gs680vy7krc9qis1p1v4aa0b2lgj7k"; sha256 = "036x4xdndx7qly94afnag5b9idd1yymdm8d832w2cy054y7lxqsi";
}; };
buildInputs = [ buildInputs = [
@ -201,13 +91,13 @@ rec {
]; ];
}; };
setup-helper = eggDerivation { simple-md5 = eggDerivation {
name = "setup-helper-1.5.4"; name = "simple-md5-0.0.1";
src = fetchegg { src = fetchegg {
name = "setup-helper"; name = "simple-md5";
version = "1.5.4"; version = "0.0.1";
sha256 = "1k644y0md2isdcvazqfm4nyc8rh3dby6b0j3r4na4w8ryspqp6gj"; sha256 = "1h0b51p9wl1dl3pzs39hdq3hk2qnjgn8n750bgmh0651g4lzmq3i";
}; };
buildInputs = [ buildInputs = [
@ -215,38 +105,6 @@ rec {
]; ];
}; };
string-utils = eggDerivation {
name = "string-utils-1.2.4";
src = fetchegg {
name = "string-utils";
version = "1.2.4";
sha256 = "07alvghg0dahilrm4jg44bndl0x69sv1zbna9l20cbdvi35i0jp1";
};
buildInputs = [
setup-helper
miscmacros
lookup-table
check-errors
];
};
synch = eggDerivation {
name = "synch-2.1.2";
src = fetchegg {
name = "synch";
version = "2.1.2";
sha256 = "1m9mnbq0m5jsxmd1a3rqpwpxj0l1b7vn1fknvxycc047pmlcyl00";
};
buildInputs = [
setup-helper
check-errors
];
};
uri-common = eggDerivation { uri-common = eggDerivation {
name = "uri-common-1.4"; name = "uri-common-1.4";
@ -264,32 +122,16 @@ rec {
}; };
uri-generic = eggDerivation { uri-generic = eggDerivation {
name = "uri-generic-2.41"; name = "uri-generic-2.46";
src = fetchegg { src = fetchegg {
name = "uri-generic"; name = "uri-generic";
version = "2.41"; version = "2.46";
sha256 = "1r5jbzjllbnmhm5n0m3fcx0g6dc2c2jzp1dcndkfmxz0cl99zxac"; sha256 = "10ivf4xlmr6jcm00l2phq1y73hjv6g3qgr38ycc8rw56wv6sbm4g";
}; };
buildInputs = [ buildInputs = [
matchable matchable
defstruct
];
};
variable-item = eggDerivation {
name = "variable-item-1.3.1";
src = fetchegg {
name = "variable-item";
version = "1.3.1";
sha256 = "19b3mhb8kr892sz9yyzq79l0vv28dgilw9cf415kj6aq16yp4d5n";
};
buildInputs = [
setup-helper
check-errors
]; ];
}; };
} }

View file

@ -1,7 +1,6 @@
addChickenRepositoryPath() { addChickenRepositoryPath() {
addToSearchPathWithCustomDelimiter : CHICKEN_REPOSITORY_EXTRA "$1/lib/chicken/8/" addToSearchPathWithCustomDelimiter : CHICKEN_REPOSITORY_EXTRA "$1/lib/chicken/8/"
# addToSearchPathWithCustomDelimiter \; CHICKEN_INCLUDE_PATH "$1/share/" export CHICKEN_INCLUDE_PATH="$1/share${CHICKEN_INCLUDE_PATH:+;$CHICKEN_INCLUDE_PATH}"
export CHICKEN_INCLUDE_PATH="$1/share;$CHICKEN_INCLUDE_PATH"
} }
addEnvHooks "$targetOffset" addChickenRepositoryPath addEnvHooks "$targetOffset" addChickenRepositoryPath

View file

@ -7,7 +7,7 @@
let let
overrides = import ./overrides.nix; overrides = import ./overrides.nix;
baseName = (builtins.parseDrvName name).name; baseName = stdenv.lib.getName name;
override = if builtins.hasAttr baseName overrides override = if builtins.hasAttr baseName overrides
then then
builtins.getAttr baseName overrides builtins.getAttr baseName overrides

View file

@ -47,12 +47,12 @@ rec {
}; };
srfi-13 = eggDerivation { srfi-13 = eggDerivation {
name = "srfi-13-0.2.1"; name = "srfi-13-0.3";
src = fetchegg { src = fetchegg {
name = "srfi-13"; name = "srfi-13";
version = "0.2.1"; version = "0.3";
sha256 = "0204i7fhc4dy0l89lbi2lv9cjndrvwyrk68z3wy7x445jb4ky1gq"; sha256 = "0yaw9i6zhpxl1794pirh168clprjgmsb0xlr96drirjzsslgm3zp";
}; };
buildInputs = [ buildInputs = [