pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/chat/znc chat/znc: Fix makeconf in rc script.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/5a9dccf19800
branches:  trunk
changeset: 326930:5a9dccf19800
user:      nia <nia%pkgsrc.org@localhost>
date:      Sun Dec 16 14:08:03 2018 +0000

description:
chat/znc: Fix makeconf in rc script.

diffstat:

 chat/znc/MESSAGE      |  6 +++++-
 chat/znc/Makefile     |  3 ++-
 chat/znc/files/znc.sh |  4 ++--
 3 files changed, 9 insertions(+), 4 deletions(-)

diffs (50 lines):

diff -r bdd833deebf0 -r 5a9dccf19800 chat/znc/MESSAGE
--- a/chat/znc/MESSAGE  Sun Dec 16 14:07:40 2018 +0000
+++ b/chat/znc/MESSAGE  Sun Dec 16 14:08:03 2018 +0000
@@ -1,9 +1,13 @@
 ===========================================================================
-$NetBSD: MESSAGE,v 1.1 2018/12/16 02:05:23 nia Exp $
+$NetBSD: MESSAGE,v 1.2 2018/12/16 14:08:03 nia Exp $
 
 Add the following to /etc/rc.conf:
 
 znc=YES
 znc_user="znc"
 
+To generate a config, do:
+
+/etc/rc.d/znc makeconf
+
 ===========================================================================
diff -r bdd833deebf0 -r 5a9dccf19800 chat/znc/Makefile
--- a/chat/znc/Makefile Sun Dec 16 14:07:40 2018 +0000
+++ b/chat/znc/Makefile Sun Dec 16 14:08:03 2018 +0000
@@ -1,6 +1,7 @@
-# $NetBSD: Makefile,v 1.2 2018/12/16 04:21:49 nia Exp $
+# $NetBSD: Makefile,v 1.3 2018/12/16 14:08:03 nia Exp $
 
 DISTNAME=      znc-1.7.1
+PKGREVISION=   1
 CATEGORIES=    net
 MASTER_SITES=  https://znc.in/releases/archive/
 
diff -r bdd833deebf0 -r 5a9dccf19800 chat/znc/files/znc.sh
--- a/chat/znc/files/znc.sh     Sun Dec 16 14:07:40 2018 +0000
+++ b/chat/znc/files/znc.sh     Sun Dec 16 14:08:03 2018 +0000
@@ -1,6 +1,6 @@
 #!/bin/sh
 #
-# $NetBSD: znc.sh,v 1.1 2018/12/16 02:05:24 nia Exp $
+# $NetBSD: znc.sh,v 1.2 2018/12/16 14:08:03 nia Exp $
 #
 # RC-script for znc 1.0
 #
@@ -38,7 +38,7 @@
 }
 
 znc_makeconf(){
-       su -m ${znc_user} -c ${command} -d ${conf_dir} -r --makeconf
+       su -m ${znc_user} -c "${command} -d ${conf_dir} -r --makeconf"
 }
 
 load_rc_config "${name}"



Home | Main Index | Thread Index | Old Index