summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJean-Noël Rivasseau <elvanor@gentoo.org>2010-12-13 11:08:43 +0000
committerJean-Noël Rivasseau <elvanor@gentoo.org>2010-12-13 11:08:43 +0000
commit22310a3ec2d052c3a3ffea6715f714fc44ec787b (patch)
treed7701987f400fd6aece8625f2e5c4a6e6c8b1fe4 /app-office
parentBug #267886. (diff)
downloadgentoo-2-22310a3ec2d052c3a3ffea6715f714fc44ec787b.tar.gz
gentoo-2-22310a3ec2d052c3a3ffea6715f714fc44ec787b.tar.bz2
gentoo-2-22310a3ec2d052c3a3ffea6715f714fc44ec787b.zip
Bug #267886.
(Portage version: 2.1.9.24/cvs/Linux i686)
Diffstat (limited to 'app-office')
-rw-r--r--app-office/openerp-web/ChangeLog10
-rwxr-xr-xapp-office/openerp-web/files/openerp-web22
-rwxr-xr-xapp-office/openerp-web/files/openerp-web-confd3
-rw-r--r--app-office/openerp-web/metadata.xml10
-rw-r--r--app-office/openerp-web/openerp-web-5.0.6.ebuild38
5 files changed, 83 insertions, 0 deletions
diff --git a/app-office/openerp-web/ChangeLog b/app-office/openerp-web/ChangeLog
new file mode 100644
index 000000000000..47f08edeaeaf
--- /dev/null
+++ b/app-office/openerp-web/ChangeLog
@@ -0,0 +1,10 @@
+# ChangeLog for app-office/openerp-web
+# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/app-office/openerp-web/ChangeLog,v 1.1 2010/12/13 11:08:43 elvanor Exp $
+
+*openerp-web-5.0.6 (13 Dec 2010)
+
+ 13 Dec 2010; <elvanor@gentoo.org> +openerp-web-5.0.6.ebuild,
+ +files/openerp-web, +files/openerp-web-confd, +metadata.xml:
+ Initial import. Bug #267886.
+
diff --git a/app-office/openerp-web/files/openerp-web b/app-office/openerp-web/files/openerp-web
new file mode 100755
index 000000000000..264b0e01ebab
--- /dev/null
+++ b/app-office/openerp-web/files/openerp-web
@@ -0,0 +1,22 @@
+#!/sbin/runscript
+
+# Additional options that are passed to the daemon.
+DAEMON_OPTS="-c ${CONFIGFILE}"
+
+depend() {
+ need openerp-server
+}
+
+start() {
+ ebegin "Starting openerp-web"
+ start-stop-daemon --start --quiet --pidfile "${PIDFILE}" --exec /usr/bin/openerp-web \
+ --chuid "${USER}" --make-pidfile --background -- ${DAEMON_OPTS}
+ eend $?
+}
+
+stop() {
+ ebegin "Stopping openerp-web"
+ start-stop-daemon --stop --quiet --pidfile "${PIDFILE}" --oknodo
+ rm -f "${PIDFILE}"
+ eend $?
+}
diff --git a/app-office/openerp-web/files/openerp-web-confd b/app-office/openerp-web/files/openerp-web-confd
new file mode 100755
index 000000000000..464b233a8fd3
--- /dev/null
+++ b/app-office/openerp-web/files/openerp-web-confd
@@ -0,0 +1,3 @@
+USER="openerp"
+CONFIGFILE="/etc/openerp/openerp-web.cfg"
+PIDFILE="/var/run/openerp/openerp-web.pid" \ No newline at end of file
diff --git a/app-office/openerp-web/metadata.xml b/app-office/openerp-web/metadata.xml
new file mode 100644
index 000000000000..20218e3ea9ba
--- /dev/null
+++ b/app-office/openerp-web/metadata.xml
@@ -0,0 +1,10 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>no-herd</herd>
+<maintainer>
+ <email>elvanor@gentoo.org</email>
+</maintainer>
+<longdescription>An Open Source ERP &amp; CRM. This is the Web component, it is a bridge allowing Web clients to connect
+to the server.</longdescription>
+</pkgmetadata>
diff --git a/app-office/openerp-web/openerp-web-5.0.6.ebuild b/app-office/openerp-web/openerp-web-5.0.6.ebuild
new file mode 100644
index 000000000000..28761c2c4869
--- /dev/null
+++ b/app-office/openerp-web/openerp-web-5.0.6.ebuild
@@ -0,0 +1,38 @@
+# Copyright 1999-2010 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/app-office/openerp-web/openerp-web-5.0.6.ebuild,v 1.1 2010/12/13 11:08:43 elvanor Exp $
+
+EAPI="2"
+
+inherit eutils distutils
+
+DESCRIPTION="Open Source ERP & CRM"
+HOMEPAGE="http://www.openerp.com/"
+SRC_URI="http://www.openerp.com/download/stable/source/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+CDEPEND="dev-python/cherrypy
+ dev-python/mako
+ dev-python/Babel
+ dev-python/formencode
+ dev-python/simplejson
+ dev-python/beaker"
+
+RDEPEND="${CDEPEND}"
+DEPEND="${CDEPEND}"
+
+S="${WORKDIR}/openerp-client-web-${PV}"
+
+src_install() {
+ distutils_src_install
+
+ doinitd "${FILESDIR}/${PN}"
+ newconfd "${FILESDIR}/openerp-web-confd" "${PN}"
+
+ rm "${D}/usr/scripts/${PN}"
+ rm "${D}/usr/config/${PN}.cfg"
+} \ No newline at end of file