Zoneminder 1.29 stable release is now out. Bump.
Created attachment 429242 [details] zoneminder-1.29.0.ebuild Attempted ebuild for zoneminder 1.29.0 - tested and working, for me at least. For anyone trying it out, this references my previous patch from bug #564278 I've had to swap this ebuild to use the git sources via the git eclass as this version seems to need a new sub-module, which is checked for by the cmake build process; if it's not there, the build will fail. That's fine, but the release tarball of the source doesn't contain the .git folder, and additionally I couldn't find a way to extract the tarball sources, and then easily get the sub-module code in there (using git eclass at least). If anyone can find an easy/clean way to fetch and use the tarball sources and then add the sub-module code, then that would probably be preferred. Additional changes are: - Added additional use flags for "logrotate" and "ffmpeg" support - Added dependency dev-lang/php[gd] as this is apparently required as per the changelog - A little clarification on how the postinst update message (i.e. how to actually do an update).
The mysql patch failed to apply for me. FOllowing is the partial ebuild log : git update-ref --no-deref refs/git-r3/www-misc/zoneminder/0/web/api/app/Plugin/Crud/__main__ c3976f1478c681b0bbc132ec3a3e82c3984eeed5 * Checking out https://github.com/ZoneMinder/ZoneMinder.git to /var/tmp/portage/www-misc/zoneminder-1.29.0/work/zoneminder-1.29.0 ... git checkout --quiet refs/tags/v1.29.0 GIT NEW branch --> repository: https://github.com/ZoneMinder/ZoneMinder.git at the commit: 6de2ab504c71217fa3797b9d041199795c3ca804 * Checking out https://github.com/FriendsOfCake/crud.git to /var/tmp/portage/www-misc/zoneminder-1.29.0/work/zoneminder-1.29.0/web/api/app/Plugin/Crud ... git checkout --quiet c3976f1478c681b0bbc132ec3a3e82c3984eeed5 GIT NEW branch --> repository: https://github.com/FriendsOfCake/crud.git at the commit: c3976f1478c681b0bbc132ec3a3e82c3984eeed5 >>> Source unpacked in /var/tmp/portage/www-misc/zoneminder-1.29.0/work >>> Preparing source in /var/tmp/portage/www-misc/zoneminder-1.29.0/work/zoneminder-1.29.0 ... * Applying zoneminder-1.26.5-automagic.patch ... [ ok ] * Applying zoneminder-1.28.1-mysql_include_path.patch ... * Failed Patch: zoneminder-1.28.1-mysql_include_path.patch ! * ( /usr/local/portage/www-misc/zoneminder/files/zoneminder-1.28.1-mysql_include_path.patch ) * * Include in your bugreport the contents of: * * /var/tmp/portage/www-misc/zoneminder-1.29.0/temp/zoneminder-1.28.1-mysql_include_path.patch.out * ERROR: www-misc/zoneminder-1.29.0::x-portage failed (prepare phase): * Failed Patch: zoneminder-1.28.1-mysql_include_path.patch! * * Call stack: * ebuild.sh, line 133: Called src_prepare * environment, line 4437: Called cmake-utils_src_prepare * environment, line 1243: Called _cmake_execute_optionally 'src_prepare' * environment, line 358: Called enable_cmake-utils_src_prepare * environment, line 1644: Called epatch '/usr/local/portage/www-misc/zoneminder/files/zoneminder-1.26.5-automagic.patch' '/usr/local/portage/www-misc/zoneminder/files/zoneminder-1.28.1-mysql_include_path.patch' * environment, line 1702: Called epatch '/usr/local/portage/www-misc/zoneminder/files/zoneminder-1.28.1-mysql_include_path.patch' * environment, line 1880: Called die * The specific snippet of code: * die "Failed Patch: ${patchname}!"; * * If you need support, post the output of `emerge --info '=www-misc/zoneminder-1.29.0::x-portage'`, * the complete build log and the output of `emerge -pqv '=www-misc/zoneminder-1.29.0::x-portage'`. * The complete build log is located at '/var/tmp/portage/www-misc/zoneminder-1.29.0/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/www-misc/zoneminder-1.29.0/temp/environment'. * Working directory: '/var/tmp/portage/www-misc/zoneminder-1.29.0/work/zoneminder-1.29.0' * S: '/var/tmp/portage/www-misc/zoneminder-1.29.0/work/zoneminder-1.29.0' >>> Failed to emerge www-misc/zoneminder-1.29.0, Log file: >>> '/var/tmp/portage/www-misc/zoneminder-1.29.0/temp/build.log'
Created attachment 430028 [details] zoneminder-1.29.0.ebuild Updated ebuild to allow for building with libressl as well as openssl, according to the guidelines on the wiki. Builds without issue here.
Created attachment 430030 [details, diff] mysql patch as required by ebuild
Created attachment 443088 [details] zoneminder-1.30.0.ebuild New version realised - 1.30.0. New ebuild for it, incorporating the libressl from Jason Oliveira (except changing from defaulting libressl on).
Created attachment 445596 [details] zoneminder-1.30.0.ebuild Yet another version of the zoneminder 1.30.0 ebuild. This time, I've included a bunch of additional perl module dependencies, as needed to properly support the newer ONVIF support as well as for zmaudit perl script. One of the additional dependancies is dev-perl/IO-Socket-Multicast, which isn't currently in portage - instead got it from the overlay "srcshelton" (found here: https://gpo.zugaina.org/dev-perl/IO-Socket-Multicast). This will need adding to portage too before the release can be bumped in portage. I've also had to add a new writeable "tmp" folder for the API, which is needed to have a working API. Difference are as follows: - dev-perl/Data-UUID + dev-perl/Class-Std-Fast + dev-perl/Data-Dump dev-perl/Date-Manip + dev-perl/Data-UUID dev-perl/DBD-mysql dev-perl/DBI + dev-perl/IO-Socket-Multicast + dev-perl/SOAP-WSDL + dev-perl/Sys-CPU + dev-perl/Sys-MemInfo - keepdir /var/lib/zoneminder /var/lib/zoneminder/images /var/lib/zoneminder/events + keepdir /var/lib/zoneminder /var/lib/zoneminder/images /var/lib/zoneminder/events /var/lib/zoneminder/api_tmp fperms -R 0775 /var/lib/zoneminder fowners -R apache:apache /var/lib/zoneminder dosym /var/lib/zoneminder/images ${MY_ZM_WEBDIR}/images dosym /var/lib/zoneminder/events ${MY_ZM_WEBDIR}/events + dosym /var/lib/zoneminder/api_tmp ${MY_ZM_WEBDIR}/api/app/tmp
(In reply to Russell Knighton from comment #6) You can install 'dev-perl/IO-Socket-Multicast' from g-cpan. I successfully installed zoneminder-1.30.0 by doing the following: # g-cpan -i IO-Socket-Multicast Then modified Russell's zoneminder-1.30.0.ebuild with the following change: - dev-perl/IO-Socket-Multicast + perl-gcpan/IO-Socket-Multicast This way no additional overlays are required to use the ebuild.
I put this in my dev overlay for the moment. Thanks a lot for all the work. Unfortunately the ebuild needs a lot of QA cleanup before it can go into the main tree again. Also the git problem needs to be solved (using git-r3.eclass is only allowed for unkeyworded ebuilds).
Thanks a lot. This is part of the ZM 1.30.0 ebuild now in the main tree. Enjoy!