Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 2 Jan 2018 16:01:33 +0000 (UTC)
From:      Guido Falsi <madpilot@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-branches@freebsd.org
Subject:   svn commit: r457902 - in branches/2018Q1/net/asterisk13: . files
Message-ID:  <201801021601.w02G1X78032184@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: madpilot
Date: Tue Jan  2 16:01:33 2018
New Revision: 457902
URL: https://svnweb.freebsd.org/changeset/ports/457902

Log:
  MFH: r457847
  
  Fix error in conditional in asterisk rc script.
  
  PR:		224833
  Submitted by:	Robert Ames <robertames@hotmail.com>
  
  Approved by:	ports-secteam (zi)

Modified:
  branches/2018Q1/net/asterisk13/Makefile
  branches/2018Q1/net/asterisk13/files/asterisk.in
Directory Properties:
  branches/2018Q1/   (props changed)

Modified: branches/2018Q1/net/asterisk13/Makefile
==============================================================================
--- branches/2018Q1/net/asterisk13/Makefile	Tue Jan  2 16:00:25 2018	(r457901)
+++ branches/2018Q1/net/asterisk13/Makefile	Tue Jan  2 16:01:33 2018	(r457902)
@@ -2,6 +2,7 @@
 
 PORTNAME=	asterisk
 PORTVERSION=	13.18.5
+PORTREVISION=	1
 CATEGORIES=	net
 MASTER_SITES=	http://downloads.asterisk.org/pub/telephony/%SUBDIR%/:DEFAULT,g729
 MASTER_SITE_SUBDIR=	asterisk/ \

Modified: branches/2018Q1/net/asterisk13/files/asterisk.in
==============================================================================
--- branches/2018Q1/net/asterisk13/files/asterisk.in	Tue Jan  2 16:00:25 2018	(r457901)
+++ branches/2018Q1/net/asterisk13/files/asterisk.in	Tue Jan  2 16:01:33 2018	(r457902)
@@ -61,7 +61,7 @@ asterisk_stop()
 		return 1
 	fi
 	echo 'Stopping asterisk.'
-	if [ ${asterisk_stopsleep} > 0 ]; then
+	if [ ${asterisk_stopsleep} -gt 0 ]; then
 		sleep ${asterisk_stopsleep}
 	fi
 	$command -nqrx 'core stop now'



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201801021601.w02G1X78032184>