Tuesday, September 25, 2018

PATCH: s/rtadvd/rad/

Hi ports@,

Some ports still refer to rtadvd(8) rather than the new rad(8). Diff
below updates these references. Possibly the wording of my addition to
the README of net/dhcpcd needs some more tweaking.

Thanks,
Caspar Schutijser


Index: emulators/qemu/Makefile
===================================================================
RCS file: /cvs/ports/emulators/qemu/Makefile,v
retrieving revision 1.181
diff -u -p -r1.181 Makefile
--- emulators/qemu/Makefile 5 Sep 2018 07:01:50 -0000 1.181
+++ emulators/qemu/Makefile 25 Sep 2018 15:55:07 -0000
@@ -7,7 +7,7 @@ ONLY_FOR_ARCHS= aarch64 amd64 arm i386 p
COMMENT= multi system emulator

DISTNAME= qemu-3.0.0
-REVISION= 1
+REVISION= 2
CATEGORIES= emulators
MASTER_SITES= https://download.qemu.org/
EXTRACT_SUFX= .tar.xz
Index: emulators/qemu/pkg/README
===================================================================
RCS file: /cvs/ports/emulators/qemu/pkg/README,v
retrieving revision 1.13
diff -u -p -r1.13 README
--- emulators/qemu/pkg/README 4 Sep 2018 12:46:12 -0000 1.13
+++ emulators/qemu/pkg/README 25 Sep 2018 15:55:07 -0000
@@ -151,7 +151,7 @@ $OpenBSD: README,v 1.13 2018/09/04 12:46
inet 10.7.255.1 255.255.255.0
inet6 alias 2001:240:58a:45::1c

- I have dhcpd configured to run on trunk101, and also run rtadvd.
+ I have dhcpd configured to run on trunk101, and also run rad.
For QEMU, the startup looks like this:

# export ETHER=trunk101
Index: net/dhcpcd/Makefile
===================================================================
RCS file: /cvs/ports/net/dhcpcd/Makefile,v
retrieving revision 1.41
diff -u -p -r1.41 Makefile
--- net/dhcpcd/Makefile 4 Sep 2018 12:46:16 -0000 1.41
+++ net/dhcpcd/Makefile 25 Sep 2018 15:55:07 -0000
@@ -3,7 +3,7 @@
COMMENT= DHCPv4/IPv4LL/IPv6RS/DHCPv6 quad stack client

DISTNAME= dhcpcd-7.0.8
-REVISION= 0
+REVISION= 1

CATEGORIES= net
EXTRACT_SUFX= .tar.xz
Index: net/dhcpcd/pkg/README
===================================================================
RCS file: /cvs/ports/net/dhcpcd/pkg/README,v
retrieving revision 1.6
diff -u -p -r1.6 README
--- net/dhcpcd/pkg/README 4 Sep 2018 12:46:16 -0000 1.6
+++ net/dhcpcd/pkg/README 25 Sep 2018 15:55:07 -0000
@@ -36,5 +36,15 @@ interface pppoe0
ia_pd 2 em0/1 vlan3/2 vlan5/3
-- -- -- -- -- --

-In normal cases, you would use rtadvd(8) to advertise these prefixes to
-clients (e.g. "rcctl enable rtadvd; rcctl set rtadvd flags em0 vlan3 vlan5").
+In normal cases, you would use rad(8) to advertise these prefixes to
+clients. Put the following in /etc/rad.conf:
+
+-- -- -- -- -- --
+interface em0
+interface vlan3
+interface vlan5
+-- -- -- -- -- --
+
+And enable rad(8):
+
+ # rcctl enable rad
Index: net/wide-dhcpv6/Makefile
===================================================================
RCS file: /cvs/ports/net/wide-dhcpv6/Makefile,v
retrieving revision 1.15
diff -u -p -r1.15 Makefile
--- net/wide-dhcpv6/Makefile 27 Sep 2017 14:03:26 -0000 1.15
+++ net/wide-dhcpv6/Makefile 25 Sep 2018 15:55:07 -0000
@@ -3,7 +3,7 @@
COMMENT= client and servers for the WIDE DHCPv6 protocol

DISTNAME= wide-dhcpv6-20080615
-REVISION= 8
+REVISION= 9
CATEGORIES= net
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=wide-dhcpv6/}

Index: net/wide-dhcpv6/patches/patch-dhcp6s_conf_sample
===================================================================
RCS file: /cvs/ports/net/wide-dhcpv6/patches/patch-dhcp6s_conf_sample,v
retrieving revision 1.1.1.1
diff -u -p -r1.1.1.1 patch-dhcp6s_conf_sample
--- net/wide-dhcpv6/patches/patch-dhcp6s_conf_sample 1 Jan 2009 19:01:14 -0000 1.1.1.1
+++ net/wide-dhcpv6/patches/patch-dhcp6s_conf_sample 25 Sep 2018 15:55:07 -0000
@@ -39,7 +39,7 @@ $OpenBSD: patch-dhcp6s_conf_sample,v 1.1
+# The following is an example configuration which provides an IPv6 address
+# from an address pool (2001:db8:1:2::1000-2000) with a lease time of 3600
+# seconds to any client attached to the fxp0 interface. Note that you have
-+# to send router advertisements on fxp0, i.e. run rtadvd(8) on that interface.
++# to send router advertisements on fxp0, i.e. run rad(8) on that interface.
+# Otherwise a client cannot know the prefix-length and the default router.
+
interface fxp0 {
@@ -53,7 +53,7 @@ $OpenBSD: patch-dhcp6s_conf_sample,v 1.1
+# The following is an example configuration which provides fixed IPv6
+# addresses to two known clients. It also provides every client with a
+# DNS server. Note that you have to send router advertisements on fxp0,
-+# i.e. run rtadvd(8) on the interface the clients are attached to.
++# i.e. run rad(8) on the interface the clients are attached to.
+# Otherwise a client cannot know the prefix-length and the default router.
+
+option domain-name-servers 2001:db8::35;

No comments:

Post a Comment