Date: Thursday, March 29, 2018 @ 11:40:34 Author: spupykin Revision: 313364
archrelease: copy trunk to community-any Added: drupal/repos/community-any/PKGBUILD (from rev 313363, drupal/trunk/PKGBUILD) drupal/repos/community-any/drupal.install (from rev 313363, drupal/trunk/drupal.install) Deleted: drupal/repos/community-any/PKGBUILD drupal/repos/community-any/drupal.install ----------------+ PKGBUILD | 96 +++++++++++++++++++++++++++---------------------------- drupal.install | 14 ++++---- 2 files changed, 55 insertions(+), 55 deletions(-) Deleted: PKGBUILD =================================================================== --- PKGBUILD 2018-03-29 11:40:19 UTC (rev 313363) +++ PKGBUILD 2018-03-29 11:40:34 UTC (rev 313364) @@ -1,48 +0,0 @@ -# $Id$ -# Maintainer: Sergej Pupykin <pupykin.s+a...@gmail.com> -# Contributor: Corrado Primier <cp663...@stud.polimi.it> - -pkgname=drupal -pkgver=8.5.0 -pkgrel=1 -pkgdesc="A PHP-based content management platform" -arch=('any') -url="http://www.drupal.org/" -license=('GPL') -depends=() -install='drupal.install' -backup=('etc/webapps/drupal/.htaccess') -options=(!strip) -source=(https://www.drupal.org/files/projects/$pkgname-$pkgver.tar.gz) -sha256sums=('ad137a492676334b44adafdb92a692561dbb7e53bdfbd606066b5a196eb85f15') - -package() { - depends=('php' 'php-gd') - - _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,1iRequire all denied' ${_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 - Require all granted - 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 313363, drupal/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2018-03-29 11:40:34 UTC (rev 313364) @@ -0,0 +1,48 @@ +# $Id$ +# Maintainer: Sergej Pupykin <pupykin.s+a...@gmail.com> +# Contributor: Corrado Primier <cp663...@stud.polimi.it> + +pkgname=drupal +pkgver=8.5.1 +pkgrel=1 +pkgdesc="A PHP-based content management platform" +arch=('any') +url="http://www.drupal.org/" +license=('GPL') +depends=() +install='drupal.install' +backup=('etc/webapps/drupal/.htaccess') +options=(!strip) +source=(https://www.drupal.org/files/projects/$pkgname-$pkgver.tar.gz) +sha256sums=('7bcd8f05415e60301a2b38a7352f9018ae7bedc2ca0ab68d114f6b5de6bb598e') + +package() { + depends=('php' 'php-gd') + + _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,1iRequire all denied' ${_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 + Require all granted + 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 2018-03-29 11:40:19 UTC (rev 313363) +++ drupal.install 2018-03-29 11:40:34 UTC (rev 313364) @@ -1,7 +0,0 @@ -post_install() { - 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 313363, drupal/trunk/drupal.install) =================================================================== --- drupal.install (rev 0) +++ drupal.install 2018-03-29 11:40:34 UTC (rev 313364) @@ -0,0 +1,7 @@ +post_install() { + chown -R http:http var/lib/drupal +} + +post_upgrade() { + chown -R http:http var/lib/drupal +}