From: "Andreas Hüttel" <dilfridge@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] dev/dilfridge:master commit in: www-misc/zoneminder/files/, www-misc/zoneminder/
Date: Wed, 25 Dec 2013 21:24:50 +0000 (UTC) [thread overview]
Message-ID: <1388006786.7c77f35dc83592e650d3aaf32829aeb1e565a1b8.dilfridge@gentoo> (raw)
commit: 7c77f35dc83592e650d3aaf32829aeb1e565a1b8
Author: Andreas K. Huettel (dilfridge) <dilfridge <AT> gentoo <DOT> org>
AuthorDate: Wed Dec 25 21:26:26 2013 +0000
Commit: Andreas Hüttel <dilfridge <AT> gentoo <DOT> org>
CommitDate: Wed Dec 25 21:26:26 2013 +0000
URL: http://git.overlays.gentoo.org/gitweb/?p=dev/dilfridge.git;a=commit;h=7c77f35d
[www-misc/zoneminder] fix path in apache conf, deps in init script, install instructions, permissions of zm.conf
Package-Manager: portage-2.2.7
---
www-misc/zoneminder/files/10_zoneminder.conf | 10 +++++-----
www-misc/zoneminder/files/init.d | 3 ++-
www-misc/zoneminder/zoneminder-1.26.5.ebuild | 10 +++++++---
3 files changed, 14 insertions(+), 9 deletions(-)
diff --git a/www-misc/zoneminder/files/10_zoneminder.conf b/www-misc/zoneminder/files/10_zoneminder.conf
index 0ddb675..1190fad 100644
--- a/www-misc/zoneminder/files/10_zoneminder.conf
+++ b/www-misc/zoneminder/files/10_zoneminder.conf
@@ -1,16 +1,16 @@
-ScriptAlias /cgi-bin/zms "/var/www/zoneminder/cgi-bin/zms"
-ScriptAlias /cgi-bin/nph-zms "/var/www/zoneminder/cgi-bin/nph-zms"
+ScriptAlias /cgi-bin/zms "/var/www/zm/cgi-bin/zms"
+ScriptAlias /cgi-bin/nph-zms "/var/www/zm/cgi-bin/nph-zms"
-<Directory "/var/www/zoneminder/cgi-bin">
+<Directory "/var/www/zm/cgi-bin">
AllowOverride All
Options ExecCGI
Order allow,deny
Allow from all
</Directory>
-Alias /zoneminder "/var/www/zoneminder/htdocs"
+Alias /zoneminder "/var/www/zm/htdocs"
-<Directory "/var/www/zoneminder/htdocs">
+<Directory "/var/www/zm/htdocs">
Options -Indexes MultiViews FollowSymLinks
AllowOverride All
Order allow,deny
diff --git a/www-misc/zoneminder/files/init.d b/www-misc/zoneminder/files/init.d
index 00c5045..30a9b13 100644
--- a/www-misc/zoneminder/files/init.d
+++ b/www-misc/zoneminder/files/init.d
@@ -4,7 +4,8 @@
# $Header: /var/cvsroot/gentoo-x86/www-misc/zoneminder/files/Attic/init.d,v 1.3 2009/01/01 16:47:24 gentoofan23 Exp $
depend() {
- use mysql
+ need mysql
+ need apache2
}
start_pre() {
diff --git a/www-misc/zoneminder/zoneminder-1.26.5.ebuild b/www-misc/zoneminder/zoneminder-1.26.5.ebuild
index 0f507d9..aae3093 100644
--- a/www-misc/zoneminder/zoneminder-1.26.5.ebuild
+++ b/www-misc/zoneminder/zoneminder-1.26.5.ebuild
@@ -101,6 +101,7 @@ src_install() {
cmake-utils_src_install
fperms 0640 /etc/zm.conf
+ fowners root:apache /etc/zm.conf
fowners apache:apache /var/log/zm
@@ -119,10 +120,13 @@ src_install() {
DOC_CONTENTS="
1. If this is a new installation, you will need to create a MySQL\n
database for ${PN} to use\n
- (see http://www.gentoo.org/doc/en/mysql-howto.xml).\n
+ (see https://wiki.gentoo.org/wiki/MySQL/Startup_Guide).\n
+ E.g., when logged into mysql as root,\n
+ mysql> CREATE DATABASE 'zm';\n
+ mysql> GRANT ALL ON zm.* TO 'zmuser'@'localhost' IDENTIFIED BY 'topsecretpassword';\n
Once you completed that you should execute the following:\n
- cd /usr/share/${PN}\n
- mysql -u -p < db/zm_create.sql\n
+ cd /usr/share/${PN}\n
+ mysql -u zmuser -p < db/zm_create.sql\n
\n
2. Set your database settings in /etc/zm.conf\n
\n
next reply other threads:[~2013-12-25 21:24 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-12-25 21:24 Andreas Hüttel [this message]
-- strict thread matches above, loose matches on Subject: below --
2014-04-25 14:44 [gentoo-commits] dev/dilfridge:master commit in: www-misc/zoneminder/files/, www-misc/zoneminder/ Andreas Hüttel
2014-04-25 12:43 Andreas Hüttel
2014-04-25 10:11 Andreas Hüttel
2013-12-25 18:18 Andreas Hüttel
2013-12-17 23:38 Andreas Hüttel
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1388006786.7c77f35dc83592e650d3aaf32829aeb1e565a1b8.dilfridge@gentoo \
--to=dilfridge@gentoo.org \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox