On 05/15/2012 01:02 PM, Johannes Brummer wrote: > Package: nginx-naxsi > Version: 1.1.19-1 > Severity: normal > > Dear Maintainer, > > nginx-naxsi -package is compiled without --with-http_stub_status_module, > and is not working. My experiences so far: > > # aptitude install nginx-naxsi > The following NEW packages will be installed: > nginx-naxsi{b} > 0 packages upgraded, 1 newly installed, 0 to remove and 0 not upgraded. > Need to get 358 kB of archives. After unpacking 705 kB will be used. > The following packages have unmet dependencies: > nginx-full : Conflicts: nginx-naxsi but 1.1.19-1 is to be installed. > nginx-naxsi : Conflicts: nginx-full but 1.1.19-1 is installed. > The following actions will resolve these dependencies: > > Remove the following packages: > 1) nginx > 2) nginx-full > > > > Accept this solution? [Y/n/q/?] y > The following NEW packages will be installed: > nginx-naxsi > The following packages will be REMOVED: > nginx{a} nginx-full{a} > 0 packages upgraded, 1 newly installed, 2 to remove and 0 not upgraded. > Need to get 358 kB of archives. After unpacking 282 kB will be freed. > Do you want to continue? [Y/n/?] y > Get: 1 http://ftp.fi.debian.org/debian/ wheezy/main nginx-naxsi i386 1.1.19-1 > [358 kB] > Fetched 358 kB in 0s (1,200 kB/s) > (Reading database ... 42644 files and directories currently installed.) > Removing nginx ... > Removing nginx-full ... > Stopping nginx: nginx. > Selecting previously unselected package nginx-naxsi. > (Reading database ... 42632 files and directories currently installed.) > Unpacking nginx-naxsi (from .../nginx-naxsi_1.1.19-1_i386.deb) ... > Setting up nginx-naxsi (1.1.19-1) ... > > # nano -w /etc/nginx/sites-enabled/default > > <insert following to the server-block> > location /nginx_status { > stub_status on; > access_log off; > allow 127.0.0.1; > deny all; > } > > > # service nginx restart > Restarting nginx: nginx: [emerg] unknown directive "stub_status" in > /etc/nginx/sites-enabled/default:82 > nginx: configuration file /etc/nginx/nginx.conf test failed > > > How i fixed the situation? > > apt-get source nginx, open debian/rules, search config.status.naxsi > -> > add " --with-http_stub_status_module \" to the configuration options before > "$(CONFIGURE_OPTS) >$@" > > after recompiling with dpkg-buildpackage -rfakeroot: > # dpkg -i ../nginx-naxsi_1.1.19-1_i386.deb > (Reading database ... 46518 files and directories currently installed.) > Preparing to replace nginx-naxsi 1.1.19-1 (using > .../nginx-naxsi_1.1.19-1_i386.deb) ... > Unpacking replacement nginx-naxsi ... > Setting up nginx-naxsi (1.1.19-1) ... > # service nginx restart > Restarting nginx: nginx. > # lynx -dump http://127.0.0.1/nginx_status > Active connections: 1 > server accepts handled requests > 1 1 1 > Reading: 0 Writing: 1 Waiting: 0 > > > -- System Information: > Debian Release: wheezy/sid > APT prefers testing > APT policy: (500, 'testing') > Architecture: i386 (i686) > > Kernel: Linux 3.2.0-2-686-pae (SMP w/2 CPU cores) > Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8) > Shell: /bin/sh linked to /bin/dash > > Versions of packages nginx-naxsi depends on: > ii libc6 2.13-32 > ii libpcre3 1:8.30-5 > ii libssl1.0.0 1.0.1c-1 > ii nginx-common 1.1.19-1 > ii zlib1g 1:1.2.7.dfsg-1 > > nginx-naxsi recommends no packages. > > nginx-naxsi suggests no packages. > > -- no debconf information > > > Hi Johannes.
Thanks for this report. I commited the needed changes to the GIT repository. Sorry for the inconvenience caused by this bug. Thanks. -- Cyril "Davromaniak" Lavier KeyID 59E9A881 http://www.davromaniak.eu -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org