From 46439007cf417cbd9ac8049bb4122c890097a0fa Mon Sep 17 00:00:00 2001 From: "Charles.Forsyth" Date: Fri, 22 Dec 2006 20:52:35 +0000 Subject: 20060303-partial --- dis/svc/auth | 13 +++++++++++++ dis/svc/httpd/alarms.dis | Bin 0 -> 481 bytes dis/svc/httpd/cache.dis | Bin 0 -> 1957 bytes dis/svc/httpd/cgiparse.dis | Bin 0 -> 2789 bytes dis/svc/httpd/contents.dis | Bin 0 -> 2297 bytes dis/svc/httpd/date.dis | Bin 0 -> 2487 bytes dis/svc/httpd/echo.dis | Bin 0 -> 1845 bytes dis/svc/httpd/httpd.dis | Bin 0 -> 14440 bytes dis/svc/httpd/imagemap.dis | Bin 0 -> 5321 bytes dis/svc/httpd/parser.dis | Bin 0 -> 10666 bytes dis/svc/httpd/redirect.dis | Bin 0 -> 1236 bytes dis/svc/httpd/stats.dis | Bin 0 -> 1656 bytes dis/svc/net | 6 ++++++ dis/svc/registry | 8 ++++++++ dis/svc/rstyx | 4 ++++ dis/svc/styx | 4 ++++ dis/svc/webget/date.dis | Bin 0 -> 2577 bytes dis/svc/webget/file.dis | Bin 0 -> 684 bytes dis/svc/webget/ftp.dis | Bin 0 -> 3871 bytes dis/svc/webget/http.dis | Bin 0 -> 9923 bytes dis/svc/webget/image2enc.dis | Bin 0 -> 10450 bytes dis/svc/webget/message.dis | Bin 0 -> 2473 bytes dis/svc/webget/webget.dis | Bin 0 -> 5594 bytes dis/svc/webget/wgutils.dis | Bin 0 -> 4062 bytes 24 files changed, 35 insertions(+) create mode 100755 dis/svc/auth create mode 100644 dis/svc/httpd/alarms.dis create mode 100644 dis/svc/httpd/cache.dis create mode 100644 dis/svc/httpd/cgiparse.dis create mode 100644 dis/svc/httpd/contents.dis create mode 100644 dis/svc/httpd/date.dis create mode 100644 dis/svc/httpd/echo.dis create mode 100644 dis/svc/httpd/httpd.dis create mode 100644 dis/svc/httpd/imagemap.dis create mode 100644 dis/svc/httpd/parser.dis create mode 100644 dis/svc/httpd/redirect.dis create mode 100644 dis/svc/httpd/stats.dis create mode 100755 dis/svc/net create mode 100755 dis/svc/registry create mode 100755 dis/svc/rstyx create mode 100755 dis/svc/styx create mode 100644 dis/svc/webget/date.dis create mode 100644 dis/svc/webget/file.dis create mode 100644 dis/svc/webget/ftp.dis create mode 100644 dis/svc/webget/http.dis create mode 100644 dis/svc/webget/image2enc.dis create mode 100644 dis/svc/webget/message.dis create mode 100644 dis/svc/webget/webget.dis create mode 100644 dis/svc/webget/wgutils.dis (limited to 'dis/svc') diff --git a/dis/svc/auth b/dis/svc/auth new file mode 100755 index 00000000..25c8d520 --- /dev/null +++ b/dis/svc/auth @@ -0,0 +1,13 @@ +#!/dis/sh.dis -n +load std +or {ftest -e /net/dns} {ftest -e /env/emuhost} {ndb/dns} +or {ftest -e /net/cs} {ndb/cs} +or {ftest -f /keydb/signerkey} {echo 'auth: need to use createsignerkey(8)' >[1=2]; exit nosignerkey} +or {ftest -f /keydb/keys} {echo 'auth: need to create /keydb/keys' >[1=2]; exit nokeys} +and {auth/keyfs} { + listen -v -t -A 'tcp!*!inflogin' {auth/logind&} + listen -v -t -A 'tcp!*!infkey' {auth/keysrv&} + listen -v -t -A 'tcp!*!infsigner' {auth/signer&} + listen -v -t -A 'tcp!*!infcsigner' {auth/countersigner&} +} +# run svc/registry separately if desired diff --git a/dis/svc/httpd/alarms.dis b/dis/svc/httpd/alarms.dis new file mode 100644 index 00000000..d09bfe1b Binary files /dev/null and b/dis/svc/httpd/alarms.dis differ diff --git a/dis/svc/httpd/cache.dis b/dis/svc/httpd/cache.dis new file mode 100644 index 00000000..6bbc4828 Binary files /dev/null and b/dis/svc/httpd/cache.dis differ diff --git a/dis/svc/httpd/cgiparse.dis b/dis/svc/httpd/cgiparse.dis new file mode 100644 index 00000000..d0373b5e Binary files /dev/null and b/dis/svc/httpd/cgiparse.dis differ diff --git a/dis/svc/httpd/contents.dis b/dis/svc/httpd/contents.dis new file mode 100644 index 00000000..087c712c Binary files /dev/null and b/dis/svc/httpd/contents.dis differ diff --git a/dis/svc/httpd/date.dis b/dis/svc/httpd/date.dis new file mode 100644 index 00000000..b7f7c647 Binary files /dev/null and b/dis/svc/httpd/date.dis differ diff --git a/dis/svc/httpd/echo.dis b/dis/svc/httpd/echo.dis new file mode 100644 index 00000000..58e885bc Binary files /dev/null and b/dis/svc/httpd/echo.dis differ diff --git a/dis/svc/httpd/httpd.dis b/dis/svc/httpd/httpd.dis new file mode 100644 index 00000000..4f48da5f Binary files /dev/null and b/dis/svc/httpd/httpd.dis differ diff --git a/dis/svc/httpd/imagemap.dis b/dis/svc/httpd/imagemap.dis new file mode 100644 index 00000000..b92ed373 Binary files /dev/null and b/dis/svc/httpd/imagemap.dis differ diff --git a/dis/svc/httpd/parser.dis b/dis/svc/httpd/parser.dis new file mode 100644 index 00000000..78fa66a6 Binary files /dev/null and b/dis/svc/httpd/parser.dis differ diff --git a/dis/svc/httpd/redirect.dis b/dis/svc/httpd/redirect.dis new file mode 100644 index 00000000..30ab32a9 Binary files /dev/null and b/dis/svc/httpd/redirect.dis differ diff --git a/dis/svc/httpd/stats.dis b/dis/svc/httpd/stats.dis new file mode 100644 index 00000000..419bf537 Binary files /dev/null and b/dis/svc/httpd/stats.dis differ diff --git a/dis/svc/net b/dis/svc/net new file mode 100755 index 00000000..437c631e --- /dev/null +++ b/dis/svc/net @@ -0,0 +1,6 @@ +#!/dis/sh.dis -n +load std +or {ftest -e /net/dns} {ftest -e /env/emuhost} {ndb/dns} +or {ftest -e /net/cs} {ndb/cs} +svc/registry +svc/styx diff --git a/dis/svc/registry b/dis/svc/registry new file mode 100755 index 00000000..4d183cb3 --- /dev/null +++ b/dis/svc/registry @@ -0,0 +1,8 @@ +#!/dis/sh.dis -n +load std +or {ftest -f /mnt/registry/new} { + db=() + and {ftest -f /lib/ndb/registry} {db=(-f /lib/ndb/registry)} + mount -A -c {ndb/registry $db} /mnt/registry +} +listen -v 'tcp!*!registry' {export /mnt/registry&} # -n? diff --git a/dis/svc/rstyx b/dis/svc/rstyx new file mode 100755 index 00000000..22f1dd09 --- /dev/null +++ b/dis/svc/rstyx @@ -0,0 +1,4 @@ +#!/dis/sh.dis -n +load std +listen 'tcp!*!rstyx' {runas $user auxi/rstyxd&} +#and {ftest -d /net/il} {listen 'il!*!rstyx' {runas $user auxi/rstyxd&}} diff --git a/dis/svc/styx b/dis/svc/styx new file mode 100755 index 00000000..3c5fde8f --- /dev/null +++ b/dis/svc/styx @@ -0,0 +1,4 @@ +#!/dis/sh.dis -n +load std +listen -v 'tcp!*!styx' {export /&} # -n? +#and {ftest -d /net/il} {listen -v 'il!*!styx' {export /&}} # -n? diff --git a/dis/svc/webget/date.dis b/dis/svc/webget/date.dis new file mode 100644 index 00000000..cc7215c5 Binary files /dev/null and b/dis/svc/webget/date.dis differ diff --git a/dis/svc/webget/file.dis b/dis/svc/webget/file.dis new file mode 100644 index 00000000..5e48d9af Binary files /dev/null and b/dis/svc/webget/file.dis differ diff --git a/dis/svc/webget/ftp.dis b/dis/svc/webget/ftp.dis new file mode 100644 index 00000000..74e69843 Binary files /dev/null and b/dis/svc/webget/ftp.dis differ diff --git a/dis/svc/webget/http.dis b/dis/svc/webget/http.dis new file mode 100644 index 00000000..43d20acc Binary files /dev/null and b/dis/svc/webget/http.dis differ diff --git a/dis/svc/webget/image2enc.dis b/dis/svc/webget/image2enc.dis new file mode 100644 index 00000000..f6623625 Binary files /dev/null and b/dis/svc/webget/image2enc.dis differ diff --git a/dis/svc/webget/message.dis b/dis/svc/webget/message.dis new file mode 100644 index 00000000..ca13c127 Binary files /dev/null and b/dis/svc/webget/message.dis differ diff --git a/dis/svc/webget/webget.dis b/dis/svc/webget/webget.dis new file mode 100644 index 00000000..c029eaf4 Binary files /dev/null and b/dis/svc/webget/webget.dis differ diff --git a/dis/svc/webget/wgutils.dis b/dis/svc/webget/wgutils.dis new file mode 100644 index 00000000..40682361 Binary files /dev/null and b/dis/svc/webget/wgutils.dis differ -- cgit v1.2.3