grsecurity: use upstream url as the primary source

This commit is contained in:
Joachim Fasting 2016-12-09 12:10:01 +01:00
parent ca7cc96ee8
commit 9a63779d64
No known key found for this signature in database
GPG Key ID: 7544761007FE4E08

View File

@ -25,10 +25,13 @@ let
inherit grver kver grrev;
patch = fetchurl {
# When updating versions/hashes, ALWAYS use the official version; we use
# this mirror only because upstream removes sources files immediately upon
# releasing a new version ...
url = "https://raw.githubusercontent.com/slashbeast/grsecurity-scrape/master/${grbranch}/${name}.patch";
urls = [
"https://grsecurity.net/${grbranch}/${name}.patch"
# When updating versions/hashes, ALWAYS use the official
# version; we use this mirror only because upstream removes
# source files immediately upon releasing a new version ...
"https://raw.githubusercontent.com/slashbeast/grsecurity-scrape/master/${grbranch}/${name}.patch"
];
inherit sha256;
};