Package: libetoken
Version: 0.3.9-5
Severity: grave
Tags: patch
Justification: renders package unusable

Hello,

Note that I am ready to NMU your package if you do not respond within one
week since the bug is RC.

The package installs the file /etc/reader.conf.d/libetoken containing:
# Aladdin eToken
# see /usr/share/doc/libetoken/README
FRIENDLYNAME      "Aladdin eToken PRO"
DEVICENAME        ALADDIN_ETOKEN
LIBPATH           /usr/lib/pcsc/drivers/usb/libetoken.so
CHANNELID         0x0

But when pcscd starts it displays:
configfile.l:106:evaluatetoken() Error with device ALADDIN_ETOKEN: No such file 
or directory
configfile.l:107:evaluatetoken() You should use 'DEVICENAME /dev/null' if your 
driver does not use this field

Since it is a driver for a USB reader you SHALL not provide a
/etc/reader.conf.d/libetoken file.

Your prerm script can be removed now since the file
/etc/reader.conf.d/libetoken will not be created now

You should have a postrm to restart pcscd after the package is removed.
You can get it from the libccid Debian package.

The patch proposes to remove the generation of
/etc/reader.conf.d/libetoken

--- etoken-0.3.9/debian/postinst        2006-04-26 18:21:00.000000000 +0200
+++ etoken-0.3.9.new/debian/postinst    2006-04-26 18:27:28.000000000 +0200
@@ -2,40 +2,8 @@
 
 set -e
 
-cfgdir=/etc/reader.conf.d
-cfg=$cfgdir/libetoken
-lib=/usr/lib/pcsc/drivers/usb/libetoken.so
-
 case "$1" in
     configure|reconfigure)
-               # First make sure the cfgdir exists
-               if [ ! -d $cfgdir ]
-               then
-                       mkdir -p $cfgdir
-               fi
-               rm -f $cfg
-               echo >> $cfg
-               echo "# Aladdin eToken" >> $cfg
-
-               echo "# see /usr/share/doc/libetoken/README" >> $cfg
-               echo "FRIENDLYNAME      \"Aladdin eToken PRO\"" >>$cfg
-               echo "DEVICENAME        ALADDIN_ETOKEN" >>$cfg
-               echo "LIBPATH           $lib" >> $cfg
-               echo "CHANNELID         0x0" >> $cfg
-
-               # regenerate /etc/reader.conf if update-reader.conf is available
-               if [ -x /usr/sbin/update-reader.conf ]
-               then
-                       /usr/sbin/update-reader.conf || true
-               fi
-
-               if [ ! -e /proc/bus/usb/devices ]
-               then
-                       # warn
-                       echo "Make sure usbdevfs is mounted on /proc/bus/usb"
-                       echo "(run  'mount -t usbdevfs none /proc/bus/usb')"
-               fi
-
                # restart pcscd (PCSC daemon) if the package is installed
                if [ -x /etc/init.d/pcscd ]
                then

-- System Information:
Debian Release: testing/unstable
  APT prefers testing
  APT policy: (500, 'testing'), (90, 'unstable'), (1, 'experimental')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.16-1-686
Locale: [EMAIL PROTECTED], [EMAIL PROTECTED] (charmap=UTF-8)

Versions of packages libetoken depends on:
ii  libpcsclite1                  1.3.1-2    Middleware to access a smart card 
ii  libusb-0.1-4                  2:0.1.12-2 userspace USB programming library
ii  pcscd                         1.3.1-2    Middleware to access a smart card 

libetoken recommends no packages.

-- no debconf information


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to