Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src Hook openresolv into build.



details:   https://anonhg.NetBSD.org/src/rev/f16669dd9268
branches:  trunk
changeset: 749188:f16669dd9268
user:      roy <roy%NetBSD.org@localhost>
date:      Sat Nov 21 03:24:30 2009 +0000

description:
Hook openresolv into build.

diffstat:

 distrib/sets/lists/base/mi                       |   8 +++++-
 distrib/sets/lists/man/mi                        |   8 +++++-
 etc/mtree/NetBSD.dist.base                       |   3 +-
 external/bsd/Makefile                            |   4 +-
 external/bsd/openresolv/Makefile                 |   5 +++
 external/bsd/openresolv/sbin/Makefile            |   5 +++
 external/bsd/openresolv/sbin/Makefile.inc        |   5 +++
 external/bsd/openresolv/sbin/resolvconf/Makefile |  32 ++++++++++++++++++++++++
 8 files changed, 65 insertions(+), 5 deletions(-)

diffs (181 lines):

diff -r 2ee5f4e5989e -r f16669dd9268 distrib/sets/lists/base/mi
--- a/distrib/sets/lists/base/mi        Sat Nov 21 03:11:00 2009 +0000
+++ b/distrib/sets/lists/base/mi        Sat Nov 21 03:24:30 2009 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: mi,v 1.842 2009/11/14 01:56:21 tnozaki Exp $
+# $NetBSD: mi,v 1.843 2009/11/21 03:24:30 roy Exp $
 #
 # Note:        Don't delete entries from here - mark them as "obsolete" instead,
 #      unless otherwise stated below.
@@ -171,6 +171,11 @@
 ./libexec/dhcpcd-hooks/30-hostname             base-dhcpcd-root
 ./libexec/dhcpcd-hooks/50-ntp.conf             base-dhcpcd-root
 ./libexec/dhcpcd-run-hooks                     base-dhcpcd-root
+./libexec/resolvconf                           base-resolvconf-root
+./libexec/resolvconf/libc                      base-resolvconf-root
+./libexec/resolvconf/dnsmasq                   base-resolvconf-root
+./libexec/resolvconf/named                     base-resolvconf-root
+./libexec/resolvconf/unbound                   base-resolvconf-root
 ./libexec/lfs_cleanerd                         base-sysutil-bin
 ./mnt                                          base-sys-root
 ./rescue                                       base-sys-root
@@ -275,6 +280,7 @@
 ./sbin/rdump                                   base-sysutil-root
 ./sbin/rdump_lfs                               base-sysutil-root
 ./sbin/reboot                                  base-sysutil-root
+./sbin/resolvconf                              base-resolvconf-root
 ./sbin/resize_lfs                              base-sysutil-root
 ./sbin/restore                                 base-sysutil-root
 ./sbin/rndctl                                  base-sysutil-root
diff -r 2ee5f4e5989e -r f16669dd9268 distrib/sets/lists/man/mi
--- a/distrib/sets/lists/man/mi Sat Nov 21 03:11:00 2009 +0000
+++ b/distrib/sets/lists/man/mi Sat Nov 21 03:24:30 2009 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: mi,v 1.1174 2009/11/13 09:51:13 mishka Exp $
+# $NetBSD: mi,v 1.1175 2009/11/21 03:24:30 roy Exp $
 #
 # Note: don't delete entries from here - mark them as "obsolete" instead.
 #
@@ -1850,6 +1850,7 @@
 ./usr/share/man/cat5/relocated.0               man-postfix-catman      postfix,.cat
 ./usr/share/man/cat5/remote.0                  man-sys-catman          .cat
 ./usr/share/man/cat5/resolv.conf.0             man-net-catman          .cat
+./usr/share/man/cat5/resolvconf.conf.0         man-resolvconf-catman           .cat
 ./usr/share/man/cat5/rhosts.0                  man-netutil-catman      .cat
 ./usr/share/man/cat5/rndc.conf.0               man-bind-catman         .cat
 ./usr/share/man/cat5/route.conf.0              man-sys-catman          .cat
@@ -2495,6 +2496,7 @@
 ./usr/share/man/cat8/repquota.0                        man-sysutil-catman      .cat
 ./usr/share/man/cat8/rescue.0                  man-sysutil-catman      .cat
 ./usr/share/man/cat8/resize_lfs.0              man-sysutil-catman      .cat
+./usr/share/man/cat8/resolvconf.0              man-resolvconf-catman   .cat
 ./usr/share/man/cat8/restore.0                 man-sysutil-catman      .cat
 ./usr/share/man/cat8/revnetgroup.0             man-nis-catman          yp,.cat
 ./usr/share/man/cat8/revoke.0                  man-sysutil-catman      .cat
@@ -4386,6 +4388,7 @@
 ./usr/share/man/html5/relocated.html           man-postfix-htmlman     postfix,html
 ./usr/share/man/html5/remote.html              man-sys-htmlman         html
 ./usr/share/man/html5/resolv.conf.html         man-net-htmlman         html
+./usr/share/man/html5/resolvconf.conf.html     man-resolvconf-htmlman          html
 ./usr/share/man/html5/rhosts.html              man-netutil-htmlman     html
 ./usr/share/man/html5/rndc.conf.html           man-bind-htmlman        html
 ./usr/share/man/html5/route.conf.html          man-sys-htmlman         html
@@ -4875,6 +4878,7 @@
 ./usr/share/man/html8/repquota.html            man-sysutil-htmlman     html
 ./usr/share/man/html8/rescue.html              man-sysutil-htmlman     html
 ./usr/share/man/html8/resize_lfs.html          man-sysutil-htmlman     html
+./usr/share/man/html8/resolvconf.html          man-resolvconf-htmlman  html
 ./usr/share/man/html8/restore.html             man-sysutil-htmlman     html
 ./usr/share/man/html8/revnetgroup.html         man-nis-htmlman         yp,html
 ./usr/share/man/html8/revoke.html              man-sysutil-htmlman     html
@@ -6886,6 +6890,7 @@
 ./usr/share/man/man5/relocated.5               man-postfix-man         postfix,.man
 ./usr/share/man/man5/remote.5                  man-sys-man             .man
 ./usr/share/man/man5/resolv.conf.5             man-net-man             .man
+./usr/share/man/man5/resolvconf.conf.5         man-resolvconf-man      .man
 ./usr/share/man/man5/rhosts.5                  man-netutil-man         .man
 ./usr/share/man/man5/rndc.conf.5               man-bind-man            .man
 ./usr/share/man/man5/route.conf.5              man-sys-man             .man
@@ -7531,6 +7536,7 @@
 ./usr/share/man/man8/repquota.8                        man-sysutil-man         .man
 ./usr/share/man/man8/rescue.8                  man-sysutil-man         .man
 ./usr/share/man/man8/resize_lfs.8              man-sysutil-man         .man
+./usr/share/man/man8/resolvconf.8              man-resolvconf-man      .man
 ./usr/share/man/man8/restore.8                 man-sysutil-man         .man
 ./usr/share/man/man8/revnetgroup.8             man-nis-man             yp,.man
 ./usr/share/man/man8/revoke.8                  man-sysutil-man         .man
diff -r 2ee5f4e5989e -r f16669dd9268 etc/mtree/NetBSD.dist.base
--- a/etc/mtree/NetBSD.dist.base        Sat Nov 21 03:11:00 2009 +0000
+++ b/etc/mtree/NetBSD.dist.base        Sat Nov 21 03:24:30 2009 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: NetBSD.dist.base,v 1.5 2009/11/02 10:15:45 plunky Exp $
+#      $NetBSD: NetBSD.dist.base,v 1.6 2009/11/21 03:24:30 roy Exp $
 #      @(#)4.4BSD.dist 8.1 (Berkeley) 6/13/93
 
 # Do not customize this file as it may be overwritten on upgrades.
@@ -67,6 +67,7 @@
 ./libdata/firmware/zyd
 ./libexec
 ./libexec/dhcpcd-hooks
+./libexec/resolvconf
 ./mnt
 ./rescue
 ./root
diff -r 2ee5f4e5989e -r f16669dd9268 external/bsd/Makefile
--- a/external/bsd/Makefile     Sat Nov 21 03:11:00 2009 +0000
+++ b/external/bsd/Makefile     Sat Nov 21 03:24:30 2009 +0000
@@ -1,9 +1,9 @@
-#      $NetBSD: Makefile,v 1.19 2009/11/02 10:13:19 plunky Exp $
+#      $NetBSD: Makefile,v 1.20 2009/11/21 03:24:30 roy Exp $
 
 .include <bsd.own.mk>
 
 SUBDIR+= am-utils bind dhcpcd fetch file flex libarchive libevent \
-       mdocml pkg_install top byacc
+       mdocml openresolv pkg_install top byacc
 
 .if (${MKATF} != "no")
 SUBDIR+= atf
diff -r 2ee5f4e5989e -r f16669dd9268 external/bsd/openresolv/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/external/bsd/openresolv/Makefile  Sat Nov 21 03:24:30 2009 +0000
@@ -0,0 +1,5 @@
+#      $NetBSD: Makefile,v 1.1 2009/11/21 03:24:30 roy Exp $
+
+SUBDIR=                sbin
+
+.include <bsd.subdir.mk>
diff -r 2ee5f4e5989e -r f16669dd9268 external/bsd/openresolv/sbin/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/external/bsd/openresolv/sbin/Makefile     Sat Nov 21 03:24:30 2009 +0000
@@ -0,0 +1,5 @@
+#      $NetBSD: Makefile,v 1.1 2009/11/21 03:24:31 roy Exp $
+
+SUBDIR=                resolvconf
+
+.include <bsd.subdir.mk>
diff -r 2ee5f4e5989e -r f16669dd9268 external/bsd/openresolv/sbin/Makefile.inc
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/external/bsd/openresolv/sbin/Makefile.inc Sat Nov 21 03:24:30 2009 +0000
@@ -0,0 +1,5 @@
+# $NetBSD: Makefile.inc,v 1.1 2009/11/21 03:24:31 roy Exp $
+
+.include <bsd.own.mk>
+
+BINDIR=                /sbin
diff -r 2ee5f4e5989e -r f16669dd9268 external/bsd/openresolv/sbin/resolvconf/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/external/bsd/openresolv/sbin/resolvconf/Makefile  Sat Nov 21 03:24:30 2009 +0000
@@ -0,0 +1,32 @@
+# $NetBSD: Makefile,v 1.1 2009/11/21 03:24:31 roy Exp $
+#
+
+.include <bsd.own.mk>
+
+DIST=          ${NETBSDSRCDIR}/external/bsd/openresolv/dist
+.PATH:         ${DIST} 
+
+SCRIPTS=       resolvconf
+SCRIPTS+=      libc dnsmasq named unbound
+
+SCRIPTSDIR_resolvconf= /sbin
+SCRIPTSDIR=    /libexec/resolvconf
+
+MAN=           resolvconf.conf.5 resolvconf.8
+
+CLEANFILES=    ${SCRIPTS} ${MAN}
+
+CMD1=          \\1 status >/dev/null 2>\\&1
+CMD2=          \\1 restart
+RESTART_CMD=   /etc/rc.d/${CMD1} \\&\\& /etc/rc.d/${CMD2}
+.for f in ${SCRIPTS} ${MAN}
+${f}:  ${f}.in
+       ${TOOL_SED} -e 's:@PREFIX@::g' \
+               -e 's:@SYSCONFDIR@:/etc:g' \
+               -e 's:@LIBEXECDIR@:/libexec/resolvconf:g' \
+               -e 's:@VARDIR@:/var/run/resolvconf:g' \
+               -e 's:@RESTARTCMD \(.*\)@:${RESARTCMD}:g' \
+               ${DIST}/${f}.in > $@
+.endfor
+
+.include <bsd.prog.mk>



Home | Main Index | Thread Index | Old Index