Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/external/bsd moved dhcp to mpl
details: https://anonhg.NetBSD.org/src/rev/dfab19fa09f6
branches: trunk
changeset: 360966:dfab19fa09f6
user: christos <christos%NetBSD.org@localhost>
date: Sat Apr 07 22:39:53 2018 +0000
description:
moved dhcp to mpl
diffstat:
external/bsd/Makefile | 4 +-
external/bsd/dhcp/Makefile | 5 -
external/bsd/dhcp/Makefile.inc | 53 -
external/bsd/dhcp/bin/Makefile | 5 -
external/bsd/dhcp/bin/Makefile.inc | 2 -
external/bsd/dhcp/bin/client/Makefile | 17 -
external/bsd/dhcp/bin/clientscript/Makefile | 8 -
external/bsd/dhcp/bin/clientscript/dhclient-script | 282 -
external/bsd/dhcp/bin/omshell/Makefile | 16 -
external/bsd/dhcp/bin/relay/Makefile | 9 -
external/bsd/dhcp/bin/server/Makefile | 20 -
external/bsd/dhcp/bin/server/dhcpd.conf | 104 -
external/bsd/dhcp/dhcp2netbsd | 102 -
external/bsd/dhcp/dist/LICENSE | 385 -
external/bsd/dhcp/dist/Makefile.am | 59 -
external/bsd/dhcp/dist/Makefile.in | 893 -
external/bsd/dhcp/dist/README | 725 -
external/bsd/dhcp/dist/RELNOTES | 5060 -----
external/bsd/dhcp/dist/aclocal.m4 | 1225 -
external/bsd/dhcp/dist/bind/Makefile.in | 120 -
external/bsd/dhcp/dist/bind/bind.tar.gz | Bin
external/bsd/dhcp/dist/bind/version.tmp | 11 -
external/bsd/dhcp/dist/client/Makefile.am | 22 -
external/bsd/dhcp/dist/client/Makefile.in | 885 -
external/bsd/dhcp/dist/client/client_tables.c | 87 -
external/bsd/dhcp/dist/client/clparse.c | 2360 --
external/bsd/dhcp/dist/client/dhc6.c | 6141 ------
external/bsd/dhcp/dist/client/dhclient-script.8 | 235 -
external/bsd/dhcp/dist/client/dhclient.8 | 616 -
external/bsd/dhcp/dist/client/dhclient.c | 5692 ------
external/bsd/dhcp/dist/client/dhclient.conf.5 | 788 -
external/bsd/dhcp/dist/client/dhclient.conf.example | 36 -
external/bsd/dhcp/dist/client/dhclient.leases.5 | 52 -
external/bsd/dhcp/dist/client/scripts/bsdos | 324 -
external/bsd/dhcp/dist/client/scripts/freebsd | 474 -
external/bsd/dhcp/dist/client/scripts/linux | 488 -
external/bsd/dhcp/dist/client/scripts/macos | 288 -
external/bsd/dhcp/dist/client/scripts/netbsd | 405 -
external/bsd/dhcp/dist/client/scripts/nextstep | 61 -
external/bsd/dhcp/dist/client/scripts/openbsd | 403 -
external/bsd/dhcp/dist/client/scripts/openwrt | 285 -
external/bsd/dhcp/dist/client/scripts/solaris | 203 -
external/bsd/dhcp/dist/client/tests/Atffile | 5 -
external/bsd/dhcp/dist/client/tests/Kyuafile | 4 -
external/bsd/dhcp/dist/client/tests/Makefile.am | 58 -
external/bsd/dhcp/dist/client/tests/Makefile.in | 770 -
external/bsd/dhcp/dist/client/tests/duid0_test.txt | 33 -
external/bsd/dhcp/dist/client/tests/duid1_test.txt | 3 -
external/bsd/dhcp/dist/client/tests/duid2_test.txt | 66 -
external/bsd/dhcp/dist/client/tests/duid3_test.txt | 66 -
external/bsd/dhcp/dist/client/tests/duid_unittest.c | 141 -
external/bsd/dhcp/dist/common/Makefile.am | 17 -
external/bsd/dhcp/dist/common/Makefile.am.in | 17 -
external/bsd/dhcp/dist/common/Makefile.in | 841 -
external/bsd/dhcp/dist/common/alloc.c | 1412 -
external/bsd/dhcp/dist/common/bpf.c | 706 -
external/bsd/dhcp/dist/common/comapi.c | 913 -
external/bsd/dhcp/dist/common/conflex.c | 1575 -
external/bsd/dhcp/dist/common/ctrace.c | 303 -
external/bsd/dhcp/dist/common/dhcp-eval.5 | 586 -
external/bsd/dhcp/dist/common/dhcp-options.5 | 2543 --
external/bsd/dhcp/dist/common/dhcp4o6.c | 121 -
external/bsd/dhcp/dist/common/discover.c | 1585 -
external/bsd/dhcp/dist/common/dispatch.c | 453 -
external/bsd/dhcp/dist/common/dlpi.c | 1432 -
external/bsd/dhcp/dist/common/dns.c | 3169 ---
external/bsd/dhcp/dist/common/ethernet.c | 92 -
external/bsd/dhcp/dist/common/execute.c | 1195 -
external/bsd/dhcp/dist/common/fddi.c | 91 -
external/bsd/dhcp/dist/common/icmp.c | 304 -
external/bsd/dhcp/dist/common/inet.c | 669 -
external/bsd/dhcp/dist/common/lpf.c | 578 -
external/bsd/dhcp/dist/common/memory.c | 153 -
external/bsd/dhcp/dist/common/nit.c | 425 -
external/bsd/dhcp/dist/common/ns_name.c | 799 -
external/bsd/dhcp/dist/common/options.c | 4532 -----
external/bsd/dhcp/dist/common/packet.c | 409 -
external/bsd/dhcp/dist/common/parse.c | 5704 ------
external/bsd/dhcp/dist/common/print.c | 1485 -
external/bsd/dhcp/dist/common/raw.c | 138 -
external/bsd/dhcp/dist/common/resolv.c | 193 -
external/bsd/dhcp/dist/common/socket.c | 1314 -
external/bsd/dhcp/dist/common/tables.c | 1556 -
external/bsd/dhcp/dist/common/tests/Atffile | 5 -
external/bsd/dhcp/dist/common/tests/Kyuafile | 8 -
external/bsd/dhcp/dist/common/tests/Makefile.am | 68 -
external/bsd/dhcp/dist/common/tests/Makefile.in | 806 -
external/bsd/dhcp/dist/common/tests/dns_unittest.c | 195 -
external/bsd/dhcp/dist/common/tests/misc_unittest.c | 232 -
external/bsd/dhcp/dist/common/tests/ns_name_test.c | 175 -
external/bsd/dhcp/dist/common/tests/option_unittest.c | 144 -
external/bsd/dhcp/dist/common/tests/test_alloc.c | 662 -
external/bsd/dhcp/dist/common/tr.c | 335 -
external/bsd/dhcp/dist/common/tree.c | 4278 ----
external/bsd/dhcp/dist/common/upf.c | 375 -
external/bsd/dhcp/dist/compile | 347 -
external/bsd/dhcp/dist/config+lt | 26 -
external/bsd/dhcp/dist/config.guess | 1462 -
external/bsd/dhcp/dist/config.sub | 1828 --
external/bsd/dhcp/dist/configure | 9063 ----------
external/bsd/dhcp/dist/configure.ac | 1078 -
external/bsd/dhcp/dist/configure.ac+lt | 1083 -
external/bsd/dhcp/dist/contrib/3.0b1-lease-convert | 126 -
external/bsd/dhcp/dist/contrib/dhclient-tz-exithook.sh | 179 -
external/bsd/dhcp/dist/contrib/dhcp-lease-list.pl | 218 -
external/bsd/dhcp/dist/contrib/dhcp.spec | 157 -
external/bsd/dhcp/dist/contrib/ldap/README.ldap | 232 -
external/bsd/dhcp/dist/contrib/ldap/dhcp.schema | 488 -
external/bsd/dhcp/dist/contrib/ldap/dhcpd-conf-to-ldap | 800 -
external/bsd/dhcp/dist/contrib/ms2isc/Registry.pm | 361 -
external/bsd/dhcp/dist/contrib/ms2isc/ms2isc.pl | 634 -
external/bsd/dhcp/dist/contrib/ms2isc/readme.txt | 15 -
external/bsd/dhcp/dist/contrib/sethostname.sh | 29 -
external/bsd/dhcp/dist/contrib/solaris.init | 28 -
external/bsd/dhcp/dist/depcomp | 791 -
external/bsd/dhcp/dist/dhcpctl/Makefile.am | 26 -
external/bsd/dhcp/dist/dhcpctl/Makefile.am.in | 26 -
external/bsd/dhcp/dist/dhcpctl/Makefile.in | 813 -
external/bsd/dhcp/dist/dhcpctl/callback.c | 167 -
external/bsd/dhcp/dist/dhcpctl/cltest.c | 241 -
external/bsd/dhcp/dist/dhcpctl/dhcpctl.3 | 497 -
external/bsd/dhcp/dist/dhcpctl/dhcpctl.c | 591 -
external/bsd/dhcp/dist/dhcpctl/dhcpctl.h | 121 -
external/bsd/dhcp/dist/dhcpctl/omshell.1 | 346 -
external/bsd/dhcp/dist/dhcpctl/omshell.c | 808 -
external/bsd/dhcp/dist/dhcpctl/remote.c | 360 -
external/bsd/dhcp/dist/doc/BIND-libraries | 170 -
external/bsd/dhcp/dist/doc/DHCPv4-over-DHCPv6 | 228 -
external/bsd/dhcp/dist/doc/IANA-arp-parameters | 145 -
external/bsd/dhcp/dist/doc/Makefile | 44 -
external/bsd/dhcp/dist/doc/References.html | 1036 -
external/bsd/dhcp/dist/doc/References.txt | 1175 -
external/bsd/dhcp/dist/doc/References.xml | 795 -
external/bsd/dhcp/dist/doc/api+protocol | 436 -
external/bsd/dhcp/dist/doc/devel/arch.dox | 11 -
external/bsd/dhcp/dist/doc/devel/atf.dox | 235 -
external/bsd/dhcp/dist/doc/devel/contrib.dox | 12 -
external/bsd/dhcp/dist/doc/devel/debug.dox | 33 -
external/bsd/dhcp/dist/doc/devel/doxyfile.in | 1792 -
external/bsd/dhcp/dist/doc/devel/isc-logo.jpg | Bin
external/bsd/dhcp/dist/doc/devel/libtool.dox | 77 -
external/bsd/dhcp/dist/doc/devel/mainpage.dox | 44 -
external/bsd/dhcp/dist/doc/devel/omapi.dox | 15 -
external/bsd/dhcp/dist/doc/devel/qa.dox | 93 -
external/bsd/dhcp/dist/doc/examples/dhclient-dhcpv6.conf | 11 -
external/bsd/dhcp/dist/doc/examples/dhcpd-dhcpv6.conf | 106 -
external/bsd/dhcp/dist/doc/ja_JP.eucJP/dhclient-script.8 | 237 -
external/bsd/dhcp/dist/doc/ja_JP.eucJP/dhclient.8 | 367 -
external/bsd/dhcp/dist/doc/ja_JP.eucJP/dhclient.conf.5 | 620 -
external/bsd/dhcp/dist/doc/ja_JP.eucJP/dhclient.leases.5 | 57 -
external/bsd/dhcp/dist/doc/ja_JP.eucJP/dhcp-eval.5 | 484 -
external/bsd/dhcp/dist/doc/ja_JP.eucJP/dhcp-options.5 | 1576 -
external/bsd/dhcp/dist/includes/Makefile.am | 11 -
external/bsd/dhcp/dist/includes/Makefile.in | 584 -
external/bsd/dhcp/dist/includes/arpa/nameser.h | 437 -
external/bsd/dhcp/dist/includes/arpa/nameser_compat.h | 181 -
external/bsd/dhcp/dist/includes/cdefs.h | 71 -
external/bsd/dhcp/dist/includes/config.h.in | 324 -
external/bsd/dhcp/dist/includes/ctrace.h | 75 -
external/bsd/dhcp/dist/includes/dhcp.h | 206 -
external/bsd/dhcp/dist/includes/dhcp6.h | 298 -
external/bsd/dhcp/dist/includes/dhcpd.h | 3916 ----
external/bsd/dhcp/dist/includes/dhctoken.h | 387 -
external/bsd/dhcp/dist/includes/failover.h | 400 -
external/bsd/dhcp/dist/includes/heap.h | 165 -
external/bsd/dhcp/dist/includes/inet.h | 81 -
external/bsd/dhcp/dist/includes/ldap_casa.h | 104 -
external/bsd/dhcp/dist/includes/ldap_krb_helper.h | 51 -
external/bsd/dhcp/dist/includes/netinet/if_ether.h | 64 -
external/bsd/dhcp/dist/includes/netinet/ip.h | 161 -
external/bsd/dhcp/dist/includes/netinet/ip_icmp.h | 180 -
external/bsd/dhcp/dist/includes/netinet/udp.h | 68 -
external/bsd/dhcp/dist/includes/ns_name.h | 47 -
external/bsd/dhcp/dist/includes/omapip/alloc.h | 107 -
external/bsd/dhcp/dist/includes/omapip/buffer.h | 79 -
external/bsd/dhcp/dist/includes/omapip/convert.h | 48 -
external/bsd/dhcp/dist/includes/omapip/hash.h | 163 -
external/bsd/dhcp/dist/includes/omapip/isclib.h | 145 -
external/bsd/dhcp/dist/includes/omapip/omapip.h | 619 -
external/bsd/dhcp/dist/includes/omapip/omapip_p.h | 296 -
external/bsd/dhcp/dist/includes/omapip/result.h | 123 -
external/bsd/dhcp/dist/includes/omapip/trace.h | 113 -
external/bsd/dhcp/dist/includes/osdep.h | 292 -
external/bsd/dhcp/dist/includes/site.h | 378 -
external/bsd/dhcp/dist/includes/statement.h | 107 -
external/bsd/dhcp/dist/includes/t_api.h | 105 -
external/bsd/dhcp/dist/includes/tree.h | 353 -
external/bsd/dhcp/dist/install-sh | 527 -
external/bsd/dhcp/dist/ktrace.out | Bin
external/bsd/dhcp/dist/m4/README | 2 -
external/bsd/dhcp/dist/missing | 215 -
external/bsd/dhcp/dist/omapip/Makefile.am | 22 -
external/bsd/dhcp/dist/omapip/Makefile.am.in | 22 -
external/bsd/dhcp/dist/omapip/Makefile.in | 730 -
external/bsd/dhcp/dist/omapip/alloc.c | 1184 -
external/bsd/dhcp/dist/omapip/array.c | 161 -
external/bsd/dhcp/dist/omapip/auth.c | 282 -
external/bsd/dhcp/dist/omapip/buffer.c | 748 -
external/bsd/dhcp/dist/omapip/connection.c | 1110 -
external/bsd/dhcp/dist/omapip/convert.c | 184 -
external/bsd/dhcp/dist/omapip/dispatch.c | 963 -
external/bsd/dhcp/dist/omapip/errwarn.c | 358 -
external/bsd/dhcp/dist/omapip/generic.c | 307 -
external/bsd/dhcp/dist/omapip/handle.c | 306 -
external/bsd/dhcp/dist/omapip/hash.c | 564 -
external/bsd/dhcp/dist/omapip/inet_addr.c | 141 -
external/bsd/dhcp/dist/omapip/isclib.c | 394 -
external/bsd/dhcp/dist/omapip/iscprint.c | 545 -
external/bsd/dhcp/dist/omapip/listener.c | 493 -
external/bsd/dhcp/dist/omapip/message.c | 767 -
external/bsd/dhcp/dist/omapip/omapi.3 | 251 -
external/bsd/dhcp/dist/omapip/protocol.c | 1318 -
external/bsd/dhcp/dist/omapip/result.c | 91 -
external/bsd/dhcp/dist/omapip/support.c | 856 -
external/bsd/dhcp/dist/omapip/test.c | 115 -
external/bsd/dhcp/dist/omapip/toisc.c | 216 -
external/bsd/dhcp/dist/omapip/trace.c | 722 -
external/bsd/dhcp/dist/relay/Makefile.am | 12 -
external/bsd/dhcp/dist/relay/Makefile.in | 683 -
external/bsd/dhcp/dist/relay/dhcrelay.8 | 347 -
external/bsd/dhcp/dist/relay/dhcrelay.c | 2155 --
external/bsd/dhcp/dist/server/Makefile.am | 25 -
external/bsd/dhcp/dist/server/Makefile.in | 1184 -
external/bsd/dhcp/dist/server/bootp.c | 471 -
external/bsd/dhcp/dist/server/class.c | 327 -
external/bsd/dhcp/dist/server/confpars.c | 6419 -------
external/bsd/dhcp/dist/server/db.c | 1292 -
external/bsd/dhcp/dist/server/ddns.c | 2397 --
external/bsd/dhcp/dist/server/dhcp.c | 5761 ------
external/bsd/dhcp/dist/server/dhcpd.8 | 891 -
external/bsd/dhcp/dist/server/dhcpd.c | 1846 --
external/bsd/dhcp/dist/server/dhcpd.conf.5 | 3622 ---
external/bsd/dhcp/dist/server/dhcpd.conf.example | 104 -
external/bsd/dhcp/dist/server/dhcpd.leases.5 | 399 -
external/bsd/dhcp/dist/server/dhcpleasequery.c | 1270 -
external/bsd/dhcp/dist/server/dhcpv6.c | 8638 ---------
external/bsd/dhcp/dist/server/failover.c | 6587 -------
external/bsd/dhcp/dist/server/ldap.c | 3161 ---
external/bsd/dhcp/dist/server/ldap_casa.c | 166 -
external/bsd/dhcp/dist/server/ldap_krb_helper.c | 219 -
external/bsd/dhcp/dist/server/leasechain.c | 700 -
external/bsd/dhcp/dist/server/mdb.c | 3262 ---
external/bsd/dhcp/dist/server/mdb6.c | 3029 ---
external/bsd/dhcp/dist/server/omapi.c | 2620 --
external/bsd/dhcp/dist/server/salloc.c | 258 -
external/bsd/dhcp/dist/server/stables.c | 556 -
external/bsd/dhcp/dist/server/tests/Atffile | 5 -
external/bsd/dhcp/dist/server/tests/Kyuafile | 8 -
external/bsd/dhcp/dist/server/tests/Makefile.am | 68 -
external/bsd/dhcp/dist/server/tests/Makefile.in | 1079 -
external/bsd/dhcp/dist/server/tests/hash_unittest.c | 612 -
external/bsd/dhcp/dist/server/tests/leaseq_unittest.c | 505 -
external/bsd/dhcp/dist/server/tests/load_bal_unittest.c | 197 -
external/bsd/dhcp/dist/server/tests/mdb6_unittest.c | 975 -
external/bsd/dhcp/dist/server/tests/simple_unittest.c | 127 -
external/bsd/dhcp/dist/tests/DHCPv6/000-badmsgtype.pl | 164 -
external/bsd/dhcp/dist/tests/DHCPv6/010-solicit-noclientid.pl | 212 -
external/bsd/dhcp/dist/tests/DHCPv6/011-solicit-serverid.pl | 215 -
external/bsd/dhcp/dist/tests/DHCPv6/020-advertise-mcast.pl | 164 -
external/bsd/dhcp/dist/tests/DHCPv6/030-request-noclientid.pl | 212 -
external/bsd/dhcp/dist/tests/DHCPv6/031-request-noserverid.pl | 212 -
external/bsd/dhcp/dist/tests/DHCPv6/032-request-badduid.pl | 216 -
external/bsd/dhcp/dist/tests/DHCPv6/110-information-request-ia_na.pl | 212 -
external/bsd/dhcp/dist/tests/DHCPv6/111-information-request-ia_ta.pl | 212 -
external/bsd/dhcp/dist/tests/DHCPv6/112-badduid.pl | 208 -
external/bsd/dhcp/dist/tests/DHCPv6/210-solicit-nohost.pl | 212 -
external/bsd/dhcp/dist/tests/DHCPv6/211-solicit-opt-in-na.pl | 218 -
external/bsd/dhcp/dist/tests/DHCPv6/212-solicit-opt-in-na-norapidcommit.pl | 218 -
external/bsd/dhcp/dist/tests/DHCPv6/280-release-nohost.pl | 175 -
external/bsd/dhcp/dist/tests/DHCPv6/281-release-bad-address.pl | 187 -
external/bsd/dhcp/dist/tests/DHCPv6/282-release-no-address.pl | 183 -
external/bsd/dhcp/dist/tests/DHCPv6/283-release.pl | 189 -
external/bsd/dhcp/dist/tests/DHCPv6/290-decline-nohost.pl | 175 -
external/bsd/dhcp/dist/tests/DHCPv6/291-decline-bad-address.pl | 187 -
external/bsd/dhcp/dist/tests/DHCPv6/292-decline-no-address.pl | 183 -
external/bsd/dhcp/dist/tests/DHCPv6/293-decline.pl | 189 -
external/bsd/dhcp/dist/tests/DHCPv6/README | 62 -
external/bsd/dhcp/dist/tests/DHCPv6/dhcp_client.pm | 454 -
external/bsd/dhcp/dist/tests/DHCPv6/stubcli-opt-in-na.pl | 217 -
external/bsd/dhcp/dist/tests/DHCPv6/stubcli.pl | 212 -
external/bsd/dhcp/dist/tests/DHCPv6/test-a.conf | 67 -
external/bsd/dhcp/dist/tests/DHCPv6/test-b.conf | 60 -
external/bsd/dhcp/dist/tests/HOWTO-unit-test | 89 -
external/bsd/dhcp/dist/tests/Makefile.am | 33 -
external/bsd/dhcp/dist/tests/Makefile.am.in | 33 -
external/bsd/dhcp/dist/tests/Makefile.in | 595 -
external/bsd/dhcp/dist/tests/failover/dhcp-1.cf | 154 -
external/bsd/dhcp/dist/tests/failover/dhcp-2.cf | 152 -
external/bsd/dhcp/dist/tests/failover/new-failover | 28 -
external/bsd/dhcp/dist/tests/t_api.c | 851 -
external/bsd/dhcp/dist/tests/t_api_dhcp.c | 51 -
external/bsd/dhcp/dist/tests/unit_test_sample.c | 27 -
external/bsd/dhcp/dist/tests/unittest.sh.in | 93 -
external/bsd/dhcp/include/config.h | 326 -
external/bsd/dhcp/lib/Makefile | 5 -
external/bsd/dhcp/lib/Makefile.inc | 1 -
external/bsd/dhcp/lib/common/Makefile | 14 -
external/bsd/dhcp/lib/dhcpctl/Makefile | 10 -
external/bsd/dhcp/lib/omapip/Makefile | 13 -
external/bsd/dhcp/share/Makefile | 5 -
external/bsd/dhcp/share/dhcpd/Makefile | 10 -
external/bsd/dhcp/share/dhcpd/pxe.defs | 113 -
302 files changed, 2 insertions(+), 199555 deletions(-)
diffs (truncated from 200771 to 300 lines):
diff -r e630c96f9923 -r dfab19fa09f6 external/bsd/Makefile
--- a/external/bsd/Makefile Sat Apr 07 22:39:31 2018 +0000
+++ b/external/bsd/Makefile Sat Apr 07 22:39:53 2018 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.58 2017/05/21 15:28:38 riastradh Exp $
+# $NetBSD: Makefile,v 1.59 2018/04/07 22:39:53 christos Exp $
.include <bsd.own.mk>
@@ -44,6 +44,6 @@
SUBDIR+= unbound
.endif
-SUBDIR+= blacklist pdisk dhcp nvi ppp smbfs
+SUBDIR+= blacklist pdisk nvi ppp smbfs
.include <bsd.subdir.mk>
diff -r e630c96f9923 -r dfab19fa09f6 external/bsd/dhcp/Makefile
--- a/external/bsd/dhcp/Makefile Sat Apr 07 22:39:31 2018 +0000
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,5 +0,0 @@
-# $NetBSD: Makefile,v 1.1 2013/03/24 15:54:29 christos Exp $
-
-SUBDIR= lib share .WAIT bin
-
-.include <bsd.subdir.mk>
diff -r e630c96f9923 -r dfab19fa09f6 external/bsd/dhcp/Makefile.inc
--- a/external/bsd/dhcp/Makefile.inc Sat Apr 07 22:39:31 2018 +0000
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,53 +0,0 @@
-# $NetBSD: Makefile.inc,v 1.19 2018/02/25 00:16:48 mrg Exp $
-
-WARNS?= 1 # XXX -Wshadow -Wcast-qual -Wsign-compare
-
-.include <bsd.own.mk>
-
-USE_FORT?= yes # network client/server
-CWARNFLAGS.clang+= -Wno-tautological-compare \
- -Wno-conversion -Wno-constant-logical-operand \
- -Wno-format-security -Wno-error=unused-const-variable
-
-DIST:= ${.PARSEDIR}/dist
-BIND:= ${.PARSEDIR}/../bind/dist
-.PATH: ${DIST}/${DHCPSRCDIR}
-
-COBJDIR!=cd ${.PARSEDIR}/lib/common && ${PRINTOBJDIR}
-OMOBJDIR!=cd ${.PARSEDIR}/lib/omapip && ${PRINTOBJDIR}
-
-.if (${USE_INET6} != "no")
-CPPFLAGS+= -DDHCPv6
-.endif
-CPPFLAGS+= -DISC_PLATFORM_USETHREADS -DHAVE_CONFIG_H
-CPPFLAGS+= -I${DIST} -I${DIST}/includes -I${DIST}/../include
-CPPFLAGS+= -I${BIND} -I${BIND}/includes -I${BIND}/../include
-.for dir in isc dns irs
-CPPFLAGS+= -I${BIND}/lib/${dir}/include
-CPPFLAGS+= -I${BIND}/lib/${dir}/unix/include
-CPPFLAGS+= -I${BIND}/lib/${dir}/pthreads/include
-.endfor
-CPPFLAGS+= -DLOCALSTATEDIR='"/var"'
-LDADD+= ${COBJDIR}/libdhcp.a
-LDADD+= ${OMOBJDIR}/libomapi.a
-.if defined(PROG) && ${PROG} == "dhclient"
-LDADD+=-Wl,-Bstatic
-.endif
-LDADD+= -lirs -lisccfg -ldns -lisc
-LDADD+=-lpthread
-.if (${MKKERBEROS} != "no")
-LDADD+= -lgssapi -lheimntlm ${LIBKRB5_LDADD} ${LIBKRB5_STATIC_LDADD}
-DPADD+= ${LIBKRB5_DPADD} ${LIBHEIMNTLM} ${LIBGSSAPI} ${LIBKRB5_STATIC_DPADD}
-.endif
-.if defined(PROG) && ${PROG} == "dhclient"
-LDADD+=-Wl,-Bdynamic
-.endif
-LDADD+= -lcrypto -lipsec -lcrypt
-DPADD+= ${LIBCRYPTO} ${LIBIPSEC} ${LIBCRYPT}
-.if defined(PROG) && ${PROG} == "dhclient"
-LDADD+=-Wl,-Bdynamic
-.endif
-DPADD+= ${COBJDIR}/libdhcp.a
-DPADD+= ${OMOBJDIR}/libomapi.a
-DPADD+= ${LIBDNS} ${LIBISC}
-DPADD+= ${LIBPTHREAD}
diff -r e630c96f9923 -r dfab19fa09f6 external/bsd/dhcp/bin/Makefile
--- a/external/bsd/dhcp/bin/Makefile Sat Apr 07 22:39:31 2018 +0000
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,5 +0,0 @@
-# $NetBSD: Makefile,v 1.1 2013/03/24 15:54:30 christos Exp $
-
-SUBDIR= clientscript server client relay omshell
-
-.include <bsd.subdir.mk>
diff -r e630c96f9923 -r dfab19fa09f6 external/bsd/dhcp/bin/Makefile.inc
--- a/external/bsd/dhcp/bin/Makefile.inc Sat Apr 07 22:39:31 2018 +0000
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,2 +0,0 @@
-.include "${.PARSEDIR}/../Makefile.inc"
-BINDIR?=/usr/sbin
diff -r e630c96f9923 -r dfab19fa09f6 external/bsd/dhcp/bin/client/Makefile
--- a/external/bsd/dhcp/bin/client/Makefile Sat Apr 07 22:39:31 2018 +0000
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,17 +0,0 @@
-# $NetBSD: Makefile,v 1.2 2018/04/07 21:19:31 christos Exp $
-
-BINDIR= /sbin
-.include <bsd.own.mk> # for MKDYNAMICROOT definition
-
-SRCS = dhclient.c clparse.c dhc6.c client_tables.c
-PROG = dhclient
-MAN = dhclient.8 dhclient.conf.5 dhclient.leases.5 dhclient-script.8
-CPPFLAGS += -DCLIENT_PATH='"PATH=/usr/bin:/usr/sbin:/bin:/sbin"'
-
-DHCPSRCDIR= client
-
-.if (${MKDYNAMICROOT} == "no")
-LDSTATIC?= -static
-.endif
-
-.include <bsd.prog.mk>
diff -r e630c96f9923 -r dfab19fa09f6 external/bsd/dhcp/bin/clientscript/Makefile
--- a/external/bsd/dhcp/bin/clientscript/Makefile Sat Apr 07 22:39:31 2018 +0000
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,8 +0,0 @@
-# $NetBSD: Makefile,v 1.1 2013/03/24 15:54:30 christos Exp $
-
-NOOBJ= # defined
-
-SCRIPTS=dhclient-script
-SCRIPTSDIR=/sbin
-
-.include <bsd.prog.mk>
diff -r e630c96f9923 -r dfab19fa09f6 external/bsd/dhcp/bin/clientscript/dhclient-script
--- a/external/bsd/dhcp/bin/clientscript/dhclient-script Sat Apr 07 22:39:31 2018 +0000
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,282 +0,0 @@
-#!/bin/sh
-#
-# $NetBSD: dhclient-script,v 1.3 2016/11/27 19:04:40 maya Exp $
-
-ENTERHOOKS=/etc/dhclient-enter-hooks
-EXITHOOKS=/etc/dhclient-exit-hooks
-RESOLV=/etc/resolv.conf
-SIGNATURE="# Created by dhclient from"
-INTSIG="$SIGNATURE $interface"
-
-echo_resolv_conf() {
- echo "$INTSIG"
- echo search $new_domain_name
- for nameserver in $new_domain_name_servers; do
- echo nameserver $nameserver
- done
-}
-
-make_resolv_conf() {
- if [ ! -z "$new_domain_name_servers" ]; then
- if [ -x /sbin/resolvconf ]; then
- echo_resolv_conf | /sbin/resolvconf -a $interface
- else
- if [ -f $RESOLV ]; then
- while read line; do
- case $line in
- "$SIGNATURE"*)
- ;;
- *)
- mv $RESOLV $RESOLV.save;;
- esac
- break
- done < $RESOLV
- fi
- echo_resolv_conf > $RESOLV
- fi
- fi
-}
-
-restore_resolv_conf() {
- if [ -x /sbin/resolvconf ]; then
- /sbin/resolvconf -d $interface
- elif [ -f $RESOLV.save -a -f $RESOLV ]; then
- while read line; do
- case $line in
- "$INTSIG"*)
- mv $RESOLV.save $RESOLV;;
- esac
- break
- done < $RESOLV
- fi
-}
-
-# Must be used on exit. Invokes the local dhcp client exit hooks, if any.
-exit_with_hooks() {
- exit_status=$1
- if [ -f "$EXITHOOKS" ]; then
- . "$EXITHOOKS"
- fi
- # probably should do something with exit status of the local script
- exit $exit_status
-}
-
-
-add_new_routes() {
- for router in $new_routers; do
- route add default $router
- done >/dev/null 2>&1
-
- set -- $new_static_routes
- while [ $# -gt 1 ]; do
- route add $1 $2
- shift; shift
- done
-}
-
-delete_old_routes() {
- for router in $old_routers; do
- route delete default $router
- done >/dev/null 2>&1
-
- set -- $old_static_routes
- while [ $# -gt 1 ]; do
- route delete $1 $2
- shift; shift
- done
-
- route -n flush -inet -host
-}
-
-# Invoke the local dhcp client enter hooks, if they exist.
-if [ -f $ENTERHOOKS ]; then
- exit_status=0
- . $ENTERHOOKS
- # allow the local script to abort processing of this state
- # local script must set exit_status variable to nonzero.
- if [ $exit_status -ne 0 ]; then
- exit $exit_status
- fi
-fi
-
-#if [ ! -z "$new_host_name" ]; then
-# echo New Host Name: $new_host_name
-#fi
-#
-#if [ ! -z "$new_nis_domain" ]; then
-# echo New NIS Domain: $new_nis_domain
-#fi
-#
-#if [ ! -z "$new_network_number" ]; then
-# echo New Network Number: $new_network_number
-#fi
-
-if [ ! -z "$new_broadcast_address" ]; then
-# echo New Broadcast Address: $new_broadcast_address
- new_broadcast_arg="broadcast $new_broadcast_address"
-fi
-
-if [ ! -z "$old_broadcast_address" ]; then
- old_broadcast_arg="broadcast $old_broadcast_address"
-fi
-
-if [ ! -z "$new_subnet_mask" ]; then
- new_netmask_arg="netmask $new_subnet_mask"
-fi
-
-if [ ! -z "$old_subnet_mask" ]; then
- old_netmask_arg="netmask $old_subnet_mask"
-fi
-
-if [ ! -z "$alias_subnet_mask" ]; then
- alias_subnet_arg="netmask $alias_subnet_mask"
-fi
-
-case "$reason" in
-MEDIUM)
- test -z "$medium" && exit_with_hooks 0
- eval "ifconfig $interface $medium"
- eval "ifconfig $interface inet -alias 0.0.0.0 $medium" >/dev/null 2>&1
-
- sleep 1
-
- exit_with_hooks 0
- ;;
-
-PREINIT)
- if [ ! -z "$alias_ip_address" ]; then
- ifconfig $interface inet \
- -alias $alias_ip_address >/dev/null 2>&1
- fi
-
- ifconfig $interface inet 0.0.0.0 netmask 0.0.0.0 \
- broadcast 255.255.255.255 up
-
- exit_with_hooks 0
- ;;
-
-ARPCHECK|ARPSEND)
- exit_with_hooks 0
- ;;
-
-BOUND|RENEW|REBIND|REBOOT)
- if [ ! -z "$new_nis_domain" ]; then
- if type domainname > /dev/null 2>&1; then
- domainname $new_nis_domain
Home |
Main Index |
Thread Index |
Old Index