[arch-commits] Commit in phpvirtualbox/repos/community-any (PKGBUILD PKGBUILD)

Sergej Pupykin spupykin at nymeria.archlinux.org
Fri Jan 17 11:43:14 UTC 2014


    Date: Friday, January 17, 2014 @ 12:43:14
  Author: spupykin
Revision: 104306

archrelease: copy trunk to community-any

Added:
  phpvirtualbox/repos/community-any/PKGBUILD
    (from rev 104305, phpvirtualbox/trunk/PKGBUILD)
Deleted:
  phpvirtualbox/repos/community-any/PKGBUILD

----------+
 PKGBUILD |   97 ++++++++++++++++++++++++++++++-------------------------------
 1 file changed, 48 insertions(+), 49 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2014-01-17 11:43:05 UTC (rev 104305)
+++ PKGBUILD	2014-01-17 11:43:14 UTC (rev 104306)
@@ -1,49 +0,0 @@
-# $Id$
-# Maintainer: Sergej Pupykin <pupykin.s at gmail.com>
-# Contributor:Techlive Zheng <techlivezheng at gmail dot com>
-
-pkgname=phpvirtualbox
-pkgver=4.3_0
-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/.htaccess"
-	"etc/webapps/phpvirtualbox/config.php")
-source=(http://downloads.sourceforge.net/project/phpvirtualbox/phpvirtualbox-${pkgver/_/-}.zip)
-md5sums=('0bf0d3b6fae03ed38361129e858cca66')
-
-package() {
-#  cd ${srcdir}/${pkgname}-${pkgver/_/-}
-  cd ${srcdir}
-
-  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
-    Order allow,deny
-    Allow from all
-  </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
-}

Copied: phpvirtualbox/repos/community-any/PKGBUILD (from rev 104305, phpvirtualbox/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2014-01-17 11:43:14 UTC (rev 104306)
@@ -0,0 +1,48 @@
+# $Id$
+# Maintainer: Sergej Pupykin <pupykin.s at gmail.com>
+# Contributor:Techlive Zheng <techlivezheng at gmail dot com>
+
+pkgname=phpvirtualbox
+pkgver=4.3_1
+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/.htaccess"
+	"etc/webapps/phpvirtualbox/config.php")
+source=(http://downloads.sourceforge.net/project/phpvirtualbox/phpvirtualbox-${pkgver/_/-}.zip)
+md5sums=('33c2b4c050d55daa4024659e60c0136b')
+
+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
+    Order allow,deny
+    Allow from all
+  </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