pkgsrc/www/passenger/Makefile.common
markd 7e59f930ed {ap2-,}passenger: update to 5.3.7
also patches to work correctly on NetBSD.

5.3.7
* Fixes package installation issues on Ubuntu 18.04. These issues were caused
  by an update released by Ubuntu on the nginx-common package.
* Fixes compilation problems and warnings with GCC 8.2. Tested on Alpine Linux
  edge 2018-11-05.
* Fixes compatibility with libcurl 7.62.0. Contributed by Po-Chuan Hsieh.
* Changes minimum supported macOS version to 10.11 El Capitan.
* Removes packages for Ubuntu 17.10 Artful.

5.3.6
* Fixes smart spawning. A regression in 5.3.5 (due to a refactoring) made it so
  that Passenger only used the direct spawning method. This issue was mostly
  noticeable in the form of increased process spawning times between 5.3.4
  and 5.3.5.
* Fixes Passenger Core and application processes staying on the Watchdog's OOM
  score (unkillable).
* Fixes "mach_vm_map failed" warnings on macOS >= High Sierra. These warnings
  were harmless, but annoying.
* Fixes passenger-config compile-agent compilation with optimizations. The
  optimization flags were not properly passed to the compiler.
* Fixes a crash that could occur when HTTP clients send a chunked
  transfer-encoding body containing a chunk larger than 429496729 bytes.
* Improves detection of the system Apache's include headers on macOS High
  Sierra and later.
* Fixes RVM gemset detection on RVM 1.29.
* No longer supplies precompiled Ruby extensions for Ruby 1.9.3 and 2.0.0.

5.3.5
* Fixes Ubuntu 18.04 package installation problems due to Nginx version
  mismatch.
* Improves usability of crash reports. Crash reports are no longer dumped
  in one big chunk to stderr. Instead, they are now dumped into multiple
  files, making it easy to inspect relevant reports.
* Fixes some crashes that only occur with log level 7.
* Downloads binaries from the newly-introduced Github mirror. This improves
  the reliability of binary downloads.
* Updated various library versions used in precompiled binaries (used for
  e.g. gem installs):
  * OpenSSL: 1.0.2p (was: 1.0.2o)
  * libcurl: 7.61.1 (was: 7.60.0)
2019-01-06 09:52:50 +00:00

52 lines
1.7 KiB
Text

# $NetBSD: Makefile.common,v 1.10 2019/01/06 09:52:50 markd Exp $
# used by www/ap2-passenger/Makefile
# used by www/passenger/Makefile
DISTNAME= passenger-5.3.7
CATEGORIES= www
MASTER_SITES= http://s3.amazonaws.com/phusion-passenger/releases/
MAINTAINER?= fhajny@NetBSD.org
HOMEPAGE= https://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"