* [PR PATCH] New package: nginx-headers-more-0.37.
@ 2024-03-24 13:33 AnInternetTroll
2024-03-24 14:09 ` [PR PATCH] [Closed]: " AnInternetTroll
0 siblings, 1 reply; 2+ messages in thread
From: AnInternetTroll @ 2024-03-24 13:33 UTC (permalink / raw)
To: ml
[-- 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
+ }
+}
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [PR PATCH] [Closed]: New package: nginx-headers-more-0.37.
2024-03-24 13:33 [PR PATCH] New package: nginx-headers-more-0.37 AnInternetTroll
@ 2024-03-24 14:09 ` AnInternetTroll
0 siblings, 0 replies; 2+ messages in thread
From: AnInternetTroll @ 2024-03-24 14:09 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 603 bytes --]
There's a closed pull request on the void-packages repository
New package: nginx-headers-more-0.37.
https://github.com/void-linux/void-packages/pull/49504
Description:
<!-- 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)
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2024-03-24 14:09 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-03-24 13:33 [PR PATCH] New package: nginx-headers-more-0.37 AnInternetTroll
2024-03-24 14:09 ` [PR PATCH] [Closed]: " AnInternetTroll
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).