Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 27 Sep 2013 05:14:08 -0500 (CDT)
From:      Brooks Davis <brooks@freebsd.org>
To:        FreeBSD-gnats-submit@freebsd.org
Subject:   ports/182438: exprun: switch mtree to nmtree
Message-ID:  <201309271014.r8RAE8eU098791@lor.one-eyed-alien.net>
Resent-Message-ID: <201309271020.r8RAK0GP037878@freefall.freebsd.org>

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

>Number:         182438
>Category:       ports
>Synopsis:       exprun: switch mtree to nmtree
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Fri Sep 27 10:20:00 UTC 2013
>Closed-Date:
>Last-Modified:
>Originator:     Brooks Davis
>Release:        FreeBSD 8.4-RELEASE amd64
>Organization:
>Environment:
System: FreeBSD lor.one-eyed-alien.net 8.4-RELEASE FreeBSD 8.4-RELEASE #0 r251259: Sun Jun 2 21:26:57 UTC 2013 root@bake.isc.freebsd.org:/usr/obj/usr/src/sys/GENERIC amd64


	
>Description:

I'm planning to switch the default mtree from fmtree to nmtree in 10.
Please do an exp run to verify that the following change does not break
ports.  After talking to bapt I belive it shouldn't be a problem unless
some port uses mtree directly for some odd reason.  When installed over
an exist system the functional portion of the change is:

rm /usr/sbin/mtree; ln /usr/sbin/nmtree /usr/sbin/mtree


Index: UPDATING
===================================================================
--- UPDATING	(revision 255877)
+++ UPDATING	(working copy)
@@ -31,6 +31,12 @@
 	disable the most expensive debugging functionality run
 	"ln -s 'abort:false,junk:false' /etc/malloc.conf".)
 
+20130927:
+	The default version of mtree is nmtree which is obtained from
+	NetBSD.  The output is generally the same, but may vary
+	slightly.  If you found you need identical output adding
+	"-F freebsd9" to the command line should do the trick.
+
 20130916:
 	With the addition of unbound(8), a new unbound user is now
 	required during installworld.  "mergemaster -p" can be used to
Index: share/man/man5/src.conf.5
===================================================================
--- share/man/man5/src.conf.5	(revision 255877)
+++ share/man/man5/src.conf.5	(working copy)
@@ -848,14 +848,14 @@
 .\" from FreeBSD: head/tools/build/options/WITHOUT_NLS_CATALOGS 156932 2006-03-21 07:50:50Z ru
 Set to not build NLS catalog support for
 .Xr csh 1 .
-.It Va WITH_NMTREE
-.\" from FreeBSD: head/tools/build/options/WITH_NMTREE 245435 2013-01-14 20:38:32Z brooks
+.It Va WITHOUT_NMTREE
+.\" $FreeBSD$
 Set to install
-.Xr nmtree 8
+.Xr fmtree 8
 as
 .Xr mtree 8 .
 By default
-.Xr fmtree 8
+.Xr nmtree 8
 is installed as
 .Xr mtree 8 .
 .It Va WITHOUT_NS_CACHING
Index: share/mk/bsd.own.mk
===================================================================
--- share/mk/bsd.own.mk	(revision 255877)
+++ share/mk/bsd.own.mk	(working copy)
@@ -326,6 +326,7 @@
     NIS \
     NLS \
     NLS_CATALOGS \
+    NMTREE \
     NS_CACHING \
     NTP \
     OPENSSH \
@@ -382,7 +383,6 @@
     LIBICONV_COMPAT \
     INSTALL_AS_USER \
     LLDB \
-    NMTREE \
     NAND \
     OFED \
     OPENSSH_NONE_CIPHER \


>How-To-Repeat:
	
>Fix:

	


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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201309271014.r8RAE8eU098791>