Tue Jun 18 12:33:43 2019 UTC ()
security/zoneminder: Depend on p5-Net-SFTP-Foreign

Add comment about adding dependencies on perl modules that are maybe
loaded depending on the configuration.


(gdt)
diff -r1.40 -r1.41 pkgsrc/security/zoneminder/Makefile

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

--- pkgsrc/security/zoneminder/Makefile 2018/08/22 09:46:30 1.40
+++ pkgsrc/security/zoneminder/Makefile 2019/06/18 12:33:43 1.41
@@ -1,18 +1,18 @@ @@ -1,18 +1,18 @@
1# $NetBSD: Makefile,v 1.40 2018/08/22 09:46:30 wiz Exp $ 1# $NetBSD: Makefile,v 1.41 2019/06/18 12:33:43 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= 18 5PKGREVISION= 19
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
@@ -21,34 +21,41 @@ DEPENDS+= netpbm-[0-9]*:../../graphics/n @@ -21,34 +21,41 @@ DEPENDS+= netpbm-[0-9]*:../../graphics/n
21 21
22PHP_VERSIONS_ACCEPTED= 56 22PHP_VERSIONS_ACCEPTED= 56
23 23
24PKG_OPTIONS_VAR= PKG_OPTIONS.zoneminder 24PKG_OPTIONS_VAR= PKG_OPTIONS.zoneminder
25PKG_SUPPORTED_OPTIONS= apache 25PKG_SUPPORTED_OPTIONS= apache
26PKG_SUGGESTED_OPTIONS= apache 26PKG_SUGGESTED_OPTIONS= apache
27 27
28.include "../../mk/bsd.options.mk" 28.include "../../mk/bsd.options.mk"
29 29
30GNU_CONFIGURE= yes 30GNU_CONFIGURE= yes
31USE_LANGUAGES= c c++ 31USE_LANGUAGES= c c++
32USE_TOOLS+= aclocal autoconf autoheader automake gmake perl pkg-config 32USE_TOOLS+= aclocal autoconf autoheader automake gmake perl pkg-config
33 33
 34# zoneminder can depend on a number of perl modules depending on
 35# configuration. We take the view that if an installation can be
 36# reasonably configured to use a module, that module should be a
 37# dependency, absent some reason that it is so heavyweight that it
 38# shoudl be an option.
 39
34# MIME::Entity is needed from p5-MIME-tools 40# MIME::Entity is needed from p5-MIME-tools
35# LWP::UserAgent is needed from p5-libwww 41# LWP::UserAgent is needed from p5-libwww
36DEPENDS+= p5-Archive-Zip-[0-9]*:../../archivers/p5-Archive-Zip 42DEPENDS+= p5-Archive-Zip-[0-9]*:../../archivers/p5-Archive-Zip
37DEPENDS+= p5-Date-Manip-[0-9]*:../../devel/p5-Date-Manip 43DEPENDS+= p5-Date-Manip-[0-9]*:../../devel/p5-Date-Manip
38DEPENDS+= p5-Device-SerialPort-[0-9]*:../../comms/p5-Device-SerialPort 44DEPENDS+= p5-Device-SerialPort-[0-9]*:../../comms/p5-Device-SerialPort
39DEPENDS+= p5-DBD-mysql-[0-9]*:../../databases/p5-DBD-mysql 45DEPENDS+= p5-DBD-mysql-[0-9]*:../../databases/p5-DBD-mysql
40DEPENDS+= p5-MIME-Lite-[0-9]*:../../mail/p5-MIME-Lite 46DEPENDS+= p5-MIME-Lite-[0-9]*:../../mail/p5-MIME-Lite
41DEPENDS+= p5-MIME-tools-[0-9]*:../../mail/p5-MIME-tools 47DEPENDS+= p5-MIME-tools-[0-9]*:../../mail/p5-MIME-tools
 48DEPENDS+= p5-Net-SFTP-Foreign-[0-9]*:../../net/p5-Net-SFTP-Foreign
42DEPENDS+= p5-PHP-Serialization-[0-9]*:../../devel/p5-PHP-Serialization 49DEPENDS+= p5-PHP-Serialization-[0-9]*:../../devel/p5-PHP-Serialization
43#DEPENDS+= {perl>=5.7.3,p5-Time-HiRes-[0-9]*}:../../time/p5-Time-HiRes 50#DEPENDS+= {perl>=5.7.3,p5-Time-HiRes-[0-9]*}:../../time/p5-Time-HiRes
44DEPENDS+= p5-libwww-[0-9]*:../../www/p5-libwww 51DEPENDS+= p5-libwww-[0-9]*:../../www/p5-libwww
45 52
46CONFIGURE_ARGS+= --sysconfdir=${PKG_SYSCONFDIR} 53CONFIGURE_ARGS+= --sysconfdir=${PKG_SYSCONFDIR}
47 54
48ZM_HTTPD_ROOT= share/zoneminder/htdocs 55ZM_HTTPD_ROOT= share/zoneminder/htdocs
49PLIST_SUBST+= ZM_HTTPD_ROOT=${ZM_HTTPD_ROOT:Q} 56PLIST_SUBST+= ZM_HTTPD_ROOT=${ZM_HTTPD_ROOT:Q}
50OWN_DIRS+= ${ZM_HTTPD_ROOT:Q} 57OWN_DIRS+= ${ZM_HTTPD_ROOT:Q}
51 58
52ZM_HTTPD_CGIBIN= libexec/zoneminder/cgi-bin 59ZM_HTTPD_CGIBIN= libexec/zoneminder/cgi-bin
53PLIST_SUBST+= ZM_HTTPD_CGIBIN=${ZM_HTTPD_CGIBIN:Q} 60PLIST_SUBST+= ZM_HTTPD_CGIBIN=${ZM_HTTPD_CGIBIN:Q}
54BUILD_DEFS+= ZM_HTTPD_CGIBIN 61BUILD_DEFS+= ZM_HTTPD_CGIBIN