git: 9front

Download patch

ref: 0babc3b7a747cce9d20e4b74a2408e9cfd9be44b
parent: 0d7123e496c1964cb5304e0eca7333a965661df7
author: Jacob Moody <moody@posixcafe.org>
date: Wed Oct 8 21:16:32 EDT 2025

all: update references to the repo to its new location

--- a/rc/bin/inst/copydist
+++ b/rc/bin/inst/copydist
@@ -5,12 +5,12 @@
 
 switch($1){
 case checkready
-	if(! test -d /n/dist/dist/plan9front){
+	if(! test -d /n/dist/dist/9front){
 		copydist=notdone
 		export copydist
 		exit
 	}
-	if(test -d /n/newfs/dist/plan9front && test -f /tmp/copydone){
+	if(test -d /n/newfs/dist/9front && test -f /tmp/copydone){
 		copydist=done
 		export copydist
 		exit
--- a/rc/bin/inst/mountdist
+++ b/rc/bin/inst/mountdist
@@ -11,12 +11,12 @@
 }
 
 fn exitifdone{
-	if(test -d /n/dist/dist/plan9front)
+	if(test -d /n/dist/dist/9front)
 		exit
 }
 
 fn havedist {
-	test -d $1/dist/plan9front
+	test -d $1/dist/9front
 }
 
 switch($1){
@@ -134,7 +134,7 @@
 
 	exitifdone
 
-	if(test -d /n/distmedia/$distmediadir/dist/plan9front){
+	if(test -d /n/distmedia/$distmediadir/dist/9front){
 		bind /n/distmedia/$distmediadir /n/dist
 		exitifdone
 		mountdist=notdone
--- a/rc/bin/sysinfo
+++ b/rc/bin/sysinfo
@@ -44,7 +44,7 @@
 	logprog cat '#A/audiostat'
 	logprog cat '#A/volume'
 	logprog cat /mnt/apm/ctl
-	logprog cat /dist/plan9front/.git/refs/remotes/THEM/front
+	logprog cat /dist/9front/.git/refs/remotes/THEM/front
 }
 fn post{
 	file=/tmp/sysinfo.$user.$pid
--- a/sys/lib/dist/mkfile
+++ b/sys/lib/dist/mkfile
@@ -250,7 +250,7 @@
 	}
 
 binds:V:
-	test -d /n/src9/.git && bind /n/src9 /n/src9/dist/plan9front
+	test -d /n/src9/.git && bind /n/src9 /n/src9/dist/9front
 	bind cfg /n/src9/cfg
 	bind mail/lib /n/src9/mail/lib
 	bind ndb /n/src9/lib/ndb
--- a/sys/lib/rootstub
+++ b/sys/lib/rootstub
@@ -113,7 +113,7 @@
 mkdir -p arm64/lib/ape
 mkdir -p cfg/pxe
 mkdir -p cron
-mkdir -p dist/plan9front
+mkdir -p dist/9front
 mkdir -p lib/audio/icon
 mkdir -p lib/firmware
 mkdir -p lib/ndb/dhcp
--- a/sys/lib/sysconfig/proto/distproto
+++ b/sys/lib/sysconfig/proto/distproto
@@ -438,7 +438,7 @@
 		tmp	d775
 
 dist	d775
-	plan9front	d775
+	9front	d775
 		uid=glenda
 		.git		d775
 			+
--- a/sys/man/1/mothra
+++ b/sys/man/1/mothra
@@ -22,7 +22,7 @@
 .IP
 .EX
 http://9front.org/
-https://code.9front.org/hg/plan9front/
+https://git.9front.org/plan9front/9front/HEAD/info.html
 http://cat-v.org/
 .EE
 .PP
--- a/sys/man/1/sysinfo
+++ b/sys/man/1/sysinfo
@@ -40,7 +40,7 @@
 the following commands:
 .IP
 .EX
-bind -ac /dist/plan9front /
+bind -ac /dist/9front /
 git/pull -u $repo
 .EE
 .SH SOURCE
--