179 Commits

Author SHA1 Message Date
naddy
ec14803114 drop RCS Ids 2022-03-11 20:09:36 +00:00
tb
64d5065c00 www/nginx: drop definition of TLS1_3_VERSION and SSL_OP_NO_TLSv1_3 from
CFLAGS. Since LibreSSL 3.4.1 this gross hack is no longer needed.
2021-11-18 20:20:10 +00:00
robert
b447f0bc49 update to 10.20.2; from Sergey A. Osokin 2021-11-16 19:14:51 +00:00
ajacoutot
2120e41ce5 Use the new rc_stop_signal / rc_reload_signal variables.
Need a recent rc.subr.
2021-11-06 10:38:40 +00:00
robert
35977f8900 revert previous change in -current as well until we come up with a good
solution;

Sending SIGQUIT to nginx will do a graceful shutdown, which can take up
to several minutes until all the connections are closed and nginx will
not accept any connections during this time.

The other problem is that doing a service restart will end up in a timeout
and the actual restart of the service will never happen because stopping
the service has "failed"
2021-10-31 06:45:40 +00:00
tb
18f5a5036d Fix build of nginx-lua after libssl crank. 2021-09-10 15:19:00 +00:00
jeremy
b5da0994ab Switch default ruby version to 3.0
Add patches to a few ports to build with ruby 3.0, mostly -fdeclspec to
CFLAGS or CXXFLAGS.

Bump ports where the default version change causes a package change.

OK kmos@
2021-09-02 14:59:44 +00:00
ajacoutot
1ce337eb15 Use SIGQUIT for graceful shutdown.
ok robert@ (maintainer)
2021-08-28 08:56:12 +00:00
sthen
e972efbb04 update to nginx 1.20.1, ok robert 2021-05-25 19:43:55 +00:00
tb
c376717119 www/nginx-lua: fix upcoming build breakage
SSL_SESSION will become opaque, so use SSL_SESSION_get_id() instead
of reaching inside the struct.

no response from maintainer
2021-05-10 15:06:06 +00:00
solene
c6c453f029 Update to nginx-naxsi-1.3
ok landry@
maintainer timeout

the commit contains a new patch file that will be
available in upstream next release
2021-02-02 22:54:04 +00:00
robert
04e33fc84c add mime types for avif image format and the matroska container format
from Brad
2021-01-01 12:46:51 +00:00
bket
ad032a4012 Enable building of ngx_stream_ssl_preread_module
This module allows extracting of information from the ClientHello
message without terminating SSL/TLS.

Thanks sthen@ and tb@ for the cluestick.

"...diff looks fine" robert@ (maintainer)
2020-12-15 18:32:34 +00:00
tb
f3b453aea4 nginx: allow opting out of TLSv1.3
Many people really want to use TLSv1.3 right now, some do not.
So in addition to enabling it, also allow disabling it. This
works around the fact that LibreSSL cannot expose these defines
right now since that would break an unknown number of ports.

Issue reported by Andreas Bartelt

Discussed with robert and sthen who both prefer this over a revert
2020-12-02 12:14:48 +00:00
jeremy
06ac160d22 Bump related ports after default Ruby version switch
OK gkoehler@
2020-11-17 03:19:36 +00:00
robert
3ec8ea1c43 Enable TLS 1.3 in nginx by defining TLS1_3_VERSION which is not yet public
in libressl
2020-10-23 15:20:30 +00:00
sthen
cdd1a3f32c nginx: add ngx_http_hmac_secure_link_module
maintainer timeout
2020-07-27 14:33:15 +00:00
jasper
39567b34b2 bump after libxslt dependency changed 2020-06-09 07:14:44 +00:00
landry
1dbc784db1 Update to nginx 1.18.0.
while here update authldap module to a newer github checkout.

ok robert@ (MAINTAINER)
2020-06-08 06:03:50 +00:00
sthen
1b2e1bceaa drop the old geoip nginx module (no more database updates, the port already supports
the libmaxminddb-based geoip2 module), reorganise MULTI_PACKAGES a bit to avoid some
duplication in the Makefile. looks good robert@ (maintainer), ok fcambus@
2020-02-12 14:34:05 +00:00
sthen
c784357bfb - unbreak nginx on ld.bfd arches - gd library detection was failing in
configure (another place where it can't find required libraries in
/usr/X11R6/lib)

- remove bogus LIB_DEPENDS-rtmp, there are no WANTLIB, check-lib-depends
is happy

ok robert@
2020-01-10 13:39:26 +00:00
sthen
6516f166f1 set ONLY_FOR_ARCHS-passenger to the set of arches where we actually have
packages of www/ruby-passenger, suggested by jeremy@
2020-01-03 21:03:10 +00:00
sthen
6bc7824547 - build the ngx_http_geoip2 module for nginx to use libmaxminddb/GeoIP2
(can be used instead of the geoip module which uses databases which aren't
supported any more)

- use a simpler construct to fetch the additional github distfiles,
use https homepage while there

ok robert@
2019-11-06 13:05:49 +00:00
solene
57ba20530e rtmp module distfile was incorrectly renamed and was missing the version in its
filename.

Diff from Mikolaj Kucharski, thank you.
2019-08-26 06:58:08 +00:00
solene
30fb6e5d16 Add rtmp module for realtime rtmp/hls/mjpeg video streaming or relaying
ok robert@
2019-08-25 12:22:04 +00:00
robert
8c62576cae enable the http dav module;
from Mark Patruck
2019-08-19 13:43:21 +00:00
landry
81e3140396 Security update to nginx 1.16.1.
see http://nginx.org/en/security_advisories.html: When using HTTP/2 a
client might cause excessive memory consumption and CPU usage
(CVE-2019-9511, CVE-2019-9513,CVE-2019-9516).

Update chroot patch & fix WANTLIB while here.

ok sthen@ danj@ robert@ (maintainer)
2019-08-18 14:26:32 +00:00
sthen
0a5b5bddee replace simple PERMIT_PACKAGE_CDROM=Yes with PERMIT_PACKAGE=Yes 2019-07-12 20:50:46 +00:00
danj
8f59ff18a5 Build the stream module with ssl support
ok robert@ (maintainer), jca@
2019-05-19 19:37:09 +00:00
jeremy
4311e64eb4 Bump after default ruby version change to ruby 2.6 2019-04-29 00:42:08 +00:00
landry
8786296489 Update to nginx 1.16.0.
See https://nginx.org/en/CHANGES-1.16
ok robert@ (MAINTAINER)
2019-04-25 14:56:32 +00:00
robert
2192ab696a enable http auth request module and remove deprecated configure flags 2019-04-23 06:20:37 +00:00
landry
4cf04eef4d Update to nginx 1.14.2.
Fixes CVE-2018-16843, CVE-2018-16844, CVE-2018-16845
See http://nginx.org/en/CHANGES-1.14

ok robert@ (MAINTAINER)
2018-12-06 08:50:54 +00:00
landry
bf1c775856 Fix nginx-perl on macppc/arm64 by properly using P5ARCH in do-install
While here install nginx.so in the dir perl's DynaLoader will look for.

ok robert@ (maintainer) phessler@, hints from our resident perl expert afresh1@
2018-11-27 14:55:07 +00:00
landry
fedbc054ac Update to nginx 1.14.1.
Fixes CVE-2018-16843, CVE-2018-16844 & CVE-2018-16845.

ok sthen@ robert@
2018-11-10 08:43:34 +00:00
sthen
a50e9ab846 missed revision bump (ruby) 2018-11-06 14:57:47 +00:00
sthen
25f0e460f2 Add COMPILER lines to c++ ports which currently use the default. Adjust
some existing COMPILER lines with arch restrictions etc. In the usual
case this is now using "COMPILER = base-clang ports-gcc base-gcc" on
ports with c++ libraries in WANTLIB.

This is basically intended to be a noop on architectures using clang
as the system compiler, but help with other architectures where we
currently have many ports knocked out due to building with an unsuitable
compiler -

- some ports require c++11/newer so the GCC version in base that is used
on these archirtectures is too old.

- some ports have conflicts where an executable is built with one compiler
(e.g. gcc from base) but a library dependency is built with a different
one (e.g. gcc from ports), resulted in mixing incompatible libraries in the
same address space.

devel/gmp is intentionally skipped as it's on the path to building gcc -
the c++ library there is unused in ports (and not built by default upstream)
so intending to disable building gmpcxx in a future commit.
2018-10-24 14:27:57 +00:00
sthen
7c960e3aa2 nginx port tweaks, ok robert@
- add nginx-auth-ldap module (https://github.com/kvspb/nginx-auth-ldap/)
- reduce duplication in DISTFILES with foo{bar}ext syntax
- simplify RUN_DEPENDS*
- use perl MODULES to get ${P5ARCH} defined, use in PLIST-perl
2018-09-28 14:36:16 +00:00
jeremy
03965a32e5 Add a no_passenger PSEUDO_FLAVOR to allow building nginx on platforms
where you cannot build passenger.

OK robert@
2018-09-11 17:16:10 +00:00
espie
f4b7f81318 convert to PKGSTEM 2018-09-04 12:46:09 +00:00
landry
e8f377743d Update to nginx 1.14.0.
cf https://nginx.org/en/CHANGES-1.14

ok robert@ (MAINTAINER)
2018-04-28 15:58:59 +00:00
rpointel
d7df5d3e67 update nginx to 1.12.2.
ok robert@.
2018-03-01 15:58:19 +00:00
jsg
9a190ffe23 Now that arm has switched to clang the base compiler has atomic builtins
and accepts -mfpu=neon.

ok jca@ sthen@
2018-01-20 14:03:39 +00:00
rpe
9a8b5ccd06 Change the shebang line from /bin/sh to /bin/ksh in all ports rc.d
daemon scripts and bump subpackages that contain the *.rc scripts.

discussed with and OK aja@
OK tb
2018-01-11 19:27:01 +00:00
landry
b7594e7459 Update lua-nginx-module to 0.10.11 and reenable it.
I had an initial diff removing the no_lua PSEUDO_FLAVOR for the sake of
simplicity, but sthen@ preferred to keep it :)

The libressl breakage was fixed upstream in
cc0a793a27

Basic testing (content_from_lua_block, access_from_lua_block) okay

ok robert@ (MAINTAINER) sthen@
2018-01-05 12:48:01 +00:00
sthen
d579e1bf4e drop william@ as maintainer on his ports, per his request. 2017-11-15 21:28:05 +00:00
jeremy
06cc41eb95 Add headers_more subpackage
This allows you to set and clear headers in addition to just adding
them, and is necessary for proxying to work correctly for some
applications.

OK sthen@, william@, robert@
2017-11-14 16:43:09 +00:00
jeremy
3167afa7be Bump passenger subpackage and allow it to work with ruby 2.4.
noticed by naddy@
2017-11-02 14:08:18 +00:00
robert
f4d4cc3c0b security update to 1.12.1:
a specially crafted request might result in an integer
overflow and incorrect processing of ranges in the range filter,
potentially resulting in sensitive information leak (CVE-2017-7529).
2017-07-27 22:01:58 +00:00
sthen
5e964ab0df bump LIBCXX/LIBECXX/COMPILER_LIBCXX ports. 2017-07-26 22:45:14 +00:00