1
0
mirror of https://github.com/PDP-10/its.git synced 2026-02-27 01:09:49 +00:00

Move ITS configuration to a directory called conf.

This commit is contained in:
Lars Brinkhoff
2017-02-23 17:59:34 +01:00
committed by Eric Swenson
parent 031bfdfccc
commit 9157934d7e
5 changed files with 22 additions and 13 deletions

View File

@@ -1,15 +1,6 @@
EMULATOR ?= simh
# Network configuration for ITS. Note: for now, the two-letter ITS
# name is hardcoded to DB, which is short for DistriBution.
HOSTNAME=DB-ITS.EXAMPLE.COM
IP=192.168.1.100
GW=192.168.0.45
NETMASK=255,255,255,248
CHAOS=no #Or octal Chaosnet address
CHAFRIENDS=chip=3150/no.nocrew.org \
chip=3143/up.update.uu.se \
chip=7100/sj.gewt.net
include conf/network
# The directores listed in SRC, DOC, and BIN are put on the sources tape.
SRC = system syseng sysen1 sysen2 sysen3 sysnet kshack dragon channa \
@@ -89,6 +80,7 @@ src/syshst/$(H3TEXT): build/$(H3TEXT)
sed -e 's/%IP%/$(IP)/' \
-e 's/%HOSTNAME%/$(HOSTNAME)/' \
-e "s/%CHAOS%/$$c/" < $< > $@
cat conf/hosts >> $@
$(KLH10):
cd tools/klh10; \

View File

@@ -57,6 +57,7 @@ six-character parts separated by a period.
Here is an overview of the repository:
- bin - PDP-10 binary files necessary to bootstrap the system.
- build - build scripts.
- conf - configuration for building ITS.
- doc - documentation, most of which appear in the INFO system.
- src - source code for ITS and all programs.
- tools - build tools.
@@ -276,6 +277,6 @@ matches the address configured in SYSTEM; CONFIG > (as IMPUS3). Finally,
the HOST table source (SYSHST; H3TEXT >) and binary (SYSBIN; HOSTS3 >)
defined a host called DB-ITS.EXAMPLE.COM at the IP address 192.168.1.100.
In order to change the IP address of the host, you can edit the
top-level Makefile variables IP, GW, and NETMASK. After that, a full
rebuild (e.g. `make clean all`) is required.
In order to change the IP address of the host, you can edit IP, GW,
and NETMASK in the file conf/network. You can also set a Chaosnet
address. After that, a full rebuild (e.g. `make clean all`) is required.

5
conf/README Normal file
View File

@@ -0,0 +1,5 @@
This directory contains files with information to configure
the build of ITS.
network - Network configuration.
hosts - Added to the hosts table.

1
conf/hosts Normal file
View File

@@ -0,0 +1 @@
; Additional hosts. Use H3TEXT format.

10
conf/network Normal file
View File

@@ -0,0 +1,10 @@
# Network configuration for ITS. Note: for now, the two-letter ITS
# name is hardcoded to DB, which is short for DistriBution.
HOSTNAME=DB-ITS.EXAMPLE.COM
IP=192.168.1.100
GW=192.168.0.45
NETMASK=255,255,255,248
CHAOS=no #Or octal Chaosnet address
CHAFRIENDS=chip=3150/no.nocrew.org \
chip=3143/up.update.uu.se \
chip=7100/sj.gewt.net