# HG changeset patch # User Da Risk # Date 1290956449 -3600 # Node ID 2e8ff43534a2e586502bfdd142726bb9b73aaca2 # Parent 8200f41d50a1ce2710333977a17780638031ac6b# Parent 296a58446d2256b50bb7e234a358f1c4da076365 merge diff -r 8200f41d50a1 -r 2e8ff43534a2 www-apps/dotclear/Manifest --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/www-apps/dotclear/Manifest Sun Nov 28 16:00:49 2010 +0100 @@ -0,0 +1,3 @@ +AUX postinst.en.txt 6743 RMD160 364a58ee7af4f2a876819b5ae826549616a14e51 SHA1 be311eb52f14a3d2ac2df65e9201e5c3d7180679 SHA256 4dc12743902d07e981be84dfb3b8814025309c9a5413fc7feab21e9c798414b5 +DIST dotclear-2.2.tar.gz 1039473 RMD160 cbbaf4b3f6a462e4da823605f185150a0d2c4874 SHA1 12295d80e98ba94243672f055b3007d17470df67 SHA256 356cf63416f40b085280895531d8a3171ec925cb62b57493d8c1bb11eedfbfca +EBUILD dotclear-2.2.ebuild 1555 RMD160 b20550c59c617658a449d66204f6ffc1fa4f380c SHA1 cfdb340c5a1f7358a36d2df265a2155636b6e1c4 SHA256 1820667e729a3fe28b0dc3d7b88c7f0480edc5f41f5e0ebc907c7211b110cf9a diff -r 8200f41d50a1 -r 2e8ff43534a2 www-apps/dotclear/dotclear-2.2.ebuild --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/www-apps/dotclear/dotclear-2.2.ebuild Sun Nov 28 16:00:49 2010 +0100 @@ -0,0 +1,64 @@ +# Copyright 1999-2010 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: $ + +EAPI="2" +PHPCHECKNODIE="yes" +inherit webapp depend.php confutils + +DESCRIPTION="Weblogs management tool written in PHP" +HOMEPAGE="http://www.dotclear.net" +SRC_URI="http://download.dotclear.org/latest/${P}.tar.gz" + +LICENSE="GPL-2" +KEYWORDS="~amd64 ~x86" +IUSE="postgres mysql sqlite gd" + +DEPEND="dev-lang/php:5[iconv,simplexml,xml,unicode,postgres?,mysql?,sqlite?,gd?]" + +RDEPEND="${DEPEND}" + +S="${WORKDIR}/${PN}" + +need_php5_httpd + +# Lang Files http://download.dotclear.org/l10n/2.1.6 + +pkg_setup() { + + confutils_require_any postgres mysql sqlite + + local flags="iconv simplexml unicode" + use mysql && flags+=" mysql" + use postgres && flags+=" postgres" + use sqlite && flags+=" sqlite" + + require_php_with_use "${flags}" || die "Re-install ${PHP_PKG} with ${flags}" + + webapp_pkg_setup +} + +src_install() { + webapp_src_preinst + + insinto "${MY_HTDOCSDIR}" + doins -r . + + for foo in cache public; + do + webapp_serverowned -R "${MY_HTDOCSDIR}/${foo}" || die + chmod 666 "${D}/${MY_HTDOCSDIR}/${foo}" + done + for foo in cache db inc plugins; + do + webapp_configfile "${MY_HTDOCSDIR}/${foo}"/.htaccess + done +# webapp_configfile "${MY_HTDOCSDIR}"/cache/.htaccess +#webapp_configfile "${MY_HTDOCSDIR}"/db/.htaccess +# webapp_configfile "${MY_HTDOCSDIR}"/inc/.htaccess +# webapp_configfile "${MY_HTDOCSDIR}"/plugins/.htaccess +# webapp_configfile "${MY_HTDOCSDIR}"/ + + webapp_postinst_txt en "${FILESDIR}"/postinst.en.txt + webapp_src_install +} diff -r 8200f41d50a1 -r 2e8ff43534a2 www-apps/dotclear/files/postinst.en.txt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/www-apps/dotclear/files/postinst.en.txt Sun Nov 28 16:00:49 2010 +0100 @@ -0,0 +1,133 @@ + + + + /experimental/www-apps/dotclear/files/postinstall-en.txt - Webapp Project Overlay - Trac + + + + + + + + +
+ + + + + + + +
+
+

root/experimental/www-apps/dotclear/files/postinstall-en.txt

+ +
+
+
+ + +
+
+
+ + + + + + + + +
+ Revision 648, 221 bytes + (checked in by jakub, 3 years ago) +

+www-apps/dotclear: New ebuild, Bug 114525
+

+
+
+ + + + + + + + + + + + + +
Line 
1To complete the installation, you must
2
31. Manually create a MySQL user and database.
4     The installer will handle the rest.
5
62. Finally, point your browser to
7http://${VHOST_HOSTNAME}/${VHOST_APPDIR}/install/index.php
+
+ +
+ Note: See TracBrowser for help on using the browser. +
+ +
+
+
+ + + + + +
+
+
+ +
+
+ + + +
+ + + + + + + + diff -r 8200f41d50a1 -r 2e8ff43534a2 www-apps/tt-rss/Manifest --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/www-apps/tt-rss/Manifest Sun Nov 28 16:00:49 2010 +0100 @@ -0,0 +1,5 @@ +AUX postinstall-en.txt 58 RMD160 b457795efe41cee2f36bbe6fa37a3eb983a9af62 SHA1 2c62f7e3e26d20fe29e12360638c767c6472caf7 SHA256 7c524c14d391c76d72b22c947b68d20321bd98de3f892b1e044c3de6c281de59 +DIST tt-rss-1.4.2.tar.gz 1229245 RMD160 199ae4c952ff1b0c80c5a4a80729f70aa5c95b86 SHA1 18b4935c06b7c74bea90f9cb55982b0fc4934f7e SHA256 085deb46db56963c35aa0fdbe01e5e010d995420ccd8ef2a85bb86cf83c9d1da +DIST tt-rss-1.4.3.1.tar.gz 1235590 RMD160 63fc17fbf06ccc31a45af5a437dc5b001a4d3b9f SHA1 636cb8b6572b6774c229c4f01d3210dbe0fc95da SHA256 ccba032387c44edccb198b346063665aec9eaa3d152d9f8a435c7bd2083599ca +EBUILD tt-rss-1.4.2.ebuild 1399 RMD160 665bf10e70af63177d7e07d3360478f2792b5bd1 SHA1 3ac6aa6c6c6069194a0dbb6a0a89b80b9ee67a4c SHA256 3e7451144d4ec536b118b6fd9dab978faf22a9428ee498ad9617ddcebd87d85f +EBUILD tt-rss-1.4.3.1.ebuild 1399 RMD160 665bf10e70af63177d7e07d3360478f2792b5bd1 SHA1 3ac6aa6c6c6069194a0dbb6a0a89b80b9ee67a4c SHA256 3e7451144d4ec536b118b6fd9dab978faf22a9428ee498ad9617ddcebd87d85f diff -r 8200f41d50a1 -r 2e8ff43534a2 www-apps/tt-rss/files/postinstall-en.txt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/www-apps/tt-rss/files/postinstall-en.txt Sun Nov 28 16:00:49 2010 +0100 @@ -0,0 +1,1 @@ +Please read http://tt-rss.org/trac/wiki/InstallationNotes diff -r 8200f41d50a1 -r 2e8ff43534a2 www-apps/tt-rss/files/tinyrss-update.confd --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/www-apps/tt-rss/files/tinyrss-update.confd Sun Nov 28 16:00:49 2010 +0100 @@ -0,0 +1,3 @@ +TTRSS_PATH="/var/www/tinyrss.elyzion.net/htdocs" +TTRSS_DAEMON="update_daemon.php" + diff -r 8200f41d50a1 -r 2e8ff43534a2 www-apps/tt-rss/files/tinyrss-update.initd --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/www-apps/tt-rss/files/tinyrss-update.initd Sun Nov 28 16:00:49 2010 +0100 @@ -0,0 +1,23 @@ +#!/sbin/runscript +# Copyright 1999-2010 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: $ +PIDFILE="/var/run/tinyrss.pid" + +depend() { + need net +} + +start() { + ebegin "Starting tinyrss update daemon" + start-stop-daemon --start --make-pidfile --background -c apache --pidfile "$PIDFILE" --chdir "$TTRSS_PATH" --exec /usr/bin/php -- \ + "$TTRSS_PATH/$TTRSS_DAEMON" + eend $? +} + +stop() { + ebegin "Stopping tinyrss update daemon" + start-stop-daemon --quiet --stop --pidfile $PIDFILE + eend $? + +} diff -r 8200f41d50a1 -r 2e8ff43534a2 www-apps/tt-rss/tt-rss-1.4.2.ebuild --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/www-apps/tt-rss/tt-rss-1.4.2.ebuild Sun Nov 28 16:00:49 2010 +0100 @@ -0,0 +1,52 @@ +# Copyright 1999-2010 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: $ + +EAPI="2" + +inherit webapp depend.php depend.apache + +DESCRIPTION="Tiny Tiny RSS - A web-based news feed (RSS/Atom) aggregator using AJAX" +HOMEPAGE="http://tt-rss.org/" +SRC_URI="http://tt-rss.org/download/${P}.tar.gz" + +LICENSE="GPL-2" +KEYWORDS="~amd64" +IUSE="mysql postgres" + +DEPEND="dev-lang/php[mysql?,postgres?]" +RDEPEND="${DEPEND}" + +need_httpd_cgi +need_php_httpd + +pkg_setup() { + webapp_pkg_setup + use mysql && require_php_with_use mysql + use postgres && require_php_with_use postgres +} + +src_prepare() { + # Customize config.php so that the right 'DB_TYPE' is already set (according to the USE flag) + einfo "Customizing config.php..." + mv config.php{-dist,} || die "Could not rename config.php-dist to config.php." + if use mysql && ! use postgres; then + sed -e "/define('DB_TYPE',/{s:pgsql:mysql:}" -i config.php || die "sed failed" + fi + sed -e "/define('DB_TYPE',/{s:// \(or mysql\):// pgsql \1:}" -i config.php \ + || die "sed failed" +} + +src_install() { + webapp_src_preinst + + insinto "/${MY_HTDOCSDIR}" + doins -r * || die "Could not copy the files to ${MY_HTDOCSDIR}." + keepdir "/${MY_HTDOCSDIR}"/icons + + webapp_serverowned "${MY_HTDOCSDIR}"/icons + webapp_configfile "${MY_HTDOCSDIR}"/config.php + + webapp_postinst_txt en "${FILESDIR}"/postinstall-en.txt + webapp_src_install +} diff -r 8200f41d50a1 -r 2e8ff43534a2 www-apps/tt-rss/tt-rss-1.4.3.1.ebuild --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/www-apps/tt-rss/tt-rss-1.4.3.1.ebuild Sun Nov 28 16:00:49 2010 +0100 @@ -0,0 +1,52 @@ +# Copyright 1999-2010 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: $ + +EAPI="2" + +inherit webapp depend.php depend.apache + +DESCRIPTION="Tiny Tiny RSS - A web-based news feed (RSS/Atom) aggregator using AJAX" +HOMEPAGE="http://tt-rss.org/" +SRC_URI="http://tt-rss.org/download/${P}.tar.gz" + +LICENSE="GPL-2" +KEYWORDS="~amd64" +IUSE="mysql postgres" + +DEPEND="dev-lang/php[mysql?,postgres?]" +RDEPEND="${DEPEND}" + +need_httpd_cgi +need_php_httpd + +pkg_setup() { + webapp_pkg_setup + use mysql && require_php_with_use mysql + use postgres && require_php_with_use postgres +} + +src_prepare() { + # Customize config.php so that the right 'DB_TYPE' is already set (according to the USE flag) + einfo "Customizing config.php..." + mv config.php{-dist,} || die "Could not rename config.php-dist to config.php." + if use mysql && ! use postgres; then + sed -e "/define('DB_TYPE',/{s:pgsql:mysql:}" -i config.php || die "sed failed" + fi + sed -e "/define('DB_TYPE',/{s:// \(or mysql\):// pgsql \1:}" -i config.php \ + || die "sed failed" +} + +src_install() { + webapp_src_preinst + + insinto "/${MY_HTDOCSDIR}" + doins -r * || die "Could not copy the files to ${MY_HTDOCSDIR}." + keepdir "/${MY_HTDOCSDIR}"/icons + + webapp_serverowned "${MY_HTDOCSDIR}"/icons + webapp_configfile "${MY_HTDOCSDIR}"/config.php + + webapp_postinst_txt en "${FILESDIR}"/postinstall-en.txt + webapp_src_install +}