diff --git a/debian/README.Debian b/debian/README.Debian new file mode 100644 index 00000000000..1fd378c7e72 --- /dev/null +++ b/debian/README.Debian @@ -0,0 +1,44 @@ +openerp-server for Debian +------------------------- + +OpenERP 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 +explanation how to achieve this (you need to execute all commands as root): + + 0. Making sure, PostgreSQL is running + + # /etc/init.d/postgresql* restart + + 1. Creating the database + + # su - postgres -c "createdb -q --encoding=UNICODE 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 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. + + 3. Restarting openerp-server + + # /etc/init.d/openerp-server restart + +Now, you're finish. Please be aware of the following things: + + * openerp-server has by default two accounts: + - User: admin; password: admin + - User: demo; password; demo + + * openerp-server listens by default on port 8069. If you need to change this, + edit /etc/openerp-server.conf and replace 'port = 8069' with + 'port = '. + + * openerp-server in the upstreams configuration listens by default to *all* + interfaces. For security reasons, we do restrict it in the Debian packages + to listen only on localhost. If you need to change this, edit + /etc/openerp-server.conf and replace 'interface = localhost' with + 'interface = '. + + -- Daniel Baumann Fri, 1 Jun 2007 12:00:00 +0200 diff --git a/debian/changelog b/debian/changelog new file mode 100644 index 00000000000..fdc15885f77 --- /dev/null +++ b/debian/changelog @@ -0,0 +1,202 @@ +tinyerp-server (5.0.0~alpha-1) experimental; urgency=low + + * Merging upstream version 5.0.0~alpha. + * Rediffing autobuild.dpatch. + * Removing shebang.dpatch, not needed anymore. + * Removing python2.5.dpatch, not needed anymore. + * Rediffing openerp.dpatch. + * Rediffing migrate.dpatch. + * Not moving server to sbin anymore for the sake of consistency. + * Removing unneeded chmod call for tinyerp-server.py. + * Sorting build-depends, depends and recommends. + * Dropping /etc/default/tinyerp-server in favour of using + /etc/tinyerp-server.conf directly. + * Updating chmod call in rules to also cope with filenames that embedd + whitespaces. + * Adding patch to correct shebang in two addon files. + * Adding workaround for bug in setup.py that puts import_xml.rng into the + wrong location. + * Adding symlink for tinyerp_serverrc manpage to tinyerp-server.conf. + * Renaming everything except the package name itself from tinyerp-server to + openerp-server. + * Updating copyright file to current upstream. + + -- Daniel Baumann Sun, 9 Nov 2008 15:52:00 +0100 + +tinyerp-server (4.2.3.4-1) unstable; urgency=low + + * Merging upstream version 4.2.3.4. + * Upgrading package to debhelper 7. + * Upgrading package to standards 3.8.0. + * Updating homepage field in control file. + * Adding vcs fields in control file. + * Rewriting copyright file in machine-interpretable format. + * Using lintian debhelper to install lintian overrides. + * Removing bind-exit.dpatch, went upstream. + * Updating default database port. + * Adding logfile handling. + * Updating postresql recommends. + * Reordering and splitting out rules file into individual debhelper files. + * Applying some shell cosmetics to init and maintainer scripts. + * Adding patch to update homepage location of tinyerp. + * Setting ownership of addons directory in postinst (Closes: #487112). + * Adding patch from Brian DeRocher to fix sql syntax in + migrate script (Closes: #467517). + + -- Daniel Baumann Sun, 9 Nov 2008 09:11:00 +0100 + +tinyerp-server (4.2.2-2) unstable; urgency=medium + + * Readding depends to python-psycopg (Closes: #463079, #493374). + * Adding depends to python-tz (Closes: #482359). + + -- Daniel Baumann Sun, 3 Aug 2008 00:20:00 +0200 + +tinyerp-server (4.2.2-1) unstable; urgency=low + + * New upstream release (Closes: #477698). + * Dropping depends against python-xml (Closes: #468619). + + -- Daniel Baumann Sat, 26 Apr 2008 16:15:00 +0200 + +tinyerp-server (4.2.1-1) unstable; urgency=low + + * Maintainer upload from the Zuerich BSP. + * New upstream release. + * Bumping to new policy. + * Using new homepage field in control. + * Including documentation for migration and testing (Closes: #445464). + * Adjusting 04-bind-exit.dpatch to new upstream release. + * Added lintian overrides. + * Depending now on python-psycopg2, not python-psycopg anymore + (Closes: #445464). + + -- Daniel Baumann Sat, 12 Jan 2008 15:20:00 +0100 + +tinyerp-server (4.2.0-1) unstable; urgency=medium + + * New upstream release. + + -- Daniel Baumann Wed, 31 Oct 2007 21:31:00 +0100 + +tinyerp-server (4.0.3-3) unstable; urgency=medium + + * Setting database port to 5433 (Closes: #443626). + * Applied patch from Aldrin Martoq to make tinyerp-server compatible with + python 2.5. + * Applied patch from Luca Falavigna to fix exception + raised when address is already in use. + + -- Daniel Baumann Sat, 29 Sep 2007 17:07:00 +0200 + +tinyerp-server (4.0.3-2) unstable; urgency=low + + * Check for existence of deluser in postrm (Closes: #431532). + + -- Daniel Baumann Tue, 3 Jul 2007 11:01:00 +0200 + +tinyerp-server (4.0.3-1) unstable; urgency=low + + * New upstream release. + * Taking package back, Jean-Marc seems to be MIA. + * Changed wording of 'listen to all interfaces' paragraph in README.Debian, + thanks to Gerfried Fuchs . + * Added lsb header to init script. + + -- Daniel Baumann Fri, 1 Jun 2007 11:59:00 +0200 + +tinyerp-server (4.0.2-3) unstable; urgency=low + + * Setting maintainer to Jean-Marc, this time really :) + + -- Daniel Baumann Wed, 28 Mar 2007 21:48:00 +0100 + +tinyerp-server (4.0.2-2) unstable; urgency=low + + * Setting maintainer to Jean-Marc. + + -- Daniel Baumann Wed, 7 Feb 2007 13:41:00 +0100 + +tinyerp-server (4.0.2-1) unstable; urgency=low + + * New upstream release. + * Some minor cleanups. + + -- Daniel Baumann Thu, 18 Jan 2007 14:19:00 +0100 + +tinyerp-server (4.0.1-1) unstable; urgency=low + + * New upstream release. + * Removed 03-setup.dpatch, went upstream. + + -- Daniel Baumann Fri, 29 Dec 2006 01:03:00 +0100 + +tinyerp-server (4.0.0-1) unstable; urgency=low + + * New upstream release. + * Added patch to fix a typo in setup.py. + + -- Daniel Baumann Tue, 5 Dec 2006 17:43:00 +0100 + +tinyerp-server (4.0.0~rc1-2) unstable; urgency=low + + * Cleaned up build-depends. + + -- Daniel Baumann Tue, 5 Dec 2006 13:19:00 +0100 + +tinyerp-server (4.0.0~rc1-1) unstable; urgency=low + + * New upstream release. + + -- Daniel Baumann Tue, 5 Dec 2006 12:57:00 +0100 + +tinyerp-server (3.5.0-1) experimental; urgency=low + + * New upstream release. + + -- Daniel Baumann Mon, 23 Oct 2006 12:23:00 +0200 + +tinyerp-server (3.4.2-1) unstable; urgency=low + + * New upstream release. + * New email address. + * Complying with new python policy (Closes: #380973). + * Adjusted postgre depends (Closes: #376614). + + -- Daniel Baumann Mon, 16 Oct 2006 14:45:00 +0200 + +tinyerp-server (3.3.0-1) unstable; urgency=low + + * New upstream release (Closes: #369769): + - fixed installation script to install all needed files (Closes: #355224) + * Updated README.Debian (Closes: #352322, #360222, #360223). + * Set to architecture to all (Closes: #356962). + + -- Daniel Baumann Sun, 4 Jun 2006 00:50:00 +0100 + +tinyerp-server (3.2.1-1) unstable; urgency=low + + * New upstream release. + + -- Daniel Baumann Thu, 2 Feb 2006 09:44:00 +0100 + +tinyerp-server (3.2.0-1) unstable; urgency=low + + * New upstream release. + * Adjusted shellbang in bin/addons/base/ir/workflow/pydot/dot_parser.py. + + -- Daniel Baumann Tue, 24 Jan 2006 07:00:00 +0100 + +tinyerp-server (3.1.99+3.2.0rc1-1) unstable; urgency=low + + * New upstream release. + + -- Daniel Baumann Tue, 27 Dec 2005 20:00:00 +0100 + +tinyerp-server (3.1.1+debian-1) unstable; urgency=low + + * Initial release (Closes: #301510). + * Rebuild orig.tar.gz to remove unnecessary files in upstreams debian/. + * Added changelog from website. + + -- Daniel Baumann Sun, 16 Oct 2005 13:35:00 +0200 diff --git a/debian/compat b/debian/compat new file mode 100644 index 00000000000..7f8f011eb73 --- /dev/null +++ b/debian/compat @@ -0,0 +1 @@ +7 diff --git a/debian/config/openerp-server.conf b/debian/config/openerp-server.conf new file mode 100644 index 00000000000..6e998262445 --- /dev/null +++ b/debian/config/openerp-server.conf @@ -0,0 +1,48 @@ +# /etc/openerp-server.conf(5) - configuration file for openerp-server(1) + +[options] +# Enable the debugging mode (default False). +verbose = False + +# The file where the server pid will be stored (default False). +pidfile = /var/run/openerp.pid + +# The file where the server log will be stored (default False). +logfile = /var/log/openerp.log + +# The IP address on which the server will bind. +# If empty, it will bind on all interfaces (default empty). +interface = localhost + +# The TCP port on which the server will listen (default 8069). +port = 8069 + +# Enable debug mode (default False). +debug_mode = False + +# Launch server over https instead of http (default False). +secure = False + +# Specify the SMTP server for sending email (default localhost). +smtp_server = localhost + +# Specify the SMTP user for sending email (default False). +smtp_user = False + +# Specify the SMTP password for sending email (default False). +smtp_password = False + +# Specify the database name. +db_name = openerp + +# Specify the database user name (default None). +db_user = openerp + +# Specify the database password for db_user (default None). +db_password = + +# Specify the database host (default localhost). +db_host = + +# Specify the database port (default None). +db_port = 5432 diff --git a/debian/control b/debian/control new file mode 100644 index 00000000000..cb17a747d9f --- /dev/null +++ b/debian/control @@ -0,0 +1,27 @@ +Source: tinyerp-server +Section: net +Priority: optional +Maintainer: Daniel Baumann +Build-Depends: debhelper (>= 7), dpatch, python-dev +Build-Depends-Indep: python-libxml2, python-libxslt1, python-psycopg +Standards-Version: 3.8.0 +Homepage: http://www.openerp.com/ +Vcs-Browser: http://git.debian.net/?p=debian/openerp-server.git +Vcs-Git: git://git.debian.net/git/debian/openerp-server.git + +Package: tinyerp-server +Section: net +Architecture: all +Depends: ${misc:Depends}, adduser, python, python-libxml2, python-libxslt1, python-psycopg, python-reportlab, python-tz +Recommends: graphviz, postgresql, postgresql-client, python-imaging, python-pyparsing +Provides: openerp-server +Suggests: tinyerp-client +Description: Enterprise Resource Management (server) + OpenERP is a complete ERP and CRM. The main features are accounting (analytic + and financial), stock management, sales and purchases management, tasks + automation, marketing campaigns, help desk, POS, etc. Technical features + include a distributed server, flexible workflows, an object database, a dynamic + GUI, customizable reports, and NET-RPC and XML-RPC interfaces. + . + This package contains the OpenERP server, install tinyerp-client package for + the client. diff --git a/debian/copyright b/debian/copyright new file mode 100644 index 00000000000..4bdf8e97d66 --- /dev/null +++ b/debian/copyright @@ -0,0 +1,312 @@ +Author: Tiny.be +Download: http://www.openerp.com/ + +Files: * +Copyright: (C) 2004-2008 Tiny.be +License: GPL-3+ + This program is free software: you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation, either version 3 of the License, or + (at your option) any later version. + . + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + . + You should have received a copy of the GNU General Public License + along with this program. If not, see . + . + On Debian systems, the complete text of the GNU General Public License + can be found in /usr/share/common-licenses/GPL-3 file. + +Files: + bin/addons/gen_graph.sh + doc/migrate/* +Copyright: (C) 2004-2008 Tiny.be +License: GPL-2+ + This program is free software; you can redistribute it and/or + modify it under the terms of the GNU General Public License + as published by the Free Software Foundation; either version 2 + of the License, or (at your option) any later version. + . + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + . + You should have received a copy of the GNU General Public License + along with this program; if not, write to the Free Software + Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + . + On Debian systems, the complete text of the GNU General Public License + can be found in /usr/share/common-licenses/GPL-2 file. + +Files: + bin/addons/account/report/general_ledger.py + bin/addons/account/report/general_ledger_landscape.py + bin/addons/account/wizard/wizard_statement_from_invoice.py +Copyright: (C) 2005-2008 CamptoCamp +License: GPL-2+ + This program is free software; you can redistribute it and/or + modify it under the terms of the GNU General Public License + as published by the Free Software Foundation; either version 2 + of the License, or (at your option) any later version. + . + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + . + You should have received a copy of the GNU General Public License + along with this program; if not, write to the Free Software + Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + . + On Debian systems, the complete text of the GNU General Public License + can be found in /usr/share/common-licenses/GPL-2 file. + +Files: bin/addons/auction/barcode/* +Copyright: (C) 2000 Tyler C. Sarna +License: BSD + Redistribution and use in source and binary forms, with or without + modification, are permitted provided that the following conditions + are met: + . + 1. Redistributions of source code must retain the above copyright + notice, this list of conditions and the following disclaimer. + 2. Redistributions in binary form must reproduce the above copyright + notice, this list of conditions and the following disclaimer in the + documentation and/or other materials provided with the distribution. + 3. All advertising materials mentioning features or use of this software + must display the following acknowledgement: + This product includes software developed by Tyler C. Sarna. + 4. Neither the name of the author nor the names of contributors + may be used to endorse or promote products derived from this software + without specific prior written permission. + . + THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND + ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE + IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR + PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS + BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR + CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF + SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS + INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN + CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) + ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE + POSSIBILITY OF SUCH DAMAGE. + +Files: bin/addons/base/ir/workflow/pydot/* +Copyright: (C) 2004 Ero Carrera +License: other + Permission is hereby granted, free of charge, to any person obtaining a copy of + this software and associated documentation files (the "Software"), to deal in + the Software without restriction, including without limitation the rights to + use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies + of the Software, and to permit persons to whom the Software is furnished to do + so, subject to the following conditions: + . + The above copyright notice and this permission notice shall be included in all + copies or substantial portions of the Software. + . + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE + SOFTWARE. + +Files: + bin/addons/base_report_designer/wizard/tiny_sxw2rml/normalized_oo2rml.xsl + bin/addons/base_report_designer/wizard/tiny_sxw2rml/tiny_sxw2rml.py +Copyright: (C) 2005 Martin Simon +License: LGPL-2.1 + This library is free software; you can redistribute it and/or + modify it under the terms of the GNU Library General Public + License as published by the Free Software Foundation; either + version 2.1 of the License, or (at your option) any later version. + . + This library is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + Library General Public License for more details. + . + You should have received a copy of the GNU Library General Public + License along with this library; if not, write to the Free + Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA + . + On Debian systems, the complete text of the GNU Library General Public License + can be found in /usr/share/common-licenses/LGPL-2.1 file. + +Files: bin/addons/document/ftpserver/* +Copyright: + (C) 2007 Giampaolo Rodola + (C) 2008 Fabien Pinckaers +License: MIT + Permission to use, copy, modify, and distribute this software and + its documentation for any purpose and without fee is hereby + granted, provided that the above copyright notice appear in all + copies and that both that copyright notice and this permission + notice appear in supporting documentation, and that the name of + Giampaolo Rodola' not be used in advertising or publicity pertaining to + distribution of the software without specific, written prior + permission. + . + Giampaolo Rodola' DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE, + INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN + NO EVENT Giampaolo Rodola' BE LIABLE FOR ANY SPECIAL, INDIRECT OR + CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS + OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, + NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN + CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. + +Files: bin/addons/hr_holidays/* +Copyright: + (C) 2004-2008 Tiny.be + (C) 2005-2006 Axelor SARL. +License: GPL-2+ + This program is free software; you can redistribute it and/or + modify it under the terms of the GNU General Public License + as published by the Free Software Foundation; either version 2 + of the License, or (at your option) any later version. + . + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + . + You should have received a copy of the GNU General Public License + along with this program; if not, write to the Free Software + Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + . + On Debian systems, the complete text of the GNU General Public License + can be found in /usr/share/common-licenses/GPL-2 file. + +Files: bin/addons/l10n_chart_uk_minimal/* +Copyright: + (C) 2004-2008 Tiny.be + (C) 2004-2008 Seath Solutions Ltd. +License: GPL-2+ + This program is free software; you can redistribute it and/or + modify it under the terms of the GNU General Public License + as published by the Free Software Foundation; either version 2 + of the License, or (at your option) any later version. + . + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + . + You should have received a copy of the GNU General Public License + along with this program; if not, write to the Free Software + Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + . + On Debian systems, the complete text of the GNU General Public License + can be found in /usr/share/common-licenses/GPL-2 file. + +Files: bin/pychart/* +Copyright: (C) 2000-2005 Yasushi Saito +License: GPL-2+ + This program is free software; you can redistribute it and/or + modify it under the terms of the GNU General Public License + as published by the Free Software Foundation; either version 2 + of the License, or (at your option) any later version. + . + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + . + You should have received a copy of the GNU General Public License + along with this program; if not, write to the Free Software + Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + . + On Debian systems, the complete text of the GNU General Public License + can be found in /usr/share/common-licenses/GPL-2 file. + +Files: bin/reportlab/* +Copyright: (C) 2000-2004 ReportLab Inc. +License: BSD + Redistribution and use in source and binary forms, with or without + modification, are permitted provided that the following conditions are met: + . + * Redistributions of source code must retain the above copyright notice, this + list of conditions and the following disclaimer. + * Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. + * Neither the name of the company nor the names of its contributors may be + used to endorse or promote products derived from this software without + specific prior written permission. + . + THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND + ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED + WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE + DISCLAIMED. IN NO EVENT SHALL THE OFFICERS OR CONTRIBUTORS BE LIABLE FOR ANY + DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES + (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; + LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON + ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT + (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS + SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + +Files: bin/tools/threadinglocal.py +Copyright: (C) 2004-2005 CherryPy Team +License: BSD + Redistribution and use in source and binary forms, with or without + modification, are permitted provided that the following conditions are met: + . + * Redistributions of source code must retain the above copyright notice, + this list of conditions and the following disclaimer. + * Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. + * Neither the name of the CherryPy Team nor the names of its contributors + may be used to endorse or promote products derived from this software + without specific prior written permission. + . + THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND + ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED + WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE + DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE + FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL + DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR + SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER + CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, + OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE + OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + +Files: bin/tools/decimal.py +Copyright: (C) 2004 Python Software Foundation. +License: other + This file is distributed under the Python Software License + (http://www.python.org/2.3/license.html). + . + Permission to use, copy, modify, and distribute this software and its + documentation for any purpose and without fee is hereby granted, + provided that the above copyright notice appear in all copies and that + both that copyright notice and this permission notice appear in + supporting documentation, and that the name of Stichting Mathematisch + Centrum or CWI not be used in advertising or publicity pertaining to + distribution of the software without specific, written prior + permission. + +Files: debian/* +Copyright: (C) 2005-2008 Daniel Baumann +License: GPL-3+ + This program is free software: you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation, either version 3 of the License, or + (at your option) any later version. + . + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + . + You should have received a copy of the GNU General Public License + along with this program. If not, see . + . + On Debian systems, the complete text of the GNU General Public License + can be found in /usr/share/common-licenses/GPL-3 file. diff --git a/debian/docs b/debian/docs new file mode 100644 index 00000000000..d5ad552bfce --- /dev/null +++ b/debian/docs @@ -0,0 +1,2 @@ +doc/migrate +doc/tests diff --git a/debian/install b/debian/install new file mode 100644 index 00000000000..28c56bcbac8 --- /dev/null +++ b/debian/install @@ -0,0 +1 @@ +debian/config/* /etc/ diff --git a/debian/links b/debian/links new file mode 100644 index 00000000000..609d00a2036 --- /dev/null +++ b/debian/links @@ -0,0 +1 @@ +/usr/share/man/man5/openerp_serverrc.5.gz /usr/share/man/man5/openerp-server.conf.5.gz diff --git a/debian/lintian-overrides b/debian/lintian-overrides new file mode 100644 index 00000000000..0586695f2e9 --- /dev/null +++ b/debian/lintian-overrides @@ -0,0 +1,3 @@ +# Add-on directories needs data directories, and sometimes they are +# (intentionally) empty, hence overriting the lintian warning. +tinyerp-server: package-contains-empty-directory diff --git a/debian/openerp-server.init b/debian/openerp-server.init new file mode 100644 index 00000000000..5a0946e002d --- /dev/null +++ b/debian/openerp-server.init @@ -0,0 +1,66 @@ +#!/bin/sh + +### BEGIN INIT INFO +# Provides: openerp-server +# Required-Start: $syslog +# Required-Stop: $syslog +# Should-Start: $network +# Should-Stop: $network +# Default-Start: 2 3 4 5 +# Default-Stop: 0 1 6 +# Short-Description: Enterprise Resource Management software +# Description: OpenERP is a complete ERP and CRM software. +### END INIT INFO + +PATH=/sbin:/bin:/usr/sbin:/usr/bin +DAEMON=/usr/bin/openerp-server +NAME=openerp-server +DESC=openerp-server + +test -x ${DAEMON} || exit 0 + +set -e + +case "${1}" in + start) + echo -n "Starting ${DESC}: " + + start-stop-daemon --start --quiet --pidfile /var/run/${NAME}.pid \ + --chuid ${USER} --background --make-pidfile \ + --exec ${DAEMON} -- --config=/etc/openerp-server.conf + + echo "${NAME}." + ;; + + stop) + echo -n "Stopping ${DESC}: " + + start-stop-daemon --stop --quiet --pidfile /var/run/${NAME}.pid \ + --oknodo + + echo "${NAME}." + ;; + + restart|force-reload) + echo -n "Restarting ${DESC}: " + + start-stop-daemon --stop --quiet --pidfile /var/run/${NAME}.pid \ + --oknodo + + sleep 1 + + start-stop-daemon --start --quiet --pidfile /var/run/${NAME}.pid \ + --chuid ${USER} --background --make-pidfile \ + --exec ${DAEMON} -- --config=/etc/openerp-server.conf + + echo "${NAME}." + ;; + + *) + N=/etc/init.d/${NAME} + echo "Usage: ${NAME} {start|stop|restart|force-reload}" >&2 + exit 1 + ;; +esac + +exit 0 diff --git a/debian/patches/00list b/debian/patches/00list new file mode 100644 index 00000000000..536a3dfe7a3 --- /dev/null +++ b/debian/patches/00list @@ -0,0 +1,4 @@ +01-autobuild.dpatch +02-openerp.dpatch +03-migrate.dpatch +04-shebang.dpatch diff --git a/debian/patches/01-autobuild.dpatch b/debian/patches/01-autobuild.dpatch new file mode 100644 index 00000000000..25b00dd8c63 --- /dev/null +++ b/debian/patches/01-autobuild.dpatch @@ -0,0 +1,19 @@ +#!/bin/sh /usr/share/dpatch/dpatch-run +## 01-autobuild.dpatch by Daniel Baumann +## +## DP: Disable modules check to make it buildable without X11. + +@DPATCH@ + +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/setup.py 2008-11-09 09:00:02.000000000 +0000 +@@ -133,7 +133,7 @@ def data_files(): + files.append(('.', [('bin/import_xml.rng')])) + return files + +-check_modules() ++#check_modules() + + # create startup script + start_script = \ diff --git a/debian/patches/02-openerp.dpatch b/debian/patches/02-openerp.dpatch new file mode 100644 index 00000000000..8ea3504b815 --- /dev/null +++ b/debian/patches/02-openerp.dpatch @@ -0,0 +1,815 @@ +#!/bin/sh /usr/share/dpatch/dpatch-run +## 02-openerp.dpatch by Daniel Baumann +## +## DP: Update homepage location. + +@DPATCH@ + +diff -Naurp openerp-server.orig/bin/addons/account/__terp__.py openerp-server/bin/addons/account/__terp__.py +--- openerp-server.orig/bin/addons/account/__terp__.py 2008-11-03 21:34:08.000000000 +0000 ++++ openerp-server/bin/addons/account/__terp__.py 2008-11-09 09:04:09.000000000 +0000 +@@ -31,7 +31,7 @@ + Taxes management + Budgets + """, +- "website" : "http://tinyerp.com/module_account.html", ++ "website" : "http://openerp.com/module_account.html", + "category" : "Generic Modules/Accounting", + "init_xml" : [ + ], +diff -Naurp openerp-server.orig/bin/addons/account_analytic_default/__terp__.py openerp-server/bin/addons/account_analytic_default/__terp__.py +--- openerp-server.orig/bin/addons/account_analytic_default/__terp__.py 2008-11-03 21:34:12.000000000 +0000 ++++ openerp-server/bin/addons/account_analytic_default/__terp__.py 2008-11-09 09:03:55.000000000 +0000 +@@ -23,7 +23,7 @@ + "name" : "Account Analytic Default", + "version" : "1.0", + "author" : "Tiny", +- "website" : "http://tinyerp.com", ++ "website" : "http://openerp.com", + "category" : "Generic Modules/product_analytic_default", + "description": """ + Allows to automatically select analytic accounts based on criterions: +diff -Naurp openerp-server.orig/bin/addons/account_analytic_plans/__terp__.py openerp-server/bin/addons/account_analytic_plans/__terp__.py +--- openerp-server.orig/bin/addons/account_analytic_plans/__terp__.py 2008-11-03 21:34:12.000000000 +0000 ++++ openerp-server/bin/addons/account_analytic_plans/__terp__.py 2008-11-09 09:05:13.000000000 +0000 +@@ -52,7 +52,7 @@ Plan2: + So when this line of invoice will be confirmed, it will generate 3 analytic lines, + for one account entry. + """, +- "website" : "http://tinyerp.com/module_account.html", ++ "website" : "http://openerp.com/module_account.html", + "category" : "Generic Modules/Accounting", + "init_xml" : [ + ], +diff -Naurp openerp-server.orig/bin/addons/account_balance/__terp__.py openerp-server/bin/addons/account_balance/__terp__.py +--- openerp-server.orig/bin/addons/account_balance/__terp__.py 2008-11-03 21:34:12.000000000 +0000 ++++ openerp-server/bin/addons/account_balance/__terp__.py 2008-11-09 09:03:39.000000000 +0000 +@@ -38,7 +38,7 @@ + + 5. You have an option to print the desired report in Landscape format. + """, +- "website" : "http://tinyerp.com/account_balance.html", ++ "website" : "http://openerp.com/account_balance.html", + "category" : "Generic Modules/Accounting", + "init_xml" : [ + ], +diff -Naurp openerp-server.orig/bin/addons/account_budget/__terp__.py openerp-server/bin/addons/account_budget/__terp__.py +--- openerp-server.orig/bin/addons/account_budget/__terp__.py 2008-11-03 21:34:12.000000000 +0000 ++++ openerp-server/bin/addons/account_budget/__terp__.py 2008-11-09 09:05:05.000000000 +0000 +@@ -23,7 +23,7 @@ + "name" : "Budget Management", + "version" : "1.0", + "author" : "Tiny", +- "website" : "http://tinyerp.com/module_crossovered_budget.html", ++ "website" : "http://openerp.com/module_crossovered_budget.html", + "category" : "Generic Modules/Accounting", + "description": """This module allow accountants to manage analytic and crossovered budgets. + +diff -Naurp openerp-server.orig/bin/addons/account_chart/__terp__.py openerp-server/bin/addons/account_chart/__terp__.py +--- openerp-server.orig/bin/addons/account_chart/__terp__.py 2008-11-03 21:34:12.000000000 +0000 ++++ openerp-server/bin/addons/account_chart/__terp__.py 2008-11-09 09:03:15.000000000 +0000 +@@ -25,7 +25,7 @@ + "depends" : ["account"], + "author" : "Tiny", + "description": """Remove minimal account chart""", +- "website" : "http://tinyerp.com/module_account.html", ++ "website" : "http://openerp.com/module_account.html", + "category" : "Generic Modules/Accounting", + "init_xml" : [ + ], +diff -Naurp openerp-server.orig/bin/addons/account_date_check/__terp__.py openerp-server/bin/addons/account_date_check/__terp__.py +--- openerp-server.orig/bin/addons/account_date_check/__terp__.py 2008-11-03 21:34:12.000000000 +0000 ++++ openerp-server/bin/addons/account_date_check/__terp__.py 2008-11-09 09:05:01.000000000 +0000 +@@ -23,7 +23,7 @@ + "name" : "Account Date check", + "version" : "1.0", + "author" : "Tiny", +- "website" : "http://tinyerp.com/module_sale.html", ++ "website" : "http://openerp.com/module_sale.html", + "depends" : ["account"], + "category" : "Generic Modules/Accounting", + "init_xml" : [], +diff -Naurp openerp-server.orig/bin/addons/account_followup/__terp__.py openerp-server/bin/addons/account_followup/__terp__.py +--- openerp-server.orig/bin/addons/account_followup/__terp__.py 2008-11-03 21:34:12.000000000 +0000 ++++ openerp-server/bin/addons/account_followup/__terp__.py 2008-11-09 09:03:29.000000000 +0000 +@@ -37,7 +37,7 @@ + It will generate a PDF with all the letters according the the + different levels of recall defined. You can define different policies + for different companies.""", +- "website" : "http://tinyerp.com/module_account.html", ++ "website" : "http://openerp.com/module_account.html", + "category" : "Generic Modules/Accounting", + "init_xml" : [], + "demo_xml" : ["followup_demo.xml"], +diff -Naurp openerp-server.orig/bin/addons/account_invoice_layout/__terp__.py openerp-server/bin/addons/account_invoice_layout/__terp__.py +--- openerp-server.orig/bin/addons/account_invoice_layout/__terp__.py 2008-11-03 21:34:12.000000000 +0000 ++++ openerp-server/bin/addons/account_invoice_layout/__terp__.py 2008-11-09 09:03:05.000000000 +0000 +@@ -35,7 +35,7 @@ + Moreover, there is one option which allow you to print all the selected invoices with a given special message at the bottom of it. This feature can be very useful for printing your invoices with end-of-year wishes, special punctual conditions... + + """, +- "website" : "http://tinyerp.com/", ++ "website" : "http://openerp.com/", + "category" : "Generic Modules/Project & Services", + "init_xml" : [], + "demo_xml" : [], +diff -Naurp openerp-server.orig/bin/addons/account_report/__terp__.py openerp-server/bin/addons/account_report/__terp__.py +--- openerp-server.orig/bin/addons/account_report/__terp__.py 2008-11-03 21:34:12.000000000 +0000 ++++ openerp-server/bin/addons/account_report/__terp__.py 2008-11-09 09:04:21.000000000 +0000 +@@ -25,7 +25,7 @@ + "depends" : ["account"], + "author" : "Tiny", + "description": """Financial and accounting reporting""", +- "website" : "http://tinyerp.com/module_account.html", ++ "website" : "http://openerp.com/module_account.html", + "category" : "Generic Modules/Accounting", + "init_xml" : [ ], + "demo_xml" : [ ], +diff -Naurp openerp-server.orig/bin/addons/account_tax_include/__terp__.py openerp-server/bin/addons/account_tax_include/__terp__.py +--- openerp-server.orig/bin/addons/account_tax_include/__terp__.py 2008-11-03 21:34:13.000000000 +0000 ++++ openerp-server/bin/addons/account_tax_include/__terp__.py 2008-11-09 09:05:16.000000000 +0000 +@@ -29,7 +29,7 @@ Especially useful for b2c businesses. + + This module implement the modification on the invoice form. + """, +- "website" : "http://tinyerp.com/module_account.html", ++ "website" : "http://openerp.com/module_account.html", + "category" : "Generic Modules/Accounting", + "init_xml" : [ ], + "demo_xml" : [ ], +diff -Naurp openerp-server.orig/bin/addons/account_voucher/__terp__.py openerp-server/bin/addons/account_voucher/__terp__.py +--- openerp-server.orig/bin/addons/account_voucher/__terp__.py 2008-11-03 21:34:13.000000000 +0000 ++++ openerp-server/bin/addons/account_voucher/__terp__.py 2008-11-09 09:04:17.000000000 +0000 +@@ -35,7 +35,7 @@ + * Accounting Periods + """, + "category" : "Generic Modules/Accounting", +- "website" : "http://tinyerp.com", ++ "website" : "http://openerp.com", + "depends" : ["base", "account"], + "init_xml" : [ + ], +@@ -51,4 +51,4 @@ + ], + "active": False, + "installable": True +-} +\ No newline at end of file ++} +diff -Naurp openerp-server.orig/bin/addons/analytic_journal_billing_rate/__terp__.py openerp-server/bin/addons/analytic_journal_billing_rate/__terp__.py +--- openerp-server.orig/bin/addons/analytic_journal_billing_rate/__terp__.py 2008-11-03 21:34:13.000000000 +0000 ++++ openerp-server/bin/addons/analytic_journal_billing_rate/__terp__.py 2008-11-09 09:04:33.000000000 +0000 +@@ -31,7 +31,7 @@ + Obviously if no data has been recorded for the current account, the default value is given as usual by the account data so that this module is perfectly compatible with older configurations. + + """, +- "website" : "http://tinyerp.com/", ++ "website" : "http://openerp.com/", + "category" : "Generic Modules/Others", + "init_xml" : [], + "demo_xml" : [], +diff -Naurp openerp-server.orig/bin/addons/analytic_user_function/__terp__.py openerp-server/bin/addons/analytic_user_function/__terp__.py +--- openerp-server.orig/bin/addons/analytic_user_function/__terp__.py 2008-11-03 21:34:13.000000000 +0000 ++++ openerp-server/bin/addons/analytic_user_function/__terp__.py 2008-11-09 09:05:11.000000000 +0000 +@@ -31,7 +31,7 @@ + Obviously if no data has been recorded for the current account, the default value is given as usual by the employee data so that this module is perfectly compatible with older configurations. + + """, +- "website" : "http://tinyerp.com/", ++ "website" : "http://openerp.com/", + "category" : "Generic Modules/Others", + "init_xml" : [], + "demo_xml" : [], +diff -Naurp openerp-server.orig/bin/addons/auction/fr_FR.csv openerp-server/bin/addons/auction/fr_FR.csv +--- openerp-server.orig/bin/addons/auction/fr_FR.csv 2008-11-03 21:34:13.000000000 +0000 ++++ openerp-server/bin/addons/auction/fr_FR.csv 2008-11-09 09:03:50.000000000 +0000 +@@ -4281,7 +4281,7 @@ wizard_field,"base_module_publish.module + wizard_view,"base_module_publish.module_publish,step2",0,Module publication,Publication du module + wizard_view,"base_module_publish.module_publish,step2",0,User information,Information utilisateur + wizard_view,"base_module_publish.module_publish,step2",0,Please provide here your login on the Tiny ERP website.,Tapez votre login du site Tinyerp SVP +-wizard_view,"base_module_publish.module_publish,step2",0,"If you don't have an access, you can create one http://www.tinyerp.com/","Si vous n'avez pas d'accès, vous pouvez en créer un sur http;//tinyerp.com" ++wizard_view,"base_module_publish.module_publish,step2",0,"If you don't have an access, you can create one http://www.openerp.com/","Si vous n'avez pas d'accès, vous pouvez en créer un sur http;//openerp.com" + wizard_button,"base_module_publish.module_publish,step2,end",0,Cancel,Annuler + wizard_button,"base_module_publish.module_publish,step2,step1",0,Previous,Précédent + wizard_button,"base_module_publish.module_publish,step2,publish",0,Publish,publier +@@ -5119,7 +5119,7 @@ wizard_field,"base_module_publish.module + wizard_view,"base_module_publish.module_publish_all,login",0,Module publication,Publication du module + wizard_view,"base_module_publish.module_publish_all,login",0,User information,Information utilisateur + wizard_view,"base_module_publish.module_publish_all,login",0,Please provide here your login on the Tiny ERP website., +-wizard_view,"base_module_publish.module_publish_all,login",0,"If you don't have an access, you can create one http://www.tinyerp.com/", ++wizard_view,"base_module_publish.module_publish_all,login",0,"If you don't have an access, you can create one http://www.openerp.com/", + wizard_button,"base_module_publish.module_publish_all,login,end",0,Cancel, + wizard_button,"base_module_publish.module_publish_all,login,publish",0,Publish, + wizard_field,"base_module_publish.module_publish_all,publish,already",0,Modules already updated, +diff -Naurp openerp-server.orig/bin/addons/audittrail/__terp__.py openerp-server/bin/addons/audittrail/__terp__.py +--- openerp-server.orig/bin/addons/audittrail/__terp__.py 2008-11-03 21:34:13.000000000 +0000 ++++ openerp-server/bin/addons/audittrail/__terp__.py 2008-11-09 09:02:57.000000000 +0000 +@@ -23,7 +23,7 @@ + "name" : "Audit Trail", + "version" : "1.0", + "depends" : ["base","account","purchase","mrp"], +- "website" : "http://tinyerp.com", ++ "website" : "http://openerp.com", + "author" : "Tiny", + "init_xml" : [], + "description": "Allows the administrator to track every user operations on all objects of the system.", +diff -Naurp openerp-server.orig/bin/addons/base_contact/__terp__.py openerp-server/bin/addons/base_contact/__terp__.py +--- openerp-server.orig/bin/addons/base_contact/__terp__.py 2008-11-03 21:34:13.000000000 +0000 ++++ openerp-server/bin/addons/base_contact/__terp__.py 2008-11-09 09:03:45.000000000 +0000 +@@ -23,7 +23,7 @@ + "name" : "Base Contact", + "version" : "1.0", + "author" : "Tiny", +- "website" : "http://tinyerp.com", ++ "website" : "http://openerp.com", + "category" : "Generic Modules/Base Contact", + "description": """ + This module allows you to manage entirely your contacts. +diff -Naurp openerp-server.orig/bin/addons/base_module_publish/__terp__.py openerp-server/bin/addons/base_module_publish/__terp__.py +--- openerp-server.orig/bin/addons/base_module_publish/__terp__.py 2008-11-03 21:34:13.000000000 +0000 ++++ openerp-server/bin/addons/base_module_publish/__terp__.py 2008-11-09 09:03:13.000000000 +0000 +@@ -23,7 +23,7 @@ + "name" : "Module publisher", + "version" : "1.0", + "author" : "Tiny", +- "website" : "http://tinyerp.com", ++ "website" : "http://openerp.com", + "category" : "Generic Modules/Base", + "description": """ + This module can be used by developpers to automatically publish their modules +diff -Naurp openerp-server.orig/bin/addons/base_module_record/__terp__.py openerp-server/bin/addons/base_module_record/__terp__.py +--- openerp-server.orig/bin/addons/base_module_record/__terp__.py 2008-11-03 21:34:13.000000000 +0000 ++++ openerp-server/bin/addons/base_module_record/__terp__.py 2008-11-09 09:04:02.000000000 +0000 +@@ -23,7 +23,7 @@ + "name" : "Module Recorder", + "version" : "1.0", + "author" : "Tiny", +- "website" : "http://tinyerp.com", ++ "website" : "http://openerp.com", + "category" : "Generic Modules/Base", + "description": """ + This module allows you to create a new module without any development. +diff -Naurp openerp-server.orig/bin/addons/base_module_record/wizard/base_module_save.py openerp-server/bin/addons/base_module_record/wizard/base_module_save.py +--- openerp-server.orig/bin/addons/base_module_record/wizard/base_module_save.py 2008-11-03 21:34:13.000000000 +0000 ++++ openerp-server/bin/addons/base_module_record/wizard/base_module_save.py 2008-11-09 09:04:00.000000000 +0000 +@@ -58,7 +58,7 @@ intro_start_fields = { + 'version': {'string':'Version', 'type':'char', 'size':16, 'required':True}, + 'author': {'string':'Author', 'type':'char', 'size':64, 'default': lambda *args: 'Tiny', 'required':True}, + 'category': {'string':'Category', 'type':'char', 'size':64, 'default': lambda *args: 'Vertical Modules/Parametrization', 'required':True}, +- 'website': {'string':'Documentation URL', 'type':'char', 'size':64, 'default': lambda *args: 'http://tinyerp.com', 'required':True}, ++ 'website': {'string':'Documentation URL', 'type':'char', 'size':64, 'default': lambda *args: 'http://openerp.com', 'required':True}, + 'description': {'string':'Full Description', 'type':'text', 'required':True}, + 'data_kind': {'string':'Type of Data', 'type':'selection', 'selection':[('demo','Demo Data'),('update','Normal Data')], 'required':True, 'default': lambda *args:'update'}, + } +diff -Naurp openerp-server.orig/bin/addons/base_report_designer/__terp__.py openerp-server/bin/addons/base_report_designer/__terp__.py +--- openerp-server.orig/bin/addons/base_report_designer/__terp__.py 2008-11-03 21:34:13.000000000 +0000 ++++ openerp-server/bin/addons/base_report_designer/__terp__.py 2008-11-09 09:04:42.000000000 +0000 +@@ -28,7 +28,7 @@ OpenOffice. + "version" : "0.1", + "depends" : ["base"], + "author" : "Tiny", +- "website" : "http://tinyerp.com", ++ "website" : "http://openerp.com", + "category" : "Generic Modules/Base", + "init_xml" : [ ], + "demo_xml" : [ ], +diff -Naurp openerp-server.orig/bin/addons/base_report_designer/wizard/base_report_designer_modify.py openerp-server/bin/addons/base_report_designer/wizard/base_report_designer_modify.py +--- openerp-server.orig/bin/addons/base_report_designer/wizard/base_report_designer_modify.py 2008-11-03 21:34:13.000000000 +0000 ++++ openerp-server/bin/addons/base_report_designer/wizard/base_report_designer_modify.py 2008-11-09 09:04:39.000000000 +0000 +@@ -41,7 +41,7 @@ intro_fields = { + 'readonly': True, + 'default': lambda *args: """This system must be used with the Tiny OpenOffice plugin. If you + did not installed yet, you can find this package on: +- http://tinyerp.com ++ http://openerp.com + + This wizard will provide you the .SXW report that you can modify + in OpenOffice. After having modified it, you will be able to reupload +diff -Naurp openerp-server.orig/bin/addons/base_setup/__terp__.py openerp-server/bin/addons/base_setup/__terp__.py +--- openerp-server.orig/bin/addons/base_setup/__terp__.py 2008-11-03 21:34:13.000000000 +0000 ++++ openerp-server/bin/addons/base_setup/__terp__.py 2008-11-09 09:04:37.000000000 +0000 +@@ -23,7 +23,7 @@ + "name" : "Base Setup", + "version" : "1.0", + "author" : "Tiny", +- "website" : "http://tinyerp.com", ++ "website" : "http://openerp.com", + "category" : "Generic Modules/Base", + "description": """ + This module implements a configuration system that helps user +diff -Naurp openerp-server.orig/bin/addons/crm/__terp__.py openerp-server/bin/addons/crm/__terp__.py +--- openerp-server.orig/bin/addons/crm/__terp__.py 2008-11-03 21:34:14.000000000 +0000 ++++ openerp-server/bin/addons/crm/__terp__.py 2008-11-09 09:03:02.000000000 +0000 +@@ -23,7 +23,7 @@ + "name" : "Customer & Supplier Relationship Management", + "version" : "1.0", + "author" : "Tiny", +- "website" : "http://tinyerp.com/module_crm.html", ++ "website" : "http://openerp.com/module_crm.html", + "category" : "Generic Modules/CRM & SRM", + "description": """The Tiny ERP case and request tracker enables a group of + people to intelligently and efficiently manage tasks, issues, and requests. +diff -Naurp openerp-server.orig/bin/addons/crm_configuration/__terp__.py openerp-server/bin/addons/crm_configuration/__terp__.py +--- openerp-server.orig/bin/addons/crm_configuration/__terp__.py 2008-11-03 21:34:14.000000000 +0000 ++++ openerp-server/bin/addons/crm_configuration/__terp__.py 2008-11-09 09:04:04.000000000 +0000 +@@ -23,7 +23,7 @@ + "name" : "Customer Relationship Management", + "version" : "1.0", + "author" : "Tiny", +- "website" : "http://tinyerp.com/module_crm.html", ++ "website" : "http://openerp.com/module_crm.html", + "category" : "Generic Modules/CRM & SRM", + "description": """ + The Tiny ERP case and request tracker enables a group of +diff -Naurp openerp-server.orig/bin/addons/crm_profiling/__terp__.py openerp-server/bin/addons/crm_profiling/__terp__.py +--- openerp-server.orig/bin/addons/crm_profiling/__terp__.py 2008-11-03 21:34:15.000000000 +0000 ++++ openerp-server/bin/addons/crm_profiling/__terp__.py 2008-11-09 09:04:07.000000000 +0000 +@@ -36,7 +36,7 @@ + + * Note: this module is not compatible with the module segmentation, since it's the same which has been renamed. + """, +- "website" : "http://tinyerp.com/", ++ "website" : "http://openerp.com/", + "category" : "Generic Modules/Project & Services", + "init_xml" : [], + "demo_xml" : ["crm_profiling_demo.xml"], +diff -Naurp openerp-server.orig/bin/addons/crm_vertical/__terp__.py openerp-server/bin/addons/crm_vertical/__terp__.py +--- openerp-server.orig/bin/addons/crm_vertical/__terp__.py 2008-11-03 21:34:15.000000000 +0000 ++++ openerp-server/bin/addons/crm_vertical/__terp__.py 2008-11-09 09:03:53.000000000 +0000 +@@ -23,7 +23,7 @@ + "name" : "CRM Verticalisation", + "version" : "1.0", + "author" : "Tiny", +- "website" : "http://tinyerp.com", ++ "website" : "http://openerp.com", + "category" : "Vertical Modules/Parametrization", + "description": """Simplification of the interface for CRM.""", + "depends" : ["crm_configuration"], +diff -Naurp openerp-server.orig/bin/addons/custom/__terp__.py openerp-server/bin/addons/custom/__terp__.py +--- openerp-server.orig/bin/addons/custom/__terp__.py 2008-11-03 21:34:15.000000000 +0000 ++++ openerp-server/bin/addons/custom/__terp__.py 2008-11-09 09:06:23.000000000 +0000 +@@ -24,7 +24,7 @@ + "version" : "1.0", + "author" : "Tiny", + "category" : "Generic Modules/Others", +- "website": "http://www.tinyerp.com", ++ "website": "http://www.openerp.com", + "description": "Sample custom module where you can put your customer specific developments.", + "depends" : ["base"], + "init_xml" : [], +diff -Naurp openerp-server.orig/bin/addons/delivery/delivery_demo.xml openerp-server/bin/addons/delivery/delivery_demo.xml +--- openerp-server.orig/bin/addons/delivery/delivery_demo.xml 2008-11-03 21:34:15.000000000 +0000 ++++ openerp-server/bin/addons/delivery/delivery_demo.xml 2008-11-09 09:03:34.000000000 +0000 +@@ -5,7 +5,7 @@ + + + The Poste +- http://tinyerp.com ++ http://openerp.com + + + Fabien Pinckaers +diff -Naurp openerp-server.orig/bin/addons/document/__terp__.py openerp-server/bin/addons/document/__terp__.py +--- openerp-server.orig/bin/addons/document/__terp__.py 2008-11-03 21:34:15.000000000 +0000 ++++ openerp-server/bin/addons/document/__terp__.py 2008-11-09 09:05:41.000000000 +0000 +@@ -24,7 +24,7 @@ + "version" : "1.0", + "author" : "Tiny", + "category" : "Generic Modules/Others", +- "website": "http://www.tinyerp.com", ++ "website": "http://www.openerp.com", + "description": """This is a complete document management system: + * FTP Interface + * User Authentification +diff -Naurp openerp-server.orig/bin/addons/document_ics/__terp__.py openerp-server/bin/addons/document_ics/__terp__.py +--- openerp-server.orig/bin/addons/document_ics/__terp__.py 2008-11-03 21:34:15.000000000 +0000 ++++ openerp-server/bin/addons/document_ics/__terp__.py 2008-11-09 09:06:18.000000000 +0000 +@@ -24,7 +24,7 @@ + "version" : "1.0", + "author" : "Tiny", + "category" : "Generic Modules/Others", +- "website": "http://www.tinyerp.com", ++ "website": "http://www.openerp.com", + "description": """Allows to synchronize calendars with others applications.""", + "depends" : ["document","crm_configuration"], + "init_xml" : ["document_data.xml"], +diff -Naurp openerp-server.orig/bin/addons/google_map/__terp__.py openerp-server/bin/addons/google_map/__terp__.py +--- openerp-server.orig/bin/addons/google_map/__terp__.py 2008-11-03 21:34:15.000000000 +0000 ++++ openerp-server/bin/addons/google_map/__terp__.py 2008-11-09 09:04:31.000000000 +0000 +@@ -23,7 +23,7 @@ + "name" : "Google Map", + "version" : "1.0", + "author" : "Tiny", +- "website" : "http://tinyerp.com", ++ "website" : "http://openerp.com", + "category" : "Generic Modules", + "description": """The module adds google map field in partner address + so that we can directly open google map from the +diff -Naurp openerp-server.orig/bin/addons/hr/__terp__.py openerp-server/bin/addons/hr/__terp__.py +--- openerp-server.orig/bin/addons/hr/__terp__.py 2008-11-03 21:34:15.000000000 +0000 ++++ openerp-server/bin/addons/hr/__terp__.py 2008-11-09 09:04:28.000000000 +0000 +@@ -24,7 +24,7 @@ + "version" : "1.0", + "author" : "Tiny", + "category" : "Generic Modules/Human Resources", +- "website" : "http://tinyerp.com/module_hr.html", ++ "website" : "http://openerp.com/module_hr.html", + "description": """ + Module for human resource management. You can manage: + * Employees and hierarchies +diff -Naurp openerp-server.orig/bin/addons/hr_contract/__terp__.py openerp-server/bin/addons/hr_contract/__terp__.py +--- openerp-server.orig/bin/addons/hr_contract/__terp__.py 2008-11-03 21:34:15.000000000 +0000 ++++ openerp-server/bin/addons/hr_contract/__terp__.py 2008-11-09 09:03:00.000000000 +0000 +@@ -24,7 +24,7 @@ + "version" : "1.0", + "author" : "Tiny", + "category" : "Generic Modules/Human Resources", +- "website" : "http://tinyerp.com/module_hr.html", ++ "website" : "http://openerp.com/module_hr.html", + "depends" : ["hr"], + "module": "", + "description": """ +diff -Naurp openerp-server.orig/bin/addons/hr_expense/__terp__.py openerp-server/bin/addons/hr_expense/__terp__.py +--- openerp-server.orig/bin/addons/hr_expense/__terp__.py 2008-11-03 21:34:15.000000000 +0000 ++++ openerp-server/bin/addons/hr_expense/__terp__.py 2008-11-09 09:04:49.000000000 +0000 +@@ -24,7 +24,7 @@ + "version" : "1.0", + "author" : "Tiny", + "category" : "Generic Modules/Human Resources", +- "website" : "http://tinyerp.com/module_hr.html", ++ "website" : "http://openerp.com/module_hr.html", + "depends" : ["hr","account", "account_tax_include",], + "description": """ + This module aims to manage employee's expenses. +diff -Naurp openerp-server.orig/bin/addons/hr_holidays/__terp__.py openerp-server/bin/addons/hr_holidays/__terp__.py +--- openerp-server.orig/bin/addons/hr_holidays/__terp__.py 2008-11-03 21:34:16.000000000 +0000 ++++ openerp-server/bin/addons/hr_holidays/__terp__.py 2008-11-09 09:03:21.000000000 +0000 +@@ -4,7 +4,7 @@ + "version" : "0.1", + "author" : "Tiny & Axelor", + "category" : "Generic Modules/Human Resources", +- "website" : "http://tinyerp.com/", ++ "website" : "http://openerp.com/", + "description": """Human Ressources: Holidays tracking and workflow + + This module allows you to manage holidays and holidays requests. For each employee, you can also define a number of available holidays per holiday status. +diff -Naurp openerp-server.orig/bin/addons/hr_timesheet/__terp__.py openerp-server/bin/addons/hr_timesheet/__terp__.py +--- openerp-server.orig/bin/addons/hr_timesheet/__terp__.py 2008-11-03 21:34:16.000000000 +0000 ++++ openerp-server/bin/addons/hr_timesheet/__terp__.py 2008-11-09 09:04:11.000000000 +0000 +@@ -24,7 +24,7 @@ + "version" : "1.0", + "author" : "Tiny", + "category" : "Generic Modules/Human Resources", +- "website" : "http://tinyerp.com/module_hr.html", ++ "website" : "http://openerp.com/module_hr.html", + "description": """ + This module implement a timesheet system. Each employee can encode and + track their time spent on the different projects. A project is an +diff -Naurp openerp-server.orig/bin/addons/hr_timesheet_invoice/__terp__.py openerp-server/bin/addons/hr_timesheet_invoice/__terp__.py +--- openerp-server.orig/bin/addons/hr_timesheet_invoice/__terp__.py 2008-11-03 21:34:16.000000000 +0000 ++++ openerp-server/bin/addons/hr_timesheet_invoice/__terp__.py 2008-11-09 09:05:06.000000000 +0000 +@@ -24,7 +24,7 @@ + "version" : "1.0", + "author" : "Tiny", + "category" : "Generic Modules/Accounting", +- "website" : "http://tinyerp.com/", ++ "website" : "http://openerp.com/", + "depends" : ["account",'hr_timesheet'], + "description": """ + Module to generate invoices based on costs (human ressources, expenses, ...). +diff -Naurp openerp-server.orig/bin/addons/hr_timesheet_project/__terp__.py openerp-server/bin/addons/hr_timesheet_project/__terp__.py +--- openerp-server.orig/bin/addons/hr_timesheet_project/__terp__.py 2008-11-03 21:34:16.000000000 +0000 ++++ openerp-server/bin/addons/hr_timesheet_project/__terp__.py 2008-11-09 09:02:58.000000000 +0000 +@@ -25,7 +25,7 @@ + "author" : "Tiny", + "category" : "Generic Modules/Human Resources", + "description": """Auto-complete timesheet based on tasks made on the project management module.""", +- "website" : "http://tinyerp.com/module_hr.html", ++ "website" : "http://openerp.com/module_hr.html", + "depends" : ["project", "hr_timesheet_sheet"], + "update_xml" : ["hr_timesheet_project_view.xml", + "process/hr_timesheet_project_process.xml", +diff -Naurp openerp-server.orig/bin/addons/hr_timesheet_sheet/__terp__.py openerp-server/bin/addons/hr_timesheet_sheet/__terp__.py +--- openerp-server.orig/bin/addons/hr_timesheet_sheet/__terp__.py 2008-11-03 21:34:16.000000000 +0000 ++++ openerp-server/bin/addons/hr_timesheet_sheet/__terp__.py 2008-11-09 09:03:11.000000000 +0000 +@@ -24,7 +24,7 @@ + "version" : "1.0", + "author" : "Tiny", + "category" : "Generic Modules/Human Resources", +- "website" : "http://tinyerp.com/module_hr.html", ++ "website" : "http://openerp.com/module_hr.html", + "description": """ + This module help you easily encode and validate timesheet and attendances + within the same view. The upper part of the view is for attendances and +diff -Naurp openerp-server.orig/bin/addons/mrp/__terp__.py openerp-server/bin/addons/mrp/__terp__.py +--- openerp-server.orig/bin/addons/mrp/__terp__.py 2008-11-03 21:34:17.000000000 +0000 ++++ openerp-server/bin/addons/mrp/__terp__.py 2008-11-09 09:05:08.000000000 +0000 +@@ -23,7 +23,7 @@ + "name" : "Manufacturing Resource Planning", + "version" : "1.0", + "author" : "Tiny", +- "website" : "http://tinyerp.com/module_mrp.html", ++ "website" : "http://openerp.com/module_mrp.html", + "category" : "Generic Modules/Production", + "depends" : ["stock", "hr", "purchase", "product", "process"], + "description": """ +diff -Naurp openerp-server.orig/bin/addons/mrp_operations/__terp__.py openerp-server/bin/addons/mrp_operations/__terp__.py +--- openerp-server.orig/bin/addons/mrp_operations/__terp__.py 2008-11-03 21:34:17.000000000 +0000 ++++ openerp-server/bin/addons/mrp_operations/__terp__.py 2008-11-09 09:03:14.000000000 +0000 +@@ -23,7 +23,7 @@ + "name" : "Workcenter Production start end workflow", + "version" : "1.0", + "author" : "Tiny", +- "website" : "http://tinyerp.com/module_mrp.html", ++ "website" : "http://openerp.com/module_mrp.html", + "category" : "Generic Modules/Production", + "depends" : ["stock", "hr", "purchase", "product", "mrp"], + "description": """ +diff -Naurp openerp-server.orig/bin/addons/mrp_subproduct/__terp__.py openerp-server/bin/addons/mrp_subproduct/__terp__.py +--- openerp-server.orig/bin/addons/mrp_subproduct/__terp__.py 2008-11-03 21:34:17.000000000 +0000 ++++ openerp-server/bin/addons/mrp_subproduct/__terp__.py 2008-11-09 09:03:57.000000000 +0000 +@@ -23,7 +23,7 @@ + "name" : "MRP Sub Product", + "version" : "1.0", + "author" : "Tiny", +- "website" : "http://tinyerp.com/module_stock.html", ++ "website" : "http://openerp.com/module_stock.html", + "depends" : ["base","mrp"], + "category" : "Generic Modules/Production", + "init_xml" : [], +diff -Naurp openerp-server.orig/bin/addons/process/__terp__.py openerp-server/bin/addons/process/__terp__.py +--- openerp-server.orig/bin/addons/process/__terp__.py 2008-11-03 21:34:17.000000000 +0000 ++++ openerp-server/bin/addons/process/__terp__.py 2008-11-09 09:04:25.000000000 +0000 +@@ -23,7 +23,7 @@ + "name" : "Enterprise Process", + "version" : "1.0", + "author" : "Tiny", +- "website" : "http://tinyerp.com", ++ "website" : "http://openerp.com", + "category" : "Generic Modules/Base", + "description": """ + This module allows you to manage your process for the end-users. +diff -Naurp openerp-server.orig/bin/addons/project/__terp__.py openerp-server/bin/addons/project/__terp__.py +--- openerp-server.orig/bin/addons/project/__terp__.py 2008-11-03 21:34:18.000000000 +0000 ++++ openerp-server/bin/addons/project/__terp__.py 2008-11-09 09:03:43.000000000 +0000 +@@ -23,7 +23,7 @@ + "name" : "Project Management", + "version": "1.0", + "author" : "Tiny", +- "website" : "http://tinyerp.com/module_project.html", ++ "website" : "http://openerp.com/module_project.html", + "category" : "Generic Modules/Projects & Services", + "depends" : ["product", "account", "hr", "process"], + "description": "Project management module that track multi-level projects, tasks, works done on tasks, eso. It is able to render planning, order tasks, eso.", +diff -Naurp openerp-server.orig/bin/addons/project_mrp/__terp__.py openerp-server/bin/addons/project_mrp/__terp__.py +--- openerp-server.orig/bin/addons/project_mrp/__terp__.py 2008-11-03 21:34:18.000000000 +0000 ++++ openerp-server/bin/addons/project_mrp/__terp__.py 2008-11-09 09:02:54.000000000 +0000 +@@ -23,7 +23,7 @@ + "name" : "Project Management - MRP Link", + "version": "1.0", + "author" : "Tiny", +- "website" : "http://tinyerp.com/module_project.html", ++ "website" : "http://openerp.com/module_project.html", + "category" : "Generic Modules/Projects & Services", + "depends" : ["project", 'mrp', "sale"], + "description": """ +diff -Naurp openerp-server.orig/bin/addons/project_timesheet/__terp__.py openerp-server/bin/addons/project_timesheet/__terp__.py +--- openerp-server.orig/bin/addons/project_timesheet/__terp__.py 2008-11-03 21:34:18.000000000 +0000 ++++ openerp-server/bin/addons/project_timesheet/__terp__.py 2008-11-09 09:04:13.000000000 +0000 +@@ -23,7 +23,7 @@ + "name" : "Project Timesheet", + "version" : "1.0", + "author" : "Tiny", +- "website" : "http://tinyerp.com", ++ "website" : "http://openerp.com", + "category" : "Generic Modules/HR", + "description": """ + This module lets you transfer the entries under tasks defined for Project Management to +diff -Naurp openerp-server.orig/bin/addons/purchase/__terp__.py openerp-server/bin/addons/purchase/__terp__.py +--- openerp-server.orig/bin/addons/purchase/__terp__.py 2008-11-03 21:34:18.000000000 +0000 ++++ openerp-server/bin/addons/purchase/__terp__.py 2008-11-09 09:03:07.000000000 +0000 +@@ -23,7 +23,7 @@ + "name" : "Purchase Management", + "version" : "1.0", + "author" : "Tiny", +- "website" : "http://tinyerp.com/module_purchase.html", ++ "website" : "http://openerp.com/module_purchase.html", + "depends" : ["base", "account", "stock", "process"], + "category" : "Generic Modules/Sales & Purchases", + "init_xml" : [], +diff -Naurp openerp-server.orig/bin/addons/purchase_analytic_plans/__terp__.py openerp-server/bin/addons/purchase_analytic_plans/__terp__.py +--- openerp-server.orig/bin/addons/purchase_analytic_plans/__terp__.py 2008-11-03 21:34:18.000000000 +0000 ++++ openerp-server/bin/addons/purchase_analytic_plans/__terp__.py 2008-11-09 09:03:17.000000000 +0000 +@@ -23,7 +23,7 @@ + "name" : "Purchase Analytic Distribution Management", + "version" : "1.0", + "author" : "Tiny", +- "website" : "http://tinyerp.com/module_sale.html", ++ "website" : "http://openerp.com/module_sale.html", + "depends" : ["purchase","account_analytic_plans"], + "category" : "Generic Modules/Sales & Purchases", + "init_xml" : [], +diff -Naurp openerp-server.orig/bin/addons/report_account/__terp__.py openerp-server/bin/addons/report_account/__terp__.py +--- openerp-server.orig/bin/addons/report_account/__terp__.py 2008-11-03 21:34:18.000000000 +0000 ++++ openerp-server/bin/addons/report_account/__terp__.py 2008-11-09 09:04:30.000000000 +0000 +@@ -23,7 +23,7 @@ + "name" : "Account Reporting - Reporting", + "version" : "1.0", + "author" : "Tiny", +- "website" : "http://tinyerp.com", ++ "website" : "http://openerp.com", + "depends" : ["account"], + "category" : "Generic Modules/Accounting", + "description": "A module that adds new reports based on the account module.", +diff -Naurp openerp-server.orig/bin/addons/report_analytic/__terp__.py openerp-server/bin/addons/report_analytic/__terp__.py +--- openerp-server.orig/bin/addons/report_analytic/__terp__.py 2008-11-03 21:34:18.000000000 +0000 ++++ openerp-server/bin/addons/report_analytic/__terp__.py 2008-11-09 09:04:19.000000000 +0000 +@@ -23,7 +23,7 @@ + "name" : "Analytic Account Reporting", + "version" : "1.0", + "author" : "Tiny", +- "website" : "http://tinyerp.com", ++ "website" : "http://openerp.com", + "depends" : ["account","hr_timesheet_invoice"], + "category" : "Generic Modules/Accounting", + "description": "A module that adds new reports based on analytic accounts.", +diff -Naurp openerp-server.orig/bin/addons/report_analytic_line/__terp__.py openerp-server/bin/addons/report_analytic_line/__terp__.py +--- openerp-server.orig/bin/addons/report_analytic_line/__terp__.py 2008-11-03 21:34:18.000000000 +0000 ++++ openerp-server/bin/addons/report_analytic_line/__terp__.py 2008-11-09 09:04:45.000000000 +0000 +@@ -23,7 +23,7 @@ + "name" : "Analytic lines - Reporting", + "version" : "1.0", + "author" : "Tiny", +- "website" : "http://tinyerp.com", ++ "website" : "http://openerp.com", + "depends" : ["account", "hr_timesheet_invoice"], + "category" : "Generic Modules/Accounting", + "description": "A report on analytic lines, costs by products, months and accounts.", +diff -Naurp openerp-server.orig/bin/addons/report_analytic_planning/__terp__.py openerp-server/bin/addons/report_analytic_planning/__terp__.py +--- openerp-server.orig/bin/addons/report_analytic_planning/__terp__.py 2008-11-03 21:34:18.000000000 +0000 ++++ openerp-server/bin/addons/report_analytic_planning/__terp__.py 2008-11-09 09:05:03.000000000 +0000 +@@ -23,7 +23,7 @@ + "name" : "Analytic planning - Reporting", + "version" : "1.0", + "author" : "Tiny", +- "website" : "http://tinyerp.com", ++ "website" : "http://openerp.com", + "depends" : ["account", "hr_timesheet_invoice","project","report_analytic_line"], + "category" : "Generic Modules/Accounting", + "description": "Planning on analytic accounts.", +diff -Naurp openerp-server.orig/bin/addons/report_crm/__terp__.py openerp-server/bin/addons/report_crm/__terp__.py +--- openerp-server.orig/bin/addons/report_crm/__terp__.py 2008-11-03 21:34:18.000000000 +0000 ++++ openerp-server/bin/addons/report_crm/__terp__.py 2008-11-09 09:03:41.000000000 +0000 +@@ -23,7 +23,7 @@ + "name" : "CRM Management - Reporting", + "version" : "1.0", + "author" : "Tiny", +- "website" : "http://tinyerp.com/module_crm.html", ++ "website" : "http://openerp.com/module_crm.html", + "depends" : ["crm"], + "category" : "Generic Modules/CRM & SRM", + "description": "A module that adds new reports based on CRM cases.", +diff -Naurp openerp-server.orig/bin/addons/report_intrastat/__terp__.py openerp-server/bin/addons/report_intrastat/__terp__.py +--- openerp-server.orig/bin/addons/report_intrastat/__terp__.py 2008-11-03 21:34:19.000000000 +0000 ++++ openerp-server/bin/addons/report_intrastat/__terp__.py 2008-11-09 09:03:10.000000000 +0000 +@@ -23,7 +23,7 @@ + "name" : "Intrastat Reporting - Reporting", + "version" : "1.0", + "author" : "Tiny", +- "website" : "http://tinyerp.com", ++ "website" : "http://openerp.com", + "depends" : ["base", "product", "stock", "sale", "purchase"], + "category" : "Generic Modules/Inventory Control", + "description": "A module that adds intrastat reports.", +diff -Naurp openerp-server.orig/bin/addons/report_mrp/__terp__.py openerp-server/bin/addons/report_mrp/__terp__.py +--- openerp-server.orig/bin/addons/report_mrp/__terp__.py 2008-11-03 21:34:19.000000000 +0000 ++++ openerp-server/bin/addons/report_mrp/__terp__.py 2008-11-09 09:04:23.000000000 +0000 +@@ -23,7 +23,7 @@ + "name": "MRP Management - Reporting", + "version": "1.0", + "author": "Tiny", +- "website": "http://tinyerp.com/module_mrp.html", ++ "website": "http://openerp.com/module_mrp.html", + "depends": ["mrp"], + "category": "Generic Modules/Production", + "description": "A module that adds new reports based on MRP cases.", +diff -Naurp openerp-server.orig/bin/addons/report_project/__terp__.py openerp-server/bin/addons/report_project/__terp__.py +--- openerp-server.orig/bin/addons/report_project/__terp__.py 2008-11-03 21:34:19.000000000 +0000 ++++ openerp-server/bin/addons/report_project/__terp__.py 2008-11-09 09:03:37.000000000 +0000 +@@ -23,7 +23,7 @@ + "name" : "Sales Management - Reporting", + "version" : "1.0", + "author" : "Tiny", +- "website" : "http://tinyerp.com/module_project.html", ++ "website" : "http://openerp.com/module_project.html", + "depends" : ["project", "report_task"], + "category" : "Generic Modules/Sales & Purchases", + "description": "A module that adds some reports on the sales", +diff -Naurp openerp-server.orig/bin/addons/report_purchase/__terp__.py openerp-server/bin/addons/report_purchase/__terp__.py +--- openerp-server.orig/bin/addons/report_purchase/__terp__.py 2008-11-03 21:34:19.000000000 +0000 ++++ openerp-server/bin/addons/report_purchase/__terp__.py 2008-11-09 09:03:01.000000000 +0000 +@@ -23,7 +23,7 @@ + "name" : "Sales Management - Reporting", + "version" : "1.0", + "author" : "Tiny", +- "website" : "http://tinyerp.com/module_purchase.html", ++ "website" : "http://openerp.com/module_purchase.html", + "depends" : ["purchase"], + "category" : "Generic Modules/Sales & Purchases", + "init_xml" : [], +diff -Naurp openerp-server.orig/bin/addons/report_sale/__terp__.py openerp-server/bin/addons/report_sale/__terp__.py +--- openerp-server.orig/bin/addons/report_sale/__terp__.py 2008-11-03 21:34:19.000000000 +0000 ++++ openerp-server/bin/addons/report_sale/__terp__.py 2008-11-09 09:04:15.000000000 +0000 +@@ -23,7 +23,7 @@ + "name" : "Sales Management - Reporting", + "version" : "1.0", + "author" : "Tiny", +- "website" : "http://tinyerp.com/module_sale.html", ++ "website" : "http://openerp.com/module_sale.html", + "depends" : ["sale"], + "category" : "Generic Modules/Sales & Purchases", + "description": """ +diff -Naurp openerp-server.orig/bin/addons/report_timesheet/__terp__.py openerp-server/bin/addons/report_timesheet/__terp__.py +--- openerp-server.orig/bin/addons/report_timesheet/__terp__.py 2008-11-03 21:34:19.000000000 +0000 ++++ openerp-server/bin/addons/report_timesheet/__terp__.py 2008-11-09 09:03:31.000000000 +0000 +@@ -23,7 +23,7 @@ + "name" : "Timesheet - Reporting", + "version" : "1.0", + "author" : "Tiny", +- "website" : "http://tinyerp.com", ++ "website" : "http://openerp.com", + "depends" : ["hr_timesheet",'hr_timesheet_invoice'], + "category" : "Generic Modules/Human Ressources", + "init_xml" : [], +diff -Naurp openerp-server.orig/bin/addons/sale/__terp__.py openerp-server/bin/addons/sale/__terp__.py +--- openerp-server.orig/bin/addons/sale/__terp__.py 2008-11-03 21:34:19.000000000 +0000 ++++ openerp-server/bin/addons/sale/__terp__.py 2008-11-09 09:04:47.000000000 +0000 +@@ -23,7 +23,7 @@ + "name" : "Sales Management", + "version" : "1.0", + "author" : "Tiny", +- "website" : "http://tinyerp.com/module_sale.html", ++ "website" : "http://openerp.com/module_sale.html", + "depends" : ["product", "stock", "mrp", "process"], + "category" : "Generic Modules/Sales & Purchases", + "init_xml" : [], +diff -Naurp openerp-server.orig/bin/addons/sale_analytic_plans/__terp__.py openerp-server/bin/addons/sale_analytic_plans/__terp__.py +--- openerp-server.orig/bin/addons/sale_analytic_plans/__terp__.py 2008-11-03 21:34:19.000000000 +0000 ++++ openerp-server/bin/addons/sale_analytic_plans/__terp__.py 2008-11-09 09:04:44.000000000 +0000 +@@ -23,7 +23,7 @@ + "name" : "Sales Analytic Distribution Management", + "version" : "1.0", + "author" : "Tiny", +- "website" : "http://tinyerp.com/module_sale.html", ++ "website" : "http://openerp.com/module_sale.html", + "depends" : ["sale","account_analytic_plans"], + "category" : "Generic Modules/Sales & Purchases", + "init_xml" : [], +diff -Naurp openerp-server.orig/bin/addons/sale_crm/__terp__.py openerp-server/bin/addons/sale_crm/__terp__.py +--- openerp-server.orig/bin/addons/sale_crm/__terp__.py 2008-11-03 21:34:19.000000000 +0000 ++++ openerp-server/bin/addons/sale_crm/__terp__.py 2008-11-09 09:04:27.000000000 +0000 +@@ -23,7 +23,7 @@ + "name" : "Sale CRM Stuff", + "version" : "1.0", + "author" : "Tiny", +- "website" : "http://tinyerp.com/module_sale.html", ++ "website" : "http://openerp.com/module_sale.html", + "depends" : ["sale", "crm_configuration"], + "category" : "Generic Modules/Sales & Purchases", + "description": """ +diff -Naurp openerp-server.orig/bin/addons/sale_journal/__terp__.py openerp-server/bin/addons/sale_journal/__terp__.py +--- openerp-server.orig/bin/addons/sale_journal/__terp__.py 2008-11-03 21:34:19.000000000 +0000 ++++ openerp-server/bin/addons/sale_journal/__terp__.py 2008-11-09 09:06:20.000000000 +0000 +@@ -24,7 +24,7 @@ + "version" : "1.0", + "author" : "Tiny", + "category" : "Generic Modules/Sales & Purchases", +- "website": "http://www.tinyerp.com", ++ "website": "http://www.openerp.com", + "depends" : ["stock","sale"], + "demo_xml" : ['sale_journal_demo.xml'], + "init_xml" : ['sale_journal_data.xml'], +diff -Naurp openerp-server.orig/bin/addons/stock/__terp__.py openerp-server/bin/addons/stock/__terp__.py +--- openerp-server.orig/bin/addons/stock/__terp__.py 2008-11-03 21:34:19.000000000 +0000 ++++ openerp-server/bin/addons/stock/__terp__.py 2008-11-09 09:03:08.000000000 +0000 +@@ -23,7 +23,7 @@ + "name" : "Stock Management", + "version" : "1.0", + "author" : "Tiny", +- "website" : "http://tinyerp.com/module_stock.html", ++ "website" : "http://openerp.com/module_stock.html", + "depends" : ["product", "account"], + "category" : "Generic Modules/Inventory Control", + "init_xml" : [], +diff -Naurp openerp-server.orig/bin/addons/stock_invoice_directly/__terp__.py openerp-server/bin/addons/stock_invoice_directly/__terp__.py +--- openerp-server.orig/bin/addons/stock_invoice_directly/__terp__.py 2008-11-03 21:34:19.000000000 +0000 ++++ openerp-server/bin/addons/stock_invoice_directly/__terp__.py 2008-11-09 09:05:09.000000000 +0000 +@@ -23,7 +23,7 @@ + "name" : "Invoice Picking Directly", + "version" : "1.0", + "author" : "Tiny", +- "website" : "http://tinyerp.com/module_sale.html", ++ "website" : "http://openerp.com/module_sale.html", + "depends" : ["delivery"], + "category" : "Generic Modules/Sales & Purchases", + "description": """ diff --git a/debian/patches/03-migrate.dpatch b/debian/patches/03-migrate.dpatch new file mode 100644 index 00000000000..3bde7b143eb --- /dev/null +++ b/debian/patches/03-migrate.dpatch @@ -0,0 +1,19 @@ +#!/bin/sh /usr/share/dpatch/dpatch-run +## 03-migrate.dpatch by Brian DeRocher +## +## DP: Correct SQL syntax in migrate script (Closes: #467517). + +@DPATCH@ + +diff -Naurp openerp-server.orig/doc/migrate/3.4.0-4.0.0/pre.py openerp-server/doc/migrate/3.4.0-4.0.0/pre.py +--- openerp-server.orig/doc/migrate/3.4.0-4.0.0/pre.py 2008-11-03 21:33:56.000000000 +0000 ++++ openerp-server/doc/migrate/3.4.0-4.0.0/pre.py 2008-11-09 09:09:49.000000000 +0000 +@@ -123,7 +123,7 @@ cr.commit() + + for line in ( + "ALTER TABLE ir_module_module ADD demo BOOLEAN", +- "ALTER TABLE ir_module_module SET demo DEFAULT False", ++ "ALTER TABLE ir_module_module alter column demo set DEFAULT False", + "DELETE FROM ir_values WHERE VALUE LIKE '%,False'", + """UPDATE ir_ui_view set arch='' where name='ir.ui.menu.tree' and type='tree' and field_parent='child_id'""", + ): diff --git a/debian/patches/04-shebang.dpatch b/debian/patches/04-shebang.dpatch new file mode 100644 index 00000000000..748d2aef330 --- /dev/null +++ b/debian/patches/04-shebang.dpatch @@ -0,0 +1,25 @@ +#!/bin/sh /usr/share/dpatch/dpatch-run +## 04-shebang.dpatch by Daniel Baumann +## +## DP: Correct shebank. + +@DPATCH@ + +diff -Naurp openerp-server.orig/bin/addons/auction/barcode/test.py openerp-server/bin/addons/auction/barcode/test.py +--- openerp-server.orig/bin/addons/auction/barcode/test.py 2008-11-09 13:50:48.000000000 +0000 ++++ openerp-server/bin/addons/auction/barcode/test.py 2008-11-09 13:57:57.000000000 +0000 +@@ -1,4 +1,4 @@ +-#!/usr/pkg/bin/python ++#!/usr/bin/python + from common import * + from code39 import * + from code93 import * +diff -Naurp openerp-server.orig/bin/addons/base/ir/workflow/pydot/dot_parser.py openerp-server/bin/addons/base/ir/workflow/pydot/dot_parser.py +--- openerp-server.orig/bin/addons/base/ir/workflow/pydot/dot_parser.py 2008-11-09 13:50:48.000000000 +0000 ++++ openerp-server/bin/addons/base/ir/workflow/pydot/dot_parser.py 2008-11-09 13:58:15.000000000 +0000 +@@ -1,4 +1,4 @@ +-#!/bin/env python ++#!/usr/bin/python + + """ + The dotparser parses graphviz files in dot and dot files and transforms them diff --git a/debian/postinst b/debian/postinst new file mode 100644 index 00000000000..b64993e5f13 --- /dev/null +++ b/debian/postinst @@ -0,0 +1,46 @@ +#!/bin/sh + +set -e + +USER="openerp" +CONFFILE="/etc/openerp-server.conf" +LOGFILE="/var/log/openerp.log" + +case "${1}" in + configure) + # Creating system user + adduser --no-create-home --quiet --system ${USER} + + # Creating log file + touch ${LOGFILE} + chown ${USER}:adm ${LOGFILE} + chmod 0640 ${LOGFILE} + + # Setting ownership + chown ${USER}:${USER} /usr/lib/openerp-server/addons -R + + chmod 0640 ${CONFFILE} + chown ${USER}:${USER} ${CONFFILE} + + echo + echo "* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *" + echo "* OpenERP uses a PostgreSQL database to store its data. With the first *" + 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 "* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *" + echo + ;; + + abort-upgrade|abort-remove|abort-deconfigure) + + ;; + + *) + echo "postinst called with unknown argument \`{$1}'" >&2 + exit 1 + ;; +esac + +#DEBHELPER# + +exit 0 diff --git a/debian/postrm b/debian/postrm new file mode 100644 index 00000000000..820cd0c3665 --- /dev/null +++ b/debian/postrm @@ -0,0 +1,28 @@ +#!/bin/sh + +set -e + +USER="openerp" + +case "${1}" in + purge) + # Removing system user + if [ -x /usr/sbin/deluser ] + then + deluser --quiet --system ${USER} + fi + ;; + + remove|upgrade|failed-upgrade|abort-install|abort-upgrade|disappear) + + ;; + + *) + echo "postrm called with unknown argument \`${1}'" >&2 + exit 1 + ;; +esac + +#DEBHELPER# + +exit 0 diff --git a/debian/rules b/debian/rules new file mode 100755 index 00000000000..b06842e76bb --- /dev/null +++ b/debian/rules @@ -0,0 +1,62 @@ +#!/usr/bin/make -f + +include /usr/share/dpatch/dpatch.make + +clean: clean-patched unpatch +clean-patched: patch-stamp + dh_testdir + dh_testroot + rm -f build-stamp + + python setup.py clean + + rm -rf build openerp-server + -find $(CURDIR) -type f -name "*.pyc" | xargs rm -f + + dh_clean + +build: patch-stamp + +install: build + dh_testdir + dh_testroot + dh_prep + dh_installdirs + + python setup.py install --no-compile --prefix=$(CURDIR)/debian/tinyerp-server/usr + + # Adjusting program location + sed -i -e 's|python.*/site-packages/||' debian/tinyerp-server/usr/bin/openerp-server + mv debian/tinyerp-server/usr/lib/python*/site-packages/openerp-server debian/tinyerp-server/usr/lib + rm -rf debian/tinyerp-server/usr/lib/python* + + # Workaround for bug in setup.py + mv debian/tinyerp-server/usr/import_xml.rng debian/tinyerp-server/usr/lib/openerp-server + + # Fixing permissions + find debian/tinyerp-server/usr/lib/openerp-server/addons -type f -print0 | xargs -0 chmod 0644 + + # Removing double files + rm -rf debian/tinyerp-server/usr/share/doc/openerp-server-* + +binary: binary-indep + +binary-arch: + +binary-indep: build install + dh_testdir + dh_testroot + dh_installchangelogs doc/Changelog + dh_installdocs + dh_install + dh_installinit --name=openerp-server --update-rcd-params='defaults 21' + dh_lintian + dh_link + dh_compress + dh_fixperms + dh_installdeb + dh_gencontrol + dh_md5sums + dh_builddeb + +.PHONY: clean build install binary binary-arch binary-indep