svn commit: r255841 - in head/etc: . mtree

Dag-Erling Smørgrav des at FreeBSD.org
Tue Sep 24 10:04:52 UTC 2013


Author: des
Date: Tue Sep 24 10:04:51 2013
New Revision: 255841
URL: http://svnweb.freebsd.org/changeset/base/255841

Log:
  Replace the unused /etc/unbound directory with a symlink to /var/unbound.
  
  Approved by:	re (blanket)

Modified:
  head/etc/Makefile
  head/etc/mtree/BSD.root.dist

Modified: head/etc/Makefile
==============================================================================
--- head/etc/Makefile	Tue Sep 24 09:56:58 2013	(r255840)
+++ head/etc/Makefile	Tue Sep 24 10:04:51 2013	(r255841)
@@ -250,6 +250,11 @@ distribution:
 .if ${MK_BIND_ETC} != "no"
 	${_+_}cd ${.CURDIR}/namedb; ${MAKE} install
 .endif
+.if ${MK_UNBOUND} != "no"
+	if [ ! -e ${DESTDIR}/etc/unbound ]; then \
+		${INSTALL_SYMLINK} ../var/unbound ${DESTDIR}/etc/unbound; \
+	fi
+.endif
 .if ${MK_SENDMAIL} != "no"
 	${_+_}cd ${.CURDIR}/sendmail; ${MAKE} distribution
 .endif

Modified: head/etc/mtree/BSD.root.dist
==============================================================================
--- head/etc/mtree/BSD.root.dist	Tue Sep 24 09:56:58 2013	(r255840)
+++ head/etc/mtree/BSD.root.dist	Tue Sep 24 10:04:51 2013	(r255841)
@@ -66,8 +66,6 @@
         ..
         ssl
         ..
-        unbound
-        ..
         zfs
         ..
     ..


More information about the svn-src-head mailing list