[stunnel-users] Missencoded polish manpage in 4.27

Rodrigo Gallardo rodrigo at debian.org
Sat Apr 25 05:10:29 CEST 2009


On Thu, Apr 16, 2009 at 11:35:23AM +0200, Michal Trojnara wrote:
> Version 4.27, 2009.04.16, urgency: MEDIUM:

At least in Debian, the updated version of pod2man used for this
release mangles the non ascii chars in the polish manpage.

Adding an
=encoding iso-8859-2
declaration to the pod and processing it with the -u option to pod2man
fixes this. pod2html gives a warning but keeps working ok.

Patch follows:

----------------------------------------------------------------------
Index: stunnel4/doc/Makefile.am
===================================================================
--- stunnel4.orig/doc/Makefile.am
+++ stunnel4/doc/Makefile.am
@@ -13,7 +13,7 @@
 
 .pod.8:
 	pod2man --section=8 --release=4.08 --center=stunnel \
-		--date=`date +%Y.%m.%d` $< $@
+		--date=`date +%Y.%m.%d` -u $< $@
 
 stunnel.html: stunnel.pod
 	pod2html --infile=$< --outfile $@ --title stunnel.8
Index: stunnel4/doc/stunnel.pl.pod
===================================================================
--- stunnel4.orig/doc/stunnel.pl.pod
+++ stunnel4/doc/stunnel.pl.pod
@@ -1,3 +1,5 @@
+=encoding iso-8859-2
+
 =head1 NAZWA
 
 stunnel - uniwersalny tunel protoko�u SSL
----------------------------------------------------------------------



More information about the stunnel-users mailing list