Bug 56392 - bento reports "share/nls/en_US.US-ASCII" and "share/nls/POSIX" as extra files
Summary: bento reports "share/nls/en_US.US-ASCII" and "share/nls/POSIX" as extra files
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: Port Management Team
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-09-04 05:00 UTC by Oliver Eikemeier
Modified: 2004-03-21 02:48 UTC (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Oliver Eikemeier 2003-09-04 05:00:31 UTC
A lot of ports have

================================================================
list of extra files and directories in /
usr/local/share/nls/POSIX extra
usr/local/share/nls/en_US.US-ASCII extra
================================================================

on bento.freebsd.org recently, but these are links created by bsd.port.mk
as a result of PR ports/53189:

http://www.freebsd.org/cgi/cvsweb.cgi/ports/Mk/bsd.port.mk.diff?r1=1.457&r2=1.458

cd ${PREFIX}/share/nls;
${LN} -sf C POSIX;
${LN} -sf C en_US.US-ASCII;

there are already ports that deal with the extra files in their pkg-plist (which they shouldn't):

editors/kile:
@unexec rmdir %D/share/nls/en_US.US-ASCII 2>/dev/null || true
@unexec rmdir %D/share/nls/POSIX 2>/dev/null || true

mail/mailscanner:
@dirrm share/nls/en_US.US-ASCII
@dirrm share/nls/POSIX

www/jakarta-jmeter:
share/nls/POSIX
share/nls/en_US.US-ASCII

www/jakarta-tomcat41:
@dirrm share/nls/en_US.US-ASCII
@dirrm share/nls/POSIX

www/jakarta-tomcat5:
@dirrm share/nls/en_US.US-ASCII
@dirrm share/nls/POSIX

Fix: 

correct the script on bento.freebsd.org?
How-To-Repeat: 
See for example
http://bento.freebsd.org/errorlogs/i386-4-full-logs/extras.html
Comment 1 Kirill Ponomarev freebsd_committer freebsd_triage 2003-09-04 06:19:53 UTC
Responsible Changed
From-To: freebsd-ports-bugs->portmgr

portmgr territory
Comment 2 Kimura Fuyuki 2003-10-02 03:14:55 UTC
It seems to be a bug introduced by ports/53189.

Index: bsd.port.mk
===================================================================
RCS file: /cvs/FreeBSD/ports/Mk/bsd.port.mk,v
retrieving revision 1.468
diff -u -r1.468 bsd.port.mk
--- bsd.port.mk	3 Sep 2003 19:50:24 -0000	1.468
+++ bsd.port.mk	2 Oct 2003 02:08:37 -0000
@@ -3171,8 +3184,8 @@
 			${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; \
+				${LN} -shf C POSIX; \
+				${LN} -shf C en_US.US-ASCII; \
 			fi; \
 		fi; \
 	else \
Comment 3 Kimura Fuyuki 2003-10-02 06:14:39 UTC
Oops, I misunderstood the subject. Just ignore it.
Comment 4 Kris Kennaway freebsd_committer freebsd_triage 2004-03-21 02:48:26 UTC
State Changed
From-To: open->closed

I have filtered this out of the extra reports (which are not 
currently being generated because the script is sitting in pieces 
on my floor :-)