Github messages for voidlinux
 help / color / mirror / Atom feed
From: fanyx <fanyx@users.noreply.github.com>
To: ml@inbox.vuxu.org
Subject: Re: [PR PATCH] [Updated] radicale: update to 3.1.9, fix conf file permissions, add log sv
Date: Sun, 24 Mar 2024 12:35:18 +0100	[thread overview]
Message-ID: <20240324113519.A9101220D7@inbox.vuxu.org> (raw)
In-Reply-To: <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-49476@inbox.vuxu.org>

[-- Attachment #1: Type: text/plain, Size: 854 bytes --]

There is an updated pull request by fanyx against master on the void-packages repository

https://github.com/fanyx/void-packages radicale
https://github.com/void-linux/void-packages/pull/49476

radicale: update to 3.1.9, fix conf file permissions, add log sv
### Changes

- Update to 3.1.9
- https://github.com/void-linux/void-packages/issues/38923
- Add logging service for unused logging directory

#### Testing the changes
- I tested the changes in this PR: **YES**

#### Local build testing
- I built this PR locally for my native architecture, (x86_64-glibc)
- I built this PR locally for these architectures (if supported. mark crossbuilds):
  - x86_64-musl
  - armv7l

This superseeds https://github.com/void-linux/void-packages/pull/46357.

A patch file from https://github.com/void-linux/void-packages/pull/49476.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-radicale-49476.patch --]
[-- Type: text/x-diff, Size: 2051 bytes --]

From d80bf3abfa78c2577f5c19d96a8bed02f536e19f Mon Sep 17 00:00:00 2001
From: fanyx <fanyx@posteo.net>
Date: Sat, 23 Mar 2024 14:44:23 +0100
Subject: [PATCH] radicale: update to 3.1.9.

* fix permissions post-install
---
 srcpkgs/radicale/INSTALL  | 12 ++++++++++++
 srcpkgs/radicale/template | 11 +++++------
 2 files changed, 17 insertions(+), 6 deletions(-)
 create mode 100644 srcpkgs/radicale/INSTALL

diff --git a/srcpkgs/radicale/INSTALL b/srcpkgs/radicale/INSTALL
new file mode 100644
index 00000000000000..1971514b11d5d3
--- /dev/null
+++ b/srcpkgs/radicale/INSTALL
@@ -0,0 +1,12 @@
+# *-*-shell-*-*
+#
+case ${ACTION} in
+post)
+	# fix permissions and owners
+	chown radicale:radicale /etc/radicale/config
+	chown radicale:radicale /etc/radicale/rights
+	chmod 644 /etc/radicale/config
+	chmod 640 /etc/radicale/rights
+	;;
+esac
+
diff --git a/srcpkgs/radicale/template b/srcpkgs/radicale/template
index cfab227cfa194c..bd828bae91e251 100644
--- a/srcpkgs/radicale/template
+++ b/srcpkgs/radicale/template
@@ -1,7 +1,7 @@
 # Template file for 'radicale'
 pkgname=radicale
-version=3.1.8
-revision=4
+version=3.1.9
+revision=1
 build_style=python3-module
 hostmakedepends="python3-setuptools"
 depends="python3-vobject python3-dateutil python3-passlib python3-bcrypt
@@ -14,15 +14,14 @@ license="GPL-3.0-or-later"
 homepage="https://radicale.org"
 changelog="https://raw.githubusercontent.com/Kozea/Radicale/master/CHANGELOG.md"
 distfiles="https://github.com/Kozea/Radicale/archive/refs/tags/v${version}.tar.gz"
-checksum=40078e0f05917c09664363a9e289a36d32e00d10a1d169ffc60b5c581deb4e77
+checksum=4247b18004f0779e00392a3fced1d93f720f50b7be30b46d0283f09de6d1e45b
 conf_files="
  /etc/radicale/config
- /etc/radicale/rights
- /etc/sv/radicale/log/run"
+ /etc/radicale/rights"
 make_dirs="
  /etc/radicale 755 root root
  /usr/share/radicale/ 755 root root
- /var/log/radicale/ 700 root root
+ /var/log/radicale/ 750 radicale radicale
  /var/lib/radicale 750 radicale radicale"
 system_accounts="radicale"
 radicale_homedir="/var/lib/radicale"

  parent reply	other threads:[~2024-03-24 11:35 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-03-23 14:12 [PR PATCH] " fanyx
2024-03-23 18:25 ` [PR REVIEW] " classabbyamp
2024-03-23 18:25 ` classabbyamp
2024-03-23 18:41 ` fanyx
2024-03-23 18:42 ` classabbyamp
2024-03-24 11:35 ` fanyx [this message]
2024-06-04 19:22 ` [PR PATCH] [Updated] radicale: update to 3.1.9, fix conf file permissions fanyx
2024-06-04 19:27 ` fanyx

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20240324113519.A9101220D7@inbox.vuxu.org \
    --to=fanyx@users.noreply.github.com \
    --cc=ml@inbox.vuxu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).