[arch-commits] Commit in prosody/repos/community-x86_64 (12 files)

Daurnimator daurnimator at gemini.archlinux.org
Thu Apr 28 00:39:29 UTC 2022


    Date: Thursday, April 28, 2022 @ 00:39:28
  Author: daurnimator
Revision: 1191362

archrelease: copy trunk to community-x86_64

Added:
  prosody/repos/community-x86_64/PKGBUILD
    (from rev 1191361, prosody/trunk/PKGBUILD)
  prosody/repos/community-x86_64/prosody.install
    (from rev 1191361, prosody/trunk/prosody.install)
  prosody/repos/community-x86_64/prosody.logrotated
    (from rev 1191361, prosody/trunk/prosody.logrotated)
  prosody/repos/community-x86_64/prosody.service
    (from rev 1191361, prosody/trunk/prosody.service)
  prosody/repos/community-x86_64/prosody.tmpfile.d
    (from rev 1191361, prosody/trunk/prosody.tmpfile.d)
  prosody/repos/community-x86_64/sysuser.conf
    (from rev 1191361, prosody/trunk/sysuser.conf)
Deleted:
  prosody/repos/community-x86_64/PKGBUILD
  prosody/repos/community-x86_64/prosody.install
  prosody/repos/community-x86_64/prosody.logrotated
  prosody/repos/community-x86_64/prosody.service
  prosody/repos/community-x86_64/prosody.tmpfile.d
  prosody/repos/community-x86_64/sysuser.conf

--------------------+
 PKGBUILD           |  200 +++++++++++++++++++++++++--------------------------
 prosody.install    |   46 +++++------
 prosody.logrotated |   18 ++--
 prosody.service    |   58 +++++++-------
 prosody.tmpfile.d  |    4 -
 sysuser.conf       |    6 -
 6 files changed, 166 insertions(+), 166 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2022-04-28 00:39:00 UTC (rev 1191361)
+++ PKGBUILD	2022-04-28 00:39:28 UTC (rev 1191362)
@@ -1,100 +0,0 @@
-# Maintainer: Daurnimator  <daurnimator at archlinux.org>
-# Maintainer: Sergej Pupykin <pupykin.s+arch at gmail.com>
-# Contributor: Dwayne Bent <dbb at dbb.io>
-# Contributor: Tilman Vatteroth <tilman.vatteroth at uni-dortmund.de>
-# Contributor: Paul-Sebastian Manole <brokenthorn at gmail.com>
-# Contributor: Timothée Ravier <tim at siosm.fr>
-# Contributor: Christoph Stahl <christoph.stahl at uni-dortmund.de>
-
-pkgname=prosody
-epoch=1
-pkgver=0.12.0
-pkgrel=1
-pkgdesc="Lightweight and extensible Jabber/XMPP server written in Lua"
-arch=('x86_64')
-url="https://prosody.im/"
-license=('MIT')
-depends=('lua52'
-         'lua52-sec'
-         'lua52-socket'
-         'lua52-expat'
-         'lua52-filesystem'
-         'libidn'
-         'openssl')
-optdepends=('lua52-sec: TLS encryption support'
-#	         'lua52-event: libevent support'
-            'lua52-dbi: SQL storage support'
-            'luarocks: plugin manager')
-install=prosody.install
-backup=('etc/prosody/prosody.cfg.lua')
-validpgpkeys=('32A9EDDE3609931EB98CEAC315907E8E7BDD6BFE'
-	      '3E52119EF853C59678DBBF6BADED9A77B67AD329'
-	      'C01A477A8F69E6E57F5C54CDE7AB958013F1F1D5')
-source=("https://prosody.im/downloads/source/prosody-$pkgver.tar.gz"{,.asc}
-        'prosody.tmpfile.d'
-        'prosody.logrotated'
-        'sysuser.conf'
-        'prosody.service')
-sha256sums=('752ff32015dac565fc3417c2196af268971c358ee066e51f5d912413580d889a'
-            'SKIP'
-            '0753bd9260f1cfdce6e18e01a61e320b396acfe9fca8ccf3250653bfa6af997e'
-            '5a2466b73bd069fb73be97a4e23b24e4c8dd1adb7db871cb8f5ab4094c1f967f'
-            'e5c30ffbb066f0ed3444475b3313490c535d8c9df018726f6cecf9e3ddfd2e48'
-            'e9d6abc4c53bd9e7b1d2acc56c7513416751f9436bf382ed52d703d29b13bfaa')
-
-prepare() {
-  cd prosody-$pkgver
-
-  # disable logging to output and activate syslog
-  sed -i s/"info = "/"-- info = "/g prosody.cfg.lua.dist
-  sed -i s/"error = "/"-- error = "/g prosody.cfg.lua.dist
-  sed -i s/"--\ \"\*syslog\"\;"/"info = \"*syslog\"\;"/g prosody.cfg.lua.dist
-
-  # add pidfile and daemonize
-  # daemonize is important for systemd!
-  mv prosody.cfg.lua.dist prosody.cfg.lua.old
-
-  echo --Important for systemd >> prosody.cfg.lua.dist
-  echo -- daemonize is important for systemd. if you set this to false the systemd startup will freeze. >> prosody.cfg.lua.dist
-  echo daemonize = true >> prosody.cfg.lua.dist
-  echo 'pidfile = "/run/prosody/prosody.pid"'>> prosody.cfg.lua.dist
-  echo "" >> prosody.cfg.lua.dist
-  cat prosody.cfg.lua.old >> prosody.cfg.lua.dist
-  rm prosody.cfg.lua.old
-
-  #sed -i 's|sock, err = socket.udp();|sock, err = (socket.udp4 or socket.udp)();|g' net/dns.lua
-}
-
-build() {
-  cd prosody-$pkgver
-  ./configure \
-    --ostype=linux \
-    --prefix=/usr \
-    --sysconfdir=/etc/prosody \
-    --datadir=/var/lib/prosody \
-    --with-lua-include=/usr/include/lua5.2 \
-    --idn-library=idn \
-    --cflags="${CPPFLAGS} ${CFLAGS} -fPIC -D_GNU_SOURCE" \
-    --ldflags="${LDFLAGS} -shared" \
-    --no-example-certs \
-    --runwith=lua5.2
-  make
-}
-
-package() {
-  cd prosody-$pkgver
-  make DESTDIR="${pkgdir}" install
-  make DESTDIR="${pkgdir}" install -C tools/migration
-
-  install -Dm 0644 "$srcdir"/prosody.tmpfile.d "${pkgdir}"/usr/lib/tmpfiles.d/prosody.conf
-  install -Dm 0644 "$srcdir"/prosody.service "${pkgdir}"/usr/lib/systemd/system/prosody.service
-  install -Dm644 "$srcdir"/sysuser.conf "$pkgdir"/usr/lib/sysusers.d/prosody.conf
-
-  for i in tools/*.lua; do
-    install -Dm 0644 ${i} "${pkgdir}"/usr/share/prosody/${i}
-  done
-
-  install -Dm 0644 COPYING "${pkgdir}"/usr/share/licenses/prosody/COPYING
-  install -Dm 0644 "$srcdir"/prosody.logrotated "${pkgdir}"/etc/logrotate.d/prosody
-  rm "${pkgdir}"/etc/prosody/certs/*
-}

Copied: prosody/repos/community-x86_64/PKGBUILD (from rev 1191361, prosody/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2022-04-28 00:39:28 UTC (rev 1191362)
@@ -0,0 +1,100 @@
+# Maintainer: Daurnimator  <daurnimator at archlinux.org>
+# Maintainer: Sergej Pupykin <pupykin.s+arch at gmail.com>
+# Contributor: Dwayne Bent <dbb at dbb.io>
+# Contributor: Tilman Vatteroth <tilman.vatteroth at uni-dortmund.de>
+# Contributor: Paul-Sebastian Manole <brokenthorn at gmail.com>
+# Contributor: Timothée Ravier <tim at siosm.fr>
+# Contributor: Christoph Stahl <christoph.stahl at uni-dortmund.de>
+
+pkgname=prosody
+epoch=1
+pkgver=0.12.0
+pkgrel=2
+pkgdesc="Lightweight and extensible Jabber/XMPP server written in Lua"
+arch=('x86_64')
+url="https://prosody.im/"
+license=('MIT')
+depends=('lua'
+         'lua-sec'
+         'lua-socket'
+         'lua-expat'
+         'lua-filesystem'
+         'libidn'
+         'openssl')
+optdepends=('lua-sec: TLS encryption support'
+#            'lua-event: libevent support'
+            'lua-dbi: SQL storage support'
+            'luarocks: plugin manager')
+install=prosody.install
+backup=('etc/prosody/prosody.cfg.lua')
+validpgpkeys=('32A9EDDE3609931EB98CEAC315907E8E7BDD6BFE'
+              '3E52119EF853C59678DBBF6BADED9A77B67AD329'
+              'C01A477A8F69E6E57F5C54CDE7AB958013F1F1D5')
+source=("https://prosody.im/downloads/source/prosody-$pkgver.tar.gz"{,.asc}
+        'prosody.tmpfile.d'
+        'prosody.logrotated'
+        'sysuser.conf'
+        'prosody.service')
+sha256sums=('752ff32015dac565fc3417c2196af268971c358ee066e51f5d912413580d889a'
+            'SKIP'
+            '0753bd9260f1cfdce6e18e01a61e320b396acfe9fca8ccf3250653bfa6af997e'
+            '5a2466b73bd069fb73be97a4e23b24e4c8dd1adb7db871cb8f5ab4094c1f967f'
+            'e5c30ffbb066f0ed3444475b3313490c535d8c9df018726f6cecf9e3ddfd2e48'
+            'e9d6abc4c53bd9e7b1d2acc56c7513416751f9436bf382ed52d703d29b13bfaa')
+
+prepare() {
+  cd prosody-$pkgver
+
+  # disable logging to output and activate syslog
+  sed -i s/"info = "/"-- info = "/g prosody.cfg.lua.dist
+  sed -i s/"error = "/"-- error = "/g prosody.cfg.lua.dist
+  sed -i s/"--\ \"\*syslog\"\;"/"info = \"*syslog\"\;"/g prosody.cfg.lua.dist
+
+  # add pidfile and daemonize
+  # daemonize is important for systemd!
+  mv prosody.cfg.lua.dist prosody.cfg.lua.old
+
+  echo --Important for systemd >> prosody.cfg.lua.dist
+  echo -- daemonize is important for systemd. if you set this to false the systemd startup will freeze. >> prosody.cfg.lua.dist
+  echo daemonize = true >> prosody.cfg.lua.dist
+  echo 'pidfile = "/run/prosody/prosody.pid"'>> prosody.cfg.lua.dist
+  echo "" >> prosody.cfg.lua.dist
+  cat prosody.cfg.lua.old >> prosody.cfg.lua.dist
+  rm prosody.cfg.lua.old
+
+  #sed -i 's|sock, err = socket.udp();|sock, err = (socket.udp4 or socket.udp)();|g' net/dns.lua
+}
+
+build() {
+  cd "prosody-${pkgver}"
+
+  ./configure \
+    --ostype=linux \
+    --prefix=/usr \
+    --sysconfdir=/etc/prosody \
+    --datadir=/var/lib/prosody \
+    --idn-library=idn \
+    --cflags="${CPPFLAGS} ${CFLAGS} -fPIC -D_GNU_SOURCE" \
+    --ldflags="${LDFLAGS} -shared" \
+    --no-example-certs
+  make
+}
+
+package() {
+  cd "prosody-${pkgver}"
+
+  make DESTDIR="${pkgdir}" install
+  make DESTDIR="${pkgdir}" install -C tools/migration
+
+  install -Dm644 "${srcdir}"/prosody.tmpfile.d "${pkgdir}"/usr/lib/tmpfiles.d/prosody.conf
+  install -Dm644 "${srcdir}"/prosody.service "${pkgdir}"/usr/lib/systemd/system/prosody.service
+  install -Dm644 "${srcdir}"/sysuser.conf "${pkgdir}"/usr/lib/sysusers.d/prosody.conf
+
+  for i in tools/*.lua; do
+    install -Dm644 "${i}" "${pkgdir}/usr/share/prosody/${i}"
+  done
+
+  install -Dm644 COPYING "${pkgdir}"/usr/share/licenses/prosody/COPYING
+  install -Dm644 "${srcdir}"/prosody.logrotated "${pkgdir}"/etc/logrotate.d/prosody
+  rm -- "${pkgdir}"/etc/prosody/certs/*
+}

Deleted: prosody.install
===================================================================
--- prosody.install	2022-04-28 00:39:00 UTC (rev 1191361)
+++ prosody.install	2022-04-28 00:39:28 UTC (rev 1191362)
@@ -1,23 +0,0 @@
-post_install() {
-    echo ">> Documentation: http://wiki.archlinux.org/index.php/Prosody"
-    echo ">> Probably you need to do 'chown prosody:jabber /var/lib/prosody'"
-}
-
-post_upgrade() {
-    post_install $1
-}
-
-post_remove() {
-    paths=(/etc/prosody /var/lib/prosody /var/log/prosody
-           /var/log/old/prosody)
-    first=true
-    for path in ${paths[@]}; do
-        if [ -d $path ]; then
-            if $first; then
-                first=false
-                echo "==> Leftover Paths:"
-            fi
-            echo "==> $path"
-        fi
-    done
-}

Copied: prosody/repos/community-x86_64/prosody.install (from rev 1191361, prosody/trunk/prosody.install)
===================================================================
--- prosody.install	                        (rev 0)
+++ prosody.install	2022-04-28 00:39:28 UTC (rev 1191362)
@@ -0,0 +1,23 @@
+post_install() {
+    echo ">> Documentation: http://wiki.archlinux.org/index.php/Prosody"
+    echo ">> Probably you need to do 'chown prosody:jabber /var/lib/prosody'"
+}
+
+post_upgrade() {
+    post_install $1
+}
+
+post_remove() {
+    paths=(/etc/prosody /var/lib/prosody /var/log/prosody
+           /var/log/old/prosody)
+    first=true
+    for path in ${paths[@]}; do
+        if [ -d $path ]; then
+            if $first; then
+                first=false
+                echo "==> Leftover Paths:"
+            fi
+            echo "==> $path"
+        fi
+    done
+}

Deleted: prosody.logrotated
===================================================================
--- prosody.logrotated	2022-04-28 00:39:00 UTC (rev 1191361)
+++ prosody.logrotated	2022-04-28 00:39:28 UTC (rev 1191362)
@@ -1,9 +0,0 @@
-/var/log/prosody/prosody.log /var/log/prosody/prosody.err {
-    # olddir /var/log/old/prosody
-    create 644 prosody prosody
-    sharedscripts
-    missingok
-    postrotate
-        /bin/kill -HUP `cat /run/prosody/prosody.pid 2> /dev/null` 2> /dev/null || true
-    endscript
-}

Copied: prosody/repos/community-x86_64/prosody.logrotated (from rev 1191361, prosody/trunk/prosody.logrotated)
===================================================================
--- prosody.logrotated	                        (rev 0)
+++ prosody.logrotated	2022-04-28 00:39:28 UTC (rev 1191362)
@@ -0,0 +1,9 @@
+/var/log/prosody/prosody.log /var/log/prosody/prosody.err {
+    # olddir /var/log/old/prosody
+    create 644 prosody prosody
+    sharedscripts
+    missingok
+    postrotate
+        /bin/kill -HUP `cat /run/prosody/prosody.pid 2> /dev/null` 2> /dev/null || true
+    endscript
+}

Deleted: prosody.service
===================================================================
--- prosody.service	2022-04-28 00:39:00 UTC (rev 1191361)
+++ prosody.service	2022-04-28 00:39:28 UTC (rev 1191362)
@@ -1,29 +0,0 @@
-[Unit]
-Description=XMPP (Jabber) Server
-After=network.target
-Documentation=https://prosody.im/doc
-Documentation=https://wiki.archlinux.org/index.php/Prosody
-
-[Service]
-Type=simple
-ExecStart=/usr/bin/prosody -F
-ExecReload=/bin/kill -HUP $MAINPID
-Restart=on-abnormal
-PIDFile=/run/prosody/prosody.pid
-User=prosody
-Group=prosody
-UMask=0027
-
-RuntimeDirectory=prosody
-ConfigurationDirectory=prosody
-StateDirectory=prosody
-StateDirectoryMode=0750
-LogsDirectory=prosody
-WorkingDirectory=~
-StandardInput=null
-StandardOutput=journal
-StandardError=inherit
-AmbientCapabilities=CAP_NET_BIND_SERVICE
-
-[Install]
-WantedBy=multi-user.target

Copied: prosody/repos/community-x86_64/prosody.service (from rev 1191361, prosody/trunk/prosody.service)
===================================================================
--- prosody.service	                        (rev 0)
+++ prosody.service	2022-04-28 00:39:28 UTC (rev 1191362)
@@ -0,0 +1,29 @@
+[Unit]
+Description=XMPP (Jabber) Server
+After=network.target
+Documentation=https://prosody.im/doc
+Documentation=https://wiki.archlinux.org/index.php/Prosody
+
+[Service]
+Type=simple
+ExecStart=/usr/bin/prosody -F
+ExecReload=/bin/kill -HUP $MAINPID
+Restart=on-abnormal
+PIDFile=/run/prosody/prosody.pid
+User=prosody
+Group=prosody
+UMask=0027
+
+RuntimeDirectory=prosody
+ConfigurationDirectory=prosody
+StateDirectory=prosody
+StateDirectoryMode=0750
+LogsDirectory=prosody
+WorkingDirectory=~
+StandardInput=null
+StandardOutput=journal
+StandardError=inherit
+AmbientCapabilities=CAP_NET_BIND_SERVICE
+
+[Install]
+WantedBy=multi-user.target

Deleted: prosody.tmpfile.d
===================================================================
--- prosody.tmpfile.d	2022-04-28 00:39:00 UTC (rev 1191361)
+++ prosody.tmpfile.d	2022-04-28 00:39:28 UTC (rev 1191362)
@@ -1,2 +0,0 @@
-d /run/prosody 0755 prosody jabber -
-d /var/lib/prosody 0750 prosody jabber -

Copied: prosody/repos/community-x86_64/prosody.tmpfile.d (from rev 1191361, prosody/trunk/prosody.tmpfile.d)
===================================================================
--- prosody.tmpfile.d	                        (rev 0)
+++ prosody.tmpfile.d	2022-04-28 00:39:28 UTC (rev 1191362)
@@ -0,0 +1,2 @@
+d /run/prosody 0755 prosody jabber -
+d /var/lib/prosody 0750 prosody jabber -

Deleted: sysuser.conf
===================================================================
--- sysuser.conf	2022-04-28 00:39:00 UTC (rev 1191361)
+++ sysuser.conf	2022-04-28 00:39:28 UTC (rev 1191362)
@@ -1,3 +0,0 @@
-g jabber    17     -            -
-u prosody   -      "Prosody XMPP Server" /var/lib/prosody
-m prosody   jabber

Copied: prosody/repos/community-x86_64/sysuser.conf (from rev 1191361, prosody/trunk/sysuser.conf)
===================================================================
--- sysuser.conf	                        (rev 0)
+++ sysuser.conf	2022-04-28 00:39:28 UTC (rev 1191362)
@@ -0,0 +1,3 @@
+g jabber    17     -            -
+u prosody   -      "Prosody XMPP Server" /var/lib/prosody
+m prosody   jabber



More information about the arch-commits mailing list