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

Sergej Pupykin spupykin at archlinux.org
Sun Jul 19 10:48:47 UTC 2020


    Date: Sunday, July 19, 2020 @ 10:48:46
  Author: spupykin
Revision: 664534

archrelease: copy trunk to community-any

Added:
  drupal/repos/community-any/PKGBUILD
    (from rev 664533, drupal/trunk/PKGBUILD)
  drupal/repos/community-any/drupal.install
    (from rev 664533, 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	2020-07-19 10:48:35 UTC (rev 664533)
+++ PKGBUILD	2020-07-19 10:48:46 UTC (rev 664534)
@@ -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.0.0
-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=('85035026c6f5d1a0d887eef838e3a36c497c90c61691298e16a81a8b8109c386')
-
-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 664533, drupal/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2020-07-19 10:48:46 UTC (rev 664534)
@@ -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.0.2
+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=('eae4c9cb638aff2a07c104d0a988f7ba78c980ba6e31bedaddd00baa5c19946a')
+
+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	2020-07-19 10:48:35 UTC (rev 664533)
+++ drupal.install	2020-07-19 10:48:46 UTC (rev 664534)
@@ -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 664533, drupal/trunk/drupal.install)
===================================================================
--- drupal.install	                        (rev 0)
+++ drupal.install	2020-07-19 10:48:46 UTC (rev 664534)
@@ -0,0 +1,7 @@
+post_install() {
+  chown -R http:http var/lib/drupal
+}
+
+post_upgrade() {
+  chown -R http:http var/lib/drupal
+}



More information about the arch-commits mailing list