From nobody@FreeBSD.org  Sun Feb 17 18:29:05 2013
Return-Path: <nobody@FreeBSD.org>
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1])
	by hub.freebsd.org (Postfix) with ESMTP id 070B6254
	for <freebsd-gnats-submit@FreeBSD.org>; Sun, 17 Feb 2013 18:29:05 +0000 (UTC)
	(envelope-from nobody@FreeBSD.org)
Received: from red.freebsd.org (red.freebsd.org [IPv6:2001:4f8:fff6::22])
	by mx1.freebsd.org (Postfix) with ESMTP id D69BB24B
	for <freebsd-gnats-submit@FreeBSD.org>; Sun, 17 Feb 2013 18:29:04 +0000 (UTC)
Received: from red.freebsd.org (localhost [127.0.0.1])
	by red.freebsd.org (8.14.5/8.14.5) with ESMTP id r1HIT4Yj016452
	for <freebsd-gnats-submit@FreeBSD.org>; Sun, 17 Feb 2013 18:29:04 GMT
	(envelope-from nobody@red.freebsd.org)
Received: (from nobody@localhost)
	by red.freebsd.org (8.14.5/8.14.5/Submit) id r1HIT4nh016451;
	Sun, 17 Feb 2013 18:29:04 GMT
	(envelope-from nobody)
Message-Id: <201302171829.r1HIT4nh016451@red.freebsd.org>
Date: Sun, 17 Feb 2013 18:29:04 GMT
From: Holger Freyther <holger@freyther.de>
To: freebsd-gnats-submit@FreeBSD.org
Subject: nginx port installs incomplete passenger module
X-Send-Pr-Version: www-3.1
X-GNATS-Notify:

>Number:         176213
>Category:       ports
>Synopsis:       www/nginx installs incomplete passenger module
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    osa
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sun Feb 17 18:30:00 UTC 2013
>Closed-Date:    Mon Feb 18 15:51:44 UTC 2013
>Last-Modified:  Mon Feb 18 15:51:44 UTC 2013
>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:
Responsible-Changed-From-To: freebsd-ports-bugs->osa 
Responsible-Changed-By: edwin 
Responsible-Changed-When: Sun Feb 17 18:54:57 UTC 2013 
Responsible-Changed-Why:  
Over to maintainer (via the GNATS Auto Assign Tool) 

http://www.freebsd.org/cgi/query-pr.cgi?pr=176213 
State-Changed-From-To: open->analyzed 
State-Changed-By: osa 
State-Changed-When: Mon Feb 18 03:02:57 UTC 2013 
State-Changed-Why:  
Could you please explain what's wrong with your installation. 

Basically, you need to install two ports for complete installation: 
1) www/nginx or www/nginx-devel with passenger module support; 
2) www/rubygem-passenger with nginx support. 


http://www.freebsd.org/cgi/query-pr.cgi?pr=176213 

From: Holger Hans Peter Freyther <holger@freyther.de>
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: ports/176213: www/nginx installs incomplete passenger module
Date: Mon, 18 Feb 2013 13:40:45 +0100

 I was not aware that I need to install both ports as rubygem-passenger
 would build a copy of nginx itself on first invocation of the passenger
 binary.
State-Changed-From-To: analyzed->closed 
State-Changed-By: osa 
State-Changed-When: Mon Feb 18 15:49:54 UTC 2013 
State-Changed-Why:  
This is because of multiple third-party modules support in ports tree, 
and one module inside original passenger distro. 

Thanks for report! 

http://www.freebsd.org/cgi/query-pr.cgi?pr=176213 
>Unformatted:
