[arch-commits] Commit in flyspray/repos/community-any (10 files)

David Runge dvzrv at archlinux.org
Fri May 14 18:13:52 UTC 2021


    Date: Friday, May 14, 2021 @ 18:13:52
  Author: dvzrv
Revision: 934293

archrelease: copy trunk to community-any

Added:
  flyspray/repos/community-any/PKGBUILD
    (from rev 934292, flyspray/trunk/PKGBUILD)
  flyspray/repos/community-any/flyspray.install
    (from rev 934292, flyspray/trunk/flyspray.install)
  flyspray/repos/community-any/flyspray.sysusers
    (from rev 934292, flyspray/trunk/flyspray.sysusers)
  flyspray/repos/community-any/flyspray.tmpfiles
    (from rev 934292, flyspray/trunk/flyspray.tmpfiles)
  flyspray/repos/community-any/flyspray.uwsgi
    (from rev 934292, flyspray/trunk/flyspray.uwsgi)
Deleted:
  flyspray/repos/community-any/PKGBUILD
  flyspray/repos/community-any/flyspray.install
  flyspray/repos/community-any/flyspray.sysusers
  flyspray/repos/community-any/flyspray.tmpfiles
  flyspray/repos/community-any/flyspray.uwsgi

-------------------+
 PKGBUILD          |  220 +++++++++++++++++++++++++---------------------------
 flyspray.install  |   28 +++---
 flyspray.sysusers |    2 
 flyspray.tmpfiles |   10 +-
 flyspray.uwsgi    |   66 +++++++--------
 5 files changed, 162 insertions(+), 164 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2021-05-14 18:13:41 UTC (rev 934292)
+++ PKGBUILD	2021-05-14 18:13:52 UTC (rev 934293)
@@ -1,111 +0,0 @@
-# Maintainer: David Runge <dvzrv at archlinux.org>
-# Contributor: Levente Polyak <anthraxx[at]archlinux[dot]org>
-# Contributor: Sergej Pupykin <pupykin.s+arch at gmail.com>
-
-pkgname=flyspray
-pkgver=1.0rc9
-pkgrel=5
-pkgdesc='Lightweight, web-based bug tracking system written in PHP'
-url="https://www.flyspray.org/"
-arch=('any')
-license=('LGPL2.1')
-depends=('php7' 'php7-gd')
-makedepends=('composer' 'unzip')
-optdepends=('graphviz: plot task dependency graphs'
-            'mariadb: use local MariaDB database'
-            'php7-fpm: run with FastCGI process manager'
-            'php7-pgsql: use PostgreSQL database'
-            'postgresql: use local PostgreSQL database'
-            'uwsgi-plugin-php7: run in application container')
-backup=("etc/webapps/${pkgname}/.htaccess"
-        "etc/webapps/${pkgname}/${pkgname}.conf.php")
-install="${pkgname}.install"
-source=("${pkgname}-${pkgver}.tar.gz::https://github.com/${pkgname}/${pkgname}/archive/v${pkgver/rc/-rc}.tar.gz"
-        "${pkgname}.sysusers"
-        "${pkgname}.tmpfiles"
-        "${pkgname}.uwsgi")
-sha512sums=('30b297c6c993936db2e10eeea75a049b8bf42a9bd4090bbba2465de946eb04a5cde9d4b8ec88065c12f2f2dce99b9bf3d0fcdf30334fd1b77030813b8393c070'
-            'ee23df991c6a42bfb139caabad861a3f945ea18d81061fdb90ace8430d4225e7db322802de4fdf36aa8191cbedab3cafd025c76f08806b7fcdb88f6eb185519e'
-            '65d333b98a93cc320300bacc8d142f7150e31f4a65da96f09ab0c88e6556a120a5cab8d2c871840753eb4eec6a281d0731b1ab5524834f1281f2d073ba4983f0'
-            'a236f32e46b1ef9574fde8201c18f09edcd72ad2a53fc5c88f1b8da7540ac55a936da69e3af096b1c73155882cdfe3343dd2f0242de9b6b7ca6713752a1a3343')
-b2sums=('136d0d83b69052c1b6952735ac9052f5c6568379b2b970777e93dfa570b68210224a1614c08df9a422117ef45f8b9e2ce848f7a7000a03aacc5c6bfa5854b1e5'
-        '93ab7184cceaa6148dcf4161fe6a680cae105859697373021b9f027d85bbad0f0c7ee02b7800305df26858c1b39e70dd4dadf2f539f6659215d159ac6a3151c5'
-        'f2c6b9137747aca24875d113251011b1759402372d25de3771ce5d11461fdc530ca000c3490f8b76d567302c8abf3ba95d5a0f831d34164225a99516745f38f3'
-        '075ca6cc87246491d5981414ff3e0cd84ce466034fc8afe025fc9d272f295a13d6e19496c8abe3c8db8fbd9a9c1b579c78230f06797527722bae7817255f4e47')
-
-prepare() {
-  mv -v "${pkgname}-${pkgver/rc/-rc}" "${pkgname}-${pkgver}"
-  touch "${pkgname}.conf.php"
-  cd "${pkgname}-${pkgver}"
-  # removing forced redirect, if setup/index.php is accessible.
-  # access to it should be denied via the webserver settings
-  sed -e '45,82d' -i header.php
-  # removing unused perl script
-  rm -v setup/composerit.pl
-}
-
-build() {
-  cd "${pkgname}-${pkgver}"
-  php7 -d 'extension=gd' /usr/bin/composer install --no-dev
-}
-
-package() {
-  cd "${pkgname}-${pkgver}"
-  # sysusers.d integration
-  install -vDm 644 ../${pkgname}.sysusers \
-    "${pkgdir}/usr/lib/sysusers.d/${pkgname}.conf"
-  # tmpfiles.d integration
-  install -vDm 644 ../${pkgname}.tmpfiles \
-    "${pkgdir}/usr/lib/tmpfiles.d/${pkgname}.conf"
-  # uwsgi integration
-  install -vDm 644 ../${pkgname}.uwsgi \
-    "${pkgdir}/etc/uwsgi/${pkgname}.ini"
-  # docs
-  install -vDm 644 {docs/*.txt,README.md} \
-    -t "${pkgdir}/usr/share/doc/${pkgname}"
-  rm -rv docs
-  install -vdm 755 "${pkgdir}/usr/share/webapps/${pkgname}/"
-  # state
-  install -vdm 750 "${pkgdir}/var/lib/${pkgname}/attachments/"
-  install -vDm 644 attachments/{.htaccess,index.html} \
-    -t "${pkgdir}/var/lib/${pkgname}/attachments/"
-  rm -rv attachments
-  ln -sv "/var/lib/${pkgname}/attachments" \
-    "${pkgdir}/usr/share/webapps/${pkgname}/attachments"
-  install -vdm 750 "${pkgdir}/var/lib/${pkgname}/avatars/"
-  install -vDm 644 avatars/index.html \
-    -t "${pkgdir}/var/lib/${pkgname}/avatars/"
-  rm -rv avatars
-  ln -sv "/var/lib/${pkgname}/avatars" \
-    "${pkgdir}/usr/share/webapps/${pkgname}/avatars"
-  # cache
-  install -vdm 750 "${pkgdir}/var/cache/${pkgname}"
-  install -vDm 644 cache/index.html \
-    -t "${pkgdir}/var/cache/${pkgname}/"
-  rm -rv cache
-  ln -sv "/var/cache/${pkgname}" \
-    "${pkgdir}/usr/share/webapps/${pkgname}/cache"
-  # config
-  install -vDm 644 htaccess.dist "${pkgdir}/etc/webapps/${pkgname}/.htaccess"
-  rm -v htaccess.dist
-  ln -sv /etc/webapps/${pkgname}/.htaccess \
-    "${pkgdir}/usr/share/webapps/${pkgname}/.htaccess"
-  install -vDm 660 "../${pkgname}.conf.php" \
-    -t "${pkgdir}/etc/webapps/${pkgname}"
-  ln -sv /etc/webapps/${pkgname}/${pkgname}.conf.php \
-    "${pkgdir}/usr/share/webapps/${pkgname}/${pkgname}.conf.php"
-
-  # install webapp
-  find . -type f -exec install -vDm 644 {} "${pkgdir}/usr/share/webapps/${pkgname}/"{} \;
-  # remove unneeded files
-  find "${pkgdir}/usr/share/webapps/${pkgname}" -type f \
-    \( \
-    -iname "*.py" -or \
-    -iname "*.gitignore" -or \
-    -iname "*.travis.yml" -or \
-    -iname "*composer.lock" -or \
-    -iname "*composer.json" \
-    \) \
-    -delete
-}
-# vim: ts=2 sw=2 et:

Copied: flyspray/repos/community-any/PKGBUILD (from rev 934292, flyspray/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2021-05-14 18:13:52 UTC (rev 934293)
@@ -0,0 +1,109 @@
+# Maintainer: David Runge <dvzrv at archlinux.org>
+# Contributor: Levente Polyak <anthraxx[at]archlinux[dot]org>
+# Contributor: Sergej Pupykin <pupykin.s+arch at gmail.com>
+
+pkgname=flyspray
+pkgver=1.0rc10
+pkgrel=1
+pkgdesc='Lightweight, web-based bug tracking system written in PHP'
+url="https://www.flyspray.org/"
+arch=('any')
+license=('LGPL2.1')
+depends=('php' 'php-gd')
+makedepends=('composer' 'unzip')
+optdepends=('graphviz: plot task dependency graphs'
+            'mariadb: use local MariaDB database'
+            'php-fpm: run with FastCGI process manager'
+            'php-pgsql: use PostgreSQL database'
+            'postgresql: use local PostgreSQL database'
+            'uwsgi-plugin-php: run in application container')
+backup=("etc/webapps/${pkgname}/.htaccess"
+        "etc/webapps/${pkgname}/${pkgname}.conf.php")
+install="${pkgname}.install"
+source=("${pkgname}-${pkgver}.tar.gz::https://github.com/${pkgname}/${pkgname}/archive/v${pkgver/rc/-rc}.tar.gz"
+        "${pkgname}.sysusers"
+        "${pkgname}.tmpfiles"
+        "${pkgname}.uwsgi")
+sha512sums=('b6d4d786a013141940a9c9f6047a85f39d7a56978a5882c53f101457f6fca2635e1a3727f2c95c7ddbb44527c12a408873640e6cbb832d09eef27183fb4d10e3'
+            'ee23df991c6a42bfb139caabad861a3f945ea18d81061fdb90ace8430d4225e7db322802de4fdf36aa8191cbedab3cafd025c76f08806b7fcdb88f6eb185519e'
+            '65d333b98a93cc320300bacc8d142f7150e31f4a65da96f09ab0c88e6556a120a5cab8d2c871840753eb4eec6a281d0731b1ab5524834f1281f2d073ba4983f0'
+            'a236f32e46b1ef9574fde8201c18f09edcd72ad2a53fc5c88f1b8da7540ac55a936da69e3af096b1c73155882cdfe3343dd2f0242de9b6b7ca6713752a1a3343')
+b2sums=('ede853846d898c41c42d7bdec720ede685fd4ed285c5ab014425f7e1d0b2fb2b3122ac598b653acac0e92e7dfa7dd87b4fd9cdd0e42e313653ae336983453f27'
+        '93ab7184cceaa6148dcf4161fe6a680cae105859697373021b9f027d85bbad0f0c7ee02b7800305df26858c1b39e70dd4dadf2f539f6659215d159ac6a3151c5'
+        'f2c6b9137747aca24875d113251011b1759402372d25de3771ce5d11461fdc530ca000c3490f8b76d567302c8abf3ba95d5a0f831d34164225a99516745f38f3'
+        '075ca6cc87246491d5981414ff3e0cd84ce466034fc8afe025fc9d272f295a13d6e19496c8abe3c8db8fbd9a9c1b579c78230f06797527722bae7817255f4e47')
+
+prepare() {
+  mv -v "${pkgname}-${pkgver/rc/-rc}" "${pkgname}-${pkgver}"
+  touch "${pkgname}.conf.php"
+  cd "${pkgname}-${pkgver}"
+  # removing forced redirect, if setup/index.php is accessible.
+  # access to it should be denied via the webserver settings
+  sed -e '45,82d' -i header.php
+}
+
+build() {
+  cd "${pkgname}-${pkgver}"
+  php -d 'extension=gd' /usr/bin/composer install --no-dev
+}
+
+package() {
+  cd "${pkgname}-${pkgver}"
+  # sysusers.d integration
+  install -vDm 644 ../${pkgname}.sysusers \
+    "${pkgdir}/usr/lib/sysusers.d/${pkgname}.conf"
+  # tmpfiles.d integration
+  install -vDm 644 ../${pkgname}.tmpfiles \
+    "${pkgdir}/usr/lib/tmpfiles.d/${pkgname}.conf"
+  # uwsgi integration
+  install -vDm 644 ../${pkgname}.uwsgi \
+    "${pkgdir}/etc/uwsgi/${pkgname}.ini"
+  # docs
+  install -vDm 644 {docs/*.txt,README.md} \
+    -t "${pkgdir}/usr/share/doc/${pkgname}"
+  rm -rv docs
+  install -vdm 755 "${pkgdir}/usr/share/webapps/${pkgname}/"
+  # state
+  install -vdm 750 "${pkgdir}/var/lib/${pkgname}/attachments/"
+  install -vDm 644 attachments/{.htaccess,index.html} \
+    -t "${pkgdir}/var/lib/${pkgname}/attachments/"
+  rm -rv attachments
+  ln -sv "/var/lib/${pkgname}/attachments" \
+    "${pkgdir}/usr/share/webapps/${pkgname}/attachments"
+  install -vdm 750 "${pkgdir}/var/lib/${pkgname}/avatars/"
+  install -vDm 644 avatars/index.html \
+    -t "${pkgdir}/var/lib/${pkgname}/avatars/"
+  rm -rv avatars
+  ln -sv "/var/lib/${pkgname}/avatars" \
+    "${pkgdir}/usr/share/webapps/${pkgname}/avatars"
+  # cache
+  install -vdm 750 "${pkgdir}/var/cache/${pkgname}"
+  install -vDm 644 cache/index.html \
+    -t "${pkgdir}/var/cache/${pkgname}/"
+  rm -rv cache
+  ln -sv "/var/cache/${pkgname}" \
+    "${pkgdir}/usr/share/webapps/${pkgname}/cache"
+  # config
+  install -vDm 644 htaccess.dist "${pkgdir}/etc/webapps/${pkgname}/.htaccess"
+  rm -v htaccess.dist
+  ln -sv /etc/webapps/${pkgname}/.htaccess \
+    "${pkgdir}/usr/share/webapps/${pkgname}/.htaccess"
+  install -vDm 660 "../${pkgname}.conf.php" \
+    -t "${pkgdir}/etc/webapps/${pkgname}"
+  ln -sv /etc/webapps/${pkgname}/${pkgname}.conf.php \
+    "${pkgdir}/usr/share/webapps/${pkgname}/${pkgname}.conf.php"
+
+  # install webapp
+  find . -type f -exec install -vDm 644 {} "${pkgdir}/usr/share/webapps/${pkgname}/"{} \;
+  # remove unneeded files
+  find "${pkgdir}/usr/share/webapps/${pkgname}" -type f \
+    \( \
+    -iname "*.py" -or \
+    -iname "*.gitignore" -or \
+    -iname "*.travis.yml" -or \
+    -iname "*composer.lock" -or \
+    -iname "*composer.json" \
+    \) \
+    -delete
+}
+# vim: ts=2 sw=2 et:

Deleted: flyspray.install
===================================================================
--- flyspray.install	2021-05-14 18:13:41 UTC (rev 934292)
+++ flyspray.install	2021-05-14 18:13:52 UTC (rev 934293)
@@ -1,14 +0,0 @@
-post_install() {
-  echo "Make sure disallow access to /usr/share/webapps/flyspray/setup/ after installation is complete."
-}
-
-post_upgrade() {
-  local new_package_version="$1"
-  local old_package_version="$2"
-  if [ $(vercmp "${old_package_version}" "1.0rc9") -le 0 ]; then
-cat <<EOF
-The webapp now needs to be run as its own user/group: flyspray/flyspray.
-EOF
-  fi
-  echo "Make sure to run setup/upgrade.php for a database schema upgrade."
-}

Copied: flyspray/repos/community-any/flyspray.install (from rev 934292, flyspray/trunk/flyspray.install)
===================================================================
--- flyspray.install	                        (rev 0)
+++ flyspray.install	2021-05-14 18:13:52 UTC (rev 934293)
@@ -0,0 +1,14 @@
+post_install() {
+  echo "Make sure disallow access to /usr/share/webapps/flyspray/setup/ after installation is complete."
+}
+
+post_upgrade() {
+  local new_package_version="$1"
+  local old_package_version="$2"
+  if [ $(vercmp "${old_package_version}" "1.0rc9") -le 0 ]; then
+cat <<EOF
+The webapp now needs to be run as its own user/group: flyspray/flyspray.
+EOF
+  fi
+  echo "Make sure to run setup/upgrade.php for a database schema upgrade."
+}

Deleted: flyspray.sysusers
===================================================================
--- flyspray.sysusers	2021-05-14 18:13:41 UTC (rev 934292)
+++ flyspray.sysusers	2021-05-14 18:13:52 UTC (rev 934293)
@@ -1 +0,0 @@
-u flyspray - "Flyspray user" -

Copied: flyspray/repos/community-any/flyspray.sysusers (from rev 934292, flyspray/trunk/flyspray.sysusers)
===================================================================
--- flyspray.sysusers	                        (rev 0)
+++ flyspray.sysusers	2021-05-14 18:13:52 UTC (rev 934293)
@@ -0,0 +1 @@
+u flyspray - "Flyspray user" -

Deleted: flyspray.tmpfiles
===================================================================
--- flyspray.tmpfiles	2021-05-14 18:13:41 UTC (rev 934292)
+++ flyspray.tmpfiles	2021-05-14 18:13:52 UTC (rev 934293)
@@ -1,5 +0,0 @@
-z /etc/webapps/flyspray/*.php 0660 root flyspray
-d %C/flyspray/ 0750 flyspray flyspray
-d %S/flyspray/attachments 0750 flyspray flyspray
-d %S/flyspray/avatars 0750 flyspray flyspray
-d %t/flyspray 755 flyspray flyspray

Copied: flyspray/repos/community-any/flyspray.tmpfiles (from rev 934292, flyspray/trunk/flyspray.tmpfiles)
===================================================================
--- flyspray.tmpfiles	                        (rev 0)
+++ flyspray.tmpfiles	2021-05-14 18:13:52 UTC (rev 934293)
@@ -0,0 +1,5 @@
+z /etc/webapps/flyspray/*.php 0660 root flyspray
+d %C/flyspray/ 0750 flyspray flyspray
+d %S/flyspray/attachments 0750 flyspray flyspray
+d %S/flyspray/avatars 0750 flyspray flyspray
+d %t/flyspray 755 flyspray flyspray

Deleted: flyspray.uwsgi
===================================================================
--- flyspray.uwsgi	2021-05-14 18:13:41 UTC (rev 934292)
+++ flyspray.uwsgi	2021-05-14 18:13:52 UTC (rev 934293)
@@ -1,33 +0,0 @@
-[uwsgi]
-procname-master = flyspray
-plugins = php7
-master = true
-socket = /run/%n/%n.sock
-stats = /run/%n/%n-stats.sock
-uid = flyspray
-gid = flyspray
-processes = 10
-cheaper = 2
-cheaper-step = 1
-idle = 600
-die-on-idle = true
-touch-reload = %p
-
-php-allowed-ext = .php
-php-docroot = /usr/share/webapps/flyspray
-php-index = index.php
-php-set = date.timezone=Europe/Berlin
-php-set = open_basedir=/tmp/:/usr/share/webapps/flyspray:/var/cache/flyspray:/var/lib/flyspray:/etc/webapps/flyspray
-php-set = session.save_path=/tmp
-php-set = session.gc_maxlifetime  21600
-php-set = session.gc_divisor  500
-php-set = session.gc_probability  1
-php-set = post_max_size=64M
-php-set = upload_max_filesize=64M
-php-set = always_populate_raw_post_data=-1
-
-php-set = extension=curl
-php-set = extension=gd
-php-set = extension=exif
-php-set = extension=mysqli
-php-set = extension=pgsql

Copied: flyspray/repos/community-any/flyspray.uwsgi (from rev 934292, flyspray/trunk/flyspray.uwsgi)
===================================================================
--- flyspray.uwsgi	                        (rev 0)
+++ flyspray.uwsgi	2021-05-14 18:13:52 UTC (rev 934293)
@@ -0,0 +1,33 @@
+[uwsgi]
+procname-master = flyspray
+plugins = php7
+master = true
+socket = /run/%n/%n.sock
+stats = /run/%n/%n-stats.sock
+uid = flyspray
+gid = flyspray
+processes = 10
+cheaper = 2
+cheaper-step = 1
+idle = 600
+die-on-idle = true
+touch-reload = %p
+
+php-allowed-ext = .php
+php-docroot = /usr/share/webapps/flyspray
+php-index = index.php
+php-set = date.timezone=Europe/Berlin
+php-set = open_basedir=/tmp/:/usr/share/webapps/flyspray:/var/cache/flyspray:/var/lib/flyspray:/etc/webapps/flyspray
+php-set = session.save_path=/tmp
+php-set = session.gc_maxlifetime  21600
+php-set = session.gc_divisor  500
+php-set = session.gc_probability  1
+php-set = post_max_size=64M
+php-set = upload_max_filesize=64M
+php-set = always_populate_raw_post_data=-1
+
+php-set = extension=curl
+php-set = extension=gd
+php-set = extension=exif
+php-set = extension=mysqli
+php-set = extension=pgsql



More information about the arch-commits mailing list