From: AnInternetTroll <AnInternetTroll@users.noreply.github.com>
To: ml@inbox.vuxu.org
Subject: [PR PATCH] New package: nginx-headers-more-0.37.
Date: Sun, 24 Mar 2024 14:33:22 +0100 [thread overview]
Message-ID: <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-49504@inbox.vuxu.org> (raw)
[-- Attachment #1: Type: text/plain, Size: 791 bytes --]
There is a new pull request by AnInternetTroll against master on the void-packages repository
https://github.com/AnInternetTroll/void-packages user/luca/nginx-headers-more
https://github.com/void-linux/void-packages/pull/49504
New package: nginx-headers-more-0.37.
<!-- Uncomment relevant sections and delete options which are not applicable -->
#### Testing the changes
- I tested the changes in this PR: **YES**
#### New package
- This new package conforms to the [package requirements](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#package-requirements): **YES**|**NO**
#### Local build testing
- I built this PR locally for my native architecture, (x86\_64-glibc)
A patch file from https://github.com/void-linux/void-packages/pull/49504.patch is attached
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-user/luca/nginx-headers-more-49504.patch --]
[-- Type: text/x-diff, Size: 2651 bytes --]
From c017fd6563123fd953e03ecd8361bc2b2a42db04 Mon Sep 17 00:00:00 2001
From: Luca Matei Pintilie <luca@lucamatei.com>
Date: Sun, 24 Mar 2024 14:32:08 +0100
Subject: [PATCH] New package: nginx-headers-more-0.37.
---
| 1 +
srcpkgs/nginx/template | 18 +++++++++++++++---
2 files changed, 16 insertions(+), 3 deletions(-)
create mode 120000 srcpkgs/nginx-headers-more
--git a/srcpkgs/nginx-headers-more b/srcpkgs/nginx-headers-more
new file mode 120000
index 00000000000000..da70e2081bc008
--- /dev/null
+++ b/srcpkgs/nginx-headers-more
@@ -0,0 +1 @@
+nginx
\ No newline at end of file
diff --git a/srcpkgs/nginx/template b/srcpkgs/nginx/template
index c72073d9a7ca21..4a565e132e1574 100644
--- a/srcpkgs/nginx/template
+++ b/srcpkgs/nginx/template
@@ -7,6 +7,7 @@ version=1.24.0
revision=5
_tests_commit=36a4563f7f00
_njs_version=0.7.12
+_headers_more_version=0.37
create_wrksrc=yes
build_wrksrc="nginx-${version}"
build_style=gnu-makefile
@@ -52,7 +53,8 @@ configure_args="--prefix=${_cfgdir}
--with-mail_ssl_module
--with-pcre-jit
--with-threads
- --add-dynamic-module=../njs-${_njs_version}/nginx"
+ --add-dynamic-module=../njs-${_njs_version}/nginx
+ --add-dynamic-module=../headers-more-nginx-module-${_headers_more_version}"
hostmakedepends="geoip geoip-devel openssl-devel pcre2-devel perl libxslt-devel
which"
makedepends="${hostmakedepends}"
@@ -64,10 +66,12 @@ homepage="https://nginx.org"
changelog="https://nginx.org/en/CHANGES-${version%.*}"
distfiles="https://nginx.org/download/nginx-${version}.tar.gz
https://hg.nginx.org/nginx-tests/archive/${_tests_commit}.tar.gz
- https://hg.nginx.org/njs/archive/${_njs_version}.tar.gz"
+ https://hg.nginx.org/njs/archive/${_njs_version}.tar.gz
+ https://github.com/openresty/headers-more-nginx-module/archive/refs/tags/v${_headers_more_version}.tar.gz"
checksum="77a2541637b92a621e3ee76776c8b7b40cf6d707e69ba53a940283e30ff2f55d
a90641a75314427b6c02e3a5e811c66d6fe7c0cad93752a6a2725d0129e08fbf
- af648336c236f625311edcd90b83f37702fadad160c2a5ed57b34656609e918a"
+ af648336c236f625311edcd90b83f37702fadad160c2a5ed57b34656609e918a
+ cf6e169d6b350c06d0c730b0eaf4973394026ad40094cddd3b3a5b346577019d"
# Tests fail when nginx run as root and there is no nginx user
make_check=ci-skip
@@ -228,3 +232,11 @@ nginx-mod-stream-geoip_package() {
vmove usr/lib/nginx/modules/ngx_stream_geoip_module.so
}
}
+
+nginx-headers-more_package() {
+ short_desc+=" - Manipulate output headers module"
+ depends="${sourcepkg}>=${version}_${revision}"
+ pkg_install() {
+ vmove usr/lib/nginx/modules/ngx_http_headers_more_filter_module.so
+ }
+}
next reply other threads:[~2024-03-24 13:33 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-03-24 13:33 AnInternetTroll [this message]
2024-03-24 14:09 ` [PR PATCH] [Closed]: " AnInternetTroll
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-49504@inbox.vuxu.org \
--to=aninternettroll@users.noreply.github.com \
--cc=ml@inbox.vuxu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).