[arch-commits] Commit in radicale/repos/community-any (8 files)

David Runge dvzrv at archlinux.org
Fri Aug 24 17:41:40 UTC 2018


    Date: Friday, August 24, 2018 @ 17:41:40
  Author: dvzrv
Revision: 373839

archrelease: copy trunk to community-any

Added:
  radicale/repos/community-any/PKGBUILD
    (from rev 373838, radicale/trunk/PKGBUILD)
  radicale/repos/community-any/radicale-sysusers.conf
    (from rev 373838, radicale/trunk/radicale-sysusers.conf)
  radicale/repos/community-any/radicale-tmpfiles.conf
    (from rev 373838, radicale/trunk/radicale-tmpfiles.conf)
  radicale/repos/community-any/radicale.service
    (from rev 373838, 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.service

------------------------+
 PKGBUILD               |  137 ++++++++++++++++++++++++-----------------------
 radicale-sysusers.conf |    3 -
 radicale-tmpfiles.conf |    6 +-
 radicale.service       |   50 ++++++++---------
 4 files changed, 99 insertions(+), 97 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2018-08-24 17:41:28 UTC (rev 373838)
+++ PKGBUILD	2018-08-24 17:41:40 UTC (rev 373839)
@@ -1,67 +0,0 @@
-# Maintainer: Moritz Lipp <mlq at pwmt.org>
-# Co-Maintainer: fordprefect <fordprefect at dukun.de>
-# Contributor: Thor77 <thor77 at thor77.org>
-
-pkgname=radicale
-_name=Radicale
-pkgver=2.1.10
-pkgrel=1
-pkgdesc='Simple calendar (CalDAV) and contact (CardDAV) server'
-arch=('any')
-url="http://www.radicale.org/"
-license=('GPL3')
-depends=('python-bcrypt' 'python-passlib' 'python-setuptools' 'python-vobject')
-checkdepends=('python-bcrypt' 'python-pytest-cov' 'python-pytest-flake8' 'python-pytest-isort' 'python-pytest-runner')
-backup=('etc/radicale/config')
-source=("${pkgname}-${pkgver}.tar.gz::https://github.com/Kozea/${pkgname}/archive/${pkgver}.tar.gz"
-        "${pkgname}-sysusers.conf"
-        "${pkgname}-tmpfiles.conf"
-        "${pkgname}.service")
-sha512sums=('8be15a0777e437b38c48f80ae67b84ab9459414e6f493c8f2f2628fdbe5907757c61610d1b1c38bb161353baf7ac6488105639836a0f0e5d2e7ef163d014c25f'
-            '444489ba929680490884e338acc311fb61d81f9d9f0282c92c40a80317af9e61123e4764e803d1698876417170efd40bfe7f56408570891c4e426de3be17c302'
-            '4570ed393b73bc5a3fd571947acae78b96b5e17f659e3169f542b9c481635680c724d5c6c0952661fae063caf04c786afe7043c5052945e7a00bb66326dec016'
-            '6a3452009bebc0f8680ea8e64b9a398c04f3fb6b20752c377392e22641845a04dbfda78d586271c9a25bd7d5ba42b7a8f74774afed68732f19ddd764f53e11cc')
-
-prepare() {
-  mv -v ${_name}-${pkgver} ${pkgname}-${pkgver}
-  cd ${pkgname}-${pkgver}
-  # removing call to flake8 from tests:
-  # https://github.com/Kozea/Radicale/issues/859
-  sed -e 's/--flake8//g' -i setup.cfg
-}
-
-build() {
-  cd "${pkgname}-${pkgver}"
-  python setup.py build
-}
-
-check() {
-  cd "${pkgname}-${pkgver}"
-  python setup.py test
-}
-
-package() {
-  cd "${pkgname}-${pkgver}"
-  python setup.py install --skip-build \
-                          --optimize=1 \
-                          --prefix=/usr \
-                          --root="${pkgdir}"
-    # config
-    install -vDm 644 config "${pkgdir}/etc/${pkgname}/config"
-    # fcgi/wsgi
-    install -t "${pkgdir}/usr/share/${pkgname}/" \
-      -vDm 644 "${pkgname}.fcgi" \
-      -vDm 644 "${pkgname}.wsgi"
-    # 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 -t "${pkgdir}/usr/share/doc/${pkgname}/" -vDm 644 {NEWS,README}.md
-}
-

Copied: radicale/repos/community-any/PKGBUILD (from rev 373838, radicale/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2018-08-24 17:41:40 UTC (rev 373839)
@@ -0,0 +1,70 @@
+# $Id$
+# Maintainer: David Runge <dave at sleepmap.de>
+# Contributor: Moritz Lipp <mlq at pwmt.org>
+# Contributor: fordprefect <fordprefect at dukun.de>
+# Contributor: Thor77 <thor77 at thor77.org>
+
+pkgname=radicale
+_name=Radicale
+pkgver=2.1.10
+pkgrel=2
+pkgdesc='Simple calendar (CalDAV) and contact (CardDAV) server'
+arch=('any')
+url="http://www.radicale.org/"
+license=('GPL3')
+depends=('python-bcrypt' 'python-passlib' 'python-setuptools' 'python-vobject')
+checkdepends=('python-bcrypt' 'python-pytest-cov' 'python-pytest-flake8' 'python-pytest-isort' 'python-pytest-runner')
+backup=('etc/radicale/config')
+source=("${pkgname}-${pkgver}.tar.gz::https://github.com/Kozea/${pkgname}/archive/${pkgver}.tar.gz"
+        "${pkgname}-sysusers.conf"
+        "${pkgname}-tmpfiles.conf"
+        "${pkgname}.service")
+sha512sums=('8be15a0777e437b38c48f80ae67b84ab9459414e6f493c8f2f2628fdbe5907757c61610d1b1c38bb161353baf7ac6488105639836a0f0e5d2e7ef163d014c25f'
+            '56dffb66e018cfbf158dc5d8fe638b3cb31229945f659aae5623f219bcd1d68ddc375f1633fa8e857a9b2f50c9e05a06efce165370137d6e116a4f187466637f'
+            'ae70ad94f4b2ea77fd0929905c09410a2b52449a03ee6a7237607155c6db2efd7e8f1c26933f03ebc26ca6009223dfa7634acf871c56f1bb925fa41f3a291c67'
+            '2e2a99fb0a42d3f0f8ac9d0264376441ea600508e98c5dfb3ebcd6de096286a276747455fdf4b5c771f3cc6f454cb0277dc62cc9b11e278bd5fe74cb2b7b979a')
+
+prepare() {
+  mv -v ${_name}-${pkgver} ${pkgname}-${pkgver}
+  cd ${pkgname}-${pkgver}
+  # removing call to flake8 from tests:
+  # https://github.com/Kozea/Radicale/issues/859
+  sed -e 's/--flake8//g' -i setup.cfg
+}
+
+build() {
+  cd "${pkgname}-${pkgver}"
+  python setup.py build
+}
+
+check() {
+  cd "${pkgname}-${pkgver}"
+  python setup.py test
+}
+
+package() {
+  cd "${pkgname}-${pkgver}"
+  python setup.py install --skip-build \
+                          --optimize=1 \
+                          --prefix=/usr \
+                          --root="${pkgdir}"
+    # config
+    install -vDm 644 config "${pkgdir}/etc/${pkgname}/config"
+    touch "${pkgdir}/etc/${pkgname}/users"
+    # fcgi/wsgi
+    install -t "${pkgdir}/usr/share/${pkgname}/" \
+      -vDm 644 "${pkgname}.fcgi" \
+      -vDm 644 "${pkgname}.wsgi"
+    # 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 -t "${pkgdir}/usr/share/doc/${pkgname}/" -vDm 644 {NEWS,README}.md
+}
+

Deleted: radicale-sysusers.conf
===================================================================
--- radicale-sysusers.conf	2018-08-24 17:41:28 UTC (rev 373838)
+++ radicale-sysusers.conf	2018-08-24 17:41:40 UTC (rev 373839)
@@ -1,2 +0,0 @@
-u radicale - "Radicale user"
-m radicale http

Copied: radicale/repos/community-any/radicale-sysusers.conf (from rev 373838, radicale/trunk/radicale-sysusers.conf)
===================================================================
--- radicale-sysusers.conf	                        (rev 0)
+++ radicale-sysusers.conf	2018-08-24 17:41:40 UTC (rev 373839)
@@ -0,0 +1 @@
+u radicale - "Radicale user"

Deleted: radicale-tmpfiles.conf
===================================================================
--- radicale-tmpfiles.conf	2018-08-24 17:41:28 UTC (rev 373838)
+++ radicale-tmpfiles.conf	2018-08-24 17:41:40 UTC (rev 373839)
@@ -1,3 +0,0 @@
-d /etc/radicale 0750 root radicale -
-z /etc/radicale/config 0644 root radicale -
-d /var/lib/radicale 0750 radicale radicale -

Copied: radicale/repos/community-any/radicale-tmpfiles.conf (from rev 373838, radicale/trunk/radicale-tmpfiles.conf)
===================================================================
--- radicale-tmpfiles.conf	                        (rev 0)
+++ radicale-tmpfiles.conf	2018-08-24 17:41:40 UTC (rev 373839)
@@ -0,0 +1,3 @@
+z /etc/radicale/config 0640 radicale radicale -
+z /etc/radicale/users 0640 radicale radicale -
+d /var/lib/radicale 0750 radicale radicale -

Deleted: radicale.service
===================================================================
--- radicale.service	2018-08-24 17:41:28 UTC (rev 373838)
+++ radicale.service	2018-08-24 17:41:40 UTC (rev 373839)
@@ -1,25 +0,0 @@
-[Unit]
-Description=radicale - A simple CalDAV (calendar) and CardDAV (contact) server
-After=syslog.target network.target
-Requires=network.target
-
-[Service]
-Type=simple
-ExecStart=/usr/bin/radicale -f
-User=radicale
-Group=radicale
-Restart=on-failure
-UMask=0027
-PrivateTmp=yes
-PrivateDevices=yes
-ProtectSystem=full
-ProtectHome=yes
-ProtectKernelTunables=yes
-ProtectKernelModules=yes
-ProtectControlGroups=yes
-NoNewPrivileges=yes
-ReadWriteDirectories=/var/lib/radicale
-
-[Install]
-WantedBy=multi-user.target
-

Copied: radicale/repos/community-any/radicale.service (from rev 373838, radicale/trunk/radicale.service)
===================================================================
--- radicale.service	                        (rev 0)
+++ radicale.service	2018-08-24 17:41:40 UTC (rev 373839)
@@ -0,0 +1,25 @@
+[Unit]
+Description=radicale - A simple CalDAV (calendar) and CardDAV (contact) server
+After=syslog.target network.target
+Requires=network.target
+
+[Service]
+Type=simple
+ExecStart=/usr/bin/radicale -f
+User=radicale
+Group=radicale
+Restart=on-failure
+UMask=0027
+PrivateTmp=yes
+PrivateDevices=yes
+ProtectSystem=strict
+ProtectHome=yes
+ProtectKernelTunables=yes
+ProtectKernelModules=yes
+ProtectControlGroups=yes
+NoNewPrivileges=yes
+ReadWritePaths=/var/lib/radicale
+
+[Install]
+WantedBy=multi-user.target
+



More information about the arch-commits mailing list