[arch-commits] Commit in drupal/repos/community-any (4 files)

Sergej Pupykin spupykin at nymeria.archlinux.org
Sun Jan 5 21:24:00 UTC 2014


    Date: Sunday, January 5, 2014 @ 22:24:00
  Author: spupykin
Revision: 103434

archrelease: copy trunk to community-any

Added:
  drupal/repos/community-any/PKGBUILD
    (from rev 103433, drupal/trunk/PKGBUILD)
  drupal/repos/community-any/drupal.install
    (from rev 103433, drupal/trunk/drupal.install)
Deleted:
  drupal/repos/community-any/PKGBUILD
  drupal/repos/community-any/drupal.install

----------------+
 PKGBUILD       |   94 +++++++++++++++++++++++++++----------------------------
 drupal.install |   30 ++++++++---------
 2 files changed, 62 insertions(+), 62 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2014-01-05 21:23:47 UTC (rev 103433)
+++ PKGBUILD	2014-01-05 21:24:00 UTC (rev 103434)
@@ -1,47 +0,0 @@
-# $Id$
-# Maintainer: Sergej Pupykin <pupykin.s+arch at gmail.com>
-# Contributor: Corrado Primier <cp663137 at stud.polimi.it>
-
-pkgname=drupal
-pkgver=7.24
-pkgrel=1
-pkgdesc="A PHP-based content management platform"
-arch=('any')
-url="http://www.drupal.org/"
-license=('GPL')
-depends=('php')
-install='drupal.install'
-options=(!strip)
-backup=(etc/webapps/drupal/.htaccess)
-source=(http://www.drupal.org/files/projects/$pkgname-$pkgver.tar.gz)
-md5sums=('c1ddb37155e4b6160f6508636c06f2a7')
-
-package() {
-  _instdir=$pkgdir/usr/share/webapps/drupal
-  mkdir -p ${_instdir}
-  cd ${_instdir}
-  cp -r $srcdir/$pkgname-$pkgver/{*,.htaccess} ${_instdir}
-
-  # move .htaccess
-  mkdir -p $pkgdir/etc/webapps/drupal
-  sed -i '1,1ideny from all' ${_instdir}/.htaccess
-  mv ${_instdir}/.htaccess $pkgdir/etc/webapps/drupal/.htaccess
-  ln -s /etc/webapps/drupal/.htaccess ${_instdir}/.htaccess
-
-  # move sites/
-  mkdir -p $pkgdir/var/lib/drupal/
-  mv ${_instdir}/sites $pkgdir/var/lib/drupal/sites
-  ln -s /var/lib/drupal/sites ${_instdir}/sites
-
-  # apache config example
-  cat >$pkgdir/etc/webapps/drupal/apache.example.conf <<EOF
-	Alias /drupal "/usr/share/webapps/drupal"
-	<Directory "/usr/share/webapps/drupal">
-		AllowOverride All
-		Options FollowSymlinks
-		Order allow,deny
-		Allow from all
-		php_admin_value open_basedir "/srv/:/tmp/:/usr/share/webapps/:/etc/webapps:/usr/share/pear/:/var/lib/drupal"
-	</Directory>
-EOF
-}

Copied: drupal/repos/community-any/PKGBUILD (from rev 103433, drupal/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2014-01-05 21:24:00 UTC (rev 103434)
@@ -0,0 +1,47 @@
+# $Id$
+# Maintainer: Sergej Pupykin <pupykin.s+arch at gmail.com>
+# Contributor: Corrado Primier <cp663137 at stud.polimi.it>
+
+pkgname=drupal
+pkgver=7.25
+pkgrel=1
+pkgdesc="A PHP-based content management platform"
+arch=('any')
+url="http://www.drupal.org/"
+license=('GPL')
+depends=('php')
+install='drupal.install'
+options=(!strip)
+backup=(etc/webapps/drupal/.htaccess)
+source=(http://www.drupal.org/files/projects/$pkgname-$pkgver.tar.gz)
+md5sums=('25906158083d89aa86534df1c683b4ea')
+
+package() {
+  _instdir=$pkgdir/usr/share/webapps/drupal
+  mkdir -p ${_instdir}
+  cd ${_instdir}
+  cp -r $srcdir/$pkgname-$pkgver/{*,.htaccess} ${_instdir}
+
+  # move .htaccess
+  mkdir -p $pkgdir/etc/webapps/drupal
+  sed -i '1,1ideny from all' ${_instdir}/.htaccess
+  mv ${_instdir}/.htaccess $pkgdir/etc/webapps/drupal/.htaccess
+  ln -s /etc/webapps/drupal/.htaccess ${_instdir}/.htaccess
+
+  # move sites/
+  mkdir -p $pkgdir/var/lib/drupal/
+  mv ${_instdir}/sites $pkgdir/var/lib/drupal/sites
+  ln -s /var/lib/drupal/sites ${_instdir}/sites
+
+  # apache config example
+  cat >$pkgdir/etc/webapps/drupal/apache.example.conf <<EOF
+	Alias /drupal "/usr/share/webapps/drupal"
+	<Directory "/usr/share/webapps/drupal">
+		AllowOverride All
+		Options FollowSymlinks
+		Order allow,deny
+		Allow from all
+		php_admin_value open_basedir "/srv/:/tmp/:/usr/share/webapps/:/etc/webapps:/usr/share/pear/:/var/lib/drupal"
+	</Directory>
+EOF
+}

Deleted: drupal.install
===================================================================
--- drupal.install	2014-01-05 21:23:47 UTC (rev 103433)
+++ drupal.install	2014-01-05 21:24:00 UTC (rev 103434)
@@ -1,15 +0,0 @@
-post_install() {
-  echo "Remember that you need to install either mysql or postgresql for this package"
-  echo "to work. Also make sure to read either INSTALL.mysql.txt (for MySQL) or"
-  echo "INSTALL.pgsql.txt (for PostgreSQL) in /usr/share/webapps/drupal/."
-  if [[ ! `grep "^extension=mysql.so" /etc/php/php.ini` ]]
-	then echo "If you use mysql you should enable its module by adding the line:"
-	echo "   extension=mysql.so"
-	echo "to your /etc/php/php.ini, otherwise drupal won't work."
-  fi
-  chown -R http:http var/lib/drupal
-}
-
-post_upgrade() {
-  chown -R http:http var/lib/drupal
-}

Copied: drupal/repos/community-any/drupal.install (from rev 103433, drupal/trunk/drupal.install)
===================================================================
--- drupal.install	                        (rev 0)
+++ drupal.install	2014-01-05 21:24:00 UTC (rev 103434)
@@ -0,0 +1,15 @@
+post_install() {
+  echo "Remember that you need to install either mysql or postgresql for this package"
+  echo "to work. Also make sure to read either INSTALL.mysql.txt (for MySQL) or"
+  echo "INSTALL.pgsql.txt (for PostgreSQL) in /usr/share/webapps/drupal/."
+  if [[ ! `grep "^extension=mysql.so" /etc/php/php.ini` ]]
+	then echo "If you use mysql you should enable its module by adding the line:"
+	echo "   extension=mysql.so"
+	echo "to your /etc/php/php.ini, otherwise drupal won't work."
+  fi
+  chown -R http:http var/lib/drupal
+}
+
+post_upgrade() {
+  chown -R http:http var/lib/drupal
+}




More information about the arch-commits mailing list