From ache@pobrecita.freebsd.ru  Wed Jun 11 00:32:20 2003
Return-Path: <ache@pobrecita.freebsd.ru>
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id C38E237B405
	for <FreeBSD-gnats-submit@freebsd.org>; Wed, 11 Jun 2003 00:32:20 -0700 (PDT)
Received: from nagual.pp.ru (pobrecita.freebsd.ru [194.87.13.42])
	by mx1.FreeBSD.org (Postfix) with ESMTP id B73EB43FA3
	for <FreeBSD-gnats-submit@freebsd.org>; Wed, 11 Jun 2003 00:32:19 -0700 (PDT)
	(envelope-from ache@pobrecita.freebsd.ru)
Received: from pobrecita.freebsd.ru (ache@localhost [127.0.0.1])
	by nagual.pp.ru (8.12.9/8.12.9) with ESMTP id h5B7WI5h075047
	for <FreeBSD-gnats-submit@freebsd.org>; Wed, 11 Jun 2003 11:32:18 +0400 (MSD)
	(envelope-from ache@pobrecita.freebsd.ru)
Received: (from ache@localhost)
	by pobrecita.freebsd.ru (8.12.9/8.12.9/Submit) id h5B7WILk075046;
	Wed, 11 Jun 2003 11:32:18 +0400 (MSD)
Message-Id: <200306110732.h5B7WILk075046@pobrecita.freebsd.ru>
Date: Wed, 11 Jun 2003 11:32:18 +0400 (MSD)
From: "Andrey A. Chernov" <ache@nagual.pp.ru>
Reply-To: "Andrey A. Chernov" <ache@nagual.pp.ru>
To: FreeBSD-gnats-submit@freebsd.org
Cc:
Subject: No symlinks for POSIX and en_US.US-ASCII created by standard /usr/local mtreeing
X-Send-Pr-Version: 3.113
X-GNATS-Notify:

>Number:         53189
>Category:       ports
>Synopsis:       No symlinks for POSIX and en_US.US-ASCII created by standard /usr/local mtreeing
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    portmgr
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Wed Jun 11 00:40:08 PDT 2003
>Closed-Date:    Sat Jul 26 19:07:52 PDT 2003
>Last-Modified:  Sat Jul 26 19:07:52 PDT 2003
>Originator:     Andrey A. Chernov
>Release:        FreeBSD 5.1-BETA i386
>Organization:
>Environment:
System: FreeBSD pobrecita.freebsd.ru 5.1-BETA FreeBSD 5.1-BETA #0: Sun Jun 1 21:22:53 MSD 2003 ache@pobrecita.freebsd.ru:/usr/src/sys/i386/compile/POBRECITA i386


>Description:
Port may install its default nls into C directory, but POSIX and
en_US.US-ASCII, which are valiad aliases, not understanded.
>How-To-Repeat:
Set LANG to POSIX or en_US.US-ASCII and use port which installs
default nls.
>Fix:
--- bsd.port.mk.orig	Tue May 27 22:17:52 2003
+++ bsd.port.mk	Wed Jun 11 10:48:24 2003
@@ -2952,6 +2952,11 @@
 			exit 1; \
 		else \
 			${MTREE_CMD} ${MTREE_ARGS} ${PREFIX}/ >/dev/null; \
+			if [ ${MTREE_FILE} = "/etc/mtree/BSD.local.dist" ]; then \
+				cd ${PREFIX}/share/nls; \
+				${LN} -sf C POSIX; \
+				${LN} -sf C en_US.US-ASCII; \
+			fi; \
 		fi; \
 	else \
 		${ECHO_MSG} "Warning: not superuser, can't run mtree."; \


>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->analyzed 
State-Changed-By: kris 
State-Changed-When: Wed Jul 23 04:44:47 PDT 2003 
State-Changed-Why:  
Currently being tested on bento 


Responsible-Changed-From-To: freebsd-ports-bugs->portmgr 
Responsible-Changed-By: kris 
Responsible-Changed-When: Wed Jul 23 04:44:47 PDT 2003 
Responsible-Changed-Why:  
portmgr territory 

http://www.freebsd.org/cgi/query-pr.cgi?pr=53189 
State-Changed-From-To: analyzed->closed 
State-Changed-By: kris 
State-Changed-When: Sat Jul 26 19:07:43 PDT 2003 
State-Changed-Why:  
Patch committed, thanks! 

http://www.freebsd.org/cgi/query-pr.cgi?pr=53189 
>Unformatted:
