summaryrefslogtreecommitdiff
path: root/sysutils/nitro
diff options
context:
space:
mode:
Diffstat (limited to 'sysutils/nitro')
-rw-r--r--sysutils/nitro/Makefile19
-rw-r--r--sysutils/nitro/distinfo3
-rw-r--r--sysutils/nitro/files/patch-Makefile8
-rw-r--r--sysutils/nitro/pkg-descr6
-rw-r--r--sysutils/nitro/pkg-plist4
5 files changed, 40 insertions, 0 deletions
diff --git a/sysutils/nitro/Makefile b/sysutils/nitro/Makefile
new file mode 100644
index 000000000000..5a27a8d2a426
--- /dev/null
+++ b/sysutils/nitro/Makefile
@@ -0,0 +1,19 @@
+PORTNAME= nitro
+DISTVERSION= 0.3
+CATEGORIES= sysutils
+MASTER_SITES= https://git.vuxu.org/nitro/snapshot/
+
+MAINTAINER= jsmith@resonatingmedia.com
+COMMENT= Minimal init implementation and process supervisor
+WWW= https://git.vuxu.org/nitro/about/
+
+LICENSE= ISCL
+LICENSE_FILE= ${WRKSRC}/LICENSE
+
+do-install:
+ ${INSTALL_PROGRAM} ${WRKSRC}/nitro ${STAGEDIR}${PREFIX}/bin/nitro
+ ${INSTALL_PROGRAM} ${WRKSRC}/nitroctl ${STAGEDIR}${PREFIX}/bin/nitroctl
+ ${INSTALL_MAN} ${WRKSRC}/nitro.8 ${STAGEDIR}${PREFIX}/share/man/man8/
+ ${INSTALL_MAN} ${WRKSRC}/nitroctl.1 ${STAGEDIR}${PREFIX}/share/man/man1/
+
+.include <bsd.port.mk>
diff --git a/sysutils/nitro/distinfo b/sysutils/nitro/distinfo
new file mode 100644
index 000000000000..a600f0ee3da7
--- /dev/null
+++ b/sysutils/nitro/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1756646642
+SHA256 (nitro-0.3.tar.gz) = 5672190ad8527b96875e75886dc8785373020e3ed53511c1758c8c7debd6999a
+SIZE (nitro-0.3.tar.gz) = 19589
diff --git a/sysutils/nitro/files/patch-Makefile b/sysutils/nitro/files/patch-Makefile
new file mode 100644
index 000000000000..0b513a644e0b
--- /dev/null
+++ b/sysutils/nitro/files/patch-Makefile
@@ -0,0 +1,8 @@
+--- Makefile.orig 2025-09-01 16:57:47 UTC
++++ Makefile
+@@ -1,4 +1,4 @@
+-CFLAGS=-Os -Wall -Wno-unused-parameter -Wextra -Wwrite-strings
++CFLAGS+=-Wall -Wno-unused-parameter -Wextra -Wwrite-strings
+
+ ALL=nitro nitroctl
+
diff --git a/sysutils/nitro/pkg-descr b/sysutils/nitro/pkg-descr
new file mode 100644
index 000000000000..d6695ea61e35
--- /dev/null
+++ b/sysutils/nitro/pkg-descr
@@ -0,0 +1,6 @@
+Nitro is a tiny process supervisor that also can be used as PID 1 on
+Unix-like systems.
+
+It can run as an unprivileged supervision daemon on POSIX systems.
+Nitro is configured by a directory of scripts, defaulting to /etc/nitro
+or the first command line argument.
diff --git a/sysutils/nitro/pkg-plist b/sysutils/nitro/pkg-plist
new file mode 100644
index 000000000000..35ec49e38f32
--- /dev/null
+++ b/sysutils/nitro/pkg-plist
@@ -0,0 +1,4 @@
+bin/nitro
+bin/nitroctl
+share/man/man8/nitro.8.gz
+share/man/man1/nitroctl.1.gz