Your message dated Thu, 16 Oct 2014 09:39:20 +0000
with message-id <[email protected]>
and subject line Bug#323480: fixed in ivtools 1.2.11a1-4
has caused the Debian Bug report #323480,
regarding ivtools-bin: broken bashscripts
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.)


-- 
323480: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=323480
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: ivtools-bin
Version: 1.1.3-4
Severity: normal

The scripts /usr/X11R6/bin/ivgetjpg and ivtiftopnm fail to run, due
to the absence of "tmpnam"; they're fixable, but it's not worth the
effort. 



> #!/bin/bash
> # ** requires w3c from w3c.org and djpeg from jpeg.org as well **
> #
> # ivgetjpeg

There are versions of /usr/bin/w3c in libwww-ssl0 and libwww0;
/usr/bin/djpeg is in libjpeg-progs.  But ivtools-bin declares no
form of dependency on these packages, and these scripts don't bother
to check for the presence of the executables.

> #
> # bash script to download a jpeg file and import to a local drawing editor
> #
> # Parameters:
> #     $1 URL 
> #     $2 import port on drawing editor
> url=$1
> importport=$2
> echo import $url to port $importport
> tempfile=`tmpnam`
> cmapfile=`tmpnam`

There is no such utility as "tmpnam".  Presumably it could instead
point at /usr/X11R6/bin/ivtmpnam; but as far as protection against
tempfile creation-races is concerned it would be better to use the
standard /bin/tempfile in debianutils (which may also imply that
ivtmpnam should be removed from the package).

> stdcmapppm >$cmapfile

I don't claim to understand quite what stdcmapppm does (WTFM!), but
wouldn't it have been easier just to keep a single permanent copy of
this file in /usr/share/ivtools-bin or somewhere? 

> w3c $url >$tempfile; djpeg -map $cmapfile -dither fs -pnm $tempfile | comterp 
> telcat localhost $importport
> rm $tempfile $cmapfile

According to "man djpeg", "djpeg -dither fs -pnm" is redundant,
since that's the default.  And it can take standard input, so the
$tempfile is unnecessary too - the whole script boils down to:

w3c $1 | djpeg -map /usr/share/ivtools-bin/cmap.ppm | comterp telcat localhost 
$2

But now I'm boggling slightly at the concept of a graphics
manipulation package that loads images by piping them through a 
local telnet connection.



And the other one:

> #!/bin/bash
> #
> # ivtiftopnm [file]
> #
> # bash script to wrap tifftopnm which can't handle stdin

Wouldn't #!/bin/sh work equally well for these scripts anyway?

I'm glad to see this time there's at least a "Suggests: netpbm" to
pull in /usr/bin/tifftopnm.  But it should still check.

> #
> # Parameters:
> #     $1 optional tiff image filename
> #
> case "$#" in 
>         0)      tempfile=`tmpnam`

Again, broken and not worth fixing.

>               cat >$tempfile
>               tifftopnm $tempfile
>               rm $tempfile
>                 ;;
>         *)      tifftopnm $1
>                 ;;
> esac

Meanwhile, "man tifftopnm" clearly states that it *does* handle
stdin in a perfectly standard fashion.  So this whole script is
rather a waste of effort. 



-- System Information:
Debian Release: 3.1
Architecture: i386 (i586)
Kernel: Linux 2.6.11.hurakan
Locale: LANG=en_GB, LC_CTYPE=en_GB (charmap=ISO-8859-1)

Versions of packages ivtools-bin depends on:
ii  ivtools-interviews     1.1.3-4           C++ GUI library with Motif Look an
ii  ivtools-unidraw        1.1.3-4           Application Frameworks layered on 
ii  libc6                  2.3.2.ds1-22      GNU C Library: Shared libraries an
ii  libjpeg62              6b-10             The Independent JPEG Group's JPEG 
ii  libstdc++5             1:3.3.5-13        The GNU Standard C++ Library v3
ii  libtiff4               3.7.2-3           Tag Image File Format (TIFF) libra
ii  libx11-6               4.3.0.dfsg.1-14   X Window System protocol client li
ii  libxext6               4.3.0.dfsg.1-14   X Window System miscellaneous exte
ii  xlibs                  4.3.0.dfsg.1-14   X Keyboard Extension (XKB) configu
ii  xterm [x-terminal-emul 4.3.0.dfsg.1-14   X terminal emulator
ii  zlib1g                 1:1.2.2-4.sarge.2 compression library - runtime

-- no debconf information
-- 
JBR
Ankh kak! (Ancient Egyptian blessing)


--- End Message ---
--- Begin Message ---
Source: ivtools
Source-Version: 1.2.11a1-4

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

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.
Barak A. Pearlmutter <[email protected]> (supplier of updated ivtools 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: SHA1

Format: 1.8
Date: Thu, 16 Oct 2014 09:15:26 +0100
Source: ivtools
Binary: ivtools-bin ivtools-dev libiv1 libiv-unidraw1
Architecture: source amd64
Version: 1.2.11a1-4
Distribution: unstable
Urgency: medium
Maintainer: Barak A. Pearlmutter <[email protected]>
Changed-By: Barak A. Pearlmutter <[email protected]>
Description:
 ivtools-bin - Drawing Editors evolved from idraw
 ivtools-dev - Development files for the InterViews library
 libiv-unidraw1 - Application Frameworks layered on Unidraw
 libiv1     - C++ GUI library with Motif Look and Feel
Closes: 323480
Changes:
 ivtools (1.2.11a1-4) unstable; urgency=medium
 .
   * multiarch debian/control tweaks
   * patches
     - refresh patches
     - autoconf the time header file, might help with kfreebsd gettimeofday()
     - fallback MAXPATHLEN definition for GNU Hurd
     - disable silly scripts (closes: #323480)
Checksums-Sha1:
 53ca1551d433558db8528cf2fef2a33dde13d07b 2225 ivtools_1.2.11a1-4.dsc
 363449d9757cf8b2ebeaba5b2d9e617f86252de1 28084 ivtools_1.2.11a1-4.debian.tar.xz
 ef80f5be8a9e2b1c003b7f90bfc5497745809ed3 191182 
ivtools-bin_1.2.11a1-4_amd64.deb
 b9ba2a28d53f826fc52ec140eaa9adfb887939d0 2322196 
ivtools-dev_1.2.11a1-4_amd64.deb
 fb2b3de081735527a218cd0b9c81d41cabf8b258 450946 libiv1_1.2.11a1-4_amd64.deb
 c8807ac7d8b09f5145a0bf7511f6485b38739df3 1218534 
libiv-unidraw1_1.2.11a1-4_amd64.deb
Checksums-Sha256:
 a6f25f2323a2611883a88912ae047e65438661c5a38e3005e853f3f5cfbb281c 2225 
ivtools_1.2.11a1-4.dsc
 3bc13e2a95e1a2411b9af3edae93a4e0495e613b70e694a13b549e152a3c66da 28084 
ivtools_1.2.11a1-4.debian.tar.xz
 16be445f4dcf37aa54c027a1ba816d4e7b04c245df8688bee401de114c0ed534 191182 
ivtools-bin_1.2.11a1-4_amd64.deb
 3ba74f5463b15a3e22c89ff4f277881490cd1915363a7f0f420ccd09602bbef8 2322196 
ivtools-dev_1.2.11a1-4_amd64.deb
 cae7bdf27babe43e409432a966aedae618aed00c01351aae40d0f0a468ef1e31 450946 
libiv1_1.2.11a1-4_amd64.deb
 0cbd01aadb77ebbdb54fbd468e7643a46423de1ab7acb60352af011bc08a179f 1218534 
libiv-unidraw1_1.2.11a1-4_amd64.deb
Files:
 7cbb1d3bd9ffb8243ae36f8e13116bd0 191182 graphics optional 
ivtools-bin_1.2.11a1-4_amd64.deb
 b18b5e3938b65e034955185085e2ab17 2322196 devel optional 
ivtools-dev_1.2.11a1-4_amd64.deb
 e7986a72dfa916448a18d1eb9f1c63da 450946 libs optional 
libiv1_1.2.11a1-4_amd64.deb
 1a68a4ebc06ed686e62d92aea9d1c048 1218534 libs optional 
libiv-unidraw1_1.2.11a1-4_amd64.deb
 ff010a01efbd8eb4276a1f817b81e757 2225 libs optional ivtools_1.2.11a1-4.dsc
 51ecabae9893e0e4b64c066de347d722 28084 libs optional 
ivtools_1.2.11a1-4.debian.tar.xz

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1

iQIcBAEBAgAGBQJUP4frAAoJEBJbV0deGQ0Yy20P/jvjtrKSi25obb7WuIFMVBl9
eomTfcCX+dZi3Xf+D/Ln8e46Xgp5v11p0OAiYljBcm/B3v00EzHBtf71kb+i8WC+
G4pU0ZaxCAO7ESIV9kC9lV3OlZJMn0IgkVgaieeIrGGFpkUX60RYlk6hpPiZo3T0
P2XzVM4DDKzr2VyW491OxvZPGnNAN0d8NsJIzyaaQU0c9/hbWobX+450q4M/euPk
qOiYe1e9x0tTxjegQWBferUhJthJ878Ilvgm8s+c85yUS+1EpsgbgUsZlQbOhIMl
i/VlkmeyEoO2jU4toii0AeM8LKe7TAzGlmypFWzEgopTIcKVPs7j5iWALQLwq+Lr
b0ADo7hmAm2oxTfcV6o2RxoziE8f4ieErcG0RHv2KQtpS5/QtWe37+k79ue8gCOs
JsDYO3pcXTGP89bz3p35GisszatQpC6nWmaVJE9BwxIVsCT6GjJ8bvbusu3ulywj
pKkB21YPJr0bcd9Dp6zD2C18090hd6JdE7GnunyQVLMTW73Q4nA4OCzG7wAZeUEQ
jm9JNIwyHByFtz0Ql4B0iEwEkTQCS5Zvz0aQELNS1NdJdjylEucpcha2/JE63V2k
LaSx2sdmGUvTnorlZzx86P9jfikk5uGTJzihxRYQdkqfvb+qYwgPMFgyp+lZWqlG
cB/y+Yurj6oaMU0YfBPG
=Jko8
-----END PGP SIGNATURE-----

--- End Message ---

Reply via email to