← Back to team overview

ius-coredev team mailing list archive

[Bug 771362] Re: Nginx 1.0

 

Hello Luke,

Thank you very much for putting in a Launchpad Ticket for this.

You are correct IUS's nginx version is a bit behind, the main reason is
EPEL upgraded it's nginx version to 0.8 and we didn't want to duplicate
work that is already in EPEL.

As you mentioned 1.0.0 is now considered stable (along with 0.9):
   http://nginx.org/en/download.html

I've created a nginx10 IUS package which contains the version 1.0.0 and
placed it in the IUS Testing channel.

Once this package has synced across the mirrors you can install the
package using the command below:

   yum install nginx10 --enablerepo=ius-testing

Or you can download the package directly from the mirror:

   -- el5 x86_64 --
   http://dl.iuscommunity.org/pub/ius/testing/Redhat/5/x86_64/nginx10-1.0.0-1.ius.el5.x86_64.rpm

   -- el5 i386 --
   http://dl.iuscommunity.org/pub/ius/testing/Redhat/5/i386/nginx10-1.0.0-1.ius.el5.i386.rpm

We would be very grateful if you could try out this package and let us
know how it works (this way we can be confident when pushing to IUS
Stable and jumping from version 0.7 to 1.0).


As for your mention of not knowing how nginx is compiled, you can always check the RPM SPEC and see which configuration flags have been passed (as for this SPEC in nginx07 the package was port from Fedora 12):

    http://bazaar.launchpad.net/~ius-
coredev/ius/nginx10/view/head:/SPECS/nginx10.spec

In this case it seems the below have been built in:

    --with-http_ssl_module \
    --with-http_realip_module \
    --with-http_addition_module \
    --with-http_sub_module \
    --with-http_dav_module \
    --with-http_flv_module \
    --with-http_gzip_static_module \
    --with-http_random_index_module \
    --with-http_secure_link_module \
    --with-http_stub_status_module \
    --with-http_perl_module \
    --with-mail \
    --with-mail_ssl_module \
    --with-ipv6 \

And pcre is linked against the 'pcre' package in the Requires portion of
the SPEC:

--with-cc-opt="%{optflags} $(pcre-config --cflags)"

** Changed in: ius
       Status: New => Fix Committed

-- 
You received this bug notification because you are a member of IUS Core
Development, which is subscribed to IUS Community Project.
https://bugs.launchpad.net/bugs/771362

Title:
  Nginx 1.0

Status in IUS Community Project:
  Fix Committed

Bug description:
  Currently nginx07 is on the repo. But even nginx08 is considered
  legacy (see http://nginx.org/en/download.html).

  The repo could contain 0.7, 0.8, 0.9, and 1.0, but I'm really not
  convinced this would be necessary as versions prior have been leading
  up to 1.0. Nginx is gaining more momentum, and most people will
  probably go with 1.0. There really isn't much of a difference between
  0.9 and 1.0.

  Nginx doesn't support dynamic modules as it would incur a speed
  penalty. The current version of nginx in the repo has no indication of
  what modules are compiled in. For example the ssl module is not
  included by default, so there is no way of knowing if ssl is built in
  or not. There is also no indication if pcre is dynamically or
  statically linked.


References