upgpkg: z-push

Housekeeping.
This commit is contained in:
George Rawlinson 2021-08-08 19:19:39 +00:00
parent 1fcde753f9
commit 53166f0790
Signed by: grawlinson
GPG key ID: E0959FEA8B550539
3 changed files with 1 additions and 52 deletions

View file

@ -18,9 +18,6 @@ pkgname=(
'z-push-autodiscover'
# device state
'z-push-state-sql'
# not *exactly* supported
#'z-push-backend-stickynote'
# no kopano packages, maintainer does not utilise them
)
pkgver=2.6.4
pkgrel=1
@ -37,14 +34,6 @@ source=(
b2sums=('f1686a9b00a3a1427d2a1ce383dbc92f0156be8a2f2b901dda2e9c3be6fbef921a69f90d8e84f3962667742f98405eceb51fb139a8f33aa6094008f7b84f16ee'
'549a61faeed3762ab81ce649eae93ea6cac218740d8bfb022ceef045d5a23eb14b4f94d3cc4065b6c16b8de23f716d2ad10323376c662b54d2dfbbf33cbf1be1'
'23a9402bfe309b0e2f509c4f6d250c4b8cb985af358659170563b7393c17de168d8dea5fc1e6222f658b005cf1b2bd00afd0cdf19fc3e150645b9edd29a8cd01')
#noextract=("$pkgbase-$pkgver.tar.gz")
#prepare() {
# mkdir "$pkgname-$pkgver"
# bsdtar \
# --directory "$pkgname-$pkgver" \
# --extract --file "$srcdir/$pkgname-$pkgver.tar.gz"
#}
package_z-push-common() {
depends=(
@ -64,7 +53,6 @@ package_z-push-common() {
'z-push-autodiscover: to utilise AutoDiscover'
'z-push-state-sql: to store device state in a SQL database'
)
install="$pkgname.install"
backup=(
'etc/z-push/z-push.conf.php'
'etc/z-push/policies.ini'
@ -312,26 +300,4 @@ package_z-push-state-sql() {
ln -sfv /etc/z-push/state-sql.conf.php "$pkgdir/usr/share/$pkgbase/backend/sqlstatemachine/config.php"
}
#package_z-push-backend-stickynote() {
# pkgdesc="Enables Z-Push to use a PostgreSQL database for notes"
# depends=('z-push-common')
# optdepends=(
# 'php-pgsql: to use the PostgreSQL database backend'
# 'postgresql: to use a local PostgreSQL database'
# )
# install='stickynote.install'
# backup=('etc/z-push/stickynote.conf.php')
#
# cd src/backend/stickynote
#
# # package backend/stickynote
# install -vDm644 -t "$pkgdir/usr/share/$pkgbase/backend/stickynote" stickynote.php
#
# # configuration
# install -vDm644 config.php "$pkgdir/etc/$pkgbase/stickynote.conf.php"
# ln -sfv /etc/z-push/stickynote.conf.php "$pkgdir/usr/share/$pkgbase/backend/stickynote/config.php"
#
# # documentation
# install -vDm644 -t "$pkgdir/usr/share/doc/$pkgbase/stickynote" \
# AUTHOR REQUIREMENTS create-sticky-tables.sql
#}
# vim:set ts=2 sw=2 et:

View file

@ -1,5 +0,0 @@
post_install() {
echo ""
echo "Documentation for the SQL schema can be found in /usr/share/doc/z-push/stickynote"
echo ""
}

View file

@ -1,12 +0,0 @@
post_install() {
cat >&2 <<-EOF
Z-Push requires at least one of each:
* z-push-backend-*
* z-push-ipc-*
Otherwise it will not work properly.
EOF
}