Skip to content

Commit f27a098

Browse files
ngx_brotli: new package
Source-only package shipping google/ngx_brotli master (pinned at a71f9312) under /usr/src/ngx_brotli for consumption by nginx builds via --add-dynamic-module. The upstream tag v1.0.0rc (2021) predates the fix for nginx 1.25+ build support, so master HEAD is pinned instead. Submodules are intentionally not initialized; consumers link against system brotli-dev via pkg-config (matching Alpine/Debian behavior).
1 parent e06e763 commit f27a098

1 file changed

Lines changed: 34 additions & 0 deletions

File tree

ngx_brotli.yaml

Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
package:
2+
name: ngx_brotli
3+
version: "1.0.0_p20231009"
4+
epoch: 0
5+
description: Nginx module for Brotli compression (source tree for dynamic module builds)
6+
copyright:
7+
- license: BSD-2-Clause
8+
dependencies:
9+
runtime:
10+
- wolfi-baselayout
11+
12+
environment:
13+
contents:
14+
packages:
15+
- busybox
16+
- ca-certificates-bundle
17+
18+
pipeline:
19+
- uses: git-checkout
20+
with:
21+
repository: https://github.com/google/ngx_brotli.git
22+
branch: master
23+
expected-commit: a71f9312c2deb28875acc7bacfdd5695a111aa53
24+
destination: ngx_brotli
25+
26+
- runs: |
27+
mkdir -p ${{targets.destdir}}/usr/src/ngx_brotli
28+
cp -r ngx_brotli/. ${{targets.destdir}}/usr/src/ngx_brotli/
29+
# drop git metadata; consumers only need the source tree
30+
rm -rf ${{targets.destdir}}/usr/src/ngx_brotli/.git
31+
32+
test:
33+
pipeline:
34+
- uses: test/tw/srcpackage

0 commit comments

Comments
 (0)