forked from shyim/wolfi-php
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathphp-8.1-relay.yaml
More file actions
51 lines (45 loc) · 1.67 KB
/
php-8.1-relay.yaml
File metadata and controls
51 lines (45 loc) · 1.67 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
package:
name: php-8.1-relay
version: 0.20.0
epoch: 0
description: "Relay is a Redis™ client like PhpRedis and Predis, except two orders of magnitude faster"
copyright:
- license: PROPRIETARY
dependencies:
runtime:
- ${{package.name}}-config
- liblz4-1
- libzstd1
- php-8.1
- php-8.1-igbinary
- php-8.1-msgpack
environment:
contents:
packages:
- busybox
pipeline:
- uses: fetch
if: ${{build.arch}} == 'x86_64'
with:
uri: https://builds.r2.relay.so/v${{package.version}}/relay-v${{package.version}}-php8.1-debian-x86-64+libssl3.tar.gz
expected-sha512: e92be8ab4d9baa3c61ae69e564ef0bd5e29f457615b1b691004dadd4165aa5cebfa9b146c068753dda952723f11e4171fd8e5cfe6e07b99724832d8b48917489
- uses: fetch
if: ${{build.arch}} == 'aarch64'
with:
uri: https://builds.r2.relay.so/v${{package.version}}/relay-v${{package.version}}-php8.1-debian-aarch64+libssl3.tar.gz
expected-sha512: 8a3c0dd2b1dc424ced3497bc83bbc6db7788b83b77489aadf8f6df713e2bb4210c6325fefdbafdbd57ef00d2bb572fc55b5d5fd50b76b3d281aa0ef8dd86f0eb
- name: Copy
runs: |
mkdir -p ${{targets.destdir}}/usr/lib/php/modules/
cp relay-pkg.so ${{targets.destdir}}/usr/lib/php/modules/relay.so
sed -i "s/00000000-0000-0000-0000-000000000000/$(cat /proc/sys/kernel/random/uuid)/" ${{targets.destdir}}/usr/lib/php/modules/relay.so
subpackages:
- name: ${{package.name}}-config
pipeline:
- runs: |
mkdir -p "${{targets.subpkgdir}}/etc/php/conf.d"
echo "extension=relay.so" > "${{targets.subpkgdir}}/etc/php/conf.d/relay.ini"
update:
enabled: true
release-monitor:
identifier: 375123