Source-Changes-HG archive

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

[src/trunk]: src/usr.sbin adapt to NetBSD code tree.



details:   https://anonhg.NetBSD.org/src/rev/657b62c0af18
branches:  trunk
changeset: 474560:657b62c0af18
user:      itojun <itojun%NetBSD.org@localhost>
date:      Sun Jul 11 17:35:07 1999 +0000

description:
adapt to NetBSD code tree.
- add NetBSD RCS ID
- cut and paste the copyright notice from c source to manpage source
  (unnecessary?)

diffstat:

 usr.sbin/pvcsif/Makefile     |   7 +++++++
 usr.sbin/pvcsif/pvcsif.8     |   5 ++++-
 usr.sbin/pvcsif/pvcsif.c     |   9 +++++----
 usr.sbin/pvctxctl/Makefile   |   7 +++++++
 usr.sbin/pvctxctl/pvctxctl.8 |  28 +++++++++++++++++++++++++++-
 usr.sbin/pvctxctl/pvctxctl.c |   4 +++-
 6 files changed, 53 insertions(+), 7 deletions(-)

diffs (121 lines):

diff -r ccad29a333e8 -r 657b62c0af18 usr.sbin/pvcsif/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/usr.sbin/pvcsif/Makefile  Sun Jul 11 17:35:07 1999 +0000
@@ -0,0 +1,7 @@
+#      $NetBSD: Makefile,v 1.1 1999/07/11 17:35:07 itojun Exp $
+
+PROG=  pvcsif
+MAN=   pvcsif.8
+CPPFLAGS+=-DINET6
+
+.include <bsd.prog.mk>
diff -r ccad29a333e8 -r 657b62c0af18 usr.sbin/pvcsif/pvcsif.8
--- a/usr.sbin/pvcsif/pvcsif.8  Sun Jul 11 17:28:28 1999 +0000
+++ b/usr.sbin/pvcsif/pvcsif.8  Sun Jul 11 17:35:07 1999 +0000
@@ -1,6 +1,9 @@
+.\"
+.\" $NetBSD: pvcsif.8,v 1.2 1999/07/11 17:35:07 itojun Exp $
+.\"
 .Dd December 29, 1997
 .Dt PVCSIF 8
-.Os BSD
+.Os
 .Sh NAME
 .Nm pvcsif
 .Nd configure ATM PVC sub interfaces
diff -r ccad29a333e8 -r 657b62c0af18 usr.sbin/pvcsif/pvcsif.c
--- a/usr.sbin/pvcsif/pvcsif.c  Sun Jul 11 17:28:28 1999 +0000
+++ b/usr.sbin/pvcsif/pvcsif.c  Sun Jul 11 17:35:07 1999 +0000
@@ -1,3 +1,5 @@
+/*     $NetBSD: pvcsif.c,v 1.2 1999/07/11 17:35:07 itojun Exp $        */
+
 /*
  * Copyright (C) 1998
  *     Sony Computer Science Laboratory Inc.  All rights reserved.
@@ -23,7 +25,7 @@
  * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
  * SUCH DAMAGE.
  *
- * $Id: pvcsif.c,v 1.1.1.1 1999/07/11 17:28:28 itojun Exp $
+ * ALTQ Id: pvcsif.c,v 0.3 1999/05/19 11:31:11 kjc Exp
  */
 
 #include <stdio.h>
@@ -39,9 +41,8 @@
 
 #include <net/if_atm.h>
 
-#include "if_nameindex.h"
-
-void list_all(void);
+void usage __P((void));
+void list_all __P((void));
 
 void usage(void)
 {
diff -r ccad29a333e8 -r 657b62c0af18 usr.sbin/pvctxctl/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/usr.sbin/pvctxctl/Makefile        Sun Jul 11 17:35:07 1999 +0000
@@ -0,0 +1,7 @@
+#      $NetBSD: Makefile,v 1.1 1999/07/11 17:35:08 itojun Exp $
+
+PROG=  pvctxctl
+MAN=   pvctxctl.8
+CPPFLAGS+=-DINET6
+
+.include <bsd.prog.mk>
diff -r ccad29a333e8 -r 657b62c0af18 usr.sbin/pvctxctl/pvctxctl.8
--- a/usr.sbin/pvctxctl/pvctxctl.8      Sun Jul 11 17:28:28 1999 +0000
+++ b/usr.sbin/pvctxctl/pvctxctl.8      Sun Jul 11 17:35:07 1999 +0000
@@ -1,6 +1,32 @@
+.\" Copyright (C) 1998
+.\"    Sony Computer Science Laboratory Inc.  All rights reserved.
+.\"
+.\" Redistribution and use in source and binary forms, with or without
+.\" modification, are permitted provided that the following conditions
+.\" are met:
+.\" 1. Redistributions of source code must retain the above copyright
+.\"    notice, this list of conditions and the following disclaimer.
+.\" 2. Redistributions in binary form must reproduce the above copyright
+.\"    notice, this list of conditions and the following disclaimer in the
+.\"    documentation and/or other materials provided with the distribution.
+.\"
+.\" THIS SOFTWARE IS PROVIDED BY SONY CSL AND CONTRIBUTORS ``AS IS'' AND
+.\" ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+.\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+.\" ARE DISCLAIMED.  IN NO EVENT SHALL SONY CSL OR CONTRIBUTORS BE LIABLE
+.\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
+.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
+.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
+.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
+.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
+.\" SUCH DAMAGE.
+.\"
+.\" $NetBSD: pvctxctl.8,v 1.2 1999/07/11 17:35:08 itojun Exp $
+.\"
 .Dd December 29, 1997
 .Dt PVCTXCTL 8
-.Os BSD
+.Os
 .Sh NAME
 .Nm pvctxctl
 .Nd display or control ATM PVC transmitter parameters
diff -r ccad29a333e8 -r 657b62c0af18 usr.sbin/pvctxctl/pvctxctl.c
--- a/usr.sbin/pvctxctl/pvctxctl.c      Sun Jul 11 17:28:28 1999 +0000
+++ b/usr.sbin/pvctxctl/pvctxctl.c      Sun Jul 11 17:35:07 1999 +0000
@@ -1,3 +1,5 @@
+/*     $NetBSD: pvctxctl.c,v 1.2 1999/07/11 17:35:08 itojun Exp $      */
+
 /*
  * Copyright (C) 1998
  *     Sony Computer Science Laboratory Inc.  All rights reserved.
@@ -23,7 +25,7 @@
  * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
  * SUCH DAMAGE.
  *
- * $Id: pvctxctl.c,v 1.1.1.1 1999/07/11 17:28:02 itojun Exp $
+ * ALTQ Id: pvctxctl.c,v 0.4 1999/05/19 11:31:11 kjc Exp
  */
 
 #include <stdio.h>



Home | Main Index | Thread Index | Old Index