Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(24.10): add slice for libnginx-mod-http-headers-more-filter #438

Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
26 changes: 26 additions & 0 deletions slices/libnginx-mod-http-headers-more-filter.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
package: libnginx-mod-http-headers-more-filter

essential:
- libnginx-mod-http-headers-more-filter_copyright

slices:
modules:
essential:
# libnginx-mod-http-headers-more-filter depends on nginx-abi, which is
# a virtual package provided by nginx, hence the dependency on nginx_bins.
- libc6_libs
- libnginx-mod-http-headers-more-filter_config
- nginx_bins
contents:
/usr/lib/nginx/modules/ngx_http_headers_more_filter_module.so:

config:
contents:
# This symlink is created by the maintainer scipts
/etc/nginx/modules-enabled/50-mod-http-headers-more-filter.conf:
symlink: /usr/share/nginx/modules-available/mod-http-headers-more-filter.conf
/usr/share/nginx/modules-available/mod-http-headers-more-filter.conf:

copyright:
contents:
/usr/share/doc/libnginx-mod-http-headers-more-filter/copyright:
1 change: 1 addition & 0 deletions slices/nginx.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ slices:
- libpcre2-8-0_libs
- libssl3t64_libs
- nginx-common_config
- nginx-common_modules
norrisjeremy marked this conversation as resolved.
Show resolved Hide resolved
- zlib1g_libs
contents:
/usr/sbin/nginx:
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
summary: Integration tests for libnginx-mod-http-headers-more-filter

execute: |
# Chisel a minimum number of slices to give us a runnable system that we can
# test in.
rootfs="$(install-slices base-files_var base-passwd_data libnginx-mod-http-headers-more-filter_modules)"

# This will fail if loading of the NGINX module fails.
chroot "${rootfs}/" nginx -t
Loading