From b3aca1d825bb9758cbcd2d5aa8cf8f670e6a0084 Mon Sep 17 00:00:00 2001 From: Aaron Bohy Date: Tue, 6 Jan 2015 09:12:11 +0100 Subject: [PATCH] [FIX] Packaging: Debian: lintian errors and warnings - control: - duplicated Section entry removed - X-Python-Version added - Uploaders added - init: - set odoo.py as deamon instead of openerp-server - source /lib/lsb/init-functions to fix Debian lintian warning init.d-script-does-not-source-init-functions - copyright: machine-readable (dep5) copyright --- debian/control | 3 ++- debian/copyright | 6 ++---- debian/init | 8 +++++--- 3 files changed, 9 insertions(+), 8 deletions(-) diff --git a/debian/control b/debian/control index 0ec394a6377..f6982ecc396 100644 --- a/debian/control +++ b/debian/control @@ -2,13 +2,14 @@ Source: odoo Section: net Priority: optional Maintainer: Odoo S.A. +Uploaders: Aaron Bohy , Simon Lejeune Build-Depends: debhelper (>= 9.0), python, rsync +X-Python-Version: 2.7 Standards-Version: 3.9.5.0 Homepage: http://www.odoo.com/ Vcs-Git: https://github.com/odoo/odoo Package: odoo -Section: net Architecture: all Depends: ${misc:Depends}, diff --git a/debian/copyright b/debian/copyright index 0866450aa9a..2fb0ad4b115 100644 --- a/debian/copyright +++ b/debian/copyright @@ -1,10 +1,8 @@ +Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ Upstream-Contact: Odoo -Upstream-Homepage: http://www.odoo.com/ -Maintainer-Contact: Debian Odoo Maintainers -Maintainer-Homepage: http://www.odoo.com/ Files: * -Copyright: (C) 2004-2014 OpenERP SA. (www.openerp.com) +Copyright: (C) 2004-2015 Odoo SA. (www.odoo.com) License: AGPL-3+ This program is free software: you can redistribute it and/or modify it under the terms of the GNU Affero General Public License as published by diff --git a/debian/init b/debian/init index ee4c0120db5..2a3a165dbee 100644 --- a/debian/init +++ b/debian/init @@ -1,18 +1,20 @@ #!/bin/bash ### BEGIN INIT INFO -# Provides: openerp-server +# Provides: odoo.py # Required-Start: $remote_fs $syslog # Required-Stop: $remote_fs $syslog # Default-Start: 2 3 4 5 # Default-Stop: 0 1 6 -# Short-Description: Start openerp daemon at boot time +# Short-Description: Start odoo daemon at boot time # Description: Enable service provided by daemon. # X-Interactive: true ### END INIT INFO ## more info: http://wiki.debian.org/LSBInitScripts +. /lib/lsb/init-functions + PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/bin -DAEMON=/usr/bin/openerp-server +DAEMON=/usr/bin/odoo.py NAME=odoo DESC=odoo CONFIG=/etc/odoo/openerp-server.conf