How to always have the latest nginx version in Ubuntu/Debian

Igor Sysoev is at rambler-co.ru
Tue Mar 24 08:47:24 MSK 2009


On Mon, Mar 23, 2009 at 02:56:50PM -0700, mike wrote:

> On Mon, Mar 23, 2009 at 2:48 PM, Merlin <merlin at mahalo.com> wrote:
> > Mark,
> >
> > Why not just use apt-get source to get the source package of nginx; wget the
> > latest nginx; copy the debian/ directory from the source package into the
> > new nginx directory; edit the (dch) changelog, control file, etc; rebuild
> > the package (debuild -rfakeroot), and install with dpkg?
> 
> I actually just do this. the .deb installs but issues warnings but it
> does work well enough. but I do want to learn how to properly roll a
> .deb someday :)
> 
> root at local:/usr/src/build# cat build-nginx
> #!/bin/sh

If you build something by hand, use program tuned specially for this: make,
even with the single target. make has one excellent feature: it always tests
a program exit code and stops execution if the program has failed.


-- 
Igor Sysoev
http://sysoev.ru/en/





More information about the nginx mailing list