[arch-commits] Commit in radicale/repos/community-any (10 files)
David Runge
dvzrv at gemini.archlinux.org
Wed Dec 29 21:05:06 UTC 2021
Date: Wednesday, December 29, 2021 @ 21:05:06
Author: dvzrv
Revision: 1087660
archrelease: copy trunk to community-any
Added:
radicale/repos/community-any/PKGBUILD
(from rev 1087659, radicale/trunk/PKGBUILD)
radicale/repos/community-any/radicale-sysusers.conf
(from rev 1087659, radicale/trunk/radicale-sysusers.conf)
radicale/repos/community-any/radicale-tmpfiles.conf
(from rev 1087659, radicale/trunk/radicale-tmpfiles.conf)
radicale/repos/community-any/radicale.install
(from rev 1087659, radicale/trunk/radicale.install)
radicale/repos/community-any/radicale.service
(from rev 1087659, radicale/trunk/radicale.service)
Deleted:
radicale/repos/community-any/PKGBUILD
radicale/repos/community-any/radicale-sysusers.conf
radicale/repos/community-any/radicale-tmpfiles.conf
radicale/repos/community-any/radicale.install
radicale/repos/community-any/radicale.service
------------------------+
PKGBUILD | 148 ++++++++++++++++++++++-------------------------
radicale-sysusers.conf | 2
radicale-tmpfiles.conf | 4 -
radicale.install | 16 ++---
radicale.service | 82 +++++++++++++-------------
5 files changed, 123 insertions(+), 129 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2021-12-29 21:04:17 UTC (rev 1087659)
+++ PKGBUILD 2021-12-29 21:05:06 UTC (rev 1087660)
@@ -1,77 +0,0 @@
-# Maintainer: David Runge <dvzrv at archlinux.org>
-# Contributor: Moritz Lipp <mlq at pwmt.org>
-# Contributor: fordprefect <fordprefect at dukun.de>
-# Contributor: Thor77 <thor77 at thor77.org>
-
-pkgname=radicale
-_name=Radicale
-pkgver=3.0.6
-pkgrel=5
-pkgdesc='Simple calendar (CalDAV) and contact (CardDAV) server'
-arch=('any')
-url="https://radicale.org/"
-license=('GPL3')
-# setuptools is required due to use of pkg_resources:
-# https://github.com/Kozea/Radicale/issues/1184
-depends=('python-bcrypt' 'python-dateutil' 'python-defusedxml' 'python-passlib'
-'python-setuptools' 'python-vobject')
-checkdepends=('python-pytest' 'python-pytest-runner' 'python-waitress')
-backup=('etc/radicale/config'
- 'etc/radicale/rights'
- 'etc/radicale/users')
-install="${pkgname}.install"
-source=("${pkgname}-${pkgver}.tar.gz::https://github.com/Kozea/${pkgname}/archive/${pkgver}.tar.gz"
- "${pkgname}-sysusers.conf"
- "${pkgname}-tmpfiles.conf"
- "${pkgname}.service")
-sha512sums=('e9741547395fae8886ad84b6807422ebb196f5293d484f5f6136498058576cff697e28c117216f151d56494af83593347ceee40a6efa21272b803d0f301a396d'
- '56dffb66e018cfbf158dc5d8fe638b3cb31229945f659aae5623f219bcd1d68ddc375f1633fa8e857a9b2f50c9e05a06efce165370137d6e116a4f187466637f'
- '9d0dd88e4a34e9f97abda1785698e4b2a5e8202063deeb91b84e13c05e00b07e45b8d4d9eca09b9241b1138bbbfdc999dba0135c18f5bc0c08d65b0cd83b367b'
- '0f74a662e2eee56a89f5735e686910043ad5589b638e56a7ad3caa6d3b111cfbf1c131fe1b2ee34ce0d10d2f8a041a183f1382b1e1c9594f7e793c92161ef17a')
-b2sums=('fa4b70c9920d518df6c939395eca857c237a75218b90ada45564f2d84266d65df12898e4efbb52905829948061e10e72b5442943fd5061a28447330ae8d491e8'
- 'b3af60e144ef857e42ec672e806e9600265ab7d2ea4a75011de9ab56918a008437afdacb301df210b54424fb7ff1e9a332831c67b2e58fd6bc0a0aa1eebe8909'
- '41916d62f5e3f1060bd21db0722abe837754a4cb915af218c904dafac4b06794f8fde2e34486fb7392777b4738502f3df4c1390b835050045337585b064e23bb'
- '8d7e732bb7430428db2b60ffd8b4b1c3e85cbda4a1b900ae28d80c46a64e97ab484d9cc13aaa2582eeca4063f4e74141754f1e67769d444b08b3663f62cf8bf1')
-
-prepare() {
- mv -v ${_name}-${pkgver} ${pkgname}-${pkgver}
- cd ${pkgname}-${pkgver}
- # removing flake8, isort and coverage
- sed -e '/addopts/d' -i setup.cfg
- touch "users"
-}
-
-build() {
- cd "${pkgname}-${pkgver}"
- python setup.py build
-}
-
-check() {
- local python_version=$(python -c 'import sys; print(".".join(map(str, sys.version_info[:2])))')
- cd "${pkgname}-${pkgver}"
- mkdir -vp testdir
- python setup.py install --optimize=1 --root="testdir"
- export PYTHONPATH="testdir/usr/lib/python${python_version}/site-packages:${PYTHONPATH}"
- pytest -v
-}
-
-package() {
- cd "${pkgname}-${pkgver}"
- python setup.py install --optimize=1 --root="${pkgdir}"
- # config
- install -vDm 644 {config,rights,users} -t "${pkgdir}/etc/${pkgname}/"
- # wsgi
- install -vDm 644 "${pkgname}.wsgi" \
- -t "${pkgdir}/usr/share/${pkgname}/"
- # systemd service
- install -vDm 644 "${srcdir}/${pkgname}.service" \
- "${pkgdir}/usr/lib/systemd/system/${pkgname}.service"
- # sysusers.d
- install -vDm 644 "${srcdir}/${pkgname}-sysusers.conf" \
- "${pkgdir}/usr/lib/sysusers.d/${pkgname}.conf"
- # tmpfiles.d
- install -vDm 644 "${srcdir}/${pkgname}-tmpfiles.conf" \
- "${pkgdir}/usr/lib/tmpfiles.d/${pkgname}.conf"
- # docs
- install -vDm 644 {NEWS,README}.md -t "${pkgdir}/usr/share/doc/${pkgname}/"
-}
Copied: radicale/repos/community-any/PKGBUILD (from rev 1087659, radicale/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2021-12-29 21:05:06 UTC (rev 1087660)
@@ -0,0 +1,71 @@
+# Maintainer: David Runge <dvzrv at archlinux.org>
+# Contributor: Moritz Lipp <mlq at pwmt.org>
+# Contributor: fordprefect <fordprefect at dukun.de>
+# Contributor: Thor77 <thor77 at thor77.org>
+
+pkgname=radicale
+_name=Radicale
+pkgver=3.1.0
+pkgrel=1
+pkgdesc="Simple calendar (CalDAV) and contact (CardDAV) server"
+arch=(any)
+url="https://radicale.org/"
+license=(GPL3)
+# setuptools is required due to use of pkg_resources:
+# https://github.com/Kozea/Radicale/issues/1184
+depends=(python-bcrypt python-dateutil python-defusedxml python-passlib
+python-setuptools python-vobject)
+checkdepends=(python-pytest python-pytest-runner python-typeguard python-waitress)
+backup=('etc/radicale/config'
+ 'etc/radicale/rights'
+ 'etc/radicale/users')
+install="${pkgname}.install"
+source=("${pkgname}-${pkgver}.tar.gz::https://github.com/Kozea/${pkgname}/archive/v${pkgver}.tar.gz"
+ "${pkgname}-sysusers.conf"
+ "${pkgname}-tmpfiles.conf"
+ "${pkgname}.service")
+sha512sums=('b2b4a9ba308650949d5cc5c8a88685b925dd1fce21251829e1ac11225699b5294964e91f37955d919cadfe9eca786dd805d0c141c6a9013c95c67511121b8788'
+ '56dffb66e018cfbf158dc5d8fe638b3cb31229945f659aae5623f219bcd1d68ddc375f1633fa8e857a9b2f50c9e05a06efce165370137d6e116a4f187466637f'
+ '9d0dd88e4a34e9f97abda1785698e4b2a5e8202063deeb91b84e13c05e00b07e45b8d4d9eca09b9241b1138bbbfdc999dba0135c18f5bc0c08d65b0cd83b367b'
+ '0f74a662e2eee56a89f5735e686910043ad5589b638e56a7ad3caa6d3b111cfbf1c131fe1b2ee34ce0d10d2f8a041a183f1382b1e1c9594f7e793c92161ef17a')
+b2sums=('e4ed7a2fb395fbcd16d9da26e764ccad1594de8ff7ec4394885256b7d09a360a510f85727e1a7e936a10d9132bed1a487dcfdece94449df4278dc843cef6c606'
+ 'b3af60e144ef857e42ec672e806e9600265ab7d2ea4a75011de9ab56918a008437afdacb301df210b54424fb7ff1e9a332831c67b2e58fd6bc0a0aa1eebe8909'
+ '41916d62f5e3f1060bd21db0722abe837754a4cb915af218c904dafac4b06794f8fde2e34486fb7392777b4738502f3df4c1390b835050045337585b064e23bb'
+ '8d7e732bb7430428db2b60ffd8b4b1c3e85cbda4a1b900ae28d80c46a64e97ab484d9cc13aaa2582eeca4063f4e74141754f1e67769d444b08b3663f62cf8bf1')
+
+prepare() {
+ cd ${_name}-${pkgver}
+ touch "users"
+}
+
+build() {
+ cd ${_name}-${pkgver}
+ python setup.py build
+}
+
+check() {
+ local python_version=$(python -c 'import sys; print(".".join(map(str, sys.version_info[:2])))')
+
+ cd ${_name}-${pkgver}
+ mkdir -vp testdir
+ python setup.py install --optimize=1 --root="testdir"
+ export PYTHONPATH="testdir/usr/lib/python${python_version}/site-packages:${PYTHONPATH}"
+ pytest -v -c /dev/null
+}
+
+package() {
+ cd ${_name}-${pkgver}
+ python setup.py install --optimize=1 --root="${pkgdir}"
+ # config
+ install -vDm 644 {config,rights,users} -t "${pkgdir}/etc/${pkgname}/"
+ # wsgi
+ install -vDm 644 "${pkgname}.wsgi" -t "${pkgdir}/usr/share/${pkgname}/"
+ # systemd service
+ install -vDm 644 "${srcdir}/${pkgname}.service" -t "${pkgdir}/usr/lib/systemd/system/"
+ # sysusers.d
+ install -vDm 644 "${srcdir}/${pkgname}-sysusers.conf" "${pkgdir}/usr/lib/sysusers.d/${pkgname}.conf"
+ # tmpfiles.d
+ install -vDm 644 "${srcdir}/${pkgname}-tmpfiles.conf" "${pkgdir}/usr/lib/tmpfiles.d/${pkgname}.conf"
+ # docs
+ install -vDm 644 {NEWS,README}.md -t "${pkgdir}/usr/share/doc/${pkgname}/"
+}
Deleted: radicale-sysusers.conf
===================================================================
--- radicale-sysusers.conf 2021-12-29 21:04:17 UTC (rev 1087659)
+++ radicale-sysusers.conf 2021-12-29 21:05:06 UTC (rev 1087660)
@@ -1 +0,0 @@
-u radicale - "Radicale user"
Copied: radicale/repos/community-any/radicale-sysusers.conf (from rev 1087659, radicale/trunk/radicale-sysusers.conf)
===================================================================
--- radicale-sysusers.conf (rev 0)
+++ radicale-sysusers.conf 2021-12-29 21:05:06 UTC (rev 1087660)
@@ -0,0 +1 @@
+u radicale - "Radicale user"
Deleted: radicale-tmpfiles.conf
===================================================================
--- radicale-tmpfiles.conf 2021-12-29 21:04:17 UTC (rev 1087659)
+++ radicale-tmpfiles.conf 2021-12-29 21:05:06 UTC (rev 1087660)
@@ -1,2 +0,0 @@
-z /etc/radicale/users 0640 radicale radicale -
-d /var/lib/radicale 0750 radicale radicale -
Copied: radicale/repos/community-any/radicale-tmpfiles.conf (from rev 1087659, radicale/trunk/radicale-tmpfiles.conf)
===================================================================
--- radicale-tmpfiles.conf (rev 0)
+++ radicale-tmpfiles.conf 2021-12-29 21:05:06 UTC (rev 1087660)
@@ -0,0 +1,2 @@
+z /etc/radicale/users 0640 radicale radicale -
+d /var/lib/radicale 0750 radicale radicale -
Deleted: radicale.install
===================================================================
--- radicale.install 2021-12-29 21:04:17 UTC (rev 1087659)
+++ radicale.install 2021-12-29 21:05:06 UTC (rev 1087660)
@@ -1,8 +0,0 @@
-# arg 1: the new package version
-# arg 2: the old package version
-post_upgrade() {
- # configuration and file system storage changes with >= 3.0.0
- if [ "$(vercmp "$2" "3.0.0")" -le 0 ]; then
- echo "WARNING: Major changes introduced to filesystem storage and configuration. Read /usr/share/doc/radicale/NEWS.md"
- fi
-}
Copied: radicale/repos/community-any/radicale.install (from rev 1087659, radicale/trunk/radicale.install)
===================================================================
--- radicale.install (rev 0)
+++ radicale.install 2021-12-29 21:05:06 UTC (rev 1087660)
@@ -0,0 +1,8 @@
+# arg 1: the new package version
+# arg 2: the old package version
+post_upgrade() {
+ # configuration and file system storage changes with >= 3.0.0
+ if [ "$(vercmp "$2" "3.0.0")" -le 0 ]; then
+ echo "WARNING: Major changes introduced to filesystem storage and configuration. Read /usr/share/doc/radicale/NEWS.md"
+ fi
+}
Deleted: radicale.service
===================================================================
--- radicale.service 2021-12-29 21:04:17 UTC (rev 1087659)
+++ radicale.service 2021-12-29 21:05:06 UTC (rev 1087660)
@@ -1,41 +0,0 @@
-[Unit]
-Description=radicale - A simple CalDAV (calendar) and CardDAV (contact) server
-After=syslog.target network.target
-Requires=network.target
-
-[Service]
-CapabilityBoundingSet=CAP_NET_BIND_SERVICE
-ExecStart=/usr/bin/radicale
-Group=radicale
-IPAccounting=true
-LockPersonality=true
-MemoryDenyWriteExecute=true
-NoNewPrivileges=yes
-PrivateDevices=yes
-PrivateTmp=yes
-PrivateUsers=yes
-ProtectClock=true
-ProtectControlGroups=true
-ProtectHome=true
-ProtectHostname=true
-ProtectKernelLogs=true
-ProtectKernelModules=true
-ProtectKernelTunables=true
-ProtectProc=invisible
-ProtectSystem=strict
-RemoveIPC=true
-Restart=on-failure
-RestrictAddressFamilies=~AF_PACKET AF_NETLINK AF_UNIX
-RestrictNamespaces=true
-RestrictRealtime=true
-RestrictSUIDSGID=true
-StateDirectory=radicale
-SystemCallArchitectures=native
-SystemCallErrorNumber=EPERM
-SystemCallFilter=@system-service
-SystemCallFilter=~@resources
-UMask=0027
-User=radicale
-
-[Install]
-WantedBy=multi-user.target
Copied: radicale/repos/community-any/radicale.service (from rev 1087659, radicale/trunk/radicale.service)
===================================================================
--- radicale.service (rev 0)
+++ radicale.service 2021-12-29 21:05:06 UTC (rev 1087660)
@@ -0,0 +1,41 @@
+[Unit]
+Description=radicale - A simple CalDAV (calendar) and CardDAV (contact) server
+After=syslog.target network.target
+Requires=network.target
+
+[Service]
+CapabilityBoundingSet=CAP_NET_BIND_SERVICE
+ExecStart=/usr/bin/radicale
+Group=radicale
+IPAccounting=true
+LockPersonality=true
+MemoryDenyWriteExecute=true
+NoNewPrivileges=yes
+PrivateDevices=yes
+PrivateTmp=yes
+PrivateUsers=yes
+ProtectClock=true
+ProtectControlGroups=true
+ProtectHome=true
+ProtectHostname=true
+ProtectKernelLogs=true
+ProtectKernelModules=true
+ProtectKernelTunables=true
+ProtectProc=invisible
+ProtectSystem=strict
+RemoveIPC=true
+Restart=on-failure
+RestrictAddressFamilies=~AF_PACKET AF_NETLINK AF_UNIX
+RestrictNamespaces=true
+RestrictRealtime=true
+RestrictSUIDSGID=true
+StateDirectory=radicale
+SystemCallArchitectures=native
+SystemCallErrorNumber=EPERM
+SystemCallFilter=@system-service
+SystemCallFilter=~@resources
+UMask=0027
+User=radicale
+
+[Install]
+WantedBy=multi-user.target
More information about the arch-commits
mailing list