Your message dated Wed, 16 Feb 2011 16:17:11 +0000
with message-id <[email protected]>
and subject line Bug#612331: fixed in docvert 4.0-2
has caused the Debian Bug report #612331,
regarding please update for LibreOffice and share/extensions
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
612331: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=612331
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: docvert-libreoffice
Version: 4.0-1
Severity: important
Tags: patch

Hi,

as outlined in http://lists.debian.org/debian-openoffice/2011/01/msg00120.html
OpenOffice.org extensions (and in this case packages using OpenOffice.org stuff
directly) need updates.

I propose the attached patch.

-- System Information:
Debian Release: 6.0
  APT prefers stable
  APT policy: (500, 'stable'), (1, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.32-5-amd64 (SMP w/2 CPU cores)
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Grüße/Regards,

Rene
diff -Nru docvert-4.0/debian/changelog docvert-4.0/debian/changelog
--- docvert-4.0/debian/changelog	2010-12-22 00:56:29.000000000 +0000
+++ docvert-4.0/debian/changelog	2011-01-10 01:42:01.000000000 +0000
@@ -1,3 +1,10 @@
+docvert (4.0-1.1) unstable; urgency=low
+
+  * Non-maintainer upload.
+  * update for LibreOffice 
+
+ -- Rene Engelhard <[email protected]>  Mon, 10 Jan 2011 02:41:54 +0100
+
 docvert (4.0-1) unstable; urgency=low
 
   * New upstream release:
diff -Nru docvert-4.0/debian/control docvert-4.0/debian/control
--- docvert-4.0/debian/control	2010-12-22 00:56:29.000000000 +0000
+++ docvert-4.0/debian/control	2011-01-10 01:46:24.000000000 +0000
@@ -12,7 +12,7 @@
 Architecture: all
 Pre-Depends: pwgen
 Depends: ${misc:Depends}, python, php5-xsl, php5-cli, php5-gd, php5-tidy, librsvg2-bin, apache2, libapache2-mod-php5, libphp-pclzip, fckeditor
-Recommends: docvert-openoffice.org, optipng, jpegoptim
+Recommends: docvert-libreoffice, optipng, jpegoptim
 Description: converts word processor files to HTML
  Docvert is a web application which takes word processor files
  (typically .doc) and converts them to OpenDocument and clean HTML.
@@ -26,17 +26,17 @@
  A command-line program which uses the web application is also included.
  .
  This package only supports OpenDocument. To convert other formats,
- install docvert-openoffice.org.
+ install docvert-libreoffice.
 
-Package: docvert-openoffice.org
+Package: docvert-libreoffice
 Architecture: all
 Pre-Depends: procps
-Depends: ${misc:Depends}, openoffice.org-writer, openoffice.org-core, python-uno, lsb-base (>= 3.0-6), python, pdf2svg, adduser, docvert
-Conflicts: docvert-openoffice
-Replaces: docvert-openoffice
-Description: converts word processor files to HTML using OpenOffice.org
+Depends: ${misc:Depends}, libreoffice-writer, libreoffice-core, python-uno, lsb-base (>= 3.0-6), python, pdf2svg, adduser, docvert
+Conflicts: docvert-openoffice, docvert-openoffice.org
+Replaces: docvert-openoffice, docvert-openoffice.org
+Description: converts word processor files to HTML using LibreOffice
  Docvert is a web application which takes word processor files
  (typically .doc) and converts them to OpenDocument and clean HTML.
  .
  This package adds the ability to convert Word documents using
- OpenOffice.org.
+ LibreOffice.
diff -Nru docvert-4.0/debian/docvert-libreoffice.dirs docvert-4.0/debian/docvert-libreoffice.dirs
--- docvert-4.0/debian/docvert-libreoffice.dirs	1970-01-01 00:00:00.000000000 +0000
+++ docvert-4.0/debian/docvert-libreoffice.dirs	2011-01-10 01:46:13.000000000 +0000
@@ -0,0 +1 @@
+usr/share/docvert/core/config/unix-specific/
diff -Nru docvert-4.0/debian/docvert-libreoffice.docvert-converter.init docvert-4.0/debian/docvert-libreoffice.docvert-converter.init
--- docvert-4.0/debian/docvert-libreoffice.docvert-converter.init	1970-01-01 00:00:00.000000000 +0000
+++ docvert-4.0/debian/docvert-libreoffice.docvert-converter.init	2011-01-10 01:43:06.000000000 +0000
@@ -0,0 +1,132 @@
+#! /bin/sh
+### BEGIN INIT INFO
+# Provides:          docvert-converter
+# Default-Start:     2 3 4 5
+# Default-Stop:      0 1 6
+# Required-Start:    $remote_fs $local_fs $network $syslog
+# Required-Stop:     $remote_fs $local_fs $network $syslog
+# Short-Description: LibreOffice service for Docvert
+# Description:       This init.d script is used to start LibreOffice as a
+#                    service.
+### END INIT INFO
+
+# Author: Martyn Smith <[email protected]>
+
+# Do NOT "set -e"
+
+PATH=/sbin:/usr/sbin:/bin:/usr/bin
+DESC="LibreOffice service for Docvert"
+NAME=docvert-converter
+USER=docvert
+GROUP=docvert
+DAEMON=/usr/share/docvert/core/config/unix-specific/openoffice.org-server.sh
+DAEMON_ARGS=""
+PIDFILE=/var/run/docvert/converter.pid
+SCRIPTNAME=/etc/init.d/$NAME
+
+# Exit if the package is not installed
+[ -x "$DAEMON" ] || exit 0
+
+# Read configuration variable file if it is present
+[ -r /etc/default/$NAME ] && . /etc/default/$NAME
+
+# Load the VERBOSE setting and other rcS variables
+. /lib/init/vars.sh
+
+# Define LSB log_* functions.
+# Depend on lsb-base (>= 3.0-6) to ensure that this file is present.
+. /lib/lsb/init-functions
+
+#
+# Function that starts the daemon/service
+#
+do_start()
+{
+	# Return
+	#   0 if daemon has been started
+	#   1 if daemon was already running
+	#   2 if daemon could not be started
+	start-stop-daemon -c $USER -g $GROUP --start --pidfile $PIDFILE --exec $DAEMON --test > /dev/null || return 1
+	start-stop-daemon -c $USER -g $GROUP --start --pidfile $PIDFILE --background --exec $DAEMON -- $DAEMON_ARGS || return 2
+	sleep 2
+	pgrep -U $USER -G $GROUP "soffice" > "$PIDFILE"
+	[ -s "$PIDFILE" ] || return 2
+	return 0
+	# Add code here, if necessary, that waits for the process to be ready
+	# to handle requests from services started subsequently which depend
+	# on this one.  As a last resort, sleep for some time.
+}
+
+#
+# Function that stops the daemon/service
+#
+do_stop()
+{
+	# Return
+	#   0 if daemon has been stopped
+	#   1 if daemon was already stopped
+	#   2 if daemon could not be stopped
+	#   other if a failure occurred
+	start-stop-daemon -c $USER -g $GROUP --quiet --stop  --pidfile $PIDFILE
+	RETVAL="$?"
+	[ "$RETVAL" = 2 ] && return 2
+	# Wait for children to finish too if this is a daemon that forks
+	# and if the daemon is only ever run from this initscript.
+	# If the above conditions are not satisfied then add some other code
+	# that waits for the process to drop all resources that could be
+	# needed by services started subsequently.  A last resort is to
+	# sleep for some time.
+	# Many daemons don't delete their pidfiles when they exit.
+	return "$RETVAL"
+}
+
+# Make sure the /var/run directory exists and is writable
+mkdir -p `dirname $PIDFILE`
+chown docvert `dirname $PIDFILE`
+
+case "$1" in
+  status)
+	status_of_proc -p $PIDFILE $DAEMON $NAME && exit 0 || exit $?
+	;;
+  start)
+	log_daemon_msg "Starting $DESC" "$NAME"
+	do_start
+	case "$?" in
+		0|1) log_end_msg 0 ;;
+		2) log_end_msg 1 ;;
+	esac
+	;;
+  stop)
+	log_daemon_msg "Stopping $DESC" "$NAME"
+	do_stop
+	case "$?" in
+		0|1) log_end_msg 0 ;;
+		2) log_end_msg 1 ;;
+	esac
+	;;
+  restart|force-reload)
+	log_daemon_msg "Restarting $DESC" "$NAME"
+	do_stop
+	case "$?" in
+	  0|1)
+		do_start
+		case "$?" in
+			0) log_end_msg 0 ;;
+			1) log_end_msg 1 ;; # Old process is still running
+			*) log_end_msg 1 ;; # Failed to start
+		esac
+		;;
+	  *)
+	  	# Failed to stop
+		log_end_msg 1
+		;;
+	esac
+	;;
+  *)
+	echo "Usage: $SCRIPTNAME {start|stop|restart|force-reload|status}" >&2
+	exit 3
+	;;
+esac
+
+# Do NOT remove this, it sets the return value!
+:
diff -Nru docvert-4.0/debian/docvert-libreoffice.postinst docvert-4.0/debian/docvert-libreoffice.postinst
--- docvert-4.0/debian/docvert-libreoffice.postinst	1970-01-01 00:00:00.000000000 +0000
+++ docvert-4.0/debian/docvert-libreoffice.postinst	2010-12-22 00:56:29.000000000 +0000
@@ -0,0 +1,63 @@
+#!/bin/bash
+# postinst script for docvert
+#
+# see: dh_installdeb(1)
+
+set -e
+
+# summary of how this script can be called:
+#        * <postinst> `configure' <most-recently-configured-version>
+#        * <old-postinst> `abort-upgrade' <new version>
+#        * <conflictor's-postinst> `abort-remove' `in-favour' <package>
+#          <new-version>
+#        * <postinst> `abort-remove'
+#        * <deconfigured's-postinst> `abort-deconfigure' `in-favour'
+#          <failed-install-package> <version> `removing'
+#          <conflicting-package> <version>
+# for details, see http://www.debian.org/doc/debian-policy/ or
+# the debian-policy package
+
+CONFIG_FILE="/etc/docvert/docvert.conf"
+function set_config {
+	mkdir -p `dirname $CONFIG_FILE`
+	touch $CONFIG_FILE
+	chmod 644 $CONFIG_FILE
+	chown www-data:www-data $CONFIG_FILE
+
+	# Create default values if they don't exist
+    grep -q 'disallowNonOpenDocumentUploads' $CONFIG_FILE || echo 'disallowNonOpenDocumentUploads="false"' >> $CONFIG_FILE
+    grep -q 'runExternalApplicationAsUser' $CONFIG_FILE || echo 'runExternalApplicationAsUser="docvert"' >> $CONFIG_FILE
+	grep -q 'doNotUseConverterpyodconverter' $CONFIG_FILE || echo 'doNotUseConverterpyodconverter="false"' >> $CONFIG_FILE
+
+	# Change the values if they exist
+	perl -i -pe 's/doNotUseConverterpyodconverter="true"/doNotUseConverterpyodconverter="false"/i' $CONFIG_FILE
+    perl -i -pe 's/disallowNonOpenDocumentUploads="true"/disallowNonOpenDocumentUploads="false"/i' $CONFIG_FILE
+}
+
+case "$1" in
+    configure)
+        set_config
+        adduser --system --group --home /var/lib/docvert/home --gecos 'Docvert Converter,,,' docvert || true
+
+        mkdir -p /var/lib/docvert/home
+        chown docvert /var/lib/docvert/home
+
+        mkdir -p /var/run/docvert
+        chown docvert /var/run/docvert
+    ;;
+
+    abort-upgrade|abort-remove|abort-deconfigure)
+    ;;
+
+    *)
+        echo "postinst called with unknown argument \`$1'" >&2
+        exit 1
+    ;;
+esac
+
+# dh_installdeb will replace this with shell code automatically
+# generated by other debhelper scripts.
+
+#DEBHELPER#
+
+exit 0
diff -Nru docvert-4.0/debian/docvert-libreoffice.postrm docvert-4.0/debian/docvert-libreoffice.postrm
--- docvert-4.0/debian/docvert-libreoffice.postrm	1970-01-01 00:00:00.000000000 +0000
+++ docvert-4.0/debian/docvert-libreoffice.postrm	2010-12-22 00:56:29.000000000 +0000
@@ -0,0 +1,55 @@
+#!/bin/bash
+# postrm script for docvert
+#
+# see: dh_installdeb(1)
+
+set -e
+
+# summary of how this script can be called:
+#        * <postrm> `remove'
+#        * <postrm> `purge'
+#        * <old-postrm> `upgrade' <new-version>
+#        * <new-postrm> `failed-upgrade' <old-version>
+#        * <new-postrm> `abort-install'
+#        * <new-postrm> `abort-install' <old-version>
+#        * <new-postrm> `abort-upgrade' <old-version>
+#        * <disappearer's-postrm> `disappear' <overwriter>
+#          <overwriter-version>
+# for details, see http://www.debian.org/doc/debian-policy/ or
+# the debian-policy package
+
+CONFIG_FILE="/etc/docvert/docvert.conf"
+function set_config {
+        touch $CONFIG_FILE
+        chmod 644 $CONFIG_FILE
+        chown www-data:www-data $CONFIG_FILE
+
+        # Create default values if they don't exist
+        grep -q 'doNotUseConverterpyodconverter' $CONFIG_FILE || echo 'doNotUseConverterpyodconverter="true"' >> $CONFIG_FILE
+        grep -q 'disallowNonOpenDocumentUploads' $CONFIG_FILE || echo 'disallowNonOpenDocumentUploads="true"' >> $CONFIG_FILE
+
+        # Change the values if they exist
+        perl -i -pe 's/doNotUseConverterpyodconverter="false"/doNotUseConverterpyodconverter="true"/i' $CONFIG_FILE
+        perl -i -pe 's/disallowNonOpenDocumentUploads="false"/disallowNonOpenDocumentUploads="true"/i' $CONFIG_FILE
+}
+
+case "$1" in
+    purge|remove|upgrade|failed-upgrade|abort-install|abort-upgrade|disappear)
+        if [ -e $CONFIG_FILE ] ; then set_config ; fi
+        deluser docvert || true
+        rm -rf /var/lib/docvert/home
+        rm -rf /var/run/docvert
+    ;;
+
+    *)
+	echo "postrm called with unknown argument \`$1'" >&2
+	exit 1
+    ;;
+esac
+
+# dh_installdeb will replace this with shell code automatically
+# generated by other debhelper scripts.
+
+#DEBHELPER#
+
+exit 0
diff -Nru docvert-4.0/debian/docvert-openoffice.org.dirs docvert-4.0/debian/docvert-openoffice.org.dirs
--- docvert-4.0/debian/docvert-openoffice.org.dirs	2010-12-22 00:56:29.000000000 +0000
+++ docvert-4.0/debian/docvert-openoffice.org.dirs	1970-01-01 00:00:00.000000000 +0000
@@ -1 +0,0 @@
-usr/share/docvert/core/config/unix-specific/
diff -Nru docvert-4.0/debian/docvert-openoffice.org.docvert-converter.init docvert-4.0/debian/docvert-openoffice.org.docvert-converter.init
--- docvert-4.0/debian/docvert-openoffice.org.docvert-converter.init	2010-12-22 00:56:29.000000000 +0000
+++ docvert-4.0/debian/docvert-openoffice.org.docvert-converter.init	1970-01-01 00:00:00.000000000 +0000
@@ -1,132 +0,0 @@
-#! /bin/sh
-### BEGIN INIT INFO
-# Provides:          docvert-converter
-# Default-Start:     2 3 4 5
-# Default-Stop:      0 1 6
-# Required-Start:    $remote_fs $local_fs $network $syslog
-# Required-Stop:     $remote_fs $local_fs $network $syslog
-# Short-Description: OpenOffice.org service for Docvert
-# Description:       This init.d script is used to start OpenOffice.org as a
-#                    service.
-### END INIT INFO
-
-# Author: Martyn Smith <[email protected]>
-
-# Do NOT "set -e"
-
-PATH=/sbin:/usr/sbin:/bin:/usr/bin
-DESC="OpenOffice.org service for Docvert"
-NAME=docvert-converter
-USER=docvert
-GROUP=docvert
-DAEMON=/usr/share/docvert/core/config/unix-specific/openoffice.org-server.sh
-DAEMON_ARGS=""
-PIDFILE=/var/run/docvert/converter.pid
-SCRIPTNAME=/etc/init.d/$NAME
-
-# Exit if the package is not installed
-[ -x "$DAEMON" ] || exit 0
-
-# Read configuration variable file if it is present
-[ -r /etc/default/$NAME ] && . /etc/default/$NAME
-
-# Load the VERBOSE setting and other rcS variables
-. /lib/init/vars.sh
-
-# Define LSB log_* functions.
-# Depend on lsb-base (>= 3.0-6) to ensure that this file is present.
-. /lib/lsb/init-functions
-
-#
-# Function that starts the daemon/service
-#
-do_start()
-{
-	# Return
-	#   0 if daemon has been started
-	#   1 if daemon was already running
-	#   2 if daemon could not be started
-	start-stop-daemon -c $USER -g $GROUP --start --pidfile $PIDFILE --exec $DAEMON --test > /dev/null || return 1
-	start-stop-daemon -c $USER -g $GROUP --start --pidfile $PIDFILE --background --exec $DAEMON -- $DAEMON_ARGS || return 2
-	sleep 2
-	pgrep -U $USER -G $GROUP "soffice" > "$PIDFILE"
-	[ -s "$PIDFILE" ] || return 2
-	return 0
-	# Add code here, if necessary, that waits for the process to be ready
-	# to handle requests from services started subsequently which depend
-	# on this one.  As a last resort, sleep for some time.
-}
-
-#
-# Function that stops the daemon/service
-#
-do_stop()
-{
-	# Return
-	#   0 if daemon has been stopped
-	#   1 if daemon was already stopped
-	#   2 if daemon could not be stopped
-	#   other if a failure occurred
-	start-stop-daemon -c $USER -g $GROUP --quiet --stop  --pidfile $PIDFILE
-	RETVAL="$?"
-	[ "$RETVAL" = 2 ] && return 2
-	# Wait for children to finish too if this is a daemon that forks
-	# and if the daemon is only ever run from this initscript.
-	# If the above conditions are not satisfied then add some other code
-	# that waits for the process to drop all resources that could be
-	# needed by services started subsequently.  A last resort is to
-	# sleep for some time.
-	# Many daemons don't delete their pidfiles when they exit.
-	return "$RETVAL"
-}
-
-# Make sure the /var/run directory exists and is writable
-mkdir -p `dirname $PIDFILE`
-chown docvert `dirname $PIDFILE`
-
-case "$1" in
-  status)
-	status_of_proc -p $PIDFILE $DAEMON $NAME && exit 0 || exit $?
-	;;
-  start)
-	log_daemon_msg "Starting $DESC" "$NAME"
-	do_start
-	case "$?" in
-		0|1) log_end_msg 0 ;;
-		2) log_end_msg 1 ;;
-	esac
-	;;
-  stop)
-	log_daemon_msg "Stopping $DESC" "$NAME"
-	do_stop
-	case "$?" in
-		0|1) log_end_msg 0 ;;
-		2) log_end_msg 1 ;;
-	esac
-	;;
-  restart|force-reload)
-	log_daemon_msg "Restarting $DESC" "$NAME"
-	do_stop
-	case "$?" in
-	  0|1)
-		do_start
-		case "$?" in
-			0) log_end_msg 0 ;;
-			1) log_end_msg 1 ;; # Old process is still running
-			*) log_end_msg 1 ;; # Failed to start
-		esac
-		;;
-	  *)
-	  	# Failed to stop
-		log_end_msg 1
-		;;
-	esac
-	;;
-  *)
-	echo "Usage: $SCRIPTNAME {start|stop|restart|force-reload|status}" >&2
-	exit 3
-	;;
-esac
-
-# Do NOT remove this, it sets the return value!
-:
diff -Nru docvert-4.0/debian/docvert-openoffice.org.postinst docvert-4.0/debian/docvert-openoffice.org.postinst
--- docvert-4.0/debian/docvert-openoffice.org.postinst	2010-12-22 00:56:29.000000000 +0000
+++ docvert-4.0/debian/docvert-openoffice.org.postinst	1970-01-01 00:00:00.000000000 +0000
@@ -1,63 +0,0 @@
-#!/bin/bash
-# postinst script for docvert
-#
-# see: dh_installdeb(1)
-
-set -e
-
-# summary of how this script can be called:
-#        * <postinst> `configure' <most-recently-configured-version>
-#        * <old-postinst> `abort-upgrade' <new version>
-#        * <conflictor's-postinst> `abort-remove' `in-favour' <package>
-#          <new-version>
-#        * <postinst> `abort-remove'
-#        * <deconfigured's-postinst> `abort-deconfigure' `in-favour'
-#          <failed-install-package> <version> `removing'
-#          <conflicting-package> <version>
-# for details, see http://www.debian.org/doc/debian-policy/ or
-# the debian-policy package
-
-CONFIG_FILE="/etc/docvert/docvert.conf"
-function set_config {
-	mkdir -p `dirname $CONFIG_FILE`
-	touch $CONFIG_FILE
-	chmod 644 $CONFIG_FILE
-	chown www-data:www-data $CONFIG_FILE
-
-	# Create default values if they don't exist
-    grep -q 'disallowNonOpenDocumentUploads' $CONFIG_FILE || echo 'disallowNonOpenDocumentUploads="false"' >> $CONFIG_FILE
-    grep -q 'runExternalApplicationAsUser' $CONFIG_FILE || echo 'runExternalApplicationAsUser="docvert"' >> $CONFIG_FILE
-	grep -q 'doNotUseConverterpyodconverter' $CONFIG_FILE || echo 'doNotUseConverterpyodconverter="false"' >> $CONFIG_FILE
-
-	# Change the values if they exist
-	perl -i -pe 's/doNotUseConverterpyodconverter="true"/doNotUseConverterpyodconverter="false"/i' $CONFIG_FILE
-    perl -i -pe 's/disallowNonOpenDocumentUploads="true"/disallowNonOpenDocumentUploads="false"/i' $CONFIG_FILE
-}
-
-case "$1" in
-    configure)
-        set_config
-        adduser --system --group --home /var/lib/docvert/home --gecos 'Docvert Converter,,,' docvert || true
-
-        mkdir -p /var/lib/docvert/home
-        chown docvert /var/lib/docvert/home
-
-        mkdir -p /var/run/docvert
-        chown docvert /var/run/docvert
-    ;;
-
-    abort-upgrade|abort-remove|abort-deconfigure)
-    ;;
-
-    *)
-        echo "postinst called with unknown argument \`$1'" >&2
-        exit 1
-    ;;
-esac
-
-# dh_installdeb will replace this with shell code automatically
-# generated by other debhelper scripts.
-
-#DEBHELPER#
-
-exit 0
diff -Nru docvert-4.0/debian/docvert-openoffice.org.postrm docvert-4.0/debian/docvert-openoffice.org.postrm
--- docvert-4.0/debian/docvert-openoffice.org.postrm	2010-12-22 00:56:29.000000000 +0000
+++ docvert-4.0/debian/docvert-openoffice.org.postrm	1970-01-01 00:00:00.000000000 +0000
@@ -1,55 +0,0 @@
-#!/bin/bash
-# postrm script for docvert
-#
-# see: dh_installdeb(1)
-
-set -e
-
-# summary of how this script can be called:
-#        * <postrm> `remove'
-#        * <postrm> `purge'
-#        * <old-postrm> `upgrade' <new-version>
-#        * <new-postrm> `failed-upgrade' <old-version>
-#        * <new-postrm> `abort-install'
-#        * <new-postrm> `abort-install' <old-version>
-#        * <new-postrm> `abort-upgrade' <old-version>
-#        * <disappearer's-postrm> `disappear' <overwriter>
-#          <overwriter-version>
-# for details, see http://www.debian.org/doc/debian-policy/ or
-# the debian-policy package
-
-CONFIG_FILE="/etc/docvert/docvert.conf"
-function set_config {
-        touch $CONFIG_FILE
-        chmod 644 $CONFIG_FILE
-        chown www-data:www-data $CONFIG_FILE
-
-        # Create default values if they don't exist
-        grep -q 'doNotUseConverterpyodconverter' $CONFIG_FILE || echo 'doNotUseConverterpyodconverter="true"' >> $CONFIG_FILE
-        grep -q 'disallowNonOpenDocumentUploads' $CONFIG_FILE || echo 'disallowNonOpenDocumentUploads="true"' >> $CONFIG_FILE
-
-        # Change the values if they exist
-        perl -i -pe 's/doNotUseConverterpyodconverter="false"/doNotUseConverterpyodconverter="true"/i' $CONFIG_FILE
-        perl -i -pe 's/disallowNonOpenDocumentUploads="false"/disallowNonOpenDocumentUploads="true"/i' $CONFIG_FILE
-}
-
-case "$1" in
-    purge|remove|upgrade|failed-upgrade|abort-install|abort-upgrade|disappear)
-        if [ -e $CONFIG_FILE ] ; then set_config ; fi
-        deluser docvert || true
-        rm -rf /var/lib/docvert/home
-        rm -rf /var/run/docvert
-    ;;
-
-    *)
-	echo "postrm called with unknown argument \`$1'" >&2
-	exit 1
-    ;;
-esac
-
-# dh_installdeb will replace this with shell code automatically
-# generated by other debhelper scripts.
-
-#DEBHELPER#
-
-exit 0
diff -Nru docvert-4.0/debian/patches/debian-changes-4.0-1.1 docvert-4.0/debian/patches/debian-changes-4.0-1.1
--- docvert-4.0/debian/patches/debian-changes-4.0-1.1	1970-01-01 00:00:00.000000000 +0000
+++ docvert-4.0/debian/patches/debian-changes-4.0-1.1	2011-02-07 19:34:34.000000000 +0000
@@ -0,0 +1,76 @@
+Description: Upstream changes introduced in version 4.0-1.1
+ This patch has been created by dpkg-source during the package build.
+ Here's the last changelog entry, hopefully it gives details on why
+ those changes were made:
+ .
+ docvert (4.0-1.1) unstable; urgency=low
+ .
+   * Non-maintainer upload.
+   * update for LibreOffice
+ .
+ The person named in the Author field signed this changelog entry.
+Author: Rene Engelhard <[email protected]>
+
+---
+The information above should follow the Patch Tagging Guidelines, please
+checkout http://dep.debian.net/deps/dep3/ to learn about the format. Here
+are templates for supplementary fields that you might want to add:
+
+Origin: <vendor|upstream|other>, <url of original patch>
+Bug: <url in upstream bugtracker>
+Bug-Debian: http://bugs.debian.org/<bugnumber>
+Bug-Ubuntu: https://launchpad.net/bugs/<bugnumber>
+Forwarded: <no|not-needed|url proving that it has been forwarded>
+Reviewed-By: <name and email of someone who approved the patch>
+Last-Update: <YYYY-MM-DD>
+
+--- docvert-4.0.orig/core/config/unix-specific/convert-using-openoffice.org.sh
++++ docvert-4.0/core/config/unix-specific/convert-using-openoffice.org.sh
+@@ -14,4 +14,4 @@ fi
+ 
+ 
+ cd /tmp
+-${xvfbRun} /usr/lib/openoffice/program/soffice -writer -norestore "${docvertMacrosDocumentPath}" macro://macros/Standard.convert.toOasisOpenDocumentFormat\(${inputDocumentUrl},${outputDocumentUrl}\)
++${xvfbRun} /usr/lib/libreoffice/program/soffice -writer -norestore "${docvertMacrosDocumentPath}" macro://macros/Standard.convert.toOasisOpenDocumentFormat\(${inputDocumentUrl},${outputDocumentUrl}\)
+--- docvert-4.0.orig/core/config/unix-specific/openoffice.org-server-init.sh
++++ docvert-4.0/core/config/unix-specific/openoffice.org-server-init.sh
+@@ -1,12 +1,12 @@
+ #!/bin/sh
+ ### BEGIN INIT INFO
+-# Provides:          openoffice.org-server
++# Provides:          libreoffice-server
+ # Default-Start:     2 3 4 5
+ # Default-Stop:      0 1 6
+ # Required-Start:    $local_fs $network_fs $network $syslog
+ # Required-Stop:     $local_fs $network_fs $network $syslog
+-# Short-Description: OpenOffice.org Server Daemon
+-# Description:       Start/stop OpenOffice.org in server mode
++# Short-Description: LibreOffice Server Daemon
++# Description:       Start/stop LibreOffice in server mode
+ ### END INIT INFO
+ 
+ scriptDirectory=$( dirname "$0" )
+@@ -77,10 +77,10 @@ ooo_start()
+ 		if [ -s "$pidfile" ]
+ 		then
+ 			pid=$( $cat "$pidfile" )
+-			echo "Started OpenOffice.org with process(s) #$pid"
++			echo "Started LibreOffice with process(s) #$pid"
+ 			sleep 0
+ 		else
+-			echo "Unable to start OpenOffice.org (empty pid file at $pidfile)"
++			echo "Unable to start LibreOffice (empty pid file at $pidfile)"
+ 		fi
+ 		return 0
+ 	fi
+--- docvert-4.0.orig/doc/installing-from-debian-repo.txt
++++ docvert-4.0/doc/installing-from-debian-repo.txt
+@@ -11,7 +11,7 @@ Install
+ 
+ Install Docvert
+ 
+-    apt-get install docvert docvert-openoffice.org
++    apt-get install docvert docvert-libreoffice
+ 
+ Note: there's a docvert-openoffice server daemon script
+ at /etc/init.d/docvert-converter if you want to stop/restart it.
diff -Nru docvert-4.0/debian/patches/series docvert-4.0/debian/patches/series
--- docvert-4.0/debian/patches/series	2010-12-22 00:56:52.000000000 +0000
+++ docvert-4.0/debian/patches/series	2011-01-10 01:47:04.000000000 +0000
@@ -1 +1,2 @@
 debian-changes-4.0-1
+debian-changes-4.0-1.1
diff -Nru docvert-4.0/debian/rules docvert-4.0/debian/rules
--- docvert-4.0/debian/rules	2010-12-22 00:56:29.000000000 +0000
+++ docvert-4.0/debian/rules	2011-01-10 01:47:00.000000000 +0000
@@ -50,10 +50,10 @@
 	rm -rf $(CURDIR)/debian/docvert/usr/share/docvert/core/config/
 	
 	# Copy external application scripts
-	cp $(CURDIR)/core/config/unix-specific/convert-using-svg2png.sh $(CURDIR)/debian/docvert-openoffice.org/usr/share/docvert/core/config/unix-specific/
-	cp $(CURDIR)/core/config/unix-specific/convert-using-pdf2svg.sh $(CURDIR)/debian/docvert-openoffice.org/usr/share/docvert/core/config/unix-specific/
-	cp $(CURDIR)/core/config/unix-specific/convert-using-openoffice.org.sh $(CURDIR)/debian/docvert-openoffice.org/usr/share/docvert/core/config/unix-specific/
-	cp $(CURDIR)/core/config/unix-specific/openoffice.org-server.sh $(CURDIR)/debian/docvert-openoffice.org/usr/share/docvert/core/config/unix-specific/
+	cp $(CURDIR)/core/config/unix-specific/convert-using-svg2png.sh $(CURDIR)/debian/docvert-libreoffice/usr/share/docvert/core/config/unix-specific/
+	cp $(CURDIR)/core/config/unix-specific/convert-using-pdf2svg.sh $(CURDIR)/debian/docvert-libreoffice/usr/share/docvert/core/config/unix-specific/
+	cp $(CURDIR)/core/config/unix-specific/convert-using-openoffice.org.sh $(CURDIR)/debian/docvert-libreoffice/usr/share/docvert/core/config/unix-specific/
+	cp $(CURDIR)/core/config/unix-specific/openoffice.org-server.sh $(CURDIR)/debian/docvert-libreoffice/usr/share/docvert/core/config/unix-specific/
 	
 	# Fix permissions
 	chmod -x $(CURDIR)/debian/docvert/usr/share/docvert/frameset.php

--- End Message ---
--- Begin Message ---
Source: docvert
Source-Version: 4.0-2

We believe that the bug you reported is fixed in the latest version of
docvert, which is due to be installed in the Debian FTP archive:

docvert-libreoffice_4.0-2_all.deb
  to main/d/docvert/docvert-libreoffice_4.0-2_all.deb
docvert_4.0-2.debian.tar.gz
  to main/d/docvert/docvert_4.0-2.debian.tar.gz
docvert_4.0-2.dsc
  to main/d/docvert/docvert_4.0-2.dsc
docvert_4.0-2_all.deb
  to main/d/docvert/docvert_4.0-2_all.deb



A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to [email protected],
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Francois Marier <[email protected]> (supplier of updated docvert package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [email protected])


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Format: 1.8
Date: Tue, 15 Feb 2011 21:07:27 +1300
Source: docvert
Binary: docvert docvert-libreoffice
Architecture: source all
Version: 4.0-2
Distribution: unstable
Urgency: low
Maintainer: Francois Marier <[email protected]>
Changed-By: Francois Marier <[email protected]>
Description: 
 docvert    - converts word processor files to HTML
 docvert-libreoffice - converts word processor files to HTML using LibreOffice
Closes: 609710 612331
Changes: 
 docvert (4.0-2) unstable; urgency=low
 .
   * Switch to LibreOffice (closes: #612331)
   * initscript: move mkdir & chown calls to do_start() (closes: #609710)
   * initscript: remove pidfile when stopping daemon
Checksums-Sha1: 
 aa8f53b136d9d7241599391dc84d9996b7a0df53 1790 docvert_4.0-2.dsc
 d56ac7ba61b4d9ec63c37005728ee4378689c88a 10881 docvert_4.0-2.debian.tar.gz
 7d72c7740e3f83d4d6b17f0f1e93ac8a2ab38501 512916 docvert_4.0-2_all.deb
 1d7e529c845f22281d9e4756ff257d1577800df3 12970 
docvert-libreoffice_4.0-2_all.deb
Checksums-Sha256: 
 ab3b54f64069e193e098bbf23ef9dce962408d3f482a25def7bb36c44d9e8aab 1790 
docvert_4.0-2.dsc
 3341206ab63874ad6c24abed8aedcf57e755c48634bd9326b086aaccc6fda65e 10881 
docvert_4.0-2.debian.tar.gz
 1de25703dc105cc720070d6553a1d4042c8e609d60a46ca8be77c39bd2f91dcc 512916 
docvert_4.0-2_all.deb
 ae16a8d85a0fb7005072b0020fcf898db3b8544ead89e7eeef356b5f33382eb7 12970 
docvert-libreoffice_4.0-2_all.deb
Files: 
 03664ae238b9f80a4253fe761012e8e0 1790 web extra docvert_4.0-2.dsc
 a6c49c42e7abb9a311e7fc11a485e8f3 10881 web extra docvert_4.0-2.debian.tar.gz
 a1037da4481bc0b058a0af48517ed9fc 512916 web extra docvert_4.0-2_all.deb
 88b2bb280a4e70c46811e14e280106b3 12970 web extra 
docvert-libreoffice_4.0-2_all.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)

iQIcBAEBCAAGBQJNWjXVAAoJEBYoHy4AfJjRYPcQALitA4XsLp5p6xiSQnvVqGcH
ZpqYCU5DIbkt2feCS24EasbA+IOK1D91zIyee1aFe84ftbzDLQnhQ8cB4+hfhdDs
HKxeB6DuE7zbe3L06xXOeHbnMI2S1lDOE4OEtja55CiG/7sKrNJmXzMePOoRoDJD
pDcG51RnuksdOFzMM0dCWc6TzlOAOIbOZSvNvPrRh9DhVL+KuEcSyOKvxP0JUBlo
8+pKUyqsNA7DRQWCoOaDcb4d7uUSIcpWcSUzfqCWkbC0I+hTA5S5bCi7htQeDSl1
fKKYDnzn0kzX3IqA5OzL1jn2Fb0dEUPulvsebDaaUmQadKqpdcGJGSHc6T6G1jGf
3G/ylXaktcZLGKFW0Z+/DInDVAmEj2DUyak9EZcGBTvlDUu9/TusVtyaIZ2XPe+u
sEKUDUNviRPFbdF6lj0Nrza9iUIvfUl+HK8F93ZtX7etlBdvS8OzFn5ZhFSLBLzF
OsZBMrfGG9Vb+BYQUf3VIEcdXr4U7GlDTiAJd+53hA+Ye3bI+2CP1X/10lSOzFLu
pwm0FbOxtQzAsQWedkrmE+zNedKNlgIGWsbA274cn7Ghpkn4Uo0Nh/NdCUKh+jOf
0K7JZjyx0qE+QKUmQMD56oqI2k343o6ji5rnkiOTgqGkkSA7kFojN0GST5aIfvKb
ehcR0kJtcvB6YZGeYTw+
=l7zW
-----END PGP SIGNATURE-----



--- End Message ---

Reply via email to