pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/www Import Passenger 5.2.0 as www/passenger and www/ap...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/a76b5fe5cc1a
branches:  trunk
changeset: 374862:a76b5fe5cc1a
user:      fhajny <fhajny%pkgsrc.org@localhost>
date:      Tue Jan 30 12:06:48 2018 +0000

description:
Import Passenger 5.2.0 as www/passenger and www/ap2-passenger.
(Based on wip/*passenger.)

Phusion Passenger is a web server and application server,
designed to be fast, robust and lightweight. It supports Ruby,
Python, Node.js and Meteor.

diffstat:

 www/Makefile                                                                                           |    4 +-
 www/ap2-passenger/DESCR                                                                                |    5 +
 www/ap2-passenger/MESSAGE                                                                              |   17 +
 www/ap2-passenger/Makefile                                                                             |   29 +
 www/ap2-passenger/PLIST                                                                                |    2 +
 www/passenger/DESCR                                                                                    |    5 +
 www/passenger/MESSAGE                                                                                  |    6 +
 www/passenger/Makefile                                                                                 |   29 +
 www/passenger/Makefile.common                                                                          |   52 +
 www/passenger/PLIST                                                                                    |  406 ++++++++++
 www/passenger/buildlink3.mk                                                                            |   17 +
 www/passenger/distinfo                                                                                 |   11 +
 www/passenger/patches/patch-build_common__library.rb                                                   |   15 +
 www/passenger/patches/patch-build_packaging.rb                                                         |   53 +
 www/passenger/patches/patch-src_ruby__supportlib_phusion__passenger.rb                                 |   25 +
 www/passenger/patches/patch-src_ruby__supportlib_phusion__passenger_packaging.rb                       |   17 +
 www/passenger/patches/patch-src_ruby__supportlib_phusion__passenger_platform__info_cxx__portability.rb |   15 +
 17 files changed, 707 insertions(+), 1 deletions(-)

diffs (truncated from 793 to 300 lines):

diff -r 2380c5a2e648 -r a76b5fe5cc1a www/Makefile
--- a/www/Makefile      Tue Jan 30 11:52:18 2018 +0000
+++ b/www/Makefile      Tue Jan 30 12:06:48 2018 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.1303 2018/01/26 14:38:27 triaxx Exp $
+# $NetBSD: Makefile,v 1.1304 2018/01/30 12:06:48 fhajny Exp $
 #
 
 COMMENT=       Packages related to the World Wide Web
@@ -25,6 +25,7 @@
 SUBDIR+=       ap2-jk
 SUBDIR+=       ap2-limitipconn
 SUBDIR+=       ap2-mkdir
+SUBDIR+=       ap2-passenger
 SUBDIR+=       ap2-perl
 SUBDIR+=       ap2-python
 SUBDIR+=       ap2-subversion
@@ -538,6 +539,7 @@
 SUBDIR+=       p5-libapreq2
 SUBDIR+=       p5-libwww
 SUBDIR+=       paros
+SUBDIR+=       passenger
 SUBDIR+=       pear-HTML_Common
 SUBDIR+=       pear-HTML_Select
 SUBDIR+=       pear-HTML_TreeMenu
diff -r 2380c5a2e648 -r a76b5fe5cc1a www/ap2-passenger/DESCR
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/www/ap2-passenger/DESCR   Tue Jan 30 12:06:48 2018 +0000
@@ -0,0 +1,5 @@
+Phusion Passenger is a web server and application server,
+designed to be fast, robust and lightweight. It supports Ruby,
+Python, Node.js and Meteor.
+
+This package holds the Apache 2.x module.
diff -r 2380c5a2e648 -r a76b5fe5cc1a www/ap2-passenger/MESSAGE
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/www/ap2-passenger/MESSAGE Tue Jan 30 12:06:48 2018 +0000
@@ -0,0 +1,17 @@
+===========================================================================
+$NetBSD: MESSAGE,v 1.1 2018/01/30 12:06:49 fhajny Exp $
+
+The Apache 2 module was successfully installed.
+
+To enable this module, add the following lines to your Apache config file:
+
+LoadModule passenger_module lib/httpd/mod_passenger.so
+<IfModule mod_passenger.c>
+  PassengerRoot ${PREFIX}/${RUBY_VENDORLIB}/phusion_passenger/locations.ini
+  PassengerRuby ${RUBY}
+</IfModule>
+
+Use PassengerPython or PassengerNodejs directives to point to python and
+node commands as appropriate, when deploying Python or Node.js apps.
+
+===========================================================================
diff -r 2380c5a2e648 -r a76b5fe5cc1a www/ap2-passenger/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/www/ap2-passenger/Makefile        Tue Jan 30 12:06:48 2018 +0000
@@ -0,0 +1,29 @@
+# $NetBSD: Makefile,v 1.1 2018/01/30 12:06:49 fhajny Exp $
+
+PKGNAME=               ${APACHE_PKG_PREFIX}-${RUBY_PKGPREFIX}-${DISTNAME}
+COMMENT=               Passenger module for Apache 2.x
+
+BUILDLINK_DEPMETHOD.curl=      build
+
+DEPENDS+=              ${RUBY_PKGPREFIX}-${DISTNAME}:../../www/passenger
+
+.include "../../www/passenger/Makefile.common"
+
+APACHE_MODULE=         yes
+USE_APR=               yes
+
+# Get rid of these bits from www/apache24 as they break build on SunOS
+BUILDLINK_TRANSFORM+=  rm:-D_XOPEN_SOURCE
+BUILDLINK_TRANSFORM+=  rm:-D_XOPEN_SOURCE_EXTENDED=1
+
+INSTALLATION_DIRS+=    lib/httpd
+
+do-build:
+       cd ${WRKSRC}/build && ${SETENV} ${MAKE_ENV} ${RAKE} apache2
+
+do-install:
+       ${INSTALL_LIB} ${WRKSRC}/buildout/apache2/mod_passenger.so \
+         ${DESTDIR}${PREFIX}/lib/httpd/mod_passenger.so
+
+.include "../../mk/apache.mk"
+.include "../../mk/bsd.pkg.mk"
diff -r 2380c5a2e648 -r a76b5fe5cc1a www/ap2-passenger/PLIST
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/www/ap2-passenger/PLIST   Tue Jan 30 12:06:48 2018 +0000
@@ -0,0 +1,2 @@
+@comment $NetBSD: PLIST,v 1.1 2018/01/30 12:06:49 fhajny Exp $
+lib/httpd/mod_passenger.${RUBY_DLEXT}
diff -r 2380c5a2e648 -r a76b5fe5cc1a www/passenger/DESCR
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/www/passenger/DESCR       Tue Jan 30 12:06:48 2018 +0000
@@ -0,0 +1,5 @@
+Phusion Passenger is a web server and application server,
+designed to be fast, robust and lightweight. It supports Ruby,
+Python, Node.js and Meteor.
+
+This package holds the Passenger agents, tools and support files.
diff -r 2380c5a2e648 -r a76b5fe5cc1a www/passenger/MESSAGE
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/www/passenger/MESSAGE     Tue Jan 30 12:06:48 2018 +0000
@@ -0,0 +1,6 @@
+===========================================================================
+$NetBSD: MESSAGE,v 1.1 2018/01/30 12:06:48 fhajny Exp $
+
+To integrate with Apache 2.x, install the ap24-${PKGBASE} package.
+
+===========================================================================
diff -r 2380c5a2e648 -r a76b5fe5cc1a www/passenger/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/www/passenger/Makefile    Tue Jan 30 12:06:48 2018 +0000
@@ -0,0 +1,29 @@
+# $NetBSD: Makefile,v 1.1 2018/01/30 12:06:48 fhajny Exp $
+
+COMMENT=               Web and application server for Ruby, Python and Node.js
+
+.include "Makefile.common"
+
+INSTALL_ENV+=          FS_PREFIX=${PREFIX}
+INSTALL_ENV+=          FS_DOCDIR=${PREFIX}/share/doc
+INSTALL_ENV+=          RUBYLIBDIR=${PREFIX}/${RUBY_VENDORLIB}
+INSTALL_ENV+=          RUBYARCHDIR=${PREFIX}/${RUBY_VENDORARCHLIB}
+INSTALL_ENV+=          APACHE2_MODULE_PATH=${PREFIX}/lib/httpd/mod_passenger.so
+INSTALL_ENV+=          NATIVE_PACKAGING_METHOD=pkgsrc
+
+INSTALLATION_DIRS+=    ${PKGMANDIR}/man1 ${PKGMANDIR}/man8
+
+do-build:
+       cd ${WRKSRC}/build && ${SETENV} ${MAKE_ENV} ${RAKE} \
+               agent nginx nginx:as_dynamic_module native_support
+
+do-install:
+       cd ${WRKSRC} && ${SETENV} ${INSTALL_ENV} ${MAKE_ENV} ${RAKE} fakeroot
+       ${INSTALL_MAN} ${WRKSRC}/man/passenger-config.1 \
+               ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1
+       ${INSTALL_MAN} ${WRKSRC}/man/passenger-memory-stats.8 \
+               ${DESTDIR}${PREFIX}/${PKGMANDIR}/man8
+       ${INSTALL_MAN} ${WRKSRC}/man/passenger-status.8 \
+               ${DESTDIR}${PREFIX}/${PKGMANDIR}/man8
+
+.include "../../mk/bsd.pkg.mk"
diff -r 2380c5a2e648 -r a76b5fe5cc1a www/passenger/Makefile.common
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/www/passenger/Makefile.common     Tue Jan 30 12:06:48 2018 +0000
@@ -0,0 +1,52 @@
+# $NetBSD: Makefile.common,v 1.1 2018/01/30 12:06:48 fhajny Exp $
+# used by www/ap2-passenger/Makefile
+# used by www/passenger/Makefile
+
+DISTNAME=              passenger-5.2.0
+CATEGORIES=            www
+
+MASTER_SITES=          http://s3.amazonaws.com/phusion-passenger/releases/
+MAINTAINER?=           filip%joyent.com@localhost
+HOMEPAGE=              http://www.phusionpassenger.com/
+LICENSE=               mit
+
+USE_LANGUAGES=         c c++
+
+PATCHDIR=              ${.CURDIR}/../../www/passenger/patches
+DISTINFO_FILE=         ${.CURDIR}/../../www/passenger/distinfo
+
+.include "../../mk/bsd.prefs.mk"
+
+PKG_SYSCONFSUBDIR=     passenger
+
+REPLACE_RUBY=          bin/passenger
+REPLACE_RUBY+=         bin/passenger-config
+REPLACE_RUBY+=         bin/passenger-install-apache2-module
+REPLACE_RUBY+=         bin/passenger-install-nginx-module
+REPLACE_RUBY+=         bin/passenger-memory-stats
+REPLACE_RUBY+=         bin/passenger-status
+REPLACE_RUBY+=         src/helper-scripts/*.rb
+REPLACE_RUBY+=         src/helper-scripts/prespawn
+
+CHECK_INTERPRETER_SKIP+=       share/passenger/helper-scripts/wsgi-loader.py
+CHECK_INTERPRETER_SKIP+=       share/passenger/node/vendor-copy/winston/node_modules/async/support/sync-package-managers.js
+
+SUBST_CLASSES+=                dir
+SUBST_STAGE.dir=       pre-configure
+SUBST_MESSAGE.dir=     Fixing installation directories
+SUBST_FILES.dir=       src/ruby_supportlib/phusion_passenger.rb
+SUBST_FILES.dir+=      src/ruby_supportlib/phusion_passenger/platform_info/cxx_portability.rb
+SUBST_VARS.dir=                PKG_SYSCONFDIR PREFIX
+
+MAKE_ENV+=             EXTRA_LDFLAGS=${COMPILER_RPATH_FLAG}${PREFIX}/lib
+
+.if ${OPSYS} == "SunOS"
+MAKE_ENV+=             LIBEV_EXTRA_ARGS=ac_cv_header_sys_inotify_h=no
+.endif
+
+pre-install:
+       ${RM} -f ${WRKSRC}/src/ruby_supportlib/phusion_passenger/packaging.rb.orig \
+                ${WRKSRC}/src/ruby_supportlib/phusion_passenger/platform_info/cxx_portability.rb.orig
+
+.include "../../www/curl/buildlink3.mk"
+.include "../../lang/ruby/modules.mk"
diff -r 2380c5a2e648 -r a76b5fe5cc1a www/passenger/PLIST
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/www/passenger/PLIST       Tue Jan 30 12:06:48 2018 +0000
@@ -0,0 +1,406 @@
+@comment $NetBSD: PLIST,v 1.1 2018/01/30 12:06:48 fhajny Exp $
+bin/passenger
+bin/passenger-config
+bin/passenger-install-apache2-module
+bin/passenger-install-nginx-module
+lib/passenger/common/libboost_oxt.a
+lib/passenger/common/libpassenger_common/AppTypes.o
+lib/passenger/common/libpassenger_common/Crypto.o
+lib/passenger/common/libpassenger_common/DataStructures/LString.o
+lib/passenger/common/libpassenger_common/Exceptions.o
+lib/passenger/common/libpassenger_common/FileTools/FileManip.o
+lib/passenger/common/libpassenger_common/FileTools/PathManip.o
+lib/passenger/common/libpassenger_common/FileTools/PathManipCBindings.o
+lib/passenger/common/libpassenger_common/JsonTools/CBindings.o
+lib/passenger/common/libpassenger_common/LoggingKit.o
+lib/passenger/common/libpassenger_common/MemoryKit/mbuf.o
+lib/passenger/common/libpassenger_common/MemoryKit/palloc.o
+lib/passenger/common/libpassenger_common/ProcessManagement/Ruby.o
+lib/passenger/common/libpassenger_common/ProcessManagement/Spawn.o
+lib/passenger/common/libpassenger_common/ProcessManagement/Utils.o
+lib/passenger/common/libpassenger_common/ServerKit/Implementation.o
+lib/passenger/common/libpassenger_common/ServerKit/http_parser.o
+lib/passenger/common/libpassenger_common/UnionStationFilterSupport.o
+lib/passenger/common/libpassenger_common/Utils.o
+lib/passenger/common/libpassenger_common/Utils/CachedFileStat.o
+lib/passenger/common/libpassenger_common/Utils/Hasher.o
+lib/passenger/common/libpassenger_common/Utils/IOUtils.o
+lib/passenger/common/libpassenger_common/Utils/StrIntUtils.o
+lib/passenger/common/libpassenger_common/Utils/StrIntUtilsNoStrictAliasing.o
+lib/passenger/common/libpassenger_common/Utils/SystemTime.o
+lib/passenger/common/libpassenger_common/WatchdogLauncher.o
+lib/passenger/common/libpassenger_common/jsoncpp.o
+lib/passenger/common/libpassenger_common/vendor-modified/modp_b64.o
+lib/passenger/common/libpassenger_common/vendor-modified/modp_b64_strict_aliasing.o
+lib/passenger/nginx_dynamic/libboost_oxt.a
+lib/passenger/nginx_dynamic/module_libpassenger_common/AppTypes.o
+lib/passenger/nginx_dynamic/module_libpassenger_common/Exceptions.o
+lib/passenger/nginx_dynamic/module_libpassenger_common/FileTools/FileManip.o
+lib/passenger/nginx_dynamic/module_libpassenger_common/FileTools/PathManip.o
+lib/passenger/nginx_dynamic/module_libpassenger_common/FileTools/PathManipCBindings.o
+lib/passenger/nginx_dynamic/module_libpassenger_common/JsonTools/CBindings.o
+lib/passenger/nginx_dynamic/module_libpassenger_common/LoggingKit.o
+lib/passenger/nginx_dynamic/module_libpassenger_common/ProcessManagement/Spawn.o
+lib/passenger/nginx_dynamic/module_libpassenger_common/ProcessManagement/Utils.o
+lib/passenger/nginx_dynamic/module_libpassenger_common/Utils.o
+lib/passenger/nginx_dynamic/module_libpassenger_common/Utils/CachedFileStat.o
+lib/passenger/nginx_dynamic/module_libpassenger_common/Utils/Hasher.o
+lib/passenger/nginx_dynamic/module_libpassenger_common/Utils/IOUtils.o
+lib/passenger/nginx_dynamic/module_libpassenger_common/Utils/StrIntUtils.o
+lib/passenger/nginx_dynamic/module_libpassenger_common/Utils/StrIntUtilsNoStrictAliasing.o
+lib/passenger/nginx_dynamic/module_libpassenger_common/Utils/SystemTime.o
+lib/passenger/nginx_dynamic/module_libpassenger_common/WatchdogLauncher.o
+lib/passenger/nginx_dynamic/module_libpassenger_common/jsoncpp.o
+lib/passenger/support-binaries/PassengerAgent
+${RUBY_VENDORLIB}/phusion_passenger.rb
+${RUBY_VENDORLIB}/phusion_passenger/abstract_installer.rb
+${RUBY_VENDORLIB}/phusion_passenger/admin_tools.rb
+${RUBY_VENDORLIB}/phusion_passenger/admin_tools/instance.rb
+${RUBY_VENDORLIB}/phusion_passenger/admin_tools/instance_registry.rb
+${RUBY_VENDORLIB}/phusion_passenger/admin_tools/memory_stats.rb
+${RUBY_VENDORLIB}/phusion_passenger/apache2/config_options.rb
+${RUBY_VENDORLIB}/phusion_passenger/apache2/config_utils.rb
+${RUBY_VENDORLIB}/phusion_passenger/common_library.rb
+${RUBY_VENDORLIB}/phusion_passenger/config/about_command.rb
+${RUBY_VENDORLIB}/phusion_passenger/config/agent_compiler.rb
+${RUBY_VENDORLIB}/phusion_passenger/config/api_call_command.rb
+${RUBY_VENDORLIB}/phusion_passenger/config/build_native_support_command.rb
+${RUBY_VENDORLIB}/phusion_passenger/config/command.rb
+${RUBY_VENDORLIB}/phusion_passenger/config/compile_agent_command.rb
+${RUBY_VENDORLIB}/phusion_passenger/config/compile_nginx_engine_command.rb
+${RUBY_VENDORLIB}/phusion_passenger/config/detach_process_command.rb
+${RUBY_VENDORLIB}/phusion_passenger/config/download_agent_command.rb
+${RUBY_VENDORLIB}/phusion_passenger/config/download_nginx_engine_command.rb
+${RUBY_VENDORLIB}/phusion_passenger/config/install_agent_command.rb
+${RUBY_VENDORLIB}/phusion_passenger/config/install_standalone_runtime_command.rb
+${RUBY_VENDORLIB}/phusion_passenger/config/installation_utils.rb
+${RUBY_VENDORLIB}/phusion_passenger/config/list_instances_command.rb
+${RUBY_VENDORLIB}/phusion_passenger/config/main.rb
+${RUBY_VENDORLIB}/phusion_passenger/config/nginx_engine_compiler.rb
+${RUBY_VENDORLIB}/phusion_passenger/config/reopen_logs_command.rb
+${RUBY_VENDORLIB}/phusion_passenger/config/restart_app_command.rb
+${RUBY_VENDORLIB}/phusion_passenger/config/system_metrics_command.rb
+${RUBY_VENDORLIB}/phusion_passenger/config/system_properties_command.rb
+${RUBY_VENDORLIB}/phusion_passenger/config/utils.rb
+${RUBY_VENDORLIB}/phusion_passenger/config/validate_install_command.rb
+${RUBY_VENDORLIB}/phusion_passenger/console_text_template.rb
+${RUBY_VENDORLIB}/phusion_passenger/constants.rb
+${RUBY_VENDORLIB}/phusion_passenger/debug_logging.rb
+${RUBY_VENDORLIB}/phusion_passenger/loader_shared_helpers.rb
+${RUBY_VENDORLIB}/phusion_passenger/locations.ini
+${RUBY_VENDORLIB}/phusion_passenger/message_channel.rb
+${RUBY_VENDORLIB}/phusion_passenger/message_client.rb
+${RUBY_VENDORLIB}/phusion_passenger/native_support.rb
+${RUBY_VENDORLIB}/phusion_passenger/nginx/config_options.rb



Home | Main Index | Thread Index | Old Index