From 41fc2642f1a4eb11e3ecf449576b280fb65b4ddb Mon Sep 17 00:00:00 2001 From: James Titcumb Date: Wed, 18 Sep 2024 21:19:01 +0100 Subject: [PATCH 1/3] Added a composer.json to enable support for PIE --- composer.json | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 composer.json diff --git a/composer.json b/composer.json new file mode 100644 index 0000000..500fa9f --- /dev/null +++ b/composer.json @@ -0,0 +1,19 @@ +{ + "name": "php/yaml", + "type": "php-ext", + "license": "MIT", + "description": "YAML-1.1 parser and emitter", + "require": { + "php": ">= 7.1.0" + }, + "php-ext": { + "extension-name": "yaml", + "configure-options": [ + { + "name": "with-yaml", + "description": "Enable LibYAML support. DIR is the path to LibYAML install prefix", + "needs-value": true + } + ] + } +} From 5c38ad527f60d8a9cda7e35df11750b0168b2a3b Mon Sep 17 00:00:00 2001 From: James Titcumb Date: Thu, 19 Sep 2024 07:43:13 +0100 Subject: [PATCH 2/3] Added dependency on date extension --- composer.json | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/composer.json b/composer.json index 500fa9f..c87c783 100644 --- a/composer.json +++ b/composer.json @@ -4,7 +4,8 @@ "license": "MIT", "description": "YAML-1.1 parser and emitter", "require": { - "php": ">= 7.1.0" + "php": ">= 7.1.0", + "ext-date": "*" }, "php-ext": { "extension-name": "yaml", From 3414aa444b367d1331028c489822614e2fb76f2b Mon Sep 17 00:00:00 2001 From: James Titcumb Date: Wed, 9 Oct 2024 10:38:00 +0100 Subject: [PATCH 3/3] Use pecl namespace for Package name --- composer.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/composer.json b/composer.json index c87c783..d7c18ef 100644 --- a/composer.json +++ b/composer.json @@ -1,5 +1,5 @@ { - "name": "php/yaml", + "name": "pecl/yaml", "type": "php-ext", "license": "MIT", "description": "YAML-1.1 parser and emitter",