CyprixRPMS and Nginx upgrade
It’s been a while (12 months) since nginx was last updated for Mandriva 2010.0 which has left my server running 0.8.17 for a long time. However since nginx is currently at 0.8.35 and the 0.8 branch has now gone stable along with many new features and bug fixes (see the changelog), I thought now was the time to upgrade.
I checked around for a more up-to-date rpm for Mandriva 2010.0 but none currently exists. There is 0.8.41 and 0.8.53 avaliable for 2010.1 and cooker. So…. one of three decisions to make.
- Upgrade the server to 2010.1
- Use either the 2010.1 or cooker nginx package on my existing install
- Request a backport for 2010.0
- Backport the package myself
Since this is a stable server an entire upgrade is a big risk and 2010.0 has a longer support timeframe, option 1 can be ignored. The same can be said about running packages not designed for the system. There goes option 2.
I decided to do both option 3 (Mandriva Bug Report) and 4.
I’ve never built an rpm before and thought that it was about time to learn, especially as I’d like to build up to being a maintainer/packager for the recently forked Mageia. So I set up a 2010.0 64bit build server and a 64bit test server and started using the Mandriva RPM Howto.
I downloaded the cooker source rpm for nginx 0.8.53 and rebuilt it for 2010.0.
Success! nginx-0.8.53-2mdv2010.0.x86_64.rpm
Since I now have the rpms (and along with my desire to do more packaging) I decided to use genhdlist2 and my rsync server to create my own repository – CyprixRPMS.
Using my own repo I upgraded my main server to 0.8.53 after basic testing on my 64bit test virtual machine.
You can add my repo with the command below as root (or sudo) for Mandriva 2010.0 64bit.
urpmi.addmedia cyprixrpms rsync://proteus.cyprix.com.au::cyprixrpms/mandriva/2010.0/x86_64
If you have any feedback on my rpms please email me.
Categorised as: Linux, Mageia, Mandriva, Servers, Tech, ZuFeed