public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Andreas Hüttel" <dilfridge@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] dev/dilfridge:master commit in: www-misc/zoneminder/
Date: Wed, 25 Dec 2013 14:23:30 +0000 (UTC)	[thread overview]
Message-ID: <1387981515.44fb72b3d51b63a99be307c5c61471581f1a304f.dilfridge@gentoo> (raw)

commit:     44fb72b3d51b63a99be307c5c61471581f1a304f
Author:     Andreas K. Huettel (dilfridge) <dilfridge <AT> gentoo <DOT> org>
AuthorDate: Wed Dec 25 14:25:15 2013 +0000
Commit:     Andreas Hüttel <dilfridge <AT> gentoo <DOT> org>
CommitDate: Wed Dec 25 14:25:15 2013 +0000
URL:        http://git.overlays.gentoo.org/gitweb/?p=dev/dilfridge.git;a=commit;h=44fb72b3

[www-misc/zoneminder] port to readme.gentoo, remove nonfunctional patch

---
 www-misc/zoneminder/metadata.xml             |  2 +-
 www-misc/zoneminder/zoneminder-1.26.5.ebuild | 61 ++++++++++++++--------------
 2 files changed, 31 insertions(+), 32 deletions(-)

diff --git a/www-misc/zoneminder/metadata.xml b/www-misc/zoneminder/metadata.xml
index bd96259..bd56d97 100644
--- a/www-misc/zoneminder/metadata.xml
+++ b/www-misc/zoneminder/metadata.xml
@@ -7,7 +7,7 @@
 	</maintainer>
 	<use>
 		<flag name="gcrypt">...</flag>
-		<flag name="x10">...</flag>
+		<flag name="vlc">...</flag>
 		<flag name="openssl">...</flag>
 	</use>
 </pkgmetadata>

diff --git a/www-misc/zoneminder/zoneminder-1.26.5.ebuild b/www-misc/zoneminder/zoneminder-1.26.5.ebuild
index 6679b40..a6693fd 100644
--- a/www-misc/zoneminder/zoneminder-1.26.5.ebuild
+++ b/www-misc/zoneminder/zoneminder-1.26.5.ebuild
@@ -7,7 +7,7 @@
 
 EAPI=5
 
-inherit eutils base cmake-utils depend.php depend.apache multilib flag-o-matic
+inherit readme.gentoo eutils base cmake-utils depend.php depend.apache multilib flag-o-matic
 
 MY_PN="ZoneMinder"
 
@@ -66,9 +66,8 @@ need_php_httpd
 
 S=${WORKDIR}/${MY_PN}-${PV}
 
-PATCHES=(
-	"${FILESDIR}"/1.24.2/db_upgrade_script_location.patch
-)
+#PATCHES=(
+#)
 
 pkg_setup() {
 	require_php_with_use mysql sockets apache2
@@ -106,36 +105,36 @@ src_install() {
 
 	dodoc AUTHORS BUGS ChangeLog INSTALL NEWS README.md TODO
 
-	insinto /usr/share/${PN}/db
-	doins db/zm_u* db/zm_create.sql
-
-	#insinto /etc/apache2/vhosts.d
-	#doins "${FILESDIR}"/10_zoneminder.conf
+	insinto /etc/apache2/vhosts.d
+	doins "${FILESDIR}"/10_zoneminder.conf
 
 	for DIR in events images sound; do
 	    dodir /var/www/zoneminder/htdocs/${DIR}
 	done
-}
 
-pkg_postinst() {
-	elog ""
-	elog "0. If this is a new installation, you will need to create a MySQL database"
-	elog "   for ${PN} to use. (see http://www.gentoo.org/doc/en/mysql-howto.xml)."
-	elog "   Once you completed that you should execute the following:"
-	elog " cd /usr/share/${PN}"
-	elog " mysql -u  -p  < db/zm_create.sql"
-	elog ""
-	elog "1.  Set your database settings in /etc/zm.conf"
-	elog ""
-	elog "2.  Enable PHP in your webserver configuration, enable short_open_tags in php.ini,"
-	elog "    set the time zone in php.ini, and restart/reload the webserver"
-	elog ""
-	elog "3.  Start the ${PN} daemon:"
-	elog "  /etc/init.d/${PN} start"
-	elog ""
-	elog "4. Finally point your browser to http://localhost/${PN}"
-	elog ""
-	elog "If you are upgrading, you will need to run the zmupdate.pl script:"
-	elog " /usr/bin/zmupdate.pl version= [--user= --pass=]"
-	elog ""
+	DOC_CONTENTS="
+0. 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
+   Once you completed that you should execute the following:\n
+ cd /usr/share/${PN}\n
+ mysql -u  -p  < db/zm_create.sql\n
+\n
+1.  Set your database settings in /etc/zm.conf\n
+\n
+2.  Enable PHP in your webserver configuration, \n
+    enable short_open_tags in php.ini,\n
+    set the time zone in php.ini, \n
+    and restart/reload the webserver.\n
+\n
+3.  Start the ${PN} daemon:\n
+  /etc/init.d/${PN} start\n
+\n
+4. Finally point your browser to http://localhost/${PN}\n
+\n
+If you are upgrading, you will need to run the zmupdate.pl script:\n
+ /usr/bin/zmupdate.pl version= [--user= --pass=]\n
+"
+
+	readme.gentoo_src_install
 }


             reply	other threads:[~2013-12-25 14:23 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-12-25 14:23 Andreas Hüttel [this message]
  -- strict thread matches above, loose matches on Subject: below --
2014-04-25 13:04 [gentoo-commits] dev/dilfridge:master commit in: www-misc/zoneminder/ Andreas Hüttel
2014-04-24 21:13 Andreas Hüttel
2014-04-24 20:29 Andreas Hüttel
2013-12-24 17:46 Andreas Hüttel
2011-09-18 20:35 Andreas Hüttel
2011-09-18 15:38 Andreas Hüttel
2011-09-18  9:01 Andreas Hüttel
2011-09-17 19:31 Andreas Hüttel
2011-09-17  8:54 Andreas Hüttel
2011-09-17  8:54 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=1387981515.44fb72b3d51b63a99be307c5c61471581f1a304f.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