Automatically fetch latest patch in shell script
Posted: Mon Jul 07, 2014 8:28 am
Hi,
I am a person that loves to automate repetitive tasks and therefore I love to write shell/bash scripts to save me work.
I would like to write a script that does the following:
1.) fetch latest stable grsecurity patch
2.) extract version of target linux kernel
3.) get that version of the linux kernel
4.) patch the linux kernel with grsecurity according to my preferences
The critical step is step one, since you do not allow access to https://grsecurity.net/stable/ where my script could determine the latest version. I tried some wget guessing but it does not work quite well. Am I missing something? Could you suggest an auto way of fetching the patch?
Thank you in advance for your support, great project btw!
I am a person that loves to automate repetitive tasks and therefore I love to write shell/bash scripts to save me work.
I would like to write a script that does the following:
1.) fetch latest stable grsecurity patch
2.) extract version of target linux kernel
3.) get that version of the linux kernel
4.) patch the linux kernel with grsecurity according to my preferences
The critical step is step one, since you do not allow access to https://grsecurity.net/stable/ where my script could determine the latest version. I tried some wget guessing but it does not work quite well. Am I missing something? Could you suggest an auto way of fetching the patch?
Thank you in advance for your support, great project btw!