Browse Source

Plan 9 from Bell Labs 2007-06-02

David du Colombier 14 years ago
parent
commit
171f2b792e
5 changed files with 56 additions and 6 deletions
  1. 4 3
      dist/replica/_plan9.db
  2. 3 1
      dist/replica/plan9.db
  3. 3 0
      dist/replica/plan9.log
  4. 44 0
      lib/rfc/grabrfc
  5. 2 2
      sys/man/8/6in4

+ 4 - 3
dist/replica/_plan9.db

@@ -317,7 +317,7 @@
 386/bin/ip/rlogind - 775 sys sys 1178568290 66192
 386/bin/ip/telnetd - 775 sys sys 1179372096 121990
 386/bin/ip/tftpd - 775 sys sys 1179372096 130740
-386/bin/ip/traceroute - 775 sys sys 1179804021 72750
+386/bin/ip/traceroute - 775 sys sys 1180668259 72750
 386/bin/ip/udpecho - 775 sys sys 1178508500 43095
 386/bin/join - 775 sys sys 1168402330 114382
 386/bin/jpg - 775 sys sys 1179372097 174971
@@ -5245,6 +5245,8 @@ lib/ndb/local.complicated - 664 sys sys 1105461604 2976
 lib/ndb/nfs - 664 sys sys 954036707 113
 lib/news - 20000000775 sys sys 1020895764 0
 lib/pci - 664 sys sys 1160617172 206912
+lib/rfc - 20000000775 sys sys 1180723363 0
+lib/rfc/grabrfc - 775 sys sys 1180724499 804
 lib/sky - 20000000775 sys sys 1079376081 0
 lib/sky/abell.scat - 444 sys sys 954015738 86784
 lib/sky/bayer.scat - 444 sys sys 954015738 12136
@@ -7767,7 +7769,7 @@ sys/man/7/playlistfs - 664 sys sys 1103794042 3831
 sys/man/7/scat - 664 sys sys 970069855 8904
 sys/man/8 - 20000000775 sys sys 1162240005 0
 sys/man/8/0intro - 664 sys sys 944959679 247
-sys/man/8/6in4 - 664 sys sys 1180653391 1850
+sys/man/8/6in4 - 664 sys sys 1180719862 1850
 sys/man/8/9load - 664 sys sys 1094676489 9170
 sys/man/8/9pcon - 664 sys sys 1145881850 2234
 sys/man/8/INDEX - 664 sys sys 1178249215 2888
@@ -15838,4 +15840,3 @@ usr/glenda/lib/profile - 664 glenda glenda 1105128663 890
 usr/glenda/readme.acme - 664 glenda glenda 1019860628 4753
 usr/glenda/readme.rio - 664 glenda glenda 1019860628 6370
 usr/glenda/tmp - 20000000775 glenda glenda 1018802620 0
-386/bin/ip/traceroute - 775 sys sys 1180668259 72750

+ 3 - 1
dist/replica/plan9.db

@@ -5245,6 +5245,8 @@ lib/ndb/local.complicated - 664 sys sys 1105461604 2976
 lib/ndb/nfs - 664 sys sys 954036707 113
 lib/news - 20000000775 sys sys 1020895764 0
 lib/pci - 664 sys sys 1160617172 206912
+lib/rfc - 20000000775 sys sys 1180723363 0
+lib/rfc/grabrfc - 775 sys sys 1180724499 804
 lib/sky - 20000000775 sys sys 1079376081 0
 lib/sky/abell.scat - 444 sys sys 954015738 86784
 lib/sky/bayer.scat - 444 sys sys 954015738 12136
@@ -7767,7 +7769,7 @@ sys/man/7/playlistfs - 664 sys sys 1103794042 3831
 sys/man/7/scat - 664 sys sys 970069855 8904
 sys/man/8 - 20000000775 sys sys 1162240005 0
 sys/man/8/0intro - 664 sys sys 944959679 247
-sys/man/8/6in4 - 664 sys sys 1180653391 1850
+sys/man/8/6in4 - 664 sys sys 1180719862 1850
 sys/man/8/9load - 664 sys sys 1094676489 9170
 sys/man/8/9pcon - 664 sys sys 1145881850 2234
 sys/man/8/INDEX - 664 sys sys 1178249215 2888

+ 3 - 0
dist/replica/plan9.log

@@ -49121,3 +49121,6 @@
 1180652423 2 c sys/src/cmd/ip/traceroute.c - 664 sys sys 1180651317 8699
 1180654222 0 c sys/man/8/6in4 - 664 sys sys 1180653391 1850
 1180668640 0 c 386/bin/ip/traceroute - 775 sys sys 1180668259 72750
+1180720823 0 c sys/man/8/6in4 - 664 sys sys 1180719862 1850
+1180724424 0 a lib/rfc - 20000000775 sys sys 1180723363 0
+1180726223 0 a lib/rfc/grabrfc - 775 sys sys 1180724499 804

+ 44 - 0
lib/rfc/grabrfc

@@ -0,0 +1,44 @@
+#!/bin/rc
+# grabrfc - copy new rfcs and drafts into /lib/rfc
+rfork en
+path=(/bin)
+fn cd
+dom=`{ndb/query sys $sysname dom}
+
+ramfs
+ftpfs -q/ -a $user@$dom ftp.isi.edu
+
+found=no
+LIB=/lib/rfc
+cd /n/ftp/in-notes
+for(i in rfc*){
+	target=`{echo $i | sed '
+s/.txt$//
+s/rfc0*/rfc/'}
+	if(test ! -e $LIB/$target && test -f $i){
+		cp $i $LIB/$target
+		chmod 664 $LIB/$target
+		found=yes
+		echo $target
+	}
+}
+if (~ $found yes)
+	tr A-Z a-z <rfc-index.txt | sed 's/^0*//' |
+		sed 's/^[0-9]/rfc&/' >$LIB/index
+unmount /n/ftp
+
+ftpfs -q/ -a $user@$dom ftp.ietf.org
+
+# copy in new ones
+found=no
+LIB=/lib/rfc/drafts
+cd /n/ftp/internet-drafts
+for(i in *){
+	target=$i
+	if (test ! -e $LIB/$target && test -f $i &&
+	    test `{ls -s $i | sed 's/ .*//'} -ge 2){
+		cp $i $LIB/$target
+		chmod 664 $LIB/$target
+		echo drafts/$i
+	}
+}

+ 2 - 2
sys/man/8/6in4

@@ -10,11 +10,11 @@
 .I netmtpt
 ] [
 .IB local6[ / mask]
-] [
+[
 .I remote4
 [
 .I remote6
-] ]
+] ] ]
 .B &
 .SH DESCRIPTION
 .I 6in4