git: bd727cd78954 - main - www/nginx-module-aws-auth: Add New Port
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Wed, 14 Oct 2026 12:33:17 UTC
The branch main has been updated by joneum:
URL: https://cgit.FreeBSD.org/ports/commit/?id=bd727cd789544d0432424a0c950c334d42422fe3
commit bd727cd789544d0432424a0c950c334d42422fe3
Author: Jochen Neumeister <joneum@FreeBSD.org>
AuthorDate: 2026-10-14 12:02:44 +0000
Commit: Jochen Neumeister <joneum@FreeBSD.org>
CommitDate: 2026-10-14 12:33:00 +0000
www/nginx-module-aws-auth: Add New Port
Sources of the aws_auth module for the NGINX ports. The module signs
proxied requests with an AWS Signature Version 4 header, so nginx can
serve out of a private S3 bucket.
Sponsored by: Netzkommune GmbH
---
www/Makefile | 1 +
www/nginx-module-aws-auth/Makefile | 40 ++++++++++++++++++++++++++
www/nginx-module-aws-auth/distinfo | 3 ++
www/nginx-module-aws-auth/files/pkg-message.in | 14 +++++++++
www/nginx-module-aws-auth/pkg-descr | 6 ++++
5 files changed, 64 insertions(+)
diff --git a/www/Makefile b/www/Makefile
index ef73ed084dbf..b803cdc29b31 100644
--- a/www/Makefile
+++ b/www/Makefile
@@ -538,6 +538,7 @@
SUBDIR += nginx-module-accept-language
SUBDIR += nginx-module-ajp
SUBDIR += nginx-module-array-var
+ SUBDIR += nginx-module-aws-auth
SUBDIR += nginx-module-cache-purge
SUBDIR += nginx-module-form-input
SUBDIR += nginx-module-gridfs
diff --git a/www/nginx-module-aws-auth/Makefile b/www/nginx-module-aws-auth/Makefile
new file mode 100644
index 000000000000..715b2b795288
--- /dev/null
+++ b/www/nginx-module-aws-auth/Makefile
@@ -0,0 +1,40 @@
+PORTNAME= nginx-module-aws-auth
+DISTVERSION= 2.1.1.20260928
+CATEGORIES= www
+
+MAINTAINER= joneum@FreeBSD.org
+COMMENT= Sources of the aws_auth module for the NGINX ports
+WWW= https://github.com/anomalizer/ngx_aws_auth
+
+LICENSE= BSD2CLAUSE
+LICENSE_FILE= ${WRKSRC}/LICENSE
+
+USE_GITHUB= yes
+GH_ACCOUNT= anomalizer
+GH_PROJECT= ngx_aws_auth
+GH_TAGNAME= 3c129c2
+
+NO_ARCH= yes
+NO_BUILD= yes
+
+SUB_FILES= pkg-message
+
+_MODDIR= share/nginx/modules/${PORTNAME}
+MODULESDIR= ${PREFIX}/${_MODDIR}
+
+PLIST_FILES= ${_MODDIR}/config \
+ ${_MODDIR}/aws_functions.h \
+ ${_MODDIR}/crypto_helper.h \
+ ${_MODDIR}/crypto_helper_openssl.c \
+ ${_MODDIR}/ngx_http_aws_auth.c
+
+do-install:
+ @${MKDIR} ${STAGEDIR}${MODULESDIR}
+ ${INSTALL_DATA} ${WRKSRC}/config ${STAGEDIR}${MODULESDIR}
+ ${INSTALL_DATA} ${WRKSRC}/aws_functions.h \
+ ${WRKSRC}/crypto_helper.h \
+ ${WRKSRC}/crypto_helper_openssl.c \
+ ${WRKSRC}/ngx_http_aws_auth.c \
+ ${STAGEDIR}${MODULESDIR}
+
+.include <bsd.port.mk>
diff --git a/www/nginx-module-aws-auth/distinfo b/www/nginx-module-aws-auth/distinfo
new file mode 100644
index 000000000000..f3223e022def
--- /dev/null
+++ b/www/nginx-module-aws-auth/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1791967208
+SHA256 (anomalizer-ngx_aws_auth-2.1.1.20260928-3c129c2_GH0.tar.gz) = 804451f043f136451991ca68dc1d248861dc2e5e25f04e320095ee8ea929a66a
+SIZE (anomalizer-ngx_aws_auth-2.1.1.20260928-3c129c2_GH0.tar.gz) = 17579
diff --git a/www/nginx-module-aws-auth/files/pkg-message.in b/www/nginx-module-aws-auth/files/pkg-message.in
new file mode 100644
index 000000000000..a85d29d9651c
--- /dev/null
+++ b/www/nginx-module-aws-auth/files/pkg-message.in
@@ -0,0 +1,14 @@
+[
+{ type: install
+ message: <<EOM
+This package contains the sources of the aws_auth module only. It does not
+install a loadable module.
+
+The module itself is built by the nginx ports. To use aws_auth, build
+www/nginx, www/nginx-devel or www/freenginx with the AWS_AUTH option
+enabled. Those ports pick the sources up from
+%%PREFIX%%/share/nginx/modules/nginx-module-aws-auth and produce
+ngx_http_aws_auth_module.so.
+EOM
+}
+]
diff --git a/www/nginx-module-aws-auth/pkg-descr b/www/nginx-module-aws-auth/pkg-descr
new file mode 100644
index 000000000000..48549f99a1b7
--- /dev/null
+++ b/www/nginx-module-aws-auth/pkg-descr
@@ -0,0 +1,6 @@
+The aws_auth module signs requests the way Amazon S3 wants them signed,
+with signature version 4, so that nginx can proxy to a private bucket
+without the credentials travelling any further than its own configuration.
+
+This port only installs the module sources. The module itself is built by
+the nginx ports when their AWS_AUTH option is enabled.