diff options
Diffstat (limited to 'www-apps/sugarcrm')
-rw-r--r-- | www-apps/sugarcrm/ChangeLog | 7 | ||||
-rw-r--r-- | www-apps/sugarcrm/sugarcrm-6.5.1.ebuild | 56 |
2 files changed, 62 insertions, 1 deletions
diff --git a/www-apps/sugarcrm/ChangeLog b/www-apps/sugarcrm/ChangeLog index 99f03b3749c3..df9c07a880a0 100644 --- a/www-apps/sugarcrm/ChangeLog +++ b/www-apps/sugarcrm/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for www-apps/sugarcrm # Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/www-apps/sugarcrm/ChangeLog,v 1.3 2012/09/10 14:55:47 maksbotan Exp $ +# $Header: /var/cvsroot/gentoo-x86/www-apps/sugarcrm/ChangeLog,v 1.4 2012/10/24 14:19:07 maksbotan Exp $ + +*sugarcrm-6.5.1 (24 Oct 2012) + + 24 Oct 2012; Maxim Koltsov <maksbotan@gentoo.org> +sugarcrm-6.5.1.ebuild: + Bump to 6.5.1, thanks to slepnoga *sugarcrm-6.4.5 (10 Sep 2012) diff --git a/www-apps/sugarcrm/sugarcrm-6.5.1.ebuild b/www-apps/sugarcrm/sugarcrm-6.5.1.ebuild new file mode 100644 index 000000000000..0c185f3b64d7 --- /dev/null +++ b/www-apps/sugarcrm/sugarcrm-6.5.1.ebuild @@ -0,0 +1,56 @@ +# Copyright 1999-2012 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/www-apps/sugarcrm/sugarcrm-6.5.1.ebuild,v 1.1 2012/10/24 14:19:07 maksbotan Exp $ + +EAPI="2" + +MY_PN="SugarCE" + +inherit webapp eutils + +DESCRIPTION="A complete CRM and groupware system for businesses of all sizes." +HOMEPAGE="http://www.sugarforge.org/" +SRC_URI="mirror://sourceforge/project/sugarcrm/SugarCRM%20Release%20Archive/SugarCRM%206.5.X/SugarCommunityEdition-${PV}/${MY_PN}-${PV}.zip" + +LICENSE="GPL-3" +KEYWORDS="~amd64 ~x86" +IUSE="curl imap +json +zlib +mysql +mysqli freetds ldap mssql" + +DEPEND=">=dev-lang/php-5.2.10[ssl,soap,unicode,xml,session,tokenizer,ldap?,mssql?,mysql?,mysqli?,zlib?,curl?,imap?,json?] + dev-php/PEAR-DB + dev-php/PEAR-Cache_Lite + dev-php/PEAR-Mail_Mime + virtual/httpd-cgi + freetds? ( >=dev-db/freetds-0.64 + mssql? ( >=dev-db/freetds-0.64[mssql] ) ) + app-arch/unzip" + +RDEPEND="${DEPEND}" + +S="${WORKDIR}/${MY_PN}-Full-${PV}" + +src_install () { + webapp_src_preinst + + cd "${S}" + einfo "Installing main files" + cp -R . "${D}/${MY_HTDOCSDIR}" + + webapp_configfile "${MY_HTDOCSDIR}"/config.php + webapp_configfile "${MY_HTDOCSDIR}"/.htaccess + + for foo in cache custom data modules include ; do + webapp_serverowned -R "${MY_HTDOCSDIR}"/"${foo}" || die + + done + + webapp_serverowned "${MY_HTDOCSDIR}"/config.php + + elog "Please make adjustment of your php.ini or .htaccess file" + elog "Change value \"session.path = \" according to your desire" + elog "Files of sessions are stored in this directory" + elog "For more info see http://developers.sugarcrm.com/documentation.php" + + webapp_postinst_txt en "${FILESDIR}/"postinstall-en.txt + webapp_src_install +} |