Date: Wednesday, September 16, 2015 @ 12:16:42 Author: spupykin Revision: 140372
archrelease: copy trunk to community-any Added: phpvirtualbox/repos/community-any/PKGBUILD (from rev 140371, phpvirtualbox/trunk/PKGBUILD) Deleted: phpvirtualbox/repos/community-any/PKGBUILD ----------+ PKGBUILD | 82 ++++++++++++++++++++++++++++++------------------------------- 1 file changed, 41 insertions(+), 41 deletions(-) Deleted: PKGBUILD =================================================================== --- PKGBUILD 2015-09-16 10:16:33 UTC (rev 140371) +++ PKGBUILD 2015-09-16 10:16:42 UTC (rev 140372) @@ -1,41 +0,0 @@ -# $Id$ -# Maintainer: Sergej Pupykin <pupyki...@gmail.com> -# Contributor:Techlive Zheng <techlivezheng at gmail dot com> - -pkgname=phpvirtualbox -pkgver=5.0_2 -pkgrel=1 -pkgdesc="PHP/AJAX web interface for VirtualBox 4.*" -arch=(any) -url="http://sourceforge.net/projects/phpvirtualbox/" -license=('GPL') -depends=('php') -backup=("etc/webapps/phpvirtualbox/config.php") -source=(http://downloads.sourceforge.net/project/phpvirtualbox/phpvirtualbox-${pkgver/_/-}.zip) -md5sums=('d04bed0b92822546d5022a009e4334fd') - -package() { - cd ${srcdir}/${pkgname}-${pkgver/_/-} - - mkdir -p ${pkgdir}/etc/webapps/phpvirtualbox - - install -D -m644 config.php-example ${pkgdir}/etc/webapps/phpvirtualbox/config.php - -# sed -e "s/var \\\$username = 'vbox';/var \\\$username = '';/g" \ -# -e "s/var \\\$password = 'pass';/var \\\$password = '';/g" \ -# -e "s/#var \\\$noAuth = true;/var \\\$noAuth = true;/g" \ -# -i ${pkgdir}/etc/webapps/phpvirtualbox/config.php - - # Apache configuration - cat > ${pkgdir}/etc/webapps/phpvirtualbox/apache.example.conf <<EOF - Alias /phpvirtualbox "/usr/share/webapps/phpvirtualbox" - <Directory "/usr/share/webapps/phpvirtualbox"> - Options FollowSymlinks - AllowOverride All - Require all granted - </Directory> -EOF - - find . -type f -exec install -D -m644 {,${pkgdir}/usr/share/webapps/${pkgname}/}{} \; - ln -s /etc/webapps/phpvirtualbox/config.php ${pkgdir}/usr/share/webapps/phpvirtualbox/config.php -} Copied: phpvirtualbox/repos/community-any/PKGBUILD (from rev 140371, phpvirtualbox/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2015-09-16 10:16:42 UTC (rev 140372) @@ -0,0 +1,41 @@ +# $Id$ +# Maintainer: Sergej Pupykin <pupyki...@gmail.com> +# Contributor:Techlive Zheng <techlivezheng at gmail dot com> + +pkgname=phpvirtualbox +pkgver=5.0_3 +pkgrel=1 +pkgdesc="PHP/AJAX web interface for VirtualBox 4.*" +arch=(any) +url="http://sourceforge.net/projects/phpvirtualbox/" +license=('GPL') +depends=('php') +backup=("etc/webapps/phpvirtualbox/config.php") +source=(http://downloads.sourceforge.net/project/phpvirtualbox/phpvirtualbox-${pkgver/_/-}.zip) +md5sums=('064836a925219685add3fbed4b6b7366') + +package() { + cd ${srcdir}/${pkgname}-${pkgver/_/-} + + mkdir -p ${pkgdir}/etc/webapps/phpvirtualbox + + install -D -m644 config.php-example ${pkgdir}/etc/webapps/phpvirtualbox/config.php + +# sed -e "s/var \\\$username = 'vbox';/var \\\$username = '';/g" \ +# -e "s/var \\\$password = 'pass';/var \\\$password = '';/g" \ +# -e "s/#var \\\$noAuth = true;/var \\\$noAuth = true;/g" \ +# -i ${pkgdir}/etc/webapps/phpvirtualbox/config.php + + # Apache configuration + cat > ${pkgdir}/etc/webapps/phpvirtualbox/apache.example.conf <<EOF + Alias /phpvirtualbox "/usr/share/webapps/phpvirtualbox" + <Directory "/usr/share/webapps/phpvirtualbox"> + Options FollowSymlinks + AllowOverride All + Require all granted + </Directory> +EOF + + find . -type f -exec install -D -m644 {,${pkgdir}/usr/share/webapps/${pkgname}/}{} \; + ln -s /etc/webapps/phpvirtualbox/config.php ${pkgdir}/usr/share/webapps/phpvirtualbox/config.php +}