[arch-commits] Commit in drupal/trunk (PKGBUILD)

Sergej Pupykin spupykin at archlinux.org
Mon Sep 29 10:39:55 UTC 2014


    Date: Monday, September 29, 2014 @ 12:39:55
  Author: spupykin
Revision: 119763

upgpkg: drupal 7.31-2

upd

Modified:
  drupal/trunk/PKGBUILD

----------+
 PKGBUILD |    8 +++-----
 1 file changed, 3 insertions(+), 5 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2014-09-29 10:39:52 UTC (rev 119762)
+++ PKGBUILD	2014-09-29 10:39:55 UTC (rev 119763)
@@ -4,7 +4,7 @@
 
 pkgname=drupal
 pkgver=7.31
-pkgrel=1
+pkgrel=2
 pkgdesc="A PHP-based content management platform"
 arch=('any')
 url="http://www.drupal.org/"
@@ -12,7 +12,6 @@
 depends=('php')
 install='drupal.install'
 options=(!strip)
-backup=(etc/webapps/drupal/.htaccess)
 source=(http://www.drupal.org/files/projects/$pkgname-$pkgver.tar.gz)
 md5sums=('de256f202930d3ef5ccc6aebc550adaf')
 
@@ -24,7 +23,7 @@
 
   # move .htaccess
   mkdir -p $pkgdir/etc/webapps/drupal
-  sed -i '1,1ideny from all' ${_instdir}/.htaccess
+  sed -i '1,1iRequire all denied' ${_instdir}/.htaccess
   mv ${_instdir}/.htaccess $pkgdir/etc/webapps/drupal/.htaccess
   ln -s /etc/webapps/drupal/.htaccess ${_instdir}/.htaccess
 
@@ -39,8 +38,7 @@
 	<Directory "/usr/share/webapps/drupal">
 		AllowOverride All
 		Options FollowSymlinks
-		Order allow,deny
-		Allow from all
+		Require all granted
 		php_admin_value open_basedir "/srv/:/tmp/:/usr/share/webapps/:/etc/webapps:/usr/share/pear/:/var/lib/drupal"
 	</Directory>
 EOF



More information about the arch-commits mailing list