Received: by mail.netbsd.org (Postfix, from userid 605) id 91D4F84D8A; Sat, 7 Jan 2023 19:31:20 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by mail.netbsd.org (Postfix) with ESMTP id B262584D54 for ; Sat, 7 Jan 2023 19:31:19 +0000 (UTC) X-Virus-Scanned: amavisd-new at netbsd.org Received: from mail.netbsd.org ([127.0.0.1]) by localhost (mail.netbsd.org [127.0.0.1]) (amavisd-new, port 10025) with ESMTP id 6zn5db1f0J1k for ; Sat, 7 Jan 2023 19:31:19 +0000 (UTC) Received: from cvs.NetBSD.org (ivanova.NetBSD.org [IPv6:2001:470:a085:999:28c:faff:fe03:5984]) by mail.netbsd.org (Postfix) with ESMTP id 295D284D25 for ; Sat, 7 Jan 2023 19:31:19 +0000 (UTC) Received: by cvs.NetBSD.org (Postfix, from userid 500) id 22AAEFA90; Sat, 7 Jan 2023 19:31:19 +0000 (UTC) Content-Transfer-Encoding: 7bit Content-Type: multipart/mixed; boundary="_----------=_1673119879128670" MIME-Version: 1.0 Date: Sat, 7 Jan 2023 19:31:19 +0000 From: "Ryo ONODERA" Subject: CVS commit: pkgsrc/comms/asterisk16 To: pkgsrc-changes@NetBSD.org Reply-To: ryoon@netbsd.org X-Mailer: log_accum Message-Id: <20230107193119.22AAEFA90@cvs.NetBSD.org> Sender: pkgsrc-changes-owner@NetBSD.org List-Id: Precedence: bulk List-Unsubscribe: This is a multi-part message in MIME format. --_----------=_1673119879128670 Content-Disposition: inline Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset="US-ASCII" 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. --_----------=_1673119879128670 Content-Disposition: inline Content-Length: 1943 Content-Transfer-Encoding: binary Content-Type: text/x-diff; charset=us-ascii 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 --_----------=_1673119879128670--