[arch-commits] Commit in radicale/repos/community-any (10 files)
David Runge
dvzrv at archlinux.org
Fri May 22 16:41:01 UTC 2020
Date: Friday, May 22, 2020 @ 16:40:59
Author: dvzrv
Revision: 631634
archrelease: copy trunk to community-any
Added:
radicale/repos/community-any/PKGBUILD
(from rev 631633, radicale/trunk/PKGBUILD)
radicale/repos/community-any/radicale-sysusers.conf
(from rev 631633, radicale/trunk/radicale-sysusers.conf)
radicale/repos/community-any/radicale-tmpfiles.conf
(from rev 631633, radicale/trunk/radicale-tmpfiles.conf)
radicale/repos/community-any/radicale.install
(from rev 631633, radicale/trunk/radicale.install)
radicale/repos/community-any/radicale.service
(from rev 631633, 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 | 156 +++++++++++++++++++++++------------------------
radicale-sysusers.conf | 2
radicale-tmpfiles.conf | 4 -
radicale.install | 16 ++--
radicale.service | 76 +++++++++++-----------
5 files changed, 127 insertions(+), 127 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2020-05-22 16:40:39 UTC (rev 631633)
+++ PKGBUILD 2020-05-22 16:40:59 UTC (rev 631634)
@@ -1,78 +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.0
-pkgrel=1
-pkgdesc='Simple calendar (CalDAV) and contact (CardDAV) server'
-arch=('any')
-url="https://radicale.org/"
-license=('GPL3')
-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=('3a9a62755c35f7446bcc0fe8394a0064fc9191b1be465899901d01e551ecc1f1f86f3bec29408e8c5022211b2d87a09e218dea80f424124cccf2bcb5192997bb'
- '56dffb66e018cfbf158dc5d8fe638b3cb31229945f659aae5623f219bcd1d68ddc375f1633fa8e857a9b2f50c9e05a06efce165370137d6e116a4f187466637f'
- '9d0dd88e4a34e9f97abda1785698e4b2a5e8202063deeb91b84e13c05e00b07e45b8d4d9eca09b9241b1138bbbfdc999dba0135c18f5bc0c08d65b0cd83b367b'
- '6f411daf18fbeeb7cc8626652f4b87ac6ec5e4ec1212821c426de711c907be41ab995d5b35be4ff0d663edb1028f99d6c07a53158acf519e7560e230c022c986')
-
-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 --skip-build \
- --optimize=1 \
- --prefix=/usr \
- --root="testdir"
- export PYTHONPATH="testdir/usr/lib/python${python_version}/site-packages:${PYTHONPATH}"
- pytest -v
-}
-
-package() {
- cd "${pkgname}-${pkgver}"
- python setup.py install --skip-build \
- --optimize=1 \
- --prefix=/usr \
- --root="${pkgdir}"
- # config
- install -vDm 644 {config,rights,users} -t "${pkgdir}/etc/${pkgname}/"
- # fcgi/wsgi
- install -vDm 644 "${pkgname}."{fcgi,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 631633, radicale/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2020-05-22 16:40:59 UTC (rev 631634)
@@ -0,0 +1,78 @@
+# 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.1
+pkgrel=1
+pkgdesc='Simple calendar (CalDAV) and contact (CardDAV) server'
+arch=('any')
+url="https://radicale.org/"
+license=('GPL3')
+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=('7e8ce9350dad5e90dd5e4e1056f1a5e37fc496227faccc9fbf4877cbff52bc0dd65623fdc11b6bf554224dee540cdb592ac8f187b487a0482b97de9102e4965b'
+ '56dffb66e018cfbf158dc5d8fe638b3cb31229945f659aae5623f219bcd1d68ddc375f1633fa8e857a9b2f50c9e05a06efce165370137d6e116a4f187466637f'
+ '9d0dd88e4a34e9f97abda1785698e4b2a5e8202063deeb91b84e13c05e00b07e45b8d4d9eca09b9241b1138bbbfdc999dba0135c18f5bc0c08d65b0cd83b367b'
+ '6f411daf18fbeeb7cc8626652f4b87ac6ec5e4ec1212821c426de711c907be41ab995d5b35be4ff0d663edb1028f99d6c07a53158acf519e7560e230c022c986')
+
+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 --skip-build \
+ --optimize=1 \
+ --prefix=/usr \
+ --root="testdir"
+ export PYTHONPATH="testdir/usr/lib/python${python_version}/site-packages:${PYTHONPATH}"
+ pytest -v
+}
+
+package() {
+ cd "${pkgname}-${pkgver}"
+ python setup.py install --skip-build \
+ --optimize=1 \
+ --prefix=/usr \
+ --root="${pkgdir}"
+ # config
+ install -vDm 644 {config,rights,users} -t "${pkgdir}/etc/${pkgname}/"
+ # fcgi/wsgi
+ install -vDm 644 "${pkgname}."{fcgi,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}/"
+}
+
Deleted: radicale-sysusers.conf
===================================================================
--- radicale-sysusers.conf 2020-05-22 16:40:39 UTC (rev 631633)
+++ radicale-sysusers.conf 2020-05-22 16:40:59 UTC (rev 631634)
@@ -1 +0,0 @@
-u radicale - "Radicale user"
Copied: radicale/repos/community-any/radicale-sysusers.conf (from rev 631633, radicale/trunk/radicale-sysusers.conf)
===================================================================
--- radicale-sysusers.conf (rev 0)
+++ radicale-sysusers.conf 2020-05-22 16:40:59 UTC (rev 631634)
@@ -0,0 +1 @@
+u radicale - "Radicale user"
Deleted: radicale-tmpfiles.conf
===================================================================
--- radicale-tmpfiles.conf 2020-05-22 16:40:39 UTC (rev 631633)
+++ radicale-tmpfiles.conf 2020-05-22 16:40:59 UTC (rev 631634)
@@ -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 631633, radicale/trunk/radicale-tmpfiles.conf)
===================================================================
--- radicale-tmpfiles.conf (rev 0)
+++ radicale-tmpfiles.conf 2020-05-22 16:40:59 UTC (rev 631634)
@@ -0,0 +1,2 @@
+z /etc/radicale/users 0640 radicale radicale -
+d /var/lib/radicale 0750 radicale radicale -
Deleted: radicale.install
===================================================================
--- radicale.install 2020-05-22 16:40:39 UTC (rev 631633)
+++ radicale.install 2020-05-22 16:40:59 UTC (rev 631634)
@@ -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 631633, radicale/trunk/radicale.install)
===================================================================
--- radicale.install (rev 0)
+++ radicale.install 2020-05-22 16:40:59 UTC (rev 631634)
@@ -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 2020-05-22 16:40:39 UTC (rev 631633)
+++ radicale.service 2020-05-22 16:40:59 UTC (rev 631634)
@@ -1,38 +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
-PrivateTmp=yes
-PrivateDevices=yes
-ProtectSystem=strict
-ProtectHome=yes
-ProtectHostname=true
-ProtectKernelLogs=true
-ProtectKernelModules=true
-ProtectKernelTunables=true
-ProtectControlGroups=true
-ReadWritePaths=/var/lib/radicale
-RemoveIPC=true
-Restart=on-failure
-RestrictAddressFamilies=~AF_PACKET AF_NETLINK AF_UNIX
-RestrictNamespaces=true
-RestrictRealtime=true
-RestrictSUIDSGID=true
-SystemCallArchitectures=native
-SystemCallFilter=@system-service
-SystemCallFilter=~@resources
-UMask=0027
-User=radicale
-
-[Install]
-WantedBy=multi-user.target
-
Copied: radicale/repos/community-any/radicale.service (from rev 631633, radicale/trunk/radicale.service)
===================================================================
--- radicale.service (rev 0)
+++ radicale.service 2020-05-22 16:40:59 UTC (rev 631634)
@@ -0,0 +1,38 @@
+[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
+PrivateTmp=yes
+PrivateDevices=yes
+ProtectSystem=strict
+ProtectHome=yes
+ProtectHostname=true
+ProtectKernelLogs=true
+ProtectKernelModules=true
+ProtectKernelTunables=true
+ProtectControlGroups=true
+ReadWritePaths=/var/lib/radicale
+RemoveIPC=true
+Restart=on-failure
+RestrictAddressFamilies=~AF_PACKET AF_NETLINK AF_UNIX
+RestrictNamespaces=true
+RestrictRealtime=true
+RestrictSUIDSGID=true
+SystemCallArchitectures=native
+SystemCallFilter=@system-service
+SystemCallFilter=~@resources
+UMask=0027
+User=radicale
+
+[Install]
+WantedBy=multi-user.target
+
More information about the arch-commits
mailing list