summaryrefslogtreecommitdiff
path: root/usr.sbin
diff options
context:
space:
mode:
authorJun-ichiro itojun Hagino <itojun@cvs.openbsd.org>1999-12-11 10:33:31 +0000
committerJun-ichiro itojun Hagino <itojun@cvs.openbsd.org>1999-12-11 10:33:31 +0000
commitf7e4910002788405927a30928bbf8d1b36e9c391 (patch)
treed0e9d7d12dca8a2ae60505904bec0fabd9225e9d /usr.sbin
parent0119060ef6eb6767616e6fab8f0ad8c22319329b (diff)
enable rtadvd in usr.sbin/Makefile.
rcsid police on usr.sbin/rtadvd. add sample config into etc/rtadvd.conf. add files into distrib/sets/list.
Diffstat (limited to 'usr.sbin')
-rw-r--r--usr.sbin/Makefile4
-rw-r--r--usr.sbin/rtadvd/Makefile11
-rw-r--r--usr.sbin/rtadvd/advcap.c2
-rw-r--r--usr.sbin/rtadvd/advcap.h2
-rw-r--r--usr.sbin/rtadvd/config.c2
-rw-r--r--usr.sbin/rtadvd/config.h2
-rw-r--r--usr.sbin/rtadvd/if.c2
-rw-r--r--usr.sbin/rtadvd/if.h2
-rw-r--r--usr.sbin/rtadvd/pathnames.h2
-rw-r--r--usr.sbin/rtadvd/rrenum.c2
-rw-r--r--usr.sbin/rtadvd/rrenum.h2
-rw-r--r--usr.sbin/rtadvd/rtadvd.84
-rw-r--r--usr.sbin/rtadvd/rtadvd.c2
-rw-r--r--usr.sbin/rtadvd/rtadvd.conf.54
-rw-r--r--usr.sbin/rtadvd/rtadvd.h2
-rw-r--r--usr.sbin/rtadvd/timer.c2
-rw-r--r--usr.sbin/rtadvd/timer.h2
17 files changed, 45 insertions, 4 deletions
diff --git a/usr.sbin/Makefile b/usr.sbin/Makefile
index 99e58ed9230..a07b0691ef5 100644
--- a/usr.sbin/Makefile
+++ b/usr.sbin/Makefile
@@ -1,4 +1,4 @@
-# $OpenBSD: Makefile,v 1.49 1999/12/10 07:26:56 itojun Exp $
+# $OpenBSD: Makefile,v 1.50 1999/12/11 10:33:26 itojun Exp $
# not yet done: catman
@@ -17,7 +17,7 @@ SUBDIR= ac accton adduser amd arp bootpd bootpgw bootpef bootptest \
vipw vnconfig zdump zic
# IPv6
-SUBDIR+=ifmcstat ndp rtsold
+SUBDIR+=ifmcstat ndp rtadvd rtsold
.if (${AFS} == "yes")
SUBDIR+=afs
diff --git a/usr.sbin/rtadvd/Makefile b/usr.sbin/rtadvd/Makefile
new file mode 100644
index 00000000000..7c658546b76
--- /dev/null
+++ b/usr.sbin/rtadvd/Makefile
@@ -0,0 +1,11 @@
+# $OpenBSD: Makefile,v 1.1 1999/12/11 10:33:27 itojun Exp $
+
+PROG= rtadvd
+SRCS= rtadvd.c rrenum.c advcap.c if.c config.c timer.c
+
+CPPFLAGS+=-DINET6
+LDADD+= -lcompat
+DPADD+= ${LIBCOMPAT}
+MAN= rtadvd.8 rtadvd.conf.5
+
+.include <bsd.prog.mk>
diff --git a/usr.sbin/rtadvd/advcap.c b/usr.sbin/rtadvd/advcap.c
index 81724fc5fab..468a3ccb1fa 100644
--- a/usr.sbin/rtadvd/advcap.c
+++ b/usr.sbin/rtadvd/advcap.c
@@ -1,3 +1,5 @@
+/* $OpenBSD: advcap.c,v 1.2 1999/12/11 10:33:28 itojun Exp $ */
+
/*
* Copyright (c) 1983 The Regents of the University of California.
* All rights reserved.
diff --git a/usr.sbin/rtadvd/advcap.h b/usr.sbin/rtadvd/advcap.h
index 445a71a6b16..c09356df819 100644
--- a/usr.sbin/rtadvd/advcap.h
+++ b/usr.sbin/rtadvd/advcap.h
@@ -1,3 +1,5 @@
+/* $OpenBSD: advcap.h,v 1.2 1999/12/11 10:33:28 itojun Exp $ */
+
/*
* Copyright (C) 1994,1995 by Andrey A. Chernov, Moscow, Russia.
* All rights reserved.
diff --git a/usr.sbin/rtadvd/config.c b/usr.sbin/rtadvd/config.c
index 851fe5bb49e..849979d4cd7 100644
--- a/usr.sbin/rtadvd/config.c
+++ b/usr.sbin/rtadvd/config.c
@@ -1,3 +1,5 @@
+/* $OpenBSD: config.c,v 1.2 1999/12/11 10:33:28 itojun Exp $ */
+
/*
* Copyright (C) 1998 WIDE Project.
* All rights reserved.
diff --git a/usr.sbin/rtadvd/config.h b/usr.sbin/rtadvd/config.h
index 823af1691ae..63374fe3cfa 100644
--- a/usr.sbin/rtadvd/config.h
+++ b/usr.sbin/rtadvd/config.h
@@ -1,3 +1,5 @@
+/* $OpenBSD: config.h,v 1.2 1999/12/11 10:33:28 itojun Exp $ */
+
/*
* Copyright (C) 1995, 1996, 1997, 1998, and 1999 WIDE Project.
* All rights reserved.
diff --git a/usr.sbin/rtadvd/if.c b/usr.sbin/rtadvd/if.c
index 3488968f393..1485e3d5b27 100644
--- a/usr.sbin/rtadvd/if.c
+++ b/usr.sbin/rtadvd/if.c
@@ -1,3 +1,5 @@
+/* $OpenBSD: if.c,v 1.2 1999/12/11 10:33:28 itojun Exp $ */
+
/*
* Copyright (C) 1995, 1996, 1997, and 1998 WIDE Project.
* All rights reserved.
diff --git a/usr.sbin/rtadvd/if.h b/usr.sbin/rtadvd/if.h
index 0fc97a47196..fd1cedd797d 100644
--- a/usr.sbin/rtadvd/if.h
+++ b/usr.sbin/rtadvd/if.h
@@ -1,3 +1,5 @@
+/* $OpenBSD: if.h,v 1.2 1999/12/11 10:33:28 itojun Exp $ */
+
/*
* Copyright (C) 1995, 1996, 1997, 1998, and 1999 WIDE Project.
* All rights reserved.
diff --git a/usr.sbin/rtadvd/pathnames.h b/usr.sbin/rtadvd/pathnames.h
index a14ed50f772..33d43bb40b2 100644
--- a/usr.sbin/rtadvd/pathnames.h
+++ b/usr.sbin/rtadvd/pathnames.h
@@ -1 +1,3 @@
+/* $OpenBSD: pathnames.h,v 1.2 1999/12/11 10:33:28 itojun Exp $ */
+
#define _PATH_RTADVDCONF "/usr/local/v6/etc/rtadvd.conf"
diff --git a/usr.sbin/rtadvd/rrenum.c b/usr.sbin/rtadvd/rrenum.c
index 4ed70202831..38d59992c53 100644
--- a/usr.sbin/rtadvd/rrenum.c
+++ b/usr.sbin/rtadvd/rrenum.c
@@ -1,3 +1,5 @@
+/* $OpenBSD: rrenum.c,v 1.2 1999/12/11 10:33:28 itojun Exp $ */
+
/*
* Copyright (C) 1995, 1996, 1997, and 1998 WIDE Project.
* All rights reserved.
diff --git a/usr.sbin/rtadvd/rrenum.h b/usr.sbin/rtadvd/rrenum.h
index 78bdf6f248c..fd591a95451 100644
--- a/usr.sbin/rtadvd/rrenum.h
+++ b/usr.sbin/rtadvd/rrenum.h
@@ -1,3 +1,5 @@
+/* $OpenBSD: rrenum.h,v 1.2 1999/12/11 10:33:29 itojun Exp $ */
+
/*
* Copyright (C) 1998 WIDE Project.
* All rights reserved.
diff --git a/usr.sbin/rtadvd/rtadvd.8 b/usr.sbin/rtadvd/rtadvd.8
index f3d2912f253..c4a7f6eed55 100644
--- a/usr.sbin/rtadvd/rtadvd.8
+++ b/usr.sbin/rtadvd/rtadvd.8
@@ -1,3 +1,5 @@
+.\" $OpenBSD: rtadvd.8,v 1.2 1999/12/11 10:33:29 itojun Exp $
+.\"
.\" Copyright (C) 1995, 1996, 1997, and 1998 WIDE Project.
.\" All rights reserved.
.\"
@@ -29,7 +31,7 @@
.\"
.Dd May 17, 1998
.Dt RTADVD 8
-.Os KAME
+.Os
.Sh NAME
.Nm rtadvd
.Nd router advertisement daemon
diff --git a/usr.sbin/rtadvd/rtadvd.c b/usr.sbin/rtadvd/rtadvd.c
index 23aa48a6297..cebb3daa5b0 100644
--- a/usr.sbin/rtadvd/rtadvd.c
+++ b/usr.sbin/rtadvd/rtadvd.c
@@ -1,3 +1,5 @@
+/* $OpenBSD: rtadvd.c,v 1.2 1999/12/11 10:33:29 itojun Exp $ */
+
/*
* Copyright (C) 1995, 1996, 1997, and 1998 WIDE Project.
* All rights reserved.
diff --git a/usr.sbin/rtadvd/rtadvd.conf.5 b/usr.sbin/rtadvd/rtadvd.conf.5
index 18446d18427..7768620cf25 100644
--- a/usr.sbin/rtadvd/rtadvd.conf.5
+++ b/usr.sbin/rtadvd/rtadvd.conf.5
@@ -1,3 +1,5 @@
+.\" $OpenBSD: rtadvd.conf.5,v 1.2 1999/12/11 10:33:29 itojun Exp $
+.\"
.\" Copyright (C) 1995, 1996, 1997, and 1998 WIDE Project.
.\" All rights reserved.
.\"
@@ -29,7 +31,7 @@
.\"
.Dd May 17, 1998
.Dt RTADVD.CONF 5
-.Os KAME
+.Os
.Sh NAME
.Nm rtadvd.conf
.Nd config file for router advertisement daemon
diff --git a/usr.sbin/rtadvd/rtadvd.h b/usr.sbin/rtadvd/rtadvd.h
index b1403b17c82..1a6d6b2e0ae 100644
--- a/usr.sbin/rtadvd/rtadvd.h
+++ b/usr.sbin/rtadvd/rtadvd.h
@@ -1,3 +1,5 @@
+/* $OpenBSD: rtadvd.h,v 1.2 1999/12/11 10:33:29 itojun Exp $ */
+
/*
* Copyright (C) 1998 WIDE Project.
* All rights reserved.
diff --git a/usr.sbin/rtadvd/timer.c b/usr.sbin/rtadvd/timer.c
index aa3d1645165..884335bdbd8 100644
--- a/usr.sbin/rtadvd/timer.c
+++ b/usr.sbin/rtadvd/timer.c
@@ -1,3 +1,5 @@
+/* $OpenBSD: timer.c,v 1.2 1999/12/11 10:33:30 itojun Exp $ */
+
/*
* Copyright (C) 1998 WIDE Project.
* All rights reserved.
diff --git a/usr.sbin/rtadvd/timer.h b/usr.sbin/rtadvd/timer.h
index 3a0c99b4033..ab781e24191 100644
--- a/usr.sbin/rtadvd/timer.h
+++ b/usr.sbin/rtadvd/timer.h
@@ -1,3 +1,5 @@
+/* $OpenBSD: timer.h,v 1.2 1999/12/11 10:33:30 itojun Exp $ */
+
/*
* Copyright (C) 1998 WIDE Project.
* All rights reserved.