# Bcc control
tags 496431 pending
tags 502761 pending
tags 500638 pending
thanks

Dear James,

I've prepared an NMU for emacspeak (versioned as 26.0-3+lenny1) and
will be uploading it to testing tonight. I hope this helps making
emacspeak work well in Lenny.

Thanks.

Kumar
-- 
Kumar Appaiah
diff -u emacspeak-26.0/info/emacspeak.texi emacspeak-26.0/info/emacspeak.texi
--- emacspeak-26.0/info/emacspeak.texi
+++ emacspeak-26.0/info/emacspeak.texi
@@ -6,7 +6,7 @@
 @dircategory Accessibility
 @dircategory Emacs
 @direntry
- * Emacspeak:(emacspeak).		Speech-enabled Audio Desktop.
+* Emacspeak:(emacspeak).		Speech-enabled Audio Desktop.
 @end direntry
 
 
diff -u emacspeak-26.0/debian/README.Debian emacspeak-26.0/debian/README.Debian
--- emacspeak-26.0/debian/README.Debian
+++ emacspeak-26.0/debian/README.Debian
@@ -13,6 +13,9 @@
 gets configuration parameters from /etc/emacspeak.conf and starts
 emacs with emacspeak support.
 
+Before it is used, Emacspeak must be configured by root, by running
+'emacspeakconfig -i'.
+
 Several "flavors" of emacs may be installed at the same time (emacs20,
 emacs21, xemacs21, etc.).  In accordance with the Debian emacs policy,
 emacspeak is byte-compiled separately for each supported flavor -
@@ -87,0 +91,2 @@
+
+ -- Christian Perrier <[EMAIL PROTECTED]>, Sat, 25 Oct 2008 13:31:18 z
diff -u emacspeak-26.0/debian/changelog emacspeak-26.0/debian/changelog
--- emacspeak-26.0/debian/changelog
+++ emacspeak-26.0/debian/changelog
@@ -1,3 +1,16 @@
+emacspeak (26.0-3+lenny1) testing; urgency=high
+
+  * Non-maintainer upload.
+  * Backport the fix for preventing symlink attacks from the new upstream
+    release. (Closes: #496431)
+  * Use Christian Perrier's patch for stopping the call to
+    emacspeakconfig. (Closes: #502761)
+  * Use James Westby's patch to fix the error:
+    "No `START-INFO-DIR-ENTRY' and no `This file documents'."
+    during installation. (Closes: #500638)
+
+ -- Kumar Appaiah <[EMAIL PROTECTED]>  Sat, 08 Nov 2008 14:11:24 -0600
+
 emacspeak (26.0-3) unstable; urgency=low
 
   * debian/control: depend on w3-el-e21 (thanks to Sam Hartman
diff -u emacspeak-26.0/debian/postinst emacspeak-26.0/debian/postinst
--- emacspeak-26.0/debian/postinst
+++ emacspeak-26.0/debian/postinst
@@ -46,7 +46,9 @@
     fi
 fi
 
-emacspeakconfig -i
+# Commented as this implies prompting without using
+# debconf. See #502761
+# emacspeakconfig -i
 
 # dh_installdeb will replace this with shell code automatically
 # generated by other debhelper scripts.
only in patch2:
unchanged:
--- emacspeak-26.0.orig/lisp/emacspeak-wizards.el
+++ emacspeak-26.0/lisp/emacspeak-wizards.el
@@ -1792,15 +1792,20 @@
     (read-from-minibuffer "Count: ")))
   (declare (special
             emacspeak-wizards-table-content-extractor))
-  (let ((output (format "/tmp/%s.csv" task)))
-    (shell-command
-     (format  "%s --task=%s --url='%s' --depth=%s --count=%s"
-              emacspeak-wizards-table-content-extractor
-              task
-              url
-              depth count ))
-    (emacspeak-table-find-csv-file output)
-    (delete-file output)))
+  (let ((buffer (get-buffer-create " *table extractor*")))
+    (save-excursion
+      (set-buffer buffer)
+      (erase-buffer)
+      (setq buffer-undo-list t)
+      (call-process
+       emacspeak-wizards-table-content-extractor
+       nil t nil
+       "--task" task
+       "--url"  url
+       "--depth" depth
+       "--count" count
+       "2>/dev/null")
+      (emacspeak-table-view-csv-buffer))))
 ;;;###autoload
 (defun emacspeak-wizards-get-table-content-from-file (task file depth count )
   "Extract table specified by depth and count from HTML
@@ -1814,11 +1819,21 @@
     (read-from-minibuffer "Depth: ")
     (read-from-minibuffer "Count: ")))
   (declare (special emacspeak-wizards-table-content-extractor))
-  (shell-command
-   (format  "%s --task=%s --file=%s --depth=%s --count=%s"
-            emacspeak-wizards-table-content-extractor
-            task file depth count ))
-  (emacspeak-table-find-csv-file (format "/tmp/%s.csv" task)))
+  (let ((buffer
+	 (get-buffer-create " *table extractor* ")))
+    (save-excursion
+      (set-buffer buffer)
+      (erase-buffer)
+      (setq buffer-undo-list t)
+      (call-process
+  emacspeak-wizards-table-content-extractor
+  nil t nil
+  "--task" task
+  "--file" file
+  "--depth" depth
+  "--count" count
+  "2>/dev/null")    
+    (emacspeak-table-view-csv-buffer))))
 
 ;;}}}
 ;;{{{ annotation wizard
@@ -2171,8 +2186,10 @@
                     emacspeak-wizards-quote-command
                     emacspeak-wizards-quote-row-filter))
   (let ((temp-file
-         (format "/tmp/%s.csv"
-                 (gensym "quotes"))))
+         (expand-file-name
+	  (format "%s.csv"
+                 (gensym "quotes"))
+	  emacspeak-resource-directory)))
     (shell-command
      (format
       "echo '%s' | perl %s > %s"
only in patch2:
unchanged:
--- emacspeak-26.0.orig/lisp/emacspeak-w3m.el
+++ emacspeak-26.0/lisp/emacspeak-w3m.el
@@ -867,9 +867,10 @@
   "Preview this buffer in w3m."
   (interactive)
   (let ((filename
-         (format "/tmp/%s.html"
-                 (make-temp-name "w3m"))))
-    (write-region (point-min) 
+         (make-temp-file
+	  (format "%s.html"
+                 (make-temp-name "w3m")))))
+    (write-region (point-min)
                   (point-max)
                   filename)
     (w3m-find-file filename)

Reply via email to