aboutsummaryrefslogtreecommitdiffstats
path: root/main
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2011-04-28 14:19:56 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2011-04-28 14:19:56 +0000
commitc7b4b21b7b4160c862e30f0705d2c44dcedffdd9 (patch)
treebf11f2e9d60366fe3121a4f8e8bc5e6b5521d142 /main
parentefa99500f7e82571d9ab461d982aa82003abb928 (diff)
downloadaports-c7b4b21b7b4160c862e30f0705d2c44dcedffdd9.tar.bz2
aports-c7b4b21b7b4160c862e30f0705d2c44dcedffdd9.tar.xz
main/roundcubemail: create subpackage for installer
The installer is a security risk and should not be installed. fixes #609
Diffstat (limited to 'main')
-rw-r--r--main/roundcubemail/APKBUILD13
1 files changed, 11 insertions, 2 deletions
diff --git a/main/roundcubemail/APKBUILD b/main/roundcubemail/APKBUILD
index ce7b530866..8c9344f91d 100644
--- a/main/roundcubemail/APKBUILD
+++ b/main/roundcubemail/APKBUILD
@@ -1,7 +1,7 @@
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=roundcubemail
pkgver=0.5.2
-pkgrel=0
+pkgrel=1
pkgdesc="A PHP web-based mail client"
url="http://www.roundcube.net"
arch="noarch"
@@ -9,6 +9,7 @@ license="GPL"
install="$pkgname.post-upgrade"
depends="php php-imap php-xml php-json"
makedepends=""
+subpackages="$pkgname-installer"
source="http://downloads.sourceforge.net/sourceforge/$pkgname/$pkgname-$pkgver.tar.gz"
_src="$srcdir"/roundcubemail-$pkgver
@@ -33,7 +34,7 @@ prepare() {
# cleanup
sed -i 's/\r//' SQL/mssql.initial.sql
- rm -rf logs temp installer
+ rm -rf logs temp
}
build() {
@@ -52,4 +53,12 @@ package() {
install -d "$pkgdir"/var/log/roundcube
}
+
+installer() {
+ pkgdesc="Roundcubemail installer script"
+ mkdir -p "$subpkgdir"/usr/share/webapps/roundcube
+ mv "$pkgdir"/usr/share/webapps/roundcube/installer \
+ "$subpkgdir"/usr/share/webapps/roundcube
+}
+
md5sums="7451ee4b3fdc89300e37c6fa9cd0f7b7 roundcubemail-0.5.2.tar.gz"