Skip to content

Commit 8e5da03

Browse files
committed
migrate to pcre2 where possible
1 parent d627eec commit 8e5da03

File tree

2 files changed

+12
-4
lines changed

2 files changed

+12
-4
lines changed

debian_specs/passenger/control.erb

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,12 @@ Build-Depends: debhelper (>= 10~), rake,
1212
<% if dynamic_module_supported?(@distribution) -%>
1313
libxslt-dev, libgd-dev, libgeoip-dev,
1414
<% end -%>
15-
libapr1-dev, libcurl4-openssl-dev, zlib1g-dev, libpcre3-dev,
16-
libssl-dev
15+
libapr1-dev, libcurl4-openssl-dev, zlib1g-dev, libssl-dev,
16+
<% if Gem::Version.new(latest_nginx_sanitized(@distribution, true)) >= Gem::Version.new('1.21.5') -%>
17+
libpcre2-dev
18+
<% else -%>
19+
libpcre3-dev
20+
<% end -%>
1721
Standards-Version: 3.9.3
1822
Homepage: https://www.phusionpassenger.com/
1923
Vcs-Git: https://github.com/phusion/passenger.git

debian_specs/passenger_enterprise/control.erb

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,12 @@ Build-Depends: debhelper (>= 10~), rake,
1212
<% if dynamic_module_supported?(@distribution) -%>
1313
libxslt-dev, libgd-dev, libgeoip-dev,
1414
<% end -%>
15-
libapr1-dev, libcurl4-openssl-dev, zlib1g-dev, libpcre3-dev,
16-
libssl-dev
15+
libapr1-dev, libcurl4-openssl-dev, zlib1g-dev, libssl-dev,
16+
<% if Gem::Version.new(latest_nginx_sanitized(@distribution, true)) >= Gem::Version.new('1.21.5') -%>
17+
libpcre2-dev
18+
<% else -%>
19+
libpcre3-dev
20+
<% end -%>
1721
Standards-Version: 3.9.3
1822
Homepage: https://www.phusionpassenger.com/
1923
Vcs-Git: https://github.com/phusion/passenger.git

0 commit comments

Comments
 (0)