--- towitoko-2.0.7.orig/debian/compat
+++ towitoko-2.0.7/debian/compat
@@ -0,0 +1 @@
+7
--- towitoko-2.0.7.orig/debian/changelog
+++ towitoko-2.0.7/debian/changelog
@@ -0,0 +1,231 @@
+towitoko (2.0.7-8.3) unstable; urgency=low
+
+  * Non-maintainer upload.
+  * Fix pending l10n issues. Debconf translations:
+    - Italian (Vincenzo Campanella).  Closes: #571988
+    - Danish (Joe Hansen).  Closes: #593273
+    - German (Helge Kreutzmann).  Closes: #630215
+    - Polish (Michał Kułach).  Closes: #657459
+
+ -- Christian Perrier <bubulle@debian.org>  Wed, 01 Feb 2012 20:22:25 +0100
+
+towitoko (2.0.7-8.2) unstable; urgency=low
+
+  * Non-maintainer upload.
+  * Move libtowitoko-dev headers to sub-directory (Closes:
+    #557495)
+
+ -- Neil Williams <codehelp@debian.org>  Tue, 07 Dec 2010 21:29:39 +0000
+
+towitoko (2.0.7-8.1) unstable; urgency=low
+
+  * Non-maintainer upload.
+  * Fix pending l10n issues. Debconf translations:
+    - Japanese (Hideki Yamane (Debian-JP)).  Closes: #512980
+    - Slovak (Ivan Masár).  Closes: #570507
+
+ -- Christian Perrier <bubulle@debian.org>  Mon, 19 Jul 2010 21:17:05 +0200
+
+towitoko (2.0.7-8) unstable; urgency=low
+
+  * Bump debhelper compat level
+  * Update control file, bump Standards-Version
+  * Add mechanism to update config.guess/sub (Closes: #536411)
+
+ -- Simon Richter <sjr@debian.org>  Fri, 10 Jul 2009 14:11:24 +0200
+
+towitoko (2.0.7-7.3) unstable; urgency=high
+
+  * Non-maintainer upload.
+  * High-urgency upload for RC bugfix.
+  * Use invoke-rc.d and the standard 'restart' command for pcscd in
+    postinst/postrm, instead of calling the pcscd init script directly with
+    the no-longer-supported 'restart-if-running' command.  Closes: #407361.
+
+ -- Steve Langasek <vorlon@debian.org>  Sun, 11 Mar 2007 03:12:04 -0700
+
+towitoko (2.0.7-7.2) unstable; urgency=low
+
+  * Non-maintainer upload to fix pending l10n issues.
+  * Debconf translations:
+    - Portuguese. Closes: #383836
+
+ -- Christian Perrier <bubulle@debian.org>  Sun, 18 Feb 2007 19:22:15 +0100
+
+towitoko (2.0.7-7.1) unstable; urgency=low
+
+  * Non-maintainer upload.
+  * Properly update libtool by running:
+     + libtoolize -c -f
+     + aclocal
+     + autoconf
+     + automake
+     (Closes: #342687, #349807).
+  * debian/control:
+    + Bumped Standards-Version to 3.7.2 (no changes).
+  * Added Swedish debconf translation, courtesy of Daniel Nylander
+    (Closes: #330945).
+  * Added Vietnamese debconf translation, courtesy of Clytie Siddall
+    (Closes: #322317).
+
+ -- Julien BLACHE <jblache@debian.org>  Sun,  4 Jun 2006 16:49:51 +0200
+
+towitoko (2.0.7-7) unstable; urgency=low
+
+  * Updated ltmain.sh as well (Really Closes: #342687)
+
+ -- Simon Richter <sjr@debian.org>  Fri, 20 Jan 2006 22:34:48 +0100
+
+towitoko (2.0.7-6) unstable; urgency=low
+
+  * Added debconf-2.0 alternate (Closes: #332120)
+
+ -- Simon Richter <sjr@debian.org>  Fri, 20 Jan 2006 20:38:48 +0100
+
+towitoko (2.0.7-5) unstable; urgency=low
+
+  * Updated config.{guess,sub} (Closes: #342687)
+
+ -- Simon Richter <sjr@debian.org>  Fri, 20 Jan 2006 20:18:20 +0100
+
+towitoko (2.0.7-4) unstable; urgency=low
+
+  * Adopted. (Closes: #288232)
+  * Bumped Standards-Version
+  * USB drivers are now installed unconditionally
+  * Packaging rework, moved to dh_install and misc. bits
+
+ -- Simon Richter <sjr@debian.org>  Sun, 22 May 2005 19:49:12 +0200
+
+towitoko (2.0.7-3) unstable; urgency=low
+
+  * QA Group upload orphaning this package
+  * debian/control: [libtowitoko-dev]: changed Section: to libdevel
+  * Incorporates previous NMU (closes: #202956)
+  * Added Czech debconf template translation (closes: #298317)
+  * debian/libtowitoko2.postrm: don't fall over if restart exits with non-zero
+    return code (closes: #253321)
+
+ -- Andrew Pollock <apollock@debian.org>  Wed, 16 Mar 2005 10:52:59 +1100
+
+towitoko (2.0.7-2.1) unstable; urgency=low
+
+  * NMU
+  * debian/control:
+   - Suggests: libpcsclite1 instead of libpcsclite0
+   - remove useless Build-Depends: debmake
+  * switch to gettext-based debconf templates. Closes: #202956
+
+ -- Ludovic Rousseau <rousseau@debian.org>  Tue,  1 Jun 2004 00:18:41 +0200
+
+towitoko (2.0.7-2) unstable; urgency=low
+
+  * Fixed typos in atr.c and atr.h. 
+  * Fixed a bug introduced at towitoko-tester in 2.0.7 that prevented 
+    to correctly read bytes from standard input on some commands. 
+  * Updated description of USB compilation options at README.
+
+ -- Carlos Prados <cprados@debian.org>  Sun, 22 Sep 2002 00:55:34 +0200
+
+towitoko (2.0.7-1) unstable; urgency=low
+
+  * New upstream release.
+  * Added towitoko-tester to the devel package. Created towitoko-tester.1
+    man page. 
+  * Switched to DH_COMPAT=4.
+
+ -- Carlos Prados <cprados@debian.org>  Sun, 25 Aug 2002 23:40:13 +0200
+
+towitoko (2.0.6-1) unstable; urgency=low
+
+  * New upstream release.
+  * Fixed debconf translated files.
+  * Added russian debconf template file by 
+    Ilgiz Kalmetev <ilgiz@bashtelecom.ru>. Closes: bug#137675.
+
+ -- Carlos Prados <cprados@debian.org>  Sun, 17 Mar 2002 17:21:59 +0100
+
+towitoko (2.0.5-2) unstable; urgency=low
+
+  * Disabled ISO 7816-3 protocol T=0 mapping of APDU's into TPDU's.
+  * Baudrate for Synchronous cards set to 38400 bps. 
+
+ -- Carlos Prados <cprados@debian.org>  Sat, 15 Dec 2001 23:01:19 +0100
+
+towitoko (2.0.5-1) unstable; urgency=low
+
+  * New upstream release.
+  * Added debconf option to select USB port.
+
+ -- Carlos Prados <cprados@debian.org>  Sat, 15 Dec 2001 14:14:14 +0100
+
+towitoko (2.0.4-5) unstable; urgency=low
+
+  * Modified libtowitoko2.postinst and libtowitoko2.postrm
+    to only restart pcscd if it was actually running. 
+
+ -- Carlos Prados <cprados@debian.org>  Sat, 27 Oct 2001 14:43:55 +0200
+
+towitoko (2.0.4-4) unstable; urgency=low
+
+  * Fixed libtowitoko2.prerm. 
+  * Fixed typo in french templates.
+  * Fixed translated templates keys.
+
+ -- Carlos Prados <cprados@debian.org>  Sun,  7 Oct 2001 01:22:09 +0200
+
+towitoko (2.0.4-3) unstable; urgency=low
+
+  * Added support for debconf configuration of /etc/reader.conf. 
+    Thanks Ludovic Rousseau. 
+  * Updated config.guess and config.sub. Closes: bug#111410.
+
+ -- Carlos Prados <cprados@debian.org>  Sun, 30 Sep 2001 13:21:05 +0200
+
+towitoko (2.0.4-2) unstable; urgency=low
+
+  * Added Build-Depends on debmake: Closes: bug#104635.
+  * Fixed a bug in ATR decoding routine. This will eventually go 
+    in towitoko-2.0.5.
+
+ -- Carlos Prados <cprados@debian.org>  Sun, 29 Jul 2001 11:23:19 +0200
+
+towitoko (2.0.4-1) unstable; urgency=low
+
+  * New upstream release
+
+ -- Carlos Prados <cprados@debian.org>  Sun,  1 Jul 2001 12:59:12 +0200
+
+towitoko (2.0.3-3) unstable; urgency=low
+
+  * Updated config.guess to revision 1.193 and config.sub to revision
+    1.209 from CVS at http://subversions.gnu.org/cgi-bin/cvsweb/config.
+    Closes: bug#97375.
+  * Removed undocumented.
+  * Added libtowitoko2.shlibs.
+  * Modified a bit description of libtowitoko2.
+
+ -- Carlos Prados <cprados@debian.org>  Tue, 15 May 2001 14:20:56 +0200
+
+towitoko (2.0.3-2) unstable; urgency=low
+
+  * Updated maintainer field
+  * Added suggests field to libtowitoko2
+
+ -- Carlos Prados <cprados@debian.org>  Sun, 15 Apr 2001 16:44:51 +0200
+
+towitoko (2.0.3-1) unstable; urgency=low
+
+  * New upstream release
+
+ -- Carlos Prados Bocos <cprados@yahoo.com>  Sun,  8 Apr 2001 23:08:58 +0200
+
+towitoko (2.0.2-1) unstable; urgency=low
+
+  * Initial Release.
+
+ -- Carlos Prados Bocos <cprados@yahoo.com>  Wed,  4 Apr 2001 00:52:56 +0200
+
+Local variables:
+mode: debian-changelog
+End:
--- towitoko-2.0.7.orig/debian/libtowitoko-dev.docs
+++ towitoko-2.0.7/debian/libtowitoko-dev.docs
@@ -0,0 +1,2 @@
+NEWS
+README
--- towitoko-2.0.7.orig/debian/towitoko-tester.1
+++ towitoko-2.0.7/debian/towitoko-tester.1
@@ -0,0 +1,98 @@
+.\" This -*- nroff -*- file has been generated from
+.\" DocBook SGML with docbook-to-man on Debian GNU/Linux.
+...\"
+...\"	transcript compatibility for postscript use.
+...\"
+...\"	synopsis:  .P! <file.ps>
+...\"
+.de P!
+\\&.
+.fl			\" force out current output buffer
+\\!%PB
+\\!/showpage{}def
+...\" the following is from Ken Flowers -- it prevents dictionary overflows
+\\!/tempdict 200 dict def tempdict begin
+.fl			\" prolog
+.sy cat \\$1\" bring in postscript file
+...\" the following line matches the tempdict above
+\\!end % tempdict %
+\\!PE
+\\!.
+.sp \\$2u	\" move below the image
+..
+.de pF
+.ie     \\*(f1 .ds f1 \\n(.f
+.el .ie \\*(f2 .ds f2 \\n(.f
+.el .ie \\*(f3 .ds f3 \\n(.f
+.el .ie \\*(f4 .ds f4 \\n(.f
+.el .tm ? font overflow
+.ft \\$1
+..
+.de fP
+.ie     !\\*(f4 \{\
+.	ft \\*(f4
+.	ds f4\"
+'	br \}
+.el .ie !\\*(f3 \{\
+.	ft \\*(f3
+.	ds f3\"
+'	br \}
+.el .ie !\\*(f2 \{\
+.	ft \\*(f2
+.	ds f2\"
+'	br \}
+.el .ie !\\*(f1 \{\
+.	ft \\*(f1
+.	ds f1\"
+'	br \}
+.el .tm ? font underflow
+..
+.ds f1\"
+.ds f2\"
+.ds f3\"
+.ds f4\"
+'\" t 
+.ta 8n 16n 24n 32n 40n 48n 56n 64n 72n  
+.TH "Towitoko Tester" "1" 
+.SH "NAME" 
+\fBtowitoko-tester\fR  \(em 	Towitoko driver CT-API interface tester tool 
+ 
+.SH "SYNOPSIS" 
+.PP 
+\fBtowitoko-tester\fP 
+.SH "DESCRIPTION" 
+.PP 
+towitoko-tester is a simple tool that allows executing some  
+simple commands on a smartcard using a Towitoko smartcard reader. 
+It can be used to test that a smartcard can be properly recognized,  
+and that it can be read and written. 
+ 
+.PP 
+The tool provides a text based menu interface. Commands that can be  
+executed via the menu depends on the reader card insertion status  
+and the type of card inserted. For memory cards it permits reading  
+and writing data bytes, checking and changing the PIN. For processor  
+cards it permits selecting, reading and updating binary card files. 
+ 
+.PP 
+Several readers on different ports can be used at a time. The text 
+menu allows opening, closing and changing current port. The smartcard  
+can be inserted and removed from any initialized reader at any time.  
+The tool will automatically detect when the card is inserted and  
+removed, and will update the information shown in the menu. However  
+you must refresh the menu to see any change reflected. 
+ 
+.PP 
+If you have installed pcscd package, and have configured your reader 
+to be used by pscsd, you'll need to stop the pcsc daemon before  
+initializing the reader with towitoko-tester. 
+ 
+.SH "SEE ALSO" 
+.PP 
+ctapi (3) and ctbcs (3). pcscd (8) 
+.SH "AUTHOR" 
+.PP 
+This manual page was written by Carlos Prados  
+<cprados@debian.org>. 
+ 
+...\" created by instant / docbook-to-man, Sat 31 Aug 2002, 00:33 
--- towitoko-2.0.7.orig/debian/libtowitoko2.config
+++ towitoko-2.0.7/debian/libtowitoko2.config
@@ -0,0 +1,9 @@
+#!/bin/sh -e
+
+# Source debconf library.
+. /usr/share/debconf/confmodule
+
+# Which serial port
+db_input medium 'libtowitoko2/port' || true
+db_go
+
--- towitoko-2.0.7.orig/debian/control
+++ towitoko-2.0.7/debian/control
@@ -0,0 +1,30 @@
+Source: towitoko
+Section: misc
+Priority: extra
+Maintainer: Simon Richter <sjr@debian.org>
+Build-Depends: debhelper (>= 7), autotools-dev
+Standards-Version: 3.8.2
+
+Package: libtowitoko-dev
+Section: libdevel
+Priority: extra
+Architecture: any
+Depends: libtowitoko2 (= ${binary:Version}), libc6-dev, ${misc:Depends}
+Description: Towitoko smartcard reader CT-API development files
+ This package contains the files needed for compiling and linking
+ an application that communicates to the Towitoko smartcard
+ reader through the CT-API interface
+
+Package: libtowitoko2
+Section: libs
+Priority: extra
+Architecture: any
+Depends: ${shlibs:Depends}, debconf | debconf-2.0, ${misc:Depends}
+Suggests: libpcsclite1, pcscd
+Provides: pcsc-ifd-handler
+Description: Towitoko smartcard reader PCSC and CT-API driver
+ This library provides CT-API and PCSC IFD handler implementation
+ for the Towitoko smartcard readers.
+ .
+ This package is needed to communicate with the Towitoko 
+ smartcard reader through the PCSC Lite resource manager.
--- towitoko-2.0.7.orig/debian/libtowitoko2.templates
+++ towitoko-2.0.7/debian/libtowitoko2.templates
@@ -0,0 +1,10 @@
+Template: libtowitoko2/port
+Type: select
+_Choices: ttyS0, ttyS1, ttyS2, ttyS3, USB
+_Description: On which serial port is connected the smart card reader?
+ PCSC needs to know on which serial port the reader is connected. This
+ information is stored in the file /etc/reader.conf.
+ .
+ You should not edit this file directly but create or modify a file in
+ /etc/reader.conf.d/ and use update-reader.conf(8) to regenerate
+ /etc/reader.conf.
--- towitoko-2.0.7.orig/debian/libtowitoko2.install
+++ towitoko-2.0.7/debian/libtowitoko2.install
@@ -0,0 +1,3 @@
+debian/tmp/usr/lib/libtowitoko.so.2.0.0
+debian/tmp/usr/lib/libtowitoko.so.2
+doc/Info.plist usr/lib/pcsc/drivers/towitoko.bundle/Contents
--- towitoko-2.0.7.orig/debian/copyright
+++ towitoko-2.0.7/debian/copyright
@@ -0,0 +1,20 @@
+This package was debianized by Carlos Prados Bocos <cprados@yahoo.com> on
+Sat, 16 Dec 2000 15:06:55 +0100.
+
+It was downloaded from http://www.geocities.com/cprados
+
+Author:
+
+    Carlos Prados Bocos <cprados@yahoo.com>
+
+Copyright:
+
+    Copyright © 1998, 1999, 2000, 2001, 2002  Carlos Prados
+
+This library is free software; you can redistribute it and/or
+modify it under the terms of the GNU Lesser General Public
+License as published by the Free Software Foundation; either
+version 2 of the License, or (at your option) any later version.
+
+On Debian systems, the complete text of the GNU Lesser General 
+Public License can be found in /usr/share/common-licenses/LGPL file.
--- towitoko-2.0.7.orig/debian/libtowitoko2.postinst
+++ towitoko-2.0.7/debian/libtowitoko2.postinst
@@ -0,0 +1,66 @@
+#!/bin/sh
+#
+# postinst configure most-recently-configured-version 
+# old-postinst abort-upgrade new-version 
+# conflictor's-postinst abort-remove in-favour package new-version 
+# deconfigured's-postinst abort-deconfigure in-favour failed-install-package version removing conflicting-package version 
+#
+
+set -e
+
+cfgdir=/etc/reader.conf.d
+cfg=$cfgdir/libtowitoko2
+lib=/usr/lib/libtowitoko.so.2.0.0
+pcsclite_dir=/usr/lib/pcsc
+
+if [ "$1" = "configure" ]; then
+
+  # Source debconf library.
+  . /usr/share/debconf/confmodule
+
+  db_get 'libtowitoko2/port' || true
+  SERIAL_PORT="$RET"
+
+  if [ "$RET" != "USB" ]; then
+
+    # First make sure the cfgdir exists
+    if [ ! -d $cfgdir ]; then
+      mkdir -p $cfgdir
+    fi
+
+    echo "FRIENDLYNAME      \"Towitoko Chipdrive Reader\"" > $cfg
+    echo "DEVICENAME        /dev/$SERIAL_PORT" >> $cfg
+    echo "LIBPATH           $lib" >> $cfg
+
+    case "$SERIAL_PORT" in
+      ttyS0)
+        echo "CHANNELID         0x0103F8" >> $cfg
+        ;;
+      ttyS1)
+        echo "CHANNELID         0x0102F8" >> $cfg
+        ;;
+      ttyS2)
+        echo "CHANNELID         0x0103E8" >> $cfg
+        ;;
+      ttyS3)
+        echo "CHANNELID         0x0102E8" >> $cfg
+        ;;
+      *)
+        echo "Error: serial port unknown ($SERIAL_PORT)"
+        ;;
+    esac
+
+    # 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
+  fi
+
+  db_stop
+
+  if [ -x /etc/init.d/pcscd ]; then
+    invoke-rc.d pcscd restart 3>/dev/null
+  fi
+fi
+
+#DEBHELPER#
--- towitoko-2.0.7.orig/debian/libtowitoko-dev.manpages
+++ towitoko-2.0.7/debian/libtowitoko-dev.manpages
@@ -0,0 +1 @@
+debian/towitoko-tester.1
--- towitoko-2.0.7.orig/debian/towitoko-tester.sgml
+++ towitoko-2.0.7/debian/towitoko-tester.sgml
@@ -0,0 +1,106 @@
+<!doctype refentry PUBLIC "-//OASIS//DTD DocBook V4.1//EN">
+
+<refentry>
+
+<refentryinfo>
+        <address><email>cprados@debian.org</email></address>
+        <author>
+	<firstname>Carlos</firstname>
+	<surname>Prados</surname>
+	</author>
+        <copyright><year>2002</year><holder>Carlos Prados</holder></copyright>
+        <date>08-30-2002</date>
+</refentryinfo>
+
+<refmeta>
+	<refentrytitle>Towitoko Tester</refentrytitle>
+	<manvolnum>1</manvolnum>
+</refmeta>
+
+<refnamediv id="X1">
+	<refdescriptor>towitoko-tester</refdescriptor>
+	<refname>towitoko-tester</refname>
+        <refpurpose>
+	Towitoko driver CT-API interface tester tool
+	</refpurpose>
+</refnamediv>
+
+<refsynopsisdiv>
+
+	<cmdsynopsis>
+	<command>towitoko-tester</command>
+	</cmdsynopsis>
+
+</refsynopsisdiv>
+
+<refsect1>
+        <title>DESCRIPTION</title>
+
+        <para>
+	towitoko-tester is a simple tool that allows executing some 
+	simple commands on a smartcard using a Towitoko smartcard reader.
+	It can be used to test that a smartcard can be properly recognized, 
+	and that it can be read and written.
+        </para>
+
+        <para>
+	The tool provides a text based menu interface. Commands that can be 
+	executed via the menu depends on the reader card insertion status 
+	and the type of card inserted. For memory cards it permits reading 
+	and writing data bytes, checking and changing the PIN. For processor 
+	cards it permits selecting, reading and updating binary card files.
+        </para>
+
+        <para>
+        Several readers on different ports can be used at a time. The text
+        menu allows opening, closing and changing current port. The smartcard 
+	can be inserted and removed from any initialized reader at any time. 
+	The tool will automatically detect when the card is inserted and 
+	removed, and will update the information shown in the menu. However 
+	you must refresh the menu to see any change reflected.
+        </para>
+
+	<para>
+	If you have installed pcscd package, and have configured your reader
+	to be used by pscsd, you'll need to stop the pcsc daemon before 
+	initializing the reader with towitoko-tester.
+	</para>
+
+</refsect1>
+
+<refsect1>
+
+        <title>SEE ALSO</title>
+
+	<para>ctapi (3) and ctbcs (3). pcscd (8)</para>
+
+</refsect1>
+
+<refsect1>
+
+        <title>AUTHOR</title>
+
+        <para>
+	This manual page was written by Carlos Prados 
+	<email>&lt;cprados@debian.org&gt;</email>.
+        </para>
+
+</refsect1>
+</refentry>
+
+<!-- Keep this comment at the end of the file
+Local variables:
+mode: sgml
+sgml-omittag:t
+sgml-shorttag:t
+sgml-minimize-attributes:nil
+sgml-always-quote-attributes:t
+sgml-indent-step:2
+sgml-indent-data:t
+sgml-parent-document:nil
+sgml-default-dtd-file:nil
+sgml-exposed-tags:nil
+sgml-local-catalogs:nil
+sgml-local-ecat-files:nil
+End:
+-->
--- towitoko-2.0.7.orig/debian/libtowitoko2.prerm
+++ towitoko-2.0.7/debian/libtowitoko2.prerm
@@ -0,0 +1,21 @@
+#!/bin/sh
+#
+# prerm remove 
+# old-prerm upgrade new-version 
+# new-prerm failed-upgrade old-version 
+# conflictor's-prerm remove in-favour package new-version 
+# deconfigured's-prerm deconfigure in-favour package-being-installed version removing conflicting-package version 
+#
+
+set -e 
+
+case "$1" in
+    remove|upgrade|deconfigure)
+
+    # remove reader.conf definition for Towitoko 
+    rm -f /etc/reader.conf.d/libtowitoko2
+    ;;
+
+esac
+
+#DEBHELPER#
--- towitoko-2.0.7.orig/debian/libtowitoko-dev.install
+++ towitoko-2.0.7/debian/libtowitoko-dev.install
@@ -0,0 +1,6 @@
+debian/tmp/usr/bin/towitoko-tester
+debian/tmp/usr/lib/libtowitoko.so
+debian/tmp/usr/lib/libtowitoko.a
+debian/tmp/usr/lib/libtowitoko.la
+debian/tmp/usr/include/* ./usr/include/towitoko/
+debian/tmp/usr/share/man
--- towitoko-2.0.7.orig/debian/rules
+++ towitoko-2.0.7/debian/rules
@@ -0,0 +1,71 @@
+#!/usr/bin/make -f
+
+#export DH_VERBOSE=1
+
+CFLAGS = -Wall -g
+
+ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS)))
+        CFLAGS += -O0
+else
+	CFLAGS += -O2
+endif
+
+config.status:
+	dh_testdir
+	ln -sf /usr/share/misc/config.guess .
+	ln -sf /usr/share/misc/config.sub .
+	./configure --prefix=/usr \
+		--program-prefix=towitoko- \
+		--mandir=\$${prefix}/share/man \
+		--infodir=\$${prefix}/share/info \
+		--enable-static 
+
+build: config.status
+	dh_testdir
+	$(MAKE) "CFLAGS=-O2"
+
+clean:
+	dh_testdir
+	dh_testroot
+	[ ! -f Makefile ] || $(MAKE) distclean
+	$(RM) config.guess config.sub
+	dh_clean
+
+install: build
+	dh_testdir
+	dh_testroot
+	dh_prep
+	$(MAKE) install DESTDIR=`pwd`/debian/tmp
+
+binary-indep: build install
+
+binary-arch: build install
+	dh_testdir
+	dh_testroot
+	dh_install
+	dh_installdebconf	
+	dh_installdocs
+	dh_installexamples
+#	dh_installmenu
+#	dh_installemacsen
+#	dh_installpam
+#	dh_installinit
+#	dh_installcron
+	dh_installman 
+#	dh_installinfo
+#	dh_undocumented
+	dh_installchangelogs ChangeLog
+	dh_link
+	dh_strip
+	dh_compress
+	dh_fixperms
+	dh_makeshlibs -V
+	dh_installdeb
+#	dh_perl
+	dh_shlibdeps
+	dh_gencontrol
+	dh_md5sums
+	dh_builddeb
+
+binary: binary-indep binary-arch
+.PHONY: build clean binary-indep binary-arch binary install configure
--- towitoko-2.0.7.orig/debian/libtowitoko2.postrm
+++ towitoko-2.0.7/debian/libtowitoko2.postrm
@@ -0,0 +1,32 @@
+#!/bin/sh
+#
+# postrm remove 
+# postrm purge 
+# old-postrm upgrade new-version 
+# new-postrm failed-upgrade old-version 
+# new-postrm abort-install 
+# new-postrm abort-install old-version 
+# new-postrm abort-upgrade old-version 
+# disappearer's-postrm disappear overwriter overwriter-version 
+#
+
+set -e 
+
+case "$1" in
+  remove|upgrade|failed-upgrade|abort-install|abort-upgrade|disappear)
+
+    # regenerate /etc/reader.conf
+    if [ -x /usr/sbin/update-reader.conf ]; then
+      /usr/sbin/update-reader.conf || true
+    fi
+
+    # restart pcscd (PCSC daemon) if the package is installed
+    # and if pcscd is running
+    if [ -x /etc/init.d/pcscd ]; then
+      invoke-rc.d pcscd restart 3>/dev/null || true
+    fi
+
+    ;;
+esac
+
+#DEBHELPER#
--- towitoko-2.0.7.orig/debian/libtowitoko2.links
+++ towitoko-2.0.7/debian/libtowitoko2.links
@@ -0,0 +1 @@
+usr/lib/libtowitoko.so.2.0.0 usr/lib/pcsc/drivers/towitoko.bundle/Contents/Linux/libtowitoko.so.2.0.0
--- towitoko-2.0.7.orig/debian/libtowitoko-dev.examples
+++ towitoko-2.0.7/debian/libtowitoko-dev.examples
@@ -0,0 +1 @@
+doc/reader.conf
--- towitoko-2.0.7.orig/debian/po/fr.po
+++ towitoko-2.0.7/debian/po/fr.po
@@ -0,0 +1,60 @@
+#
+#    Translators, if you are not familiar with the PO format, gettext
+#    documentation is worth reading, especially sections dedicated to
+#    this format, e.g. by running:
+#         info -n '(gettext)PO Files'
+#         info -n '(gettext)Header Entry'
+#
+#    Some information specific to po-debconf are available at
+#            /usr/share/doc/po-debconf/README-trans
+#         or http://www.debian.org/intl/l10n/po-debconf/README-trans
+#
+#    Developers do not need to manually edit POT or PO files.
+#
+# Initial translator is unknown
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: towitoko 2.0.7-2\n"
+"Report-Msgid-Bugs-To: towitoko@packages.debian.org\n"
+"POT-Creation-Date: 2010-02-19 07:38+0100\n"
+"PO-Revision-Date: 2003-07-26 14:36+0100\n"
+"Last-Translator: Christian Perrier <bubulle@debian.org>\n"
+"Language-Team: French <debian-l10n-french@lists.debian.org>\n"
+"Language: fr\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=ISO-8859-15\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#. Type: select
+#. Choices
+#: ../libtowitoko2.templates:1001
+msgid "ttyS0, ttyS1, ttyS2, ttyS3, USB"
+msgstr "ttyS0, ttyS1, ttyS2, ttyS3, USB"
+
+#. Type: select
+#. Description
+#: ../libtowitoko2.templates:1002
+msgid "On which serial port is connected the smart card reader?"
+msgstr "Sur quel port srie le lecteur de carte  puce est-il connect?"
+
+#. Type: select
+#. Description
+#: ../libtowitoko2.templates:1002
+msgid ""
+"PCSC needs to know on which serial port the reader is connected. This "
+"information is stored in the file /etc/reader.conf."
+msgstr ""
+"PCSC doit savoir sur quel port srie se trouve le lecteur de carte  puce. "
+"Cette information est conserve dans le fichier /etc/reader.conf."
+
+#. Type: select
+#. Description
+#: ../libtowitoko2.templates:1002
+msgid ""
+"You should not edit this file directly but create or modify a file in /etc/"
+"reader.conf.d/ and use update-reader.conf(8) to regenerate /etc/reader.conf."
+msgstr ""
+"Vous ne devez pas modifier directement ce fichier mais crer ou modifier un "
+"fichier dans /etc/reader.conf.d/ et utiliser update-reader.conf(8) pour "
+"rgnrer /etc/reader.conf."
--- towitoko-2.0.7.orig/debian/po/sk.po
+++ towitoko-2.0.7/debian/po/sk.po
@@ -0,0 +1,51 @@
+# Slovak translation of towitoko.
+# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER
+# This file is distributed under the same license as the towitoko package.
+# Ivan MasÃ¡r <helix84@centrum.sk>, 2010.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: towitoko\n"
+"Report-Msgid-Bugs-To: towitoko@packages.debian.org\n"
+"POT-Creation-Date: 2010-02-19 07:38+0100\n"
+"PO-Revision-Date: 2010-02-19 13:52+0100\n"
+"Last-Translator: Ivan Masár <helix84@centrum.sk>\n"
+"Language-Team: Slovak <sk-i18n@lists.linux.sk>\n"
+"Language: sk\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=utf-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"Plural-Forms: nplurals=3; plural=((n==1) ? 0 : (n>=2 && n<=4) ? 1 : 2);\n"
+
+#. Type: select
+#. Choices
+#: ../libtowitoko2.templates:1001
+msgid "ttyS0, ttyS1, ttyS2, ttyS3, USB"
+msgstr "ttyS0, ttyS1, ttyS2, ttyS3, USB"
+
+#. Type: select
+#. Description
+#: ../libtowitoko2.templates:1002
+msgid "On which serial port is connected the smart card reader?"
+msgstr "Na ktorom sériovom porte je pripojená čítačka smart card?"
+
+#. Type: select
+#. Description
+#: ../libtowitoko2.templates:1002
+msgid ""
+"PCSC needs to know on which serial port the reader is connected. This "
+"information is stored in the file /etc/reader.conf."
+msgstr ""
+"PCSC potrebuje vedieť, na ktorom sériovom porte je pripojená čítačka. Táto "
+"informácie je uložená v súbore /etc/reader.conf."
+
+#. Type: select
+#. Description
+#: ../libtowitoko2.templates:1002
+msgid ""
+"You should not edit this file directly but create or modify a file in /etc/"
+"reader.conf.d/ and use update-reader.conf(8) to regenerate /etc/reader.conf."
+msgstr ""
+"Nemali by ste tento súbor upravovať priamo, ale vytvoriť alebo zmeniť súbor "
+"v adresári /etc/reader.conf.d/ a použiť update-reader.conf(8) na opätovné "
+"vytvorenie /etc/reader.conf."
--- towitoko-2.0.7.orig/debian/po/it.po
+++ towitoko-2.0.7/debian/po/it.po
@@ -0,0 +1,51 @@
+# ITALIAN TRANSLATION OF TOWITOKO'S PO-DEBCONF FILE.
+# COPYRIGHT (C) 2010 THE TOWITOKO'S COPYRIGHT HOLDER
+# This file is distributed under the same license as the towitoko package.
+# Vincenzo Campanella <vinz65@gmail.com>, 2010.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: towitoko\n"
+"Report-Msgid-Bugs-To: towitoko@packages.debian.org\n"
+"POT-Creation-Date: 2010-02-19 07:38+0100\n"
+"PO-Revision-Date: 2010-02-21 08:56+0100\n"
+"Last-Translator: Vincenzo Campanella <vinz65@gmail.com>\n"
+"Language-Team: Italian <tp@lists.linux.it>\n"
+"Language: it\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#. Type: select
+#. Choices
+#: ../libtowitoko2.templates:1001
+msgid "ttyS0, ttyS1, ttyS2, ttyS3, USB"
+msgstr "ttyS0, ttyS1, ttyS2, ttyS3, USB"
+
+#. Type: select
+#. Description
+#: ../libtowitoko2.templates:1002
+msgid "On which serial port is connected the smart card reader?"
+msgstr ""
+"Selezionare la porta seriale alla quale il lettore di smart card è collegato."
+
+#. Type: select
+#. Description
+#: ../libtowitoko2.templates:1002
+msgid ""
+"PCSC needs to know on which serial port the reader is connected. This "
+"information is stored in the file /etc/reader.conf."
+msgstr ""
+"È necessario indicare a PCSC a quale porta seriale il lettore è collegato. "
+"Questa informazione viene memorizzata nel file «/etc/reader.conf»."
+
+#. Type: select
+#. Description
+#: ../libtowitoko2.templates:1002
+msgid ""
+"You should not edit this file directly but create or modify a file in /etc/"
+"reader.conf.d/ and use update-reader.conf(8) to regenerate /etc/reader.conf."
+msgstr ""
+"Non si dovrebbe modificare direttamente questo file, bensì creare o "
+"modificare un file in «/etc/reader.conf.d/» e utilizzare «update-reader.conf"
+"(8)» per rigenerare «/etc/reader.conf»."
--- towitoko-2.0.7.orig/debian/po/templates.pot
+++ towitoko-2.0.7/debian/po/templates.pot
@@ -0,0 +1,45 @@
+# SOME DESCRIPTIVE TITLE.
+# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER
+# This file is distributed under the same license as the PACKAGE package.
+# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
+#
+#, fuzzy
+msgid ""
+msgstr ""
+"Project-Id-Version: PACKAGE VERSION\n"
+"Report-Msgid-Bugs-To: towitoko@packages.debian.org\n"
+"POT-Creation-Date: 2010-02-19 07:38+0100\n"
+"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
+"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
+"Language-Team: LANGUAGE <LL@li.org>\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=CHARSET\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#. Type: select
+#. Choices
+#: ../libtowitoko2.templates:1001
+msgid "ttyS0, ttyS1, ttyS2, ttyS3, USB"
+msgstr ""
+
+#. Type: select
+#. Description
+#: ../libtowitoko2.templates:1002
+msgid "On which serial port is connected the smart card reader?"
+msgstr ""
+
+#. Type: select
+#. Description
+#: ../libtowitoko2.templates:1002
+msgid ""
+"PCSC needs to know on which serial port the reader is connected. This "
+"information is stored in the file /etc/reader.conf."
+msgstr ""
+
+#. Type: select
+#. Description
+#: ../libtowitoko2.templates:1002
+msgid ""
+"You should not edit this file directly but create or modify a file in /etc/"
+"reader.conf.d/ and use update-reader.conf(8) to regenerate /etc/reader.conf."
+msgstr ""
--- towitoko-2.0.7.orig/debian/po/vi.po
+++ towitoko-2.0.7/debian/po/vi.po
@@ -0,0 +1,51 @@
+# Vietnamese translation for towitoko.
+# Copyright © 2005 Free Software Foundation, Inc.
+# Clytie Siddall <clytie@riverland.net.au>, 2005.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: towitoko 2.0.7-4\n"
+"Report-Msgid-Bugs-To: towitoko@packages.debian.org\n"
+"POT-Creation-Date: 2010-02-19 07:38+0100\n"
+"PO-Revision-Date: 2005-08-10 17:54+0930\n"
+"Last-Translator: Clytie Siddall <clytie@riverland.net.au>\n"
+"Language-Team: Vietnamese <gnomevi-list@lists.sourceforge.net>\n"
+"Language: vi\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=utf-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"Plural-Forms: nplurals=1; plural=0\n"
+"X-Generator: LocFactoryEditor 1.2.2\n"
+
+#. Type: select
+#. Choices
+#: ../libtowitoko2.templates:1001
+msgid "ttyS0, ttyS1, ttyS2, ttyS3, USB"
+msgstr "ttyS0, ttyS1, ttyS2, ttyS3, USB"
+
+#. Type: select
+#. Description
+#: ../libtowitoko2.templates:1002
+msgid "On which serial port is connected the smart card reader?"
+msgstr "Máy đọc thẻ thông mình có kết nối đến cổng nối tiếp nào?"
+
+#. Type: select
+#. Description
+#: ../libtowitoko2.templates:1002
+msgid ""
+"PCSC needs to know on which serial port the reader is connected. This "
+"information is stored in the file /etc/reader.conf."
+msgstr ""
+"PCSC cần biết cổng nối tiếp nào có máy đọc kết nối đến nó. Thông tin này "
+"được lưu vào tập tin « /etc/reader.conf »."
+
+#. Type: select
+#. Description
+#: ../libtowitoko2.templates:1002
+msgid ""
+"You should not edit this file directly but create or modify a file in /etc/"
+"reader.conf.d/ and use update-reader.conf(8) to regenerate /etc/reader.conf."
+msgstr ""
+"Bạn không nên hiệu chỉnh tập tin này một cách trực tiếp, thay vào đó hãy tạo "
+"hoặc sửa đổi một tập tin trong « /etc/reader.conf.d/ » và dùng « update-"
+"reader.conf(8) » để tạo ra lại tập tin « /etc/reader.conf »."
--- towitoko-2.0.7.orig/debian/po/pl.po
+++ towitoko-2.0.7/debian/po/pl.po
@@ -0,0 +1,52 @@
+# Copyright (C) 2010
+# This file is distributed under the same license as the towitoko package.
+#
+# Michał Kułach <michal.kulach@gmail.com>, 2012.
+msgid ""
+msgstr ""
+"Project-Id-Version: \n"
+"Report-Msgid-Bugs-To: towitoko@packages.debian.org\n"
+"POT-Creation-Date: 2010-02-19 07:38+0100\n"
+"PO-Revision-Date: 2012-01-25 20:36+0100\n"
+"Last-Translator: Michał Kułach <michal.kulach@gmail.com>\n"
+"Language-Team: Polish <debian-l10n-polish@lists.debian.org>\n"
+"Language: pl\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"X-Generator: Lokalize 1.2\n"
+"Plural-Forms: nplurals=3; plural=(n==1 ? 0 : n%10>=2 && n%10<=4 && (n%100<10 "
+"|| n%100>=20) ? 1 : 2);\n"
+
+#. Type: select
+#. Choices
+#: ../libtowitoko2.templates:1001
+msgid "ttyS0, ttyS1, ttyS2, ttyS3, USB"
+msgstr "ttyS0, ttyS1, ttyS2, ttyS3, USB"
+
+#. Type: select
+#. Description
+#: ../libtowitoko2.templates:1002
+msgid "On which serial port is connected the smart card reader?"
+msgstr "Do którego portu szeregowego jest podłączony czytnik kart smart card?"
+
+#. Type: select
+#. Description
+#: ../libtowitoko2.templates:1002
+msgid ""
+"PCSC needs to know on which serial port the reader is connected. This "
+"information is stored in the file /etc/reader.conf."
+msgstr ""
+"PSCS musi znać port szeregowy, do którego podłączony jest czytnik. Ta "
+"informacja jest przechowywana w pliku /etc/reader.conf."
+
+#. Type: select
+#. Description
+#: ../libtowitoko2.templates:1002
+msgid ""
+"You should not edit this file directly but create or modify a file in /etc/"
+"reader.conf.d/ and use update-reader.conf(8) to regenerate /etc/reader.conf."
+msgstr ""
+"Nie należy edytować tego pliku bezpośrednio, lecz stworzyć lub zmodyfikować "
+"plik w /etc/reader.conf.d/ i użyć update-reader.conf(8) do ponownego "
+"wygenerowania /etc/reader.conf."
--- towitoko-2.0.7.orig/debian/po/ru.po
+++ towitoko-2.0.7/debian/po/ru.po
@@ -0,0 +1,59 @@
+#
+#    Translators, if you are not familiar with the PO format, gettext
+#    documentation is worth reading, especially sections dedicated to
+#    this format, e.g. by running:
+#         info -n '(gettext)PO Files'
+#         info -n '(gettext)Header Entry'
+#
+#    Some information specific to po-debconf are available at
+#            /usr/share/doc/po-debconf/README-trans
+#         or http://www.debian.org/intl/l10n/po-debconf/README-trans
+#
+#    Developers do not need to manually edit POT or PO files.
+#
+#, fuzzy
+msgid ""
+msgstr ""
+"Project-Id-Version: PACKAGE VERSION\n"
+"Report-Msgid-Bugs-To: towitoko@packages.debian.org\n"
+"POT-Creation-Date: 2010-02-19 07:38+0100\n"
+"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
+"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
+"Language-Team: LANGUAGE <LL@li.org>\n"
+"Language: \n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=KOI8-R\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#. Type: select
+#. Choices
+#: ../libtowitoko2.templates:1001
+msgid "ttyS0, ttyS1, ttyS2, ttyS3, USB"
+msgstr "ttyS0, ttyS1, ttyS2, ttyS3, USB"
+
+#. Type: select
+#. Description
+#: ../libtowitoko2.templates:1002
+msgid "On which serial port is connected the smart card reader?"
+msgstr "     smart card reader?"
+
+#. Type: select
+#. Description
+#: ../libtowitoko2.templates:1002
+msgid ""
+"PCSC needs to know on which serial port the reader is connected. This "
+"information is stored in the file /etc/reader.conf."
+msgstr ""
+"PCSC        .  "
+"    /etc/reader.conf."
+
+#. Type: select
+#. Description
+#: ../libtowitoko2.templates:1002
+msgid ""
+"You should not edit this file directly but create or modify a file in /etc/"
+"reader.conf.d/ and use update-reader.conf(8) to regenerate /etc/reader.conf."
+msgstr ""
+"      ,     "
+"  /etc/reader.conf.d/   update-reader.conf(8)  "
+" /etc/reader.conf."
--- towitoko-2.0.7.orig/debian/po/ja.po
+++ towitoko-2.0.7/debian/po/ja.po
@@ -0,0 +1,49 @@
+# Copyright (C) 2007-2009 Simon Richter <sjr@debian.org>
+# This file is distributed under the same license as the towitoko package.
+# Hideki Yamane (Debian-JP) <henrich@debian.or.jp>, 2009.
+# 
+msgid ""
+msgstr ""
+"Project-Id-Version: towitoko 2.0.7-7.3\n"
+"Report-Msgid-Bugs-To: towitoko@packages.debian.org\n"
+"POT-Creation-Date: 2010-02-19 07:38+0100\n"
+"PO-Revision-Date: 2009-01-06 06:26+0900\n"
+"Last-Translator: Hideki Yamane (Debian-JP) <henrich@debian.or.jp>\n"
+"Language-Team: Japanese <debian-japanese@lists.debian.org>\n"
+"Language: ja\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#. Type: select
+#. Choices
+#: ../libtowitoko2.templates:1001
+msgid "ttyS0, ttyS1, ttyS2, ttyS3, USB"
+msgstr "ttyS0, ttyS1, ttyS2, ttyS3, USB"
+
+#. Type: select
+#. Description
+#: ../libtowitoko2.templates:1002
+msgid "On which serial port is connected the smart card reader?"
+msgstr "スマートカードリーダが接続されているシリアルポートはどれですか?"
+
+#. Type: select
+#. Description
+#: ../libtowitoko2.templates:1002
+msgid ""
+"PCSC needs to know on which serial port the reader is connected. This "
+"information is stored in the file /etc/reader.conf."
+msgstr ""
+"PCSC はどのシリアルポートにリーダが接続されているかを知っている必要がありま"
+"す。この情報は /etc/reader.conf ファイルに保存されます。"
+
+#. Type: select
+#. Description
+#: ../libtowitoko2.templates:1002
+msgid ""
+"You should not edit this file directly but create or modify a file in /etc/"
+"reader.conf.d/ and use update-reader.conf(8) to regenerate /etc/reader.conf."
+msgstr ""
+"このファイルを直接編集するのではなく、/etc/reader.conf.d/ にファイルを作成／"
+"編集して update-reader.conf(8) を使って /etc/reader.conf を再生成してくださ"
+"い。"
--- towitoko-2.0.7.orig/debian/po/sv.po
+++ towitoko-2.0.7/debian/po/sv.po
@@ -0,0 +1,57 @@
+# Translators, if you are not familiar with the PO format, gettext
+# documentation is worth reading, especially sections dedicated to
+# this format, e.g. by running:
+# info -n '(gettext)PO Files'
+# info -n '(gettext)Header Entry'
+# Some information specific to po-debconf are available at
+# /usr/share/doc/po-debconf/README-trans
+# or http://www.debian.org/intl/l10n/po-debconf/README-trans
+# Developers do not need to manually edit POT or PO files.
+# , fuzzy
+#
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: towitoko 2.0.7-4\n"
+"Report-Msgid-Bugs-To: towitoko@packages.debian.org\n"
+"POT-Creation-Date: 2010-02-19 07:38+0100\n"
+"PO-Revision-Date: 2005-09-30 16:44-0700\n"
+"Last-Translator: Daniel Nylander <po@danielnylander.se>\n"
+"Language-Team: Swedish <sv@li.org>\n"
+"Language: sv\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=iso-8859-1\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#. Type: select
+#. Choices
+#: ../libtowitoko2.templates:1001
+msgid "ttyS0, ttyS1, ttyS2, ttyS3, USB"
+msgstr "ttyS0, ttyS1, ttyS2, ttyS3, USB"
+
+#. Type: select
+#. Description
+#: ../libtowitoko2.templates:1002
+msgid "On which serial port is connected the smart card reader?"
+msgstr "P vilken seriellport r smartkortslsaren inkopplad?"
+
+#. Type: select
+#. Description
+#: ../libtowitoko2.templates:1002
+msgid ""
+"PCSC needs to know on which serial port the reader is connected. This "
+"information is stored in the file /etc/reader.conf."
+msgstr ""
+"PCSC behver veta vilken seriellport som lsaren r inkopplad i. Denna "
+"information kommer att sparas i filen /etc/reader.conf."
+
+#. Type: select
+#. Description
+#: ../libtowitoko2.templates:1002
+msgid ""
+"You should not edit this file directly but create or modify a file in /etc/"
+"reader.conf.d/ and use update-reader.conf(8) to regenerate /etc/reader.conf."
+msgstr ""
+"Du ska inte ndra i denna fil direkt utan skapa eller modifiera filen/filer "
+"i /etc/reader.conf.d/ och anvnda kommandot 'update-reader.conf'(8) fr att "
+"generera /etc/reader.conf."
--- towitoko-2.0.7.orig/debian/po/POTFILES.in
+++ towitoko-2.0.7/debian/po/POTFILES.in
@@ -0,0 +1 @@
+[type: gettext/rfc822deb] libtowitoko2.templates
--- towitoko-2.0.7.orig/debian/po/pt.po
+++ towitoko-2.0.7/debian/po/pt.po
@@ -0,0 +1,49 @@
+# Portuguese translation of towitoko.
+# This file is distributed under the same license as the towitoko package.
+# Luísa Lourenço <kikentai@gmail.com>, 2006.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: towitoko 2.0.7-7.1\n"
+"Report-Msgid-Bugs-To: towitoko@packages.debian.org\n"
+"POT-Creation-Date: 2010-02-19 07:38+0100\n"
+"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
+"Last-Translator: Luísa Lourenço <kikentai@gmail.com>\n"
+"Language-Team: Native Portuguese <traduz@debianpt.org>\n"
+"Language: \n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#. Type: select
+#. Choices
+#: ../libtowitoko2.templates:1001
+msgid "ttyS0, ttyS1, ttyS2, ttyS3, USB"
+msgstr "ttyS0, ttyS1, ttyS2, ttyS3, USB"
+
+#. Type: select
+#. Description
+#: ../libtowitoko2.templates:1002
+msgid "On which serial port is connected the smart card reader?"
+msgstr "Em qual porta série está ligado o leitor de 'smart card'?"
+
+#. Type: select
+#. Description
+#: ../libtowitoko2.templates:1002
+msgid ""
+"PCSC needs to know on which serial port the reader is connected. This "
+"information is stored in the file /etc/reader.conf."
+msgstr ""
+"O PCSC precisa de saber em qual porta série o leitor está ligado. Esta "
+"informação é guardada no ficheiro /etc/reader.conf."
+
+#. Type: select
+#. Description
+#: ../libtowitoko2.templates:1002
+msgid ""
+"You should not edit this file directly but create or modify a file in /etc/"
+"reader.conf.d/ and use update-reader.conf(8) to regenerate /etc/reader.conf."
+msgstr ""
+"Não deve editar este ficheiro directamente mas criar ou modificar um "
+"ficheiro em /etc/reader.conf.d/ e usar update-reader.conf(8) para recriar o /"
+"etc/reader.conf."
--- towitoko-2.0.7.orig/debian/po/de.po
+++ towitoko-2.0.7/debian/po/de.po
@@ -0,0 +1,51 @@
+# Translation of towitoko debconf templates to German
+# Copyright (C) ...
+# Copyright (C) Helge Kreutzmann <debian@helgefjell.de>, 2009.
+# This file is distributed under the same license as the towitoko package.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: towitoko 2.0.7-8.2\n"
+"Report-Msgid-Bugs-To: towitoko@packages.debian.org\n"
+"POT-Creation-Date: 2010-02-19 07:38+0100\n"
+"PO-Revision-Date: 2011-06-07 11:12+0200\n"
+"Last-Translator: Helge Kreutzmann <debian@helgefjell.de>\n"
+"Language-Team: de <debian-l10n-german@lists.debian.org>\n"
+"Language: \n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#. Type: select
+#. Choices
+#: ../libtowitoko2.templates:1001
+msgid "ttyS0, ttyS1, ttyS2, ttyS3, USB"
+msgstr "ttyS0, ttyS1, ttyS2, ttyS3, USB"
+
+#. Type: select
+#. Description
+#: ../libtowitoko2.templates:1002
+msgid "On which serial port is connected the smart card reader?"
+msgstr ""
+"Mit welcher seriellen Schnittstelle ist der Chipkarten-Leser verbunden?"
+
+#. Type: select
+#. Description
+#: ../libtowitoko2.templates:1002
+msgid ""
+"PCSC needs to know on which serial port the reader is connected. This "
+"information is stored in the file /etc/reader.conf."
+msgstr ""
+"PCSC muss wissen, mit welcher seriellen Schnittstelle der Leser verbunden "
+"ist. Diese Information wird in der Datei /etc/reader.conf gespeichert."
+
+#. Type: select
+#. Description
+#: ../libtowitoko2.templates:1002
+msgid ""
+"You should not edit this file directly but create or modify a file in /etc/"
+"reader.conf.d/ and use update-reader.conf(8) to regenerate /etc/reader.conf."
+msgstr ""
+"Sie sollten diese Datei nicht direkt ändern, statt dessen sollte eine Datei "
+"in /etc/reader.conf.d/ erzeugt bzw. verändert werden und daraus dann über "
+"update-reader.conf(8) die Datei /etc/reader.conf neu generiert werden."
--- towitoko-2.0.7.orig/debian/po/da.po
+++ towitoko-2.0.7/debian/po/da.po
@@ -0,0 +1,50 @@
+# Danish translation towitoko.
+# Copyright (C) 2010 towitoko & nedenstående oversættere.
+# This file is distributed under the same license as the towitoko package.
+# Joe Hansen (joedalton2@yahoo.dk), 2010.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: towitoko\n"
+"Report-Msgid-Bugs-To: towitoko@packages.debian.org\n"
+"POT-Creation-Date: 2010-02-19 07:38+0100\n"
+"PO-Revision-Date: 2010-08-16 17:30+01:00\n"
+"Last-Translator: Joe Hansen <joedalton2@yahoo.dk>\n"
+"Language-Team: Danish <debian-l10n-danish@lists.debian.org> \n"
+"Language: \n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#. Type: select
+#. Choices
+#: ../libtowitoko2.templates:1001
+msgid "ttyS0, ttyS1, ttyS2, ttyS3, USB"
+msgstr "ttyS0, ttyS1, ttyS2, ttyS3, USB"
+
+#. Type: select
+#. Description
+#: ../libtowitoko2.templates:1002
+msgid "On which serial port is connected the smart card reader?"
+msgstr "På hvilken serielport er smartkortlæseren forbundet?"
+
+#. Type: select
+#. Description
+#: ../libtowitoko2.templates:1002
+msgid ""
+"PCSC needs to know on which serial port the reader is connected. This "
+"information is stored in the file /etc/reader.conf."
+msgstr ""
+"PCSC har brug for at vide på hvilken serielport læseren er forbundet. Denne "
+"information gemmes i filen /etc/reader.conf."
+
+#. Type: select
+#. Description
+#: ../libtowitoko2.templates:1002
+msgid ""
+"You should not edit this file directly but create or modify a file in /etc/"
+"reader.conf.d/ and use update-reader.conf(8) to regenerate /etc/reader.conf."
+msgstr ""
+"Du bør ikke redigere filen direkte men oprette eller ændre en fil i /etc/"
+"reader.conf.d/ og bruge update-reader.conf(8) for at gendanne /etc/reader."
+"conf."
--- towitoko-2.0.7.orig/debian/po/nl.po
+++ towitoko-2.0.7/debian/po/nl.po
@@ -0,0 +1,58 @@
+#
+#    Translators, if you are not familiar with the PO format, gettext
+#    documentation is worth reading, especially sections dedicated to
+#    this format, e.g. by running:
+#         info -n '(gettext)PO Files'
+#         info -n '(gettext)Header Entry'
+#
+#    Some information specific to po-debconf are available at
+#            /usr/share/doc/po-debconf/README-trans
+#         or http://www.debian.org/intl/l10n/po-debconf/README-trans
+#
+#    Developers do not need to manually edit POT or PO files.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: eco5000 0.9.8-1.2\n"
+"Report-Msgid-Bugs-To: towitoko@packages.debian.org\n"
+"POT-Creation-Date: 2010-02-19 07:38+0100\n"
+"PO-Revision-Date: 2004-05-24 12:48+0100\n"
+"Last-Translator: Luk Claes <luk.claes@ugent.be>\n"
+"Language-Team: Debian l10n Dutch <debian-l10n-dutch@lists.debian.org>\n"
+"Language: \n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=iso-8859-1\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#. Type: select
+#. Choices
+#: ../libtowitoko2.templates:1001
+msgid "ttyS0, ttyS1, ttyS2, ttyS3, USB"
+msgstr "ttyS0, ttyS1, ttyS2, ttyS3, USB"
+
+#. Type: select
+#. Description
+#: ../libtowitoko2.templates:1002
+msgid "On which serial port is connected the smart card reader?"
+msgstr "Op welke serile poort is de smartcard-lezer aangesloten?"
+
+#. Type: select
+#. Description
+#: ../libtowitoko2.templates:1002
+msgid ""
+"PCSC needs to know on which serial port the reader is connected. This "
+"information is stored in the file /etc/reader.conf."
+msgstr ""
+"PCSC moet weten op welke serile poort de lezer is aangesloten. Deze "
+"informatie wordt bewaard in het bestand /etc/reader.conf."
+
+#. Type: select
+#. Description
+#: ../libtowitoko2.templates:1002
+msgid ""
+"You should not edit this file directly but create or modify a file in /etc/"
+"reader.conf.d/ and use update-reader.conf(8) to regenerate /etc/reader.conf."
+msgstr ""
+"U mag dit bestand niet rechtstreeks wijzigen; maak een bestand aan in /etc/"
+"reader.conf.d/ of wijzig dit en gebruik update-reader.conf(8) om /etc/reader."
+"conf opnieuw te genereren."
--- towitoko-2.0.7.orig/debian/po/cs.po
+++ towitoko-2.0.7/debian/po/cs.po
@@ -0,0 +1,58 @@
+#
+#    Translators, if you are not familiar with the PO format, gettext
+#    documentation is worth reading, especially sections dedicated to
+#    this format, e.g. by running:
+#         info -n '(gettext)PO Files'
+#         info -n '(gettext)Header Entry'
+#
+#    Some information specific to po-debconf are available at
+#            /usr/share/doc/po-debconf/README-trans
+#         or http://www.debian.org/intl/l10n/po-debconf/README-trans
+#
+#    Developers do not need to manually edit POT or PO files.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: towitoko\n"
+"Report-Msgid-Bugs-To: towitoko@packages.debian.org\n"
+"POT-Creation-Date: 2010-02-19 07:38+0100\n"
+"PO-Revision-Date: 2005-03-06 17:53+0100\n"
+"Last-Translator: Miroslav Kure <kurem@debian.cz>\n"
+"Language-Team: Czech <debian-l10n-czech@debian.org>\n"
+"Language: cs\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=ISO-8859-2\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#. Type: select
+#. Choices
+#: ../libtowitoko2.templates:1001
+msgid "ttyS0, ttyS1, ttyS2, ttyS3, USB"
+msgstr "ttyS0, ttyS1, ttyS2, ttyS3, USB"
+
+#. Type: select
+#. Description
+#: ../libtowitoko2.templates:1002
+msgid "On which serial port is connected the smart card reader?"
+msgstr "Ke ktermu sriovmu portu je pipojena teka karet?"
+
+#. Type: select
+#. Description
+#: ../libtowitoko2.templates:1002
+msgid ""
+"PCSC needs to know on which serial port the reader is connected. This "
+"information is stored in the file /etc/reader.conf."
+msgstr ""
+"PCSC mus vdt, ke ktermu sriovmu portu je teka pipojena. Tato "
+"informace se ukld do souboru /etc/reader.conf."
+
+#. Type: select
+#. Description
+#: ../libtowitoko2.templates:1002
+msgid ""
+"You should not edit this file directly but create or modify a file in /etc/"
+"reader.conf.d/ and use update-reader.conf(8) to regenerate /etc/reader.conf."
+msgstr ""
+"Tento soubor byste nemli mnit pmo, ale mli byste vytvoit nebo upravit "
+"soubor v adresi /etc/reader.conf.d/ a pkazem update-reader.conf(8) "
+"vygenerovat nov /etc/reader.conf."
--- towitoko-2.0.7.orig/debian/po/es.po
+++ towitoko-2.0.7/debian/po/es.po
@@ -0,0 +1,59 @@
+#
+#    Translators, if you are not familiar with the PO format, gettext
+#    documentation is worth reading, especially sections dedicated to
+#    this format, e.g. by running:
+#         info -n '(gettext)PO Files'
+#         info -n '(gettext)Header Entry'
+#
+#    Some information specific to po-debconf are available at
+#            /usr/share/doc/po-debconf/README-trans
+#         or http://www.debian.org/intl/l10n/po-debconf/README-trans
+#
+#    Developers do not need to manually edit POT or PO files.
+#
+#, fuzzy
+msgid ""
+msgstr ""
+"Project-Id-Version: PACKAGE VERSION\n"
+"Report-Msgid-Bugs-To: towitoko@packages.debian.org\n"
+"POT-Creation-Date: 2010-02-19 07:38+0100\n"
+"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
+"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
+"Language-Team: LANGUAGE <LL@li.org>\n"
+"Language: \n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=ISO-8859-15\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#. Type: select
+#. Choices
+#: ../libtowitoko2.templates:1001
+msgid "ttyS0, ttyS1, ttyS2, ttyS3, USB"
+msgstr "ttyS0, ttyS1, ttyS2, ttyS3, USB"
+
+#. Type: select
+#. Description
+#: ../libtowitoko2.templates:1002
+msgid "On which serial port is connected the smart card reader?"
+msgstr "En qu puerto est instalado el lector de tarjetas inteligentes?"
+
+#. Type: select
+#. Description
+#: ../libtowitoko2.templates:1002
+msgid ""
+"PCSC needs to know on which serial port the reader is connected. This "
+"information is stored in the file /etc/reader.conf."
+msgstr ""
+"PCSC necesita conocer el el puerto serie en el que el lector est conectado. "
+"Esta informacin ser almacenada en el archivo /etc/reader.conf."
+
+#. Type: select
+#. Description
+#: ../libtowitoko2.templates:1002
+msgid ""
+"You should not edit this file directly but create or modify a file in /etc/"
+"reader.conf.d/ and use update-reader.conf(8) to regenerate /etc/reader.conf."
+msgstr ""
+"Este fichero no debe ser editado directamente, sino que se debe crear o "
+"modificar un fichero en el directorio /etc/reader.conf.d/ y ejecutar update-"
+"reader.conf(8) para regenerar /etc/reader.conf."
