mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2026-05-04 12:01:41 +02:00
testing/grommunio-sync: upgrade to 2.0_git20240327
also add vendor libraries and edit php-fpm config based on configured _php var
This commit is contained in:
parent
530c4301d1
commit
bf9f44ca42
@ -1,10 +1,10 @@
|
||||
# Maintainer: Noel Kuntze <noel.kuntze@contauro.com>
|
||||
pkgname=grommunio-sync
|
||||
pkgdesc="Exchange ActiveSync interface for grommunio"
|
||||
pkgver=2.0_git20240226
|
||||
pkgver=2.0_git20240327
|
||||
pkgrel=0
|
||||
arch="noarch !riscv64"
|
||||
url="http://www.kopano.com/"
|
||||
url="https://grommunio.com/"
|
||||
license="AGPL-3.0-only"
|
||||
options="!check" # No test suite
|
||||
_php=php83
|
||||
@ -25,9 +25,11 @@ depends="grommunio-gromox
|
||||
$_php-simplexml
|
||||
$_php-soap"
|
||||
|
||||
_commithash=316257884382020bebfb4e3a2853cb560f3b208b
|
||||
_commithash=655dec920595f2e181a0ad2c415d1fe2f5b04c9c
|
||||
|
||||
source="$pkgname-$pkgver.tar.gz::https://github.com/grommunio/grommunio-sync/archive/$_commithash.tar.gz"
|
||||
source="$pkgname-$pkgver.tar.gz::https://github.com/grommunio/grommunio-sync/archive/$_commithash.tar.gz
|
||||
$pkgname-$pkgver-vendor.tar.gz::https://nerd.hu/distfiles/grommunio-sync-$_commithash-vendor.tar.gz
|
||||
"
|
||||
|
||||
builddir="$srcdir/grommunio-sync-$_commithash/"
|
||||
|
||||
@ -40,6 +42,9 @@ package() {
|
||||
install -dm755 "$pkgdir/usr/share/webapps/$pkgname/"
|
||||
cp -rp -- * "$pkgdir/usr/share/webapps/$pkgname/"
|
||||
|
||||
# vendor libraries
|
||||
cp -rp "$srcdir/vendor" "$pkgdir/usr/share/webapps/$pkgname/"
|
||||
|
||||
# license
|
||||
install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
|
||||
|
||||
@ -49,6 +54,7 @@ package() {
|
||||
install -Dpm644 build/grommunio-sync-upstream.conf "$pkgdir/usr/share/grommunio-common/nginx/upstreams.d/grommunio-sync.conf"
|
||||
|
||||
# php-fpm
|
||||
sed -i "s@/php-fpm/@/php-fpm${_php##php}/@" build/pool-grommunio-sync.conf
|
||||
install -Dpm644 build/pool-grommunio-sync.conf "$pkgdir/etc/$_php/php-fpm.d/pool-grommunio-sync.conf"
|
||||
|
||||
# logrotate
|
||||
@ -65,5 +71,6 @@ package() {
|
||||
}
|
||||
|
||||
sha512sums="
|
||||
6df33c39e114c5439548d6c465a57d0b2885acac77349cde7de7f3a0a6a3fb339747f62b77c46f25300a60ffafa1be690ebaeff5c6625e11aa9a51fba2f7d67a grommunio-sync-2.0_git20240226.tar.gz
|
||||
e00414e470b61c0bfe6dde54de203c45ae409f5028d945371817430fdbdf203a4230e8a89f06ad52b7f892fea395651965d01bf20edb5786c02bfc2625e7bf51 grommunio-sync-2.0_git20240327.tar.gz
|
||||
d49c39cdea8ca46bc7c41f0d044ab6b015c24a0bf15da61c2b11460b05845f065af4f352fd0a0a70739113ec1cb196c47f477ddb776f24ceb37d6ffa638a288d grommunio-sync-2.0_git20240327-vendor.tar.gz
|
||||
"
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user