From 6e30f8979210af55e49aa5728e2558e7ff895015 Mon Sep 17 00:00:00 2001 From: Bernard Cafarelli Date: Fri, 22 Apr 2011 09:53:11 +0000 Subject: Version bump, fix postinstall log (Portage version: 2.2.0_alpha30/cvs/Linux x86_64) --- www-apps/eyeos/ChangeLog | 8 ++++++- www-apps/eyeos/eyeos-2.4.1.ebuild | 50 +++++++++++++++++++++++++++++++++++++++ www-apps/eyeos/eyeos-2.4.ebuild | 4 ++-- 3 files changed, 59 insertions(+), 3 deletions(-) create mode 100644 www-apps/eyeos/eyeos-2.4.1.ebuild (limited to 'www-apps/eyeos') diff --git a/www-apps/eyeos/ChangeLog b/www-apps/eyeos/ChangeLog index e28c3e281982..2e931a866ddb 100644 --- a/www-apps/eyeos/ChangeLog +++ b/www-apps/eyeos/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for www-apps/eyeos # Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/www-apps/eyeos/ChangeLog,v 1.8 2011/04/12 15:15:40 voyageur Exp $ +# $Header: /var/cvsroot/gentoo-x86/www-apps/eyeos/ChangeLog,v 1.9 2011/04/22 09:53:11 voyageur Exp $ + +*eyeos-2.4.1 (22 Apr 2011) + + 22 Apr 2011; Bernard Cafarelli eyeos-2.4.ebuild, + +eyeos-2.4.1.ebuild: + Version bump, fix postinstall log *eyeos-2.4 (12 Apr 2011) diff --git a/www-apps/eyeos/eyeos-2.4.1.ebuild b/www-apps/eyeos/eyeos-2.4.1.ebuild new file mode 100644 index 000000000000..c912f20db636 --- /dev/null +++ b/www-apps/eyeos/eyeos-2.4.1.ebuild @@ -0,0 +1,50 @@ +# Copyright 1999-2011 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/www-apps/eyeos/eyeos-2.4.1.ebuild,v 1.1 2011/04/22 09:53:11 voyageur Exp $ + +EAPI="4" +inherit depend.php webapp eutils + +DESCRIPTION="AJAX web-based desktop environment" +HOMEPAGE="http://www.eyeos.org" +SRC_URI="mirror://sourceforge/eyeos/eyeos2/${P}.tar.gz" + +LICENSE="AGPL-3" +KEYWORDS="~amd64 ~x86" +IUSE="" + +DEPEND="" +need_httpd_cgi +need_php_httpd + +# http://wiki.eyeos.org/EyeOS_Requirements +RDEPEND="dev-lang/php[curl,crypt,gd,json,mysql,mysqli,pdo,sharedmem,sqlite]" + +S=${WORKDIR} + +src_install() { + webapp_src_preinst + + insinto "${MY_HTDOCSDIR}" + doins -r . + + # Placeholder for first install + touch "${ED}/${MY_HTDOCSDIR}"/settings.php + webapp_configfile "${MY_HTDOCSDIR}"/settings.php + webapp_serverowned "${MY_HTDOCSDIR}"/settings.php + + # Ugly, but eyeos needs write access in too many places + webapp_serverowned -R "${MY_HTDOCSDIR}"/eyeos/system + webapp_serverowned -R "${MY_HTDOCSDIR}"/eyeos/tmp + webapp_serverowned -R "${MY_HTDOCSDIR}"/eyeos/users + + webapp_src_install +} + +pkg_postinst() { + elog "To finish your install/upgrade, point your browser to the eyeOS installer at:" + elog " http://${VHOST_HOSTNAME}/${PN}/install/" + elog "Specific extensions may require additional packages (available or not in" + elog "portage), check the installer output" + webapp_pkg_postinst +} diff --git a/www-apps/eyeos/eyeos-2.4.ebuild b/www-apps/eyeos/eyeos-2.4.ebuild index d2dc153d32a5..33c666be94dc 100644 --- a/www-apps/eyeos/eyeos-2.4.ebuild +++ b/www-apps/eyeos/eyeos-2.4.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2011 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/www-apps/eyeos/eyeos-2.4.ebuild,v 1.1 2011/04/12 15:15:40 voyageur Exp $ +# $Header: /var/cvsroot/gentoo-x86/www-apps/eyeos/eyeos-2.4.ebuild,v 1.2 2011/04/22 09:53:11 voyageur Exp $ EAPI="4" inherit depend.php webapp eutils @@ -43,6 +43,6 @@ src_install() { pkg_postinst() { elog "To finish your install/upgrade, point your browser to the eyeOS installer at:" - elog " http://${VHOST_HOSTNAME}/${VHOST_APPDIR}:/install/" + elog " http://${VHOST_HOSTNAME}/${PN}/install/" webapp_pkg_postinst } -- cgit v1.2.3-65-gdbad