svn commit: r457847 - in head/net/asterisk13: . files

Guido Falsi madpilot at FreeBSD.org
Tue Jan 2 11:27:23 UTC 2018


Author: madpilot
Date: Tue Jan  2 11:27:22 2018
New Revision: 457847
URL: https://svnweb.freebsd.org/changeset/ports/457847

Log:
  Fix error in conditional in asterisk rc script.
  
  PR:		224833
  Submitted by:	Robert Ames <robertames at hotmail.com>
  MFH:		2018Q1

Modified:
  head/net/asterisk13/Makefile
  head/net/asterisk13/files/asterisk.in

Modified: head/net/asterisk13/Makefile
==============================================================================
--- head/net/asterisk13/Makefile	Tue Jan  2 10:55:11 2018	(r457846)
+++ head/net/asterisk13/Makefile	Tue Jan  2 11:27:22 2018	(r457847)
@@ -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: head/net/asterisk13/files/asterisk.in
==============================================================================
--- head/net/asterisk13/files/asterisk.in	Tue Jan  2 10:55:11 2018	(r457846)
+++ head/net/asterisk13/files/asterisk.in	Tue Jan  2 11:27:22 2018	(r457847)
@@ -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-all mailing list