[arch-commits] Commit in phpvirtualbox/trunk (PKGBUILD)
Sergej Pupykin
spupykin at archlinux.org
Mon Sep 29 10:40:10 UTC 2014
Date: Monday, September 29, 2014 @ 12:40:10
Author: spupykin
Revision: 119765
upgpkg: phpvirtualbox 4.3_1-2
upd
Modified:
phpvirtualbox/trunk/PKGBUILD
----------+
PKGBUILD | 13 +++----------
1 file changed, 3 insertions(+), 10 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2014-09-29 10:40:02 UTC (rev 119764)
+++ PKGBUILD 2014-09-29 10:40:10 UTC (rev 119765)
@@ -4,14 +4,13 @@
pkgname=phpvirtualbox
pkgver=4.3_1
-pkgrel=1
+pkgrel=2
pkgdesc="PHP/AJAX web interface for VirtualBox 4.*"
arch=(any)
url="http://sourceforge.net/projects/phpvirtualbox/"
license=('GPL')
depends=('php')
-backup=("etc/webapps/phpvirtualbox/.htaccess"
- "etc/webapps/phpvirtualbox/config.php")
+backup=("etc/webapps/phpvirtualbox/config.php")
source=(http://downloads.sourceforge.net/project/phpvirtualbox/phpvirtualbox-${pkgver/_/-}.zip)
md5sums=('33c2b4c050d55daa4024659e60c0136b')
@@ -33,16 +32,10 @@
<Directory "/usr/share/webapps/phpvirtualbox">
Options FollowSymlinks
AllowOverride All
- Order allow,deny
- Allow from all
+ Require all granted
</Directory>
EOF
- # Deny access by default
- echo "deny from all" >> ${pkgdir}/etc/webapps/phpvirtualbox/.htaccess
-
find . -type f -exec install -D -m644 {,${pkgdir}/usr/share/webapps/${pkgname}/}{} \;
-
- ln -s /etc/webapps/phpvirtualbox/.htaccess ${pkgdir}/usr/share/webapps/phpvirtualbox/.htaccess
ln -s /etc/webapps/phpvirtualbox/config.php ${pkgdir}/usr/share/webapps/phpvirtualbox/config.php
}
More information about the arch-commits
mailing list