Source-Changes-HG archive

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

[src/trunk]: src/external/bsd/bind add confgen programs



details:   https://anonhg.NetBSD.org/src/rev/b4210c02fb3b
branches:  trunk
changeset: 779193:b4210c02fb3b
user:      christos <christos%NetBSD.org@localhost>
date:      Wed May 09 21:59:10 2012 +0000

description:
add confgen programs

diffstat:

 external/bsd/bind/Makefile.inc                      |   6 +++---
 external/bsd/bind/bin/Makefile                      |   4 ++--
 external/bsd/bind/bin/Makefile.inc                  |   4 ++--
 external/bsd/bind/bin/confgen/Makefile              |   5 +++++
 external/bsd/bind/bin/confgen/Makefile.inc          |  17 +++++++++++++++++
 external/bsd/bind/bin/confgen/ddns-confgen/Makefile |   5 +++++
 external/bsd/bind/bin/confgen/rndc-confgen/Makefile |   5 +++++
 7 files changed, 39 insertions(+), 7 deletions(-)

diffs (89 lines):

diff -r 385d05c9bc94 -r b4210c02fb3b external/bsd/bind/Makefile.inc
--- a/external/bsd/bind/Makefile.inc    Wed May 09 16:21:06 2012 +0000
+++ b/external/bsd/bind/Makefile.inc    Wed May 09 21:59:10 2012 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: Makefile.inc,v 1.12 2011/06/20 07:43:57 mrg Exp $
+#      $NetBSD: Makefile.inc,v 1.13 2012/05/09 21:59:10 christos Exp $
 
 .if !defined(BIND9_MAKEFILE_INC)
 BIND9_MAKEFILE_INC=yes
@@ -108,7 +108,7 @@
 CPPFLAGS+=-I${IDIST}/lib/isc/nothreads/include
 .endif
 
-.if exists(${.CURDIR}/../../Makefile.inc)
-.include "${.CURDIR}/../../Makefile.inc"
+.if exists(${.PARSEDIR}/../Makefile.inc)
+.include "${.PARSEDIR}/../Makefile.inc"
 .endif
 .endif
diff -r 385d05c9bc94 -r b4210c02fb3b external/bsd/bind/bin/Makefile
--- a/external/bsd/bind/bin/Makefile    Wed May 09 16:21:06 2012 +0000
+++ b/external/bsd/bind/bin/Makefile    Wed May 09 21:59:10 2012 +0000
@@ -1,6 +1,6 @@
-#      $NetBSD: Makefile,v 1.3 2011/09/11 18:55:24 christos Exp $
+#      $NetBSD: Makefile,v 1.4 2012/05/09 21:59:10 christos Exp $
 
-SUBDIR= html dig host named nslookup nsupdate rndc dnssec check tools
+SUBDIR= html dig host named nslookup nsupdate rndc dnssec check tools confgen
 
 .include "Makefile.inc"
 
diff -r 385d05c9bc94 -r b4210c02fb3b external/bsd/bind/bin/Makefile.inc
--- a/external/bsd/bind/bin/Makefile.inc        Wed May 09 16:21:06 2012 +0000
+++ b/external/bsd/bind/bin/Makefile.inc        Wed May 09 21:59:10 2012 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: Makefile.inc,v 1.1 2009/04/12 03:46:04 christos Exp $
+#      $NetBSD: Makefile.inc,v 1.2 2012/05/09 21:59:10 christos Exp $
 
-.include "../Makefile.inc"
+.include "${.PARSEDIR}/../Makefile.inc"
 WARNS?=                2
diff -r 385d05c9bc94 -r b4210c02fb3b external/bsd/bind/bin/confgen/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/external/bsd/bind/bin/confgen/Makefile    Wed May 09 21:59:10 2012 +0000
@@ -0,0 +1,5 @@
+#      $NetBSD: Makefile,v 1.1 2012/05/09 21:59:10 christos Exp $
+
+SUBDIR= rndc-confgen ddns-confgen
+
+.include <bsd.subdir.mk>
diff -r 385d05c9bc94 -r b4210c02fb3b external/bsd/bind/bin/confgen/Makefile.inc
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/external/bsd/bind/bin/confgen/Makefile.inc        Wed May 09 21:59:10 2012 +0000
@@ -0,0 +1,17 @@
+#      $NetBSD: Makefile.inc,v 1.1 2012/05/09 21:59:10 christos Exp $
+
+PROG=  ${.CURDIR:T}
+SRCS=  ${PROG}.c keygen.c util.c os.c
+MAN=   ${PROG}.8
+BINDIR=        /usr/sbin
+
+.include "${.PARSEDIR}/../Makefile.inc"
+
+DIST=${IDIST}/bin/confgen
+
+CPPFLAGS+= -I${DIST}/include \
+        -DRNDC_CONFFILE=\"${SYSCONFDIR}/rndc.conf\" \
+       -DRNDC_KEYFILE=\"${SYSCONFDIR}/rndc.key\" \
+
+
+.PATH: ${DIST} ${DIST}/unix
diff -r 385d05c9bc94 -r b4210c02fb3b external/bsd/bind/bin/confgen/ddns-confgen/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/external/bsd/bind/bin/confgen/ddns-confgen/Makefile       Wed May 09 21:59:10 2012 +0000
@@ -0,0 +1,5 @@
+#      $NetBSD: Makefile,v 1.1 2012/05/09 21:59:10 christos Exp $
+
+.include "${.PARSEDIR}/../Makefile.inc"
+
+.include <bsd.prog.mk>
diff -r 385d05c9bc94 -r b4210c02fb3b external/bsd/bind/bin/confgen/rndc-confgen/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/external/bsd/bind/bin/confgen/rndc-confgen/Makefile       Wed May 09 21:59:10 2012 +0000
@@ -0,0 +1,5 @@
+#      $NetBSD: Makefile,v 1.1 2012/05/09 21:59:10 christos Exp $
+
+.include "${.PARSEDIR}/../Makefile.inc"
+
+.include <bsd.prog.mk>



Home | Main Index | Thread Index | Old Index