Package: ssh-askpass
Version: 1:1.2.4.1-6
Severity: normal
Tags: patch

I happened to notice these little bugs, which the attached patch fixes:

* The manpage is installed in /usr/man.
* The package ships with a /usr/man/x11-ssh-askpass.1x > 
/usr/man/ssh-askpass.1x link.
* The package's alternative for the ssh-askpass manpage is a dangling
  symlink.



-- System Information:
Debian Release: testing/unstable
  APT prefers unstable
  APT policy: (500, 'unstable'), (150, 'experimental')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.16-2-686-smp
Locale: [EMAIL PROTECTED], [EMAIL PROTECTED] (charmap=ISO-8859-15)

Versions of packages ssh-askpass depends on:
ii  libc6                         2.3.6-18   GNU C Library: Shared libraries
ii  libice6                       1:1.0.0-3  X11 Inter-Client Exchange library
ii  libsm6                        1:1.0.0-4  X11 Session Management library
ii  libx11-6                      2:1.0.0-8  X11 client-side library
ii  libxt6                        1:1.0.0-5  X11 toolkit intrinsics library

ssh-askpass recommends no packages.

-- no debconf information
diff -durN ssh-askpass-1.2.4.1/Imakefile ssh-askpass_1.2.4.1-mine/Imakefile
--- ssh-askpass-1.2.4.1/Imakefile       2006-08-09 02:10:54.000000000 +0200
+++ ssh-askpass_1.2.4.1-mine/Imakefile  2006-08-09 01:42:09.000000000 +0200
@@ -24,7 +24,7 @@
 
 XCOMM -------- configurable settings --------
 BINDIR         = /usr/lib/ssh
-MANPATH                = /usr/man
+MANPATH                = /usr/share/man
 MANDIR         = $(MANPATH)/man1
 APPDEFDIR      = $(XAPPLOADDIR)
 APP_DEFAULTS   = SshAskpass-default.ad
diff -durN ssh-askpass-1.2.4.1/Makefile ssh-askpass_1.2.4.1-mine/Makefile
diff -durN ssh-askpass-1.2.4.1/debian/changelog 
ssh-askpass_1.2.4.1-mine/debian/changelog
diff -durN ssh-askpass-1.2.4.1/debian/postinst 
ssh-askpass_1.2.4.1-mine/debian/postinst
--- ssh-askpass-1.2.4.1/debian/postinst 2006-08-09 02:10:54.000000000 +0200
+++ ssh-askpass_1.2.4.1-mine/debian/postinst    2006-08-09 02:07:51.000000000 
+0200
@@ -24,7 +24,7 @@
 
 case "$1" in
     configure)
-        update-alternatives --install /usr/bin/ssh-askpass ssh-askpass 
/usr/lib/ssh/x11-ssh-askpass 10 --slave /usr/share/man/man1/ssh-askpass.1.gz 
ssh-askpass.1.gz /usr/share/man/man1/x11-ssh-askpass.1.gz
+        update-alternatives --install /usr/bin/ssh-askpass ssh-askpass 
/usr/lib/ssh/x11-ssh-askpass 10 --slave /usr/share/man/man1/ssh-askpass.1.gz 
ssh-askpass.1.gz /usr/share/man/man1/x11-ssh-askpass.1x.gz
 
        # if the alternativ is a hanging link, revert to auto
        ls -L /etc/alternatives/ssh-askpass >/dev/null 2>&1 || \
diff -durN ssh-askpass-1.2.4.1/debian/prerm 
ssh-askpass_1.2.4.1-mine/debian/prerm
--- ssh-askpass-1.2.4.1/debian/prerm    2006-08-09 02:10:54.000000000 +0200
+++ ssh-askpass_1.2.4.1-mine/debian/prerm       2006-08-09 02:07:56.000000000 
+0200
@@ -18,7 +18,7 @@
 case "$1" in
     remove|deconfigure)
        update-alternatives --remove ssh-askpass /usr/lib/ssh/x11-ssh-askpass
-        update-alternatives --remove ssh-askpass 
/usr/share/man/man1/x11-ssh-askpass.1.gz
+        update-alternatives --remove ssh-askpass 
/usr/share/man/man1/x11-ssh-askpass.1x.gz
 #       install-info --quiet --remove /usr/info/ssh-askpass.info.gz
        ;;
     upgrade)
diff -durN ssh-askpass-1.2.4.1/debian/rules 
ssh-askpass_1.2.4.1-mine/debian/rules
--- ssh-askpass-1.2.4.1/debian/rules    2006-08-09 02:10:54.000000000 +0200
+++ ssh-askpass_1.2.4.1-mine/debian/rules       2006-08-09 02:09:13.000000000 
+0200
@@ -35,6 +35,7 @@
        # Add here commands to install the package into debian/ssh-askpass.
        $(MAKE) install install.man DESTDIR=`pwd`/debian/ssh-askpass
        rm -f debian/ssh-askpass/usr/lib/ssh/ssh-askpass
+       rm -f debian/ssh-askpass/usr/share/man/man1/ssh-askpass.1x
 
        touch install-stamp
 

Reply via email to