mirror of
https://github.com/php-gnupg/php-gnupg.git
synced 2026-12-01 21:18:50 +00:00
Add PIE support (GH-56) (#65)
Declare the extension metadata and GpgME dependency for PIE, document installation, and verify a PIE install from the checkout in CI.
This commit is contained in:
parent
19341ddad0
commit
fecdb31648
3 changed files with 78 additions and 0 deletions
35
composer.json
Normal file
35
composer.json
Normal file
|
|
@ -0,0 +1,35 @@
|
|||
{
|
||||
"name": "php-gnupg/gnupg",
|
||||
"description": "A wrapper around the GpgME library that provides access to GnuPG.",
|
||||
"type": "php-ext",
|
||||
"license": "BSD-2-Clause",
|
||||
"keywords": ["gnupg", "gpg", "gpgme", "encryption", "signing", "extension"],
|
||||
"homepage": "https://github.com/php-gnupg/php-gnupg",
|
||||
"support": {
|
||||
"issues": "https://github.com/php-gnupg/php-gnupg/issues",
|
||||
"source": "https://github.com/php-gnupg/php-gnupg",
|
||||
"docs": "https://www.php.net/manual/en/book.gnupg.php"
|
||||
},
|
||||
"require": {
|
||||
"php": "^7.2 || ^8.0",
|
||||
"lib-gpgme": ">=1.3.0"
|
||||
},
|
||||
"php-ext": {
|
||||
"extension-name": "gnupg",
|
||||
"support-zts": true,
|
||||
"support-nts": true,
|
||||
"os-families-exclude": ["windows"],
|
||||
"configure-options": [
|
||||
{
|
||||
"name": "with-gnupg",
|
||||
"description": "Include gnupg support, optionally specifying the path to the GpgME installation (directory containing include/gpgme.h)",
|
||||
"needs-value": true
|
||||
},
|
||||
{
|
||||
"name": "with-gpg",
|
||||
"description": "Path to the gpg v1.x binary",
|
||||
"needs-value": true
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue