minipli / linux-unofficial_grsec

Unofficial forward ports of the last publicly available grsecurity patch
Other
150 stars 30 forks source link

Static link for scripted download #3

Closed Esokrates closed 7 years ago

Esokrates commented 7 years ago

Could you somehow provide a way to discover the latest version of the patch (diff file) from a script? Grsecurity originally provided a static link to a text file containing the name of the latest patch, but I guess this is not possible here given the possibilities of github?

parazyd commented 7 years ago

You can use github's RSS feed to see when a new patch is tagged.

Esokrates commented 7 years ago

I have found a way :-): curl -s https://api.github.com/repos/minipli/linux-unofficial_grsec/releases/latest | jq -r ".assets[].name" | head -1

I am closing this now.