Summary: | www-misc/zoneminder-1.28.1 mysql/mysql.h - not found build error | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Russell Knighton <russell> |
Component: | Current packages | Assignee: | Andreas K. Hüttel <dilfridge> |
Status: | RESOLVED FIXED | ||
Severity: | normal | Keywords: | InOverlay |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: |
zoneminder-1.28.1-mysql_include_path.patch
zoneminder-1.28.1-r1.ebuild |
Description
Russell Knighton
2015-10-27 17:40:20 UTC
Created attachment 415592 [details, diff]
zoneminder-1.28.1-mysql_include_path.patch
Patch to use mysql_config to determine the mysql include path
Created attachment 415594 [details] zoneminder-1.28.1-r1.ebuild New ebuild that uses the zoneminder-1.28.1-mysql_include_path.patch file. Also implements suggested keepdir change from bug #546842 and removes deprecated need_php_httpd function as per bug #552840 Full diff of changes from in tree ebuild: --- /usr/portage/www-misc/zoneminder/zoneminder-1.28.1.ebuild 2015-08-09 21:34:55.000000000 +0100 +++ www-misc/zoneminder/zoneminder-1.28.1-r1.ebuild 2015-10-27 17:46:43.026333890 +0000 @@ -56,6 +56,7 @@ virtual/perl-Getopt-Long virtual/perl-Sys-Syslog virtual/perl-Time-HiRes + virtual/httpd-php www-servers/apache curl? ( net-misc/curl ) gcrypt? ( dev-libs/libgcrypt ) @@ -69,12 +70,12 @@ # we cannot use need_httpd_cgi here, since we need to setup permissions for the # webserver in global scope (/etc/zm.conf etc), so we hardcode apache here. need_apache -need_php_httpd S=${WORKDIR}/${MY_PN}-${PV} PATCHES=( - "${FILESDIR}/${PN}-1.26.5"-automagic.patch + "${FILESDIR}/${PN}-1.26.5-automagic.patch" + "${FILESDIR}/${PN}-1.28.1-mysql_include_path.patch" ) MY_ZM_WEBDIR=/usr/share/zoneminder/www @@ -115,7 +116,7 @@ fowners apache:apache /var/log/zm # now we duplicate the work of zmlinkcontent.sh - dodir /var/lib/zoneminder /var/lib/zoneminder/images /var/lib/zoneminder/events + keepdir /var/lib/zoneminder /var/lib/zoneminder/images /var/lib/zoneminder/events fperms -R 0775 /var/lib/zoneminder fowners -R apache:apache /var/lib/zoneminder dosym /var/lib/zoneminder/images ${MY_ZM_WEBDIR}/images Thanks a lot. This is part of the ZM 1.30.0 ebuild now in the main tree. Enjoy! |