Commit 3297709e authored by ROOL's avatar ROOL 🤖
Browse files

This commit was manufactured by cvs2git to create tag 'initial'.

Sprout from master 1998-07-06 13:39:23 UTC Stewart Brodie <sbrodie@gitlab.riscosopen.org> 'Import of source code for Internet support binaries and utilities.'
Delete:
    !MkInstall,fd7
    Makefile
    Resources/!Boot,feb
    Resources/!Run,feb
    Resources/!Sprites,ff9
    Resources/!Sprites22,ff9
    Resources/UK/!Help
    Resources/bin/ARP,ff8
    Resources/bin/IfConfig,ff8
    Resources/bin/InetStat,ff8
    Resources/bin/Ping,ff8
    Resources/bin/Pong,ff8
    Resources/bin/RMFind,ffc
    Resources/bin/Route,ff8
    Resources/bin/ShowStat,ff8
    Resources/bin/Sysctl,ff8
    Resources/bin/TraceRoute,ff8
    Resources/bin/X,ffc
    Resources/files/AUNMap,feb
    Resources/files/Hosts
    Resources/files/Networks
    Resources/files/Protocols
    Resources/files/Services
    Resources/utils/BootNet,feb
    Resources/utils/CheckMem,ffc
    Resources/utils/NewFiler,ff8
    Resources/utils/ReadCMOSIP,ffc
    Resources/utils/TriggerCBs,ffc
parent 0eb2fef0
| 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
# 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
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