wok view openerp-web/receipt @ rev 25659

expat (2.6.0) CVE-2023-52426
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat Feb 17 10:09:12 2024 +0000 (8 months ago)
parents 240fb3120638
children
line source
1 # SliTaz package receipt.
3 PACKAGE="openerp-web"
4 VERSION="5.0.14"
5 CATEGORY="office"
6 SHORT_DESC="Open source ERP web client."
7 MAINTAINER="pankso@slitaz.org"
8 LICENSE="MPL"
9 TARBALL="$PACKAGE-$VERSION.tar.gz"
10 WEB_SITE="http://openerp.com/"
11 WGET_URL="https://nightly.odoo.com/old/openerp-${VERSION%.*}/$TARBALL"
12 CONFIG_FILES="/etc/openerp/openerp-web.conf"
13 # http://doc.openerp.com/install/linux/web/index.html
15 DEPENDS="matplotlib python-turbogears python-pil python \
16 python-pyxml python-pyparsing python-babel python-mako python-markupsafe"
17 BUILD_DEPENDS="python-setuptools python-dev python python-pyxml python-turbogears"
19 # Rules to configure and make the package.
20 compile_rules()
21 {
22 python setup.py install --root=$DESTDIR
23 }
25 # Rules to gen a SliTaz package suitable for Tazpkg.
26 genpkg_rules()
27 {
28 mkdir -p $fs/usr $fs/etc/openerp $fs/usr/share/applications
29 cp -a stuff/etc $fs/
30 cp -a $install/usr/config/openerp-web.cfg $fs/etc/openerp/openerp-web.conf
31 cp -a $install/usr/bin $fs/usr
32 cp -a $install/usr/lib $fs/usr
33 }
35 # Pre and post install commands for Tazpkg.
36 post_install()
37 {
38 #sed -i "s/^RUN_DAEMONS=\"/RUN_DAEMONS=\"openerp-web /" "$1/etc/rcS.conf"
39 [ -z "$1" ] && /etc/init.d/openerp-web start
40 cat <<EOF
41 ----
42 To start $PACKAGE server you can run :
44 /etc/init.d/openerp-web start
46 Or add $PACKAGE to RUN_DAEMONS in /etc/rcS.conf
47 ----
48 EOF
49 }