diff options
author | Natanael Copa <ncopa@alpinelinux.org> | 2011-04-28 14:19:56 +0000 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2011-04-28 14:19:56 +0000 |
commit | c7b4b21b7b4160c862e30f0705d2c44dcedffdd9 (patch) | |
tree | bf11f2e9d60366fe3121a4f8e8bc5e6b5521d142 | |
parent | efa99500f7e82571d9ab461d982aa82003abb928 (diff) | |
download | aports-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
-rw-r--r-- | main/roundcubemail/APKBUILD | 13 |
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" |