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 of ${VARBASE}...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/f02a2b4e2176
branches:  trunk
changeset: 380657:f02a2b4e2176
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 96e82c01b32a -r f02a2b4e2176 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