aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndy Postnikov <apostnikov@gmail.com>2022-07-28 17:09:32 +0200
committerAndy Postnikov <apostnikov@gmail.com>2022-07-28 18:57:42 +0000
commit3d38ed46b341dcecb7bb7b13462c3449857787d5 (patch)
treead7ffedee7e32a49c8fc6b63e73063caf918b0c5
parentf593b733bfb7ca9a9b2519c082251cf00207aa91 (diff)
downloadaports-3d38ed46b341dcecb7bb7b13462c3449857787d5.tar.gz
aports-3d38ed46b341dcecb7bb7b13462c3449857787d5.tar.bz2
aports-3d38ed46b341dcecb7bb7b13462c3449857787d5.tar.xz
community/{php8,php81}: update provider priority
also set 0 to testing/php7 as it also provides some packages and fix comments
-rw-r--r--community/php8/APKBUILD8
-rw-r--r--community/php81/APKBUILD8
-rw-r--r--testing/php7/APKBUILD4
-rw-r--r--testing/php82/APKBUILD2
4 files changed, 12 insertions, 10 deletions
diff --git a/community/php8/APKBUILD b/community/php8/APKBUILD
index efd643a575..a1e17d860c 100644
--- a/community/php8/APKBUILD
+++ b/community/php8/APKBUILD
@@ -26,14 +26,14 @@
pkgname=php8
_pkgreal=php
pkgver=8.0.21
-pkgrel=2
+pkgrel=3
_apiver=20200930
_suffix=${pkgname#php}
# Is this package the default (latest) PHP version?
-_default_php="yes"
+_default_php="no"
provides="$pkgname-cli php-cli php" # for backward compatibility
-# priority of community/php81 is 50
-provider_priority=100
+# priority of community/php81 is 100
+provider_priority=50
pkgdesc="The PHP$_suffix language runtime engine"
url="https://www.php.net/"
arch="all"
diff --git a/community/php81/APKBUILD b/community/php81/APKBUILD
index cd0d25d775..455528eacf 100644
--- a/community/php81/APKBUILD
+++ b/community/php81/APKBUILD
@@ -26,14 +26,14 @@
pkgname=php81
_pkgreal=php
pkgver=8.1.8
-pkgrel=2
+pkgrel=3
_apiver=20210902
_suffix=${pkgname#php}
# Is this package the default (latest) PHP version?
-_default_php="no"
+_default_php="yes"
provides="$pkgname-cli php-cli php" # for backward compatibility
-# priority of community/php8 is 100
-provider_priority=50
+# priority of community/php8 is 50
+provider_priority=100
pkgdesc="The PHP$_suffix language runtime engine"
url="https://www.php.net/"
arch="all"
diff --git a/testing/php7/APKBUILD b/testing/php7/APKBUILD
index d646fe9169..ffc229b27d 100644
--- a/testing/php7/APKBUILD
+++ b/testing/php7/APKBUILD
@@ -26,12 +26,14 @@
pkgname=php7
_pkgreal=php
pkgver=7.4.30
-pkgrel=0
+pkgrel=1
_apiver=20190902
_suffix=${pkgname#php}
# Is this package the default (latest) PHP version?
_default_php="no"
pkgdesc="The PHP$_suffix language runtime engine"
+# priority of community/php81 is 100
+provider_priority=0
url="https://www.php.net/"
arch="all"
license="PHP-3.01 BSD-3-Clause LGPL-2.0-or-later MIT Zend-2.0"
diff --git a/testing/php82/APKBUILD b/testing/php82/APKBUILD
index 06f4ad5eb8..8ebad51362 100644
--- a/testing/php82/APKBUILD
+++ b/testing/php82/APKBUILD
@@ -33,7 +33,7 @@ _suffix=${pkgname#php}
# Is this package the default (latest) PHP version?
_default_php="no"
provides="$pkgname-cli php-cli php" # for backward compatibility
-# priority of community/php8 is 100
+# priority of community/php81 is 100
provider_priority=1
pkgdesc="The PHP$_suffix language runtime engine"
url="https://www.php.net/"