summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFrancesco Colista <fcolista@alpinelinux.org>2014-06-24 14:53:33 +0000
committerFrancesco Colista <fcolista@alpinelinux.org>2014-06-24 14:53:43 +0000
commitb8e40f4f94275cd138dea423c8b45fb3778488a2 (patch)
tree5d5c54cacf74db5903a595c292fa00fc4fd31167
parentfc5c85dd6ea9d76da7d53dcde6a3110198eb83f5 (diff)
downloadaports-b8e40f4f94275cd138dea423c8b45fb3778488a2.tar.bz2
aports-b8e40f4f94275cd138dea423c8b45fb3778488a2.tar.xz
testing/flyspray: added mysqli support because mysql is deprecated
-rw-r--r--testing/flyspray/APKBUILD12
-rw-r--r--testing/flyspray/flyspray.post-install2
2 files changed, 11 insertions, 3 deletions
diff --git a/testing/flyspray/APKBUILD b/testing/flyspray/APKBUILD
index 9ad516fee..ffdcb8b62 100644
--- a/testing/flyspray/APKBUILD
+++ b/testing/flyspray/APKBUILD
@@ -2,7 +2,7 @@
# Maintainer: Francesco Colista <fcolista@alpinelinux.org>
pkgname=flyspray
pkgver=0.9.9.7
-pkgrel=0
+pkgrel=1
pkgdesc="A PHP web-based bug tracker"
url="http://www.flyspray.org/"
arch="noarch"
@@ -12,7 +12,7 @@ depends_dev=""
makedepends="$depends_dev"
install="$pkgname.post-install"
pkggroups="www-data"
-subpackages="$pkgname-mysql $pkgname-pgsql"
+subpackages="$pkgname-mysql $pkgname-mysqli $pkgname-pgsql"
source="http://flyspray.org/$pkgname-$pkgver.zip"
_builddir=$srcdir
_instdir="/usr/share/webapps/$pkgname"
@@ -47,6 +47,14 @@ mysql() {
mkdir -p "$subpkgdir"$_instdir
}
+mysqli() {
+ arch="noarch"
+ pkgdesc="Flyspray MySQLi support"
+ depends="flyspray php-mysqli php-pear-mdb2-driver-mysqli"
+ mkdir -p "$subpkgdir"$_instdir
+}
+
+
md5sums="3a218c5447d64af18f19bc63bb825e58 flyspray-0.9.9.7.zip"
sha256sums="f05fb71d61ee3b4ab42a61efea7b2c4fc53fd4ad762c9f3ced7de664661c2f2d flyspray-0.9.9.7.zip"
diff --git a/testing/flyspray/flyspray.post-install b/testing/flyspray/flyspray.post-install
index 2e5bbf725..de166dac8 100644
--- a/testing/flyspray/flyspray.post-install
+++ b/testing/flyspray/flyspray.post-install
@@ -1,3 +1,3 @@
#!/bin/sh
-echo -e "Remember to make a symlink from /usr/share/webapps/flyspray to the document root of your preferred webserver\n"
+echo -e "\nRemember to make a symlink from /usr/share/webapps/flyspray to the document root -or whatever- of your preferred webserver\n"
exit 0