Package: tinyerp-server
Version: 4.2.1-1
Severity: whislist
User: [EMAIL PROTECTED]
Usertags: origin-ubuntu hardy ubuntu-patch

Here a a list of patches from ubuntu which fix:
  [ Nicolas Valcárcel (nxvl) ]
  * Modified DATABASE_PORT on debian/defaults for better out-of-the-box
work with postgresql (LP: #179790)
  
  [ Christophe Sauthier (huats) ]
  * Remove obsolete build dependency on python-xml (LP: #199014)
  * Modifications to the debian/control file :
    - Move of the Homepage: pseudo tag from the extended description to
the regular fields. 
    
  [ Gabriel Velo ]
  * Added creation of log file. (LP: #133187) 
    
  [ Scott Kitterman ]
  * Added debian/pyversions 2.4- since python 2.4 is the first version
that obsoletes python-xml
  * Fix typo in debian/rules clean rule (setyp.py/setup.py)
  * Moved python-dev from Build-Depends-Indep to Build-Depends because
it's needed to run clean
  * Add version dependency (>= 0.4.0) for python-support since package
does not ship debian/pycompat

Please include them, you will just need to edit the Maintainer field,
because i was having problems building the package without changing it.
Thanks!

-- 
aka nxvl
key fingerprint: E140 4CC7 5E3C B6B4 DCA7 F6FD D22E 2FB4 A9BA 6877
gpg --keyserver keyserver.ubuntu.com --recv-keys A9BA6877
Yo uso Software Libre y tu?

--- tinyerp-server-4.2.1/debian/control
+++ tinyerp-server-4.2.1/debian/control
@@ -1,16 +1,17 @@
 Source: tinyerp-server
 Section: net
 Priority: optional
-Maintainer: Daniel Baumann <[EMAIL PROTECTED]>
-Build-Depends: debhelper (>= 5), dpatch, python-support
-Build-Depends-Indep: python-dev, python-psycopg2, python-libxml2, python-libxslt1
+Maintainer: Ubuntu MOTU Developers <[EMAIL PROTECTED]>
+XSBC-Original-Maintainer: Daniel Baumann <[EMAIL PROTECTED]>
+Build-Depends: debhelper (>= 5), dpatch, python-support (>= 0.4.0), python-dev
+Build-Depends-Indep: python-psycopg2, python-libxml2, python-libxslt1
 Standards-Version: 3.7.3
 Homepage: http://www.tinyerp.org/
 
 Package: tinyerp-server
 Section: net
 Architecture: all
-Depends: ${misc:Depends}, ${python:Depends}, adduser, python-psycopg2, python-libxml2, python-xml, python-libxslt1, python-reportlab
+Depends: ${misc:Depends}, ${python:Depends}, adduser, python-psycopg2, python-libxml2, python-libxslt1, python-reportlab
 Recommends: postgresql | postgresql-8.0 | postgresql-8.1, postgresql-client, python-imaging, python-pyparsing, graphviz
 Suggests: tinyerp-client
 Description: Enterprise Resource Management software (server)
only in patch2:
unchanged:
--- tinyerp-server-4.2.1/debian/default
+++ tinyerp-server-4.2.1/debian/default
@@ -1,5 +1,8 @@
 # Defaults for tinyerp-server initscript
 
+# Specify the log file (Default: /etc/tinyerp-server.log).
+LOGFILE="/var/log/tinyerp.log"
+
 # Specify an alternate config file (Default: /etc/tinyerp-server.conf).
 CONFIGFILE="/etc/tinyerp-server.conf"
 
@@ -28,4 +31,4 @@
-DATABASE_PORT="5433"
+DATABASE_PORT="5432"
 
 # Additional options that are passed to the Daemon.
-DAEMON_OPTS="--config=$CONFIGFILE --port=$PORT --interface=$INTERFACE --database=$DATABASE_NAME --db_user=$DATABASE_USER --db_password=$DATABASE_PASSWORD --db_host=$DATABASE_HOST --db_port=$DATABASE_PORT"
+DAEMON_OPTS="--config=$CONFIGFILE --port=$PORT --interface=$INTERFACE --database=$DATABASE_NAME --db_user=$DATABASE_USER --db_password=$DATABASE_PASSWORD --db_host=$DATABASE_HOST --db_port=$DATABASE_PORT --logfile=$LOGFILE"
--- tinyerp-server-4.2.1/debian/postinst
+++ tinyerp-server-4.2.1/debian/postinst
@@ -9,6 +9,11 @@
 		# Creating system user
 		adduser --no-create-home --quiet --system $USER
 
+		# Creating log file		
+		touch $LOGFILE
+	      	chown $USER:adm $LOGFILE
+      		chmod 0640 $LOGFILE
+
 		echo
 		echo "* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *"
 		echo "* Tiny ERP uses a PostgreSQL database to store its data. With the first *"
--- tinyerp-server-4.2.1.orig/debian/pyversions
+++ tinyerp-server-4.2.1/debian/pyversions
@@ -0,0 +1,2 @@
+2.4-
+
--- tinyerp-server-4.2.1/debian/rules
+++ tinyerp-server-4.2.1/debian/rules
@@ -13,7 +13,7 @@
 	rm -f build-stamp
 
 	# Cleaning package
-	-python setyp.py clean
+	-python setup.py clean
 	rm -rf build
 	-find $(CURDIR) -type f -name "*.pyc" | xargs rm -f
 

Attachment: signature.asc
Description: This is a digitally signed message part

Reply via email to