--- /dev/null
+# 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.
+
--- /dev/null
+-----BEGIN PGP SIGNED MESSAGE-----
+Hash: SHA1
+
+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 1754 RMD160 d4e606d6b034e60964276861928b8a08a91d3657 SHA1 3a8c2a0330bafef18c5a41a61f94957c718bb95a SHA256 3b50dc1fca27a287a562c8bea50b5ecba97d9bf9132e9b41ba54a39fd0cc987e
+MD5 7f37a1562424e3fd5fa980da9504dc1d xrms-1.99.2.ebuild 1754
+RMD160 d4e606d6b034e60964276861928b8a08a91d3657 xrms-1.99.2.ebuild 1754
+SHA256 3b50dc1fca27a287a562c8bea50b5ecba97d9bf9132e9b41ba54a39fd0cc987e xrms-1.99.2.ebuild 1754
+MISC ChangeLog 396 RMD160 4f1b9d2b346989577eccd4e05ec87f0ce1567654 SHA1 db270f1de6b907ccec372b3b5c78321c17bfdfed SHA256 06dfc8eaac2576d0c6b33d6d2be934eaa00028e11ec42fa8f00fde70a3dc0bd6
+MD5 562be089f3e88541e5c77a0df36bc694 ChangeLog 396
+RMD160 4f1b9d2b346989577eccd4e05ec87f0ce1567654 ChangeLog 396
+SHA256 06dfc8eaac2576d0c6b33d6d2be934eaa00028e11ec42fa8f00fde70a3dc0bd6 ChangeLog 396
+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
+-----BEGIN PGP SIGNATURE-----
+Version: GnuPG v1.4.5 (GNU/Linux)
+
+iD8DBQFFmv3zEzitwsaoONoRAhcgAJ9idSRoTwJV4ZPlrVwHY3acZnO4mgCeKfQW
+h1IiK841cMP20i+v3umwwfY=
+=0HgX
+-----END PGP SIGNATURE-----
--- /dev/null
+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
--- /dev/null
+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.
--- /dev/null
+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.
--- /dev/null
+#!/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
--- /dev/null
+<?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>
--- /dev/null
+# 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
+}