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

David Runge dvzrv at archlinux.org
Mon Apr 20 20:46:11 UTC 2020


    Date: Monday, April 20, 2020 @ 20:46:01
  Author: dvzrv
Revision: 617085

archrelease: copy trunk to community-any

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

-----------------------+
 PKGBUILD              |  264 ++++++++++++++++++++++++------------------------
 postfixadmin.install  |   26 ++--
 postfixadmin.sysusers |    2 
 postfixadmin.tmpfiles |    6 -
 postfixadmin.uwsgi    |   52 ++++-----
 5 files changed, 175 insertions(+), 175 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2020-04-20 20:45:44 UTC (rev 617084)
+++ PKGBUILD	2020-04-20 20:46:01 UTC (rev 617085)
@@ -1,132 +0,0 @@
-# Maintainer: David Runge <dvzrv at archlinux.org>
-# Contributor: Sven-Hendrik Haase <sh at lutzhaase.com>
-# Contributor: Filip <fila pruda.com>
-
-pkgname=postfixadmin
-pkgver=3.2.3
-pkgrel=2
-pkgdesc="Web based interface to manage Postfix mailboxes, virtual domains and aliases"
-arch=('any')
-license=('GPL2')
-url="http://postfixadmin.sourceforge.net/"
-backup=('etc/webapps/postfixadmin/config.inc.php'
-        'etc/webapps/postfixadmin/config.local.php'
-        'etc/webapps/postfixadmin/.htaccess'
-        'etc/uwsgi/postfixadmin.ini')
-depends=('php')
-optdepends=('apache: run in webserver'
-            'dovecot: interface local IMAP/POP3 server'
-            'mariadb: use local MySQL server'
-            'perl: for example scripts'
-            'php-fpm: run in fastCGI process manager'
-            'php-imap: use IMAP'
-            'php-sqlite: use SQLite database backend'
-            'php-pgsql: use PostgreSQL database backend'
-            'postfix: interface local mail server'
-            'postgresql: use local PostgreSQL server'
-            'python: for example scripts'
-            'uwsgi: run as application container')
-source=("https://github.com/postfixadmin/${pkgname}/archive/${pkgname}-${pkgver}.tar.gz"
-        "${pkgname}.sysusers"
-        "${pkgname}.tmpfiles"
-        "${pkgname}.uwsgi")
-install="${pkgname}.install"
-sha512sums=('d44addb9a3ca830caf55b603363054df561d659957f21cab7523465ebf02ca18abe7fcf298fe718d957d0b7bf5613e2dde69c78c26e0f7f6f595d79b28fe08ab'
-            'dc61527dbec79a3b19c8fcbc424fbfbe483cccf99a606e566ea6cd624d46c70a6d87dd8d4da398fedf12b60cfd0cf364c351d6b826e6eee6b2ca8eac0d9efcbe'
-            '7e55c844be7b186d9eb568fe097632651c683582da83e0ee24cd6dd7c5a581fe05e5462174237f542ff8dc5d17a8ab651a77f0087a0c8df01d7b36c7722b1440'
-            '50640e431f9b167d618e5e5f6acd36453270aeb7ef8b714afe8207eba9916c86d4b42a1edb9b73a46a1c732a886efcab01389e007baa5b85295c091b451d5673')
-
-prepare(){
-  mv -v "${pkgname}-${pkgname}-${pkgver}" "${pkgname}-${pkgver}"
-  cd "${pkgname}-${pkgver}"
-  # creating empty local config (for overrides)
-  echo "<?php" > "config.local.php"
-  # creating htaccess file
-  echo "#Require all denied" > .htaccess
-  # remove unneeded executable bits
-  find . -executable -type f \
-    -and -not -path "*scripts*" -exec chmod -c 644 {} \;
-  # remove symlinks
-  find . -type l -exec rm -v {} +
-  # remove unneeded debian directories
-  rm -rv ADDITIONS/squirrelmail-plugin/debian
-}
-
-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"
-  # docs
-  install -vDm 644 {README.md,CHANGELOG.TXT} \
-    -t "${pkgdir}/usr/share/doc/${pkgname}/"
-  install -vDm 644 DOCUMENTS/*.txt \
-    -t "${pkgdir}/usr/share/doc/${pkgname}/documents"
-  cp -av ADDITIONS VIRTUAL_VACATION \
-    "${pkgdir}/usr/share/doc/${pkgname}"
-  # webapp
-  install -vDm 644 {common,functions.inc,index}.php phpunit.xml \
-    -t "${pkgdir}/usr/share/webapps/${pkgname}"
-  install -vDm 644 configs/menu.conf \
-    -t "${pkgdir}/usr/share/webapps/${pkgname}/configs"
-  install -vDm 644 languages/*.{lang,php} \
-    -t "${pkgdir}/usr/share/webapps/${pkgname}/languages/"
-  install -vDm 644 lib/*.{phar,pubkey,php,txt} \
-    -t "${pkgdir}/usr/share/webapps/${pkgname}/lib/"
-  install -vDm 644 lib/smarty/{COPYING.lib,smarty_version} \
-    -t "${pkgdir}/usr/share/webapps/${pkgname}/lib/smarty"
-  install -vDm 644 lib/smarty/libs/*.{php,tpl} \
-    -t "${pkgdir}/usr/share/webapps/${pkgname}/lib/smarty/libs"
-  install -vDm 644 lib/smarty/libs/plugins/*.php \
-    -t "${pkgdir}/usr/share/webapps/${pkgname}/lib/smarty/libs/plugins"
-  install -vDm 644 lib/smarty/libs/sysplugins/*.php \
-    -t "${pkgdir}/usr/share/webapps/${pkgname}/lib/smarty/libs/sysplugins"
-  install -vDm 644 model/*.php \
-    -t "${pkgdir}/usr/share/webapps/${pkgname}/model"
-  install -vDm 644 public/*.php \
-    -t "${pkgdir}/usr/share/webapps/${pkgname}/public"
-  (
-    # adding weird symlinks
-    cd "${pkgdir}/usr/share/webapps/${pkgname}/public"
-    ln -sv users/password-change.php .
-    ln -sv users/password-recover.php .
-  )
-  install -vDm 644 public/css/*.css \
-    -t "${pkgdir}/usr/share/webapps/${pkgname}/public/css"
-  install -vDm 644 public/images/*.{gif,ico,php,png} \
-    -t "${pkgdir}/usr/share/webapps/${pkgname}/public/images"
-  install -vDm 644 public/users/*.{js,php} \
-    -t "${pkgdir}/usr/share/webapps/${pkgname}/public/users"
-  install -vDm 644 public/users/css/*.css \
-    -t "${pkgdir}/usr/share/webapps/${pkgname}/public/users/css"
-  install -vDm 644 public/users/images/calendar/*.{gif,png} \
-    -t "${pkgdir}/usr/share/webapps/${pkgname}/public/users/images/calendar"
-  install -vDm 755 scripts/${pkgname}-cli \
-    -t "${pkgdir}/usr/share/webapps/${pkgname}/scripts"
-  install -vDm 644 scripts/*.php \
-    -t "${pkgdir}/usr/share/webapps/${pkgname}/scripts"
-  install -vDm 644 scripts/snippets/*.php \
-    -t "${pkgdir}/usr/share/webapps/${pkgname}/scripts/snippets"
-  install -vDm 644 templates/*.{php,tpl} \
-    -t "${pkgdir}/usr/share/webapps/${pkgname}/templates"
-  install -vDm 644 tests/*.php \
-    -t "${pkgdir}/usr/share/webapps/${pkgname}/tests"
-  # config
-  install -vDm 640 config.{inc,local}.php -t "${pkgdir}/etc/webapps/${pkgname}/"
-  ln -sv "/etc/webapps/${pkgname}/config.inc.php" \
-    "${pkgdir}/usr/share/webapps/${pkgname}/config.inc.php"
-  ln -sv "/etc/webapps/${pkgname}/config.local.php" \
-    "${pkgdir}/usr/share/webapps/${pkgname}/config.local.php"
-  install -vDm 644 .htaccess -t "${pkgdir}/etc/webapps/${pkgname}/"
-  ln -sv "/etc/webapps/${pkgname}/.htaccess" \
-    "${pkgdir}/usr/share/webapps/${pkgname}/.htaccess"
-  install -vDm 644 "../${pkgname}.uwsgi" "${pkgdir}/etc/uwsgi/${pkgname}.ini"
-  # template caches
-  install -vdm 755 "${pkgdir}/var/cache/${pkgname}/templates_c"
-  ln -sv "/var/cache/${pkgname}/templates_c" \
-    "${pkgdir}/usr/share/webapps/${pkgname}/"
-}

Copied: postfixadmin/repos/community-any/PKGBUILD (from rev 617084, postfixadmin/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2020-04-20 20:46:01 UTC (rev 617085)
@@ -0,0 +1,132 @@
+# Maintainer: David Runge <dvzrv at archlinux.org>
+# Contributor: Sven-Hendrik Haase <sh at lutzhaase.com>
+# Contributor: Filip <fila pruda.com>
+
+pkgname=postfixadmin
+pkgver=3.2.4
+pkgrel=1
+pkgdesc="Web based interface to manage Postfix mailboxes, virtual domains and aliases"
+arch=('any')
+license=('GPL2')
+url="http://postfixadmin.sourceforge.net/"
+backup=('etc/webapps/postfixadmin/config.inc.php'
+        'etc/webapps/postfixadmin/config.local.php'
+        'etc/webapps/postfixadmin/.htaccess'
+        'etc/uwsgi/postfixadmin.ini')
+depends=('php')
+optdepends=('apache: run in webserver'
+            'dovecot: interface local IMAP/POP3 server'
+            'mariadb: use local MySQL server'
+            'perl: for example scripts'
+            'php-fpm: run in fastCGI process manager'
+            'php-imap: use IMAP'
+            'php-sqlite: use SQLite database backend'
+            'php-pgsql: use PostgreSQL database backend'
+            'postfix: interface local mail server'
+            'postgresql: use local PostgreSQL server'
+            'python: for example scripts'
+            'uwsgi: run as application container')
+source=("https://github.com/postfixadmin/${pkgname}/archive/${pkgname}-${pkgver}.tar.gz"
+        "${pkgname}.sysusers"
+        "${pkgname}.tmpfiles"
+        "${pkgname}.uwsgi")
+install="${pkgname}.install"
+sha512sums=('2bd7ae05addbaf3c6c7eebea16ec1e21b2c67c8e6161446ed82a9553c26c04e19c1ec9ce248a9b9df504df56d309590259e6f04907b04b593548028b40e40d47'
+            'dc61527dbec79a3b19c8fcbc424fbfbe483cccf99a606e566ea6cd624d46c70a6d87dd8d4da398fedf12b60cfd0cf364c351d6b826e6eee6b2ca8eac0d9efcbe'
+            '7e55c844be7b186d9eb568fe097632651c683582da83e0ee24cd6dd7c5a581fe05e5462174237f542ff8dc5d17a8ab651a77f0087a0c8df01d7b36c7722b1440'
+            '50640e431f9b167d618e5e5f6acd36453270aeb7ef8b714afe8207eba9916c86d4b42a1edb9b73a46a1c732a886efcab01389e007baa5b85295c091b451d5673')
+
+prepare(){
+  mv -v "${pkgname}-${pkgname}-${pkgver}" "${pkgname}-${pkgver}"
+  cd "${pkgname}-${pkgver}"
+  # creating empty local config (for overrides)
+  echo "<?php" > "config.local.php"
+  # creating htaccess file
+  echo "#Require all denied" > .htaccess
+  # remove unneeded executable bits
+  find . -executable -type f \
+    -and -not -path "*scripts*" -exec chmod -c 644 {} \;
+  # remove symlinks
+  find . -type l -exec rm -v {} +
+  # remove unneeded debian directories
+  rm -rv ADDITIONS/squirrelmail-plugin/debian
+}
+
+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"
+  # docs
+  install -vDm 644 {README.md,CHANGELOG.TXT} \
+    -t "${pkgdir}/usr/share/doc/${pkgname}/"
+  install -vDm 644 DOCUMENTS/*.txt \
+    -t "${pkgdir}/usr/share/doc/${pkgname}/documents"
+  cp -av ADDITIONS VIRTUAL_VACATION \
+    "${pkgdir}/usr/share/doc/${pkgname}"
+  # webapp
+  install -vDm 644 {common,functions.inc,index}.php phpunit.xml \
+    -t "${pkgdir}/usr/share/webapps/${pkgname}"
+  install -vDm 644 configs/menu.conf \
+    -t "${pkgdir}/usr/share/webapps/${pkgname}/configs"
+  install -vDm 644 languages/*.{lang,php} \
+    -t "${pkgdir}/usr/share/webapps/${pkgname}/languages/"
+  install -vDm 644 lib/*.{phar,pubkey,php,txt} \
+    -t "${pkgdir}/usr/share/webapps/${pkgname}/lib/"
+  install -vDm 644 lib/smarty/{COPYING.lib,smarty_version} \
+    -t "${pkgdir}/usr/share/webapps/${pkgname}/lib/smarty"
+  install -vDm 644 lib/smarty/libs/*.{php,tpl} \
+    -t "${pkgdir}/usr/share/webapps/${pkgname}/lib/smarty/libs"
+  install -vDm 644 lib/smarty/libs/plugins/*.php \
+    -t "${pkgdir}/usr/share/webapps/${pkgname}/lib/smarty/libs/plugins"
+  install -vDm 644 lib/smarty/libs/sysplugins/*.php \
+    -t "${pkgdir}/usr/share/webapps/${pkgname}/lib/smarty/libs/sysplugins"
+  install -vDm 644 model/*.php \
+    -t "${pkgdir}/usr/share/webapps/${pkgname}/model"
+  install -vDm 644 public/*.php \
+    -t "${pkgdir}/usr/share/webapps/${pkgname}/public"
+  (
+    # adding weird symlinks
+    cd "${pkgdir}/usr/share/webapps/${pkgname}/public"
+    ln -sv users/password-change.php .
+    ln -sv users/password-recover.php .
+  )
+  install -vDm 644 public/css/*.css \
+    -t "${pkgdir}/usr/share/webapps/${pkgname}/public/css"
+  install -vDm 644 public/images/*.{gif,ico,php,png} \
+    -t "${pkgdir}/usr/share/webapps/${pkgname}/public/images"
+  install -vDm 644 public/users/*.{js,php} \
+    -t "${pkgdir}/usr/share/webapps/${pkgname}/public/users"
+  install -vDm 644 public/users/css/*.css \
+    -t "${pkgdir}/usr/share/webapps/${pkgname}/public/users/css"
+  install -vDm 644 public/users/images/calendar/*.{gif,png} \
+    -t "${pkgdir}/usr/share/webapps/${pkgname}/public/users/images/calendar"
+  install -vDm 755 scripts/${pkgname}-cli \
+    -t "${pkgdir}/usr/share/webapps/${pkgname}/scripts"
+  install -vDm 644 scripts/*.php \
+    -t "${pkgdir}/usr/share/webapps/${pkgname}/scripts"
+  install -vDm 644 scripts/snippets/*.php \
+    -t "${pkgdir}/usr/share/webapps/${pkgname}/scripts/snippets"
+  install -vDm 644 templates/*.{php,tpl} \
+    -t "${pkgdir}/usr/share/webapps/${pkgname}/templates"
+  install -vDm 644 tests/*.php \
+    -t "${pkgdir}/usr/share/webapps/${pkgname}/tests"
+  # config
+  install -vDm 640 config.{inc,local}.php -t "${pkgdir}/etc/webapps/${pkgname}/"
+  ln -sv "/etc/webapps/${pkgname}/config.inc.php" \
+    "${pkgdir}/usr/share/webapps/${pkgname}/config.inc.php"
+  ln -sv "/etc/webapps/${pkgname}/config.local.php" \
+    "${pkgdir}/usr/share/webapps/${pkgname}/config.local.php"
+  install -vDm 644 .htaccess -t "${pkgdir}/etc/webapps/${pkgname}/"
+  ln -sv "/etc/webapps/${pkgname}/.htaccess" \
+    "${pkgdir}/usr/share/webapps/${pkgname}/.htaccess"
+  install -vDm 644 "../${pkgname}.uwsgi" "${pkgdir}/etc/uwsgi/${pkgname}.ini"
+  # template caches
+  install -vdm 755 "${pkgdir}/var/cache/${pkgname}/templates_c"
+  ln -sv "/var/cache/${pkgname}/templates_c" \
+    "${pkgdir}/usr/share/webapps/${pkgname}/"
+}

Deleted: postfixadmin.install
===================================================================
--- postfixadmin.install	2020-04-20 20:45:44 UTC (rev 617084)
+++ postfixadmin.install	2020-04-20 20:46:01 UTC (rev 617085)
@@ -1,13 +0,0 @@
-post_upgrade() {
-  local new_package_version="$1"
-  local old_package_version="$2"
-  if [ $(vercmp "${old_package_version}" "3.2.0") -le 0 ]; then
-cat <<EOF
-The webapp now needs to be run as its own user/group: postfixadmin/postfixadmin.
-The webapp is now installed to /usr/share/webapps/postfixadmin.
-It's encouraged to move configuration to config.local.php as the default
-configuration in config.inc.php will not be backed up anymore in a future
-release.
-EOF
-  fi
-}

Copied: postfixadmin/repos/community-any/postfixadmin.install (from rev 617084, postfixadmin/trunk/postfixadmin.install)
===================================================================
--- postfixadmin.install	                        (rev 0)
+++ postfixadmin.install	2020-04-20 20:46:01 UTC (rev 617085)
@@ -0,0 +1,13 @@
+post_upgrade() {
+  local new_package_version="$1"
+  local old_package_version="$2"
+  if [ $(vercmp "${old_package_version}" "3.2.0") -le 0 ]; then
+cat <<EOF
+The webapp now needs to be run as its own user/group: postfixadmin/postfixadmin.
+The webapp is now installed to /usr/share/webapps/postfixadmin.
+It's encouraged to move configuration to config.local.php as the default
+configuration in config.inc.php will not be backed up anymore in a future
+release.
+EOF
+  fi
+}

Deleted: postfixadmin.sysusers
===================================================================
--- postfixadmin.sysusers	2020-04-20 20:45:44 UTC (rev 617084)
+++ postfixadmin.sysusers	2020-04-20 20:46:01 UTC (rev 617085)
@@ -1 +0,0 @@
-u postfixadmin - "PostfixAdmin user" -

Copied: postfixadmin/repos/community-any/postfixadmin.sysusers (from rev 617084, postfixadmin/trunk/postfixadmin.sysusers)
===================================================================
--- postfixadmin.sysusers	                        (rev 0)
+++ postfixadmin.sysusers	2020-04-20 20:46:01 UTC (rev 617085)
@@ -0,0 +1 @@
+u postfixadmin - "PostfixAdmin user" -

Deleted: postfixadmin.tmpfiles
===================================================================
--- postfixadmin.tmpfiles	2020-04-20 20:45:44 UTC (rev 617084)
+++ postfixadmin.tmpfiles	2020-04-20 20:46:01 UTC (rev 617085)
@@ -1,3 +0,0 @@
-z /etc/webapps/postfixadmin/*.php 0640 postfixadmin postfixadmin
-Z %C/postfixadmin - postfixadmin postfixadmin
-d %t/postfixadmin 755 postfixadmin postfixadmin

Copied: postfixadmin/repos/community-any/postfixadmin.tmpfiles (from rev 617084, postfixadmin/trunk/postfixadmin.tmpfiles)
===================================================================
--- postfixadmin.tmpfiles	                        (rev 0)
+++ postfixadmin.tmpfiles	2020-04-20 20:46:01 UTC (rev 617085)
@@ -0,0 +1,3 @@
+z /etc/webapps/postfixadmin/*.php 0640 postfixadmin postfixadmin
+Z %C/postfixadmin - postfixadmin postfixadmin
+d %t/postfixadmin 755 postfixadmin postfixadmin

Deleted: postfixadmin.uwsgi
===================================================================
--- postfixadmin.uwsgi	2020-04-20 20:45:44 UTC (rev 617084)
+++ postfixadmin.uwsgi	2020-04-20 20:46:01 UTC (rev 617085)
@@ -1,26 +0,0 @@
-[uwsgi]
-procname-master = postfixadmin
-master = true
-plugins = php
-socket = /run/postfixadmin/%n.sock
-stats = /run/postfixadmin/%n-stats.sock
-uid = postfixadmin
-gid = postfixadmin
-processes = 10
-cheaper = 2
-cheaper-step = 1
-idle = 120
-die-on-idle = true
-
-php-allowed-ext = .php
-php-docroot = /usr/share/webapps/postfixadmin/public
-php-index = index.php
-php-set = date.timezone=Europe/Berlin
-php-set = open_basedir=/tmp/:/usr/share/webapps/postfixadmin/:/etc/webapps/postfixadmin/:/usr/bin/doveadm:/var/cache/postfixadmin
-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 = extension=mysqli.so
-php-set = extension=imap.so
-

Copied: postfixadmin/repos/community-any/postfixadmin.uwsgi (from rev 617084, postfixadmin/trunk/postfixadmin.uwsgi)
===================================================================
--- postfixadmin.uwsgi	                        (rev 0)
+++ postfixadmin.uwsgi	2020-04-20 20:46:01 UTC (rev 617085)
@@ -0,0 +1,26 @@
+[uwsgi]
+procname-master = postfixadmin
+master = true
+plugins = php
+socket = /run/postfixadmin/%n.sock
+stats = /run/postfixadmin/%n-stats.sock
+uid = postfixadmin
+gid = postfixadmin
+processes = 10
+cheaper = 2
+cheaper-step = 1
+idle = 120
+die-on-idle = true
+
+php-allowed-ext = .php
+php-docroot = /usr/share/webapps/postfixadmin/public
+php-index = index.php
+php-set = date.timezone=Europe/Berlin
+php-set = open_basedir=/tmp/:/usr/share/webapps/postfixadmin/:/etc/webapps/postfixadmin/:/usr/bin/doveadm:/var/cache/postfixadmin
+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 = extension=mysqli.so
+php-set = extension=imap.so
+



More information about the arch-commits mailing list