pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/sysutils/dinit



Module Name:    pkgsrc
Committed By:   imil
Date:           Tue Jan 28 06:26:33 UTC 2025

Added Files:
        pkgsrc/sysutils/dinit: DESCR Makefile PLIST distinfo
        pkgsrc/sysutils/dinit/patches: patch-configure

Log Message:
Initial import of dinit, version 0.19.3, into the NetBSD Packages Collection.


To generate a diff of this commit:
cvs rdiff -u -r0 -r1.1 pkgsrc/sysutils/dinit/DESCR \
    pkgsrc/sysutils/dinit/Makefile pkgsrc/sysutils/dinit/PLIST \
    pkgsrc/sysutils/dinit/distinfo
cvs rdiff -u -r0 -r1.1 pkgsrc/sysutils/dinit/patches/patch-configure

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Added files:

Index: pkgsrc/sysutils/dinit/DESCR
diff -u /dev/null pkgsrc/sysutils/dinit/DESCR:1.1
--- /dev/null   Tue Jan 28 06:26:33 2025
+++ pkgsrc/sysutils/dinit/DESCR Tue Jan 28 06:26:33 2025
@@ -0,0 +1,7 @@
+Dinit is a service supervisor with dependency support which can also act as the
+system "init" program. It was created with the intention of providing a portable
+init system with dependency management, that was functionally superior to many
+extant inits. Development goals include clean design, robustness, portability,
+usability, and avoiding feature bloat (whilst still handling common - and some
+less-common - use cases). Dinit is designed to integrate with rather than
+subsume or replace other system software.
Index: pkgsrc/sysutils/dinit/Makefile
diff -u /dev/null pkgsrc/sysutils/dinit/Makefile:1.1
--- /dev/null   Tue Jan 28 06:26:33 2025
+++ pkgsrc/sysutils/dinit/Makefile      Tue Jan 28 06:26:33 2025
@@ -0,0 +1,19 @@
+# $NetBSD: Makefile,v 1.1 2025/01/28 06:26:33 imil Exp $
+
+DISTNAME=      dinit-0.19.3
+CATEGORIES=    sysutils
+MASTER_SITES=  ${MASTER_SITE_GITHUB:=davmac314/}
+GITHUB_TAG=    v${PKGVERSION_NOREV}
+
+MAINTAINER=    pkgsrc-users%NetBSD.org@localhost
+HOMEPAGE=      https://github.com/davmac314/dinit/
+COMMENT=       Service supervision system and init system
+LICENSE=       apache-2.0
+
+USE_LANGUAGES=         c++
+USE_TOOLS+=            gmake
+HAS_CONFIGURE=         yes
+CONFIGURE_ARGS+=       --exec-prefix=${PREFIX}
+CONFIGURE_ARGS+=       --mandir=${PREFIX}/${PKGMANDIR}
+
+.include "../../mk/bsd.pkg.mk"
Index: pkgsrc/sysutils/dinit/PLIST
diff -u /dev/null pkgsrc/sysutils/dinit/PLIST:1.1
--- /dev/null   Tue Jan 28 06:26:33 2025
+++ pkgsrc/sysutils/dinit/PLIST Tue Jan 28 06:26:33 2025
@@ -0,0 +1,10 @@
+@comment $NetBSD: PLIST,v 1.1 2025/01/28 06:26:33 imil Exp $
+man/man5/dinit-service.5
+man/man8/dinit-monitor.8
+man/man8/dinit.8
+man/man8/dinitcheck.8
+man/man8/dinitctl.8
+sbin/dinit
+sbin/dinit-monitor
+sbin/dinitcheck
+sbin/dinitctl
Index: pkgsrc/sysutils/dinit/distinfo
diff -u /dev/null pkgsrc/sysutils/dinit/distinfo:1.1
--- /dev/null   Tue Jan 28 06:26:33 2025
+++ pkgsrc/sysutils/dinit/distinfo      Tue Jan 28 06:26:33 2025
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.1 2025/01/28 06:26:33 imil Exp $
+
+BLAKE2s (dinit-0.19.3.tar.gz) = 0ba4864cfbcce075c09469b97827bc84be1a3f51459d8cb8bab0a3b4c3efd434
+SHA512 (dinit-0.19.3.tar.gz) = 541ade391ed6fd43da394e19152ba63267614742a60b8e219e03db1ef91dd1c884e157aaad020c2e08b0e3b580a0dd7deb1b17392fdae5691d4062e5a17d02b6
+Size (dinit-0.19.3.tar.gz) = 372252 bytes
+SHA1 (patch-configure) = 68c5f9ecac565cb5cd03620508385aa2cc861e9c

Index: pkgsrc/sysutils/dinit/patches/patch-configure
diff -u /dev/null pkgsrc/sysutils/dinit/patches/patch-configure:1.1
--- /dev/null   Tue Jan 28 06:26:33 2025
+++ pkgsrc/sysutils/dinit/patches/patch-configure       Tue Jan 28 06:26:33 2025
@@ -0,0 +1,24 @@
+$NetBSD: patch-configure,v 1.1 2025/01/28 06:26:33 imil Exp $
+
+Enable NetBSD as a supported platform
+
+--- configure.orig     2025-01-07 12:31:49.000000000 +0000
++++ configure
+@@ -328,10 +328,13 @@ fi
+ [ -z "${STRIPOPTS+IS_SET}" ] && STRIPOPTS="-s"
+ 
+ ## Verify PLATFORM value
+-if [ "$PLATFORM" != "Linux" ] && [ "$PLATFORM" != "FreeBSD" ] && \
+-[ "$PLATFORM" != "OpenBSD" ] && [ "$PLATFORM" != "Darwin" ]; then
+-    warning "$PLATFORM platform is unknown!" "Known Platforms are: Linux, FreeBSD, OpenBSD, Darwin"
+-fi
++case "$PLATFORM" in
++Linux|FreeBSD|NetBSD|OpenBSD|Darwin)
++    ;;
++*) warning "$PLATFORM platform is unknown!" \
++   "Known Platforms are: Linux, FreeBSD, NetBSD, OpenBSD, Darwin"
++    ;;
++esac
+ 
+ ## Create testfile.cc to test c++ compiler
+ echo "int main(int argc, char **argv) { return 0; }" > testfile.cc || error Can\'t create temporary file



Home | Main Index | Thread Index | Old Index