Github messages for voidlinux
 help / color / mirror / Atom feed
From: voidlinux-github@inbox.vuxu.org
To: ml@inbox.vuxu.org
Subject: Re: [PR PATCH] [Updated] lighttpd: fix log and data directory permissions
Date: Fri, 12 Jul 2019 16:09:42 +0200	[thread overview]
Message-ID: <20190712140942.VYzfCVbFdiJxjOmHQjvaAY2BjJgALa6TdfXzYpkG930@z> (raw)
In-Reply-To: <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-13027@inbox.vuxu.org>

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

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

https://github.com/newbluemoon/void-packages lighttpd
https://github.com/void-linux/void-packages/pull/13027

lighttpd: fix log and data directory permissions
The user name for the lighttpd service was changed to `_lighttpd` a while ago, but the log and data directories are still created for owner `lighttpd` in a fresh installation.

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

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

From 383cea9bbc48cbac4df451348a18ae9319048ca2 Mon Sep 17 00:00:00 2001
From: newbluemoon <blaumolch@mailbox.org>
Date: Fri, 12 Jul 2019 15:40:40 +0200
Subject: [PATCH] lighttpd: fix log and data directory owner

---
 srcpkgs/lighttpd/template | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/srcpkgs/lighttpd/template b/srcpkgs/lighttpd/template
index c3f501e99e4..a41d0e53213 100644
--- a/srcpkgs/lighttpd/template
+++ b/srcpkgs/lighttpd/template
@@ -1,7 +1,7 @@
 # Template file for 'lighttpd'
 pkgname=lighttpd
 version=1.4.54
-revision=1
+revision=2
 build_style=meson
 configure_args="-Dwith_bzip=true -Dwith_fam=false -Dwith_gdbm=true
  -Dwith_geoip=false -Dwith_krb5=true -Dwith_ldap=true -Dwith_libev=true
@@ -26,8 +26,8 @@ _lighttpd_homedir="/srv/www/${pkgname}"
 lib32disabled=yes
 
 make_dirs="
- /srv/www/lighttpd 0755 lighttpd lighttpd
- /var/log/lighttpd 0755 lighttpd lighttpd"
+ /srv/www/lighttpd 0755 _lighttpd _lighttpd
+ /var/log/lighttpd 0755 _lighttpd _lighttpd"
 
 post_install() {
 	vlicense COPYING

  parent reply	other threads:[~2019-07-12 14:09 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-07-12 13:51 [PR PATCH] " voidlinux-github
2019-07-12 14:09 ` [PR PATCH] [Updated] " voidlinux-github
2019-07-12 14:09 ` voidlinux-github [this message]
2019-07-12 14:49 ` [PR PATCH] [Merged]: lighttpd: fix log and data directory owner voidlinux-github

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=20190712140942.VYzfCVbFdiJxjOmHQjvaAY2BjJgALa6TdfXzYpkG930@z \
    --to=voidlinux-github@inbox.vuxu.org \
    --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).