--- konwert-1.8.orig/Makefile
+++ konwert-1.8/Makefile
@@ -46,9 +46,9 @@
 
 # Dokumentacja:
 
-mydocdir = $(prefix)/doc/konwert-$(version)
+mydocdir = $(sharedir)/doc/konwert
 srcdocdir = doc
-mandir = $(prefix)/man
+mandir = $(sharedir)/man
 srcmandir = man
 
 # Wersje z poprawionymi ¶cie¿kami w #!, gotowe do zainstalowania:
@@ -181,6 +181,9 @@
 
 ###############################################################################
 
+$(srcbindir)/filterm: $(srcbindir)/filterm.cc
+	$(CXX) $(CXXFLAGS) $< -o $@
+
 $(installbindir)/konwert: $(srcbindir)/konwert
 	sed 's|/usr/share/konwert/filters|$(filtersdir)|g' $< >$@
 	chmod +x $@
@@ -335,16 +335,16 @@
 	$(INSTALL) -m755 -s $(installbindir)/trs     $(bindir)
 	$(INSTALL) -m755    $(installbindir)/konwert $(bindir)
 	$(INSTALL) -m755 -s $(installbindir)/filterm $(bindir)
-	cp -dRf $(installfiltersdir)/* $(filtersdir)
+	/bin/cp -Rf $(installfiltersdir)/* $(filtersdir)
 	$(perl) $(srcdeveldir)/mkaliases $(srcdeveldir)/aliases \
 		$(installfiltersdir) $(filtersdir)
-	cp -dRf $(installauxdir)/* $(auxdir)
+	/bin/cp -Rf $(installauxdir)/* $(auxdir)
 	$(perl) $(srcdeveldir)/mkaliases $(srcdeveldir)/aliases \
 		$(installauxdir)/charsets $(auxdir)/charsets
-	cp -dRf $(installlibauxdir)/* $(libauxdir)
-	cp -dRf $(installdeveldir)/* $(develdir)
-	cp -dRf $(installdocdir)/* $(mydocdir)
-	cp -dRf $(installmandir)/* $(mandir)
+	/bin/cp -Rf $(installlibauxdir)/* $(libauxdir)
+	/bin/cp -Rf $(installdeveldir)/* $(develdir)
+	/bin/cp -Rf $(installdocdir)/* $(mydocdir)
+	/bin/cp -Rf $(installmandir)/* $(mandir)
 	if [ -z "$(nofixmanconfig)" ]; then $(srcauxdir)/fixmanconfig; fi
 
 ###############################################################################
--- konwert-1.8.orig/doc/en/filters
+++ konwert-1.8/doc/en/filters
@@ -194,6 +194,12 @@
 
 toupper, tolower - Self-explanatory. Currently ASCII only.
 
+prn7pl - Converts polish chars to control sequences for EPSON-compatible
+printer. Using only 7-bit chars, backspacing printer's head and vertical
+positioning chars ,.'` it creates pseudo-polish gryphs. You can specify
+options: /nlq (default) which optimalizes output for better quality
+printers and /draft - useful for ex. for 9-nails printer.
+
 
 	ADDITIONAL FILTERS FOR FILTERM
 
--- konwert-1.8.orig/doc/pl/filtry
+++ konwert-1.8/doc/pl/filtry
@@ -200,6 +200,12 @@
 toupper, tolower - Zamienia tekst na du¿e / ma³e litery. Na razie tylko
 ASCII.
 
+prn7pl - Konwertuje polskie znaki na sekwencje sterujêce drukarki zgodnej
+z EPSON wykorzystuj±c jedynie podstawowe znaki 7-bitowe, cofaj±c g³owicê
+drukarki i drukuj±c na odpowiedniej wysoko¶ci ,.'` daj±ce w sumie pseudo-
+polskie znaki. Przyjmuje opcje: /nlq (domy¶lne) optymalizowane do drukarek
+o lepszej rozdzielczo¶ci i /draft - np. dla trybu draft 9-ig³ówki.
+
 
 	DODATKOWE FILTRY DLA FILTERMA
 
--- konwert-1.8.orig/aux/charsets/mik
+++ konwert-1.8/aux/charsets/mik
@@ -0,0 +1,129 @@
+	~	~
+	€	Ð�
+	�	Ð‘
+	‚	Ð’
+	ƒ	Ð“
+	„	Ð”
+	…	Ð•
+	†	Ð–
+	‡	Ð—
+	ˆ	Ð˜
+	‰	Ð™
+	Š	Ðš
+	‹	Ð›
+	Œ	Ðœ
+	�	Ð�
+	Ž	Ðž
+	�	ÐŸ
+	�	Ð 
+	‘	Ð¡
+	’	Ð¢
+	“	Ð£
+	”	Ð¤
+	•	Ð¥
+	–	Ð¦
+	—	Ð§
+	˜	Ð¨
+	™	Ð©
+	š	Ðª
+	›	Ð«
+	œ	Ð¬
+	�	Ð­
+	ž	Ð®
+	Ÿ	Ð¯
+	 	Ð°
+	¡	Ð±
+	¢	Ð²
+	£	Ð³
+	¤	Ð´
+	¥	Ðµ
+	¦	Ð¶
+	§	Ð·
+	¨	Ð¸
+	©	Ð¹
+	ª	Ðº
+	«	Ð»
+	¬	Ð¼
+	­	Ð½
+	®	Ð¾
+	¯	Ð¿
+	°	Ñ€
+	±	Ñ�
+	²	Ñ‚
+	³	Ñƒ
+	´	Ñ„
+	µ	Ñ…
+	¶	Ñ†
+	·	Ñ‡
+	¸	Ñˆ
+	¹	Ñ‰
+	º	ÑŠ
+	»	Ñ‹
+	¼	ÑŒ
+	½	Ñ�
+	¾	ÑŽ
+	¿	Ñ�
+	À	â””
+	Á	â”´
+	Â	â”¬
+	Ã	â”œ
+	Ä	â”€
+	Å	â”¼
+	Æ	â•£
+	Ç	â•‘
+	È	â•š
+	É	â•”
+	Ê	â•©
+	Ë	â•¦
+	Ì	â• 
+	Í	â•�
+	Î	â•¬
+	Ï	â”�
+	Ð	â–‘
+	Ñ	â–’
+	Ò	â–“
+	Ó	â”‚
+	Ô	â”¤
+	Õ	â„–
+	Ö	Â§
+	×	â•—
+	Ø	â•�
+	Ù	â”˜
+	Ú	â”Œ
+	Û	â–ˆ
+	Ü	â–„
+	Ý	â–Œ
+	Þ	â–�
+	ß	â–€
+	à	Î±
+	á	Î²
+	â	Î“
+	ã	Ï€
+	ä	Î£
+	å	Ïƒ
+	æ	Î¼
+	ç	Ï„
+	è	Î¦
+	é	Î˜
+	ê	Î©
+	ë	Î´
+	ì	âˆž
+	í	âˆ…
+	î	âˆˆ
+	ï	âˆ©
+	ð	â‰¡
+	ñ	Â±
+	ò	â‰¥
+	ó	â‰¤
+	ô	âŒ 
+	õ	âŒ¡
+	ö	Ã·
+	÷	â‰ˆ
+	ø	Â°
+	ù	âˆ™
+	ú	Â·
+	û	âˆš
+	ü	â�¿
+	ý	Â²
+	þ	â– 
+	ÿ	Â 
--- konwert-1.8.orig/filters/rtf-8bit
+++ konwert-1.8/filters/rtf-8bit
@@ -1,130 +1,130 @@
 #!/usr/bin/trs -f
 
-	'\\80	\x80
-	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	\xF4
+	\\'f5	\xF5
+	\\'f6	\xF6
+	\\'f7	\xF7
+	\\'f8	\xF8
+	\\'f9	\xF9
+	\\'fa	\xFA
+	\\'fb	\xFB
+	\\'fc	\xFC
+	\\'fd	\xFD
+	\\'fe	\xFE
+	\\'ff	\xFF
--- konwert-1.8.orig/filters/UTF8-prn7pl
+++ konwert-1.8/filters/UTF8-prn7pl
@@ -0,0 +1,64 @@
+#!/bin/bash -
+#
+# Wykorzystuje standardowe mozliwosci drukarki zgodnej ze standardem
+# EPSON do emulacji polskich znaczkow. Dziala na zasadzie sekwencji:
+#
+# <literka_podstawowa><cofnij>[w gore/dol]<znaczek ,`.>[w dol/gore]
+#
+# Sekwencje zostaly przetestowane na starej 9-iglowej drukarce
+# Star NL-10 we wszystkich jakosciach/czcionkach na niej dostepnych,
+# a takze w trybie NLQ.
+#
+# Wersja domyslna z parametrem 'nlq' wyglada lepiej w lepszej jakosci
+# czy rozdzielczosci wydruku, natomiast 'draft' w gorszej/nizszej.
+#
+# (c) by Grzegorz B. Prokopski 2003 <gadek@debian.org> licencja GPL2
+#
+
+# rozpoznajemy parametry ARG: domyslny 'nlq' i 'draft'
+P_WAY=nlq
+for A in $ARG; do
+	case $A in
+		nlq) P_WAY=nlq;;
+		draft) P_WAY=draft;;
+	esac
+done
+
+# domyslnie ustawiamy zmienne dla DRAFTu
+P_MOGN=\\b\\e\\112\\004,\\e\\152\\004
+P_MAKC=\\b\\'`'
+P_MKRP=\\b\\e\\152\\021.\\e\\112\\021
+P_DOGN=\\b\\e\\112\\004,\\e\\152\\004
+P_DAKC=\\b\\e\\152\\010\\'`'\\e\\112\\010
+P_DKRP=\\b\\e\\152\\027.\\e\\112\\027
+P_UKN=\\b/
+
+# zmieniamy dla NLQ
+if [ $P_WAY == nlq ]; then
+P_MAKC=\\b\\e\\152\\025,\\e\\112\\025
+P_MKRP=\\b\\e\\152\\023.\\e\\112\\023
+P_DAKC=\\b\\e\\152\\033,\\e\\112\\033
+P_DKRP=\\b\\e\\152\\031.\\e\\112\\031
+fi
+
+trs -e "
+		Ä…		a$P_MOGN
+		Ä‡		c$P_MAKC
+		Ä™		e$P_MOGN
+		Å‚		l$P_UKN
+		Å„		n$P_MAKC
+		Ã³		o$P_MAKC
+		Å›		s$P_MAKC
+		Åº		z$P_MAKC
+		Å¼		z$P_MKRP
+		Ä„		A$P_DOGN
+		Ä†		C$P_DAKC
+		Ä˜		E$P_DOGN
+		Å�		L$P_UKN
+		Åƒ		N$P_DAKC
+		Ã“		O$P_DAKC
+		Åš		S$P_DAKC
+		Å¹		Z$P_DAKC
+		Å»		Z$P_DKRP
+"
+
--- konwert-1.8.orig/filters/UTF8-mik
+++ konwert-1.8/filters/UTF8-mik
@@ -0,0 +1,3 @@
+APPROX='
+' APPROX1='
+' REPLACE='?' "${0%/*}/../aux/UTF8-charset" -rf "${0%/*}/../aux/charsets/mik"
--- konwert-1.8.orig/bin/trs.cc
+++ konwert-1.8/bin/trs.cc
@@ -10,11 +10,14 @@
 #include <string.h>
 #include <iostream.h>
 #include <fstream.h>
-#include <strstream.h>
+#include <sstream>
 #include <ctype.h>
 #include <unistd.h>
+#include <stdlib.h>
 #define _(String) (String)
 
+using namespace std;
+
 #define WERSJA "1.8"
 #define WLKSLOWA 64*1024	// Maksymalna d³ugo¶æ s³owa do zamiany
 				// albo s³owa, na które zamieniamy
@@ -133,7 +136,7 @@
 
 struct zmienna
 {
-	int zmienna, wartosc;
+	int zmienna2, wartosc;
 	zmienna *nast;
 };
 
@@ -315,7 +318,7 @@
 					)
 					{
 						*zmienne = new zmienna;
-						(*zmienne)->zmienna =
+						(*zmienne)->zmienna2 =
 							s1[0] >= 'A' && s1[0] <= 'Z' ?
 								s1[0] - 'A'
 							:
@@ -474,7 +477,7 @@
 
 void regulyzarg (char *s)
 {
-	istrstream f (s);
+	istringstream f (s);
 	czytajreguly (f);
 }
 
@@ -542,7 +545,7 @@
 					zmienna *z = r->warunki;
 					while (z)
 					{
-						if (zmienne[z->zmienna] != z->wartosc)
+						if (zmienne[z->zmienna2] != z->wartosc)
 							goto niepasuje;
 						z = z->nast;
 					}
@@ -572,7 +575,7 @@
 					z = r->zmienne;
 					while (z)
 					{
-						zmienne[z->zmienna] = z->wartosc;
+						zmienne[z->zmienna2] = z->wartosc;
 						z = z->nast;
 					}
 					goto zamienione;
--- konwert-1.8.orig/bin/filterm.cc
+++ konwert-1.8/bin/filterm.cc
@@ -10,16 +10,16 @@
 #include <sys/stat.h>
 #include <sys/types.h>
 #include <sys/wait.h>
+#include <util.h>
 
 #define WERSJA "1.8"
 
 char		*nazwaprogramu;
 char		*shell;
 int		master;
-int		slave;
+int		slave = -1;
 struct termios	tt;
 struct winsize	win;
-char		line[] = "/dev/ptyXX";
 
 void uzycie (int status)
 {
@@ -54,36 +54,31 @@
     exit (0);
 }
 
-void getmaster()
+static char linedata[PATH_MAX];
+char *line = linedata;
+
+int getpty(void) {
+    if (openpty(&master, &slave, line, NULL, NULL)) {
+        return -1;
+    } return master;
+}
+
+
+void getmasterslave()
 {
-    char *pty = &line[strlen ("/dev/ptyp")];
-    for (char *bank = "pqrs"; *bank; bank++)
-    {
-	line[strlen ("/dev/pty")] = *bank;
-	*pty = '0';
-	struct stat stb;
-	if (stat (line, &stb) < 0) break;
-	for (char *cp = "0123456789abcdef"; *cp; cp++)
-	{
-	    *pty = *cp;
-	    if ((master = open (line, O_RDWR)) >= 0)
-	    {
-		char *tp = &line[strlen("/dev/")];
-		*tp = 't';
-		int ok = !access (line, R_OK|W_OK);
-		*tp = 'p';
-		if (ok)
-		{
-		    tcgetattr (0, &tt);
-		    ioctl (0, TIOCGWINSZ, (char *) &win);
-		    return;
-		}
-		close (master);
-	    }
-	}
+    int r;
+    r = getpty();
+    if (r==-1) { 
+        cerr << "Error opening pty\n";
+        exit (1);
     }
-    cerr << "Out of pty's\n";
-    exit (1);
+
+    tcgetattr (0, &tt);
+    ioctl (0, TIOCGWINSZ, (char *) &win);
+    tcsetattr (slave, TCSAFLUSH, &tt);
+    ioctl (slave, TIOCSWINSZ, (char *) &win);
+    setsid();
+    ioctl (slave, TIOCSCTTY, 0);
 }
 
 void terminalsurowy()
@@ -114,24 +109,8 @@
     exit (1);
 }
 
-void getslave()
-{
-    line[strlen ("/dev/")] = 't';
-    slave = open (line, O_RDWR);
-    if (slave < 0)
-    {
-	perror (line);
-	exit (1);
-    }
-    tcsetattr (slave, TCSAFLUSH, &tt);
-    ioctl (slave, TIOCSWINSZ, (char *) &win);
-    setsid();
-    ioctl (slave, TIOCSCTTY, 0);
-}
-
 void komenda (int argc, char *argv[])
 {
-    getslave();
     dup2 (slave, 0);
     dup2 (slave, 1);
     dup2 (slave, 2);
@@ -181,7 +160,7 @@
     }
     if (argc < 3) uzycie (0);
 
-    getmaster();
+    getmasterslave();
     signal (SIGCHLD, koniec);
 
     if (strcmp (argv[2], "-"))
--- konwert-1.8.orig/man/man1/konwert.1
+++ konwert-1.8/man/man1/konwert.1
@@ -533,6 +533,17 @@
 .B tolower
 .PD
 Self-explanatory. Currently ASCII only.
+.TP
+.B prn7pl
+Converts polish chars to control sequences for EPSON-compatible
+printer. Using only 7-bit chars, backspacing printer's head and vertical
+positioning chars ,.'` it creates pseudo-polish gryphs. You can specify
+options:
+.B /nlq
+(default) which optimalizes output for better quality
+printers and
+.B /draft
+- useful for ex. for 9-nails printer.
 .SH FILES
 .TP
 .PD 0
--- konwert-1.8.orig/man/pl/man1/konwert.1
+++ konwert-1.8/man/pl/man1/konwert.1
@@ -52,7 +52,7 @@
 .PP
 .B konwert
 .BI '( "KOMENDA ARG\fR.\|.\|.\|" )'
-wykonuje dane polecenie szela. Jest to przydatne z opcjami
+wykonuje dane polecenie pow³oki. Jest to przydatne z opcjami
 .B \-o
 albo
 .BR \-O .
@@ -531,6 +531,17 @@
 .B tolower
 .PD
 Zamienia tekst na du¿e / ma³e litery. Na razie tylko ASCII.
+.TP
+.B prn7pl
+Konwertuje polskie znaki na sekwencje sterujêce drukarki zgodnej
+z EPSON wykorzystuj±c jedynie podstawowe znaki 7-bitowe, cofaj±c g³owicê
+drukarki i drukuj±c na odpowiedniej wysoko¶ci ,.'` daj±ce w sumie pseudo-
+polskie znaki. Przyjmuje opcje:
+.B /nlq
+(domy¶lne) optymalizowane do drukarek
+o lepszej rozdzielczo¶ci i
+.B /draft
+- np. dla trybu draft 9-ig³ówki.
 .SH PLIKI
 .TP
 .PD 0
--- konwert-1.8.orig/debian/README.debian
+++ konwert-1.8/debian/README.debian
@@ -0,0 +1,10 @@
+The Debian Package `konwert'
+----------------------------
+
+There are no shipped manpages in this version, but the 3 user-level
+programs (konvert, filterm, trs) are documented in English and Polish
+in the subdirs of this directory.
+
+These should surely be converted into manpages.
+
+Yann Dirson <dirson@debian.org>, Mon, 22 Jun 1998 09:19:36 +0200
--- konwert-1.8.orig/debian/changelog
+++ konwert-1.8/debian/changelog
@@ -0,0 +1,149 @@
+konwert (1.8-11) unstable; urgency=low
+
+  * Switch from debhelper v1 mode to v5:
+    * bash-completion script now maked as conffile (Closes: #358376).
+    * use ${misc:Depends} for every binary package.
+  * Fixed problem in a polish manpage (Closes: #296246).
+  * Fixed capitalization in README.Debian (lintian).
+  * Bumped Standards-Version to 3.6.2, no change.
+
+ -- Yann Dirson <dirson@debian.org>  Tue, 11 Apr 2006 01:22:10 +0200
+
+konwert (1.8-10) unstable; urgency=low
+
+  * Build with g++-4.0.
+
+ -- Yann Dirson <dirson@debian.org>  Tue,  5 Jul 2005 23:25:19 +0200
+
+konwert (1.8-9) unstable; urgency=low
+
+  * Fixed rtf-8bit to recognize the good escape sequences (Closes: #182439).
+  * Include bash-completion script for konwert(1) from Vitalij K. Lysoff.
+  * Fixed dh_buildinfo call to occur in binary-arch; ship a docdir in
+    konwert package instead of a symlink to allow this; create symlinks to
+    en and pl docdirs to leave docs easily found.  
+  * Reworked debian/rules a bit: added an install target to help
+    accomodating for this change.  
+  * Updated my email in README.Debian and copyright; updated upstream URL
+    in copyright.
+
+ -- Yann Dirson <dirson@debian.org>  Thu, 29 Apr 2004 00:30:26 +0200
+
+konwert (1.8-8) unstable; urgency=low
+
+  * Applied longstanding patch from Radovan Garabik to use UNIX98 ptys
+    (Closes: #108583, #195451).  Link filterm with libutil.
+  * Avoid redifinition of PATH_MAX in filterm.cc.
+  * Use dh-buildinfo.
+
+ -- Yann Dirson <dirson@debian.org>  Fri,  9 Jan 2004 16:31:57 +0100
+
+konwert (1.8-7) unstable; urgency=low
+
+  * Added support for mik from Kaloian Doganov (Closes: #196510).
+  * Added filters/UTF8-prn7pl and associated documentation from Grzegorz
+    B. Prokopski (Closes: #195908).
+  * Bumped Standards-Version from 3.0.1 to 3.5.10 (no change).
+
+ -- Yann Dirson <dirson@debian.org>  Sun,  8 Jun 2003 16:32:09 +0200
+
+konwert (1.8-6) unstable; urgency=low
+
+  * Converted bin/trc.cc to use <sstream> since g++ 3.3 dropped
+    <strstream.h> (Closes: #194942).
+  * Fixed konwert-filters short desc (lintian).
+
+ -- Yann Dirson <dirson@debian.org>  Thu, 29 May 2003 23:23:48 +0200
+
+konwert (1.8-5) unstable; urgency=low
+
+  * Rebuild for g++-3.2.
+  * Removed manually-inserted /usr/doc/-symlinks logic from maintainer
+    scripts.
+
+ -- Yann Dirson <dirson@debian.org>  Mon, 13 Jan 2003 16:03:50 +0100
+
+konwert (1.8-4) unstable; urgency=low
+
+  * Fix typos in package descriptions (Closes: #124848, #146488).  Ran
+    ispell and found a couple more.
+  * Added a lintian override for hardlinks usage.  Nothing forbids
+    hardlinks here, and they don't break anything.
+
+ -- Yann Dirson <dirson@debian.org>  Fri, 24 May 2002 00:55:17 +0200
+
+konwert (1.8-3) unstable; urgency=medium
+
+  * Include stdlib.h in trs.cc (Closes: #105180).
+  * Aknowledge previous NMU (Closes: #105304).
+  * Updated path to GPL in debian/copyright.
+
+ -- Yann Dirson <dirson@debian.org>  Wed,  1 Aug 2001 00:26:07 +0200
+
+konwert (1.8-2.1) unstable; urgency=low
+
+  * NMU
+  * Add build-depends header.  Closes: #105304
+
+ -- LaMont Jones <lamont@smallone.fc.hp.com>  Sat, 14 Jul 2001 22:52:34 -0600
+
+konwert (1.8-2) unstable; urgency=low
+
+  * Moved doc and man to /usr/share, as per FHS.
+  * Manually added handling of /usr/doc symlinks to konwert{,-dev}
+    packages.
+  * Changed the name of zmienna member in struct zmienna in trs.cc to
+    allow compilation.
+  * Bumped Standards-Version to 3.0.1.
+
+ -- Yann Dirson <dirson@debian.org>  Sun, 24 Oct 1999 19:32:48 +0200
+
+konwert (1.8-1) unstable; urgency=low
+
+  * New upstream release.
+  * Closes: Bug#38463 by recompilation.
+  * Make use of dh_perl for perl dependencies.
+
+ -- Yann Dirson <dirson@debian.org>  Tue,  6 Jul 1999 00:52:24 +0200
+
+konwert (1.7-3) frozen unstable; urgency=low
+
+  * Made konwert-filters to Recommend konwert because it is mostly
+    useless without the latter, and it makes an excuse for a lintian
+    override on "E: konwert-filters: trs-script-but-no-konwert-dep"
+    stuff.
+  * Recompiled against libstdc++-2.9 (Fixes: Bug#29044).
+  * Passed lintian 0.9.3 (well, with the restriction stated above...).
+
+ -- Yann Dirson <dirson@debian.org>  Thu, 12 Nov 1998 20:48:33 +0100
+
+konwert (1.7-2) unstable; urgency=low
+
+  * Incorporated patch from upstream to `512bold' filter so that
+    colors aren't reversed after dselect exists.
+
+ -- Yann Dirson <dirson@debian.org>  Fri, 31 Jul 1998 16:28:49 +0200
+
+konwert (1.7-1) unstable; urgency=low
+
+  * New upstream release:
+  * Install `CHANGES' as `changelog'.
+  * Passed lintian 0.6.0.
+
+ -- Yann Dirson <dirson@debian.org>  Fri, 24 Jul 1998 23:28:35 +0200
+
+konwert (1.6-1) unstable; urgency=low
+
+  * New upstream release:
+  ** Provides english manpages.
+  ** Uses /usr/share/ upstream.
+  ** Charset aliases.
+
+ -- Yann Dirson <dirson@debian.org>  Tue,  7 Jul 1998 21:42:02 +0200
+
+konwert (1.5-1) unstable; urgency=low
+
+  * Initial Release.
+  * Passed lintian 0.4.8.
+
+ -- Yann Dirson <dirson@debian.org>  Mon, 22 Jun 1998 09:19:36 +0200
--- konwert-1.8.orig/debian/copyright
+++ konwert-1.8/debian/copyright
@@ -0,0 +1,8 @@
+This package was debianized by Yann Dirson <dirson@debian.org>,
+from sources available from:
+
+http://qrczak.ids.net.pl/programy/linux/konwert/
+
+Upstream author is Marcin 'Qrczak' Kowalczyk <qrczak@knm.org.pl>.
+
+Copyright: GPL (see /usr/share/common-licenses/GPL).

 	  	 
