ports/92085: [PATCH] security/gnupg: install russian localised file in koi8-r

Andrey Slusar anray at FreeBSD.org
Sat Jan 21 01:50:08 UTC 2006


>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 at santinel.home.ua:/usr/obj/usr/src/sys/ANRAY i386
>Description:
	Maintainer(kuriyama at 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:



More information about the freebsd-ports-bugs mailing list