svn commit: r457902 - in branches/2018Q1/net/asterisk13: . files

Guido Falsi madpilot at FreeBSD.org
Tue Jan 2 16:01:35 UTC 2018


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 at 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'


More information about the svn-ports-branches mailing list