Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 21 Jan 2006 03:45:50 +0200
From:      Andrey Slusar <anray@FreeBSD.org>
To:        FreeBSD-gnats-submit@FreeBSD.org
Cc:        kuriyama@FreeBSD.org
Subject:   ports/92085: [PATCH] security/gnupg: install russian localised file in koi8-r
Message-ID:  <E1F07p8-00084r-LW@santinel.home.ua>
Resent-Message-ID: <200601210150.k0L1o3pQ054312@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         92085
>Category:       ports
>Synopsis:       [PATCH] security/gnupg: install russian localised file in koi8-r
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Sat Jan 21 01:50:02 GMT 2006
>Closed-Date:
>Last-Modified:
>Originator:     Andrey Slusar
>Release:        FreeBSD 6.0-STABLE i386
>Organization:
Santinel
>Environment:
System: FreeBSD santinel.home.ua 6.0-STABLE FreeBSD 6.0-STABLE #0: Thu Jan 12 02:56:04 EET 2006 anray@santinel.home.ua:/usr/obj/usr/src/sys/ANRAY i386
>Description:
	Maintainer(kuriyama@FreeBSD.org) CC'ed.

	99% localised russian systems installed in koi8-r codepage, gnupg
	install localised messages in utf-8 codepage. This change is convert
	messages to koi8-r codepage.
>How-To-Repeat:
	
>Fix:

--- gnupg.diff begins here ---
Index: Makefile
===================================================================
RCS file: /home/pcvs/ports/security/gnupg/Makefile,v
retrieving revision 1.81
diff -u -r1.81 Makefile
--- Makefile	16 Dec 2005 02:16:11 -0000	1.81
+++ Makefile	21 Jan 2006 01:28:38 -0000
@@ -49,6 +49,12 @@
 CONFIGURE_ARGS+=	--disable-ldap
 .endif
 
+.if !defined(WITHOUT_NLS)
+pre-install:
+	${MV} ${WRKSRC}/po/ru.po ${WRKSRC}/po/ru.po.utf-8
+	${LOCALBASE}/bin/msgconv -t koi8-r ${WRKSRC}/po/ru.po.utf-8 >${WRKSRC}/po/ru.po
+.endif
+
 post-install:
 .if !defined(NOPORTDOCS)
 	${MKDIR} ${DOCSDIR}
--- gnupg.diff ends here ---


>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?E1F07p8-00084r-LW>