2013-03-15 03:03:36 +01:00
|
|
|
===========================================================================
|
Update ZoneMinder from 1.25.0 to 1.28.1.
Numerous changes, documented at:
https://github.com/ZoneMinder/ZoneMinder/releases
Addresses two security advisories:
https://github.com/ZoneMinder/ZoneMinder/releases/tag/v1.28.0
http://secunia.com/advisories/62918/
Pkgsrc changes:
patch-src_zm_signal_h is no longer necessary because zm_signal.h uses
HAVE_EXECINFO_H.
patch-src_zmf_cpp appears to be applied upstream.
patch-configure_ac no longer needs to set PATH_BUILD to
PREFIX/share/zoneminder, so that zmupdate.pl can locate the database build
scripts as installed files. Upstream has now implemented this via the
ZM_PATH_DATA entry in zm.conf, and adds a ZM_PATH_DATA/db subdirectory.
src/Makefile.am no longer setuid's zmfix, as zmfix was removed from
ZoneMinder 1.26.6.
The code now uses clock_gettime(), which on some systems (like Linux), calls
for -lrt. Since the build system isn't aware of this, but Pkgsrc is, just set
PTHREAD_AUTO_VARS=yes.
The PHP code now uses PDO for DB access, but it looks like there are some
straggling dependencies on the raw MySQL driver, so both are pulled in.
2015-04-05 10:51:08 +02:00
|
|
|
$NetBSD: MESSAGE,v 1.3 2015/04/05 08:51:08 dsainty Exp $
|
2013-03-15 03:03:36 +01:00
|
|
|
|
|
|
|
All documentation for ZoneMinder is now online at:
|
|
|
|
|
2013-03-15 03:56:56 +01:00
|
|
|
http://www.zoneminder.com/wiki/index.php/Documentation
|
|
|
|
|
|
|
|
|
|
|
|
Performance:
|
|
|
|
|
|
|
|
ZoneMinder benefits dramatically from using libjpeg-turbo. Consider
|
|
|
|
building from Pkgsrc with:
|
|
|
|
|
|
|
|
JPEG_DEFAULT=libjpeg-turbo
|
2013-03-15 03:03:36 +01:00
|
|
|
|
|
|
|
|
|
|
|
To get ZoneMinder started a MySQL database is required.
|
|
|
|
|
|
|
|
First, create a MySQL user "zmuser":
|
|
|
|
|
|
|
|
echo "create user 'zmuser'@'localhost' identified by 'zmpass';" | mysql -u root
|
|
|
|
|
|
|
|
The default password is "zmpass". You may change this to something else, and
|
|
|
|
update ZM_DB_PASS in ${PKG_SYSCONFDIR}/zm.conf.
|
|
|
|
|
|
|
|
|
|
|
|
Create the initial database via:
|
|
|
|
|
2013-03-15 03:56:56 +01:00
|
|
|
mysql -u root < ${PREFIX}/share/zoneminder/db/zm_create.sql
|
2013-03-15 03:03:36 +01:00
|
|
|
|
|
|
|
|
|
|
|
Assign rights to the "zmuser" user via:
|
|
|
|
|
2013-03-15 03:56:56 +01:00
|
|
|
echo "grant all on * to 'zmuser';" | mysql -u root zm
|
2013-03-15 03:03:36 +01:00
|
|
|
|
|
|
|
|
|
|
|
Upgrade a database from an older version of ZoneMinder via:
|
|
|
|
|
2013-03-15 03:56:56 +01:00
|
|
|
zmupdate.pl -u root [-p <password>]
|
2013-03-15 03:03:36 +01:00
|
|
|
|
|
|
|
|
|
|
|
To enable the web interface via Apache, add the following line to httpd.conf:
|
|
|
|
|
|
|
|
Include ${PREFIX}/share/examples/zoneminder/apache/zoneminder.conf
|
|
|
|
|
Update ZoneMinder from 1.25.0 to 1.28.1.
Numerous changes, documented at:
https://github.com/ZoneMinder/ZoneMinder/releases
Addresses two security advisories:
https://github.com/ZoneMinder/ZoneMinder/releases/tag/v1.28.0
http://secunia.com/advisories/62918/
Pkgsrc changes:
patch-src_zm_signal_h is no longer necessary because zm_signal.h uses
HAVE_EXECINFO_H.
patch-src_zmf_cpp appears to be applied upstream.
patch-configure_ac no longer needs to set PATH_BUILD to
PREFIX/share/zoneminder, so that zmupdate.pl can locate the database build
scripts as installed files. Upstream has now implemented this via the
ZM_PATH_DATA entry in zm.conf, and adds a ZM_PATH_DATA/db subdirectory.
src/Makefile.am no longer setuid's zmfix, as zmfix was removed from
ZoneMinder 1.26.6.
The code now uses clock_gettime(), which on some systems (like Linux), calls
for -lrt. Since the build system isn't aware of this, but Pkgsrc is, just set
PTHREAD_AUTO_VARS=yes.
The PHP code now uses PDO for DB access, but it looks like there are some
straggling dependencies on the raw MySQL driver, so both are pulled in.
2015-04-05 10:51:08 +02:00
|
|
|
Also follow the configuration instructions for www/ap-php,
|
|
|
|
databases/php-mysql, databases/php-pdo and databases/php-pdo_mysql packages.
|
|
|
|
Use pkg_info to read their MESSAGE files.
|
2013-03-15 03:03:36 +01:00
|
|
|
|
|
|
|
PHP may log warnings if the PHP date.timezone configuration is not set.
|
|
|
|
Consider assigning a default system time zone to date.timezone in
|
|
|
|
${PKG_SYSCONFDIR}/php.ini.
|
|
|
|
===========================================================================
|