Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 21 Dec 2012 21:00:01 +0000 (UTC)
From:      Brooks Davis <brooks@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r244562 - in head: contrib/mknod contrib/mtree usr.sbin usr.sbin/nmtree
Message-ID:  <201212212100.qBLL01qt037156@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: brooks
Date: Fri Dec 21 21:00:00 2012
New Revision: 244562
URL: http://svnweb.freebsd.org/changeset/base/244562

Log:
  Add NetBSD's mtree to the tree and install it as nmtree as the first step
  towards replacing our mtree.
  
  Sponsored by:	DARPA, AFRL
  Thanks to:	cristos@NetBSD for reviewing and committing my patches
  		wiz@NetBSD for fixing typos in my patches

Added:
  head/contrib/mknod/
     - copied from r244548, vendor/NetBSD/mknod/dist/
  head/contrib/mtree/
     - copied from r244548, vendor/NetBSD/mtree/dist/
  head/usr.sbin/nmtree/
  head/usr.sbin/nmtree/Makefile   (contents, props changed)
Modified:
  head/usr.sbin/Makefile

Modified: head/usr.sbin/Makefile
==============================================================================
--- head/usr.sbin/Makefile	Fri Dec 21 20:50:47 2012	(r244561)
+++ head/usr.sbin/Makefile	Fri Dec 21 21:00:00 2012	(r244562)
@@ -55,6 +55,7 @@ SUBDIR=	adduser \
 	nfsdumpstate \
 	nfsrevoke \
 	nfsuserd \
+	nmtree \
 	nologin \
 	pc-sysinstall \
 	pciconf \

Added: head/usr.sbin/nmtree/Makefile
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/usr.sbin/nmtree/Makefile	Fri Dec 21 21:00:00 2012	(r244562)
@@ -0,0 +1,26 @@
+#	$FreeBSD$
+
+.include <bsd.own.mk>
+
+.PATH: ${.CURDIR}/../../contrib/mtree
+
+PROG=		nmtree
+MAN=		nmtree.8
+SRCS=		compare.c crc.c create.c excludes.c getid.c misc.c mtree.c \
+		spec.c specspec.c verify.c
+LDADD+=		-lmd -lutil
+
+CFLAGS+=	-I${.CURDIR}/../../contrib/mknod
+.PATH:		${.CURDIR}/../../contrib/mknod
+SRCS+=		pack_dev.c
+
+CFLAGS+=	-I${.CURDIR}/../../lib/libnetbsd
+LIBNETBSDDIR=	${.OBJDIR}/../../lib/libnetbsd
+LIBNETBSD=	${LIBNETBSDDIR}/libnetbsd.a
+DPADD+=		{LIBNETBSD}
+LDADD+=		${LIBNETBSD}
+
+nmtree.8: mtree.8
+	cp ${.ALLSRC} ${.TARGET}
+
+.include <bsd.prog.mk>



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