ZoneMinder 1.23.0 - Release Note - Release Candidate 3

Support and queries relating to all previous versions of ZoneMinder
User avatar
zoneminder
Site Admin
Posts: 5215
Joined: Wed Jul 09, 2003 2:07 pm
Location: Bristol, UK
Contact:

ZoneMinder 1.23.0 - Release Note - Release Candidate 3

Post by zoneminder »

All,

The third (and hopefully) final RC of 1.23.0 is now available here.

Changes from RC2 are relatively minor,
1) Added ability to select (in new event replay view) whether event replays continue to next event or just play one etc as requested. Please note the additional language tokens for this are only included in the English language file at present.
2) Fixed incorrect default monitor timestamp format
3) Turned off debugging in X10 perl module (clogs up messages log)
4) Fixed broken 'video' link in new event view
5) Fixed control commands from new monitor watch view (got broken in RC2 I think)
6) Removed some diagnostic logging to apache error log

Unless anything major is found I plan to do a proper release in the next couple of days.
Last edited by zoneminder on Thu Mar 06, 2008 10:14 pm, edited 1 time in total.
Phil
User avatar
robi
Posts: 477
Joined: Sat Mar 17, 2007 10:48 am

Re: ZoneMinder 1.23.0 - Release Note - Release Candidate 3

Post by robi »

zoneminder wrote: Please note the additional language tokens for this are only included in the English language file at present.
Could you check if the Hungarian translation is okay? See here.
v1.25.0 + Ubuntu Linux 12.04 Server
PeterHoward
Posts: 319
Joined: Thu Jul 20, 2006 1:07 am
Location: Australia

openssl -> gnutls ?

Post by PeterHoward »

Given I've now got hashed authentication working with gnutls are you interested in switching to it from openssl? The changes are a small patch to configure.in and a couple of #include statements.

PJH (Fully expecting a response of "no" - either as "too close to release" or "happy with openssl")
linuxsense
Posts: 374
Joined: Wed Nov 07, 2007 1:59 am
Location: Huntington Beach, California
Contact:

Post by linuxsense »

Are you interested in issues with the DVR interface or is that still too beta to really worry about? I really like using the interface but it has a few issues that keep me from sticking with it....sure will be nice once its all dialed in though.
User avatar
zoneminder
Site Admin
Posts: 5215
Joined: Wed Jul 09, 2003 2:07 pm
Location: Bristol, UK
Contact:

Re: openssl -> gnutls ?

Post by zoneminder »

PeterHoward wrote:Given I've now got hashed authentication working with gnutls are you interested in switching to it from openssl? The changes are a small patch to configure.in and a couple of #include statements.

PJH (Fully expecting a response of "no" - either as "too close to release" or "happy with openssl")
Hi Peter,

I am happy to merge patches if they aren't going to break anything. Do they allow openssl still as an option?
Phil
User avatar
zoneminder
Site Admin
Posts: 5215
Joined: Wed Jul 09, 2003 2:07 pm
Location: Bristol, UK
Contact:

Post by zoneminder »

linuxsense wrote:Are you interested in issues with the DVR interface or is that still too beta to really worry about? I really like using the interface but it has a few issues that keep me from sticking with it....sure will be nice once its all dialed in though.
Fire away! A new thread for each one (or related group) would be handy though. Please make sure you detail OS and browser etc if possible.
Phil
PeterHoward
Posts: 319
Joined: Thu Jul 20, 2006 1:07 am
Location: Australia

Re: openssl -> gnutls ?

Post by PeterHoward »

zoneminder wrote:
PeterHoward wrote:Given I've now got hashed authentication working with gnutls are you interested in switching to it from openssl? The changes are a small patch to configure.in and a couple of #include statements.

PJH (Fully expecting a response of "no" - either as "too close to release" or "happy with openssl")
Hi Peter,

I am happy to merge patches if they aren't going to break anything. Do they allow openssl still as an option?

No, it's a straight swap of the check built by configure.in, and explicit changeover of the #include statements.

This is the patch:

Code: Select all

diff -urNad ZoneMinder-1.22.3~/configure.in ZoneMinder-1.22.3/configure.in
--- ZoneMinder-1.22.3~/configure.in     2007-03-14 11:02:49.000000000 +1100
+++ ZoneMinder-1.22.3/configure.in      2007-12-10 21:26:39.000000000 +1100
@@ -182,14 +182,14 @@
 AC_CHECK_HEADERS(pcre.h,,,)
 AC_CHECK_DECLS(round,,,[#include <math.h>])
 AC_CHECK_DECLS(strsignal,,,[#include <string.h>])
-AC_CHECK_DECLS(MD5,,AC_MSG_ERROR(zm requires openssl/md5.h),[#include <stdlib.h>
-#include <openssl/md5.h>])
+AC_CHECK_DECLS(MD5,,AC_MSG_ERROR(zm requires gnutls/openssl.h),[#include <stdlib.h>
+#include <gnutls/openssl.h>])
 AC_CHECK_DECLS(backtrace,,,[#include <execinfo.h>])
 AC_CHECK_LIB(jpeg,jpeg_start_compress,,AC_MSG_ERROR(zm requires libjpeg.a))
 AC_CHECK_LIB(z,compress,,AC_MSG_ERROR(zm requires libz.a))
 AC_CHECK_LIB(dl,dlsym,,AC_MSG_ERROR(zm requires libdl.a))
 AC_CHECK_LIB(mysqlclient,mysql_init,,AC_MSG_ERROR(zm requires libmysqlclient.a))
-AC_CHECK_LIB(crypto,MD5,,AC_MSG_WARN(libcrypto.a is required for authenticated streaming))
+AC_CHECK_LIB(gnutls-openssl,MD5,,AC_MSG_WARN(gnutls-openssl.a is required for authenticated streaming))
 AC_CHECK_LIB(pcre,pcre_compile,,AC_MSG_WARN(libpcre.a may be required for remote/network camera support))
 AC_CHECK_LIB(avutil,ff_gcd,,AC_MSG_WARN(libavutil.a may be required for MPEG streaming))
 AC_CHECK_LIB(avcodec,avcodec_init,,AC_MSG_WARN(libavcodec.a is required for MPEG streaming))
diff -urNad ZoneMinder-1.22.3~/src/zm_user.h ZoneMinder-1.22.3/src/zm_user.h
--- ZoneMinder-1.22.3~/src/zm_user.h    2007-03-14 11:02:21.000000000 +1100
+++ ZoneMinder-1.22.3/src/zm_user.h     2007-12-10 21:26:59.000000000 +1100
@@ -24,7 +24,7 @@
 #define ZM_USER_H
 
 #if HAVE_LIBCRYPTO
-#include <openssl/md5.h>
+#include <gnutls/openssl.h>
 #endif // HAVE_LIBCRYPTO
 
 class User

PJH
User avatar
zoneminder
Site Admin
Posts: 5215
Joined: Wed Jul 09, 2003 2:07 pm
Location: Bristol, UK
Contact:

Post by zoneminder »

That looks fine. Can you give me a bit of background on why this is a 'good thing (tm)'? I assume it's a GPL type thing is it? Is gnutls installed by default on most distros? Harder or easier to get hold of than openssl etc?

Ta
Phil
PeterHoward
Posts: 319
Joined: Thu Jul 20, 2006 1:07 am
Location: Australia

gnutls vs openssl

Post by PeterHoward »

If you look at http://en.wikipedia.org/wiki/Openssl#Li ... tibilities it gives an overview of licensing issues. I got the strong impression from Debian that the Zoneminder licensing had to explicitly cover OpenSSL if it was going to be included. Given the low actual use of OpenSSL functionality, switching to gnutls was much simpler. gnutls is available as a standard package in (at least) Fedora, Debian, Ubuntu, Mandriva, SuSE; I can't see any issue with availability.

PJH
User avatar
cordel
Posts: 5210
Joined: Fri Mar 05, 2004 4:47 pm
Location: /USA/Washington/Seattle

Post by cordel »

I realize this is not the correct topic for this but we can split all these related posts out later, Just to add I can confirm that gnutls package is standard in Fedora, CentOS, Mandriva, and Suse. :wink:

Cheers,
Corey
User avatar
zoneminder
Site Admin
Posts: 5215
Joined: Wed Jul 09, 2003 2:07 pm
Location: Bristol, UK
Contact:

Post by zoneminder »

Okey doke. That's all good and I have applied the patch for 1.23.0
Phil
sergiut2002
Posts: 30
Joined: Wed Sep 19, 2007 11:54 am
Location: Constanta Romania

events

Post by sergiut2002 »

any improvements to events? last releases are generating a lot of tiny events (0 secs some), even with buffer set longer
________
WEED VAPORIZERS
Last edited by sergiut2002 on Sun Feb 13, 2011 3:52 pm, edited 1 time in total.
jitz
Posts: 16
Joined: Fri Apr 21, 2006 9:39 pm

How to compile with HAVE_LIBCRYPTO enabled

Post by jitz »

Hi:

Do I have to to add something to ./configure line to get HAVE_LIBCRYTO
to be defined as 1.

I had to manually add
#ifndef HAVE_LIBCRYPTO
#define HAVE_LIBCRYPTO 1

to zm_user.h to get it compiled in.

Is there another way??

Symptom: have axis camera with password protection enabled.
without LIBCRPTO code compiled in I get

Code: Select all

Error(( "You need to build with openssl installed to use hash based authentication" )); 
when I try to view the camera.

with the hack above to zm_user.h can view camera

Thanks
Jotz
User avatar
zoneminder
Site Admin
Posts: 5215
Joined: Wed Jul 09, 2003 2:07 pm
Location: Bristol, UK
Contact:

Post by zoneminder »

There is a fix for this in 1.23.1 which will be up later today.
Phil
PeterHoward
Posts: 319
Joined: Thu Jul 20, 2006 1:07 am
Location: Australia

Post by PeterHoward »

zoneminder wrote:There is a fix for this in 1.23.1 which will be up later today.
I've had a look for this but can't find it. Is it done yet?

Also, was the bug on RC3 or on the release (after the patch over to gnutls)?

PJH
Locked