Package: openct
Version: 0.6.16-1
Severity: minor
Tags: patch

Hi,

openct delivers pcsc support but contains no bundle files for pcscd. So 
pcscd can't use openct, it stops with an error: "No bundle files in pcsc 
drivers directory: /usr/lib/pcsc/drivers." To solve this, 2 things have 
to be done:

1st: to create the bundle files add 
     "--with-bundle=/usr/lib/pcsc/drivers" to DEB_CONFIGURE_EXTRA_FLAGS 
     in debian/rules

2nd: to install the bundle files add a line 
     "debian/tmp/usr/lib/pcsc/drivers/*" to  debian/openct.install

Thanks
Frank

-- System Information:
Debian Release: squeeze/sid
  APT prefers testing
  APT policy: (990, 'testing'), (500, 'unstable'), (500, 'stable'), (1, 
'experimental')
Architecture: i386 (i686)

Kernel: Linux 2.6.22
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages openct depends on:
ii  adduser                   3.110          add and remove users and groups
ii  dpkg                      1.14.26        Debian package management system
ii  libc6                     2.9-4          GNU C Library: Shared libraries
ii  libltdl3                  1.5.26-4       A system independent dlopen wrappe
ii  libopenct1                0.6.16-1local1 middleware framework for smart car
ii  libpcsclite1              1.5.3-1        Middleware to access a smart card 
ii  libusb-0.1-4              2:0.1.12-13    userspace USB programming library

Versions of packages openct recommends:
ii  udev                          0.141-1    /dev/ and hotplug management daemo

openct suggests no packages.

-- no debconf information
diff -urN openct-0.6.16/debian/openct.install openct-0.6.16.fix/debian/openct.install
--- openct-0.6.16/debian/openct.install	2009-05-10 23:52:46.000000000 +0200
+++ openct-0.6.16.fix/debian/openct.install	2009-05-10 23:26:53.726284238 +0200
@@ -6,6 +6,7 @@
 debian/tmp/usr/lib/openct-ifd.so
 debian/tmp/usr/lib/openct-ifd.la
 debian/tmp/usr/lib/openct-ifd.a
+debian/tmp/usr/lib/pcsc/drivers/*
 
 etc/openct.conf etc/
 debian/tmp/lib/udev lib/
diff -urN openct-0.6.16/debian/rules openct-0.6.16.fix/debian/rules
--- openct-0.6.16/debian/rules	2009-05-10 23:52:46.000000000 +0200
+++ openct-0.6.16.fix/debian/rules	2009-05-10 23:26:33.229411165 +0200
@@ -3,7 +3,7 @@
 include /usr/share/cdbs/1/class/autotools.mk
 include /usr/share/cdbs/1/rules/debhelper.mk
 
-DEB_CONFIGURE_EXTRA_FLAGS = --enable-pcsc --enable-usb --with-udev=/lib/udev
+DEB_CONFIGURE_EXTRA_FLAGS = --enable-pcsc --enable-usb --with-udev=/lib/udev --with-bundle=/usr/lib/pcsc/drivers
 
 DEB_INSTALL_DOCS_ALL := NEWS TODO
 

Reply via email to