dilfridge 14/04/25 14:43:40 Added: conf.d 10_zoneminder.conf init.d zoneminder-1.26.5-automagic.patch README.gentoo zoneminder-1.24.2-db_upgrade_script_location.patch Log: Re-add ZoneMinder to portage (Portage version: 2.2.8-r1/cvs/Linux x86_64, signed Manifest commit with key 94BFDF4484AD142F)
Revision Changes Path 1.3 www-misc/zoneminder/files/conf.d file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/www-misc/zoneminder/files/conf.d?rev=1.3&view=markup plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/www-misc/zoneminder/files/conf.d?rev=1.3&content-type=text/plain diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/www-misc/zoneminder/files/conf.d?r1=1.2&r2=1.3 1.3 www-misc/zoneminder/files/10_zoneminder.conf file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/www-misc/zoneminder/files/10_zoneminder.conf?rev=1.3&view=markup plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/www-misc/zoneminder/files/10_zoneminder.conf?rev=1.3&content-type=text/plain diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/www-misc/zoneminder/files/10_zoneminder.conf?r1=1.2&r2=1.3 1.5 www-misc/zoneminder/files/init.d file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/www-misc/zoneminder/files/init.d?rev=1.5&view=markup plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/www-misc/zoneminder/files/init.d?rev=1.5&content-type=text/plain diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/www-misc/zoneminder/files/init.d?r1=1.4&r2=1.5 1.1 www-misc/zoneminder/files/zoneminder-1.26.5-automagic.patch file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/www-misc/zoneminder/files/zoneminder-1.26.5-automagic.patch?rev=1.1&view=markup plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/www-misc/zoneminder/files/zoneminder-1.26.5-automagic.patch?rev=1.1&content-type=text/plain Index: zoneminder-1.26.5-automagic.patch =================================================================== diff --git a/CMakeLists.txt b/CMakeLists.txt index 83e9d81..8619c8b 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -171,6 +171,7 @@ else(PCRE_LIBRARIES) set(optlibsnotfound "${optlibsnotfound} PCRE") endif(PCRE_LIBRARIES) +if(HAVE_GCRYPT) # gcrypt (using find_library and find_path) find_library(GCRYPT_LIBRARIES gcrypt) if(GCRYPT_LIBRARIES) @@ -187,7 +188,11 @@ if(GCRYPT_LIBRARIES) else(GCRYPT_LIBRARIES) set(optlibsnotfound "${optlibsnotfound} GCrypt") endif(GCRYPT_LIBRARIES) +else(HAVE_GCRYPT) + set(optlibsnotfound "${optlibsnotfound} GCrypt") +endif(HAVE_GCRYPT) +if(HAVE_GNUTLS) # gnutls (using find_library and find_path) find_library(GNUTLS_LIBRARIES gnutls) if(GNUTLS_LIBRARIES) @@ -205,6 +210,9 @@ if(GNUTLS_LIBRARIES) else(GNUTLS_LIBRARIES) set(optlibsnotfound "${optlibsnotfound} GnuTLS") endif(GNUTLS_LIBRARIES) +else(HAVE_GNUTLS) + set(optlibsnotfound "${optlibsnotfound} GnuTLS") +endif(HAVE_GNUTLS) # mysqlclient (using find_library and find_path) find_library(MYSQLCLIENT_LIBRARIES mysqlclient PATH_SUFFIXES mysql) 1.1 www-misc/zoneminder/files/README.gentoo file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/www-misc/zoneminder/files/README.gentoo?rev=1.1&view=markup plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/www-misc/zoneminder/files/README.gentoo?rev=1.1&content-type=text/plain Index: README.gentoo =================================================================== 1. If this is a new installation, you will need to create a MySQL database for zoneminder to use (see https://wiki.gentoo.org/wiki/MySQL/Startup_Guide). E.g., when logged into mysql as root, mysql> CREATE DATABASE \`zm\`; mysql> GRANT ALL ON zm.* TO 'zmuser'@'localhost' IDENTIFIED BY 'topsecretpassword'; Once you completed that you should execute the following: cd /usr/share/zoneminder mysql -u zmuser -p < db/zm_create.sql 2. Set your database settings in /etc/zm.conf, including above topsecretpassword 3. Configure apache to use zoneminder, see /usr/share/doc/zoneminder*/10_zoneminder.conf for an example configuration snippet. 4. Enable PHP in your webserver configuration, enable short_open_tags in php.ini, set the time zone in php.ini, and restart/reload the webserver. 5. Start the zoneminder daemon: /etc/init.d/zoneminder start 6. Finally point your browser to http://your.webserver/zoneminder If you are upgrading, you will need to run the zmupdate.pl script: /usr/bin/zmupdate.pl --version=oldversionnumber [--user=zmuser --pass=topsecretpassword] 1.1 www-misc/zoneminder/files/zoneminder-1.24.2-db_upgrade_script_location.patch file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/www-misc/zoneminder/files/zoneminder-1.24.2-db_upgrade_script_location.patch?rev=1.1&view=markup plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/www-misc/zoneminder/files/zoneminder-1.24.2-db_upgrade_script_location.patch?rev=1.1&content-type=text/plain Index: zoneminder-1.24.2-db_upgrade_script_location.patch =================================================================== --- ZoneMinder-1.24.1/zm.conf.in.orig 2009-03-23 13:55:43.000000000 +0000 +++ ZoneMinder-1.24.1/zm.conf.in 2009-03-23 13:57:22.000000000 +0000 @@ -13,7 +13,7 @@ ZM_VERSION=@VERSION@ # Path to build directory, used mostly for finding DB upgrade scripts -ZM_PATH_BUILD=@PATH_BUILD@ +ZM_PATH_BUILD=/usr/share/zoneminder # Build time, used to record when to trigger various checks ZM_TIME_BUILD=@TIME_BUILD@