Tue Jun 18 12:36:59 2019 UTC ()
security/zoneminder: Update example apache config to 24


(gdt)
diff -r1.41 -r1.42 pkgsrc/security/zoneminder/Makefile
diff -r1.1 -r1.2 pkgsrc/security/zoneminder/files/zoneminder.conf

cvs diff -r1.41 -r1.42 pkgsrc/security/zoneminder/Makefile (expand / switch to unified diff)

--- pkgsrc/security/zoneminder/Makefile 2019/06/18 12:33:43 1.41
+++ pkgsrc/security/zoneminder/Makefile 2019/06/18 12:36:59 1.42
@@ -1,18 +1,18 @@ @@ -1,18 +1,18 @@
1# $NetBSD: Makefile,v 1.41 2019/06/18 12:33:43 gdt Exp $ 1# $NetBSD: Makefile,v 1.42 2019/06/18 12:36:59 gdt Exp $
2 2
3PKGNAME= ${DISTNAME:S/ZoneMinder-/zoneminder-/} 3PKGNAME= ${DISTNAME:S/ZoneMinder-/zoneminder-/}
4DISTNAME= ZoneMinder-1.28.1 4DISTNAME= ZoneMinder-1.28.1
5PKGREVISION= 19 5PKGREVISION= 20
6CATEGORIES= security 6CATEGORIES= security
7MASTER_SITES= ${MASTER_SITE_GITHUB:=ZoneMinder/} 7MASTER_SITES= ${MASTER_SITE_GITHUB:=ZoneMinder/}
8GITHUB_PROJECT= ZoneMinder 8GITHUB_PROJECT= ZoneMinder
9GITHUB_TYPE= tag 9GITHUB_TYPE= tag
10GITHUB_TAG= v${PKGVERSION_NOREV} 10GITHUB_TAG= v${PKGVERSION_NOREV}
11 11
12MAINTAINER= dsainty@NetBSD.org 12MAINTAINER= dsainty@NetBSD.org
13HOMEPAGE= https://www.zoneminder.com/ 13HOMEPAGE= https://www.zoneminder.com/
14COMMENT= Video camera security and surveillance solution 14COMMENT= Video camera security and surveillance solution
15LICENSE= gnu-gpl-v2 15LICENSE= gnu-gpl-v2
16 16
17# NetBSD tar: Invalid header, starting valid header search. 17# NetBSD tar: Invalid header, starting valid header search.
18EXTRACT_USING= gtar 18EXTRACT_USING= gtar

cvs diff -r1.1 -r1.2 pkgsrc/security/zoneminder/files/zoneminder.conf (expand / switch to unified diff)

--- pkgsrc/security/zoneminder/files/zoneminder.conf 2013/03/15 02:01:47 1.1
+++ pkgsrc/security/zoneminder/files/zoneminder.conf 2019/06/18 12:36:59 1.2
@@ -1,18 +1,22 @@ @@ -1,18 +1,22 @@
1# This Apache configuration puts ZoneMinder under /zm. 1# This Apache configuration puts ZoneMinder under /zm.
 2# Access is limited to localhost, as a safe default until
 3# intentionally changed.
2 4
3ScriptAlias /zm/cgi-bin/ "@ZM_HTTPD_CGIBIN@/" 5ScriptAlias /zm/cgi-bin/ "@ZM_HTTPD_CGIBIN@/"
4 6
5<Directory "@ZM_HTTPD_CGIBIN@"> 7<Directory "@ZM_HTTPD_CGIBIN@">
6 Order allow,deny 8 <RequireAny>
7 Allow from all 9 Require ip 127.0.0.1
 10 </RequireAny>
8</Directory> 11</Directory>
9 12
10Alias /zm "@ZM_HTTPD_ROOT@" 13Alias /zm "@ZM_HTTPD_ROOT@"
11 14
12<Directory "@ZM_HTTPD_ROOT@"> 15<Directory "@ZM_HTTPD_ROOT@">
13 php_flag register_globals off 16 php_flag register_globals off
14 php_flag short_open_tag on 17 php_flag short_open_tag on
15 DirectoryIndex index.php 18 DirectoryIndex index.php
16 Order allow,deny 19 <RequireAny>
17 Allow from all 20 Require ip 127.0.0.1
 21 </RequireAny>
18</Directory> 22</Directory>