Skip to content

Commit

Permalink
[IMP] packaging debian
Browse files Browse the repository at this point in the history
  • Loading branch information
antonylesuisse committed Oct 3, 2011
1 parent 56c5b49 commit 8d7a2af
Show file tree
Hide file tree
Showing 7 changed files with 14 additions and 45 deletions.
7 changes: 2 additions & 5 deletions debian/control
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,10 @@ Source: openerp
Section: net
Priority: optional
Maintainer: OpenERP SA <[email protected]>
Build-Depends: debhelper (>= 7.0.50~), python
Build-Depends-Indep:
python-libxslt1, python-lxml, python-pychart, python-pydot, python-psycopg2,
python-reportlab
Build-Depends: debhelper (>= 7.0.50~), python, rsync
Standards-Version: 3.9.1
Homepage: http://www.openerp.com/
Vcs-Bzr: https://code.launchpad.net/openobject
Vcs-Bzr: https://launchpad.net/openobject

Package: openerp
Section: net
Expand Down
2 changes: 1 addition & 1 deletion debian/openerp.install
Original file line number Diff line number Diff line change
@@ -1 +1 @@
doc/openerp-server.conf /etc
install/openerp-server.conf /etc/openerp
7 changes: 0 additions & 7 deletions debian/openerp.lintian-overrides

This file was deleted.

2 changes: 0 additions & 2 deletions debian/openerp.postinst
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,6 @@

set -e

. /usr/share/debconf/confmodule

CONFFILE="/etc/openerp.conf"
FILESTORE="/var/lib/openerp/filestore"
LOGFILE="/var/log/openerp.log"
Expand Down
13 changes: 11 additions & 2 deletions debian/rules
Original file line number Diff line number Diff line change
@@ -1,9 +1,18 @@
#!/usr/bin/make -f

EXTRA_MODULES_PATH ?= ../addons

%:
dh ${@}

override_dh_pysupport:
echo "rsync"
sh -c "[ -d debian/openerp/usr/lib/python2.6 ] && rsync -av openerp/ debian/openerp/usr/lib/python2.6/dist-packages/openerp/" || true
sh -c "[ -d debian/openerp/usr/lib/python2.7 ] && rsync -av openerp/ debian/openerp/usr/lib/python2.7/dist-packages/openerp/" || true
rm -Rf debian/openerp/usr/openerp debian/openerp/usr/lib/python2.6/dist-packages/tests debian/openerp/usr/lib/python2.7/dist-packages/tests
dh_pysupport
rm -Rf debian/openerp/usr/lib



override_dh_installinit:
dh_installinit --update-rcd-params='defaults 21'

1 change: 0 additions & 1 deletion debian/source/format

This file was deleted.

27 changes: 0 additions & 27 deletions install/openerp-server.conf
Original file line number Diff line number Diff line change
@@ -1,34 +1,7 @@
[options]
without_demo = True
; This is the password that allows database operations:
; admin_passwd = admin
upgrade = False
verbose = False
netrpc = True
; netrpc_interface =
; netrpc_port =
xmlrpc = True
; xmlrpc_interface =
xmlrpc_port = 8069
db_host = False
db_port = False
; Please uncomment the following line *after* you have created the
; database. It activates the auto module check on startup.
; db_name = terp
db_user = openerp
db_password = False
; Uncomment these for xml-rpc over SSL
; secure = True
; secure_cert_file = /etc/openerp/server.cert
; secure_pkey_file = /etc/openerp/server.key
root_path = None
soap = False
translate_modules = ['all']
demo = {}
addons_path = None
reportgz = False

; Static http parameters
static_http_enable = False
static_http_document_root = /var/www/html
static_http_url_prefix = /

0 comments on commit 8d7a2af

Please sign in to comment.