shithub: tlsclient

Download patch

ref: d83385cd5d32556689571cf52c64ebbcedebe96b
parent: 6f1f1082657c69408ad0641a724d9a74093b37a3
author: Jacob Moody <[email protected]>
date: Thu Jul 20 13:04:19 EDT 2023

add mount.9ptls to README and tweak install rule

--- a/Makefile
+++ b/Makefile
@@ -61,7 +61,7 @@
 
 .PHONY: mount.9ptls.install
 mount.9ptls.install: mount.9ptls mount.9ptls.8
-	install -Dm755 -t $(PREFIX)/sbin mount.9ptls
+	install -Dm755 -t /sbin mount.9ptls
 	install -Dm644 -T mount.9ptls.8 $(PREFIX)/share/man/man8/mount.9ptls.8
 
 .PHONY: tlsclient.obsd.install
--- a/README
+++ b/README
@@ -5,6 +5,7 @@
 	git-remote-hjgit: git remote helper for using hjgit repos.
 	pam_p9.so: A pam module that authenticates against a 9front auth server.
 	login_-dp9ik: An OpenBSD bsd auth executable that auths against a 9front auth server.
+	mount.9ptls: A Linux mount helper that wraps a traditional Linux v9fs in a tlsclient tunnel.
 
 Most of the tlsclient code is pillaged from jsdrawterm: https://github.com/aiju/jsdrawterm
 The main difference between tlsclient and drawterm is that tlsclient has stripped out the
@@ -20,6 +21,9 @@
 	# with git-remote-hjgit in your $PATH
 	git clone hjgit://shithub.us/user/repo
 
+	# with mount.9ptls in /sbin
+	mount -t 9ptls -o user=moody,port=9090,uid=moody flan n
+
 Building:
 	$ make tlsclient
 
@@ -29,6 +33,12 @@
 	package is required, and a wrapper recipe is provided:
 
 	$ make tlsclient.obsd
+
+Mount Helper:
+	Build:
+		$ make mount.9ptls
+	Install:
+		$ make mount.9ptls.install
 
 OpenBSD Authentication:
 	Build: