pkgsrc-Changes archive

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

CVS commit: pkgsrc/comms/asterisk16



Module Name:    pkgsrc
Committed By:   ryoon
Date:           Sat Jan  7 19:31:19 UTC 2023

Modified Files:
        pkgsrc/comms/asterisk16: Makefile
        pkgsrc/comms/asterisk16/files: asterisk.sh

Log Message:
asterisk16: -n option is no longer accepted for shell scripting

Fix rc.d script to exclude -n options.
Bump PKGREVISION.


To generate a diff of this commit:
cvs rdiff -u -r1.95 -r1.96 pkgsrc/comms/asterisk16/Makefile
cvs rdiff -u -r1.7 -r1.8 pkgsrc/comms/asterisk16/files/asterisk.sh

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

Modified files:

Index: pkgsrc/comms/asterisk16/Makefile
diff -u pkgsrc/comms/asterisk16/Makefile:1.95 pkgsrc/comms/asterisk16/Makefile:1.96
--- pkgsrc/comms/asterisk16/Makefile:1.95       Tue Jan  3 17:36:52 2023
+++ pkgsrc/comms/asterisk16/Makefile    Sat Jan  7 19:31:18 2023
@@ -1,11 +1,11 @@
-# $NetBSD: Makefile,v 1.95 2023/01/03 17:36:52 wiz Exp $
+# $NetBSD: Makefile,v 1.96 2023/01/07 19:31:18 ryoon Exp $
 #
 # NOTE: when updating this package, there are two places that sound
 #       tarballs need to be checked; look in ${WRKSRC}/sounds/Makefile
 #       to find out the current sound file versions
 
 DISTNAME=      asterisk-16.29.1
-PKGREVISION=   1
+PKGREVISION=   2
 CATEGORIES=    comms net audio
 MASTER_SITES=  http://downloads.asterisk.org/pub/telephony/asterisk/
 MASTER_SITES+= http://downloads.asterisk.org/pub/telephony/asterisk/old-releases/

Index: pkgsrc/comms/asterisk16/files/asterisk.sh
diff -u pkgsrc/comms/asterisk16/files/asterisk.sh:1.7 pkgsrc/comms/asterisk16/files/asterisk.sh:1.8
--- pkgsrc/comms/asterisk16/files/asterisk.sh:1.7       Tue Aug 20 13:47:42 2019
+++ pkgsrc/comms/asterisk16/files/asterisk.sh   Sat Jan  7 19:31:18 2023
@@ -1,6 +1,6 @@
 #!@RCD_SCRIPTS_SHELL@
 #
-# $NetBSD: asterisk.sh,v 1.7 2019/08/20 13:47:42 ryoon Exp $
+# $NetBSD: asterisk.sh,v 1.8 2023/01/07 19:31:18 ryoon Exp $
 #
 # PROVIDE: asterisk
 # REQUIRE: DAEMON
@@ -25,7 +25,7 @@ start_precmd=asterisk_prestart
 
 auser="@ASTERISK_USER@"
 agroup="@ASTERISK_GROUP@"
-command_args="-U $auser -G $agroup -n"
+command_args="-U $auser -G $agroup"
 
 asterisk_prestart() {
        if test ! -d @ASTVARRUNDIR@; then
@@ -35,8 +35,8 @@ asterisk_prestart() {
        chmod 0755 @ASTVARRUNDIR@
 }
 
-stop_cmd="$command -nr -x 'core stop gracefully' >/dev/null"
-reload_cmd="$command -nr -x 'core reload' >/dev/null"
+stop_cmd="$command -r -x 'core stop gracefully' >/dev/null"
+reload_cmd="$command -r -x 'core reload' >/dev/null"
 asterisk_nice="-20"
 
 load_rc_config $name



Home | Main Index | Thread Index | Old Index