Permalink
Browse files

installation procedures.

  • Loading branch information...
1 parent 47dd226 commit 6bfb32f0167fd2019f6b999170ac4001d2184c00 itojun committed Aug 7, 1999
Showing with 132 additions and 0 deletions.
  1. +26 −0 INSTALL
  2. +26 −0 INSTALL.prepare
  3. +9 −0 VERSION
  4. +71 −0 netbsd/INSTALL
View
@@ -0,0 +1,26 @@
+Installation procedure - preparation of the tree
+KAME project
+$Id: INSTALL,v 1.1 1999/08/07 02:30:14 itojun Exp $
+
+
+KAME build tree shares part of the tree among operating system
+platforms. "kame" directory is shared among "netbsd", "freebsd2",
+and other platforms. You'll first need to make a complete tree from
+distributed tree.
+
+1. Identify your target operating system, by looking at document named
+ "VERSION". Suppose the target is "netbsd".
+
+2. Be sure to have complete tree under your target directory ("netbsd").
+ In some cases you'll need to bring in vanilla distribution into
+ subdirectories and perform "patch" operation. Consult target directory-
+ dependent document for details.
+
+3. Invoke the following:
+ % make TARGET=netbsd prepare
+ This will create necessary symbolic links for the build (from TARGET
+ tree to "kame" tree).
+ NOTE: You'll need perl interpreter for invoking this.
+
+4. Go down to the target operating system you have specified, and read
+ document named "INSTALL". Good luck!
View
@@ -0,0 +1,26 @@
+Installation procedure - preparation of the tree
+KAME project
+$Id: INSTALL.prepare,v 1.1 1999/08/07 02:30:14 itojun Exp $
+
+
+KAME build tree shares part of the tree among operating system
+platforms. "kame" directory is shared among "netbsd", "freebsd2",
+and other platforms. You'll first need to make a complete tree from
+distributed tree.
+
+1. Identify your target operating system, by looking at document named
+ "VERSION". Suppose the target is "netbsd".
+
+2. Be sure to have complete tree under your target directory ("netbsd").
+ In some cases you'll need to bring in vanilla distribution into
+ subdirectories and perform "patch" operation. Consult target directory-
+ dependent document for details.
+
+3. Invoke the following:
+ % make TARGET=netbsd prepare
+ This will create necessary symbolic links for the build (from TARGET
+ tree to "kame" tree).
+ NOTE: You'll need perl interpreter for invoking this.
+
+4. Go down to the target operating system you have specified, and read
+ document named "INSTALL". Good luck!
View
@@ -0,0 +1,9 @@
+Platforms and base versions
+KAME project
+$Id: VERSION,v 1.1 1999/08/07 02:30:14 itojun Exp $
+
+
+platform base version webpage
+--- --- ---
+netbsd NetBSD 1.4 http://www.netbsd.org/
+freebsd2 FreeBSD 2.2.8-RELEASE http://www.freebsd.org/
View
@@ -0,0 +1,71 @@
+Installation procedure - NetBSD
+KAME project
+$Id: INSTALL,v 1.1 1999/08/07 02:30:15 itojun Exp $
+
+
+You'll need to follow the steps below. They can be separated into two major
+sections - kernel build and userland build.
+
+Be sure to perform "tree preparation" procedure, described in
+../INSTALL.prepare, prior to taking the steps below.
+
+
+A. Backup
+=========
+The following procedure replaces, or overwrites, the following
+files/directories:
+ /netbsd
+ /usr/include
+so you may want to back them up before going through the steps.
+
+A-1. Backup your kernel file, if you need to.
+ # cp /netbsd /netbsd.previous
+
+A-2. Backup /usr/include directory, if you want an untouched tree to be
+ preserved somewhere.
+ # cd /usr
+ # mkdir include.clean
+ # cd include.clean
+ # (cd ../include; tar Bpcf - . ) | tar Bpxf -
+
+
+B. Kernel build
+===============
+Consult NetBSD documentations for more detail.
+
+B-1. Go down to sys/arch/ARCH/conf.
+ % cd sys/arch/ARCH/conf
+
+B-2. Make a kernel configuration file, and type "config CONFIGFILE".
+ GENERIC.v6 should have commonly used IPv6 definitions, so you may want to
+ copy the file to begin with.
+ % config CONFIGFILE
+
+B-3. Build the kernel. The process will make kernel file named "netbsd".
+ % cd ../../compile/CONFIGFILE
+ % make depend
+ % make
+
+B-4. Copy the kernel file to root directory, as root.
+ # cp netbsd /
+
+
+C. Userland build
+=================
+C-1. Invoke "make includes" as root. This will populate KAME-ready include
+ files into /usr/include.
+ # make includes
+
+C-2. As normal user (or root, if you prefer) perform "make".
+ % make
+
+C-3. As root, perform "make install". This will install necessary userland
+ tools into /usr/local/v6/{bin,sbin,whatever}. This should not replace
+ existing IPv4-only userland tools, so it is safe.
+ # make install
+
+
+D. Reboot
+=========
+D-1. Reboot with the command you like.
+ # fastboot

0 comments on commit 6bfb32f

Please sign in to comment.