git: 58dcb4634426 - main - archivers/appscript: New port: Very lightweight script to create self-extractable archives

From: Jesús Daniel Colmenares Oviedo <dtxdf_at_FreeBSD.org>
Date: Tue, 31 Mar 2026 04:49:10 UTC
The branch main has been updated by dtxdf:

URL: https://cgit.FreeBSD.org/ports/commit/?id=58dcb46344263d1aad07a88815b83730a3e26302

commit 58dcb46344263d1aad07a88815b83730a3e26302
Author:     Jesús Daniel Colmenares Oviedo <dtxdf@FreeBSD.org>
AuthorDate: 2026-03-31 04:47:54 +0000
Commit:     Jesús Daniel Colmenares Oviedo <dtxdf@FreeBSD.org>
CommitDate: 2026-03-31 04:47:54 +0000

    archivers/appscript: New port: Very lightweight script to create self-extractable archives
    
    appscript is a very lightweight script that compresses a directory
    using tar(1), encodes the result with base64(1), and then creates
    a sh(1) script that decompresses that result into a temporary
    location (optionally using tmpfs(4)), and finally executes a script
    named APPSCRIPT from the current working directory.
    
    WWW: https://github.com/DtxdF/appscript
---
 archivers/Makefile            |  1 +
 archivers/appscript/Makefile  | 21 +++++++++++++++++++++
 archivers/appscript/distinfo  |  3 +++
 archivers/appscript/pkg-descr |  5 +++++
 4 files changed, 30 insertions(+)

diff --git a/archivers/Makefile b/archivers/Makefile
index 5fe6b92e5b38..56fa9fccb1ac 100644
--- a/archivers/Makefile
+++ b/archivers/Makefile
@@ -8,6 +8,7 @@
     SUBDIR += amigadepacker
     SUBDIR += ancient
     SUBDIR += apache-commons-compress
+    SUBDIR += appscript
     SUBDIR += arc
     SUBDIR += arj
     SUBDIR += ark
diff --git a/archivers/appscript/Makefile b/archivers/appscript/Makefile
new file mode 100644
index 000000000000..cc15e58e6646
--- /dev/null
+++ b/archivers/appscript/Makefile
@@ -0,0 +1,21 @@
+PORTNAME=	appscript
+DISTVERSIONPREFIX=	v
+DISTVERSION=	0.0.4
+CATEGORIES=	archivers
+
+MAINTAINER=	dtxdf@FreeBSD.org
+COMMENT=	Very lightweight script to create self-extractable archives
+
+LICENSE=	BSD3CLAUSE
+LICENSE_FILE=	${WRKSRC}/LICENSE
+
+USE_GITHUB=	yes
+GH_ACCOUNT=	DtxdF
+
+NO_ARCH=	yes
+NO_BUILD=	yes
+
+PLIST_FILES=	bin/appscript \
+		share/man/man1/appscript.1.gz
+
+.include <bsd.port.mk>
diff --git a/archivers/appscript/distinfo b/archivers/appscript/distinfo
new file mode 100644
index 000000000000..a0dd3ca13219
--- /dev/null
+++ b/archivers/appscript/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1774932296
+SHA256 (DtxdF-appscript-v0.0.4_GH0.tar.gz) = 529db5f580d92f95df51584be84ec1a8538d6cb007afefa736de2f6801898cb2
+SIZE (DtxdF-appscript-v0.0.4_GH0.tar.gz) = 4298
diff --git a/archivers/appscript/pkg-descr b/archivers/appscript/pkg-descr
new file mode 100644
index 000000000000..9b61c5c7b3ac
--- /dev/null
+++ b/archivers/appscript/pkg-descr
@@ -0,0 +1,5 @@
+appscript is a very lightweight script that compresses a directory
+using tar(1), encodes the result with base64(1), and then creates
+a sh(1) script that decompresses that result into a temporary
+location (optionally using tmpfs(4)), and finally executes a script
+named APPSCRIPT from the current working directory.