1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-29 01:13:08 +00:00

. add faststart and faststop options to zmpkg script (this enables zoneminder

loading at system startup);
. bump PORTREVISION.
This commit is contained in:
Boris Samorodov 2011-06-15 12:44:41 +00:00
parent 06abf871b1
commit 067f9e6680
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=275622
2 changed files with 30 additions and 1 deletions

View File

@ -7,7 +7,7 @@
PORTNAME= zoneminder
PORTVERSION= 1.24.4
PORTREVISION= 4
PORTREVISION= 5
CATEGORIES= multimedia
MASTER_SITES= http://www2.zoneminder.com/downloads/ \
http://www.zoneminder.com/downloads/

View File

@ -0,0 +1,29 @@
--- scripts/zmpkg.pl.in.orig 2011-06-15 13:51:07.462291191 +0400
+++ scripts/zmpkg.pl.in 2011-06-15 13:52:15.097496895 +0400
@@ -61,7 +61,7 @@
my $dbh = zmDbConnect();
-if ( !$command || $command !~ /^(?:start|stop|restart|status|logrot)$/ )
+if ( !$command || $command !~ /^(?:start|stop|restart|status|logrot|faststart|faststop)$/ )
{
if ( $command )
{
@@ -132,7 +132,7 @@
$command = "restart";
}
-if ( $command =~ /^(?:stop|restart)$/ )
+if ( $command =~ /^(?:stop|restart|faststop)$/ )
{
my $status = runCommand( "zmdc.pl check" );
@@ -149,7 +149,7 @@
runCommand( "zmupdate.pl -f" );
-if ( $command =~ /^(?:start|restart)$/ )
+if ( $command =~ /^(?:start|restart|faststart)$/ )
{
my $status = runCommand( "zmdc.pl check" );