Commit 3d6cd6f4 authored by Neil Turton's avatar Neil Turton

Import from cleaned 370 CD

parents
| Copyright 1996 Acorn Computers Ltd
|
| Licensed under the Apache License, Version 2.0 (the "License");
| you may not use this file except in compliance with the License.
| You may obtain a copy of the License at
|
| http://www.apache.org/licenses/LICENSE-2.0
|
| Unless required by applicable law or agreed to in writing, software
| distributed under the License is distributed on an "AS IS" BASIS,
| WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
| See the License for the specific language governing permissions and
| limitations under the License.
|
Dir <Obey$Dir>
amu_machine install INSTDIR=<Install$Dir>.HardDisc4.!Boot.Resources
This diff is collapsed.
# Copyright 1996 Acorn Computers Ltd
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#
# Makefile for Scrap
#
# ***********************************
# *** C h a n g e L i s t ***
# ***********************************
# Date Name Description
# ---- ---- -----------
# 03-Jul-96 KJB Derived from Scrap makefile
#
#
# Program specific options:
#
COMPONENT = Internet
APP = !${COMPONENT}
RDIR = Resources
LDIR = ${RDIR}.${LOCALE}
INSTDIR = ${INSTDIR}.${APP}
# Generic options:
#
MKDIR = cdir
ATTR = -attr
CP = copy
RM = remove
WIPE = -wipe
CPFLAGS = ~cfr~v
WFLAGS = ~c~v
FILES=\
${RDIR}.!Boot\
${LDIR}.!Help\
${RDIR}.!Run\
${RDIR}.!Sprites\
${RDIR}.!Sprites22\
${RDIR}.bin.ARP\
${RDIR}.bin.IfConfig\
${RDIR}.bin.InetStat\
${RDIR}.bin.Ping\
${RDIR}.bin.RMFind\
${RDIR}.bin.Route\
${RDIR}.bin.ShowStat\
${RDIR}.bin.Sysctl\
${RDIR}.bin.X\
${RDIR}.files.AUNMap\
${RDIR}.files.Hosts\
${RDIR}.files.Networks\
${RDIR}.files.Protocols\
${RDIR}.files.Services\
${RDIR}.utils.BootNet\
${RDIR}.utils.CheckMem\
${RDIR}.utils.NewFiler\
${RDIR}.utils.ReadCMOSIP\
${RDIR}.utils.TriggerCBs
#
# Main rules:
#
all: ${FILES}
@echo ${COMPONENT}: All built (Disc)
install: ${FILES}
${MKDIR} ${INSTDIR}
|
${CP} ${RDIR}.!Boot ${INSTDIR}.!Boot ${CPFLAGS}
${CP} ${LDIR}.!Help ${INSTDIR}.!Help ${CPFLAGS}
${CP} ${RDIR}.!Run ${INSTDIR}.!Run ${CPFLAGS}
${CP} ${RDIR}.!Sprites ${INSTDIR}.!Sprites ${CPFLAGS}
${CP} ${RDIR}.!Sprites22 ${INSTDIR}.!Sprites22 ${CPFLAGS}
${CP} ${RDIR}.bin ${INSTDIR}.bin ${CPFLAGS}
${CP} ${RDIR}.files ${INSTDIR}.files ${CPFLAGS}
${CP} ${RDIR}.utils ${INSTDIR}.utils ${CPFLAGS}
|
${ATTR} -directories +wr -ww ${INSTDIR}
${ATTR} -files +or +ow +wr -ww ${INSTDIR}
|
@echo ${COMPONENT}: All installed (Disc)
clean:
@echo ${COMPONENT}: cleaned
#---------------------------------------------------------------------------
# Dynamic dependencies:
|================================================================|
| Boot file for !Internet V5.00 (23rd May 1996) |
| |
| Copyright (C) Acorn Computers Ltd., 1996 |
|================================================================|
IF "<Inet$Path>" = "" THEN Set Run$Path <Run$Path>,<Obey$Dir>.bin.
IF "<Inet$Path>" = "" THEN Set Inet$Path <Obey$Dir>.
IF "<InetDBase$Path>" = "" THEN Set InetDBase$Path <Obey$Dir>.files.
IconSprites <Obey$Dir>.!Sprites
|================================================================|
| Run file for !Internet V5.00 (21st May 1996) |
| |
| Copyright (C) Acorn Computers Ltd., 1996 |
|================================================================|
IF "<Inet$Path>" = "" THEN Set Run$Path <Run$Path>,<Obey$Dir>.bin.
Set Inet$Path <Obey$Dir>.
Set InetDBase$Path <Obey$Dir>.files.
IconSprites <Obey$Dir>.!Sprites
If "<Inet$Started>" = "Yes" THEN Obey
Unset Inet$Error
RMEnsure UtilityModule 3.50 Error This Internet application requires RISC OS 3 version 3.50 or later to run
Run Inet:utils.CheckMem
Set System$Path_Message System resources not found. Please run !System before !Internet.
IF "<BootResources$Path>" = "" THEN Set BootResources$Path <Boot$Dir>.Resources.
IF "<System$Path>" = "" THEN IfThere BootResources:!System Then /BootResources:!System
Set Alias$RMIfThere SetEval Test$Eval 1|MRMEnsure %%1 0 SetEval Test$Eval 0|MIf Test$Eval THEN %%0 %%1|MUnset Test$Eval
Set Alias$CheckError IF "|<Inet$Error>" <> "" THEN Set Boot$Error |<Inet$Error>||MError |<Inet$Error>
RMIfThere RMKill Net
RMIfThere RMKill NetG
RMIfThere RMKill NetI
RMIfThere RMKill ShareFS
RMIfThere RMKill Freeway
X Unplug InternetA
X Unplug Netmsgs
X Unplug Accmsgs
| An extant Mbuf Manager cannot usually be killed
SetEval Inet$BadMbufManager 0
RMEnsure MbufManager 0.17 SetEval Inet$BadMbufManager 1
IF Inet$BadMbufManager THEN RMEnsure MbufManager 0.00 SetEval Inet$BadMbufManager 0
If Inet$BadMbufManager THEN X Unplug MbufManager
If Inet$BadMbufManager THEN Error Please shutdown the computer, then restart it
Unset Inet$BadMbufManager
RMEnsure AUNMsgs 0.07 RMLoad System:Modules.Network.AUNMsgs
RMEnsure AUNMsgs 0.07 Error !Internet requires AUNMsgs 0.07 or later
RMEnsure Internet 5.02 RMLoad System:Modules.Network.Internet
RMEnsure Internet 5.02 Error !Internet requires Internet 5.02 or later
RMEnsure MbufManager 0.17 RMLoad System:Modules.Network.MManager
RMEnsure MbufManager 0.17 Error !Internet requires MbufManager 0.17 or later
SetEval Inet$KickFiler 0
IfThere Choices:Internet.Startup Then Run Choices:Internet.Startup Else Error Your !Internet application has not yet been configured. Please use InetSetup to configure it.
IfThere Choices:Internet.User Then Run Choices:Internet.User
| Compatibility only
Set Inet$Startup Choices:Internet.Startup
RMIfThere RMReInit NFS
Sysctl -ew net.inet.udp.checksum=1
CheckError
IF "<Inet$IsGateway>" LEFT 1 = "Y" THEN InetGateway on
IF "<Inet$RouteDOptions>" <> "" THEN RMLoad System:Modules.Network.RouteD
If "<Wimp$State>" = "desktop" AND Inet$KickFiler THEN Filer_Run Inet:utils.NewFiler
Unset Inet$KickFiler
Unset Alias$RMIfThere
Unset Alias$CheckError
Set Inet$Started Yes
!Internet version 5.00 (30-May-96)
==================================
This is the Internet resource directory. It stores
configuration settings for the TCP/IP Protocol Suite, plus
its resources such as the Hosts and Services files.
You should use the InetSetup application to configure
Internet.
|===============================================================|
| AUN map file for !Internet V5.00 (3rd May 1996) |
| |
| This file is used if you are running AUN protocols, but have |
| enabled the full TCP/IP Protocol Suite. |
| |
| It allows the software to map between the IP addresses (which |
| take the form of a 4 number sequence) to the Net and Station |
| number style addresses used by Level4 type systems. |
| |
| An entry like 'AddMap 1.0.128.0 128' will tell the software |
| that the IP address 1.0.128.x maps to the AUN address 128.x |
| |
| If you have no AUN Gateways on your system, you will need the |
| default line shown after this note. |
| |
| If you have one or more gateways, then you need a line |
| to tell the software about each network, and also |
| suitable routes must have been set up by !Internet. |
| eg: |
| |
|AddMap 1.2.129.0 129 |
|AddMap 1.3.130.0 130 |
| |
| |
|===============================================================|
AddMap 1.0.128.0 128
#
# Host Database
#
# This file should contain information regarding the known hosts on
# the accessible internet. For each host a single line should be
# present with the following information:
#
# official host name
# Internet address
# aliases
#
# Items are separated by any number of blanks and/or tab characters.
# A ``#'' indicates the beginning of a comment; characters up to the
# end of the line are not interpreted by routines which search the file.
#
# Network addresses are specified in the conventional dot notation, a.b.c.d.
# Host names may contain any printable character other than a field delimiter,
# newline, or comment character.
#
# Examples:
#
# 1.0.0.1 ahost
# 2.0.0.1 anotherhost
# 2.0.0.2 agateway
# 3.0.0.1 remotehost
# Do not alter the loopback entry
#
127.0.0.1 loopback localhost loghost
#
#
# Network Database
#
# This file contains information regarding the known networks which
# comprise an accessible Internet. For each network a single line
# should be present with the following information:
#
# official network name
# network number
# aliases
#
# Items are separated by any number of blanks and/or tab characters.
# A ``#'' indicates the beginning of a comment; characters up to the
# end of the line are not interpreted by routines which search the file.
#
# Network number may be specified in the conventional Internet dot notation.
# Network names may contain any printable character other than a field
# delimiter, newline, or comment character.
#
# Example:
#
# demo-net 1.1 demonstration
#
# Internet Protocol Database
#
# This file contains information regarding the known protocols used
# in the Internet. For each protocol a single line should be present
# with the following information:
#
# official protocol name
# protocol number
# aliases
#
# Items are separated by any number of blanks and/or tab characters.
# A ``#'' indicates the beginning of a comment; characters up to the
# end of the line are not interpreted by routines which search the file.
#
# Protocol names may contain any printable character other than a field
# delimiter, newline, or comment character.
#
# Note: the following entries are valid and should not be changed:
ip 0 IP # internet protocol, pseudo protocol number
icmp 1 ICMP # internet control message protocol
igmp 2 IGMP # Internet Group Management
ggp 3 GGP # gateway-gateway protocol
ipencap 4 IP-ENCAP # IP encapsulated in IP (officially ``IP'')
st 5 ST # ST datagram mode
tcp 6 TCP # transmission control protocol
egp 8 EGP # exterior gateway protocol
pup 12 PUP # PARC universal packet protocol
udp 17 UDP # user datagram protocol
hmp 20 HMP # host monitoring protocol
xns-idp 22 XNS-IDP # Xerox NS IDP
rdp 27 RDP # "reliable datagram" protocol
iso-tp4 29 ISO-TP4 # ISO Transport Protocol class 4
rsvp 46 RSVP # Resource ReSerVation Protocol
vmtp 81 VMTP # Versatile Message Transport
ospf 89 OSPFIGP # Open Shortest Path First IGP
#
# Internet Services Database
#
# This file contains information regarding the known services available
# in the Internet. For each service a single line should be present
# with the following information:
#
# official service name
# port number
# protocol name
# aliases
#
# Items are separated by any number of blanks and/or tab characters.
# The port number and protocol name are considered a single item;
# a ``/'' is used to separate the port and protocol (e.g. ``512/tcp'').
# A ``#'' indicates the beginning of a comment; characters up to the end
# of the line are not interpreted by routines which search the file.
#
# Service names may contain any printable character other than a field
# delimiter, newline, or comment character.
#
# Note: the following entries are valid and should not be changed:
echo 7/tcp
echo 7/udp
discard 9/tcp sink null
discard 9/udp sink null
systat 11/tcp users # Active Users
daytime 13/tcp
daytime 13/udp
netstat 15/tcp
qotd 17/tcp quote # Quote of the Day
chargen 19/tcp ttytst source # Character Generator
chargen 19/udp ttytst source # Character Generator
ftp-data 20/tcp # File Transfer [Default Data]
ftp 21/tcp # File Transfer [Control]
telnet 23/tcp
smtp 25/tcp mail # Simple Mail Transfer
time 37/tcp timserver
time 37/udp timserver
rlp 39/udp resource # Resource Location Protocol
nameserver 42/tcp name # Host Name Server
nicname 43/tcp whois
domain 53/tcp nameserver # Domain Name Server
domain 53/udp nameserver # Domain Name Server
bootps 67/udp dhcps # Bootstrap Protocol Server
bootpc 68/udp dhcpc # Bootstrap Protocol Client
tftp 69/udp # Trivial File Transfer
gopher 70/tcp
gopher 70/udp
finger 79/tcp
http 80/tcp www www-http # World Wide Web HTTP
hostname 101/tcp hostnames # NIC Host Name Server
pop2 109/tcp postoffice # Post Office Protocol v2
pop3 110/tcp # Post Office Protocol v3
sunrpc 111/tcp rpcbind # SUN Remote Procedure Call
sunrpc 111/udp rpcbind # SUN Remote Procedure Call
auth 113/tcp ident tap # Authentication Service
sftp 115/tcp # Simple File Transfer Protocl
uucp-path 117/tcp # UUCP Path Service
nntp 119/tcp usenet # Network News Transfer Protocol
ntp 123/udp # Network Time Protocol
netbios-ns 137/udp # NETBIOS Name Service
netbios-dgm 138/udp # NETBIOS Datagram Service
netbios-ssn 139/tcp # NETBIOS Session Service
snmp 161/udp
snmptrap 162/udp snmp-trap
#
# Berkeley-specific services
#
exec 512/tcp
biff 512/udp comsat
login 513/tcp
who 513/udp whod
shell 514/tcp cmd # no passwords used
syslog 514/udp
printer 515/tcp spooler # line printer spooler
talk 517/udp
ntalk 518/udp
efs 520/tcp # for LucasFilm
route 520/udp router routed
timed 525/udp timeserver
tempo 526/tcp newdate
courier 530/tcp rpc
conference 531/tcp chat
netnews 532/tcp readnews
netwall 533/udp # -for emergency broadcasts
uucp 540/tcp uucpd # uucp daemon
remotefs 556/tcp rfs_server rfs # Brunhoff remote filesystem
#
# Acorn-specific services
#
aun-data 32768/udp
aun-atp 32769/udp
freeway1 32770/udp
freeway2 32771/udp
sharefs 49171/udp
|================================================================|
| Simple AUN BootNet - used only for softloading AUN onto a |
| standard AUN station. |
| |
| Only for use of InetSetup-generated startup scripts. |
| |
| Copyright (C) Acorn Computers Ltd., 1996 |
|=================================================================
IF "<Inet$HostName>" <> "" AND "<Inet$HostName>" <> "ARM_NoName" THEN Error BootNet should not be run after !Internet. Use InetSetup to configure AUN + TCP/IP.
IF "<Wimp$State>" = "desktop" THEN Error BootNet should only be run outside the desktop
Set Alias$RMIfThere SetEval Test$Eval 1|MRMEnsure %%1 0 SetEval Test$Eval 0|MIf Test$Eval THEN %%0 %%1|MUnset Test$Eval
|
| Check for RISC OS 3.50 or later
|
RMEnsure UtilityModule 3.50 Error This AUN BootNet requires RISC OS 3 (v3.50) or later
Set System$Path_Message System resources not found. Please run !System before !BootNet
IF "<System$Path>" = "" THEN IfThere Boot:Resources.!System then Run Boot:Resources.!System
|
| Boot !Internet
|
Run <Obey$Dir>.^.!Boot
|
| Required to get Net to load
|
Set BootNet$File Net
|
| Load Net
|
RMEnsure Net 6.17 RMLoad System:Modules.Network.Net
RMEnsure Net 6.17 Error you need Net 6.17 or later to use AUN
|
| Load a device driver, if required
|
IF "<Net$Device>" <> "" THEN Run System:Modules.Network.<Net$Device>
|
| If necessary, restart Access
|
RMIfThere RMReInit ShareFS
|
| Start up NetFS, etc.
|
RMEnsure NetFS 0 RMReInit NetFS
RMEnsure NetFS 5.79 RMEnsure NetUtils 0.99 Run System:Modules.Network.NetUtils
RMEnsure NetPrint 0 RMReInit NetPrint
RMEnsure NetFiler 0 RMReInit NetFiler
Unset Inet$Restart
Unset Alias$RMIfThere
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment