pkgsrc-Changes archive

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

CVS commit: pkgsrc/chat/znc



Module Name:    pkgsrc
Committed By:   nia
Date:           Sun Dec 16 14:08:03 UTC 2018

Modified Files:
        pkgsrc/chat/znc: MESSAGE Makefile
        pkgsrc/chat/znc/files: znc.sh

Log Message:
chat/znc: Fix makeconf in rc script.


To generate a diff of this commit:
cvs rdiff -u -r1.1 -r1.2 pkgsrc/chat/znc/MESSAGE
cvs rdiff -u -r1.2 -r1.3 pkgsrc/chat/znc/Makefile
cvs rdiff -u -r1.1 -r1.2 pkgsrc/chat/znc/files/znc.sh

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/chat/znc/MESSAGE
diff -u pkgsrc/chat/znc/MESSAGE:1.1 pkgsrc/chat/znc/MESSAGE:1.2
--- pkgsrc/chat/znc/MESSAGE:1.1 Sun Dec 16 02:05:23 2018
+++ pkgsrc/chat/znc/MESSAGE     Sun Dec 16 14:08:03 2018
@@ -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
+
 ===========================================================================

Index: pkgsrc/chat/znc/Makefile
diff -u pkgsrc/chat/znc/Makefile:1.2 pkgsrc/chat/znc/Makefile:1.3
--- pkgsrc/chat/znc/Makefile:1.2        Sun Dec 16 04:21:49 2018
+++ pkgsrc/chat/znc/Makefile    Sun Dec 16 14:08:03 2018
@@ -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/
 

Index: pkgsrc/chat/znc/files/znc.sh
diff -u pkgsrc/chat/znc/files/znc.sh:1.1 pkgsrc/chat/znc/files/znc.sh:1.2
--- pkgsrc/chat/znc/files/znc.sh:1.1    Sun Dec 16 02:05:24 2018
+++ pkgsrc/chat/znc/files/znc.sh        Sun Dec 16 14:08:03 2018
@@ -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_saveconf(){
 }
 
 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