Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 666607 - www-misc/zoneminder-1.34.5 version bump
Summary: www-misc/zoneminder-1.34.5 version bump
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal with 3 votes (vote)
Assignee: No maintainer - Look at https://wiki.gentoo.org/wiki/Project:Proxy_Maintainers if you want to take care of it
URL: https://github.com/ZoneMinder/zonemin...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-09-20 08:28 UTC by CyberGuerro
Modified: 2020-05-05 07:26 UTC (History)
10 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
ebuild updated with missing dep and new version 1.32.3 (zoneminder-1.32.3.ebuild,4.91 KB, text/plain)
2018-12-14 07:13 UTC, Willy Gardiol
Details
ebuild white space cleanups and missing dependency (zoneminder-1.32.3.ebuild,4.63 KB, text/plain)
2018-12-23 17:00 UTC, nic
Details
ebuild file (zoneminder-1.34.5.ebuild,4.74 KB, text/plain)
2020-02-26 17:17 UTC, CyberGuerro
Details
Zip files for 1.34.5 ebuild (files.zip,3.02 KB, application/zip)
2020-02-26 17:19 UTC, CyberGuerro
Details

Note You need to log in before you can comment on or make changes to this bug.
Description CyberGuerro 2018-09-20 08:28:13 UTC
Zoneminder's developers have released a new version of application (last one in portage is 1.30.4) with more bugfix and security issues.
It would be great if it will be in portage.
I think it's possible to use 1.30.4 ebuild version as kick-off for building new package.
You can try with it.
Comment 1 Sergiy Borodych 2018-10-11 20:47:49 UTC
New version 1.32.1 (2018-10-01) released
Comment 2 Willy Gardiol 2018-12-14 07:13:32 UTC
Created attachment 557760 [details]
ebuild updated with missing dep and new version 1.32.3

This ebuild is fixed for new 1.32.3 version. Also, two things where missing from previous ebuilds:

1. a symlink (from /var/cache/zoneminder to /usr/share/zoneminder/www/cache)
2. a dependency to Perl Number Human Binary.
Comment 3 Willy Gardiol 2018-12-14 07:14:05 UTC
Added new ebuild for 1.32.3 with two fixes (missing link + missing dependency)
Comment 4 CyberGuerro 2018-12-23 10:13:30 UTC
To make api working we have to make some changes to ebuild, these are change to do:

n apache configuration we have to add these directive:	

# For better visibility, the following directives have been migrated from the
# default .htaccess files included with the CakePHP project.
# Parameters not set here are inherited from the parent directive above.
<Directory "/usr/share/zoneminder/www/api">
   RewriteEngine on
   RewriteRule ^$ app/webroot/ [L]
   RewriteRule (.*) app/webroot/$1 [L]
   RewriteBase /zm/api
</Directory>

<Directory "/usr/share/zoneminder/www/api/app">
   RewriteEngine on
   RewriteRule ^$ webroot/ [L]
   RewriteRule (.*) webroot/$1 [L]
   RewriteBase /zm/api
</Directory>

<Directory "/usr/share/zoneminder/www/api/app/webroot">
    RewriteEngine On
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteRule ^ index.php [L]
    RewriteBase /zm/api
</Directory>


We have to modifiy /usr/share/zoneminder/www/api/app/Plugin/Crud/Controller/Crud/CrudBaseObject.php (line 15)
from:
abstract class CrudBaseObject extends Object implements CakeEventListener {	

to:	
abstract class CrudBaseObject extends CakeObject implements CakeEventListener {	


We have to add CakePHP-Enum-Behavior plugin (folder exists in /usr/share/zoneminder/www/api/app/Plugin, but it's empty) downloading it from
https://github.com/asper/CakePHP-Enum-Behavior
Comment 5 nic 2018-12-23 17:00:00 UTC
Created attachment 558416 [details]
ebuild white space cleanups and missing dependency

Modified ebuild to corrected white-space inconsistencies as reported by repoman.

Added missing packaged dependency of dev-perl/JSON-MaybeXS
 /usr/bin/zmtelemetry.pl:use JSON::MaybeXS;


TODO:
*review comment containing checklist to packagers https://github.com/ZoneMinder/zoneminder/issues/2078#issuecomment-395094624
*git submodule fetch CakePHP-Enum-Behavior (as previously noted in this bug case)
*bump crud to git master or source from zoneminders fork instead https://github.com/ZoneMinder/crud


(thanks all for contributing)
Comment 6 CyberGuerro 2019-05-27 09:03:30 UTC
Totay I found that actual version of zoneminder is 1.33.9, so I changed title for this bug
Comment 7 Dag Bakke 2019-08-14 09:09:18 UTC
Worth noting that the zoneminder developer considers 1.33.x (x is currently 14) as an unstable development version, for betatesting only.
Comment 8 CyberGuerro 2020-01-26 08:35:43 UTC
Changed title because now stable version is 1.34.1....
There's anyone that can give new ebuild for it?
Comment 9 CyberGuerro 2020-02-18 12:53:23 UTC
With new stable version of mysql, is required to bump version of zoneminder to 1.34.x (that implement mysql 8.0 connecion)
Comment 10 CyberGuerro 2020-02-26 17:16:45 UTC
I've created a new ebuild for 1.34.5 version with patch files and other (in zip file).
All attached :-)
Comment 11 CyberGuerro 2020-02-26 17:17:49 UTC
Created attachment 616102 [details]
ebuild file

Ebuild file
Comment 12 CyberGuerro 2020-02-26 17:19:07 UTC
Created attachment 616116 [details]
Zip files for 1.34.5 ebuild

zip files with patches and others
Comment 13 Karl Hakimian 2020-02-28 13:59:38 UTC
The attached ebuild and files worked perfectly for me.
Comment 14 CyberGuerro 2020-02-28 14:20:32 UTC
Today OUBLIETTE OVERLAY has published an ebuild about 1.34.5 (http://gpo.zugaina.org/www-misc/zoneminder) and IMO it appear more optimized than mine. I tried it and I suggest to use it instead of mine :-)
Comment 15 pollution 2020-03-02 15:42:15 UTC
I got this errors http://bit.ly/2TdVDUQ
Comment 16 pollution 2020-03-03 10:08:19 UTC
Rebuilding ffmpeg with additional use flags fix this errors.
Comment 17 Dag Bakke 2020-03-03 10:16:06 UTC
@pollution
Great! What flags?
Comment 18 pollution 2020-03-03 10:27:39 UTC
(In reply to Dag Bakke from comment #17)
> @pollution
> Great! What flags?

I dont know which flag exactly helped. Now work nice with this congig.
http://bit.ly/3cpehkd