pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/chat/bitlbee bitlbee: Adjust permissions ...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/a7dc8ebb882a
branches:  trunk
changeset: 308238:a7dc8ebb882a
user:      leot <leot%pkgsrc.org@localhost>
date:      Fri May 18 17:54:05 2018 +0000

description:
bitlbee: Adjust permissions of ${VARBASE}/run/bitlbee

Similarly to ${STATEDIR}, ${VARBASE}/run/bitlbee should be owned by
bitlbee:nobody.

This fixes the case when bitlbee is started in daemon mode (via
rc.d/bitlbee) as `bitlbee' User. Now `service bitlbee start|stop'
works properly (previously the pidfile wasn't created in that case).

Approved by <tonio>, thanks!

diffstat:

 chat/bitlbee/Makefile |  3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diffs (17 lines):

diff -r e5b14403b6a9 -r a7dc8ebb882a chat/bitlbee/Makefile
--- a/chat/bitlbee/Makefile     Fri May 18 17:09:33 2018 +0000
+++ b/chat/bitlbee/Makefile     Fri May 18 17:54:05 2018 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.74 2018/04/17 22:29:35 wiz Exp $
+# $NetBSD: Makefile,v 1.75 2018/05/18 17:54:05 leot Exp $
 
 DISTNAME=              bitlbee-3.5.1
 PKGREVISION=           1
@@ -41,6 +41,7 @@
 STATEDIR=              ${VARBASE}/db/bitlbee
 
 OWN_DIRS_PERMS=                ${STATEDIR} bitlbee nobody 700
+OWN_DIRS_PERMS+=       ${VARBASE}/run/bitlbee bitlbee nobody 700
 
 PKG_GROUPS=            nobody
 PKG_USERS=             bitlbee:nobody



Home | Main Index | Thread Index | Old Index