ports/176213: nginx port installs incomplete passenger module

Holger Freyther holger at freyther.de
Sun Feb 17 18:30:01 UTC 2013


>Number:         176213
>Category:       ports
>Synopsis:       nginx port installs incomplete passenger module
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sun Feb 17 18:30:00 UTC 2013
>Closed-Date:
>Last-Modified:
>Originator:     Holger Freyther
>Release:        8.2/8.3
>Organization:
>Environment:
FreeBSD XXX 8.2-RELEASE-p3 FreeBSD 8.2-RELEASE-p3 #8: Sat Oct  1 09:11:56 UTC 2011     ich at XXX:/usr/obj/usr/src/sys/GENERIC  amd64
>Description:
The nginx port allows to enable the 3rdparty passenger module but the configuration is not complete.
>How-To-Repeat:
cd /usr/ports/www/nginx
make config
 Enable the passenger extensions
>Fix:
$ cd /s/portbuild/usr/ports/www/nginx/work/passenger-3.0.17
$ cp build/nginx.rb.org build/nginx.rb
$ setenv USE_VENDORED_LIBEV no
$ vi build/common_library.rb
put -lev into the LIBEV cflags
$ rake nginx

$ vi /usr/local/etc/nginx/nginx.conf
..
http {
    include '/s/portbuild/usr/ports/www/nginx/work/passenger-3.0.17/resources/mime.types';
    passenger_ruby /usr/local/bin/ruby18;
    passenger_root '/s/portbuild/usr/ports/www/nginx/work/passenger-3.0.17';
}



This will build but not install the Log, Watchdog and passenger-status handler.

>Release-Note:
>Audit-Trail:
>Unformatted:


More information about the freebsd-ports-bugs mailing list