pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/sysutils/prefork
Module Name: pkgsrc
Committed By: schmonz
Date: Thu May 15 18:13:52 UTC 2025
Added Files:
pkgsrc/sysutils/prefork: DESCR Makefile PLIST distinfo
pkgsrc/sysutils/prefork/patches: patch-Makefile
Log Message:
Add prefork: Utility to prefork inetd-style wait services
prefork is a utility to prefork inetd-style wait services which itself
runs as an inetd-style wait service. prefork expects to be passed file
descriptor zero (0) as a listening socket on which accept(2) can be
called and will spawn children, passing them file descriptor zero (0)
under the expectation that these children will service the incoming
connexions. The children should then service connexions by calling
accept(2) on the socket.
To generate a diff of this commit:
cvs rdiff -u -r0 -r1.1 pkgsrc/sysutils/prefork/DESCR \
pkgsrc/sysutils/prefork/Makefile pkgsrc/sysutils/prefork/PLIST \
pkgsrc/sysutils/prefork/distinfo
cvs rdiff -u -r0 -r1.1 pkgsrc/sysutils/prefork/patches/patch-Makefile
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Added files:
Index: pkgsrc/sysutils/prefork/DESCR
diff -u /dev/null pkgsrc/sysutils/prefork/DESCR:1.1
--- /dev/null Thu May 15 18:13:52 2025
+++ pkgsrc/sysutils/prefork/DESCR Thu May 15 18:13:52 2025
@@ -0,0 +1,7 @@
+prefork is a utility to prefork inetd-style wait services which itself
+runs as an inetd-style wait service. prefork expects to be passed file
+descriptor zero (0) as a listening socket on which accept(2) can be
+called and will spawn children, passing them file descriptor zero (0)
+under the expectation that these children will service the incoming
+connexions. The children should then service connexions by calling
+accept(2) on the socket.
Index: pkgsrc/sysutils/prefork/Makefile
diff -u /dev/null pkgsrc/sysutils/prefork/Makefile:1.1
--- /dev/null Thu May 15 18:13:52 2025
+++ pkgsrc/sysutils/prefork/Makefile Thu May 15 18:13:52 2025
@@ -0,0 +1,15 @@
+# $NetBSD: Makefile,v 1.1 2025/05/15 18:13:52 schmonz Exp $
+
+DISTNAME= ${GITHUB_PROJECT}-${GITHUB_TAG}
+PKGNAME= ${GITHUB_PROJECT}-0.3.0.0.20241029
+CATEGORIES= sysutils
+MASTER_SITES= ${MASTER_SITE_GITHUB:=elric1/}
+GITHUB_PROJECT= prefork
+GITHUB_TAG= 1d432b99b7b75c52e37be9e839875694394418ea
+
+MAINTAINER= schmonz%NetBSD.org@localhost
+HOMEPAGE= https://oskt.secure-endpoints.com/prefork.html
+COMMENT= Utility to prefork inetd-style wait services
+LICENSE= mit
+
+.include "../../mk/bsd.pkg.mk"
Index: pkgsrc/sysutils/prefork/PLIST
diff -u /dev/null pkgsrc/sysutils/prefork/PLIST:1.1
--- /dev/null Thu May 15 18:13:52 2025
+++ pkgsrc/sysutils/prefork/PLIST Thu May 15 18:13:52 2025
@@ -0,0 +1,3 @@
+@comment $NetBSD: PLIST,v 1.1 2025/05/15 18:13:52 schmonz Exp $
+libexec/prefork
+man/man8/prefork.8
Index: pkgsrc/sysutils/prefork/distinfo
diff -u /dev/null pkgsrc/sysutils/prefork/distinfo:1.1
--- /dev/null Thu May 15 18:13:52 2025
+++ pkgsrc/sysutils/prefork/distinfo Thu May 15 18:13:52 2025
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.1 2025/05/15 18:13:52 schmonz Exp $
+
+BLAKE2s (prefork-1d432b99b7b75c52e37be9e839875694394418ea-1d432b99b7b75c52e37be9e839875694394418ea.tar.gz) = e7a73cb23054eb5ce049600811743296a4e0a339a9b6fd00da346478ec9e6bb6
+SHA512 (prefork-1d432b99b7b75c52e37be9e839875694394418ea-1d432b99b7b75c52e37be9e839875694394418ea.tar.gz) =
6863f9833805bd364fee4abd28381cae1bd0909632a7d522546ea4381a319ee2349eeb2e96ea649426c64be2b42326fc1b5d881b73b205fecf8d7a269eb5352f
+Size (prefork-1d432b99b7b75c52e37be9e839875694394418ea-1d432b99b7b75c52e37be9e839875694394418ea.tar.gz) = 7167 bytes
+SHA1 (patch-Makefile) = 742b656d0fa52374162eac0590e304f5707cfe3a
Index: pkgsrc/sysutils/prefork/patches/patch-Makefile
diff -u /dev/null pkgsrc/sysutils/prefork/patches/patch-Makefile:1.1
--- /dev/null Thu May 15 18:13:52 2025
+++ pkgsrc/sysutils/prefork/patches/patch-Makefile Thu May 15 18:13:52 2025
@@ -0,0 +1,26 @@
+$NetBSD: patch-Makefile,v 1.1 2025/05/15 18:13:52 schmonz Exp $
+
+Don't build or install catpages.
+
+--- Makefile.orig 2025-05-15 18:02:23.019642424 +0000
++++ Makefile
+@@ -16,7 +16,7 @@ NROFF ?= nroff
+ # CFLAGS+= -Wno-unused-parameter -Wsign-compare
+ # CFLAGS+= -Werror
+
+-all: prefork prefork.0
++all: prefork
+
+ clean:
+ rm -f prefork prefork.o prefork.0
+@@ -24,10 +24,8 @@ clean:
+ install:
+ umask 022 && mkdir -p $(DESTDIR)/$(PREFIX)/libexec
+ umask 022 && mkdir -p $(DESTDIR)/$(PREFIX)/man/man8
+- umask 022 && mkdir -p $(DESTDIR)/$(PREFIX)/man/cat8
+ install -c -m755 prefork $(DESTDIR)/$(PREFIX)/libexec
+ install -c -m644 prefork.8 $(DESTDIR)/$(PREFIX)/man/man8/
+- install -c -m644 prefork.0 $(DESTDIR)/$(PREFIX)/man/cat8/
+
+ prefork.0: prefork.8
+ $(NROFF) -mandoc prefork.8 > $@
Home |
Main Index |
Thread Index |
Old Index