mirror of
https://github.com/void-linux/void-packages.git
synced 2025-04-16 06:07:00 +02:00
php8.0: update to 8.0.21.
fix .so links in man pages, add changelog URL (thanks @subnut)
This commit is contained in:
parent
060406b302
commit
7a8a48fdd1
2 changed files with 29 additions and 3 deletions
25
srcpkgs/php8.0/patches/fix-manpages.patch
Normal file
25
srcpkgs/php8.0/patches/fix-manpages.patch
Normal file
|
@ -0,0 +1,25 @@
|
|||
This patch fixes .so links in man pages.
|
||||
It's needed because of the configure option -
|
||||
|
||||
--program-suffix=${_php_version}
|
||||
|
||||
The changes made by this patch should be the same as the changes made by this
|
||||
block of code -
|
||||
|
||||
_regexp='^[[:space:]]*\.so[[:space:]]'
|
||||
for file in $(grep -l -e "$_regexp" -R .); do
|
||||
vsed -i "$file" -e "/$_regexp/"'s=^[[:space:]]*\.[^.]*=&'${_php_version}=
|
||||
done
|
||||
|
||||
Where _php_version is defined in the template file.
|
||||
|
||||
--- a/ext/phar/phar.phar.1.in
|
||||
+++ b/ext/phar/phar.phar.1.in
|
||||
@@ -1 +1 @@
|
||||
-.so man1/phar.1
|
||||
+.so man1/phar8.0.1
|
||||
--- a/sapi/cgi/php-cgi.1.in
|
||||
+++ b/sapi/cgi/php-cgi.1.in
|
||||
@@ -1 +1 @@
|
||||
-.so man1/php.1
|
||||
+.so man1/php8.0.1
|
|
@ -1,7 +1,7 @@
|
|||
# Template file for 'php8.0'
|
||||
pkgname=php8.0
|
||||
version=8.0.20
|
||||
revision=2
|
||||
version=8.0.21
|
||||
revision=1
|
||||
_php_version=8.0
|
||||
wrksrc="php-${version}"
|
||||
hostmakedepends="bison pkg-config apache-devel"
|
||||
|
@ -14,8 +14,9 @@ short_desc="HTML-embedded scripting language"
|
|||
maintainer="Joel Beckmeyer <joel@beckmeyer.us>"
|
||||
license="PHP-3.01"
|
||||
homepage="https://www.php.net"
|
||||
changelog="https://raw.githubusercontent.com/php/php-src/php-${version}/NEWS"
|
||||
distfiles="https://www.php.net/distributions/php-${version}.tar.gz"
|
||||
checksum=7e21fd985966264194cde63503b57fd0f0170b32a39bd7af2384c1071b50f164
|
||||
checksum=2f51f6e90e2e8efd3a20db08f0dd61d7f8d5a9362f8c7325f1ad28ccea5be0ac
|
||||
|
||||
conf_files="/etc/php${_php_version}/php.ini"
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue