FreeBSD Bugzilla – Attachment 171655 Details for
Bug 210442
(MAINTAINER)(PATCH)(MINOR) multimedia/zoneminder fix php deps
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
patch
zoneminder.diff (text/plain), 2.52 KB, created by
Ivan
on 2016-06-21 19:07:44 UTC
(
hide
)
Description:
patch
Filename:
MIME Type:
Creator:
Ivan
Created:
2016-06-21 19:07:44 UTC
Size:
2.52 KB
patch
obsolete
>diff -ruN multimedia/zoneminder.orig/Makefile multimedia/zoneminder/Makefile >--- multimedia/zoneminder.orig/Makefile 2016-06-21 20:39:22.439527000 +0300 >+++ multimedia/zoneminder/Makefile 2016-06-21 20:51:38.935752000 +0300 >@@ -4,6 +4,7 @@ > PORTVERSION= 1.30.0 > DISTVERSIONPREFIX=v > DISTVERSIONSUFFIX=-rc1 >+PORTREVISION= 1 > CATEGORIES= multimedia > > MAINTAINER= bsd@abinet.ru >@@ -38,8 +39,7 @@ > > USES= cmake jpeg mysql perl5 shebangfix > USE_RC_SUBR= zoneminder >-PHP= json pdo_mysql session >-IGNORE_WITH_PHP=70 >+USE_PHP= json pdo_mysql session gd sockets > > ONLY_FOR_ARCHS= amd64 i386 > >diff -ruN multimedia/zoneminder.orig/files/README.FreeBSD multimedia/zoneminder/files/README.FreeBSD >--- multimedia/zoneminder.orig/files/README.FreeBSD 2016-06-21 20:39:22.440077000 +0300 >+++ multimedia/zoneminder/files/README.FreeBSD 2016-06-21 20:46:57.609267000 +0300 >@@ -14,18 +14,12 @@ > > 1. Preliminary steps > >-1.1 Install databases/mysql56-server >+1.1 Install databases/mysql56-server or newer > You may choose your favourite method - ports or packages here. >- FreeBSD default setting use STRICT_TRANS_TABLES sql_mode. It's mandatory to disable it. Edit your my.cnf or create new in /var/db/mysql >- >- The following example works with ZoneMinder quite well >+ FreeBSD default setting use STRICT_TRANS_TABLES sql_mode. It's mandatory to disable it. Edit your my.cnf accordingly > >- [server] >- skip-networking >- skip-name-resolve >- innodb_flush_method = O_DIRECT >- skip-innodb_doublewrite >- innodb_file_per_table >+ The following SQL mode should be compatible with ZM: >+ sql_mode= NO_ZERO_IN_DATE,NO_ZERO_DATE,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION > > ZoneMinder use very simple queries, however it tends to write to > the database quite a lot depending on your capture mode and number >@@ -105,7 +99,7 @@ > exec(). Sorry, chroot folks. > > PHP throws warning if date.timezone option is not set. The best place >- to do it is an ini file in /usr/local/etc/php >+ to do it is to create new ini file in /usr/local/etc/php with overrides > > date.timezone = "UTC" > >@@ -148,10 +142,6 @@ > other than zmuser/zmpass then you must now edit /usr/local/etc/zm.conf. Change > ZM_DB_USER and ZM_DB_PASS to the values you created in the previous step. > >- Additionally, you must also edit >- /usr/local/www/zoneminder/api/app/Config/database.php in a similar >- manner. Scroll down and change login and password to the values you created in the previous step. >- > Enable and start ZoneMinder > sysrc zoneminder_enable="YES" > service zoneminder start
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 210442
: 171655