diff options
Diffstat (limited to 'www-apps')
-rw-r--r-- | www-apps/xrms/ChangeLog | 10 | ||||
-rw-r--r-- | www-apps/xrms/Manifest | 28 | ||||
-rw-r--r-- | www-apps/xrms/files/digest-xrms-1.99.2 | 3 | ||||
-rw-r--r-- | www-apps/xrms/files/postinstall-en.txt | 17 | ||||
-rw-r--r-- | www-apps/xrms/files/postupgrade-en.txt | 11 | ||||
-rw-r--r-- | www-apps/xrms/files/reconfig | 17 | ||||
-rw-r--r-- | www-apps/xrms/metadata.xml | 9 | ||||
-rw-r--r-- | www-apps/xrms/xrms-1.99.2.ebuild | 61 |
8 files changed, 156 insertions, 0 deletions
diff --git a/www-apps/xrms/ChangeLog b/www-apps/xrms/ChangeLog new file mode 100644 index 000000000000..0f7e416ec9a7 --- /dev/null +++ b/www-apps/xrms/ChangeLog @@ -0,0 +1,10 @@ +# ChangeLog for www-apps/xrms +# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/www-apps/xrms/ChangeLog,v 1.1 2007/01/03 00:50:48 rl03 Exp $ + +*xrms-1.99.2 (03 Jan 2007) + + 03 Jan 2007; Renat Lumpau <rl03@gentoo.org> +files/postinstall-en.txt, + +files/postupgrade-en.txt, +files/reconfig, +xrms-1.99.2.ebuild: + Initial ebuild, bug #62824. + diff --git a/www-apps/xrms/Manifest b/www-apps/xrms/Manifest new file mode 100644 index 000000000000..a1d55ea5fd91 --- /dev/null +++ b/www-apps/xrms/Manifest @@ -0,0 +1,28 @@ +AUX postinstall-en.txt 478 RMD160 8a46d7338ce6fb2e4573255a18467fa6cdaba04e SHA1 49921bd028d4796b250b9d9c59d9c4f2dbad70cd SHA256 05e85e53e870b1ff7fea491977a37f519fa5199ca479a840d71d575d46aa3d8e +MD5 55875930ae1f2de43fdf4d1f0116d70f files/postinstall-en.txt 478 +RMD160 8a46d7338ce6fb2e4573255a18467fa6cdaba04e files/postinstall-en.txt 478 +SHA256 05e85e53e870b1ff7fea491977a37f519fa5199ca479a840d71d575d46aa3d8e files/postinstall-en.txt 478 +AUX postupgrade-en.txt 284 RMD160 d681e14cf8c49021811a2855c1ed203c44646967 SHA1 309e914f2f197aa9938d02c18d75963df6a02311 SHA256 251e3b5e5bfdd717c9f3d1ad4e882096009675539e4dd80d43e1126ce79aa05e +MD5 27aa214350f6a04244a9773bf29aa622 files/postupgrade-en.txt 284 +RMD160 d681e14cf8c49021811a2855c1ed203c44646967 files/postupgrade-en.txt 284 +SHA256 251e3b5e5bfdd717c9f3d1ad4e882096009675539e4dd80d43e1126ce79aa05e files/postupgrade-en.txt 284 +AUX reconfig 395 RMD160 f87b20dc59ad889fcadf32b7252212a9b0ae008c SHA1 d8211efc012919a307d84b8a0ecbf23dc7d00b7c SHA256 7f5178680f2b122222be3e94d358f810d2a0691d9cd8f58f386e904ff47780b8 +MD5 5237472b672bfdcc1dc0694b88337e89 files/reconfig 395 +RMD160 f87b20dc59ad889fcadf32b7252212a9b0ae008c files/reconfig 395 +SHA256 7f5178680f2b122222be3e94d358f810d2a0691d9cd8f58f386e904ff47780b8 files/reconfig 395 +DIST xrms-2006-07-25-v1.99.2-.tar.gz 16694058 RMD160 c48bf7b27b6ecc08d07024097e01e597e9337c6f SHA1 0548abc0df385a1d32f236249298d820247987e3 SHA256 32a56175f1c5535bd5b1c9df5b991505f9f1bddd22db51a107142b5ae1fc29e0 +EBUILD xrms-1.99.2.ebuild 1662 RMD160 63a1eb1370f59e3c903211bbac484f01d75e6e5c SHA1 d40064d307a905119945c8ea1cd85b2f1bb417cc SHA256 232e345005453397fc73e07698fda2a5c5fc6d8f606ce32dd775e3857497562c +MD5 5e5d1a9a60dfc11ca5a78670f7841878 xrms-1.99.2.ebuild 1662 +RMD160 63a1eb1370f59e3c903211bbac484f01d75e6e5c xrms-1.99.2.ebuild 1662 +SHA256 232e345005453397fc73e07698fda2a5c5fc6d8f606ce32dd775e3857497562c xrms-1.99.2.ebuild 1662 +MISC ChangeLog 313 RMD160 27052389366138257cd7421a4aa9916c5b7539b2 SHA1 2fe1e25c2e747069ae048f1c6fde272b1411cc9d SHA256 c35aff8ec64505a0acc8b76efca229cd6e27b8b4cded027fa6c18005d59283a8 +MD5 2f005ca454fb1239b1e8f16f87d0fc16 ChangeLog 313 +RMD160 27052389366138257cd7421a4aa9916c5b7539b2 ChangeLog 313 +SHA256 c35aff8ec64505a0acc8b76efca229cd6e27b8b4cded027fa6c18005d59283a8 ChangeLog 313 +MISC metadata.xml 280 RMD160 c449ad35e8af3f158d8f8305f8a02ff98a420970 SHA1 9be68166586fe2133dc7cc5347b8edddd34e4926 SHA256 fd37fa0f441b1b68ef8dc4bffbb0a51f0414aa7c370b48369453af5f4bff177a +MD5 c339473e0ff43da76eb2f2607c441921 metadata.xml 280 +RMD160 c449ad35e8af3f158d8f8305f8a02ff98a420970 metadata.xml 280 +SHA256 fd37fa0f441b1b68ef8dc4bffbb0a51f0414aa7c370b48369453af5f4bff177a metadata.xml 280 +MD5 d02760d6feecdf3c7aee7dec4849f80c files/digest-xrms-1.99.2 280 +RMD160 0fb8fcbbdd6aca1c81aee3134fa28774ac4c7da2 files/digest-xrms-1.99.2 280 +SHA256 7ae913b8f2f37529d7ca4eb433c3387448a9a96e5e3ae0de21c9bc5f94b72c8e files/digest-xrms-1.99.2 280 diff --git a/www-apps/xrms/files/digest-xrms-1.99.2 b/www-apps/xrms/files/digest-xrms-1.99.2 new file mode 100644 index 000000000000..dbfd8bdbc497 --- /dev/null +++ b/www-apps/xrms/files/digest-xrms-1.99.2 @@ -0,0 +1,3 @@ +MD5 c5274f2d347ae76ff746903aa4438c7d xrms-2006-07-25-v1.99.2-.tar.gz 16694058 +RMD160 c48bf7b27b6ecc08d07024097e01e597e9337c6f xrms-2006-07-25-v1.99.2-.tar.gz 16694058 +SHA256 32a56175f1c5535bd5b1c9df5b991505f9f1bddd22db51a107142b5ae1fc29e0 xrms-2006-07-25-v1.99.2-.tar.gz 16694058 diff --git a/www-apps/xrms/files/postinstall-en.txt b/www-apps/xrms/files/postinstall-en.txt new file mode 100644 index 000000000000..a5ee8a0945f2 --- /dev/null +++ b/www-apps/xrms/files/postinstall-en.txt @@ -0,0 +1,17 @@ +You are almost done! + + 0. Create a new database, for example: + mysqladmin create xrms + + 1. Edit ${VHOST_ROOT}/${PN}-${PVR}/include/vars.php ; + set database settings and any other local variables. + + 2. Login on + http://${VHOST_HOSTNAME}/${VHOST_APPDIR}/install/install.php + and follow the directions. + + 3. Run Administration -> Database Structure Update and + Administration -> Data Cleanup + +Be sure to check /usr/share/doc/${PN}-${PVR}/INSTALL for upstream +instructions. diff --git a/www-apps/xrms/files/postupgrade-en.txt b/www-apps/xrms/files/postupgrade-en.txt new file mode 100644 index 000000000000..5153c07779f2 --- /dev/null +++ b/www-apps/xrms/files/postupgrade-en.txt @@ -0,0 +1,11 @@ +Post-upgrade instructions: + + 0. Back up your vars.php and include-locations.inc + + 1. Log in as an admin user. + + 2. Run Administration -> Database Structure Update and + Administration -> Data Cleanup + +Be sure to check /usr/share/doc/${PN}-${PVR}/INSTALL for upstream +instructions. diff --git a/www-apps/xrms/files/reconfig b/www-apps/xrms/files/reconfig new file mode 100644 index 000000000000..f26ccaf76ae3 --- /dev/null +++ b/www-apps/xrms/files/reconfig @@ -0,0 +1,17 @@ +#!/bin/bash + +die() { + echo "#####" + echo $1 + echo "#####" + exit 1 +} + +if [[ $1 == "install" ]]; then + sed -e "s|/full/path/to/xrms/|${VHOST_ROOT}/${PN}-${PVR}/|" -i "${MY_INSTALLDIR}/include-locations.inc" + sed -e "s|/full/path/to/xrms|${MY_INSTALLDIR}| + s|xrms/|${VHOST_APPDIR}|" -i "${VHOST_ROOT}/${PN}-${PVR}/include/vars.php" || die "sed failed" + +elif [[ $1 == "clean" ]]; then + echo $1 +fi diff --git a/www-apps/xrms/metadata.xml b/www-apps/xrms/metadata.xml new file mode 100644 index 000000000000..13bc126c7d91 --- /dev/null +++ b/www-apps/xrms/metadata.xml @@ -0,0 +1,9 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<herd>web-apps</herd> +<maintainer> +<email>web-apps@gentoo.org</email> +<name>Gentoo Web Application Packages Maintainers</name> +</maintainer> +</pkgmetadata> diff --git a/www-apps/xrms/xrms-1.99.2.ebuild b/www-apps/xrms/xrms-1.99.2.ebuild new file mode 100644 index 000000000000..510b084ed440 --- /dev/null +++ b/www-apps/xrms/xrms-1.99.2.ebuild @@ -0,0 +1,61 @@ +# Copyright 1999-2007 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/www-apps/xrms/xrms-1.99.2.ebuild,v 1.1 2007/01/03 00:50:48 rl03 Exp $ + +inherit webapp depend.php + +MY_DATE="2006-07-25" +DESCRIPTION="XRMS is a fully-integrated suite of web-based tools for Customer Relationship Management (CRM), Sales Force Automation (SFA), and Business Intelligence (BI) tools." +HOMEPAGE="http://xrms.sourceforge.net/" +SRC_URI="mirror://sourceforge/${PN}/${PN}-${MY_DATE}-v${PV}-.tar.gz" + +LICENSE="OSL-2.0" +KEYWORDS="~x86" +S="${WORKDIR}/${PN}" + +IUSE="intl" + +RDEPEND=" + >=virtual/php-4.3.0 + dev-php/PEAR-PEAR +" + +pkg_setup() { + webapp_pkg_setup + local php_flags="mysql" + + use intl && php_flags="${php_flags} nls recode" + require_php_with_use ${php_flags} +} + +src_unpack() { + unpack ${A}; cd ${S} + # Remove .cvs* files and CVS directories + find -name .cvs\* -or \( -type d -name CVS -prune \) | xargs rm -rf +} + +src_install () { + webapp_src_preinst + + dodir "${MY_HOSTROOTDIR}/${PF}" + dodoc CHANGELOG README LICENSE install/INSTALL + + cp -R . "${D}/${MY_HTDOCSDIR}" + mv "${D}/${MY_HTDOCSDIR}/include" "${D}/${MY_HOSTROOTDIR}/${PF}" + + local files="export storage tmp" + for file in ${files}; do + webapp_serverowned "${MY_HTDOCSDIR}/${file}" + done + + webapp_configfile "${MY_HOSTROOTDIR}/${PF}/include/vars.php" + webapp_configfile "${MY_HTDOCSDIR}/include-locations.inc" + webapp_configfile "${MY_HOSTROOTDIR}/${PF}/include/plugin-cfg.php" + webapp_configfile "${MY_HOSTROOTDIR}/${PF}/include/classes/SMTPs/SMTPs.ini.php" + + webapp_postinst_txt en "${FILESDIR}/postinstall-en.txt" + webapp_postupgrade_txt en "${FILESDIR}/postupgrade-en.txt" + webapp_hook_script "${FILESDIR}/reconfig" + + webapp_src_install +} |