-
Notifications
You must be signed in to change notification settings - Fork 10
Expand file tree
/
Copy pathphp-8.2-apfd.yaml
More file actions
54 lines (45 loc) · 1.14 KB
/
php-8.2-apfd.yaml
File metadata and controls
54 lines (45 loc) · 1.14 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
52
53
54
package:
name: php-8.2-apfd
version: 1.0.3
epoch: 0
description: "Always Populate Form Data - Improved handling of multipart/form-data requests"
copyright:
- license: BSD-2-Clause
dependencies:
runtime:
- ${{package.name}}-config
- php-8.2
environment:
contents:
packages:
- autoconf
- build-base
- busybox
- php-8.2
- php-8.2-dev
pipeline:
- uses: fetch
with:
uri: https://pecl.php.net/get/apfd-${{package.version}}.tgz
expected-sha256: de222ad4231f410d71b8232b01e3e22c9cc27a68e6d272f153b230f2b048995f
- name: Prepare build
runs: phpize
- name: Configure
runs: ./configure
- uses: autoconf/make
- name: Make install
runs: INSTALL_ROOT="${{targets.destdir}}" DESTDIR="${{targets.destdir}}" make install
subpackages:
- name: ${{package.name}}-config
pipeline:
- runs: |
mkdir -p "${{targets.subpkgdir}}/etc/php/conf.d"
echo "extension=apfd.so" > "${{targets.subpkgdir}}/etc/php/conf.d/apfd.ini"
update:
enabled: true
release-monitor:
identifier: 6204
test:
pipeline:
- runs: |
php -m | grep apfd