Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 17 Feb 2013 18:29:04 GMT
From:      Holger Freyther <holger@freyther.de>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/176213: nginx port installs incomplete passenger module
Message-ID:  <201302171829.r1HIT4nh016451@red.freebsd.org>
Resent-Message-ID: <201302171830.r1HIU0Y1061820@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>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@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:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201302171829.r1HIT4nh016451>