pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/comms/asterisk16 asterisk16: -n option is no longer ac...
details: https://anonhg.NetBSD.org/pkgsrc/rev/af2a10a51438
branches: trunk
changeset: 391291:af2a10a51438
user: ryoon <ryoon%pkgsrc.org@localhost>
date: Sat Jan 07 19:31:18 2023 +0000
description:
asterisk16: -n option is no longer accepted for shell scripting
Fix rc.d script to exclude -n options.
Bump PKGREVISION.
diffstat:
comms/asterisk16/Makefile | 4 ++--
comms/asterisk16/files/asterisk.sh | 8 ++++----
2 files changed, 6 insertions(+), 6 deletions(-)
diffs (48 lines):
diff -r f3efb371e3d6 -r af2a10a51438 comms/asterisk16/Makefile
--- a/comms/asterisk16/Makefile Sat Jan 07 19:04:34 2023 +0000
+++ b/comms/asterisk16/Makefile Sat Jan 07 19:31:18 2023 +0000
@@ -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/
diff -r f3efb371e3d6 -r af2a10a51438 comms/asterisk16/files/asterisk.sh
--- a/comms/asterisk16/files/asterisk.sh Sat Jan 07 19:04:34 2023 +0000
+++ b/comms/asterisk16/files/asterisk.sh Sat Jan 07 19:31:18 2023 +0000
@@ -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 @@
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 @@
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