aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJesús Daniel Colmenares Oviedo <dtxdf@FreeBSD.org>2026-10-02 06:14:43 +0000
committerJesús Daniel Colmenares Oviedo <dtxdf@FreeBSD.org>2026-10-02 19:43:48 +0000
commit80d8c17f7c54aba7c8c02ed54d23acc84bf27487 (patch)
tree3fb8e64561a929862792e64bb9ce105b9fd5d769
parent19a9ceaaf063080d78522e3c22cab57a87c440a5 (diff)
sysutils/jtransfer: New port: Securely transfer files between jails
jtransfer is a lightweight tool for reading a file from a FreeBSD jail and writing it to standard output, or for reading from standard input and writing the content as a file inside a FreeBSD jail. The transfer is implemented essentially using a standard pipe(2), following the typical Unix way. WWW: https://github.com/DtxdF/jtransfer/ MFH: 2026Q4 (cherry picked from commit 463fab189c3a2b6de955be6ff346966a6ce35af5)
-rw-r--r--sysutils/Makefile1
-rw-r--r--sysutils/jtransfer/Makefile20
-rw-r--r--sysutils/jtransfer/distinfo3
-rw-r--r--sysutils/jtransfer/pkg-descr5
4 files changed, 29 insertions, 0 deletions
diff --git a/sysutils/Makefile b/sysutils/Makefile
index c4e7742273dd..b75c929ab50f 100644
--- a/sysutils/Makefile
+++ b/sysutils/Makefile
@@ -608,6 +608,7 @@
SUBDIR += jstest-gtk
SUBDIR += jtop
SUBDIR += jtopen
+ SUBDIR += jtransfer
SUBDIR += jvmtop
SUBDIR += k3b
SUBDIR += k8temp
diff --git a/sysutils/jtransfer/Makefile b/sysutils/jtransfer/Makefile
new file mode 100644
index 000000000000..ab8d0d7d886b
--- /dev/null
+++ b/sysutils/jtransfer/Makefile
@@ -0,0 +1,20 @@
+PORTNAME= jtransfer
+DISTVERSIONPREFIX= v
+DISTVERSION= 0.1.0
+CATEGORIES= sysutils
+
+MAINTAINER= dtxdf@FreeBSD.org
+COMMENT= Securely transfer files between jails
+
+LICENSE= BSD3CLAUSE
+LICENSE_FILE= ${WRKSRC}/LICENSE
+
+USE_GITHUB= yes
+GH_ACCOUNT= DtxdF
+
+PLIST_FILES= bin/jtransfer \
+ share/man/man1/jtransfer.1.gz
+
+ALL_TARGET= build
+
+.include <bsd.port.mk>
diff --git a/sysutils/jtransfer/distinfo b/sysutils/jtransfer/distinfo
new file mode 100644
index 000000000000..e33cebb944fa
--- /dev/null
+++ b/sysutils/jtransfer/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1790921122
+SHA256 (DtxdF-jtransfer-v0.1.0_GH0.tar.gz) = ac52b6424c30e8e60f67725c2e596ce710b06f6fcaf78402edc410543ee4caad
+SIZE (DtxdF-jtransfer-v0.1.0_GH0.tar.gz) = 7211
diff --git a/sysutils/jtransfer/pkg-descr b/sysutils/jtransfer/pkg-descr
new file mode 100644
index 000000000000..7be988b71a00
--- /dev/null
+++ b/sysutils/jtransfer/pkg-descr
@@ -0,0 +1,5 @@
+jtransfer is a lightweight tool for reading a file from a FreeBSD jail
+and writing it to standard output, or for reading from standard input and
+writing the content as a file inside a FreeBSD jail. The transfer is
+implemented essentially using a standard pipe(2), following the typical
+Unix way.