Summary: | www-misc/zoneminder-1.34.5 version bump | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | CyberGuerro <cyberguerro> |
Component: | Current packages | Assignee: | No maintainer - Look at https://wiki.gentoo.org/wiki/Project:Proxy_Maintainers if you want to take care of it <maintainer-needed> |
Status: | RESOLVED WONTFIX | ||
Severity: | normal | CC: | arthur, boss.gentoo, cyberguerro, dag, hyedad, jstein, mike, nic, Sergiy.Borodych, willy |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
URL: | https://github.com/ZoneMinder/zoneminder/releases | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: |
ebuild updated with missing dep and new version 1.32.3
ebuild white space cleanups and missing dependency ebuild file Zip files for 1.34.5 ebuild |
Description
CyberGuerro
2018-09-20 08:28:13 UTC
New version 1.32.1 (2018-10-01) released 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.
Added new ebuild for 1.32.3 with two fixes (missing link + missing dependency) 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 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) Totay I found that actual version of zoneminder is 1.33.9, so I changed title for this bug Worth noting that the zoneminder developer considers 1.33.x (x is currently 14) as an unstable development version, for betatesting only. Changed title because now stable version is 1.34.1.... There's anyone that can give new ebuild for it? With new stable version of mysql, is required to bump version of zoneminder to 1.34.x (that implement mysql 8.0 connecion) I've created a new ebuild for 1.34.5 version with patch files and other (in zip file). All attached :-) Created attachment 616102 [details]
ebuild file
Ebuild file
Created attachment 616116 [details]
Zip files for 1.34.5 ebuild
zip files with patches and others
The attached ebuild and files worked perfectly for me. 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 :-) I got this errors http://bit.ly/2TdVDUQ Rebuilding ffmpeg with additional use flags fix this errors. @pollution Great! What flags? (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 |