[arch-commits] Commit in drupal/repos/community-any (4 files)
Sergej Pupykin
spupykin at gemini.archlinux.org
Sat Nov 20 01:17:26 UTC 2021
Date: Saturday, November 20, 2021 @ 01:17:26
Author: spupykin
Revision: 1052822
archrelease: copy trunk to community-any
Added:
drupal/repos/community-any/PKGBUILD
(from rev 1052821, drupal/trunk/PKGBUILD)
drupal/repos/community-any/drupal.install
(from rev 1052821, drupal/trunk/drupal.install)
Deleted:
drupal/repos/community-any/PKGBUILD
drupal/repos/community-any/drupal.install
----------------+
PKGBUILD | 94 +++++++++++++++++++++++++++----------------------------
drupal.install | 14 ++++----
2 files changed, 54 insertions(+), 54 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2021-11-20 01:17:13 UTC (rev 1052821)
+++ PKGBUILD 2021-11-20 01:17:26 UTC (rev 1052822)
@@ -1,47 +0,0 @@
-# Maintainer: Sergej Pupykin <pupykin.s+arch at gmail.com>
-# Contributor: Corrado Primier <cp663137 at stud.polimi.it>
-
-pkgname=drupal
-pkgver=9.2.6
-pkgrel=1
-pkgdesc="A PHP-based content management platform"
-arch=('any')
-url="https://www.drupal.org/"
-license=('GPL')
-depends=()
-install='drupal.install'
-backup=('etc/webapps/drupal/.htaccess')
-options=(!strip)
-source=(https://ftp.drupal.org/files/projects/$pkgname-$pkgver.tar.gz)
-sha256sums=('bd586efc526db71a1d8dba1ca1e50d53234219c71233d206c052805e28389d5d')
-
-package() {
- depends=('php7' 'php7-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 1052821, drupal/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2021-11-20 01:17:26 UTC (rev 1052822)
@@ -0,0 +1,47 @@
+# Maintainer: Sergej Pupykin <pupykin.s+arch at gmail.com>
+# Contributor: Corrado Primier <cp663137 at stud.polimi.it>
+
+pkgname=drupal
+pkgver=9.2.9
+pkgrel=1
+pkgdesc="A PHP-based content management platform"
+arch=('any')
+url="https://www.drupal.org/"
+license=('GPL')
+depends=()
+install='drupal.install'
+backup=('etc/webapps/drupal/.htaccess')
+options=(!strip)
+source=(https://ftp.drupal.org/files/projects/$pkgname-$pkgver.tar.gz)
+sha256sums=('cf846f32875f7ba12f5b7dae894b1fc8ca99af82aad939dc071d488b5a430fd4')
+
+package() {
+ depends=('php7' 'php7-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 2021-11-20 01:17:13 UTC (rev 1052821)
+++ drupal.install 2021-11-20 01:17:26 UTC (rev 1052822)
@@ -1,7 +0,0 @@
-post_install() {
- echo "Probably you need to 'chown -R http:http var/lib/drupal'"
-}
-
-post_upgrade() {
- post_install
-}
Copied: drupal/repos/community-any/drupal.install (from rev 1052821, drupal/trunk/drupal.install)
===================================================================
--- drupal.install (rev 0)
+++ drupal.install 2021-11-20 01:17:26 UTC (rev 1052822)
@@ -0,0 +1,7 @@
+post_install() {
+ echo "Probably you need to 'chown -R http:http var/lib/drupal'"
+}
+
+post_upgrade() {
+ post_install
+}
More information about the arch-commits
mailing list