pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/devel/imsg-compat
Module Name: pkgsrc
Committed By: vins
Date: Fri Jul 25 20:53:51 UTC 2025
Added Files:
pkgsrc/devel/imsg-compat: DESCR Makefile PLIST distinfo
pkgsrc/devel/imsg-compat/patches: patch-src___imsg__compat.h
Log Message:
devel/imsg-compat: initial import of package
The imsg functions provide a simple mechanism for communication between
local processes using sockets. Each transmitted message is guaranteed to
be presented to the receiving program whole. They are commonly used in
privilege separated processes, where processes with different rights are
required to cooperate.
To generate a diff of this commit:
cvs rdiff -u -r0 -r1.1 pkgsrc/devel/imsg-compat/DESCR \
pkgsrc/devel/imsg-compat/Makefile pkgsrc/devel/imsg-compat/PLIST \
pkgsrc/devel/imsg-compat/distinfo
cvs rdiff -u -r0 -r1.1 \
pkgsrc/devel/imsg-compat/patches/patch-src___imsg__compat.h
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Added files:
Index: pkgsrc/devel/imsg-compat/DESCR
diff -u /dev/null pkgsrc/devel/imsg-compat/DESCR:1.1
--- /dev/null Fri Jul 25 20:53:51 2025
+++ pkgsrc/devel/imsg-compat/DESCR Fri Jul 25 20:53:51 2025
@@ -0,0 +1,7 @@
+This is an unofficial port of OpenBSD's imsg interface to linux.
+
+The imsg functions provide a simple mechanism for communication between
+local processes using sockets. Each transmitted message is guaranteed to
+be presented to the receiving program whole. They are commonly used in
+privilege separated processes, where processes with different rights are
+required to cooperate.
Index: pkgsrc/devel/imsg-compat/Makefile
diff -u /dev/null pkgsrc/devel/imsg-compat/Makefile:1.1
--- /dev/null Fri Jul 25 20:53:51 2025
+++ pkgsrc/devel/imsg-compat/Makefile Fri Jul 25 20:53:51 2025
@@ -0,0 +1,19 @@
+# $NetBSD: Makefile,v 1.1 2025/07/25 20:53:51 vins Exp $
+
+DISTNAME= imsg-compat-8.0.0
+CATEGORIES= devel
+MASTER_SITES= ${MASTER_SITE_GITHUB:=bsd-ac/}
+GITHUB_TAG= ${PKGVERSION_NOREV}
+
+MAINTAINER= vins%NetBSD.org@localhost
+HOMEPAGE= https://github.com/bsd-ac/imsg-compat/
+COMMENT= Portable OpenBSD imsg_* interface
+LICENSE= isc
+
+PKGCONFIG_OVERRIDE+= libimsg.pc.in
+
+CFLAGS.SunOS+= -D_XOPEN_SOURCE=600 # CMSG_ functions
+LDFLAGS.SunOS+= -lxnet
+
+.include "../../devel/meson/build.mk"
+.include "../../mk/bsd.pkg.mk"
Index: pkgsrc/devel/imsg-compat/PLIST
diff -u /dev/null pkgsrc/devel/imsg-compat/PLIST:1.1
--- /dev/null Fri Jul 25 20:53:51 2025
+++ pkgsrc/devel/imsg-compat/PLIST Fri Jul 25 20:53:51 2025
@@ -0,0 +1,7 @@
+@comment $NetBSD: PLIST,v 1.1 2025/07/25 20:53:51 vins Exp $
+include/imsg.h
+lib/libimsg.a
+lib/libimsg.so
+lib/pkgconfig/libimsg.pc
+man/man3/ibuf_add.3
+man/man3/imsg_init.3
Index: pkgsrc/devel/imsg-compat/distinfo
diff -u /dev/null pkgsrc/devel/imsg-compat/distinfo:1.1
--- /dev/null Fri Jul 25 20:53:51 2025
+++ pkgsrc/devel/imsg-compat/distinfo Fri Jul 25 20:53:51 2025
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.1 2025/07/25 20:53:51 vins Exp $
+
+BLAKE2s (imsg-compat-8.0.0.tar.gz) = edd98212238cd39e92997236e3d42d4edf3551a97a6de27f48900f91b89a66c5
+SHA512 (imsg-compat-8.0.0.tar.gz) = 532742d16c817fded6299d0baccaf779cc0d989280d471df92ddf4340215b91a709fb231a2a1b553eb5f950f15e73d87031634270f19635d6f274dc7246adda9
+Size (imsg-compat-8.0.0.tar.gz) = 16474 bytes
+SHA1 (patch-src___imsg__compat.h) = aeb6d16c81321daf2b523b2cc8dc2bf1781457c6
Index: pkgsrc/devel/imsg-compat/patches/patch-src___imsg__compat.h
diff -u /dev/null pkgsrc/devel/imsg-compat/patches/patch-src___imsg__compat.h:1.1
--- /dev/null Fri Jul 25 20:53:51 2025
+++ pkgsrc/devel/imsg-compat/patches/patch-src___imsg__compat.h Fri Jul 25 20:53:51 2025
@@ -0,0 +1,18 @@
+$NetBSD: patch-src___imsg__compat.h,v 1.1 2025/07/25 20:53:51 vins Exp $
+
+Define PATH_MAX on NetBSD.
+
+--- src/_imsg_compat.h.orig 2024-09-04 22:07:27.000000000 +0000
++++ src/_imsg_compat.h
+@@ -27,8 +27,10 @@
+ #include <string.h>
+ #include <unistd.h>
+
+-#ifdef __linux__
++#if defined(__linux__)
+ # include <linux/limits.h>
++#else if defined(__NetBSD__)
++# include <sys/syslimits.h>
+ #endif
+
+ #ifndef HAVE_EXPLICIT_BZERO
Home |
Main Index |
Thread Index |
Old Index