Merge commit 'Debian/debonly' into xrg, build for Debian

Conflicts:
	debian/changelog
	debian/control
	debian/rules

bzr revid: p_christ@hol.gr-20090824194522-tjcgw3u14ufirqo5
This commit is contained in:
P. Christeas 2009-08-24 22:45:22 +03:00
commit ee17b997a3
29 changed files with 701 additions and 52 deletions

58
debian/changelog vendored
View File

@ -1,3 +1,9 @@
openerp-server (5.0.3-0-1ubuntu2) intrepid; urgency=low
* Merge packaging work from Debian official
-- Panos Christeas <p_christ@hol.gr> Mon, 24 Aug 2009 22:10:00 +0300
openerp-server (5.0.3-0-1ubuntu1) intrepid; urgency=low openerp-server (5.0.3-0-1ubuntu1) intrepid; urgency=low
[ P. Christeas ] [ P. Christeas ]
@ -16,6 +22,43 @@ openerp-server (5.0.3-0-1ubuntu1) intrepid; urgency=low
-- Panos Christeas <p_christ@hol.gr> Fri, 14 Aug 2009 20:40:29 +0300 -- Panos Christeas <p_christ@hol.gr> Fri, 14 Aug 2009 20:40:29 +0300
openerp-server (5.0.3-0-1) unstable; urgency=low
* Merging upstream version 5.0.3-0.
* Removing xmlrpc.patch, went upstream.
* Using dedicated storage directory in /var/lib/openerp-server, that
way the addons directory can stay read-only for the unprivileged
user.
* Commenting out db_name in config (Closes: #542391).
* Commenting out port in config (Closes: #542406).
* Renaming logfile to openerp-server.log for consistency.
* Commenting out pidfile in config (Closes: #542427).
* Removing debconf handling in postrm, not possible to do that.
* Removing local storage directory on purge.
-- Daniel Baumann <daniel@debian.org> Mon, 24 Aug 2009 20:16:55 +0200
openerp-server (5.0.2-0-3) unstable; urgency=low
* Wrapping and sorting depends.
* Correcting spelling of Open ERP.
* Updating maintainer field.
* Updating vcs fields.
* Updating to standards version 3.8.3.
* Dropping old depends on python-xml (Closes: #543127).
* Adding maintainer homepage field to control.
* Marking maintainer homepage field to be also included in binary
packages and changelog.
-- Daniel Baumann <daniel@debian.org> Mon, 24 Aug 2009 18:23:54 +0200
openerp-server (5.0.2-0-2) unstable; urgency=high
* Adding patch from Panos Christeas <p_christ@hol.gr> to forbid RPC
calls without credentials. All versions of openerp-server affected.
-- Daniel Baumann <daniel@debian.org> Thu, 13 Aug 2009 14:45:17 +0200
openerp-server (5.0.2-0-1ubuntu2) intrepid; urgency=critical openerp-server (5.0.2-0-1ubuntu2) intrepid; urgency=critical
[ P. Christeas ] [ P. Christeas ]
@ -426,6 +469,20 @@ openerp-server (5.0.2-0-1ubuntu1) intrepid; urgency=low
-- Panos Christeas <p_christ@hol.gr> Thu, 13 Aug 2009 10:21:28 +0300 -- Panos Christeas <p_christ@hol.gr> Thu, 13 Aug 2009 10:21:28 +0300
openerp-server (5.0.2-0-1) unstable; urgency=low
* Updating standards to 3.8.1.
* Rediffing autobuild.patch (Closes: #538625).
* Upgrading package to standards version 3.8.2.
* Managing setup of unprivileged user account with debconf.
* Using more common directory name to store local debian additions.
* Updating README.Debian to reflect that the database has to be
initialized through the client (Closes: #518675).
* Removing package leftovers in postrm script.
* Merging upstream version 5.0.2-0.
-- Daniel Baumann <daniel@debian.org> Thu, 13 Aug 2009 11:24:59 +0200
openerp-server (5.0.1-0-1ubuntu2) karmic; urgency=low openerp-server (5.0.1-0-1ubuntu2) karmic; urgency=low
* Minor updates * Minor updates
@ -438,7 +495,6 @@ openerp-server (5.0.1-0-1ubuntu1) karmic; urgency=low
-- Panagiotis Kranidiotis <kranidiotis@vatica.org> Wed, 17 Jun 2009 18:45:37 +0300 -- Panagiotis Kranidiotis <kranidiotis@vatica.org> Wed, 17 Jun 2009 18:45:37 +0300
openerp-server (5.0.1-0-1) unstable; urgency=low openerp-server (5.0.1-0-1) unstable; urgency=low
* Merging upstream version 5.0.1-0. * Merging upstream version 5.0.1-0.

24
debian/control vendored
View File

@ -2,28 +2,34 @@ Source: openerp-server
Section: net Section: net
Priority: optional Priority: optional
Maintainer: Jimmy Angelakos <vyruss@hellug.gr> Maintainer: Jimmy Angelakos <vyruss@hellug.gr>
Build-Depends: debhelper (>= 7), quilt, python-dev Uploaders: Daniel Baumann <daniel@debian.org>
Build-Depends-Indep: python-lxml, python-xml, python-libxslt1, python-psycopg2 Build-Depends: debhelper (>= 7), po-debconf, python-dev, quilt
Standards-Version: 3.8.1 Build-Depends-Indep: python-libxslt1, python-lxml, python-psycopg2
Standards-Version: 3.8.3
Homepage: http://www.openerp.com/ Homepage: http://www.openerp.com/
Vcs-Browser: http://git.debian.net/?p=debian/openerp-server.git Vcs-Browser: http://git.debian-maintainers.org/?p=open-object/openerp-server.git
Vcs-Git: git://git.debian.net/git/debian/openerp-server.git Vcs-Git: git://git.debian-maintainers.org/git/open-object/openerp-server.git
XSBC-Maintainer-Homepage: http://open-object.debian-maintainers.org/
Package: openerp-server Package: openerp-server
Section: net Section: net
Architecture: all Architecture: all
Depends: ${misc:Depends}, adduser, python, python-lxml, python-xml, python-libxslt1, python-psycopg2, python-reportlab, python-pychart, python-pydot, python-tz Depends:
${misc:Depends}, adduser, python, python-libxslt1, python-lxml,
python-psycopg2, python-pydot, python-pychart, python-reportlab, python-tz
Conflicts: tinyerp-server Conflicts: tinyerp-server
Replaces: tinyerp-server Replaces: tinyerp-server
Recommends: graphviz, ghostscript, postgresql, postgresql-client, python-imaging, python-matplotlib, python-openssl, python-pyparsing Recommends:
graphviz, ghostscript, postgresql, postgresql-client, python-imaging,
python-matplotlib, python-openssl, python-pyparsing
Suggests: openerp-client Suggests: openerp-client
Description: Enterprise Resource Management (server) Description: Enterprise Resource Management (server)
OpenERP, previously known as TinyERP, is a complete ERP and CRM. The main Open ERP, previously known as TinyERP, is a complete ERP and CRM. The main
features are accounting (analytic and financial), stock management, sales and features are accounting (analytic and financial), stock management, sales and
purchases management, tasks automation, marketing campaigns, help desk, POS, purchases management, tasks automation, marketing campaigns, help desk, POS,
etc. Technical features include a distributed server, flexible workflows, an etc. Technical features include a distributed server, flexible workflows, an
object database, a dynamic GUI, customizable reports, and NET-RPC and XML-RPC object database, a dynamic GUI, customizable reports, and NET-RPC and XML-RPC
interfaces. interfaces.
. .
This package contains the OpenERP server, install openerp-client package for This package contains the Open ERP server, install openerp-client package for
the client. the client.

View File

@ -6,10 +6,10 @@ verbose = False
debug_mode = False debug_mode = False
# The file where the server pid will be stored (default False). # The file where the server pid will be stored (default False).
pidfile = /var/run/openerp.pid #pidfile = /var/run/openerp.pid
# The file where the server log will be stored (default False). # The file where the server log will be stored (default False).
logfile = /var/log/openerp.log logfile = /var/log/openerp-server.log
# The unix account on behalf openerp is running. # The unix account on behalf openerp is running.
process_user = openerp process_user = openerp
@ -19,7 +19,7 @@ process_user = openerp
interface = localhost interface = localhost
# The TCP port on which the server will listen (default 8069). # The TCP port on which the server will listen (default 8069).
port = 8070 #port = 8070
# Enable debug mode (default False). # Enable debug mode (default False).
debug_mode = False debug_mode = False
@ -37,7 +37,7 @@ smtp_user = False
smtp_password = False smtp_password = False
# Specify the database name. # Specify the database name.
db_name = openerp #db_name = openerp
# Specify the database user name (default None). # Specify the database user name (default None).
db_user = openerp db_user = openerp

View File

@ -1,7 +1,7 @@
openerp-server for Debian openerp-server for Debian
------------------------- -------------------------
OpenERP uses a PostgreSQL database to store its data. With the first generation Open ERP uses a PostgreSQL database to store its data. With the first generation
of packages, you have to setup this database manually. Here is a short of packages, you have to setup this database manually. Here is a short
explanation how to achieve this (you need to execute all commands as root): explanation how to achieve this (you need to execute all commands as root):
@ -13,27 +13,23 @@ explanation how to achieve this (you need to execute all commands as root):
the above syvinit script could also be named postgresql-VERSION (whereas the above syvinit script could also be named postgresql-VERSION (whereas
'VERSION' needs to be replace with a version number). 'VERSION' needs to be replace with a version number).
1. Creating the database 1. Creating the database user
# su - postgres -c "createdb -q --encoding=UNICODE openerp" # su - postgres -c "createuser -q --createdb --no-createrole --pwprompt openerp"
2. Creating the database user
# su - postgres -c "createuser -q --createdb --adduser openerp"
Note: If you want to run the database as another user than 'openerp', you Note: If you want to run the database as another user than 'openerp', you
need to replace 'openerp' above with the user you want instead, and you need to replace 'openerp' above with the user you want instead, and you
need to adjust 'db_user = openerp' in /etc/openerp-server.conf too. need to adjust 'db_user = openerp' in /etc/openerp-server.conf too.
4. Initializing the database 3. Restarting openerp-server
# su - postgres -c "/usr/bin/openerp-server --init=all \
--config=/etc/openerp-server.conf --stop-after-init"
5. Restarting openerp-server
# /etc/init.d/openerp-server restart # /etc/init.d/openerp-server restart
4. Initializing the database
Now you can connect with Open ERP client to the database and initialize it.
Now, you're finish. Please be aware of the following things: Now, you're finish. Please be aware of the following things:
* openerp-server has by default two accounts: * openerp-server has by default two accounts:

10
debian/openerp-server.config vendored Normal file
View File

@ -0,0 +1,10 @@
#!/bin/sh
set -e
. /usr/share/debconf/confmodule
db_input low openerp-server/username || true
db_go
db_stop

1
debian/openerp-server.examples vendored Normal file
View File

@ -0,0 +1 @@
debian/openerp-server.preseed

View File

@ -9,7 +9,7 @@
# Default-Start: 2 3 4 5 # Default-Start: 2 3 4 5
# Default-Stop: 0 1 6 # Default-Stop: 0 1 6
# Short-Description: Enterprise Resource Management software # Short-Description: Enterprise Resource Management software
# Description: OpenERP is a complete ERP and CRM software. # Description: Open ERP is a complete ERP and CRM software.
### END INIT INFO ### END INIT INFO
PATH=/sbin:/bin:/usr/sbin:/usr/bin PATH=/sbin:/bin:/usr/sbin:/usr/bin

View File

@ -1 +1 @@
debian/config/* /etc/ debian/local/openerp-server.conf /etc

View File

@ -1 +1,2 @@
/usr/share/man/man5/openerp_serverrc.5.gz /usr/share/man/man5/openerp-server.conf.5.gz /usr/share/man/man5/openerp_serverrc.5.gz /usr/share/man/man5/openerp-server.conf.5.gz
/var/lib/openerp-server/filestore /usr/lib/openerp-server/filestore

View File

@ -2,29 +2,45 @@
set -e set -e
USER="openerp" . /usr/share/debconf/confmodule
CONFFILE="/etc/openerp-server.conf" CONFFILE="/etc/openerp-server.conf"
LOGFILE="/var/log/openerp.log" LOGFILE="/var/log/openerp-server.log"
case "${1}" in case "${1}" in
configure) configure)
# Creating system user db_version 2.0
adduser --no-create-home --quiet --system ${USER}
db_get openerp-server/username
_USERNAME="${RET:-openerp}"
db_stop
if ! getent passwd | grep -q "^${_USERNAME}"
then
adduser --system --no-create-home --quiet --gecos 'Open ERP server' --group ${_USERNAME}
else
echo "Open ERP user (${_USERNAME}) already exists, doing nothing."
fi
sed -i -e "s|^process_user.*$|process_user = ${_USERNAME}|" ${CONFFILE}
# Creating log file # Creating log file
touch ${LOGFILE} touch ${LOGFILE}
chown ${USER}:adm ${LOGFILE} chown ${_USERNAME}:adm ${LOGFILE}
chmod 0640 ${LOGFILE} chmod 0640 ${LOGFILE}
# Setting ownership # Creating local storage directory
chown ${USER} /usr/lib/openerp-server/addons -R mkdir -p /var/lib/openerp-server/filestore
# Setting ownership and permissions
chmod 0640 ${CONFFILE} chmod 0640 ${CONFFILE}
chown ${USER} ${CONFFILE} chown ${_USERNAME}:${_USERNAME} ${CONFFILE}
chown ${_USERNAME}:${_USERNAME} /var/lib/openerp-server -R
echo echo
echo "* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *" echo "* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *"
echo "* OpenERP uses a PostgreSQL database to store its data. With the first *" echo "* Open ERP uses a PostgreSQL database to store its data. With the first *"
echo "* generation of packages, you have to setup this database manually. *" echo "* generation of packages, you have to setup this database manually. *"
echo "* Please read /usr/share/doc/openerp-server/README.Debian how to do it. *" echo "* Please read /usr/share/doc/openerp-server/README.Debian how to do it. *"
echo "* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *" echo "* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *"

View File

@ -2,18 +2,31 @@
set -e set -e
USER="openerp"
case "${1}" in case "${1}" in
purge) remove)
# Removing system user _USERNAME="openerp"
_GROUPNAME="openerp"
if [ -x /usr/sbin/deluser ] if [ -x /usr/sbin/deluser ]
then then
deluser --quiet --system ${USER} deluser --quiet --system ${_USERNAME}
fi fi
if [ -x /usr/sbin/delgroup ]
then
delgroup --quiet --system --only-if-empty ${_GROUPNAME} || true
fi
rm -f /usr/lib/openerp-server/addons/__init__.pyc
rmdir --ignore-fail-on-non-empty /usr/lib/openerp-server/addons || true
rmdir --ignore-fail-on-non-empty /usr/lib/openerp-server || true
;; ;;
remove|upgrade|failed-upgrade|abort-install|abort-upgrade|disappear) purge)
rm -rf /var/lib/openerp-server
;;
upgrade|failed-upgrade|abort-install|abort-upgrade|disappear)
;; ;;

5
debian/openerp-server.preseed vendored Normal file
View File

@ -0,0 +1,5 @@
################################################################################
## openerp-server
#openerp-server openerp-server/username string openerp
################################################################################

9
debian/openerp-server.templates vendored Normal file
View File

@ -0,0 +1,9 @@
Template: openerp-server/username
Type: string
Default: openerp
_Description: Dedicated system account for the Open ERP server:
The Open ERP server must use a dedicated account for its operation so that
the system's security is not compromised by running it with superuser
privileges.
.
Please choose that account's username.

View File

@ -2,14 +2,14 @@ Author: Daniel Baumann <daniel@debian.org>
Description: Disable modules check to make it buildable without X11. Description: Disable modules check to make it buildable without X11.
diff -Naurp openerp-server.orig/setup.py openerp-server/setup.py diff -Naurp openerp-server.orig/setup.py openerp-server/setup.py
--- openerp-server.orig/setup.py 2008-11-03 21:33:56.000000000 +0000 --- openerp-server.orig/setup.py 2009-06-08 15:51:20.000000000 +0000
+++ openerp-server/setup.py 2008-11-09 09:00:02.000000000 +0000 +++ openerp-server/setup.py 2009-07-26 10:27:49.000000000 +0000
@@ -133,7 +133,7 @@ def data_files(): @@ -121,7 +121,7 @@ def data_files():
files.append(('.', [('bin/import_xml.rng')]))
return files return files
-check_modules() -check_modules()
+#check_modules() +#check_modules()
# create startup script f = file('openerp-server','w')
start_script = \ start_script = """#!/bin/sh\necho "OpenERP Setup - The content of this file is generated at the install stage\n" """

1
debian/po/POTFILES.in vendored Normal file
View File

@ -0,0 +1 @@
[type: gettext/rfc822deb] openerp-server.templates

39
debian/po/cs.po vendored Normal file
View File

@ -0,0 +1,39 @@
# Czech translation of openerp-server debconf templates.
# Copyright (C) 2009 Vítězslav Kotrla <vitezslav.kotrla@gmail.com>
# This file is distributed under the same license as the openerp-server package.
#
msgid ""
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: openerp-server@packages.debian.org\n"
"POT-Creation-Date: 2009-05-30 08:24+0000\n"
"PO-Revision-Date: 2009-06-21 08:20+0200\n"
"Last-Translator: Vítězslav Kotrla <vitezslav.kotrla@gmail.com>\n"
"Language-Team: Czech <debian-l10n-czech@lists.debian.org>\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"X-Generator: KBabel 1.11.4\n"
#. Type: string
#. Description
#: ../openerp-server.templates:1001
msgid "Dedicated system account for the Open ERP server:"
msgstr "Vyhrazený systémový účet, pod kterým bude běžet Open ERP server:"
#. Type: string
#. Description
#: ../openerp-server.templates:1001
msgid ""
"The Open ERP server must use a dedicated account for its operation so that the "
"system's security is not compromised by running it with superuser privileges."
msgstr ""
"Pokud by byl Open ERP server spuštěn se superuživatelskými oprávněními, mohlo by dojít "
"ke kompromitaci zabezpečení systému. Proto musí Open ERP server pro svoji činnost používat "
"vyhrazený neprivilegovaný účet."
#. Type: string
#. Description
#: ../openerp-server.templates:1001
msgid "Please choose that account's username."
msgstr "Zvolte prosím název totoho účtu."

40
debian/po/de.po vendored Normal file
View File

@ -0,0 +1,40 @@
# German translation of openerp-server debconf templates.
# Copyright (C) 2009 Kai Wasserbäch <debian@carbon-project.org>
# Copyright (C) 2009 Helge Kreutzmann <debian@helgefjell.de>
# This file is distributed under the same license as the openerp-server package.
#
msgid ""
msgstr ""
"Project-Id-Version: openerp-server 5.0.1-0-2\n"
"Report-Msgid-Bugs-To: openerp-server@packages.debian.org\n"
"POT-Creation-Date: 2009-08-24 22:41+0300\n"
"PO-Revision-Date: 2009-04-06 19:01+0200\n"
"Last-Translator: Helge Kreutzmann <debian@helgefjell.de>\n"
"Language-Team: German <debian-l10n-german@lists.debian.org>\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
#. Type: string
#. Description
#: ../openerp-server.templates:1001
msgid "Dedicated system account for the Open ERP server:"
msgstr "Eigenes Systemkonto für den Open ERP-Server:"
#. Type: string
#. Description
#: ../openerp-server.templates:1001
msgid ""
"The Open ERP server must use a dedicated account for its operation so that "
"the system's security is not compromised by running it with superuser "
"privileges."
msgstr ""
"Der Open ERP-Server muss ein eigenes Konto für den Betrieb verwenden, um die "
"Sicherheit des Systems nicht durch das Betreiben mit Superuser-Rechten zu "
"kompromittieren."
#. Type: string
#. Description
#: ../openerp-server.templates:1001
msgid "Please choose that account's username."
msgstr "Bitte wählen Sie den Benutzernamen dieses Kontos."

41
debian/po/es.po vendored Normal file
View File

@ -0,0 +1,41 @@
# Spanish translation of openerp-server debconf templates.
# Copyright (C) 2009 Software in the Public Interest
# 2009 Fernando González de Requena <fgrequena@gmail.com>
# This file is distributed under the same license as the openerp-server package.
#
msgid ""
msgstr ""
"Project-Id-Version: openerp-server 5.0.1-0-2\n"
"Report-Msgid-Bugs-To: openerp-server@packages.debian.org\n"
"POT-Creation-Date: 2009-08-24 22:41+0300\n"
"PO-Revision-Date: 2009-03-30 22:35+0200\n"
"Last-Translator: Fernando González de Requena <fgrequena@gmail.com>\n"
"Language-Team: Spanish <debian-l10n-spanish@lists.debian.org>\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"X-Generator: KBabel 1.11.4\n"
#. Type: string
#. Description
#: ../openerp-server.templates:1001
msgid "Dedicated system account for the Open ERP server:"
msgstr "Cuenta del sistema dedicada para el servidor Open ERP:"
#. Type: string
#. Description
#: ../openerp-server.templates:1001
msgid ""
"The Open ERP server must use a dedicated account for its operation so that "
"the system's security is not compromised by running it with superuser "
"privileges."
msgstr ""
"El servidor de Open ERP debe utilizar una cuenta dedicada para su "
"funcionamiento, de tal modo que la seguridad del sistema no se vea "
"comprometida por su utilización con privilegios de administración."
#. Type: string
#. Description
#: ../openerp-server.templates:1001
msgid "Please choose that account's username."
msgstr "Elija un nombre de usuario para esa cuenta."

41
debian/po/fi.po vendored Normal file
View File

@ -0,0 +1,41 @@
# Finnish translation of openerp-server debconf templates.
# Copyright (C) 2009 Esko Arajärvi
# This file is distributed under the same license as the openerp-server package.
#
msgid ""
msgstr ""
"Project-Id-Version: openerp-server\n"
"Report-Msgid-Bugs-To: openerp-server@packages.debian.org\n"
"POT-Creation-Date: 2009-08-24 22:41+0300\n"
"PO-Revision-Date: 2009-04-07 22:19+0300\n"
"Last-Translator: Esko Arajärvi <edu@iki.fi>\n"
"Language-Team: Finnish <debian-l10n-finnish@lists.debian.org>\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=utf-8\n"
"Content-Transfer-Encoding: 8bit\n"
"X-Generator: Lokalize 0.3\n"
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
#. Type: string
#. Description
#: ../openerp-server.templates:1001
msgid "Dedicated system account for the Open ERP server:"
msgstr "Dedikoitu järjestelmätunnus Open ERP-taustaohjelman ajamiseen:"
#. Type: string
#. Description
#: ../openerp-server.templates:1001
msgid ""
"The Open ERP server must use a dedicated account for its operation so that "
"the system's security is not compromised by running it with superuser "
"privileges."
msgstr ""
"Open ERP-palvelimen tulee käyttää dedikoitua tunnusta toiminnoissaan, jotta "
"järjestelmän turvallisuus ei vaarannu kuten käytettäessä "
"pääkäyttäjäoikeuksia."
#. Type: string
#. Description
#: ../openerp-server.templates:1001
msgid "Please choose that account's username."
msgstr "Valitse kyseisen tunnuksen nimi."

39
debian/po/fr.po vendored Normal file
View File

@ -0,0 +1,39 @@
# French translation of openerp-server debconf templates.
# Copyright (C) 2009 Steve Petruzzello <dlist@bluewin.ch>
# This file is distributed under the same license as the openerp-server package.
#
msgid ""
msgstr ""
"Project-Id-Version: 5.0.1-0-2\n"
"Report-Msgid-Bugs-To: openerp-server@packages.debian.org\n"
"POT-Creation-Date: 2009-08-24 22:41+0300\n"
"PO-Revision-Date: 2009-03-26 01:12+0100\n"
"Last-Translator: Steve Petruzzello <dlist@bluewin.ch>\n"
"Language-Team: French <debian-l10n-french@lists.debian.org>\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=utf-8\n"
"Content-Transfer-Encoding: 8bit\n"
#. Type: string
#. Description
#: ../openerp-server.templates:1001
msgid "Dedicated system account for the Open ERP server:"
msgstr "Identifiant dédié pour le serveur Open ERP:"
#. Type: string
#. Description
#: ../openerp-server.templates:1001
msgid ""
"The Open ERP server must use a dedicated account for its operation so that "
"the system's security is not compromised by running it with superuser "
"privileges."
msgstr ""
"Le serveur Open ERP doit être exécuté avec un identifiant spécifique, "
"différent du superutilisateur, afin de ne pas compromettre la sécurité du "
"système."
#. Type: string
#. Description
#: ../openerp-server.templates:1001
msgid "Please choose that account's username."
msgstr "Veuillez choisir cet identifiant."

41
debian/po/gl.po vendored Normal file
View File

@ -0,0 +1,41 @@
# Galizian translation of openerp-server debconf templates.
# Copyright (C) 2009 Marce Villarino <mvillarino@gmail.com>
# This file is distributed under the same license as the openerp-server package.
#
msgid ""
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: openerp-server@packages.debian.org\n"
"POT-Creation-Date: 2009-08-24 22:41+0300\n"
"PO-Revision-Date: 2009-04-15 21:32+0200\n"
"Last-Translator: marce villarino <mvillarino@users.sourceforge.net>\n"
"Language-Team: Galician <proxecto@trasno.ent>\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"X-Generator: Lokalize 0.2\n"
"Plural-Forms: nplurals=2; plural=n != 1;\n"
#. Type: string
#. Description
#: ../openerp-server.templates:1001
msgid "Dedicated system account for the Open ERP server:"
msgstr "Conta de usuario do sistema adicada ao servidor Open ERP:"
#. Type: string
#. Description
#: ../openerp-server.templates:1001
msgid ""
"The Open ERP server must use a dedicated account for its operation so that "
"the system's security is not compromised by running it with superuser "
"privileges."
msgstr ""
"O servidor Open ERP debe empregar unha conta adicada a el para que a "
"seguridade do sistema non se poña en perigo ao executalo con privilexios de "
"administrador."
#. Type: string
#. Description
#: ../openerp-server.templates:1001
msgid "Please choose that account's username."
msgstr "Escolla o nome de usuario desa conta."

40
debian/po/it.po vendored Normal file
View File

@ -0,0 +1,40 @@
# Italian translation of openerp-server debconf templates.
# Copyright (C) 2009 Vincenzo Campanella <vinz65@gmail.com>
# This file is distributed under the same license as the openerp-server package.
#
msgid ""
msgstr ""
"Project-Id-Version: openerp-server 5.0.1-0-2\n"
"Report-Msgid-Bugs-To: openerp-server@packages.debian.org\n"
"POT-Creation-Date: 2009-08-24 22:41+0300\n"
"PO-Revision-Date: 2009-03-26 08:52+0100\n"
"Last-Translator: Vincenzo Campanella <vinz65@gmail.com>\n"
"Language-Team: Italian <tp@lists.linux.it>\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"X-Generator: KBabel 1.11.4\n"
#. Type: string
#. Description
#: ../openerp-server.templates:1001
msgid "Dedicated system account for the Open ERP server:"
msgstr "Account di sistema dedicato per il server di Open ERP:"
#. Type: string
#. Description
#: ../openerp-server.templates:1001
msgid ""
"The Open ERP server must use a dedicated account for its operation so that "
"the system's security is not compromised by running it with superuser "
"privileges."
msgstr ""
"Il server Open ERP deve utilizzare un account dedicato per eseguire le "
"proprie operazioni, in modo che la sicurezza del sistema non rischi di "
"essere compromessa eseguendolo con privilegi di superutente."
#. Type: string
#. Description
#: ../openerp-server.templates:1001
msgid "Please choose that account's username."
msgstr "Scegliere il nome utente di tale account."

38
debian/po/ja.po vendored Normal file
View File

@ -0,0 +1,38 @@
# Japanese translation of openerp-server debconf templates.
# Copyright (C) 2009 Hideki Yamane <henrich@debian.or.jp>
# This file is distributed under the same license as the openerp-server package.
#
msgid ""
msgstr ""
"Project-Id-Version: openerp-server 5.0.1-0-2\n"
"Report-Msgid-Bugs-To: openerp-server@packages.debian.org\n"
"POT-Creation-Date: 2009-08-24 22:41+0300\n"
"PO-Revision-Date: 2009-04-09 19:20+0900\n"
"Last-Translator: Hideki Yamane (Debian-JP) <henrich@debian.or.jp>\n"
"Language-Team: Japanese <debian-japanese@lists.debian.org>\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
#. Type: string
#. Description
#: ../openerp-server.templates:1001
msgid "Dedicated system account for the Open ERP server:"
msgstr "Open ERP デーモン専用のシステムアカウント:"
#. Type: string
#. Description
#: ../openerp-server.templates:1001
msgid ""
"The Open ERP server must use a dedicated account for its operation so that "
"the system's security is not compromised by running it with superuser "
"privileges."
msgstr ""
"Open ERP サーバはその動作について専用のアカウントを使うようになっているため、"
"管理者特権で動作していてもシステムのセキュリティは侵害されません。"
#. Type: string
#. Description
#: ../openerp-server.templates:1001
msgid "Please choose that account's username."
msgstr "アカウントのユーザ名を選んでください。"

40
debian/po/pt.po vendored Normal file
View File

@ -0,0 +1,40 @@
# Portuguese translation of openerp-server debconf templates.
# Copyright (C) 2009 Américo Monteiro <a_monteiro@netcabo.pt>
# This file is distributed under the same license as the openerp-server package.
#
msgid ""
msgstr ""
"Project-Id-Version: openerp-server 5.0.1-0-2\n"
"Report-Msgid-Bugs-To: openerp-server@packages.debian.org\n"
"POT-Creation-Date: 2009-08-24 22:41+0300\n"
"PO-Revision-Date: 2009-03-26 19:12+0000\n"
"Last-Translator: Américo Monteiro <a_monteiro@netcabo.pt>\n"
"Language-Team: Portuguese <traduz@debianpt.org>\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"X-Generator: KBabel 1.11.4\n"
#. Type: string
#. Description
#: ../openerp-server.templates:1001
msgid "Dedicated system account for the Open ERP server:"
msgstr "Conta dedicada do sistema para o servidor Open ERP:"
#. Type: string
#. Description
#: ../openerp-server.templates:1001
msgid ""
"The Open ERP server must use a dedicated account for its operation so that "
"the system's security is not compromised by running it with superuser "
"privileges."
msgstr ""
"O servidor Open ERP tem que usar uma conta dedicada para as suas operações, "
"isto para que a segurança do sistema não seja comprometida ao corrê-lo com "
"privilégios de superutilizador."
#. Type: string
#. Description
#: ../openerp-server.templates:1001
msgid "Please choose that account's username."
msgstr "Por favor escolha o nome dessa conta."

43
debian/po/ru.po vendored Normal file
View File

@ -0,0 +1,43 @@
# German translation of openerp-server debconf templates.
# Copyright (C) 2009 Sergey Alyoshin <alyoshin.s@gmail.com>
# Copyright (C) 2009 Yuri Kozlov <yuray@komyakino.ru>
# This file is distributed under the same license as the openerp-server package.
#
msgid ""
msgstr ""
"Project-Id-Version: openerp-server 5.0.1-0-2\n"
"Report-Msgid-Bugs-To: openerp-server@packages.debian.org\n"
"POT-Creation-Date: 2009-08-24 22:41+0300\n"
"PO-Revision-Date: 2009-04-08 21:08+0400\n"
"Last-Translator: Yuri Kozlov <yuray@komyakino.ru>\n"
"Language-Team: Russian <debian-l10n-russian@lists.debian.org>\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"X-Generator: KBabel 1.11.4\n"
"Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && n%"
"10<=4 && (n%100<10 || n%100>=20) ? 1 : 2);\n"
#. Type: string
#. Description
#: ../openerp-server.templates:1001
msgid "Dedicated system account for the Open ERP server:"
msgstr "Специально выделенная системная учётная запись для Open ERP службы:"
#. Type: string
#. Description
#: ../openerp-server.templates:1001
msgid ""
"The Open ERP server must use a dedicated account for its operation so that "
"the system's security is not compromised by running it with superuser "
"privileges."
msgstr ""
"Для улучшения безопасности системы Open ERP сервер должен использовать "
"специально выделенную учётную запись, а не запускаться с правами "
"суперпользователя."
#. Type: string
#. Description
#: ../openerp-server.templates:1001
msgid "Please choose that account's username."
msgstr "Укажите имя такой учётной записи."

40
debian/po/sv.po vendored Normal file
View File

@ -0,0 +1,40 @@
# Swedish translation of openerp-server debconf templates.
# Copyright (C) 2009 Martin Bagge <brother@bsnet.se>
# This file is distributed under the same license as the openerp-server package.
#
msgid ""
msgstr ""
"Project-Id-Version: openerp-server\n"
"Report-Msgid-Bugs-To: openerp-server@packages.debian.org\n"
"POT-Creation-Date: 2009-08-24 22:41+0300\n"
"PO-Revision-Date: 2009-04-07 18:36+0100\n"
"Last-Translator: Martin Bagge <brother@bsnet.se>\n"
"Language-Team: swedish <debian-l10n-swedish@lists.debian.org>\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"X-Generator: KBabel 1.11.4\n"
"X-Poedit-Language: Swedish\n"
#. Type: string
#. Description
#: ../openerp-server.templates:1001
msgid "Dedicated system account for the Open ERP server:"
msgstr "Dedikerat systemkonto för Open ERP server:"
#. Type: string
#. Description
#: ../openerp-server.templates:1001
msgid ""
"The Open ERP server must use a dedicated account for its operation so that "
"the system's security is not compromised by running it with superuser "
"privileges."
msgstr ""
"Open ERP servern måste ha ett dedikerat konto för att fungera på ett säkert "
"sätt, att använda privilegier från en superanvändare är inte säkert."
#. Type: string
#. Description
#: ../openerp-server.templates:1001
msgid "Please choose that account's username."
msgstr "Ange kontots användarnamn."

38
debian/po/templates.pot vendored Normal file
View File

@ -0,0 +1,38 @@
# SOME DESCRIPTIVE TITLE.
# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER
# This file is distributed under the same license as the PACKAGE package.
# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
#
#, fuzzy
msgid ""
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: openerp-server@packages.debian.org\n"
"POT-Creation-Date: 2009-08-24 22:41+0300\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL@li.org>\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=CHARSET\n"
"Content-Transfer-Encoding: 8bit\n"
#. Type: string
#. Description
#: ../openerp-server.templates:1001
msgid "Dedicated system account for the Open ERP server:"
msgstr ""
#. Type: string
#. Description
#: ../openerp-server.templates:1001
msgid ""
"The Open ERP server must use a dedicated account for its operation so that "
"the system's security is not compromised by running it with superuser "
"privileges."
msgstr ""
#. Type: string
#. Description
#: ../openerp-server.templates:1001
msgid "Please choose that account's username."
msgstr ""

38
debian/po/zh_CN.po vendored Normal file
View File

@ -0,0 +1,38 @@
# Simplified Chinese translation of openerp-server debconf templates.
# Copyright (C) 2009 Deng Xiyue <manphiz-guest@users.alioth.debian.org>
# This file is distributed under the same license as the openerp-server package.
#
msgid ""
msgstr ""
"Project-Id-Version: openerp-server\n"
"Report-Msgid-Bugs-To: openerp-server@packages.debian.org\n"
"POT-Creation-Date: 2009-08-24 22:41+0300\n"
"PO-Revision-Date: 2009-03-26 16:48+0800\n"
"Last-Translator: Deng Xiyue <manphiz-guest@users.alioth.debian.org>\n"
"Language-Team: Debian Chinese GB <debian-chinese-gb@lists.debian.org>\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
#. Type: string
#. Description
#: ../openerp-server.templates:1001
msgid "Dedicated system account for the Open ERP server:"
msgstr "指定操作 Open ERP 守护进程的专用系统帐户:"
#. Type: string
#. Description
#: ../openerp-server.templates:1001
msgid ""
"The Open ERP server must use a dedicated account for its operation so that "
"the system's security is not compromised by running it with superuser "
"privileges."
msgstr ""
"Open ERP 服务器必须使用一个专用的账户来进行操作,这样就不会因为使用超级用户权"
"限运行而破坏系统的安全。"
#. Type: string
#. Description
#: ../openerp-server.templates:1001
msgid "Please choose that account's username."
msgstr "请选择账户的用户名。"

21
debian/rules vendored
View File

@ -1,6 +1,20 @@
#!/usr/bin/make -f #!/usr/bin/make -f
# include /usr/share/quilt/quilt.make SHELL := sh -e
update:
# Needs: shell-helper
cd debian; \
debconf-create-preseed *.config; \
for FILE in debian/*.preseed; \
do \
grep -v preseed $$FILE > $$FILE.tmp; \
mv $$FILE.tmp $$FILE; \
echo $$FILE >> debian/`basename $$FILE .preseed`.examples; \
done
clean: clean-patched unpatch clean: clean-patched unpatch
clean-patched: patch clean-patched: patch
@ -9,10 +23,11 @@ clean-patched: patch
rm -f build-stamp rm -f build-stamp
NO_CHECK_MODULES=1 python setup.py clean NO_CHECK_MODULES=1 python setup.py clean
rm -rf build openerp-server rm -rf build openerp-server
-find $(CURDIR) -type f -name "*.pyc" | xargs rm -f -find $(CURDIR) -type f -name "*.pyc" | xargs rm -f
debconf-updatepo
dh_clean dh_clean
build: build:
@ -45,8 +60,10 @@ binary-indep: install
dh_testroot dh_testroot
dh_installchangelogs doc/Changelog dh_installchangelogs doc/Changelog
dh_installdocs dh_installdocs
dh_installexamples
dh_install dh_install
dh_installinit --update-rcd-params='defaults 21' dh_installinit --update-rcd-params='defaults 21'
dh_installdebconf
dh_lintian dh_lintian
dh_link dh_link
dh_compress dh_compress