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

David Runge dvzrv at archlinux.org
Fri May 14 17:19:27 UTC 2021


    Date: Friday, May 14, 2021 @ 17:19:27
  Author: dvzrv
Revision: 934263

archrelease: copy trunk to community-any

Added:
  postfixadmin/repos/community-any/PKGBUILD
    (from rev 934262, postfixadmin/trunk/PKGBUILD)
  postfixadmin/repos/community-any/postfixadmin.install
    (from rev 934262, postfixadmin/trunk/postfixadmin.install)
  postfixadmin/repos/community-any/postfixadmin.sysusers
    (from rev 934262, postfixadmin/trunk/postfixadmin.sysusers)
  postfixadmin/repos/community-any/postfixadmin.tmpfiles
    (from rev 934262, postfixadmin/trunk/postfixadmin.tmpfiles)
  postfixadmin/repos/community-any/postfixadmin.uwsgi
    (from rev 934262, 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              |  240 ++++++++++++++++++++++++------------------------
 postfixadmin.install  |   26 ++---
 postfixadmin.sysusers |    2 
 postfixadmin.tmpfiles |    6 -
 postfixadmin.uwsgi    |   54 +++++-----
 5 files changed, 164 insertions(+), 164 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2021-05-14 17:19:17 UTC (rev 934262)
+++ PKGBUILD	2021-05-14 17:19:27 UTC (rev 934263)
@@ -1,120 +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.3.8
-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-plugin-php: 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=('bfe5d874083568f1e8b1830394338d2aa29e39e30834d4c8c728836495f12f6d49c65b83b1fae1fce20e7456afaef0058320033866b720a5858911ceec22a022'
-            'dc61527dbec79a3b19c8fcbc424fbfbe483cccf99a606e566ea6cd624d46c70a6d87dd8d4da398fedf12b60cfd0cf364c351d6b826e6eee6b2ca8eac0d9efcbe'
-            '7e55c844be7b186d9eb568fe097632651c683582da83e0ee24cd6dd7c5a581fe05e5462174237f542ff8dc5d17a8ab651a77f0087a0c8df01d7b36c7722b1440'
-            '2e3854d97bd74dc2501260c557549b0162f4a7749261538672de052b252e56fa62ef052bafe6d8681f2f87a94b71039fc9a68ff622a04dd2d6232213143d1840')
-b2sums=('f8b29248e839d973fd72647747e0bba7452676543f44310f12203d5e64e83222a3992e282a3898fa077dc54100b3446e4d1cded56cd464d72b2997ce34f064db'
-        'a73314d9befe48869ca121bddfb3af61e916f8458f388e13eed1a7ffd64e7ae75604dc3af92d3d4d5b97c30d3cb089e28cbf64c7e81e324f3ff85d75b15b5f0d'
-        '0e0170b08284dcfc5a68afd46a2e726d696905f3ddcd8158fed68c84fec039fabe60379005055e5fa1cc1fbb098c107b739d0e107f027bd7054d0e31b6e9cea6'
-        'b59885eec24483d0f65614918f7c8cd70402600ac645f14560d5d28dfddce84a41a3ce1e2f9ea4bc0364ce299f468a2a243b0cbe920c0526f3c92e3d0269fa0c')
-
-prepare(){
-  mv -v "${pkgname}-${pkgname}-${pkgver}" "${pkgname}-${pkgver}"
-  cd "${pkgname}-${pkgver}"
-  # create empty local config (for overrides)
-  echo "<?php" > "config.local.php"
-  # create .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/{README*,*.{txt,md}} \
-    -t "${pkgdir}/usr/share/doc/${pkgname}/documents"
-  cp -av ADDITIONS VIRTUAL_VACATION \
-    "${pkgdir}/usr/share/doc/${pkgname}"
-
-  # webapp
-  find configs languages lib model public scripts templates tests \
-    -type f \( \
-    -iname "*.conf" -or \
-    -iname "*.css" -or \
-    -iname "*.eot" -or \
-    -iname "*.gif" -or \
-    -iname "*.ico" -or \
-    -iname "*.js" -or \
-    -iname "*.lang" -or \
-    -iname "*.lib" -or \
-    -iname "*.map" -or \
-    -iname "*.php" -or \
-    -iname "*.png" -or \
-    -iname "*.sql" -or \
-    -iname "*.svg" -or \
-    -iname "*.tpl" -or \
-    -iname "*.ttf" -or \
-    -iname "*.woff" -or \
-    -iname "*.woff2" \
-    \) -exec install -vDm 644 {} "${pkgdir}/usr/share/webapps/${pkgname}/"{} \;
-  install -vDm 644 {common,functions.inc,index}.php phpunit.xml \
-    -t "${pkgdir}/usr/share/webapps/${pkgname}"
-  (
-    # adding weird symlinks
-    cd "${pkgdir}/usr/share/webapps/${pkgname}/public"
-    ln -sv users/password-change.php .
-    ln -sv users/password-recover.php .
-  )
-
-  # 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 934262, postfixadmin/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2021-05-14 17:19:27 UTC (rev 934263)
@@ -0,0 +1,120 @@
+# Maintainer: David Runge <dvzrv at archlinux.org>
+# Contributor: Sven-Hendrik Haase <sh at lutzhaase.com>
+# Contributor: Filip <fila pruda.com>
+
+pkgname=postfixadmin
+pkgver=3.3.9
+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-plugin-php: 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=('791b05df34a4f2eec01fe6f6b9038a6630cd60c42e1f2e725fe3d033a692b77d2d688858b947c53d1ce48258c7c87a2e3fb31356e553632b88149d5a29bfa70e'
+            'dc61527dbec79a3b19c8fcbc424fbfbe483cccf99a606e566ea6cd624d46c70a6d87dd8d4da398fedf12b60cfd0cf364c351d6b826e6eee6b2ca8eac0d9efcbe'
+            '7e55c844be7b186d9eb568fe097632651c683582da83e0ee24cd6dd7c5a581fe05e5462174237f542ff8dc5d17a8ab651a77f0087a0c8df01d7b36c7722b1440'
+            '2e3854d97bd74dc2501260c557549b0162f4a7749261538672de052b252e56fa62ef052bafe6d8681f2f87a94b71039fc9a68ff622a04dd2d6232213143d1840')
+b2sums=('28546631dce340d3c1128b525de1c33e9e3aa23cd557e6c8f7e9b26f97aedba67f2e5f3ea351e0db2d79e068e16cfa1672cbe3e6abbffd19e5009e2a9df84523'
+        'a73314d9befe48869ca121bddfb3af61e916f8458f388e13eed1a7ffd64e7ae75604dc3af92d3d4d5b97c30d3cb089e28cbf64c7e81e324f3ff85d75b15b5f0d'
+        '0e0170b08284dcfc5a68afd46a2e726d696905f3ddcd8158fed68c84fec039fabe60379005055e5fa1cc1fbb098c107b739d0e107f027bd7054d0e31b6e9cea6'
+        'b59885eec24483d0f65614918f7c8cd70402600ac645f14560d5d28dfddce84a41a3ce1e2f9ea4bc0364ce299f468a2a243b0cbe920c0526f3c92e3d0269fa0c')
+
+prepare(){
+  mv -v "${pkgname}-${pkgname}-${pkgver}" "${pkgname}-${pkgver}"
+  cd "${pkgname}-${pkgver}"
+  # create empty local config (for overrides)
+  echo "<?php" > "config.local.php"
+  # create .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/{README*,*.{txt,md}} \
+    -t "${pkgdir}/usr/share/doc/${pkgname}/documents"
+  cp -av ADDITIONS VIRTUAL_VACATION \
+    "${pkgdir}/usr/share/doc/${pkgname}"
+
+  # webapp
+  find configs languages lib model public scripts templates tests \
+    -type f \( \
+    -iname "*.conf" -or \
+    -iname "*.css" -or \
+    -iname "*.eot" -or \
+    -iname "*.gif" -or \
+    -iname "*.ico" -or \
+    -iname "*.js" -or \
+    -iname "*.lang" -or \
+    -iname "*.lib" -or \
+    -iname "*.map" -or \
+    -iname "*.php" -or \
+    -iname "*.png" -or \
+    -iname "*.sql" -or \
+    -iname "*.svg" -or \
+    -iname "*.tpl" -or \
+    -iname "*.ttf" -or \
+    -iname "*.woff" -or \
+    -iname "*.woff2" \
+    \) -exec install -vDm 644 {} "${pkgdir}/usr/share/webapps/${pkgname}/"{} \;
+  install -vDm 644 {common,functions.inc,index}.php phpunit.xml \
+    -t "${pkgdir}/usr/share/webapps/${pkgname}"
+  (
+    # adding weird symlinks
+    cd "${pkgdir}/usr/share/webapps/${pkgname}/public"
+    ln -sv users/password-change.php .
+    ln -sv users/password-recover.php .
+  )
+
+  # 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	2021-05-14 17:19:17 UTC (rev 934262)
+++ postfixadmin.install	2021-05-14 17:19:27 UTC (rev 934263)
@@ -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 934262, postfixadmin/trunk/postfixadmin.install)
===================================================================
--- postfixadmin.install	                        (rev 0)
+++ postfixadmin.install	2021-05-14 17:19:27 UTC (rev 934263)
@@ -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	2021-05-14 17:19:17 UTC (rev 934262)
+++ postfixadmin.sysusers	2021-05-14 17:19:27 UTC (rev 934263)
@@ -1 +0,0 @@
-u postfixadmin - "PostfixAdmin user" -

Copied: postfixadmin/repos/community-any/postfixadmin.sysusers (from rev 934262, postfixadmin/trunk/postfixadmin.sysusers)
===================================================================
--- postfixadmin.sysusers	                        (rev 0)
+++ postfixadmin.sysusers	2021-05-14 17:19:27 UTC (rev 934263)
@@ -0,0 +1 @@
+u postfixadmin - "PostfixAdmin user" -

Deleted: postfixadmin.tmpfiles
===================================================================
--- postfixadmin.tmpfiles	2021-05-14 17:19:17 UTC (rev 934262)
+++ postfixadmin.tmpfiles	2021-05-14 17:19:27 UTC (rev 934263)
@@ -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 934262, postfixadmin/trunk/postfixadmin.tmpfiles)
===================================================================
--- postfixadmin.tmpfiles	                        (rev 0)
+++ postfixadmin.tmpfiles	2021-05-14 17:19:27 UTC (rev 934263)
@@ -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	2021-05-14 17:19:17 UTC (rev 934262)
+++ postfixadmin.uwsgi	2021-05-14 17:19:27 UTC (rev 934263)
@@ -1,27 +0,0 @@
-[uwsgi]
-procname-master = %n
-master = true
-plugins = php
-socket = /run/%n/%n.sock
-stats = /run/%n/%n-stats.sock
-uid = %n
-gid = %n
-processes = 10
-cheaper = 2
-cheaper-step = 1
-idle = 120
-die-on-idle = true
-touch-reload = %p
-php-allowed-ext = .php
-php-docroot = /usr/share/webapps/%n/public
-php-index = index.php
-php-set = date.timezone=Europe/Berlin
-php-set = open_basedir=/tmp/:/usr/share/webapps/%n/:/etc/webapps/%n/:/usr/bin/doveadm:/var/cache/%n
-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=imap
-php-set = extension=pdo_mysql
-php-set = extension=pdo_pgsql
-php-set = extension=pdo_sqlite

Copied: postfixadmin/repos/community-any/postfixadmin.uwsgi (from rev 934262, postfixadmin/trunk/postfixadmin.uwsgi)
===================================================================
--- postfixadmin.uwsgi	                        (rev 0)
+++ postfixadmin.uwsgi	2021-05-14 17:19:27 UTC (rev 934263)
@@ -0,0 +1,27 @@
+[uwsgi]
+procname-master = %n
+master = true
+plugins = php
+socket = /run/%n/%n.sock
+stats = /run/%n/%n-stats.sock
+uid = %n
+gid = %n
+processes = 10
+cheaper = 2
+cheaper-step = 1
+idle = 120
+die-on-idle = true
+touch-reload = %p
+php-allowed-ext = .php
+php-docroot = /usr/share/webapps/%n/public
+php-index = index.php
+php-set = date.timezone=Europe/Berlin
+php-set = open_basedir=/tmp/:/usr/share/webapps/%n/:/etc/webapps/%n/:/usr/bin/doveadm:/var/cache/%n
+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=imap
+php-set = extension=pdo_mysql
+php-set = extension=pdo_pgsql
+php-set = extension=pdo_sqlite



More information about the arch-commits mailing list