* [PR PATCH] [rfc] udev alternatives
@ 2023-02-27 16:49 dkwo
2023-02-27 17:10 ` mobinmob
` (48 more replies)
0 siblings, 49 replies; 50+ messages in thread
From: dkwo @ 2023-02-27 16:49 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 1008 bytes --]
There is a new pull request by dkwo against master on the void-packages repository
https://github.com/dkwo/void-packages udev
https://github.com/void-linux/void-packages/pull/42488
[rfc] udev alternatives
There are still some things I do not understand, notably:
- how to deal with eudev-libudev: libudev-zero replaces, conflicts, provides it? it provides /usr/lib/libudev.so.1, I expect some stuff built with eudev-libudev-devel (wlroots, libinput) to work with it, while other may not if one removes eudev-libudev (lvm2, pipewire), see https://github.com/illiliti/libudev-zero
- find an optimal mdev.conf (current one is taken from kiss-linux, alpine has a similar one)
- edit the corresponing runit parts in stage 1.
- I tested the changes in this PR: no
- I built this PR locally for my native architecture, (x86_64-musl)
cc mantainer @mobinmob for now I updated mdevd, added a service and conf file.
A patch file from https://github.com/void-linux/void-packages/pull/42488.patch is attached
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-udev-42488.patch --]
[-- Type: text/x-diff, Size: 14722 bytes --]
From ea7d695205d0f6fc25484cf468b330204aa3fa85 Mon Sep 17 00:00:00 2001
From: dkwo <nicolopiazzalunga@gmail.com>
Date: Fri, 24 Feb 2023 17:01:39 -0500
Subject: [PATCH 01/14] 66: bump for skalibs 2.13
---
srcpkgs/66/template | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/srcpkgs/66/template b/srcpkgs/66/template
index 150ab6049654..89677d007138 100644
--- a/srcpkgs/66/template
+++ b/srcpkgs/66/template
@@ -1,7 +1,7 @@
# Template file for '66'
pkgname=66
version=0.6.2.0
-revision=3
+revision=4
build_style=configure
configure_args="--prefix=/usr
--with-sysdeps=${XBPS_CROSS_BASE}/usr/lib/skalibs/sysdeps
From 58ebb0d8e0ca6ddb8d6768f395d9cb2f0c9f183c Mon Sep 17 00:00:00 2001
From: dkwo <nicolopiazzalunga@gmail.com>
Date: Fri, 24 Feb 2023 17:01:40 -0500
Subject: [PATCH 02/14] 66-tools: bump for skalibs 2.13
---
srcpkgs/66-tools/template | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/srcpkgs/66-tools/template b/srcpkgs/66-tools/template
index 7f0983a12660..7536c2ba76aa 100644
--- a/srcpkgs/66-tools/template
+++ b/srcpkgs/66-tools/template
@@ -1,7 +1,7 @@
# Template file for '66-tools'
pkgname=66-tools
version=0.0.8.0
-revision=2
+revision=3
build_style=configure
configure_args="--prefix=/usr
--with-sysdeps=${XBPS_CROSS_BASE}/usr/lib/skalibs/sysdeps
From 50648828958b2c1f1a2dd2f31aa54c3a4f72f057 Mon Sep 17 00:00:00 2001
From: dkwo <nicolopiazzalunga@gmail.com>
Date: Fri, 24 Feb 2023 17:01:40 -0500
Subject: [PATCH 03/14] execline: bump for skalibs 2.13
---
srcpkgs/execline/template | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/srcpkgs/execline/template b/srcpkgs/execline/template
index 2df4249d34cc..f1be2b2618c5 100644
--- a/srcpkgs/execline/template
+++ b/srcpkgs/execline/template
@@ -1,7 +1,7 @@
# Template file for 'execline'
pkgname=execline
version=2.9.0.1
-revision=1
+revision=2
build_style=configure
configure_args="--libdir=/usr/lib --bindir=/usr/bin
--with-sysdeps=${XBPS_CROSS_BASE}/usr/lib/skalibs/sysdeps
From 923d15cedce8fca4a9776c32ab14df0364b4067e Mon Sep 17 00:00:00 2001
From: dkwo <nicolopiazzalunga@gmail.com>
Date: Fri, 24 Feb 2023 17:01:41 -0500
Subject: [PATCH 04/14] nsss: bump for skalibs 2.13
---
srcpkgs/nsss/template | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/srcpkgs/nsss/template b/srcpkgs/nsss/template
index b4efae672355..4df7beb1af21 100644
--- a/srcpkgs/nsss/template
+++ b/srcpkgs/nsss/template
@@ -1,7 +1,7 @@
# Template file for 'nsss'
pkgname=nsss
version=0.2.0.1
-revision=2
+revision=3
# Only available for musl
archs="*-musl"
build_style=configure
From fa34d1b005f0ea8d5b316d5d369f3c0b59e9b389 Mon Sep 17 00:00:00 2001
From: dkwo <nicolopiazzalunga@gmail.com>
Date: Fri, 24 Feb 2023 17:01:41 -0500
Subject: [PATCH 05/14] oblibs: bump for skalibs 2.13
---
srcpkgs/oblibs/template | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/srcpkgs/oblibs/template b/srcpkgs/oblibs/template
index f1adf1a9f436..15cc98f4d089 100644
--- a/srcpkgs/oblibs/template
+++ b/srcpkgs/oblibs/template
@@ -1,7 +1,7 @@
# Template file for 'oblibs'
pkgname=oblibs
version=0.1.4.0
-revision=2
+revision=3
build_style=configure
configure_args="--prefix=/usr --libdir=/usr/lib --with-sysdeps=${XBPS_CROSS_BASE}/usr/lib/skalibs/sysdeps"
makedepends="skalibs-devel execline-devel"
From 9629f17d24302a003ebbb7cf6a0687f69124afb5 Mon Sep 17 00:00:00 2001
From: dkwo <nicolopiazzalunga@gmail.com>
Date: Fri, 24 Feb 2023 17:01:41 -0500
Subject: [PATCH 06/14] s6: bump for skalibs 2.13
---
srcpkgs/s6/template | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/srcpkgs/s6/template b/srcpkgs/s6/template
index d54785b251b2..59c9f3959272 100644
--- a/srcpkgs/s6/template
+++ b/srcpkgs/s6/template
@@ -1,7 +1,7 @@
# Template file for 's6'
pkgname=s6
version=2.11.1.1
-revision=1
+revision=2
build_style=configure
configure_args="--libdir=/usr/lib --bindir=/usr/bin
--with-sysdeps=${XBPS_CROSS_BASE}/usr/lib/skalibs/sysdeps
From b99a4c507c979a0180252f43b2d316549b7468c6 Mon Sep 17 00:00:00 2001
From: dkwo <nicolopiazzalunga@gmail.com>
Date: Fri, 24 Feb 2023 17:01:41 -0500
Subject: [PATCH 07/14] s6-dns: bump for skalibs 2.13
---
srcpkgs/s6-dns/template | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/srcpkgs/s6-dns/template b/srcpkgs/s6-dns/template
index 4d282185ce8a..b0506b26683f 100644
--- a/srcpkgs/s6-dns/template
+++ b/srcpkgs/s6-dns/template
@@ -1,7 +1,7 @@
# Template file for 's6-dns'
pkgname=s6-dns
version=2.3.5.4
-revision=1
+revision=2
build_style=configure
configure_args="--prefix=/usr --libdir=/usr/lib
--with-sysdeps=${XBPS_CROSS_BASE}/usr/lib/skalibs/sysdeps
From eb3908b591ed1d99bf1c00d1ba894c4ad8bfea79 Mon Sep 17 00:00:00 2001
From: dkwo <nicolopiazzalunga@gmail.com>
Date: Fri, 24 Feb 2023 17:01:42 -0500
Subject: [PATCH 08/14] s6-linux-utils: bump for skalibs 2.13
---
srcpkgs/s6-linux-utils/template | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/srcpkgs/s6-linux-utils/template b/srcpkgs/s6-linux-utils/template
index 212752cc26d0..ba026d6f25d8 100644
--- a/srcpkgs/s6-linux-utils/template
+++ b/srcpkgs/s6-linux-utils/template
@@ -1,7 +1,7 @@
# Template file for 's6-linux-utils'
pkgname=s6-linux-utils
version=2.6.0.0
-revision=1
+revision=2
build_style=configure
configure_args="--libdir=/usr/lib --includedir=/usr/include
--with-sysdeps=${XBPS_CROSS_BASE}/usr/lib/skalibs/sysdeps
From 281736069afdb3db942052166a6c10be34d382bb Mon Sep 17 00:00:00 2001
From: dkwo <nicolopiazzalunga@gmail.com>
Date: Fri, 24 Feb 2023 17:01:42 -0500
Subject: [PATCH 09/14] s6-networking: bump for skalibs 2.13
---
srcpkgs/s6-networking/template | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/srcpkgs/s6-networking/template b/srcpkgs/s6-networking/template
index 5a04b9abf01b..3d9d561dd968 100644
--- a/srcpkgs/s6-networking/template
+++ b/srcpkgs/s6-networking/template
@@ -1,7 +1,7 @@
# Template file for 's6-networking'
pkgname=s6-networking
version=2.5.1.1
-revision=1
+revision=2
build_style=configure
configure_args="--libdir=/usr/lib $(vopt_if libtls --enable-ssl=libtls)
$(vopt_if bearssl --enable-ssl=bearssl)
From 166c99429a3d40244ffcd524a4235740b387594d Mon Sep 17 00:00:00 2001
From: dkwo <nicolopiazzalunga@gmail.com>
Date: Fri, 24 Feb 2023 17:01:42 -0500
Subject: [PATCH 10/14] s6-portable-utils: bump for skalibs 2.13
---
srcpkgs/s6-portable-utils/template | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/srcpkgs/s6-portable-utils/template b/srcpkgs/s6-portable-utils/template
index ca0c308fb3b1..a40dfbd95599 100644
--- a/srcpkgs/s6-portable-utils/template
+++ b/srcpkgs/s6-portable-utils/template
@@ -1,7 +1,7 @@
# Template file for 's6-portable-utils'
pkgname=s6-portable-utils
version=2.2.5.0
-revision=1
+revision=2
build_style=configure
configure_args="--prefix=/usr --libdir=/usr/lib --includedir=/usr/include
--with-sysdeps=${XBPS_CROSS_BASE}/usr/lib/skalibs/sysdeps
From 65379f8b11afdd125d5f37e0c9ac1f16a62c8fa6 Mon Sep 17 00:00:00 2001
From: dkwo <nicolopiazzalunga@gmail.com>
Date: Fri, 24 Feb 2023 17:01:43 -0500
Subject: [PATCH 11/14] s6-rc: bump for skalibs 2.13
---
srcpkgs/s6-rc/template | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/srcpkgs/s6-rc/template b/srcpkgs/s6-rc/template
index 495907ef8a60..18aea5485545 100644
--- a/srcpkgs/s6-rc/template
+++ b/srcpkgs/s6-rc/template
@@ -1,7 +1,7 @@
# Template file for 's6-rc'
pkgname=s6-rc
version=0.5.3.2
-revision=1
+revision=2
build_style=configure
configure_args="--prefix=/usr --libdir=/usr/lib --includedir=/usr/include
--with-sysdeps=${XBPS_CROSS_BASE}/usr/lib/skalibs/sysdeps
From fb0fe816bc212836233aba533d3857bd865b7693 Mon Sep 17 00:00:00 2001
From: dkwo <nicolopiazzalunga@gmail.com>
Date: Fri, 24 Feb 2023 17:03:59 -0500
Subject: [PATCH 12/14] skalibs: update to 2.13.1
---
common/shlibs | 2 +-
srcpkgs/skalibs/template | 4 ++--
2 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/common/shlibs b/common/shlibs
index 538ff08ce5ff..1e14994592fe 100644
--- a/common/shlibs
+++ b/common/shlibs
@@ -2374,7 +2374,7 @@ libgnunettransport.so.2 gnunet-0.12.2_1
libgnunettransportapplication.so.0 gnunet-0.12.2_1
libgnunettransportcore.so.0 gnunet-0.12.2_1
libgnunettransportcommunicator.so.0 gnunet-0.12.2_1
-libskarnet.so.2.12 skalibs-2.12.0.0_1
+libskarnet.so.2.13 skalibs-2.13.1.0_1
libKF5BalooWidgets.so.5 baloo-widgets5-17.04.3_1
libtidy.so.58 libtidy5-5.8.0_1
libSDL2_gfx-1.0.so.0 SDL2_gfx-1.0.1_1
diff --git a/srcpkgs/skalibs/template b/srcpkgs/skalibs/template
index dccbcee327eb..185177eb4165 100644
--- a/srcpkgs/skalibs/template
+++ b/srcpkgs/skalibs/template
@@ -1,6 +1,6 @@
# Template file for 'skalibs'
pkgname=skalibs
-version=2.12.0.1
+version=2.13.1.0
revision=1
build_style=configure
configure_args="--libdir=/usr/lib --enable-static --enable-shared
@@ -14,7 +14,7 @@ license="ISC"
homepage="https://skarnet.org/software/skalibs/"
changelog="https://skarnet.org/software/skalibs/upgrade.html"
distfiles="https://skarnet.org/software/${pkgname}/${pkgname}-${version}.tar.gz"
-checksum=3e228f72f18d88c17f6c4e0a66881d6d3779427b7e7e889f3142b6f26da30285
+checksum=b3c48938c7fba4b19a8b0dce6e7a11427717a0901160bb62cfc6823f8ac86d92
post_install() {
vlicense COPYING LICENSE
From 7813112a51ec56bded48fbd92b4b6d334169bdc8 Mon Sep 17 00:00:00 2001
From: dkwo <nicolopiazzalunga@gmail.com>
Date: Fri, 24 Feb 2023 17:01:40 -0500
Subject: [PATCH 13/14] mdevd: update to 0.6.1.2, add conf and service
---
srcpkgs/mdevd/files/mdev.conf | 70 +++++++++++++++++++++++++++++++++++
srcpkgs/mdevd/files/mdevd/run | 4 ++
srcpkgs/mdevd/template | 9 +++--
3 files changed, 80 insertions(+), 3 deletions(-)
create mode 100644 srcpkgs/mdevd/files/mdev.conf
create mode 100644 srcpkgs/mdevd/files/mdevd/run
diff --git a/srcpkgs/mdevd/files/mdev.conf b/srcpkgs/mdevd/files/mdev.conf
new file mode 100644
index 000000000000..0c88a022cdcc
--- /dev/null
+++ b/srcpkgs/mdevd/files/mdev.conf
@@ -0,0 +1,70 @@
+# Configuration based on 'mdev-like-a-boss'.
+# https://github.com/slashbeast/mdev-like-a-boss/blob/master/mdev.conf
+
+null root:root 666 @chmod 666 $MDEV
+zero root:root 666
+full root:root 666
+random root:root 444
+urandom root:root 444
+hwrandom root:root 444
+grsec root:root 660
+kmem root:root 640
+mem root:root 640
+
+port root:root 640
+console root:tty 600 @chmod 600 $MDEV
+ptmx root:tty 666
+pty.* root:tty 660
+tty root:tty 666
+tty[0-9]* root:tty 660
+vcsa*[0-9]* root:tty 660
+
+# Kernel based virtual machine.
+kvm root:kvm 660
+vhost-net root:kvm 660
+
+# Block devices.
+ram([0-9]*) root:disk 660 >rd/%1
+loop([0-9]+) root:disk 660 >loop/%1
+sr[0-9]* root:cdrom 660 @ln -sf $MDEV cdrom
+fd[0-9]* root:floppy 660
+
+net/tun[0-9]* root:kvm 660
+net/tap[0-9]* root:root 600
+fuse root:root 666
+agpgart root:root 660 >misc/
+psaux root:root 660 >misc/
+rtc root:root 664 >misc/
+
+# Audio stuff.
+adsp root:audio 660 >sound/
+audio root:audio 660 >sound/
+dsp root:audio 660 >sound/
+mixer root:audio 660 >sound/
+sequencer.* root:audio 660 >sound/
+snd/.* root:audio 660
+
+# Raid controllers.
+cciss!(.*) root:disk 660 =cciss/%1
+ida!(.*) root:disk 660 =ida/%1
+rd!(.*) root:disk 660 =rd/%1
+
+# Input stuff.
+SUBSYSTEM=input;.* root:input 660
+
+# Video stuff.
+card[0-9] root:video 660 =dri/
+vbi[0-9] root:video 660 >v4l/
+video[0-9] root:video 660 >v4l/
+dri/.* root:video 660
+
+# Don't create old usbdev* devices.
+usbdev[0-9].[0-9]* root:root 660 !
+
+# Stop creating x:x:x:x which looks like /dev/dm-*.
+[0-9]+\:[0-9]+\:[0-9]+\:[0-9]+ root:root 660 !
+
+# /dev/cpu support.
+microcode root:root 600 =cpu/
+cpu([0-9]+) root:root 600 =cpu/%1/cpuid
+msr([0-9]+) root:root 600 =cpu/%1/msr
diff --git a/srcpkgs/mdevd/files/mdevd/run b/srcpkgs/mdevd/files/mdevd/run
new file mode 100644
index 000000000000..3399ca5e95b9
--- /dev/null
+++ b/srcpkgs/mdevd/files/mdevd/run
@@ -0,0 +1,4 @@
+#!/bin/sh
+
+exec 2>&1
+exec mdevd -f /etc/mdevd.conf -D 3 -b 200000 -O4
\ No newline at end of file
diff --git a/srcpkgs/mdevd/template b/srcpkgs/mdevd/template
index 43f2118937fb..b44a02046d60 100644
--- a/srcpkgs/mdevd/template
+++ b/srcpkgs/mdevd/template
@@ -1,6 +1,6 @@
# Template file for 'mdevd'
pkgname=mdevd
-version=0.1.6.0
+version=0.1.6.2
revision=1
build_style=configure
configure_args="--includedir=/usr/include --bindir=/usr/bin --libdir=/usr/lib
@@ -14,9 +14,10 @@ license="ISC"
homepage="https://skarnet.org/software/mdevd/"
changelog="https://skarnet.org/software/mdevd/upgrade.html"
distfiles="https://skarnet.org/software/mdevd/mdevd-${version}.tar.gz"
-checksum=33cf2b118634538fd24f302b30f52cc8aa28ea68b414916ce482b54a4ee57283
-
+checksum=ac2fcf9004f07904592c5894e2c401e15bb027ecf37bcb8ea661e2a7993447be
+conf_files="/etc/mdev.conf"
build_options="static"
+make_check=no # no tests
case "$XBPS_TARGET_MACHINE" in
*-musl)
@@ -29,6 +30,8 @@ post_install() {
vlicense COPYING
vdoc README
vcopy "doc/*" usr/share/doc/${pkgname}
+ vsv mdevd
+ vcopy ${FILESDIR}/mdev.conf etc/mdev.conf
}
mdevd-doc_package() {
From 8dce193e36c89f46047600ba5d8692cdd805bab9 Mon Sep 17 00:00:00 2001
From: dkwo <nicolopiazzalunga@gmail.com>
Date: Fri, 24 Feb 2023 18:26:36 -0500
Subject: [PATCH 14/14] new package: libudev-zero
---
srcpkgs/libudev-zero/template | 24 ++++++++++++++++++++++++
1 file changed, 24 insertions(+)
create mode 100644 srcpkgs/libudev-zero/template
diff --git a/srcpkgs/libudev-zero/template b/srcpkgs/libudev-zero/template
new file mode 100644
index 000000000000..4c19b6b6dcfa
--- /dev/null
+++ b/srcpkgs/libudev-zero/template
@@ -0,0 +1,24 @@
+# Template file for 'libudev-zero'
+pkgname=libudev-zero
+version=1.0.1
+revision=1
+build_style=gnu-makefile
+short_desc="Daemonless replacement for libudev"
+maintainer="dkwo <npiazza@disroot.org>"
+license="ISC"
+homepage="https://github.com/illiliti/libudev-zero"
+distfiles="https://github.com/illiliti/libudev-zero/archive/refs/tags/${version}.tar.gz"
+checksum=c4cf149ea96295c1e6e86038d10c725344c751982ed4a790b06c76776923e0ea
+make_check=no # no tests
+replaces="eudev-libudev>=3.2.11_1"
+#provides
+
+post_build() {
+ "$CC" $LDFLAGS $CFLAGS $CPPFLAGS -o libudev-zero-helper contrib/helper.c
+}
+
+post_install() {
+ rm -f ${DESTDIR}/usr/lib/libudev.a
+ vlicense LICENSE
+ vinstall libudev-zero-helper 755 usr/libexec
+}
^ permalink raw reply [flat|nested] 50+ messages in thread
* Re: [rfc] udev alternatives
2023-02-27 16:49 [PR PATCH] [rfc] udev alternatives dkwo
@ 2023-02-27 17:10 ` mobinmob
2023-02-27 17:11 ` mobinmob
` (47 subsequent siblings)
48 siblings, 0 replies; 50+ messages in thread
From: mobinmob @ 2023-02-27 17:10 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 1079 bytes --]
New comment by mobinmob on void-packages repository
https://github.com/void-linux/void-packages/pull/42488#issuecomment-1446713941
Comment:
> There are still some things I do not understand, notably:
>
> * how to deal with eudev-libudev: libudev-zero replaces, conflicts, provides it? it provides /usr/lib/libudev.so.1, I expect some stuff built with eudev-libudev-devel (wlroots, libinput) to work with it, while other may not if one removes eudev-libudev (lvm2, pipewire), see https://github.com/illiliti/libudev-zero
> * find an optimal mdev.conf (current one is taken from kiss-linux, alpine has a similar one)
> * edit the corresponing runit parts in stage 1.
> * I tested the changes in this PR: no
> * I built this PR locally for my native architecture, (x86_64-musl)
>
> cc mantainer @mobinmob for now I updated mdevd, added a service and conf file.
libudev-zero is not a eudev-libudev drop-in alternative.
I have a PR open for the skarnet stack update, unfortunatelly [wip], I will finish it asap.
https://github.com/void-linux/void-packages/pull/41635
^ permalink raw reply [flat|nested] 50+ messages in thread
* Re: [rfc] udev alternatives
2023-02-27 16:49 [PR PATCH] [rfc] udev alternatives dkwo
2023-02-27 17:10 ` mobinmob
@ 2023-02-27 17:11 ` mobinmob
2023-02-27 17:31 ` mobinmob
` (46 subsequent siblings)
48 siblings, 0 replies; 50+ messages in thread
From: mobinmob @ 2023-02-27 17:11 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 1083 bytes --]
New comment by mobinmob on void-packages repository
https://github.com/void-linux/void-packages/pull/42488#issuecomment-1446713941
Comment:
> There are still some things I do not understand, notably:
>
> * how to deal with eudev-libudev: libudev-zero replaces, conflicts, provides it? it provides /usr/lib/libudev.so.1, I expect some stuff built with eudev-libudev-devel (wlroots, libinput) to work with it, while other may not if one removes eudev-libudev (lvm2, pipewire), see https://github.com/illiliti/libudev-zero
> * find an optimal mdev.conf (current one is taken from kiss-linux, alpine has a similar one)
> * edit the corresponing runit parts in stage 1.
> * I tested the changes in this PR: no
> * I built this PR locally for my native architecture, (x86_64-musl)
>
> cc mantainer @mobinmob for now I updated mdevd, added a service and conf file.
libudev-zero is not a eudev-libudev **drop-in** alternative.
I have a PR open for the skarnet stack update, unfortunatelly [wip], I will finish it asap.
https://github.com/void-linux/void-packages/pull/41635
^ permalink raw reply [flat|nested] 50+ messages in thread
* Re: [rfc] udev alternatives
2023-02-27 16:49 [PR PATCH] [rfc] udev alternatives dkwo
2023-02-27 17:10 ` mobinmob
2023-02-27 17:11 ` mobinmob
@ 2023-02-27 17:31 ` mobinmob
2023-02-27 17:38 ` mobinmob
` (45 subsequent siblings)
48 siblings, 0 replies; 50+ messages in thread
From: mobinmob @ 2023-02-27 17:31 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 1128 bytes --]
New comment by mobinmob on void-packages repository
https://github.com/void-linux/void-packages/pull/42488#issuecomment-1446713941
Comment:
> There are still some things I do not understand, notably:
>
> * how to deal with eudev-libudev: libudev-zero replaces, conflicts, provides it? it provides /usr/lib/libudev.so.1, I expect some stuff built with eudev-libudev-devel (wlroots, libinput) to work with it, while other may not if one removes eudev-libudev (lvm2, pipewire), see https://github.com/illiliti/libudev-zero
> * find an optimal mdev.conf (current one is taken from kiss-linux, alpine has a similar one)
> * edit the corresponing runit parts in stage 1.
> * I tested the changes in this PR: no
> * I built this PR locally for my native architecture, (x86_64-musl)
>
> cc mantainer @mobinmob for now I updated mdevd, added a service and conf file.
You have quite a project in your hands :)
libudev-zero is not a eudev-libudev **drop-in** alternative :(
I have a PR open for the skarnet stack update, unfortunatelly [wip], I will finish it asap.
https://github.com/void-linux/void-packages/pull/41635
^ permalink raw reply [flat|nested] 50+ messages in thread
* Re: [rfc] udev alternatives
2023-02-27 16:49 [PR PATCH] [rfc] udev alternatives dkwo
` (2 preceding siblings ...)
2023-02-27 17:31 ` mobinmob
@ 2023-02-27 17:38 ` mobinmob
2023-02-27 17:38 ` mobinmob
` (44 subsequent siblings)
48 siblings, 0 replies; 50+ messages in thread
From: mobinmob @ 2023-02-27 17:38 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 828 bytes --]
New comment by mobinmob on void-packages repository
https://github.com/void-linux/void-packages/pull/42488#issuecomment-1446758416
Comment:
> * how to deal with eudev-libudev: libudev-zero replaces, conflicts, provides it? it provides /usr/lib/libudev.so.1, I expect some stuff built with eudev-libudev-devel (wlroots, libinput) to work with it, while other may not if one removes eudev-libudev (lvm2, pipewire), see https://github.com/illiliti/libudev-zero
It is **waaaay** too early for this, but I think `replaces` is the wrong choice here.
> * find an optimal mdev.conf (current one is taken from kiss-linux, alpine has a similar one)
That is not the only thing you need. You should look at the mdev-like-a-boss scripts and work with them and also checkout how you can extend the functionality in other ways.
^ permalink raw reply [flat|nested] 50+ messages in thread
* Re: [rfc] udev alternatives
2023-02-27 16:49 [PR PATCH] [rfc] udev alternatives dkwo
` (3 preceding siblings ...)
2023-02-27 17:38 ` mobinmob
@ 2023-02-27 17:38 ` mobinmob
2023-02-27 18:05 ` [PR PATCH] [Updated] " dkwo
` (43 subsequent siblings)
48 siblings, 0 replies; 50+ messages in thread
From: mobinmob @ 2023-02-27 17:38 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 397 bytes --]
New comment by mobinmob on void-packages repository
https://github.com/void-linux/void-packages/pull/42488#issuecomment-1446713941
Comment:
You have quite a project in your hands :)
libudev-zero is not a eudev-libudev **drop-in** alternative :(
I have a PR open for the skarnet stack update, unfortunatelly [wip], I will finish it asap.
https://github.com/void-linux/void-packages/pull/41635
^ permalink raw reply [flat|nested] 50+ messages in thread
* Re: [PR PATCH] [Updated] [rfc] udev alternatives
2023-02-27 16:49 [PR PATCH] [rfc] udev alternatives dkwo
` (4 preceding siblings ...)
2023-02-27 17:38 ` mobinmob
@ 2023-02-27 18:05 ` dkwo
2023-02-27 18:06 ` dkwo
` (42 subsequent siblings)
48 siblings, 0 replies; 50+ messages in thread
From: dkwo @ 2023-02-27 18:05 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 1013 bytes --]
There is an updated pull request by dkwo against master on the void-packages repository
https://github.com/dkwo/void-packages udev
https://github.com/void-linux/void-packages/pull/42488
[rfc] udev alternatives
There are still some things I do not understand, notably:
- how to deal with eudev-libudev: libudev-zero replaces, conflicts, provides it? it provides /usr/lib/libudev.so.1, I expect some stuff built with eudev-libudev-devel (wlroots, libinput) to work with it, while other may not if one removes eudev-libudev (lvm2, pipewire), see https://github.com/illiliti/libudev-zero
- find an optimal mdev.conf (current one is taken from kiss-linux, alpine has a similar one)
- edit the corresponing runit parts in stage 1.
- I tested the changes in this PR: no
- I built this PR locally for my native architecture, (x86_64-musl)
cc mantainer @mobinmob for now I updated mdevd, added a service and conf file.
A patch file from https://github.com/void-linux/void-packages/pull/42488.patch is attached
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-udev-42488.patch --]
[-- Type: text/x-diff, Size: 22230 bytes --]
From d12c2bcb9a77757660154ccf61c848208960b2f0 Mon Sep 17 00:00:00 2001
From: mobinmob <mobinmob@disroot.org>
Date: Fri, 17 Feb 2023 20:11:07 +0200
Subject: [PATCH 01/18] skalibs: update to 2.13.1.0.
---
common/shlibs | 2 +-
srcpkgs/skalibs/template | 4 ++--
2 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/common/shlibs b/common/shlibs
index 538ff08ce5ff..8805ec257ef2 100644
--- a/common/shlibs
+++ b/common/shlibs
@@ -2374,7 +2374,7 @@ libgnunettransport.so.2 gnunet-0.12.2_1
libgnunettransportapplication.so.0 gnunet-0.12.2_1
libgnunettransportcore.so.0 gnunet-0.12.2_1
libgnunettransportcommunicator.so.0 gnunet-0.12.2_1
-libskarnet.so.2.12 skalibs-2.12.0.0_1
+libskarnet.so.2.13 skalibs-2.13.0.0_1
libKF5BalooWidgets.so.5 baloo-widgets5-17.04.3_1
libtidy.so.58 libtidy5-5.8.0_1
libSDL2_gfx-1.0.so.0 SDL2_gfx-1.0.1_1
diff --git a/srcpkgs/skalibs/template b/srcpkgs/skalibs/template
index dccbcee327eb..185177eb4165 100644
--- a/srcpkgs/skalibs/template
+++ b/srcpkgs/skalibs/template
@@ -1,6 +1,6 @@
# Template file for 'skalibs'
pkgname=skalibs
-version=2.12.0.1
+version=2.13.1.0
revision=1
build_style=configure
configure_args="--libdir=/usr/lib --enable-static --enable-shared
@@ -14,7 +14,7 @@ license="ISC"
homepage="https://skarnet.org/software/skalibs/"
changelog="https://skarnet.org/software/skalibs/upgrade.html"
distfiles="https://skarnet.org/software/${pkgname}/${pkgname}-${version}.tar.gz"
-checksum=3e228f72f18d88c17f6c4e0a66881d6d3779427b7e7e889f3142b6f26da30285
+checksum=b3c48938c7fba4b19a8b0dce6e7a11427717a0901160bb62cfc6823f8ac86d92
post_install() {
vlicense COPYING LICENSE
From 3d97f5a158ac754d42cf6d6dfdd9f260be345eac Mon Sep 17 00:00:00 2001
From: mobinmob <mobinmob@disroot.org>
Date: Fri, 17 Feb 2023 20:11:14 +0200
Subject: [PATCH 02/18] execline: update to 2.9.2.0.
---
srcpkgs/execline/template | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/srcpkgs/execline/template b/srcpkgs/execline/template
index 2df4249d34cc..6c16293af1a8 100644
--- a/srcpkgs/execline/template
+++ b/srcpkgs/execline/template
@@ -1,6 +1,6 @@
# Template file for 'execline'
pkgname=execline
-version=2.9.0.1
+version=2.9.2.0
revision=1
build_style=configure
configure_args="--libdir=/usr/lib --bindir=/usr/bin
@@ -14,7 +14,7 @@ license="ISC"
homepage="https://skarnet.org/software/execline/"
changelog="https://skarnet.org/software/execline/upgrade.html"
distfiles="https://skarnet.org/software/${pkgname}/${pkgname}-${version}.tar.gz"
-checksum=01260fcaf80ffbca2a94aa55ea474dfb9e39b3033b55c8af88126791879531f6
+checksum=9365012558a1e3c019cafc6eb574b0f5890495fb02652f20efdd782d577b1601
CFLAGS="-fPIC"
From e0bec165ca8b74cea0426c79c841d519a3d3c2b0 Mon Sep 17 00:00:00 2001
From: mobinmob <mobinmob@disroot.org>
Date: Fri, 17 Feb 2023 20:11:20 +0200
Subject: [PATCH 03/18] s6: update to 2.11.3.0.
---
srcpkgs/s6/template | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/srcpkgs/s6/template b/srcpkgs/s6/template
index d54785b251b2..ef18c396fcde 100644
--- a/srcpkgs/s6/template
+++ b/srcpkgs/s6/template
@@ -1,6 +1,6 @@
# Template file for 's6'
pkgname=s6
-version=2.11.1.1
+version=2.11.3.0
revision=1
build_style=configure
configure_args="--libdir=/usr/lib --bindir=/usr/bin
@@ -15,7 +15,7 @@ license="ISC"
homepage="http://skarnet.org/software/s6/"
changelog="https://skarnet.org/software/s6/upgrade.html"
distfiles="http://skarnet.org/software/s6/s6-${version}.tar.gz"
-checksum=1cef7f7b3a7e01181fbb6fe8300e6ba422d9689007221c78af1f99528acb6c38
+checksum=0ef2de80c40b603d58bf65ec5dd9f0bb1f227d35f311e8948d9e30f81efb5b81
build_options="static"
From 06358339cbccabe585675f5276c0f6372aa8f21b Mon Sep 17 00:00:00 2001
From: mobinmob <mobinmob@disroot.org>
Date: Fri, 17 Feb 2023 20:11:24 +0200
Subject: [PATCH 04/18] s6-rc: update to 0.5.4.0.
---
srcpkgs/s6-rc/template | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/srcpkgs/s6-rc/template b/srcpkgs/s6-rc/template
index 495907ef8a60..1fef769f112f 100644
--- a/srcpkgs/s6-rc/template
+++ b/srcpkgs/s6-rc/template
@@ -1,6 +1,6 @@
# Template file for 's6-rc'
pkgname=s6-rc
-version=0.5.3.2
+version=0.5.4.0
revision=1
build_style=configure
configure_args="--prefix=/usr --libdir=/usr/lib --includedir=/usr/include
@@ -15,7 +15,7 @@ license="ISC"
homepage="https://skarnet.org/software/s6-rc/"
changelog="https://skarnet.org/software/s6-rc/upgrade.html"
distfiles="https://skarnet.org/software/${pkgname}/${pkgname}-${version}.tar.gz"
-checksum=4f24a4966a4aa353d2bd1a8afca9b88c7b7bd29c46b3a1a7f5305686b9d6e038
+checksum=9e750e63a19aaf65ef50cf6f691b8641f7d98857fa2e992b8186953fb32cad70
build_options="static"
From 58d67e385a2910023502dceeaf067198835c9f70 Mon Sep 17 00:00:00 2001
From: mobinmob <mobinmob@disroot.org>
Date: Fri, 17 Feb 2023 20:11:38 +0200
Subject: [PATCH 05/18] nsss: update to 0.2.0.3.
---
srcpkgs/nsss/template | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/srcpkgs/nsss/template b/srcpkgs/nsss/template
index b4efae672355..ae3cac748266 100644
--- a/srcpkgs/nsss/template
+++ b/srcpkgs/nsss/template
@@ -1,7 +1,7 @@
# Template file for 'nsss'
pkgname=nsss
-version=0.2.0.1
-revision=2
+version=0.2.0.3
+revision=1
# Only available for musl
archs="*-musl"
build_style=configure
@@ -16,7 +16,7 @@ license="ISC"
homepage="https://skarnet.org/software/nsss/"
changelog="https://skarnet.org/software/nsss/upgrade.html"
distfiles="https://skarnet.org/software/nsss/nsss-${version}.tar.gz"
-checksum=7d984ea627b3a8d7649d9bf24c79693f338e911d2b11040b89c4febfb1b3125b
+checksum=b1e397ed5b327611a7c2c8c1dc60e91fef353c54fead464f887720bc0914148e
build_options="static"
From 8502b2cb37cf16a766dc6888da988ae19fb943d0 Mon Sep 17 00:00:00 2001
From: mobinmob <mobinmob@disroot.org>
Date: Fri, 17 Feb 2023 20:11:42 +0200
Subject: [PATCH 06/18] s6-dns: update to 2.3.5.5.
---
srcpkgs/s6-dns/template | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/srcpkgs/s6-dns/template b/srcpkgs/s6-dns/template
index 4d282185ce8a..7f243bc2ec82 100644
--- a/srcpkgs/s6-dns/template
+++ b/srcpkgs/s6-dns/template
@@ -1,6 +1,6 @@
# Template file for 's6-dns'
pkgname=s6-dns
-version=2.3.5.4
+version=2.3.5.5
revision=1
build_style=configure
configure_args="--prefix=/usr --libdir=/usr/lib
@@ -13,7 +13,7 @@ maintainer="Orphaned <orphan@voidlinux.org>"
license="ISC"
homepage="https://skarnet.org/software/s6-dns"
distfiles="${homepage}/${pkgname}-${version}.tar.gz"
-checksum=76af222472c4754f83cdc59ad354255ce1b1e6f6833a059328463f8e51f4db43
+checksum=56979b5d5125c38071a80b5e3df0d4a6b2a7c52bb863a2410b6e3d797ffe1ee8
build_options="static"
From f1d1a0471e43adf693501fb72a87ffa719725643 Mon Sep 17 00:00:00 2001
From: mobinmob <mobinmob@disroot.org>
Date: Fri, 17 Feb 2023 20:11:49 +0200
Subject: [PATCH 07/18] s6-networking: update to 2.5.1.2.
---
srcpkgs/s6-networking/template | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/srcpkgs/s6-networking/template b/srcpkgs/s6-networking/template
index 5a04b9abf01b..1652f93ec9ac 100644
--- a/srcpkgs/s6-networking/template
+++ b/srcpkgs/s6-networking/template
@@ -1,6 +1,6 @@
# Template file for 's6-networking'
pkgname=s6-networking
-version=2.5.1.1
+version=2.5.1.2
revision=1
build_style=configure
configure_args="--libdir=/usr/lib $(vopt_if libtls --enable-ssl=libtls)
@@ -16,7 +16,7 @@ license="ISC"
homepage="https://skarnet.org/software/s6-networking"
changelog="https://skarnet.org/software/s6-networking/upgrade.html"
distfiles="${homepage}/${pkgname}-${version}.tar.gz"
-checksum=7ac79d4de3d9c13532e444ab7497c4e04ad0fa7229d502984d9dc7d48aa64418
+checksum=d072deb67a4ca4d7c512640c5f33a766c7b854364949727d3600738c6769f146
build_options="bearssl libtls static"
build_options_default="bearssl"
From 7aee22f5fd112b9e19ba7e95874292076c8e8081 Mon Sep 17 00:00:00 2001
From: mobinmob <mobinmob@disroot.org>
Date: Fri, 17 Feb 2023 20:11:59 +0200
Subject: [PATCH 08/18] s6-portable-utils: update to 2.3.0.0.
---
srcpkgs/s6-portable-utils/template | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/srcpkgs/s6-portable-utils/template b/srcpkgs/s6-portable-utils/template
index ca0c308fb3b1..eca93d57160e 100644
--- a/srcpkgs/s6-portable-utils/template
+++ b/srcpkgs/s6-portable-utils/template
@@ -1,6 +1,6 @@
# Template file for 's6-portable-utils'
pkgname=s6-portable-utils
-version=2.2.5.0
+version=2.3.0.0
revision=1
build_style=configure
configure_args="--prefix=/usr --libdir=/usr/lib --includedir=/usr/include
@@ -14,7 +14,7 @@ license="ISC"
homepage="https://skarnet.org/software/s6-portable-utils/"
changelog="https://skarnet.org/software/s6-portable-utils/upgrade.html"
distfiles="https://skarnet.org/software/${pkgname}/${pkgname}-${version}.tar.gz"
-checksum=ebb39f8934fd36f25d31352e61bbd94dc02b1e9f04411850d2fd9658bd916e36
+checksum=1e9066c430c1cb39a3a7b7004cd379ffebe566bd3d698db18de6125783002005
build_options="static"
From f451a9b38723e7c4dea256581751c27eff5e3f50 Mon Sep 17 00:00:00 2001
From: mobinmob <mobinmob@disroot.org>
Date: Fri, 17 Feb 2023 20:12:05 +0200
Subject: [PATCH 09/18] s6-linux-utils: update to 2.6.1.0.
---
srcpkgs/s6-linux-utils/template | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/srcpkgs/s6-linux-utils/template b/srcpkgs/s6-linux-utils/template
index 212752cc26d0..28bd4b52b8a4 100644
--- a/srcpkgs/s6-linux-utils/template
+++ b/srcpkgs/s6-linux-utils/template
@@ -1,6 +1,6 @@
# Template file for 's6-linux-utils'
pkgname=s6-linux-utils
-version=2.6.0.0
+version=2.6.1.0
revision=1
build_style=configure
configure_args="--libdir=/usr/lib --includedir=/usr/include
@@ -14,7 +14,7 @@ license="ISC"
homepage="https://skarnet.org/software/s6-linux-utils"
changelog="https://skarnet.org/software/s6-linux-utils/upgrade.html"
distfiles="${homepage}/${pkgname}-${version}.tar.gz"
-checksum=6c7132734a0c8287002ee6910c469f175a97d766a8023c0c33af8ba92643ed59
+checksum=2accb5a443dd04203a6358534bdcf0dd369aceb4733e322612c2b8329260b7a2
build_options="static"
From 212fc06d08582029ff942a15ec9c566665ef5d76 Mon Sep 17 00:00:00 2001
From: mobinmob <mobinmob@disroot.org>
Date: Fri, 17 Feb 2023 20:12:13 +0200
Subject: [PATCH 10/18] s6-man-pages: update to 2.11.2.0.1.
---
srcpkgs/s6-man-pages/template | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/srcpkgs/s6-man-pages/template b/srcpkgs/s6-man-pages/template
index 308c8a8ebd2b..290c85a02bd4 100644
--- a/srcpkgs/s6-man-pages/template
+++ b/srcpkgs/s6-man-pages/template
@@ -1,6 +1,6 @@
# Template file for 's6-man-pages'
pkgname=s6-man-pages
-version=2.11.1.1.1
+version=2.11.2.0.1
revision=1
build_style=gnu-makefile
short_desc="Ports of the HTML documentation for the s6 supervision suite to mdoc(7)"
@@ -8,7 +8,7 @@ maintainer="mobinmob <mobinmob@disroot.org>"
license="ISC"
homepage="https://github.com/flexibeast/s6-man-pages"
distfiles="https://github.com/flexibeast/s6-man-pages/archive/v${version}.tar.gz"
-checksum=794cd18cabee8c5afcb2cddfb35a5ae93240595aae5dc831acc8f4e258ca2199
+checksum=733db565d05425ad4f70ea70f43e2f63d0b3b8f16a46f89a3e8653ebbf0fe93b
post_install() {
vlicense LICENSE
From dd22593810204415167bfe10b3a0714d6e67bb90 Mon Sep 17 00:00:00 2001
From: mobinmob <mobinmob@disroot.org>
Date: Fri, 17 Feb 2023 20:12:25 +0200
Subject: [PATCH 11/18] s6-networking-man-pages: update to 2.5.1.2.1.
---
srcpkgs/s6-networking-man-pages/template | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/srcpkgs/s6-networking-man-pages/template b/srcpkgs/s6-networking-man-pages/template
index 2480ac1440f9..a34ce9e71fa7 100644
--- a/srcpkgs/s6-networking-man-pages/template
+++ b/srcpkgs/s6-networking-man-pages/template
@@ -1,6 +1,6 @@
# Template file for 's6-networking-man-pages'
pkgname=s6-networking-man-pages
-version=2.5.1.1.1
+version=2.5.1.2.1
revision=1
build_style=gnu-makefile
hostmakedepends="mdocml"
@@ -9,7 +9,7 @@ maintainer="mobinmob <mobinmob@disroot.org>"
license="ISC"
homepage="https://github.com/flexibeast/s6-networking-man-pages"
distfiles="https://github.com/flexibeast/s6-networking-man-pages/archive/refs/tags/v${version}.tar.gz"
-checksum=8502edfc01f54c7eca8131a5cb3c9a46c698c9199f9654db9183f7e307ece258
+checksum=40cd9f4f96b020f1bcf867dbc789111723a9a8931a66b9820a72e2491d154ab5
post_install() {
vlicense LICENSE
From 6648a6088e4ac2baec6ed832d7dc1d8bb6ffec2d Mon Sep 17 00:00:00 2001
From: mobinmob <mobinmob@disroot.org>
Date: Fri, 17 Feb 2023 20:12:38 +0200
Subject: [PATCH 12/18] s6-portable-utils-man-pages: update to 2.2.5.1.1.
---
srcpkgs/s6-portable-utils-man-pages/template | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/srcpkgs/s6-portable-utils-man-pages/template b/srcpkgs/s6-portable-utils-man-pages/template
index 28c906c1a67a..3320a91af185 100644
--- a/srcpkgs/s6-portable-utils-man-pages/template
+++ b/srcpkgs/s6-portable-utils-man-pages/template
@@ -1,6 +1,6 @@
# Template file for 's6-portable-utils-man-pages'
pkgname=s6-portable-utils-man-pages
-version=2.2.5.0.1
+version=2.2.5.1.1
revision=1
build_style=gnu-makefile
hostmakedepends="mdocml"
@@ -9,7 +9,7 @@ maintainer="mobinmob <mobinmob@disroot.org>"
license="ISC"
homepage="https://github.com/flexibeast/s6-portable-utils-man-pages"
distfiles="https://github.com/flexibeast/s6-portable-utils-man-pages/archive/refs/tags/v${version}.tar.gz"
-checksum=e960dbd459285846f89900643742846848431c0d82d4645f3c4b697227abdfe4
+checksum=977c7f204d7ae57872682407d27f3c4df53e5417d9e1cf57d62bce45893db8ff
post_install() {
vlicense LICENSE
From 93750b122e87606947be0a221198712c4d350db5 Mon Sep 17 00:00:00 2001
From: mobinmob <mobinmob@disroot.org>
Date: Fri, 17 Feb 2023 20:12:54 +0200
Subject: [PATCH 13/18] execline-man-pages: update to 2.9.1.0.1.
---
srcpkgs/execline-man-pages/template | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/srcpkgs/execline-man-pages/template b/srcpkgs/execline-man-pages/template
index 7369115caf4c..3803ed7c4d4f 100644
--- a/srcpkgs/execline-man-pages/template
+++ b/srcpkgs/execline-man-pages/template
@@ -1,6 +1,6 @@
# Template file for 'execline-man-pages'
pkgname=execline-man-pages
-version=2.9.0.0.1
+version=2.9.1.0.1
revision=1
build_style=gnu-makefile
hostmakedepends="mdocml"
@@ -9,7 +9,7 @@ maintainer="mobinmob <mobinmob@disroot.org>"
license="ISC"
homepage="https://github.com/flexibeast/execline-man-pages"
distfiles="https://github.com/flexibeast/execline-man-pages/archive/v${version}.tar.gz"
-checksum=e8e7e3deacbfdbb7144574068fdb5621340522ec8c6fa7e4d32b6b44ee060b33
+checksum=f170669b4a56e559275ac2b166cbadc4229b635906fe5c072fde7df545287d06
post_install() {
vlicense LICENSE
From 7b8ac32b82182a2d1cd098c9a7eb0857523125ca Mon Sep 17 00:00:00 2001
From: mobinmob <mobinmob@disroot.org>
Date: Fri, 17 Feb 2023 20:14:06 +0200
Subject: [PATCH 14/18] oblibs: revbump for new skarnet stack release.
---
srcpkgs/oblibs/template | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/srcpkgs/oblibs/template b/srcpkgs/oblibs/template
index f1adf1a9f436..15cc98f4d089 100644
--- a/srcpkgs/oblibs/template
+++ b/srcpkgs/oblibs/template
@@ -1,7 +1,7 @@
# Template file for 'oblibs'
pkgname=oblibs
version=0.1.4.0
-revision=2
+revision=3
build_style=configure
configure_args="--prefix=/usr --libdir=/usr/lib --with-sysdeps=${XBPS_CROSS_BASE}/usr/lib/skalibs/sysdeps"
makedepends="skalibs-devel execline-devel"
From 86ead7f1bba288a1e0cdd3e9ae0b89c125a410b6 Mon Sep 17 00:00:00 2001
From: mobinmob <mobinmob@disroot.org>
Date: Fri, 17 Feb 2023 20:14:28 +0200
Subject: [PATCH 15/18] 66-tools: revbump for new skarnet release.
---
srcpkgs/66-tools/template | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/srcpkgs/66-tools/template b/srcpkgs/66-tools/template
index 7f0983a12660..7536c2ba76aa 100644
--- a/srcpkgs/66-tools/template
+++ b/srcpkgs/66-tools/template
@@ -1,7 +1,7 @@
# Template file for '66-tools'
pkgname=66-tools
version=0.0.8.0
-revision=2
+revision=3
build_style=configure
configure_args="--prefix=/usr
--with-sysdeps=${XBPS_CROSS_BASE}/usr/lib/skalibs/sysdeps
From 05a06e10d004e1bcdf7aeefca3f60d797aee299e Mon Sep 17 00:00:00 2001
From: mobinmob <mobinmob@disroot.org>
Date: Fri, 17 Feb 2023 20:14:44 +0200
Subject: [PATCH 16/18] 66: revbump for new skarnet release.
---
srcpkgs/66/template | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/srcpkgs/66/template b/srcpkgs/66/template
index 150ab6049654..89677d007138 100644
--- a/srcpkgs/66/template
+++ b/srcpkgs/66/template
@@ -1,7 +1,7 @@
# Template file for '66'
pkgname=66
version=0.6.2.0
-revision=3
+revision=4
build_style=configure
configure_args="--prefix=/usr
--with-sysdeps=${XBPS_CROSS_BASE}/usr/lib/skalibs/sysdeps
From f10d1f4d34d1c63e8f821a9706203a9e3ae7b65b Mon Sep 17 00:00:00 2001
From: dkwo <nicolopiazzalunga@gmail.com>
Date: Fri, 24 Feb 2023 17:01:40 -0500
Subject: [PATCH 17/18] mdevd: update to 0.6.1.2, add conf and service
---
srcpkgs/mdevd/files/mdev.conf | 70 +++++++++++++++++++++++++++++++++++
srcpkgs/mdevd/files/mdevd/run | 4 ++
srcpkgs/mdevd/template | 9 +++--
3 files changed, 80 insertions(+), 3 deletions(-)
create mode 100644 srcpkgs/mdevd/files/mdev.conf
create mode 100644 srcpkgs/mdevd/files/mdevd/run
diff --git a/srcpkgs/mdevd/files/mdev.conf b/srcpkgs/mdevd/files/mdev.conf
new file mode 100644
index 000000000000..0c88a022cdcc
--- /dev/null
+++ b/srcpkgs/mdevd/files/mdev.conf
@@ -0,0 +1,70 @@
+# Configuration based on 'mdev-like-a-boss'.
+# https://github.com/slashbeast/mdev-like-a-boss/blob/master/mdev.conf
+
+null root:root 666 @chmod 666 $MDEV
+zero root:root 666
+full root:root 666
+random root:root 444
+urandom root:root 444
+hwrandom root:root 444
+grsec root:root 660
+kmem root:root 640
+mem root:root 640
+
+port root:root 640
+console root:tty 600 @chmod 600 $MDEV
+ptmx root:tty 666
+pty.* root:tty 660
+tty root:tty 666
+tty[0-9]* root:tty 660
+vcsa*[0-9]* root:tty 660
+
+# Kernel based virtual machine.
+kvm root:kvm 660
+vhost-net root:kvm 660
+
+# Block devices.
+ram([0-9]*) root:disk 660 >rd/%1
+loop([0-9]+) root:disk 660 >loop/%1
+sr[0-9]* root:cdrom 660 @ln -sf $MDEV cdrom
+fd[0-9]* root:floppy 660
+
+net/tun[0-9]* root:kvm 660
+net/tap[0-9]* root:root 600
+fuse root:root 666
+agpgart root:root 660 >misc/
+psaux root:root 660 >misc/
+rtc root:root 664 >misc/
+
+# Audio stuff.
+adsp root:audio 660 >sound/
+audio root:audio 660 >sound/
+dsp root:audio 660 >sound/
+mixer root:audio 660 >sound/
+sequencer.* root:audio 660 >sound/
+snd/.* root:audio 660
+
+# Raid controllers.
+cciss!(.*) root:disk 660 =cciss/%1
+ida!(.*) root:disk 660 =ida/%1
+rd!(.*) root:disk 660 =rd/%1
+
+# Input stuff.
+SUBSYSTEM=input;.* root:input 660
+
+# Video stuff.
+card[0-9] root:video 660 =dri/
+vbi[0-9] root:video 660 >v4l/
+video[0-9] root:video 660 >v4l/
+dri/.* root:video 660
+
+# Don't create old usbdev* devices.
+usbdev[0-9].[0-9]* root:root 660 !
+
+# Stop creating x:x:x:x which looks like /dev/dm-*.
+[0-9]+\:[0-9]+\:[0-9]+\:[0-9]+ root:root 660 !
+
+# /dev/cpu support.
+microcode root:root 600 =cpu/
+cpu([0-9]+) root:root 600 =cpu/%1/cpuid
+msr([0-9]+) root:root 600 =cpu/%1/msr
diff --git a/srcpkgs/mdevd/files/mdevd/run b/srcpkgs/mdevd/files/mdevd/run
new file mode 100644
index 000000000000..79bd7a787f5f
--- /dev/null
+++ b/srcpkgs/mdevd/files/mdevd/run
@@ -0,0 +1,4 @@
+#!/bin/sh
+
+exec 2>&1
+exec mdevd -f /etc/mdevd.conf -D 3 -b 200000 -O4
\ No newline at end of file
diff --git a/srcpkgs/mdevd/template b/srcpkgs/mdevd/template
index 43f2118937fb..b44a02046d60 100644
--- a/srcpkgs/mdevd/template
+++ b/srcpkgs/mdevd/template
@@ -1,6 +1,6 @@
# Template file for 'mdevd'
pkgname=mdevd
-version=0.1.6.0
+version=0.1.6.2
revision=1
build_style=configure
configure_args="--includedir=/usr/include --bindir=/usr/bin --libdir=/usr/lib
@@ -14,9 +14,10 @@ license="ISC"
homepage="https://skarnet.org/software/mdevd/"
changelog="https://skarnet.org/software/mdevd/upgrade.html"
distfiles="https://skarnet.org/software/mdevd/mdevd-${version}.tar.gz"
-checksum=33cf2b118634538fd24f302b30f52cc8aa28ea68b414916ce482b54a4ee57283
-
+checksum=ac2fcf9004f07904592c5894e2c401e15bb027ecf37bcb8ea661e2a7993447be
+conf_files="/etc/mdev.conf"
build_options="static"
+make_check=no # no tests
case "$XBPS_TARGET_MACHINE" in
*-musl)
@@ -29,6 +30,8 @@ post_install() {
vlicense COPYING
vdoc README
vcopy "doc/*" usr/share/doc/${pkgname}
+ vsv mdevd
+ vcopy ${FILESDIR}/mdev.conf etc/mdev.conf
}
mdevd-doc_package() {
From 84b0fac08888772bdd0bc50cb350e3baaa1d120d Mon Sep 17 00:00:00 2001
From: dkwo <nicolopiazzalunga@gmail.com>
Date: Fri, 24 Feb 2023 18:26:36 -0500
Subject: [PATCH 18/18] new package: libudev-zero
---
srcpkgs/libudev-zero/template | 24 ++++++++++++++++++++++++
1 file changed, 24 insertions(+)
create mode 100644 srcpkgs/libudev-zero/template
diff --git a/srcpkgs/libudev-zero/template b/srcpkgs/libudev-zero/template
new file mode 100644
index 000000000000..4c19b6b6dcfa
--- /dev/null
+++ b/srcpkgs/libudev-zero/template
@@ -0,0 +1,24 @@
+# Template file for 'libudev-zero'
+pkgname=libudev-zero
+version=1.0.1
+revision=1
+build_style=gnu-makefile
+short_desc="Daemonless replacement for libudev"
+maintainer="dkwo <npiazza@disroot.org>"
+license="ISC"
+homepage="https://github.com/illiliti/libudev-zero"
+distfiles="https://github.com/illiliti/libudev-zero/archive/refs/tags/${version}.tar.gz"
+checksum=c4cf149ea96295c1e6e86038d10c725344c751982ed4a790b06c76776923e0ea
+make_check=no # no tests
+replaces="eudev-libudev>=3.2.11_1"
+#provides
+
+post_build() {
+ "$CC" $LDFLAGS $CFLAGS $CPPFLAGS -o libudev-zero-helper contrib/helper.c
+}
+
+post_install() {
+ rm -f ${DESTDIR}/usr/lib/libudev.a
+ vlicense LICENSE
+ vinstall libudev-zero-helper 755 usr/libexec
+}
^ permalink raw reply [flat|nested] 50+ messages in thread
* Re: [rfc] udev alternatives
2023-02-27 16:49 [PR PATCH] [rfc] udev alternatives dkwo
` (5 preceding siblings ...)
2023-02-27 18:05 ` [PR PATCH] [Updated] " dkwo
@ 2023-02-27 18:06 ` dkwo
2023-02-27 18:07 ` [PR PATCH] [Updated] " dkwo
` (41 subsequent siblings)
48 siblings, 0 replies; 50+ messages in thread
From: dkwo @ 2023-02-27 18:06 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 186 bytes --]
New comment by dkwo on void-packages repository
https://github.com/void-linux/void-packages/pull/42488#issuecomment-1446804753
Comment:
@mobinmob thanks, I rebased on your pr for now.
^ permalink raw reply [flat|nested] 50+ messages in thread
* Re: [PR PATCH] [Updated] [rfc] udev alternatives
2023-02-27 16:49 [PR PATCH] [rfc] udev alternatives dkwo
` (6 preceding siblings ...)
2023-02-27 18:06 ` dkwo
@ 2023-02-27 18:07 ` dkwo
2023-02-27 18:25 ` dkwo
` (40 subsequent siblings)
48 siblings, 0 replies; 50+ messages in thread
From: dkwo @ 2023-02-27 18:07 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 1013 bytes --]
There is an updated pull request by dkwo against master on the void-packages repository
https://github.com/dkwo/void-packages udev
https://github.com/void-linux/void-packages/pull/42488
[rfc] udev alternatives
There are still some things I do not understand, notably:
- how to deal with eudev-libudev: libudev-zero replaces, conflicts, provides it? it provides /usr/lib/libudev.so.1, I expect some stuff built with eudev-libudev-devel (wlroots, libinput) to work with it, while other may not if one removes eudev-libudev (lvm2, pipewire), see https://github.com/illiliti/libudev-zero
- find an optimal mdev.conf (current one is taken from kiss-linux, alpine has a similar one)
- edit the corresponing runit parts in stage 1.
- I tested the changes in this PR: no
- I built this PR locally for my native architecture, (x86_64-musl)
cc mantainer @mobinmob for now I updated mdevd, added a service and conf file.
A patch file from https://github.com/void-linux/void-packages/pull/42488.patch is attached
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-udev-42488.patch --]
[-- Type: text/x-diff, Size: 22205 bytes --]
From d12c2bcb9a77757660154ccf61c848208960b2f0 Mon Sep 17 00:00:00 2001
From: mobinmob <mobinmob@disroot.org>
Date: Fri, 17 Feb 2023 20:11:07 +0200
Subject: [PATCH 01/18] skalibs: update to 2.13.1.0.
---
common/shlibs | 2 +-
srcpkgs/skalibs/template | 4 ++--
2 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/common/shlibs b/common/shlibs
index 538ff08ce5ff..8805ec257ef2 100644
--- a/common/shlibs
+++ b/common/shlibs
@@ -2374,7 +2374,7 @@ libgnunettransport.so.2 gnunet-0.12.2_1
libgnunettransportapplication.so.0 gnunet-0.12.2_1
libgnunettransportcore.so.0 gnunet-0.12.2_1
libgnunettransportcommunicator.so.0 gnunet-0.12.2_1
-libskarnet.so.2.12 skalibs-2.12.0.0_1
+libskarnet.so.2.13 skalibs-2.13.0.0_1
libKF5BalooWidgets.so.5 baloo-widgets5-17.04.3_1
libtidy.so.58 libtidy5-5.8.0_1
libSDL2_gfx-1.0.so.0 SDL2_gfx-1.0.1_1
diff --git a/srcpkgs/skalibs/template b/srcpkgs/skalibs/template
index dccbcee327eb..185177eb4165 100644
--- a/srcpkgs/skalibs/template
+++ b/srcpkgs/skalibs/template
@@ -1,6 +1,6 @@
# Template file for 'skalibs'
pkgname=skalibs
-version=2.12.0.1
+version=2.13.1.0
revision=1
build_style=configure
configure_args="--libdir=/usr/lib --enable-static --enable-shared
@@ -14,7 +14,7 @@ license="ISC"
homepage="https://skarnet.org/software/skalibs/"
changelog="https://skarnet.org/software/skalibs/upgrade.html"
distfiles="https://skarnet.org/software/${pkgname}/${pkgname}-${version}.tar.gz"
-checksum=3e228f72f18d88c17f6c4e0a66881d6d3779427b7e7e889f3142b6f26da30285
+checksum=b3c48938c7fba4b19a8b0dce6e7a11427717a0901160bb62cfc6823f8ac86d92
post_install() {
vlicense COPYING LICENSE
From 3d97f5a158ac754d42cf6d6dfdd9f260be345eac Mon Sep 17 00:00:00 2001
From: mobinmob <mobinmob@disroot.org>
Date: Fri, 17 Feb 2023 20:11:14 +0200
Subject: [PATCH 02/18] execline: update to 2.9.2.0.
---
srcpkgs/execline/template | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/srcpkgs/execline/template b/srcpkgs/execline/template
index 2df4249d34cc..6c16293af1a8 100644
--- a/srcpkgs/execline/template
+++ b/srcpkgs/execline/template
@@ -1,6 +1,6 @@
# Template file for 'execline'
pkgname=execline
-version=2.9.0.1
+version=2.9.2.0
revision=1
build_style=configure
configure_args="--libdir=/usr/lib --bindir=/usr/bin
@@ -14,7 +14,7 @@ license="ISC"
homepage="https://skarnet.org/software/execline/"
changelog="https://skarnet.org/software/execline/upgrade.html"
distfiles="https://skarnet.org/software/${pkgname}/${pkgname}-${version}.tar.gz"
-checksum=01260fcaf80ffbca2a94aa55ea474dfb9e39b3033b55c8af88126791879531f6
+checksum=9365012558a1e3c019cafc6eb574b0f5890495fb02652f20efdd782d577b1601
CFLAGS="-fPIC"
From e0bec165ca8b74cea0426c79c841d519a3d3c2b0 Mon Sep 17 00:00:00 2001
From: mobinmob <mobinmob@disroot.org>
Date: Fri, 17 Feb 2023 20:11:20 +0200
Subject: [PATCH 03/18] s6: update to 2.11.3.0.
---
srcpkgs/s6/template | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/srcpkgs/s6/template b/srcpkgs/s6/template
index d54785b251b2..ef18c396fcde 100644
--- a/srcpkgs/s6/template
+++ b/srcpkgs/s6/template
@@ -1,6 +1,6 @@
# Template file for 's6'
pkgname=s6
-version=2.11.1.1
+version=2.11.3.0
revision=1
build_style=configure
configure_args="--libdir=/usr/lib --bindir=/usr/bin
@@ -15,7 +15,7 @@ license="ISC"
homepage="http://skarnet.org/software/s6/"
changelog="https://skarnet.org/software/s6/upgrade.html"
distfiles="http://skarnet.org/software/s6/s6-${version}.tar.gz"
-checksum=1cef7f7b3a7e01181fbb6fe8300e6ba422d9689007221c78af1f99528acb6c38
+checksum=0ef2de80c40b603d58bf65ec5dd9f0bb1f227d35f311e8948d9e30f81efb5b81
build_options="static"
From 06358339cbccabe585675f5276c0f6372aa8f21b Mon Sep 17 00:00:00 2001
From: mobinmob <mobinmob@disroot.org>
Date: Fri, 17 Feb 2023 20:11:24 +0200
Subject: [PATCH 04/18] s6-rc: update to 0.5.4.0.
---
srcpkgs/s6-rc/template | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/srcpkgs/s6-rc/template b/srcpkgs/s6-rc/template
index 495907ef8a60..1fef769f112f 100644
--- a/srcpkgs/s6-rc/template
+++ b/srcpkgs/s6-rc/template
@@ -1,6 +1,6 @@
# Template file for 's6-rc'
pkgname=s6-rc
-version=0.5.3.2
+version=0.5.4.0
revision=1
build_style=configure
configure_args="--prefix=/usr --libdir=/usr/lib --includedir=/usr/include
@@ -15,7 +15,7 @@ license="ISC"
homepage="https://skarnet.org/software/s6-rc/"
changelog="https://skarnet.org/software/s6-rc/upgrade.html"
distfiles="https://skarnet.org/software/${pkgname}/${pkgname}-${version}.tar.gz"
-checksum=4f24a4966a4aa353d2bd1a8afca9b88c7b7bd29c46b3a1a7f5305686b9d6e038
+checksum=9e750e63a19aaf65ef50cf6f691b8641f7d98857fa2e992b8186953fb32cad70
build_options="static"
From 58d67e385a2910023502dceeaf067198835c9f70 Mon Sep 17 00:00:00 2001
From: mobinmob <mobinmob@disroot.org>
Date: Fri, 17 Feb 2023 20:11:38 +0200
Subject: [PATCH 05/18] nsss: update to 0.2.0.3.
---
srcpkgs/nsss/template | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/srcpkgs/nsss/template b/srcpkgs/nsss/template
index b4efae672355..ae3cac748266 100644
--- a/srcpkgs/nsss/template
+++ b/srcpkgs/nsss/template
@@ -1,7 +1,7 @@
# Template file for 'nsss'
pkgname=nsss
-version=0.2.0.1
-revision=2
+version=0.2.0.3
+revision=1
# Only available for musl
archs="*-musl"
build_style=configure
@@ -16,7 +16,7 @@ license="ISC"
homepage="https://skarnet.org/software/nsss/"
changelog="https://skarnet.org/software/nsss/upgrade.html"
distfiles="https://skarnet.org/software/nsss/nsss-${version}.tar.gz"
-checksum=7d984ea627b3a8d7649d9bf24c79693f338e911d2b11040b89c4febfb1b3125b
+checksum=b1e397ed5b327611a7c2c8c1dc60e91fef353c54fead464f887720bc0914148e
build_options="static"
From 8502b2cb37cf16a766dc6888da988ae19fb943d0 Mon Sep 17 00:00:00 2001
From: mobinmob <mobinmob@disroot.org>
Date: Fri, 17 Feb 2023 20:11:42 +0200
Subject: [PATCH 06/18] s6-dns: update to 2.3.5.5.
---
srcpkgs/s6-dns/template | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/srcpkgs/s6-dns/template b/srcpkgs/s6-dns/template
index 4d282185ce8a..7f243bc2ec82 100644
--- a/srcpkgs/s6-dns/template
+++ b/srcpkgs/s6-dns/template
@@ -1,6 +1,6 @@
# Template file for 's6-dns'
pkgname=s6-dns
-version=2.3.5.4
+version=2.3.5.5
revision=1
build_style=configure
configure_args="--prefix=/usr --libdir=/usr/lib
@@ -13,7 +13,7 @@ maintainer="Orphaned <orphan@voidlinux.org>"
license="ISC"
homepage="https://skarnet.org/software/s6-dns"
distfiles="${homepage}/${pkgname}-${version}.tar.gz"
-checksum=76af222472c4754f83cdc59ad354255ce1b1e6f6833a059328463f8e51f4db43
+checksum=56979b5d5125c38071a80b5e3df0d4a6b2a7c52bb863a2410b6e3d797ffe1ee8
build_options="static"
From f1d1a0471e43adf693501fb72a87ffa719725643 Mon Sep 17 00:00:00 2001
From: mobinmob <mobinmob@disroot.org>
Date: Fri, 17 Feb 2023 20:11:49 +0200
Subject: [PATCH 07/18] s6-networking: update to 2.5.1.2.
---
srcpkgs/s6-networking/template | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/srcpkgs/s6-networking/template b/srcpkgs/s6-networking/template
index 5a04b9abf01b..1652f93ec9ac 100644
--- a/srcpkgs/s6-networking/template
+++ b/srcpkgs/s6-networking/template
@@ -1,6 +1,6 @@
# Template file for 's6-networking'
pkgname=s6-networking
-version=2.5.1.1
+version=2.5.1.2
revision=1
build_style=configure
configure_args="--libdir=/usr/lib $(vopt_if libtls --enable-ssl=libtls)
@@ -16,7 +16,7 @@ license="ISC"
homepage="https://skarnet.org/software/s6-networking"
changelog="https://skarnet.org/software/s6-networking/upgrade.html"
distfiles="${homepage}/${pkgname}-${version}.tar.gz"
-checksum=7ac79d4de3d9c13532e444ab7497c4e04ad0fa7229d502984d9dc7d48aa64418
+checksum=d072deb67a4ca4d7c512640c5f33a766c7b854364949727d3600738c6769f146
build_options="bearssl libtls static"
build_options_default="bearssl"
From 7aee22f5fd112b9e19ba7e95874292076c8e8081 Mon Sep 17 00:00:00 2001
From: mobinmob <mobinmob@disroot.org>
Date: Fri, 17 Feb 2023 20:11:59 +0200
Subject: [PATCH 08/18] s6-portable-utils: update to 2.3.0.0.
---
srcpkgs/s6-portable-utils/template | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/srcpkgs/s6-portable-utils/template b/srcpkgs/s6-portable-utils/template
index ca0c308fb3b1..eca93d57160e 100644
--- a/srcpkgs/s6-portable-utils/template
+++ b/srcpkgs/s6-portable-utils/template
@@ -1,6 +1,6 @@
# Template file for 's6-portable-utils'
pkgname=s6-portable-utils
-version=2.2.5.0
+version=2.3.0.0
revision=1
build_style=configure
configure_args="--prefix=/usr --libdir=/usr/lib --includedir=/usr/include
@@ -14,7 +14,7 @@ license="ISC"
homepage="https://skarnet.org/software/s6-portable-utils/"
changelog="https://skarnet.org/software/s6-portable-utils/upgrade.html"
distfiles="https://skarnet.org/software/${pkgname}/${pkgname}-${version}.tar.gz"
-checksum=ebb39f8934fd36f25d31352e61bbd94dc02b1e9f04411850d2fd9658bd916e36
+checksum=1e9066c430c1cb39a3a7b7004cd379ffebe566bd3d698db18de6125783002005
build_options="static"
From f451a9b38723e7c4dea256581751c27eff5e3f50 Mon Sep 17 00:00:00 2001
From: mobinmob <mobinmob@disroot.org>
Date: Fri, 17 Feb 2023 20:12:05 +0200
Subject: [PATCH 09/18] s6-linux-utils: update to 2.6.1.0.
---
srcpkgs/s6-linux-utils/template | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/srcpkgs/s6-linux-utils/template b/srcpkgs/s6-linux-utils/template
index 212752cc26d0..28bd4b52b8a4 100644
--- a/srcpkgs/s6-linux-utils/template
+++ b/srcpkgs/s6-linux-utils/template
@@ -1,6 +1,6 @@
# Template file for 's6-linux-utils'
pkgname=s6-linux-utils
-version=2.6.0.0
+version=2.6.1.0
revision=1
build_style=configure
configure_args="--libdir=/usr/lib --includedir=/usr/include
@@ -14,7 +14,7 @@ license="ISC"
homepage="https://skarnet.org/software/s6-linux-utils"
changelog="https://skarnet.org/software/s6-linux-utils/upgrade.html"
distfiles="${homepage}/${pkgname}-${version}.tar.gz"
-checksum=6c7132734a0c8287002ee6910c469f175a97d766a8023c0c33af8ba92643ed59
+checksum=2accb5a443dd04203a6358534bdcf0dd369aceb4733e322612c2b8329260b7a2
build_options="static"
From 212fc06d08582029ff942a15ec9c566665ef5d76 Mon Sep 17 00:00:00 2001
From: mobinmob <mobinmob@disroot.org>
Date: Fri, 17 Feb 2023 20:12:13 +0200
Subject: [PATCH 10/18] s6-man-pages: update to 2.11.2.0.1.
---
srcpkgs/s6-man-pages/template | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/srcpkgs/s6-man-pages/template b/srcpkgs/s6-man-pages/template
index 308c8a8ebd2b..290c85a02bd4 100644
--- a/srcpkgs/s6-man-pages/template
+++ b/srcpkgs/s6-man-pages/template
@@ -1,6 +1,6 @@
# Template file for 's6-man-pages'
pkgname=s6-man-pages
-version=2.11.1.1.1
+version=2.11.2.0.1
revision=1
build_style=gnu-makefile
short_desc="Ports of the HTML documentation for the s6 supervision suite to mdoc(7)"
@@ -8,7 +8,7 @@ maintainer="mobinmob <mobinmob@disroot.org>"
license="ISC"
homepage="https://github.com/flexibeast/s6-man-pages"
distfiles="https://github.com/flexibeast/s6-man-pages/archive/v${version}.tar.gz"
-checksum=794cd18cabee8c5afcb2cddfb35a5ae93240595aae5dc831acc8f4e258ca2199
+checksum=733db565d05425ad4f70ea70f43e2f63d0b3b8f16a46f89a3e8653ebbf0fe93b
post_install() {
vlicense LICENSE
From dd22593810204415167bfe10b3a0714d6e67bb90 Mon Sep 17 00:00:00 2001
From: mobinmob <mobinmob@disroot.org>
Date: Fri, 17 Feb 2023 20:12:25 +0200
Subject: [PATCH 11/18] s6-networking-man-pages: update to 2.5.1.2.1.
---
srcpkgs/s6-networking-man-pages/template | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/srcpkgs/s6-networking-man-pages/template b/srcpkgs/s6-networking-man-pages/template
index 2480ac1440f9..a34ce9e71fa7 100644
--- a/srcpkgs/s6-networking-man-pages/template
+++ b/srcpkgs/s6-networking-man-pages/template
@@ -1,6 +1,6 @@
# Template file for 's6-networking-man-pages'
pkgname=s6-networking-man-pages
-version=2.5.1.1.1
+version=2.5.1.2.1
revision=1
build_style=gnu-makefile
hostmakedepends="mdocml"
@@ -9,7 +9,7 @@ maintainer="mobinmob <mobinmob@disroot.org>"
license="ISC"
homepage="https://github.com/flexibeast/s6-networking-man-pages"
distfiles="https://github.com/flexibeast/s6-networking-man-pages/archive/refs/tags/v${version}.tar.gz"
-checksum=8502edfc01f54c7eca8131a5cb3c9a46c698c9199f9654db9183f7e307ece258
+checksum=40cd9f4f96b020f1bcf867dbc789111723a9a8931a66b9820a72e2491d154ab5
post_install() {
vlicense LICENSE
From 6648a6088e4ac2baec6ed832d7dc1d8bb6ffec2d Mon Sep 17 00:00:00 2001
From: mobinmob <mobinmob@disroot.org>
Date: Fri, 17 Feb 2023 20:12:38 +0200
Subject: [PATCH 12/18] s6-portable-utils-man-pages: update to 2.2.5.1.1.
---
srcpkgs/s6-portable-utils-man-pages/template | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/srcpkgs/s6-portable-utils-man-pages/template b/srcpkgs/s6-portable-utils-man-pages/template
index 28c906c1a67a..3320a91af185 100644
--- a/srcpkgs/s6-portable-utils-man-pages/template
+++ b/srcpkgs/s6-portable-utils-man-pages/template
@@ -1,6 +1,6 @@
# Template file for 's6-portable-utils-man-pages'
pkgname=s6-portable-utils-man-pages
-version=2.2.5.0.1
+version=2.2.5.1.1
revision=1
build_style=gnu-makefile
hostmakedepends="mdocml"
@@ -9,7 +9,7 @@ maintainer="mobinmob <mobinmob@disroot.org>"
license="ISC"
homepage="https://github.com/flexibeast/s6-portable-utils-man-pages"
distfiles="https://github.com/flexibeast/s6-portable-utils-man-pages/archive/refs/tags/v${version}.tar.gz"
-checksum=e960dbd459285846f89900643742846848431c0d82d4645f3c4b697227abdfe4
+checksum=977c7f204d7ae57872682407d27f3c4df53e5417d9e1cf57d62bce45893db8ff
post_install() {
vlicense LICENSE
From 93750b122e87606947be0a221198712c4d350db5 Mon Sep 17 00:00:00 2001
From: mobinmob <mobinmob@disroot.org>
Date: Fri, 17 Feb 2023 20:12:54 +0200
Subject: [PATCH 13/18] execline-man-pages: update to 2.9.1.0.1.
---
srcpkgs/execline-man-pages/template | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/srcpkgs/execline-man-pages/template b/srcpkgs/execline-man-pages/template
index 7369115caf4c..3803ed7c4d4f 100644
--- a/srcpkgs/execline-man-pages/template
+++ b/srcpkgs/execline-man-pages/template
@@ -1,6 +1,6 @@
# Template file for 'execline-man-pages'
pkgname=execline-man-pages
-version=2.9.0.0.1
+version=2.9.1.0.1
revision=1
build_style=gnu-makefile
hostmakedepends="mdocml"
@@ -9,7 +9,7 @@ maintainer="mobinmob <mobinmob@disroot.org>"
license="ISC"
homepage="https://github.com/flexibeast/execline-man-pages"
distfiles="https://github.com/flexibeast/execline-man-pages/archive/v${version}.tar.gz"
-checksum=e8e7e3deacbfdbb7144574068fdb5621340522ec8c6fa7e4d32b6b44ee060b33
+checksum=f170669b4a56e559275ac2b166cbadc4229b635906fe5c072fde7df545287d06
post_install() {
vlicense LICENSE
From 7b8ac32b82182a2d1cd098c9a7eb0857523125ca Mon Sep 17 00:00:00 2001
From: mobinmob <mobinmob@disroot.org>
Date: Fri, 17 Feb 2023 20:14:06 +0200
Subject: [PATCH 14/18] oblibs: revbump for new skarnet stack release.
---
srcpkgs/oblibs/template | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/srcpkgs/oblibs/template b/srcpkgs/oblibs/template
index f1adf1a9f436..15cc98f4d089 100644
--- a/srcpkgs/oblibs/template
+++ b/srcpkgs/oblibs/template
@@ -1,7 +1,7 @@
# Template file for 'oblibs'
pkgname=oblibs
version=0.1.4.0
-revision=2
+revision=3
build_style=configure
configure_args="--prefix=/usr --libdir=/usr/lib --with-sysdeps=${XBPS_CROSS_BASE}/usr/lib/skalibs/sysdeps"
makedepends="skalibs-devel execline-devel"
From 86ead7f1bba288a1e0cdd3e9ae0b89c125a410b6 Mon Sep 17 00:00:00 2001
From: mobinmob <mobinmob@disroot.org>
Date: Fri, 17 Feb 2023 20:14:28 +0200
Subject: [PATCH 15/18] 66-tools: revbump for new skarnet release.
---
srcpkgs/66-tools/template | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/srcpkgs/66-tools/template b/srcpkgs/66-tools/template
index 7f0983a12660..7536c2ba76aa 100644
--- a/srcpkgs/66-tools/template
+++ b/srcpkgs/66-tools/template
@@ -1,7 +1,7 @@
# Template file for '66-tools'
pkgname=66-tools
version=0.0.8.0
-revision=2
+revision=3
build_style=configure
configure_args="--prefix=/usr
--with-sysdeps=${XBPS_CROSS_BASE}/usr/lib/skalibs/sysdeps
From 05a06e10d004e1bcdf7aeefca3f60d797aee299e Mon Sep 17 00:00:00 2001
From: mobinmob <mobinmob@disroot.org>
Date: Fri, 17 Feb 2023 20:14:44 +0200
Subject: [PATCH 16/18] 66: revbump for new skarnet release.
---
srcpkgs/66/template | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/srcpkgs/66/template b/srcpkgs/66/template
index 150ab6049654..89677d007138 100644
--- a/srcpkgs/66/template
+++ b/srcpkgs/66/template
@@ -1,7 +1,7 @@
# Template file for '66'
pkgname=66
version=0.6.2.0
-revision=3
+revision=4
build_style=configure
configure_args="--prefix=/usr
--with-sysdeps=${XBPS_CROSS_BASE}/usr/lib/skalibs/sysdeps
From e40b6a1c7550742418eb2c6ca3dd7fb716805ba8 Mon Sep 17 00:00:00 2001
From: dkwo <nicolopiazzalunga@gmail.com>
Date: Fri, 24 Feb 2023 17:01:40 -0500
Subject: [PATCH 17/18] mdevd: update to 0.6.1.2, add conf and service
---
srcpkgs/mdevd/files/mdev.conf | 70 +++++++++++++++++++++++++++++++++++
srcpkgs/mdevd/files/mdevd/run | 5 +++
srcpkgs/mdevd/template | 9 +++--
3 files changed, 81 insertions(+), 3 deletions(-)
create mode 100644 srcpkgs/mdevd/files/mdev.conf
create mode 100644 srcpkgs/mdevd/files/mdevd/run
diff --git a/srcpkgs/mdevd/files/mdev.conf b/srcpkgs/mdevd/files/mdev.conf
new file mode 100644
index 000000000000..0c88a022cdcc
--- /dev/null
+++ b/srcpkgs/mdevd/files/mdev.conf
@@ -0,0 +1,70 @@
+# Configuration based on 'mdev-like-a-boss'.
+# https://github.com/slashbeast/mdev-like-a-boss/blob/master/mdev.conf
+
+null root:root 666 @chmod 666 $MDEV
+zero root:root 666
+full root:root 666
+random root:root 444
+urandom root:root 444
+hwrandom root:root 444
+grsec root:root 660
+kmem root:root 640
+mem root:root 640
+
+port root:root 640
+console root:tty 600 @chmod 600 $MDEV
+ptmx root:tty 666
+pty.* root:tty 660
+tty root:tty 666
+tty[0-9]* root:tty 660
+vcsa*[0-9]* root:tty 660
+
+# Kernel based virtual machine.
+kvm root:kvm 660
+vhost-net root:kvm 660
+
+# Block devices.
+ram([0-9]*) root:disk 660 >rd/%1
+loop([0-9]+) root:disk 660 >loop/%1
+sr[0-9]* root:cdrom 660 @ln -sf $MDEV cdrom
+fd[0-9]* root:floppy 660
+
+net/tun[0-9]* root:kvm 660
+net/tap[0-9]* root:root 600
+fuse root:root 666
+agpgart root:root 660 >misc/
+psaux root:root 660 >misc/
+rtc root:root 664 >misc/
+
+# Audio stuff.
+adsp root:audio 660 >sound/
+audio root:audio 660 >sound/
+dsp root:audio 660 >sound/
+mixer root:audio 660 >sound/
+sequencer.* root:audio 660 >sound/
+snd/.* root:audio 660
+
+# Raid controllers.
+cciss!(.*) root:disk 660 =cciss/%1
+ida!(.*) root:disk 660 =ida/%1
+rd!(.*) root:disk 660 =rd/%1
+
+# Input stuff.
+SUBSYSTEM=input;.* root:input 660
+
+# Video stuff.
+card[0-9] root:video 660 =dri/
+vbi[0-9] root:video 660 >v4l/
+video[0-9] root:video 660 >v4l/
+dri/.* root:video 660
+
+# Don't create old usbdev* devices.
+usbdev[0-9].[0-9]* root:root 660 !
+
+# Stop creating x:x:x:x which looks like /dev/dm-*.
+[0-9]+\:[0-9]+\:[0-9]+\:[0-9]+ root:root 660 !
+
+# /dev/cpu support.
+microcode root:root 600 =cpu/
+cpu([0-9]+) root:root 600 =cpu/%1/cpuid
+msr([0-9]+) root:root 600 =cpu/%1/msr
diff --git a/srcpkgs/mdevd/files/mdevd/run b/srcpkgs/mdevd/files/mdevd/run
new file mode 100644
index 000000000000..4cd60dd302a0
--- /dev/null
+++ b/srcpkgs/mdevd/files/mdevd/run
@@ -0,0 +1,5 @@
+#!/bin/sh
+
+exec 2>&1
+exec mdevd -f /etc/mdevd.conf -D 3 -b 200000 -O4
+
diff --git a/srcpkgs/mdevd/template b/srcpkgs/mdevd/template
index 43f2118937fb..b44a02046d60 100644
--- a/srcpkgs/mdevd/template
+++ b/srcpkgs/mdevd/template
@@ -1,6 +1,6 @@
# Template file for 'mdevd'
pkgname=mdevd
-version=0.1.6.0
+version=0.1.6.2
revision=1
build_style=configure
configure_args="--includedir=/usr/include --bindir=/usr/bin --libdir=/usr/lib
@@ -14,9 +14,10 @@ license="ISC"
homepage="https://skarnet.org/software/mdevd/"
changelog="https://skarnet.org/software/mdevd/upgrade.html"
distfiles="https://skarnet.org/software/mdevd/mdevd-${version}.tar.gz"
-checksum=33cf2b118634538fd24f302b30f52cc8aa28ea68b414916ce482b54a4ee57283
-
+checksum=ac2fcf9004f07904592c5894e2c401e15bb027ecf37bcb8ea661e2a7993447be
+conf_files="/etc/mdev.conf"
build_options="static"
+make_check=no # no tests
case "$XBPS_TARGET_MACHINE" in
*-musl)
@@ -29,6 +30,8 @@ post_install() {
vlicense COPYING
vdoc README
vcopy "doc/*" usr/share/doc/${pkgname}
+ vsv mdevd
+ vcopy ${FILESDIR}/mdev.conf etc/mdev.conf
}
mdevd-doc_package() {
From 4265a09fd52a1d4ec185e2674d328946768b30a9 Mon Sep 17 00:00:00 2001
From: dkwo <nicolopiazzalunga@gmail.com>
Date: Fri, 24 Feb 2023 18:26:36 -0500
Subject: [PATCH 18/18] new package: libudev-zero
---
srcpkgs/libudev-zero/template | 24 ++++++++++++++++++++++++
1 file changed, 24 insertions(+)
create mode 100644 srcpkgs/libudev-zero/template
diff --git a/srcpkgs/libudev-zero/template b/srcpkgs/libudev-zero/template
new file mode 100644
index 000000000000..4c19b6b6dcfa
--- /dev/null
+++ b/srcpkgs/libudev-zero/template
@@ -0,0 +1,24 @@
+# Template file for 'libudev-zero'
+pkgname=libudev-zero
+version=1.0.1
+revision=1
+build_style=gnu-makefile
+short_desc="Daemonless replacement for libudev"
+maintainer="dkwo <npiazza@disroot.org>"
+license="ISC"
+homepage="https://github.com/illiliti/libudev-zero"
+distfiles="https://github.com/illiliti/libudev-zero/archive/refs/tags/${version}.tar.gz"
+checksum=c4cf149ea96295c1e6e86038d10c725344c751982ed4a790b06c76776923e0ea
+make_check=no # no tests
+replaces="eudev-libudev>=3.2.11_1"
+#provides
+
+post_build() {
+ "$CC" $LDFLAGS $CFLAGS $CPPFLAGS -o libudev-zero-helper contrib/helper.c
+}
+
+post_install() {
+ rm -f ${DESTDIR}/usr/lib/libudev.a
+ vlicense LICENSE
+ vinstall libudev-zero-helper 755 usr/libexec
+}
^ permalink raw reply [flat|nested] 50+ messages in thread
* Re: [PR PATCH] [Updated] [rfc] udev alternatives
2023-02-27 16:49 [PR PATCH] [rfc] udev alternatives dkwo
` (7 preceding siblings ...)
2023-02-27 18:07 ` [PR PATCH] [Updated] " dkwo
@ 2023-02-27 18:25 ` dkwo
2023-02-27 18:38 ` dkwo
` (39 subsequent siblings)
48 siblings, 0 replies; 50+ messages in thread
From: dkwo @ 2023-02-27 18:25 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 1013 bytes --]
There is an updated pull request by dkwo against master on the void-packages repository
https://github.com/dkwo/void-packages udev
https://github.com/void-linux/void-packages/pull/42488
[rfc] udev alternatives
There are still some things I do not understand, notably:
- how to deal with eudev-libudev: libudev-zero replaces, conflicts, provides it? it provides /usr/lib/libudev.so.1, I expect some stuff built with eudev-libudev-devel (wlroots, libinput) to work with it, while other may not if one removes eudev-libudev (lvm2, pipewire), see https://github.com/illiliti/libudev-zero
- find an optimal mdev.conf (current one is taken from kiss-linux, alpine has a similar one)
- edit the corresponing runit parts in stage 1.
- I tested the changes in this PR: no
- I built this PR locally for my native architecture, (x86_64-musl)
cc mantainer @mobinmob for now I updated mdevd, added a service and conf file.
A patch file from https://github.com/void-linux/void-packages/pull/42488.patch is attached
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-udev-42488.patch --]
[-- Type: text/x-diff, Size: 22200 bytes --]
From d12c2bcb9a77757660154ccf61c848208960b2f0 Mon Sep 17 00:00:00 2001
From: mobinmob <mobinmob@disroot.org>
Date: Fri, 17 Feb 2023 20:11:07 +0200
Subject: [PATCH 01/18] skalibs: update to 2.13.1.0.
---
common/shlibs | 2 +-
srcpkgs/skalibs/template | 4 ++--
2 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/common/shlibs b/common/shlibs
index 538ff08ce5ff..8805ec257ef2 100644
--- a/common/shlibs
+++ b/common/shlibs
@@ -2374,7 +2374,7 @@ libgnunettransport.so.2 gnunet-0.12.2_1
libgnunettransportapplication.so.0 gnunet-0.12.2_1
libgnunettransportcore.so.0 gnunet-0.12.2_1
libgnunettransportcommunicator.so.0 gnunet-0.12.2_1
-libskarnet.so.2.12 skalibs-2.12.0.0_1
+libskarnet.so.2.13 skalibs-2.13.0.0_1
libKF5BalooWidgets.so.5 baloo-widgets5-17.04.3_1
libtidy.so.58 libtidy5-5.8.0_1
libSDL2_gfx-1.0.so.0 SDL2_gfx-1.0.1_1
diff --git a/srcpkgs/skalibs/template b/srcpkgs/skalibs/template
index dccbcee327eb..185177eb4165 100644
--- a/srcpkgs/skalibs/template
+++ b/srcpkgs/skalibs/template
@@ -1,6 +1,6 @@
# Template file for 'skalibs'
pkgname=skalibs
-version=2.12.0.1
+version=2.13.1.0
revision=1
build_style=configure
configure_args="--libdir=/usr/lib --enable-static --enable-shared
@@ -14,7 +14,7 @@ license="ISC"
homepage="https://skarnet.org/software/skalibs/"
changelog="https://skarnet.org/software/skalibs/upgrade.html"
distfiles="https://skarnet.org/software/${pkgname}/${pkgname}-${version}.tar.gz"
-checksum=3e228f72f18d88c17f6c4e0a66881d6d3779427b7e7e889f3142b6f26da30285
+checksum=b3c48938c7fba4b19a8b0dce6e7a11427717a0901160bb62cfc6823f8ac86d92
post_install() {
vlicense COPYING LICENSE
From 3d97f5a158ac754d42cf6d6dfdd9f260be345eac Mon Sep 17 00:00:00 2001
From: mobinmob <mobinmob@disroot.org>
Date: Fri, 17 Feb 2023 20:11:14 +0200
Subject: [PATCH 02/18] execline: update to 2.9.2.0.
---
srcpkgs/execline/template | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/srcpkgs/execline/template b/srcpkgs/execline/template
index 2df4249d34cc..6c16293af1a8 100644
--- a/srcpkgs/execline/template
+++ b/srcpkgs/execline/template
@@ -1,6 +1,6 @@
# Template file for 'execline'
pkgname=execline
-version=2.9.0.1
+version=2.9.2.0
revision=1
build_style=configure
configure_args="--libdir=/usr/lib --bindir=/usr/bin
@@ -14,7 +14,7 @@ license="ISC"
homepage="https://skarnet.org/software/execline/"
changelog="https://skarnet.org/software/execline/upgrade.html"
distfiles="https://skarnet.org/software/${pkgname}/${pkgname}-${version}.tar.gz"
-checksum=01260fcaf80ffbca2a94aa55ea474dfb9e39b3033b55c8af88126791879531f6
+checksum=9365012558a1e3c019cafc6eb574b0f5890495fb02652f20efdd782d577b1601
CFLAGS="-fPIC"
From e0bec165ca8b74cea0426c79c841d519a3d3c2b0 Mon Sep 17 00:00:00 2001
From: mobinmob <mobinmob@disroot.org>
Date: Fri, 17 Feb 2023 20:11:20 +0200
Subject: [PATCH 03/18] s6: update to 2.11.3.0.
---
srcpkgs/s6/template | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/srcpkgs/s6/template b/srcpkgs/s6/template
index d54785b251b2..ef18c396fcde 100644
--- a/srcpkgs/s6/template
+++ b/srcpkgs/s6/template
@@ -1,6 +1,6 @@
# Template file for 's6'
pkgname=s6
-version=2.11.1.1
+version=2.11.3.0
revision=1
build_style=configure
configure_args="--libdir=/usr/lib --bindir=/usr/bin
@@ -15,7 +15,7 @@ license="ISC"
homepage="http://skarnet.org/software/s6/"
changelog="https://skarnet.org/software/s6/upgrade.html"
distfiles="http://skarnet.org/software/s6/s6-${version}.tar.gz"
-checksum=1cef7f7b3a7e01181fbb6fe8300e6ba422d9689007221c78af1f99528acb6c38
+checksum=0ef2de80c40b603d58bf65ec5dd9f0bb1f227d35f311e8948d9e30f81efb5b81
build_options="static"
From 06358339cbccabe585675f5276c0f6372aa8f21b Mon Sep 17 00:00:00 2001
From: mobinmob <mobinmob@disroot.org>
Date: Fri, 17 Feb 2023 20:11:24 +0200
Subject: [PATCH 04/18] s6-rc: update to 0.5.4.0.
---
srcpkgs/s6-rc/template | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/srcpkgs/s6-rc/template b/srcpkgs/s6-rc/template
index 495907ef8a60..1fef769f112f 100644
--- a/srcpkgs/s6-rc/template
+++ b/srcpkgs/s6-rc/template
@@ -1,6 +1,6 @@
# Template file for 's6-rc'
pkgname=s6-rc
-version=0.5.3.2
+version=0.5.4.0
revision=1
build_style=configure
configure_args="--prefix=/usr --libdir=/usr/lib --includedir=/usr/include
@@ -15,7 +15,7 @@ license="ISC"
homepage="https://skarnet.org/software/s6-rc/"
changelog="https://skarnet.org/software/s6-rc/upgrade.html"
distfiles="https://skarnet.org/software/${pkgname}/${pkgname}-${version}.tar.gz"
-checksum=4f24a4966a4aa353d2bd1a8afca9b88c7b7bd29c46b3a1a7f5305686b9d6e038
+checksum=9e750e63a19aaf65ef50cf6f691b8641f7d98857fa2e992b8186953fb32cad70
build_options="static"
From 58d67e385a2910023502dceeaf067198835c9f70 Mon Sep 17 00:00:00 2001
From: mobinmob <mobinmob@disroot.org>
Date: Fri, 17 Feb 2023 20:11:38 +0200
Subject: [PATCH 05/18] nsss: update to 0.2.0.3.
---
srcpkgs/nsss/template | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/srcpkgs/nsss/template b/srcpkgs/nsss/template
index b4efae672355..ae3cac748266 100644
--- a/srcpkgs/nsss/template
+++ b/srcpkgs/nsss/template
@@ -1,7 +1,7 @@
# Template file for 'nsss'
pkgname=nsss
-version=0.2.0.1
-revision=2
+version=0.2.0.3
+revision=1
# Only available for musl
archs="*-musl"
build_style=configure
@@ -16,7 +16,7 @@ license="ISC"
homepage="https://skarnet.org/software/nsss/"
changelog="https://skarnet.org/software/nsss/upgrade.html"
distfiles="https://skarnet.org/software/nsss/nsss-${version}.tar.gz"
-checksum=7d984ea627b3a8d7649d9bf24c79693f338e911d2b11040b89c4febfb1b3125b
+checksum=b1e397ed5b327611a7c2c8c1dc60e91fef353c54fead464f887720bc0914148e
build_options="static"
From 8502b2cb37cf16a766dc6888da988ae19fb943d0 Mon Sep 17 00:00:00 2001
From: mobinmob <mobinmob@disroot.org>
Date: Fri, 17 Feb 2023 20:11:42 +0200
Subject: [PATCH 06/18] s6-dns: update to 2.3.5.5.
---
srcpkgs/s6-dns/template | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/srcpkgs/s6-dns/template b/srcpkgs/s6-dns/template
index 4d282185ce8a..7f243bc2ec82 100644
--- a/srcpkgs/s6-dns/template
+++ b/srcpkgs/s6-dns/template
@@ -1,6 +1,6 @@
# Template file for 's6-dns'
pkgname=s6-dns
-version=2.3.5.4
+version=2.3.5.5
revision=1
build_style=configure
configure_args="--prefix=/usr --libdir=/usr/lib
@@ -13,7 +13,7 @@ maintainer="Orphaned <orphan@voidlinux.org>"
license="ISC"
homepage="https://skarnet.org/software/s6-dns"
distfiles="${homepage}/${pkgname}-${version}.tar.gz"
-checksum=76af222472c4754f83cdc59ad354255ce1b1e6f6833a059328463f8e51f4db43
+checksum=56979b5d5125c38071a80b5e3df0d4a6b2a7c52bb863a2410b6e3d797ffe1ee8
build_options="static"
From f1d1a0471e43adf693501fb72a87ffa719725643 Mon Sep 17 00:00:00 2001
From: mobinmob <mobinmob@disroot.org>
Date: Fri, 17 Feb 2023 20:11:49 +0200
Subject: [PATCH 07/18] s6-networking: update to 2.5.1.2.
---
srcpkgs/s6-networking/template | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/srcpkgs/s6-networking/template b/srcpkgs/s6-networking/template
index 5a04b9abf01b..1652f93ec9ac 100644
--- a/srcpkgs/s6-networking/template
+++ b/srcpkgs/s6-networking/template
@@ -1,6 +1,6 @@
# Template file for 's6-networking'
pkgname=s6-networking
-version=2.5.1.1
+version=2.5.1.2
revision=1
build_style=configure
configure_args="--libdir=/usr/lib $(vopt_if libtls --enable-ssl=libtls)
@@ -16,7 +16,7 @@ license="ISC"
homepage="https://skarnet.org/software/s6-networking"
changelog="https://skarnet.org/software/s6-networking/upgrade.html"
distfiles="${homepage}/${pkgname}-${version}.tar.gz"
-checksum=7ac79d4de3d9c13532e444ab7497c4e04ad0fa7229d502984d9dc7d48aa64418
+checksum=d072deb67a4ca4d7c512640c5f33a766c7b854364949727d3600738c6769f146
build_options="bearssl libtls static"
build_options_default="bearssl"
From 7aee22f5fd112b9e19ba7e95874292076c8e8081 Mon Sep 17 00:00:00 2001
From: mobinmob <mobinmob@disroot.org>
Date: Fri, 17 Feb 2023 20:11:59 +0200
Subject: [PATCH 08/18] s6-portable-utils: update to 2.3.0.0.
---
srcpkgs/s6-portable-utils/template | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/srcpkgs/s6-portable-utils/template b/srcpkgs/s6-portable-utils/template
index ca0c308fb3b1..eca93d57160e 100644
--- a/srcpkgs/s6-portable-utils/template
+++ b/srcpkgs/s6-portable-utils/template
@@ -1,6 +1,6 @@
# Template file for 's6-portable-utils'
pkgname=s6-portable-utils
-version=2.2.5.0
+version=2.3.0.0
revision=1
build_style=configure
configure_args="--prefix=/usr --libdir=/usr/lib --includedir=/usr/include
@@ -14,7 +14,7 @@ license="ISC"
homepage="https://skarnet.org/software/s6-portable-utils/"
changelog="https://skarnet.org/software/s6-portable-utils/upgrade.html"
distfiles="https://skarnet.org/software/${pkgname}/${pkgname}-${version}.tar.gz"
-checksum=ebb39f8934fd36f25d31352e61bbd94dc02b1e9f04411850d2fd9658bd916e36
+checksum=1e9066c430c1cb39a3a7b7004cd379ffebe566bd3d698db18de6125783002005
build_options="static"
From f451a9b38723e7c4dea256581751c27eff5e3f50 Mon Sep 17 00:00:00 2001
From: mobinmob <mobinmob@disroot.org>
Date: Fri, 17 Feb 2023 20:12:05 +0200
Subject: [PATCH 09/18] s6-linux-utils: update to 2.6.1.0.
---
srcpkgs/s6-linux-utils/template | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/srcpkgs/s6-linux-utils/template b/srcpkgs/s6-linux-utils/template
index 212752cc26d0..28bd4b52b8a4 100644
--- a/srcpkgs/s6-linux-utils/template
+++ b/srcpkgs/s6-linux-utils/template
@@ -1,6 +1,6 @@
# Template file for 's6-linux-utils'
pkgname=s6-linux-utils
-version=2.6.0.0
+version=2.6.1.0
revision=1
build_style=configure
configure_args="--libdir=/usr/lib --includedir=/usr/include
@@ -14,7 +14,7 @@ license="ISC"
homepage="https://skarnet.org/software/s6-linux-utils"
changelog="https://skarnet.org/software/s6-linux-utils/upgrade.html"
distfiles="${homepage}/${pkgname}-${version}.tar.gz"
-checksum=6c7132734a0c8287002ee6910c469f175a97d766a8023c0c33af8ba92643ed59
+checksum=2accb5a443dd04203a6358534bdcf0dd369aceb4733e322612c2b8329260b7a2
build_options="static"
From 212fc06d08582029ff942a15ec9c566665ef5d76 Mon Sep 17 00:00:00 2001
From: mobinmob <mobinmob@disroot.org>
Date: Fri, 17 Feb 2023 20:12:13 +0200
Subject: [PATCH 10/18] s6-man-pages: update to 2.11.2.0.1.
---
srcpkgs/s6-man-pages/template | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/srcpkgs/s6-man-pages/template b/srcpkgs/s6-man-pages/template
index 308c8a8ebd2b..290c85a02bd4 100644
--- a/srcpkgs/s6-man-pages/template
+++ b/srcpkgs/s6-man-pages/template
@@ -1,6 +1,6 @@
# Template file for 's6-man-pages'
pkgname=s6-man-pages
-version=2.11.1.1.1
+version=2.11.2.0.1
revision=1
build_style=gnu-makefile
short_desc="Ports of the HTML documentation for the s6 supervision suite to mdoc(7)"
@@ -8,7 +8,7 @@ maintainer="mobinmob <mobinmob@disroot.org>"
license="ISC"
homepage="https://github.com/flexibeast/s6-man-pages"
distfiles="https://github.com/flexibeast/s6-man-pages/archive/v${version}.tar.gz"
-checksum=794cd18cabee8c5afcb2cddfb35a5ae93240595aae5dc831acc8f4e258ca2199
+checksum=733db565d05425ad4f70ea70f43e2f63d0b3b8f16a46f89a3e8653ebbf0fe93b
post_install() {
vlicense LICENSE
From dd22593810204415167bfe10b3a0714d6e67bb90 Mon Sep 17 00:00:00 2001
From: mobinmob <mobinmob@disroot.org>
Date: Fri, 17 Feb 2023 20:12:25 +0200
Subject: [PATCH 11/18] s6-networking-man-pages: update to 2.5.1.2.1.
---
srcpkgs/s6-networking-man-pages/template | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/srcpkgs/s6-networking-man-pages/template b/srcpkgs/s6-networking-man-pages/template
index 2480ac1440f9..a34ce9e71fa7 100644
--- a/srcpkgs/s6-networking-man-pages/template
+++ b/srcpkgs/s6-networking-man-pages/template
@@ -1,6 +1,6 @@
# Template file for 's6-networking-man-pages'
pkgname=s6-networking-man-pages
-version=2.5.1.1.1
+version=2.5.1.2.1
revision=1
build_style=gnu-makefile
hostmakedepends="mdocml"
@@ -9,7 +9,7 @@ maintainer="mobinmob <mobinmob@disroot.org>"
license="ISC"
homepage="https://github.com/flexibeast/s6-networking-man-pages"
distfiles="https://github.com/flexibeast/s6-networking-man-pages/archive/refs/tags/v${version}.tar.gz"
-checksum=8502edfc01f54c7eca8131a5cb3c9a46c698c9199f9654db9183f7e307ece258
+checksum=40cd9f4f96b020f1bcf867dbc789111723a9a8931a66b9820a72e2491d154ab5
post_install() {
vlicense LICENSE
From 6648a6088e4ac2baec6ed832d7dc1d8bb6ffec2d Mon Sep 17 00:00:00 2001
From: mobinmob <mobinmob@disroot.org>
Date: Fri, 17 Feb 2023 20:12:38 +0200
Subject: [PATCH 12/18] s6-portable-utils-man-pages: update to 2.2.5.1.1.
---
srcpkgs/s6-portable-utils-man-pages/template | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/srcpkgs/s6-portable-utils-man-pages/template b/srcpkgs/s6-portable-utils-man-pages/template
index 28c906c1a67a..3320a91af185 100644
--- a/srcpkgs/s6-portable-utils-man-pages/template
+++ b/srcpkgs/s6-portable-utils-man-pages/template
@@ -1,6 +1,6 @@
# Template file for 's6-portable-utils-man-pages'
pkgname=s6-portable-utils-man-pages
-version=2.2.5.0.1
+version=2.2.5.1.1
revision=1
build_style=gnu-makefile
hostmakedepends="mdocml"
@@ -9,7 +9,7 @@ maintainer="mobinmob <mobinmob@disroot.org>"
license="ISC"
homepage="https://github.com/flexibeast/s6-portable-utils-man-pages"
distfiles="https://github.com/flexibeast/s6-portable-utils-man-pages/archive/refs/tags/v${version}.tar.gz"
-checksum=e960dbd459285846f89900643742846848431c0d82d4645f3c4b697227abdfe4
+checksum=977c7f204d7ae57872682407d27f3c4df53e5417d9e1cf57d62bce45893db8ff
post_install() {
vlicense LICENSE
From 93750b122e87606947be0a221198712c4d350db5 Mon Sep 17 00:00:00 2001
From: mobinmob <mobinmob@disroot.org>
Date: Fri, 17 Feb 2023 20:12:54 +0200
Subject: [PATCH 13/18] execline-man-pages: update to 2.9.1.0.1.
---
srcpkgs/execline-man-pages/template | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/srcpkgs/execline-man-pages/template b/srcpkgs/execline-man-pages/template
index 7369115caf4c..3803ed7c4d4f 100644
--- a/srcpkgs/execline-man-pages/template
+++ b/srcpkgs/execline-man-pages/template
@@ -1,6 +1,6 @@
# Template file for 'execline-man-pages'
pkgname=execline-man-pages
-version=2.9.0.0.1
+version=2.9.1.0.1
revision=1
build_style=gnu-makefile
hostmakedepends="mdocml"
@@ -9,7 +9,7 @@ maintainer="mobinmob <mobinmob@disroot.org>"
license="ISC"
homepage="https://github.com/flexibeast/execline-man-pages"
distfiles="https://github.com/flexibeast/execline-man-pages/archive/v${version}.tar.gz"
-checksum=e8e7e3deacbfdbb7144574068fdb5621340522ec8c6fa7e4d32b6b44ee060b33
+checksum=f170669b4a56e559275ac2b166cbadc4229b635906fe5c072fde7df545287d06
post_install() {
vlicense LICENSE
From 7b8ac32b82182a2d1cd098c9a7eb0857523125ca Mon Sep 17 00:00:00 2001
From: mobinmob <mobinmob@disroot.org>
Date: Fri, 17 Feb 2023 20:14:06 +0200
Subject: [PATCH 14/18] oblibs: revbump for new skarnet stack release.
---
srcpkgs/oblibs/template | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/srcpkgs/oblibs/template b/srcpkgs/oblibs/template
index f1adf1a9f436..15cc98f4d089 100644
--- a/srcpkgs/oblibs/template
+++ b/srcpkgs/oblibs/template
@@ -1,7 +1,7 @@
# Template file for 'oblibs'
pkgname=oblibs
version=0.1.4.0
-revision=2
+revision=3
build_style=configure
configure_args="--prefix=/usr --libdir=/usr/lib --with-sysdeps=${XBPS_CROSS_BASE}/usr/lib/skalibs/sysdeps"
makedepends="skalibs-devel execline-devel"
From 86ead7f1bba288a1e0cdd3e9ae0b89c125a410b6 Mon Sep 17 00:00:00 2001
From: mobinmob <mobinmob@disroot.org>
Date: Fri, 17 Feb 2023 20:14:28 +0200
Subject: [PATCH 15/18] 66-tools: revbump for new skarnet release.
---
srcpkgs/66-tools/template | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/srcpkgs/66-tools/template b/srcpkgs/66-tools/template
index 7f0983a12660..7536c2ba76aa 100644
--- a/srcpkgs/66-tools/template
+++ b/srcpkgs/66-tools/template
@@ -1,7 +1,7 @@
# Template file for '66-tools'
pkgname=66-tools
version=0.0.8.0
-revision=2
+revision=3
build_style=configure
configure_args="--prefix=/usr
--with-sysdeps=${XBPS_CROSS_BASE}/usr/lib/skalibs/sysdeps
From 05a06e10d004e1bcdf7aeefca3f60d797aee299e Mon Sep 17 00:00:00 2001
From: mobinmob <mobinmob@disroot.org>
Date: Fri, 17 Feb 2023 20:14:44 +0200
Subject: [PATCH 16/18] 66: revbump for new skarnet release.
---
srcpkgs/66/template | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/srcpkgs/66/template b/srcpkgs/66/template
index 150ab6049654..89677d007138 100644
--- a/srcpkgs/66/template
+++ b/srcpkgs/66/template
@@ -1,7 +1,7 @@
# Template file for '66'
pkgname=66
version=0.6.2.0
-revision=3
+revision=4
build_style=configure
configure_args="--prefix=/usr
--with-sysdeps=${XBPS_CROSS_BASE}/usr/lib/skalibs/sysdeps
From e40b6a1c7550742418eb2c6ca3dd7fb716805ba8 Mon Sep 17 00:00:00 2001
From: dkwo <nicolopiazzalunga@gmail.com>
Date: Fri, 24 Feb 2023 17:01:40 -0500
Subject: [PATCH 17/18] mdevd: update to 0.6.1.2, add conf and service
---
srcpkgs/mdevd/files/mdev.conf | 70 +++++++++++++++++++++++++++++++++++
srcpkgs/mdevd/files/mdevd/run | 5 +++
srcpkgs/mdevd/template | 9 +++--
3 files changed, 81 insertions(+), 3 deletions(-)
create mode 100644 srcpkgs/mdevd/files/mdev.conf
create mode 100644 srcpkgs/mdevd/files/mdevd/run
diff --git a/srcpkgs/mdevd/files/mdev.conf b/srcpkgs/mdevd/files/mdev.conf
new file mode 100644
index 000000000000..0c88a022cdcc
--- /dev/null
+++ b/srcpkgs/mdevd/files/mdev.conf
@@ -0,0 +1,70 @@
+# Configuration based on 'mdev-like-a-boss'.
+# https://github.com/slashbeast/mdev-like-a-boss/blob/master/mdev.conf
+
+null root:root 666 @chmod 666 $MDEV
+zero root:root 666
+full root:root 666
+random root:root 444
+urandom root:root 444
+hwrandom root:root 444
+grsec root:root 660
+kmem root:root 640
+mem root:root 640
+
+port root:root 640
+console root:tty 600 @chmod 600 $MDEV
+ptmx root:tty 666
+pty.* root:tty 660
+tty root:tty 666
+tty[0-9]* root:tty 660
+vcsa*[0-9]* root:tty 660
+
+# Kernel based virtual machine.
+kvm root:kvm 660
+vhost-net root:kvm 660
+
+# Block devices.
+ram([0-9]*) root:disk 660 >rd/%1
+loop([0-9]+) root:disk 660 >loop/%1
+sr[0-9]* root:cdrom 660 @ln -sf $MDEV cdrom
+fd[0-9]* root:floppy 660
+
+net/tun[0-9]* root:kvm 660
+net/tap[0-9]* root:root 600
+fuse root:root 666
+agpgart root:root 660 >misc/
+psaux root:root 660 >misc/
+rtc root:root 664 >misc/
+
+# Audio stuff.
+adsp root:audio 660 >sound/
+audio root:audio 660 >sound/
+dsp root:audio 660 >sound/
+mixer root:audio 660 >sound/
+sequencer.* root:audio 660 >sound/
+snd/.* root:audio 660
+
+# Raid controllers.
+cciss!(.*) root:disk 660 =cciss/%1
+ida!(.*) root:disk 660 =ida/%1
+rd!(.*) root:disk 660 =rd/%1
+
+# Input stuff.
+SUBSYSTEM=input;.* root:input 660
+
+# Video stuff.
+card[0-9] root:video 660 =dri/
+vbi[0-9] root:video 660 >v4l/
+video[0-9] root:video 660 >v4l/
+dri/.* root:video 660
+
+# Don't create old usbdev* devices.
+usbdev[0-9].[0-9]* root:root 660 !
+
+# Stop creating x:x:x:x which looks like /dev/dm-*.
+[0-9]+\:[0-9]+\:[0-9]+\:[0-9]+ root:root 660 !
+
+# /dev/cpu support.
+microcode root:root 600 =cpu/
+cpu([0-9]+) root:root 600 =cpu/%1/cpuid
+msr([0-9]+) root:root 600 =cpu/%1/msr
diff --git a/srcpkgs/mdevd/files/mdevd/run b/srcpkgs/mdevd/files/mdevd/run
new file mode 100644
index 000000000000..4cd60dd302a0
--- /dev/null
+++ b/srcpkgs/mdevd/files/mdevd/run
@@ -0,0 +1,5 @@
+#!/bin/sh
+
+exec 2>&1
+exec mdevd -f /etc/mdevd.conf -D 3 -b 200000 -O4
+
diff --git a/srcpkgs/mdevd/template b/srcpkgs/mdevd/template
index 43f2118937fb..b44a02046d60 100644
--- a/srcpkgs/mdevd/template
+++ b/srcpkgs/mdevd/template
@@ -1,6 +1,6 @@
# Template file for 'mdevd'
pkgname=mdevd
-version=0.1.6.0
+version=0.1.6.2
revision=1
build_style=configure
configure_args="--includedir=/usr/include --bindir=/usr/bin --libdir=/usr/lib
@@ -14,9 +14,10 @@ license="ISC"
homepage="https://skarnet.org/software/mdevd/"
changelog="https://skarnet.org/software/mdevd/upgrade.html"
distfiles="https://skarnet.org/software/mdevd/mdevd-${version}.tar.gz"
-checksum=33cf2b118634538fd24f302b30f52cc8aa28ea68b414916ce482b54a4ee57283
-
+checksum=ac2fcf9004f07904592c5894e2c401e15bb027ecf37bcb8ea661e2a7993447be
+conf_files="/etc/mdev.conf"
build_options="static"
+make_check=no # no tests
case "$XBPS_TARGET_MACHINE" in
*-musl)
@@ -29,6 +30,8 @@ post_install() {
vlicense COPYING
vdoc README
vcopy "doc/*" usr/share/doc/${pkgname}
+ vsv mdevd
+ vcopy ${FILESDIR}/mdev.conf etc/mdev.conf
}
mdevd-doc_package() {
From b32cfd90efb4e98f004a99150c19033970fd2949 Mon Sep 17 00:00:00 2001
From: dkwo <nicolopiazzalunga@gmail.com>
Date: Fri, 24 Feb 2023 18:26:36 -0500
Subject: [PATCH 18/18] new package: libudev-zero
---
srcpkgs/libudev-zero/template | 23 +++++++++++++++++++++++
1 file changed, 23 insertions(+)
create mode 100644 srcpkgs/libudev-zero/template
diff --git a/srcpkgs/libudev-zero/template b/srcpkgs/libudev-zero/template
new file mode 100644
index 000000000000..e44d38ce8f05
--- /dev/null
+++ b/srcpkgs/libudev-zero/template
@@ -0,0 +1,23 @@
+# Template file for 'libudev-zero'
+pkgname=libudev-zero
+version=1.0.1
+revision=1
+build_style=gnu-makefile
+short_desc="Daemonless replacement for libudev"
+maintainer="dkwo <npiazza@disroot.org>"
+license="ISC"
+homepage="https://github.com/illiliti/libudev-zero"
+distfiles="https://github.com/illiliti/libudev-zero/archive/refs/tags/${version}.tar.gz"
+checksum=c4cf149ea96295c1e6e86038d10c725344c751982ed4a790b06c76776923e0ea
+make_check=no # no tests
+conflicts="eudev-libudev-devel>=3.2.11_1"
+
+post_build() {
+ "$CC" $LDFLAGS $CFLAGS $CPPFLAGS -o libudev-zero-helper contrib/helper.c
+}
+
+post_install() {
+ rm -f ${DESTDIR}/usr/lib/libudev.a
+ vlicense LICENSE
+ vinstall libudev-zero-helper 755 usr/libexec
+}
^ permalink raw reply [flat|nested] 50+ messages in thread
* Re: [PR PATCH] [Updated] [rfc] udev alternatives
2023-02-27 16:49 [PR PATCH] [rfc] udev alternatives dkwo
` (8 preceding siblings ...)
2023-02-27 18:25 ` dkwo
@ 2023-02-27 18:38 ` dkwo
2023-02-27 21:25 ` dkwo
` (38 subsequent siblings)
48 siblings, 0 replies; 50+ messages in thread
From: dkwo @ 2023-02-27 18:38 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 1013 bytes --]
There is an updated pull request by dkwo against master on the void-packages repository
https://github.com/dkwo/void-packages udev
https://github.com/void-linux/void-packages/pull/42488
[rfc] udev alternatives
There are still some things I do not understand, notably:
- how to deal with eudev-libudev: libudev-zero replaces, conflicts, provides it? it provides /usr/lib/libudev.so.1, I expect some stuff built with eudev-libudev-devel (wlroots, libinput) to work with it, while other may not if one removes eudev-libudev (lvm2, pipewire), see https://github.com/illiliti/libudev-zero
- find an optimal mdev.conf (current one is taken from kiss-linux, alpine has a similar one)
- edit the corresponing runit parts in stage 1.
- I tested the changes in this PR: no
- I built this PR locally for my native architecture, (x86_64-musl)
cc mantainer @mobinmob for now I updated mdevd, added a service and conf file.
A patch file from https://github.com/void-linux/void-packages/pull/42488.patch is attached
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-udev-42488.patch --]
[-- Type: text/x-diff, Size: 22224 bytes --]
From d12c2bcb9a77757660154ccf61c848208960b2f0 Mon Sep 17 00:00:00 2001
From: mobinmob <mobinmob@disroot.org>
Date: Fri, 17 Feb 2023 20:11:07 +0200
Subject: [PATCH 01/18] skalibs: update to 2.13.1.0.
---
common/shlibs | 2 +-
srcpkgs/skalibs/template | 4 ++--
2 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/common/shlibs b/common/shlibs
index 538ff08ce5ff..8805ec257ef2 100644
--- a/common/shlibs
+++ b/common/shlibs
@@ -2374,7 +2374,7 @@ libgnunettransport.so.2 gnunet-0.12.2_1
libgnunettransportapplication.so.0 gnunet-0.12.2_1
libgnunettransportcore.so.0 gnunet-0.12.2_1
libgnunettransportcommunicator.so.0 gnunet-0.12.2_1
-libskarnet.so.2.12 skalibs-2.12.0.0_1
+libskarnet.so.2.13 skalibs-2.13.0.0_1
libKF5BalooWidgets.so.5 baloo-widgets5-17.04.3_1
libtidy.so.58 libtidy5-5.8.0_1
libSDL2_gfx-1.0.so.0 SDL2_gfx-1.0.1_1
diff --git a/srcpkgs/skalibs/template b/srcpkgs/skalibs/template
index dccbcee327eb..185177eb4165 100644
--- a/srcpkgs/skalibs/template
+++ b/srcpkgs/skalibs/template
@@ -1,6 +1,6 @@
# Template file for 'skalibs'
pkgname=skalibs
-version=2.12.0.1
+version=2.13.1.0
revision=1
build_style=configure
configure_args="--libdir=/usr/lib --enable-static --enable-shared
@@ -14,7 +14,7 @@ license="ISC"
homepage="https://skarnet.org/software/skalibs/"
changelog="https://skarnet.org/software/skalibs/upgrade.html"
distfiles="https://skarnet.org/software/${pkgname}/${pkgname}-${version}.tar.gz"
-checksum=3e228f72f18d88c17f6c4e0a66881d6d3779427b7e7e889f3142b6f26da30285
+checksum=b3c48938c7fba4b19a8b0dce6e7a11427717a0901160bb62cfc6823f8ac86d92
post_install() {
vlicense COPYING LICENSE
From 3d97f5a158ac754d42cf6d6dfdd9f260be345eac Mon Sep 17 00:00:00 2001
From: mobinmob <mobinmob@disroot.org>
Date: Fri, 17 Feb 2023 20:11:14 +0200
Subject: [PATCH 02/18] execline: update to 2.9.2.0.
---
srcpkgs/execline/template | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/srcpkgs/execline/template b/srcpkgs/execline/template
index 2df4249d34cc..6c16293af1a8 100644
--- a/srcpkgs/execline/template
+++ b/srcpkgs/execline/template
@@ -1,6 +1,6 @@
# Template file for 'execline'
pkgname=execline
-version=2.9.0.1
+version=2.9.2.0
revision=1
build_style=configure
configure_args="--libdir=/usr/lib --bindir=/usr/bin
@@ -14,7 +14,7 @@ license="ISC"
homepage="https://skarnet.org/software/execline/"
changelog="https://skarnet.org/software/execline/upgrade.html"
distfiles="https://skarnet.org/software/${pkgname}/${pkgname}-${version}.tar.gz"
-checksum=01260fcaf80ffbca2a94aa55ea474dfb9e39b3033b55c8af88126791879531f6
+checksum=9365012558a1e3c019cafc6eb574b0f5890495fb02652f20efdd782d577b1601
CFLAGS="-fPIC"
From e0bec165ca8b74cea0426c79c841d519a3d3c2b0 Mon Sep 17 00:00:00 2001
From: mobinmob <mobinmob@disroot.org>
Date: Fri, 17 Feb 2023 20:11:20 +0200
Subject: [PATCH 03/18] s6: update to 2.11.3.0.
---
srcpkgs/s6/template | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/srcpkgs/s6/template b/srcpkgs/s6/template
index d54785b251b2..ef18c396fcde 100644
--- a/srcpkgs/s6/template
+++ b/srcpkgs/s6/template
@@ -1,6 +1,6 @@
# Template file for 's6'
pkgname=s6
-version=2.11.1.1
+version=2.11.3.0
revision=1
build_style=configure
configure_args="--libdir=/usr/lib --bindir=/usr/bin
@@ -15,7 +15,7 @@ license="ISC"
homepage="http://skarnet.org/software/s6/"
changelog="https://skarnet.org/software/s6/upgrade.html"
distfiles="http://skarnet.org/software/s6/s6-${version}.tar.gz"
-checksum=1cef7f7b3a7e01181fbb6fe8300e6ba422d9689007221c78af1f99528acb6c38
+checksum=0ef2de80c40b603d58bf65ec5dd9f0bb1f227d35f311e8948d9e30f81efb5b81
build_options="static"
From 06358339cbccabe585675f5276c0f6372aa8f21b Mon Sep 17 00:00:00 2001
From: mobinmob <mobinmob@disroot.org>
Date: Fri, 17 Feb 2023 20:11:24 +0200
Subject: [PATCH 04/18] s6-rc: update to 0.5.4.0.
---
srcpkgs/s6-rc/template | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/srcpkgs/s6-rc/template b/srcpkgs/s6-rc/template
index 495907ef8a60..1fef769f112f 100644
--- a/srcpkgs/s6-rc/template
+++ b/srcpkgs/s6-rc/template
@@ -1,6 +1,6 @@
# Template file for 's6-rc'
pkgname=s6-rc
-version=0.5.3.2
+version=0.5.4.0
revision=1
build_style=configure
configure_args="--prefix=/usr --libdir=/usr/lib --includedir=/usr/include
@@ -15,7 +15,7 @@ license="ISC"
homepage="https://skarnet.org/software/s6-rc/"
changelog="https://skarnet.org/software/s6-rc/upgrade.html"
distfiles="https://skarnet.org/software/${pkgname}/${pkgname}-${version}.tar.gz"
-checksum=4f24a4966a4aa353d2bd1a8afca9b88c7b7bd29c46b3a1a7f5305686b9d6e038
+checksum=9e750e63a19aaf65ef50cf6f691b8641f7d98857fa2e992b8186953fb32cad70
build_options="static"
From 58d67e385a2910023502dceeaf067198835c9f70 Mon Sep 17 00:00:00 2001
From: mobinmob <mobinmob@disroot.org>
Date: Fri, 17 Feb 2023 20:11:38 +0200
Subject: [PATCH 05/18] nsss: update to 0.2.0.3.
---
srcpkgs/nsss/template | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/srcpkgs/nsss/template b/srcpkgs/nsss/template
index b4efae672355..ae3cac748266 100644
--- a/srcpkgs/nsss/template
+++ b/srcpkgs/nsss/template
@@ -1,7 +1,7 @@
# Template file for 'nsss'
pkgname=nsss
-version=0.2.0.1
-revision=2
+version=0.2.0.3
+revision=1
# Only available for musl
archs="*-musl"
build_style=configure
@@ -16,7 +16,7 @@ license="ISC"
homepage="https://skarnet.org/software/nsss/"
changelog="https://skarnet.org/software/nsss/upgrade.html"
distfiles="https://skarnet.org/software/nsss/nsss-${version}.tar.gz"
-checksum=7d984ea627b3a8d7649d9bf24c79693f338e911d2b11040b89c4febfb1b3125b
+checksum=b1e397ed5b327611a7c2c8c1dc60e91fef353c54fead464f887720bc0914148e
build_options="static"
From 8502b2cb37cf16a766dc6888da988ae19fb943d0 Mon Sep 17 00:00:00 2001
From: mobinmob <mobinmob@disroot.org>
Date: Fri, 17 Feb 2023 20:11:42 +0200
Subject: [PATCH 06/18] s6-dns: update to 2.3.5.5.
---
srcpkgs/s6-dns/template | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/srcpkgs/s6-dns/template b/srcpkgs/s6-dns/template
index 4d282185ce8a..7f243bc2ec82 100644
--- a/srcpkgs/s6-dns/template
+++ b/srcpkgs/s6-dns/template
@@ -1,6 +1,6 @@
# Template file for 's6-dns'
pkgname=s6-dns
-version=2.3.5.4
+version=2.3.5.5
revision=1
build_style=configure
configure_args="--prefix=/usr --libdir=/usr/lib
@@ -13,7 +13,7 @@ maintainer="Orphaned <orphan@voidlinux.org>"
license="ISC"
homepage="https://skarnet.org/software/s6-dns"
distfiles="${homepage}/${pkgname}-${version}.tar.gz"
-checksum=76af222472c4754f83cdc59ad354255ce1b1e6f6833a059328463f8e51f4db43
+checksum=56979b5d5125c38071a80b5e3df0d4a6b2a7c52bb863a2410b6e3d797ffe1ee8
build_options="static"
From f1d1a0471e43adf693501fb72a87ffa719725643 Mon Sep 17 00:00:00 2001
From: mobinmob <mobinmob@disroot.org>
Date: Fri, 17 Feb 2023 20:11:49 +0200
Subject: [PATCH 07/18] s6-networking: update to 2.5.1.2.
---
srcpkgs/s6-networking/template | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/srcpkgs/s6-networking/template b/srcpkgs/s6-networking/template
index 5a04b9abf01b..1652f93ec9ac 100644
--- a/srcpkgs/s6-networking/template
+++ b/srcpkgs/s6-networking/template
@@ -1,6 +1,6 @@
# Template file for 's6-networking'
pkgname=s6-networking
-version=2.5.1.1
+version=2.5.1.2
revision=1
build_style=configure
configure_args="--libdir=/usr/lib $(vopt_if libtls --enable-ssl=libtls)
@@ -16,7 +16,7 @@ license="ISC"
homepage="https://skarnet.org/software/s6-networking"
changelog="https://skarnet.org/software/s6-networking/upgrade.html"
distfiles="${homepage}/${pkgname}-${version}.tar.gz"
-checksum=7ac79d4de3d9c13532e444ab7497c4e04ad0fa7229d502984d9dc7d48aa64418
+checksum=d072deb67a4ca4d7c512640c5f33a766c7b854364949727d3600738c6769f146
build_options="bearssl libtls static"
build_options_default="bearssl"
From 7aee22f5fd112b9e19ba7e95874292076c8e8081 Mon Sep 17 00:00:00 2001
From: mobinmob <mobinmob@disroot.org>
Date: Fri, 17 Feb 2023 20:11:59 +0200
Subject: [PATCH 08/18] s6-portable-utils: update to 2.3.0.0.
---
srcpkgs/s6-portable-utils/template | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/srcpkgs/s6-portable-utils/template b/srcpkgs/s6-portable-utils/template
index ca0c308fb3b1..eca93d57160e 100644
--- a/srcpkgs/s6-portable-utils/template
+++ b/srcpkgs/s6-portable-utils/template
@@ -1,6 +1,6 @@
# Template file for 's6-portable-utils'
pkgname=s6-portable-utils
-version=2.2.5.0
+version=2.3.0.0
revision=1
build_style=configure
configure_args="--prefix=/usr --libdir=/usr/lib --includedir=/usr/include
@@ -14,7 +14,7 @@ license="ISC"
homepage="https://skarnet.org/software/s6-portable-utils/"
changelog="https://skarnet.org/software/s6-portable-utils/upgrade.html"
distfiles="https://skarnet.org/software/${pkgname}/${pkgname}-${version}.tar.gz"
-checksum=ebb39f8934fd36f25d31352e61bbd94dc02b1e9f04411850d2fd9658bd916e36
+checksum=1e9066c430c1cb39a3a7b7004cd379ffebe566bd3d698db18de6125783002005
build_options="static"
From f451a9b38723e7c4dea256581751c27eff5e3f50 Mon Sep 17 00:00:00 2001
From: mobinmob <mobinmob@disroot.org>
Date: Fri, 17 Feb 2023 20:12:05 +0200
Subject: [PATCH 09/18] s6-linux-utils: update to 2.6.1.0.
---
srcpkgs/s6-linux-utils/template | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/srcpkgs/s6-linux-utils/template b/srcpkgs/s6-linux-utils/template
index 212752cc26d0..28bd4b52b8a4 100644
--- a/srcpkgs/s6-linux-utils/template
+++ b/srcpkgs/s6-linux-utils/template
@@ -1,6 +1,6 @@
# Template file for 's6-linux-utils'
pkgname=s6-linux-utils
-version=2.6.0.0
+version=2.6.1.0
revision=1
build_style=configure
configure_args="--libdir=/usr/lib --includedir=/usr/include
@@ -14,7 +14,7 @@ license="ISC"
homepage="https://skarnet.org/software/s6-linux-utils"
changelog="https://skarnet.org/software/s6-linux-utils/upgrade.html"
distfiles="${homepage}/${pkgname}-${version}.tar.gz"
-checksum=6c7132734a0c8287002ee6910c469f175a97d766a8023c0c33af8ba92643ed59
+checksum=2accb5a443dd04203a6358534bdcf0dd369aceb4733e322612c2b8329260b7a2
build_options="static"
From 212fc06d08582029ff942a15ec9c566665ef5d76 Mon Sep 17 00:00:00 2001
From: mobinmob <mobinmob@disroot.org>
Date: Fri, 17 Feb 2023 20:12:13 +0200
Subject: [PATCH 10/18] s6-man-pages: update to 2.11.2.0.1.
---
srcpkgs/s6-man-pages/template | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/srcpkgs/s6-man-pages/template b/srcpkgs/s6-man-pages/template
index 308c8a8ebd2b..290c85a02bd4 100644
--- a/srcpkgs/s6-man-pages/template
+++ b/srcpkgs/s6-man-pages/template
@@ -1,6 +1,6 @@
# Template file for 's6-man-pages'
pkgname=s6-man-pages
-version=2.11.1.1.1
+version=2.11.2.0.1
revision=1
build_style=gnu-makefile
short_desc="Ports of the HTML documentation for the s6 supervision suite to mdoc(7)"
@@ -8,7 +8,7 @@ maintainer="mobinmob <mobinmob@disroot.org>"
license="ISC"
homepage="https://github.com/flexibeast/s6-man-pages"
distfiles="https://github.com/flexibeast/s6-man-pages/archive/v${version}.tar.gz"
-checksum=794cd18cabee8c5afcb2cddfb35a5ae93240595aae5dc831acc8f4e258ca2199
+checksum=733db565d05425ad4f70ea70f43e2f63d0b3b8f16a46f89a3e8653ebbf0fe93b
post_install() {
vlicense LICENSE
From dd22593810204415167bfe10b3a0714d6e67bb90 Mon Sep 17 00:00:00 2001
From: mobinmob <mobinmob@disroot.org>
Date: Fri, 17 Feb 2023 20:12:25 +0200
Subject: [PATCH 11/18] s6-networking-man-pages: update to 2.5.1.2.1.
---
srcpkgs/s6-networking-man-pages/template | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/srcpkgs/s6-networking-man-pages/template b/srcpkgs/s6-networking-man-pages/template
index 2480ac1440f9..a34ce9e71fa7 100644
--- a/srcpkgs/s6-networking-man-pages/template
+++ b/srcpkgs/s6-networking-man-pages/template
@@ -1,6 +1,6 @@
# Template file for 's6-networking-man-pages'
pkgname=s6-networking-man-pages
-version=2.5.1.1.1
+version=2.5.1.2.1
revision=1
build_style=gnu-makefile
hostmakedepends="mdocml"
@@ -9,7 +9,7 @@ maintainer="mobinmob <mobinmob@disroot.org>"
license="ISC"
homepage="https://github.com/flexibeast/s6-networking-man-pages"
distfiles="https://github.com/flexibeast/s6-networking-man-pages/archive/refs/tags/v${version}.tar.gz"
-checksum=8502edfc01f54c7eca8131a5cb3c9a46c698c9199f9654db9183f7e307ece258
+checksum=40cd9f4f96b020f1bcf867dbc789111723a9a8931a66b9820a72e2491d154ab5
post_install() {
vlicense LICENSE
From 6648a6088e4ac2baec6ed832d7dc1d8bb6ffec2d Mon Sep 17 00:00:00 2001
From: mobinmob <mobinmob@disroot.org>
Date: Fri, 17 Feb 2023 20:12:38 +0200
Subject: [PATCH 12/18] s6-portable-utils-man-pages: update to 2.2.5.1.1.
---
srcpkgs/s6-portable-utils-man-pages/template | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/srcpkgs/s6-portable-utils-man-pages/template b/srcpkgs/s6-portable-utils-man-pages/template
index 28c906c1a67a..3320a91af185 100644
--- a/srcpkgs/s6-portable-utils-man-pages/template
+++ b/srcpkgs/s6-portable-utils-man-pages/template
@@ -1,6 +1,6 @@
# Template file for 's6-portable-utils-man-pages'
pkgname=s6-portable-utils-man-pages
-version=2.2.5.0.1
+version=2.2.5.1.1
revision=1
build_style=gnu-makefile
hostmakedepends="mdocml"
@@ -9,7 +9,7 @@ maintainer="mobinmob <mobinmob@disroot.org>"
license="ISC"
homepage="https://github.com/flexibeast/s6-portable-utils-man-pages"
distfiles="https://github.com/flexibeast/s6-portable-utils-man-pages/archive/refs/tags/v${version}.tar.gz"
-checksum=e960dbd459285846f89900643742846848431c0d82d4645f3c4b697227abdfe4
+checksum=977c7f204d7ae57872682407d27f3c4df53e5417d9e1cf57d62bce45893db8ff
post_install() {
vlicense LICENSE
From 93750b122e87606947be0a221198712c4d350db5 Mon Sep 17 00:00:00 2001
From: mobinmob <mobinmob@disroot.org>
Date: Fri, 17 Feb 2023 20:12:54 +0200
Subject: [PATCH 13/18] execline-man-pages: update to 2.9.1.0.1.
---
srcpkgs/execline-man-pages/template | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/srcpkgs/execline-man-pages/template b/srcpkgs/execline-man-pages/template
index 7369115caf4c..3803ed7c4d4f 100644
--- a/srcpkgs/execline-man-pages/template
+++ b/srcpkgs/execline-man-pages/template
@@ -1,6 +1,6 @@
# Template file for 'execline-man-pages'
pkgname=execline-man-pages
-version=2.9.0.0.1
+version=2.9.1.0.1
revision=1
build_style=gnu-makefile
hostmakedepends="mdocml"
@@ -9,7 +9,7 @@ maintainer="mobinmob <mobinmob@disroot.org>"
license="ISC"
homepage="https://github.com/flexibeast/execline-man-pages"
distfiles="https://github.com/flexibeast/execline-man-pages/archive/v${version}.tar.gz"
-checksum=e8e7e3deacbfdbb7144574068fdb5621340522ec8c6fa7e4d32b6b44ee060b33
+checksum=f170669b4a56e559275ac2b166cbadc4229b635906fe5c072fde7df545287d06
post_install() {
vlicense LICENSE
From 7b8ac32b82182a2d1cd098c9a7eb0857523125ca Mon Sep 17 00:00:00 2001
From: mobinmob <mobinmob@disroot.org>
Date: Fri, 17 Feb 2023 20:14:06 +0200
Subject: [PATCH 14/18] oblibs: revbump for new skarnet stack release.
---
srcpkgs/oblibs/template | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/srcpkgs/oblibs/template b/srcpkgs/oblibs/template
index f1adf1a9f436..15cc98f4d089 100644
--- a/srcpkgs/oblibs/template
+++ b/srcpkgs/oblibs/template
@@ -1,7 +1,7 @@
# Template file for 'oblibs'
pkgname=oblibs
version=0.1.4.0
-revision=2
+revision=3
build_style=configure
configure_args="--prefix=/usr --libdir=/usr/lib --with-sysdeps=${XBPS_CROSS_BASE}/usr/lib/skalibs/sysdeps"
makedepends="skalibs-devel execline-devel"
From 86ead7f1bba288a1e0cdd3e9ae0b89c125a410b6 Mon Sep 17 00:00:00 2001
From: mobinmob <mobinmob@disroot.org>
Date: Fri, 17 Feb 2023 20:14:28 +0200
Subject: [PATCH 15/18] 66-tools: revbump for new skarnet release.
---
srcpkgs/66-tools/template | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/srcpkgs/66-tools/template b/srcpkgs/66-tools/template
index 7f0983a12660..7536c2ba76aa 100644
--- a/srcpkgs/66-tools/template
+++ b/srcpkgs/66-tools/template
@@ -1,7 +1,7 @@
# Template file for '66-tools'
pkgname=66-tools
version=0.0.8.0
-revision=2
+revision=3
build_style=configure
configure_args="--prefix=/usr
--with-sysdeps=${XBPS_CROSS_BASE}/usr/lib/skalibs/sysdeps
From 05a06e10d004e1bcdf7aeefca3f60d797aee299e Mon Sep 17 00:00:00 2001
From: mobinmob <mobinmob@disroot.org>
Date: Fri, 17 Feb 2023 20:14:44 +0200
Subject: [PATCH 16/18] 66: revbump for new skarnet release.
---
srcpkgs/66/template | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/srcpkgs/66/template b/srcpkgs/66/template
index 150ab6049654..89677d007138 100644
--- a/srcpkgs/66/template
+++ b/srcpkgs/66/template
@@ -1,7 +1,7 @@
# Template file for '66'
pkgname=66
version=0.6.2.0
-revision=3
+revision=4
build_style=configure
configure_args="--prefix=/usr
--with-sysdeps=${XBPS_CROSS_BASE}/usr/lib/skalibs/sysdeps
From e40b6a1c7550742418eb2c6ca3dd7fb716805ba8 Mon Sep 17 00:00:00 2001
From: dkwo <nicolopiazzalunga@gmail.com>
Date: Fri, 24 Feb 2023 17:01:40 -0500
Subject: [PATCH 17/18] mdevd: update to 0.6.1.2, add conf and service
---
srcpkgs/mdevd/files/mdev.conf | 70 +++++++++++++++++++++++++++++++++++
srcpkgs/mdevd/files/mdevd/run | 5 +++
srcpkgs/mdevd/template | 9 +++--
3 files changed, 81 insertions(+), 3 deletions(-)
create mode 100644 srcpkgs/mdevd/files/mdev.conf
create mode 100644 srcpkgs/mdevd/files/mdevd/run
diff --git a/srcpkgs/mdevd/files/mdev.conf b/srcpkgs/mdevd/files/mdev.conf
new file mode 100644
index 000000000000..0c88a022cdcc
--- /dev/null
+++ b/srcpkgs/mdevd/files/mdev.conf
@@ -0,0 +1,70 @@
+# Configuration based on 'mdev-like-a-boss'.
+# https://github.com/slashbeast/mdev-like-a-boss/blob/master/mdev.conf
+
+null root:root 666 @chmod 666 $MDEV
+zero root:root 666
+full root:root 666
+random root:root 444
+urandom root:root 444
+hwrandom root:root 444
+grsec root:root 660
+kmem root:root 640
+mem root:root 640
+
+port root:root 640
+console root:tty 600 @chmod 600 $MDEV
+ptmx root:tty 666
+pty.* root:tty 660
+tty root:tty 666
+tty[0-9]* root:tty 660
+vcsa*[0-9]* root:tty 660
+
+# Kernel based virtual machine.
+kvm root:kvm 660
+vhost-net root:kvm 660
+
+# Block devices.
+ram([0-9]*) root:disk 660 >rd/%1
+loop([0-9]+) root:disk 660 >loop/%1
+sr[0-9]* root:cdrom 660 @ln -sf $MDEV cdrom
+fd[0-9]* root:floppy 660
+
+net/tun[0-9]* root:kvm 660
+net/tap[0-9]* root:root 600
+fuse root:root 666
+agpgart root:root 660 >misc/
+psaux root:root 660 >misc/
+rtc root:root 664 >misc/
+
+# Audio stuff.
+adsp root:audio 660 >sound/
+audio root:audio 660 >sound/
+dsp root:audio 660 >sound/
+mixer root:audio 660 >sound/
+sequencer.* root:audio 660 >sound/
+snd/.* root:audio 660
+
+# Raid controllers.
+cciss!(.*) root:disk 660 =cciss/%1
+ida!(.*) root:disk 660 =ida/%1
+rd!(.*) root:disk 660 =rd/%1
+
+# Input stuff.
+SUBSYSTEM=input;.* root:input 660
+
+# Video stuff.
+card[0-9] root:video 660 =dri/
+vbi[0-9] root:video 660 >v4l/
+video[0-9] root:video 660 >v4l/
+dri/.* root:video 660
+
+# Don't create old usbdev* devices.
+usbdev[0-9].[0-9]* root:root 660 !
+
+# Stop creating x:x:x:x which looks like /dev/dm-*.
+[0-9]+\:[0-9]+\:[0-9]+\:[0-9]+ root:root 660 !
+
+# /dev/cpu support.
+microcode root:root 600 =cpu/
+cpu([0-9]+) root:root 600 =cpu/%1/cpuid
+msr([0-9]+) root:root 600 =cpu/%1/msr
diff --git a/srcpkgs/mdevd/files/mdevd/run b/srcpkgs/mdevd/files/mdevd/run
new file mode 100644
index 000000000000..4cd60dd302a0
--- /dev/null
+++ b/srcpkgs/mdevd/files/mdevd/run
@@ -0,0 +1,5 @@
+#!/bin/sh
+
+exec 2>&1
+exec mdevd -f /etc/mdevd.conf -D 3 -b 200000 -O4
+
diff --git a/srcpkgs/mdevd/template b/srcpkgs/mdevd/template
index 43f2118937fb..b44a02046d60 100644
--- a/srcpkgs/mdevd/template
+++ b/srcpkgs/mdevd/template
@@ -1,6 +1,6 @@
# Template file for 'mdevd'
pkgname=mdevd
-version=0.1.6.0
+version=0.1.6.2
revision=1
build_style=configure
configure_args="--includedir=/usr/include --bindir=/usr/bin --libdir=/usr/lib
@@ -14,9 +14,10 @@ license="ISC"
homepage="https://skarnet.org/software/mdevd/"
changelog="https://skarnet.org/software/mdevd/upgrade.html"
distfiles="https://skarnet.org/software/mdevd/mdevd-${version}.tar.gz"
-checksum=33cf2b118634538fd24f302b30f52cc8aa28ea68b414916ce482b54a4ee57283
-
+checksum=ac2fcf9004f07904592c5894e2c401e15bb027ecf37bcb8ea661e2a7993447be
+conf_files="/etc/mdev.conf"
build_options="static"
+make_check=no # no tests
case "$XBPS_TARGET_MACHINE" in
*-musl)
@@ -29,6 +30,8 @@ post_install() {
vlicense COPYING
vdoc README
vcopy "doc/*" usr/share/doc/${pkgname}
+ vsv mdevd
+ vcopy ${FILESDIR}/mdev.conf etc/mdev.conf
}
mdevd-doc_package() {
From 9c9c761bea518023ff122983af5043aa748d152d Mon Sep 17 00:00:00 2001
From: dkwo <nicolopiazzalunga@gmail.com>
Date: Fri, 24 Feb 2023 18:26:36 -0500
Subject: [PATCH 18/18] new package: libudev-zero
---
srcpkgs/libudev-zero/template | 23 +++++++++++++++++++++++
1 file changed, 23 insertions(+)
create mode 100644 srcpkgs/libudev-zero/template
diff --git a/srcpkgs/libudev-zero/template b/srcpkgs/libudev-zero/template
new file mode 100644
index 000000000000..fb6dfe79e38d
--- /dev/null
+++ b/srcpkgs/libudev-zero/template
@@ -0,0 +1,23 @@
+# Template file for 'libudev-zero'
+pkgname=libudev-zero
+version=1.0.1
+revision=1
+build_style=gnu-makefile
+short_desc="Daemonless replacement for libudev"
+maintainer="dkwo <npiazza@disroot.org>"
+license="ISC"
+homepage="https://github.com/illiliti/libudev-zero"
+distfiles="https://github.com/illiliti/libudev-zero/archive/refs/tags/${version}.tar.gz"
+checksum=c4cf149ea96295c1e6e86038d10c725344c751982ed4a790b06c76776923e0ea
+make_check=no # no tests
+conflicts="eudev-libudev>=3.2.11_1 eudev-libudev-devel>=3.2.11_1"
+
+post_build() {
+ "$CC" $LDFLAGS $CFLAGS $CPPFLAGS -o libudev-zero-helper contrib/helper.c
+}
+
+post_install() {
+ rm -f ${DESTDIR}/usr/lib/libudev.a
+ vlicense LICENSE
+ vinstall libudev-zero-helper 755 usr/libexec
+}
^ permalink raw reply [flat|nested] 50+ messages in thread
* Re: [rfc] udev alternatives
2023-02-27 16:49 [PR PATCH] [rfc] udev alternatives dkwo
` (9 preceding siblings ...)
2023-02-27 18:38 ` dkwo
@ 2023-02-27 21:25 ` dkwo
2023-02-27 23:04 ` [PR PATCH] [Updated] " dkwo
` (37 subsequent siblings)
48 siblings, 0 replies; 50+ messages in thread
From: dkwo @ 2023-02-27 21:25 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 306 bytes --]
New comment by dkwo on void-packages repository
https://github.com/void-linux/void-packages/pull/42488#issuecomment-1447114627
Comment:
> libudev-zero is not a eudev-libudev **drop-in** alternative :(
From the project homepage: Drop-in replacement for libudev intended to work with any device manager
^ permalink raw reply [flat|nested] 50+ messages in thread
* Re: [PR PATCH] [Updated] [rfc] udev alternatives
2023-02-27 16:49 [PR PATCH] [rfc] udev alternatives dkwo
` (10 preceding siblings ...)
2023-02-27 21:25 ` dkwo
@ 2023-02-27 23:04 ` dkwo
2023-02-28 15:20 ` mobinmob
` (36 subsequent siblings)
48 siblings, 0 replies; 50+ messages in thread
From: dkwo @ 2023-02-27 23:04 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 1013 bytes --]
There is an updated pull request by dkwo against master on the void-packages repository
https://github.com/dkwo/void-packages udev
https://github.com/void-linux/void-packages/pull/42488
[rfc] udev alternatives
There are still some things I do not understand, notably:
- how to deal with eudev-libudev: libudev-zero replaces, conflicts, provides it? it provides /usr/lib/libudev.so.1, I expect some stuff built with eudev-libudev-devel (wlroots, libinput) to work with it, while other may not if one removes eudev-libudev (lvm2, pipewire), see https://github.com/illiliti/libudev-zero
- find an optimal mdev.conf (current one is taken from kiss-linux, alpine has a similar one)
- edit the corresponing runit parts in stage 1.
- I tested the changes in this PR: no
- I built this PR locally for my native architecture, (x86_64-musl)
cc mantainer @mobinmob for now I updated mdevd, added a service and conf file.
A patch file from https://github.com/void-linux/void-packages/pull/42488.patch is attached
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-udev-42488.patch --]
[-- Type: text/x-diff, Size: 22224 bytes --]
From e8d095e0603423ffcc0ce1e13357041cb57bf694 Mon Sep 17 00:00:00 2001
From: mobinmob <mobinmob@disroot.org>
Date: Fri, 17 Feb 2023 20:11:07 +0200
Subject: [PATCH 01/18] skalibs: update to 2.13.1.0.
---
common/shlibs | 2 +-
srcpkgs/skalibs/template | 4 ++--
2 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/common/shlibs b/common/shlibs
index 538ff08ce5ff..8805ec257ef2 100644
--- a/common/shlibs
+++ b/common/shlibs
@@ -2374,7 +2374,7 @@ libgnunettransport.so.2 gnunet-0.12.2_1
libgnunettransportapplication.so.0 gnunet-0.12.2_1
libgnunettransportcore.so.0 gnunet-0.12.2_1
libgnunettransportcommunicator.so.0 gnunet-0.12.2_1
-libskarnet.so.2.12 skalibs-2.12.0.0_1
+libskarnet.so.2.13 skalibs-2.13.0.0_1
libKF5BalooWidgets.so.5 baloo-widgets5-17.04.3_1
libtidy.so.58 libtidy5-5.8.0_1
libSDL2_gfx-1.0.so.0 SDL2_gfx-1.0.1_1
diff --git a/srcpkgs/skalibs/template b/srcpkgs/skalibs/template
index dccbcee327eb..185177eb4165 100644
--- a/srcpkgs/skalibs/template
+++ b/srcpkgs/skalibs/template
@@ -1,6 +1,6 @@
# Template file for 'skalibs'
pkgname=skalibs
-version=2.12.0.1
+version=2.13.1.0
revision=1
build_style=configure
configure_args="--libdir=/usr/lib --enable-static --enable-shared
@@ -14,7 +14,7 @@ license="ISC"
homepage="https://skarnet.org/software/skalibs/"
changelog="https://skarnet.org/software/skalibs/upgrade.html"
distfiles="https://skarnet.org/software/${pkgname}/${pkgname}-${version}.tar.gz"
-checksum=3e228f72f18d88c17f6c4e0a66881d6d3779427b7e7e889f3142b6f26da30285
+checksum=b3c48938c7fba4b19a8b0dce6e7a11427717a0901160bb62cfc6823f8ac86d92
post_install() {
vlicense COPYING LICENSE
From 62021244db9477ffa72aed14e907b11b78246dda Mon Sep 17 00:00:00 2001
From: mobinmob <mobinmob@disroot.org>
Date: Fri, 17 Feb 2023 20:11:14 +0200
Subject: [PATCH 02/18] execline: update to 2.9.2.0.
---
srcpkgs/execline/template | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/srcpkgs/execline/template b/srcpkgs/execline/template
index 2df4249d34cc..6c16293af1a8 100644
--- a/srcpkgs/execline/template
+++ b/srcpkgs/execline/template
@@ -1,6 +1,6 @@
# Template file for 'execline'
pkgname=execline
-version=2.9.0.1
+version=2.9.2.0
revision=1
build_style=configure
configure_args="--libdir=/usr/lib --bindir=/usr/bin
@@ -14,7 +14,7 @@ license="ISC"
homepage="https://skarnet.org/software/execline/"
changelog="https://skarnet.org/software/execline/upgrade.html"
distfiles="https://skarnet.org/software/${pkgname}/${pkgname}-${version}.tar.gz"
-checksum=01260fcaf80ffbca2a94aa55ea474dfb9e39b3033b55c8af88126791879531f6
+checksum=9365012558a1e3c019cafc6eb574b0f5890495fb02652f20efdd782d577b1601
CFLAGS="-fPIC"
From e322f2cf2395272e1151dc75bfe3b72f1ff46339 Mon Sep 17 00:00:00 2001
From: mobinmob <mobinmob@disroot.org>
Date: Fri, 17 Feb 2023 20:11:20 +0200
Subject: [PATCH 03/18] s6: update to 2.11.3.0.
---
srcpkgs/s6/template | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/srcpkgs/s6/template b/srcpkgs/s6/template
index d54785b251b2..ef18c396fcde 100644
--- a/srcpkgs/s6/template
+++ b/srcpkgs/s6/template
@@ -1,6 +1,6 @@
# Template file for 's6'
pkgname=s6
-version=2.11.1.1
+version=2.11.3.0
revision=1
build_style=configure
configure_args="--libdir=/usr/lib --bindir=/usr/bin
@@ -15,7 +15,7 @@ license="ISC"
homepage="http://skarnet.org/software/s6/"
changelog="https://skarnet.org/software/s6/upgrade.html"
distfiles="http://skarnet.org/software/s6/s6-${version}.tar.gz"
-checksum=1cef7f7b3a7e01181fbb6fe8300e6ba422d9689007221c78af1f99528acb6c38
+checksum=0ef2de80c40b603d58bf65ec5dd9f0bb1f227d35f311e8948d9e30f81efb5b81
build_options="static"
From 65543d5bb37bd57977c5596d19287a130ff6ebac Mon Sep 17 00:00:00 2001
From: mobinmob <mobinmob@disroot.org>
Date: Fri, 17 Feb 2023 20:11:24 +0200
Subject: [PATCH 04/18] s6-rc: update to 0.5.4.0.
---
srcpkgs/s6-rc/template | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/srcpkgs/s6-rc/template b/srcpkgs/s6-rc/template
index 495907ef8a60..1fef769f112f 100644
--- a/srcpkgs/s6-rc/template
+++ b/srcpkgs/s6-rc/template
@@ -1,6 +1,6 @@
# Template file for 's6-rc'
pkgname=s6-rc
-version=0.5.3.2
+version=0.5.4.0
revision=1
build_style=configure
configure_args="--prefix=/usr --libdir=/usr/lib --includedir=/usr/include
@@ -15,7 +15,7 @@ license="ISC"
homepage="https://skarnet.org/software/s6-rc/"
changelog="https://skarnet.org/software/s6-rc/upgrade.html"
distfiles="https://skarnet.org/software/${pkgname}/${pkgname}-${version}.tar.gz"
-checksum=4f24a4966a4aa353d2bd1a8afca9b88c7b7bd29c46b3a1a7f5305686b9d6e038
+checksum=9e750e63a19aaf65ef50cf6f691b8641f7d98857fa2e992b8186953fb32cad70
build_options="static"
From fcbbf38bf5ab8e4fb6c72a9e4d348c8b30dc10bd Mon Sep 17 00:00:00 2001
From: mobinmob <mobinmob@disroot.org>
Date: Fri, 17 Feb 2023 20:11:38 +0200
Subject: [PATCH 05/18] nsss: update to 0.2.0.3.
---
srcpkgs/nsss/template | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/srcpkgs/nsss/template b/srcpkgs/nsss/template
index b4efae672355..ae3cac748266 100644
--- a/srcpkgs/nsss/template
+++ b/srcpkgs/nsss/template
@@ -1,7 +1,7 @@
# Template file for 'nsss'
pkgname=nsss
-version=0.2.0.1
-revision=2
+version=0.2.0.3
+revision=1
# Only available for musl
archs="*-musl"
build_style=configure
@@ -16,7 +16,7 @@ license="ISC"
homepage="https://skarnet.org/software/nsss/"
changelog="https://skarnet.org/software/nsss/upgrade.html"
distfiles="https://skarnet.org/software/nsss/nsss-${version}.tar.gz"
-checksum=7d984ea627b3a8d7649d9bf24c79693f338e911d2b11040b89c4febfb1b3125b
+checksum=b1e397ed5b327611a7c2c8c1dc60e91fef353c54fead464f887720bc0914148e
build_options="static"
From 21062e4a60f0b65e8b2ff84c02e6a9bf5fa1d0cf Mon Sep 17 00:00:00 2001
From: mobinmob <mobinmob@disroot.org>
Date: Fri, 17 Feb 2023 20:11:42 +0200
Subject: [PATCH 06/18] s6-dns: update to 2.3.5.5.
---
srcpkgs/s6-dns/template | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/srcpkgs/s6-dns/template b/srcpkgs/s6-dns/template
index 4d282185ce8a..7f243bc2ec82 100644
--- a/srcpkgs/s6-dns/template
+++ b/srcpkgs/s6-dns/template
@@ -1,6 +1,6 @@
# Template file for 's6-dns'
pkgname=s6-dns
-version=2.3.5.4
+version=2.3.5.5
revision=1
build_style=configure
configure_args="--prefix=/usr --libdir=/usr/lib
@@ -13,7 +13,7 @@ maintainer="Orphaned <orphan@voidlinux.org>"
license="ISC"
homepage="https://skarnet.org/software/s6-dns"
distfiles="${homepage}/${pkgname}-${version}.tar.gz"
-checksum=76af222472c4754f83cdc59ad354255ce1b1e6f6833a059328463f8e51f4db43
+checksum=56979b5d5125c38071a80b5e3df0d4a6b2a7c52bb863a2410b6e3d797ffe1ee8
build_options="static"
From 1808764a7f10a2786e1a757f41094e483ec73a50 Mon Sep 17 00:00:00 2001
From: mobinmob <mobinmob@disroot.org>
Date: Fri, 17 Feb 2023 20:11:49 +0200
Subject: [PATCH 07/18] s6-networking: update to 2.5.1.2.
---
srcpkgs/s6-networking/template | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/srcpkgs/s6-networking/template b/srcpkgs/s6-networking/template
index 5a04b9abf01b..1652f93ec9ac 100644
--- a/srcpkgs/s6-networking/template
+++ b/srcpkgs/s6-networking/template
@@ -1,6 +1,6 @@
# Template file for 's6-networking'
pkgname=s6-networking
-version=2.5.1.1
+version=2.5.1.2
revision=1
build_style=configure
configure_args="--libdir=/usr/lib $(vopt_if libtls --enable-ssl=libtls)
@@ -16,7 +16,7 @@ license="ISC"
homepage="https://skarnet.org/software/s6-networking"
changelog="https://skarnet.org/software/s6-networking/upgrade.html"
distfiles="${homepage}/${pkgname}-${version}.tar.gz"
-checksum=7ac79d4de3d9c13532e444ab7497c4e04ad0fa7229d502984d9dc7d48aa64418
+checksum=d072deb67a4ca4d7c512640c5f33a766c7b854364949727d3600738c6769f146
build_options="bearssl libtls static"
build_options_default="bearssl"
From a8335a35c669a15e730723228bbdc1b25b2ab6e2 Mon Sep 17 00:00:00 2001
From: mobinmob <mobinmob@disroot.org>
Date: Fri, 17 Feb 2023 20:11:59 +0200
Subject: [PATCH 08/18] s6-portable-utils: update to 2.3.0.0.
---
srcpkgs/s6-portable-utils/template | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/srcpkgs/s6-portable-utils/template b/srcpkgs/s6-portable-utils/template
index ca0c308fb3b1..eca93d57160e 100644
--- a/srcpkgs/s6-portable-utils/template
+++ b/srcpkgs/s6-portable-utils/template
@@ -1,6 +1,6 @@
# Template file for 's6-portable-utils'
pkgname=s6-portable-utils
-version=2.2.5.0
+version=2.3.0.0
revision=1
build_style=configure
configure_args="--prefix=/usr --libdir=/usr/lib --includedir=/usr/include
@@ -14,7 +14,7 @@ license="ISC"
homepage="https://skarnet.org/software/s6-portable-utils/"
changelog="https://skarnet.org/software/s6-portable-utils/upgrade.html"
distfiles="https://skarnet.org/software/${pkgname}/${pkgname}-${version}.tar.gz"
-checksum=ebb39f8934fd36f25d31352e61bbd94dc02b1e9f04411850d2fd9658bd916e36
+checksum=1e9066c430c1cb39a3a7b7004cd379ffebe566bd3d698db18de6125783002005
build_options="static"
From f463bde9557220d8389d3cab4aacba36596988c0 Mon Sep 17 00:00:00 2001
From: mobinmob <mobinmob@disroot.org>
Date: Fri, 17 Feb 2023 20:12:05 +0200
Subject: [PATCH 09/18] s6-linux-utils: update to 2.6.1.0.
---
srcpkgs/s6-linux-utils/template | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/srcpkgs/s6-linux-utils/template b/srcpkgs/s6-linux-utils/template
index 212752cc26d0..28bd4b52b8a4 100644
--- a/srcpkgs/s6-linux-utils/template
+++ b/srcpkgs/s6-linux-utils/template
@@ -1,6 +1,6 @@
# Template file for 's6-linux-utils'
pkgname=s6-linux-utils
-version=2.6.0.0
+version=2.6.1.0
revision=1
build_style=configure
configure_args="--libdir=/usr/lib --includedir=/usr/include
@@ -14,7 +14,7 @@ license="ISC"
homepage="https://skarnet.org/software/s6-linux-utils"
changelog="https://skarnet.org/software/s6-linux-utils/upgrade.html"
distfiles="${homepage}/${pkgname}-${version}.tar.gz"
-checksum=6c7132734a0c8287002ee6910c469f175a97d766a8023c0c33af8ba92643ed59
+checksum=2accb5a443dd04203a6358534bdcf0dd369aceb4733e322612c2b8329260b7a2
build_options="static"
From 5557cf37fea1925e8db3e2781d49f7db7e701d4e Mon Sep 17 00:00:00 2001
From: mobinmob <mobinmob@disroot.org>
Date: Fri, 17 Feb 2023 20:12:13 +0200
Subject: [PATCH 10/18] s6-man-pages: update to 2.11.2.0.1.
---
srcpkgs/s6-man-pages/template | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/srcpkgs/s6-man-pages/template b/srcpkgs/s6-man-pages/template
index 308c8a8ebd2b..290c85a02bd4 100644
--- a/srcpkgs/s6-man-pages/template
+++ b/srcpkgs/s6-man-pages/template
@@ -1,6 +1,6 @@
# Template file for 's6-man-pages'
pkgname=s6-man-pages
-version=2.11.1.1.1
+version=2.11.2.0.1
revision=1
build_style=gnu-makefile
short_desc="Ports of the HTML documentation for the s6 supervision suite to mdoc(7)"
@@ -8,7 +8,7 @@ maintainer="mobinmob <mobinmob@disroot.org>"
license="ISC"
homepage="https://github.com/flexibeast/s6-man-pages"
distfiles="https://github.com/flexibeast/s6-man-pages/archive/v${version}.tar.gz"
-checksum=794cd18cabee8c5afcb2cddfb35a5ae93240595aae5dc831acc8f4e258ca2199
+checksum=733db565d05425ad4f70ea70f43e2f63d0b3b8f16a46f89a3e8653ebbf0fe93b
post_install() {
vlicense LICENSE
From a5c4834fd8d8babe19e48da3826d50d908b5caa7 Mon Sep 17 00:00:00 2001
From: mobinmob <mobinmob@disroot.org>
Date: Fri, 17 Feb 2023 20:12:25 +0200
Subject: [PATCH 11/18] s6-networking-man-pages: update to 2.5.1.2.1.
---
srcpkgs/s6-networking-man-pages/template | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/srcpkgs/s6-networking-man-pages/template b/srcpkgs/s6-networking-man-pages/template
index 2480ac1440f9..a34ce9e71fa7 100644
--- a/srcpkgs/s6-networking-man-pages/template
+++ b/srcpkgs/s6-networking-man-pages/template
@@ -1,6 +1,6 @@
# Template file for 's6-networking-man-pages'
pkgname=s6-networking-man-pages
-version=2.5.1.1.1
+version=2.5.1.2.1
revision=1
build_style=gnu-makefile
hostmakedepends="mdocml"
@@ -9,7 +9,7 @@ maintainer="mobinmob <mobinmob@disroot.org>"
license="ISC"
homepage="https://github.com/flexibeast/s6-networking-man-pages"
distfiles="https://github.com/flexibeast/s6-networking-man-pages/archive/refs/tags/v${version}.tar.gz"
-checksum=8502edfc01f54c7eca8131a5cb3c9a46c698c9199f9654db9183f7e307ece258
+checksum=40cd9f4f96b020f1bcf867dbc789111723a9a8931a66b9820a72e2491d154ab5
post_install() {
vlicense LICENSE
From eda3d39f539432daa6adc3a58dae6a37fdc8e8bc Mon Sep 17 00:00:00 2001
From: mobinmob <mobinmob@disroot.org>
Date: Fri, 17 Feb 2023 20:12:38 +0200
Subject: [PATCH 12/18] s6-portable-utils-man-pages: update to 2.2.5.1.1.
---
srcpkgs/s6-portable-utils-man-pages/template | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/srcpkgs/s6-portable-utils-man-pages/template b/srcpkgs/s6-portable-utils-man-pages/template
index 28c906c1a67a..3320a91af185 100644
--- a/srcpkgs/s6-portable-utils-man-pages/template
+++ b/srcpkgs/s6-portable-utils-man-pages/template
@@ -1,6 +1,6 @@
# Template file for 's6-portable-utils-man-pages'
pkgname=s6-portable-utils-man-pages
-version=2.2.5.0.1
+version=2.2.5.1.1
revision=1
build_style=gnu-makefile
hostmakedepends="mdocml"
@@ -9,7 +9,7 @@ maintainer="mobinmob <mobinmob@disroot.org>"
license="ISC"
homepage="https://github.com/flexibeast/s6-portable-utils-man-pages"
distfiles="https://github.com/flexibeast/s6-portable-utils-man-pages/archive/refs/tags/v${version}.tar.gz"
-checksum=e960dbd459285846f89900643742846848431c0d82d4645f3c4b697227abdfe4
+checksum=977c7f204d7ae57872682407d27f3c4df53e5417d9e1cf57d62bce45893db8ff
post_install() {
vlicense LICENSE
From 5f04e1c2c65d821fa65ad515d74300cddaa43e70 Mon Sep 17 00:00:00 2001
From: mobinmob <mobinmob@disroot.org>
Date: Fri, 17 Feb 2023 20:12:54 +0200
Subject: [PATCH 13/18] execline-man-pages: update to 2.9.1.0.1.
---
srcpkgs/execline-man-pages/template | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/srcpkgs/execline-man-pages/template b/srcpkgs/execline-man-pages/template
index 7369115caf4c..3803ed7c4d4f 100644
--- a/srcpkgs/execline-man-pages/template
+++ b/srcpkgs/execline-man-pages/template
@@ -1,6 +1,6 @@
# Template file for 'execline-man-pages'
pkgname=execline-man-pages
-version=2.9.0.0.1
+version=2.9.1.0.1
revision=1
build_style=gnu-makefile
hostmakedepends="mdocml"
@@ -9,7 +9,7 @@ maintainer="mobinmob <mobinmob@disroot.org>"
license="ISC"
homepage="https://github.com/flexibeast/execline-man-pages"
distfiles="https://github.com/flexibeast/execline-man-pages/archive/v${version}.tar.gz"
-checksum=e8e7e3deacbfdbb7144574068fdb5621340522ec8c6fa7e4d32b6b44ee060b33
+checksum=f170669b4a56e559275ac2b166cbadc4229b635906fe5c072fde7df545287d06
post_install() {
vlicense LICENSE
From 6530b7b40d08bc953fcfc36dbffa08a8a4da5014 Mon Sep 17 00:00:00 2001
From: mobinmob <mobinmob@disroot.org>
Date: Fri, 17 Feb 2023 20:14:06 +0200
Subject: [PATCH 14/18] oblibs: revbump for new skarnet stack release.
---
srcpkgs/oblibs/template | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/srcpkgs/oblibs/template b/srcpkgs/oblibs/template
index f1adf1a9f436..15cc98f4d089 100644
--- a/srcpkgs/oblibs/template
+++ b/srcpkgs/oblibs/template
@@ -1,7 +1,7 @@
# Template file for 'oblibs'
pkgname=oblibs
version=0.1.4.0
-revision=2
+revision=3
build_style=configure
configure_args="--prefix=/usr --libdir=/usr/lib --with-sysdeps=${XBPS_CROSS_BASE}/usr/lib/skalibs/sysdeps"
makedepends="skalibs-devel execline-devel"
From df91fdb1043be7260c3d3722c4b3e8c10764e3a3 Mon Sep 17 00:00:00 2001
From: mobinmob <mobinmob@disroot.org>
Date: Fri, 17 Feb 2023 20:14:28 +0200
Subject: [PATCH 15/18] 66-tools: revbump for new skarnet release.
---
srcpkgs/66-tools/template | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/srcpkgs/66-tools/template b/srcpkgs/66-tools/template
index 7f0983a12660..7536c2ba76aa 100644
--- a/srcpkgs/66-tools/template
+++ b/srcpkgs/66-tools/template
@@ -1,7 +1,7 @@
# Template file for '66-tools'
pkgname=66-tools
version=0.0.8.0
-revision=2
+revision=3
build_style=configure
configure_args="--prefix=/usr
--with-sysdeps=${XBPS_CROSS_BASE}/usr/lib/skalibs/sysdeps
From 6359e2332212ddc2294e54c2e5c9e89e56432c48 Mon Sep 17 00:00:00 2001
From: mobinmob <mobinmob@disroot.org>
Date: Fri, 17 Feb 2023 20:14:44 +0200
Subject: [PATCH 16/18] 66: revbump for new skarnet release.
---
srcpkgs/66/template | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/srcpkgs/66/template b/srcpkgs/66/template
index 150ab6049654..89677d007138 100644
--- a/srcpkgs/66/template
+++ b/srcpkgs/66/template
@@ -1,7 +1,7 @@
# Template file for '66'
pkgname=66
version=0.6.2.0
-revision=3
+revision=4
build_style=configure
configure_args="--prefix=/usr
--with-sysdeps=${XBPS_CROSS_BASE}/usr/lib/skalibs/sysdeps
From 3aac815f15b8242256ace36318870a9a493c53c3 Mon Sep 17 00:00:00 2001
From: dkwo <nicolopiazzalunga@gmail.com>
Date: Fri, 24 Feb 2023 17:01:40 -0500
Subject: [PATCH 17/18] mdevd: update to 0.6.1.2, add conf and service
---
srcpkgs/mdevd/files/mdev.conf | 70 +++++++++++++++++++++++++++++++++++
srcpkgs/mdevd/files/mdevd/run | 5 +++
srcpkgs/mdevd/template | 9 +++--
3 files changed, 81 insertions(+), 3 deletions(-)
create mode 100644 srcpkgs/mdevd/files/mdev.conf
create mode 100644 srcpkgs/mdevd/files/mdevd/run
diff --git a/srcpkgs/mdevd/files/mdev.conf b/srcpkgs/mdevd/files/mdev.conf
new file mode 100644
index 000000000000..0c88a022cdcc
--- /dev/null
+++ b/srcpkgs/mdevd/files/mdev.conf
@@ -0,0 +1,70 @@
+# Configuration based on 'mdev-like-a-boss'.
+# https://github.com/slashbeast/mdev-like-a-boss/blob/master/mdev.conf
+
+null root:root 666 @chmod 666 $MDEV
+zero root:root 666
+full root:root 666
+random root:root 444
+urandom root:root 444
+hwrandom root:root 444
+grsec root:root 660
+kmem root:root 640
+mem root:root 640
+
+port root:root 640
+console root:tty 600 @chmod 600 $MDEV
+ptmx root:tty 666
+pty.* root:tty 660
+tty root:tty 666
+tty[0-9]* root:tty 660
+vcsa*[0-9]* root:tty 660
+
+# Kernel based virtual machine.
+kvm root:kvm 660
+vhost-net root:kvm 660
+
+# Block devices.
+ram([0-9]*) root:disk 660 >rd/%1
+loop([0-9]+) root:disk 660 >loop/%1
+sr[0-9]* root:cdrom 660 @ln -sf $MDEV cdrom
+fd[0-9]* root:floppy 660
+
+net/tun[0-9]* root:kvm 660
+net/tap[0-9]* root:root 600
+fuse root:root 666
+agpgart root:root 660 >misc/
+psaux root:root 660 >misc/
+rtc root:root 664 >misc/
+
+# Audio stuff.
+adsp root:audio 660 >sound/
+audio root:audio 660 >sound/
+dsp root:audio 660 >sound/
+mixer root:audio 660 >sound/
+sequencer.* root:audio 660 >sound/
+snd/.* root:audio 660
+
+# Raid controllers.
+cciss!(.*) root:disk 660 =cciss/%1
+ida!(.*) root:disk 660 =ida/%1
+rd!(.*) root:disk 660 =rd/%1
+
+# Input stuff.
+SUBSYSTEM=input;.* root:input 660
+
+# Video stuff.
+card[0-9] root:video 660 =dri/
+vbi[0-9] root:video 660 >v4l/
+video[0-9] root:video 660 >v4l/
+dri/.* root:video 660
+
+# Don't create old usbdev* devices.
+usbdev[0-9].[0-9]* root:root 660 !
+
+# Stop creating x:x:x:x which looks like /dev/dm-*.
+[0-9]+\:[0-9]+\:[0-9]+\:[0-9]+ root:root 660 !
+
+# /dev/cpu support.
+microcode root:root 600 =cpu/
+cpu([0-9]+) root:root 600 =cpu/%1/cpuid
+msr([0-9]+) root:root 600 =cpu/%1/msr
diff --git a/srcpkgs/mdevd/files/mdevd/run b/srcpkgs/mdevd/files/mdevd/run
new file mode 100644
index 000000000000..4cd60dd302a0
--- /dev/null
+++ b/srcpkgs/mdevd/files/mdevd/run
@@ -0,0 +1,5 @@
+#!/bin/sh
+
+exec 2>&1
+exec mdevd -f /etc/mdevd.conf -D 3 -b 200000 -O4
+
diff --git a/srcpkgs/mdevd/template b/srcpkgs/mdevd/template
index 43f2118937fb..b44a02046d60 100644
--- a/srcpkgs/mdevd/template
+++ b/srcpkgs/mdevd/template
@@ -1,6 +1,6 @@
# Template file for 'mdevd'
pkgname=mdevd
-version=0.1.6.0
+version=0.1.6.2
revision=1
build_style=configure
configure_args="--includedir=/usr/include --bindir=/usr/bin --libdir=/usr/lib
@@ -14,9 +14,10 @@ license="ISC"
homepage="https://skarnet.org/software/mdevd/"
changelog="https://skarnet.org/software/mdevd/upgrade.html"
distfiles="https://skarnet.org/software/mdevd/mdevd-${version}.tar.gz"
-checksum=33cf2b118634538fd24f302b30f52cc8aa28ea68b414916ce482b54a4ee57283
-
+checksum=ac2fcf9004f07904592c5894e2c401e15bb027ecf37bcb8ea661e2a7993447be
+conf_files="/etc/mdev.conf"
build_options="static"
+make_check=no # no tests
case "$XBPS_TARGET_MACHINE" in
*-musl)
@@ -29,6 +30,8 @@ post_install() {
vlicense COPYING
vdoc README
vcopy "doc/*" usr/share/doc/${pkgname}
+ vsv mdevd
+ vcopy ${FILESDIR}/mdev.conf etc/mdev.conf
}
mdevd-doc_package() {
From 035e33ae0c2c401d42aefd4a557b2a50ec199ecf Mon Sep 17 00:00:00 2001
From: dkwo <nicolopiazzalunga@gmail.com>
Date: Fri, 24 Feb 2023 18:26:36 -0500
Subject: [PATCH 18/18] new package: libudev-zero
---
srcpkgs/libudev-zero/template | 23 +++++++++++++++++++++++
1 file changed, 23 insertions(+)
create mode 100644 srcpkgs/libudev-zero/template
diff --git a/srcpkgs/libudev-zero/template b/srcpkgs/libudev-zero/template
new file mode 100644
index 000000000000..fb6dfe79e38d
--- /dev/null
+++ b/srcpkgs/libudev-zero/template
@@ -0,0 +1,23 @@
+# Template file for 'libudev-zero'
+pkgname=libudev-zero
+version=1.0.1
+revision=1
+build_style=gnu-makefile
+short_desc="Daemonless replacement for libudev"
+maintainer="dkwo <npiazza@disroot.org>"
+license="ISC"
+homepage="https://github.com/illiliti/libudev-zero"
+distfiles="https://github.com/illiliti/libudev-zero/archive/refs/tags/${version}.tar.gz"
+checksum=c4cf149ea96295c1e6e86038d10c725344c751982ed4a790b06c76776923e0ea
+make_check=no # no tests
+conflicts="eudev-libudev>=3.2.11_1 eudev-libudev-devel>=3.2.11_1"
+
+post_build() {
+ "$CC" $LDFLAGS $CFLAGS $CPPFLAGS -o libudev-zero-helper contrib/helper.c
+}
+
+post_install() {
+ rm -f ${DESTDIR}/usr/lib/libudev.a
+ vlicense LICENSE
+ vinstall libudev-zero-helper 755 usr/libexec
+}
^ permalink raw reply [flat|nested] 50+ messages in thread
* Re: [rfc] udev alternatives
2023-02-27 16:49 [PR PATCH] [rfc] udev alternatives dkwo
` (11 preceding siblings ...)
2023-02-27 23:04 ` [PR PATCH] [Updated] " dkwo
@ 2023-02-28 15:20 ` mobinmob
2023-02-28 15:20 ` mobinmob
` (35 subsequent siblings)
48 siblings, 0 replies; 50+ messages in thread
From: mobinmob @ 2023-02-28 15:20 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 781 bytes --]
New comment by mobinmob on void-packages repository
https://github.com/void-linux/void-packages/pull/42488#issuecomment-1448371324
Comment:
> > libudev-zero is not a eudev-libudev **drop-in** alternative :(
>
> From the project homepage: Drop-in replacement for libudev intended to work with any device manager
Yes, that is the goal and the developer has done trully **amazing** work. Last time I checked it did not implement all the libudev api, so as far as that is concerned it has not yet reached that goal.
My comment was technically wrong though. I meant to highlight the work that should be done outside of the packaging of libudev-zero itself.
I happy @dkwo that you took it up ;)
BTW, checkout tinyramfs if you have not already - it also written by @illility.
^ permalink raw reply [flat|nested] 50+ messages in thread
* Re: [rfc] udev alternatives
2023-02-27 16:49 [PR PATCH] [rfc] udev alternatives dkwo
` (12 preceding siblings ...)
2023-02-28 15:20 ` mobinmob
@ 2023-02-28 15:20 ` mobinmob
2023-02-28 17:19 ` mobinmob
` (34 subsequent siblings)
48 siblings, 0 replies; 50+ messages in thread
From: mobinmob @ 2023-02-28 15:20 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 784 bytes --]
New comment by mobinmob on void-packages repository
https://github.com/void-linux/void-packages/pull/42488#issuecomment-1448371324
Comment:
> > libudev-zero is not a eudev-libudev **drop-in** alternative :(
>
> From the project homepage: Drop-in replacement for libudev intended to work with any device manager
Yes, that is the goal and the developer has done trully **amazing** work. Last time I checked it did not implement all the libudev api, so as far as that is concerned it has not yet reached that goal.
My comment was technically wrong though. I meant to highlight the work that should be done outside of the packaging of libudev-zero itself.
I happy @dkwo that you took it up ;)
BTW, checkout tinyramfs if you have not already - it is also written by @illility.
^ permalink raw reply [flat|nested] 50+ messages in thread
* Re: [rfc] udev alternatives
2023-02-27 16:49 [PR PATCH] [rfc] udev alternatives dkwo
` (13 preceding siblings ...)
2023-02-28 15:20 ` mobinmob
@ 2023-02-28 17:19 ` mobinmob
2023-02-28 18:40 ` [PR PATCH] [Updated] " dkwo
` (33 subsequent siblings)
48 siblings, 0 replies; 50+ messages in thread
From: mobinmob @ 2023-02-28 17:19 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 784 bytes --]
New comment by mobinmob on void-packages repository
https://github.com/void-linux/void-packages/pull/42488#issuecomment-1448371324
Comment:
> > libudev-zero is not a eudev-libudev **drop-in** alternative :(
>
> From the project homepage: Drop-in replacement for libudev intended to work with any device manager
Yes, that is the goal and the developer has done trully **amazing** work. Last time I checked it did not implement all the libudev api, so as far as that is concerned it has not yet reached that goal.
My comment was technically wrong though. I meant to highlight the work that should be done outside of the packaging of libudev-zero itself.
I happy @dkwo that you took it up ;)
BTW, checkout tinyramfs if you have not already - it is also written by @illiliti.
^ permalink raw reply [flat|nested] 50+ messages in thread
* Re: [PR PATCH] [Updated] [rfc] udev alternatives
2023-02-27 16:49 [PR PATCH] [rfc] udev alternatives dkwo
` (14 preceding siblings ...)
2023-02-28 17:19 ` mobinmob
@ 2023-02-28 18:40 ` dkwo
2023-02-28 18:45 ` dkwo
` (32 subsequent siblings)
48 siblings, 0 replies; 50+ messages in thread
From: dkwo @ 2023-02-28 18:40 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 1013 bytes --]
There is an updated pull request by dkwo against master on the void-packages repository
https://github.com/dkwo/void-packages udev
https://github.com/void-linux/void-packages/pull/42488
[rfc] udev alternatives
There are still some things I do not understand, notably:
- how to deal with eudev-libudev: libudev-zero replaces, conflicts, provides it? it provides /usr/lib/libudev.so.1, I expect some stuff built with eudev-libudev-devel (wlroots, libinput) to work with it, while other may not if one removes eudev-libudev (lvm2, pipewire), see https://github.com/illiliti/libudev-zero
- find an optimal mdev.conf (current one is taken from kiss-linux, alpine has a similar one)
- edit the corresponing runit parts in stage 1.
- I tested the changes in this PR: no
- I built this PR locally for my native architecture, (x86_64-musl)
cc mantainer @mobinmob for now I updated mdevd, added a service and conf file.
A patch file from https://github.com/void-linux/void-packages/pull/42488.patch is attached
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-udev-42488.patch --]
[-- Type: text/x-diff, Size: 22264 bytes --]
From 9d085caef5459848e39b5cd771b44f406be1b4b6 Mon Sep 17 00:00:00 2001
From: mobinmob <mobinmob@disroot.org>
Date: Fri, 17 Feb 2023 20:11:07 +0200
Subject: [PATCH 01/18] skalibs: update to 2.13.1.0.
---
common/shlibs | 2 +-
srcpkgs/skalibs/template | 4 ++--
2 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/common/shlibs b/common/shlibs
index ee9aa499b828..36401bb7aa16 100644
--- a/common/shlibs
+++ b/common/shlibs
@@ -2375,7 +2375,7 @@ libgnunettransport.so.2 gnunet-0.12.2_1
libgnunettransportapplication.so.0 gnunet-0.12.2_1
libgnunettransportcore.so.0 gnunet-0.12.2_1
libgnunettransportcommunicator.so.0 gnunet-0.12.2_1
-libskarnet.so.2.12 skalibs-2.12.0.0_1
+libskarnet.so.2.13 skalibs-2.13.0.0_1
libKF5BalooWidgets.so.5 baloo-widgets5-17.04.3_1
libtidy.so.58 libtidy5-5.8.0_1
libSDL2_gfx-1.0.so.0 SDL2_gfx-1.0.1_1
diff --git a/srcpkgs/skalibs/template b/srcpkgs/skalibs/template
index dccbcee327eb..185177eb4165 100644
--- a/srcpkgs/skalibs/template
+++ b/srcpkgs/skalibs/template
@@ -1,6 +1,6 @@
# Template file for 'skalibs'
pkgname=skalibs
-version=2.12.0.1
+version=2.13.1.0
revision=1
build_style=configure
configure_args="--libdir=/usr/lib --enable-static --enable-shared
@@ -14,7 +14,7 @@ license="ISC"
homepage="https://skarnet.org/software/skalibs/"
changelog="https://skarnet.org/software/skalibs/upgrade.html"
distfiles="https://skarnet.org/software/${pkgname}/${pkgname}-${version}.tar.gz"
-checksum=3e228f72f18d88c17f6c4e0a66881d6d3779427b7e7e889f3142b6f26da30285
+checksum=b3c48938c7fba4b19a8b0dce6e7a11427717a0901160bb62cfc6823f8ac86d92
post_install() {
vlicense COPYING LICENSE
From 5ca8e2cf8ff39d5982945c54501889e65467b752 Mon Sep 17 00:00:00 2001
From: mobinmob <mobinmob@disroot.org>
Date: Fri, 17 Feb 2023 20:11:14 +0200
Subject: [PATCH 02/18] execline: update to 2.9.2.0.
---
srcpkgs/execline/template | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/srcpkgs/execline/template b/srcpkgs/execline/template
index 2df4249d34cc..6c16293af1a8 100644
--- a/srcpkgs/execline/template
+++ b/srcpkgs/execline/template
@@ -1,6 +1,6 @@
# Template file for 'execline'
pkgname=execline
-version=2.9.0.1
+version=2.9.2.0
revision=1
build_style=configure
configure_args="--libdir=/usr/lib --bindir=/usr/bin
@@ -14,7 +14,7 @@ license="ISC"
homepage="https://skarnet.org/software/execline/"
changelog="https://skarnet.org/software/execline/upgrade.html"
distfiles="https://skarnet.org/software/${pkgname}/${pkgname}-${version}.tar.gz"
-checksum=01260fcaf80ffbca2a94aa55ea474dfb9e39b3033b55c8af88126791879531f6
+checksum=9365012558a1e3c019cafc6eb574b0f5890495fb02652f20efdd782d577b1601
CFLAGS="-fPIC"
From a72520c91ba58e9d5201b15a39ee9eea2aeab3a3 Mon Sep 17 00:00:00 2001
From: mobinmob <mobinmob@disroot.org>
Date: Fri, 17 Feb 2023 20:11:20 +0200
Subject: [PATCH 03/18] s6: update to 2.11.3.0.
---
srcpkgs/s6/template | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/srcpkgs/s6/template b/srcpkgs/s6/template
index d54785b251b2..ef18c396fcde 100644
--- a/srcpkgs/s6/template
+++ b/srcpkgs/s6/template
@@ -1,6 +1,6 @@
# Template file for 's6'
pkgname=s6
-version=2.11.1.1
+version=2.11.3.0
revision=1
build_style=configure
configure_args="--libdir=/usr/lib --bindir=/usr/bin
@@ -15,7 +15,7 @@ license="ISC"
homepage="http://skarnet.org/software/s6/"
changelog="https://skarnet.org/software/s6/upgrade.html"
distfiles="http://skarnet.org/software/s6/s6-${version}.tar.gz"
-checksum=1cef7f7b3a7e01181fbb6fe8300e6ba422d9689007221c78af1f99528acb6c38
+checksum=0ef2de80c40b603d58bf65ec5dd9f0bb1f227d35f311e8948d9e30f81efb5b81
build_options="static"
From a19edfbbff75b655fee61ff36cb0c99c6df1b8b4 Mon Sep 17 00:00:00 2001
From: mobinmob <mobinmob@disroot.org>
Date: Fri, 17 Feb 2023 20:11:24 +0200
Subject: [PATCH 04/18] s6-rc: update to 0.5.4.0.
---
srcpkgs/s6-rc/template | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/srcpkgs/s6-rc/template b/srcpkgs/s6-rc/template
index 495907ef8a60..1fef769f112f 100644
--- a/srcpkgs/s6-rc/template
+++ b/srcpkgs/s6-rc/template
@@ -1,6 +1,6 @@
# Template file for 's6-rc'
pkgname=s6-rc
-version=0.5.3.2
+version=0.5.4.0
revision=1
build_style=configure
configure_args="--prefix=/usr --libdir=/usr/lib --includedir=/usr/include
@@ -15,7 +15,7 @@ license="ISC"
homepage="https://skarnet.org/software/s6-rc/"
changelog="https://skarnet.org/software/s6-rc/upgrade.html"
distfiles="https://skarnet.org/software/${pkgname}/${pkgname}-${version}.tar.gz"
-checksum=4f24a4966a4aa353d2bd1a8afca9b88c7b7bd29c46b3a1a7f5305686b9d6e038
+checksum=9e750e63a19aaf65ef50cf6f691b8641f7d98857fa2e992b8186953fb32cad70
build_options="static"
From dace727d714b16511a449e2d66ef569bb06a8d57 Mon Sep 17 00:00:00 2001
From: mobinmob <mobinmob@disroot.org>
Date: Fri, 17 Feb 2023 20:11:38 +0200
Subject: [PATCH 05/18] nsss: update to 0.2.0.3.
---
srcpkgs/nsss/template | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/srcpkgs/nsss/template b/srcpkgs/nsss/template
index b4efae672355..ae3cac748266 100644
--- a/srcpkgs/nsss/template
+++ b/srcpkgs/nsss/template
@@ -1,7 +1,7 @@
# Template file for 'nsss'
pkgname=nsss
-version=0.2.0.1
-revision=2
+version=0.2.0.3
+revision=1
# Only available for musl
archs="*-musl"
build_style=configure
@@ -16,7 +16,7 @@ license="ISC"
homepage="https://skarnet.org/software/nsss/"
changelog="https://skarnet.org/software/nsss/upgrade.html"
distfiles="https://skarnet.org/software/nsss/nsss-${version}.tar.gz"
-checksum=7d984ea627b3a8d7649d9bf24c79693f338e911d2b11040b89c4febfb1b3125b
+checksum=b1e397ed5b327611a7c2c8c1dc60e91fef353c54fead464f887720bc0914148e
build_options="static"
From b3b6addf2338933fda87a2cbc53e593fa7a8b453 Mon Sep 17 00:00:00 2001
From: mobinmob <mobinmob@disroot.org>
Date: Fri, 17 Feb 2023 20:11:42 +0200
Subject: [PATCH 06/18] s6-dns: update to 2.3.5.5.
---
srcpkgs/s6-dns/template | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/srcpkgs/s6-dns/template b/srcpkgs/s6-dns/template
index 4d282185ce8a..7f243bc2ec82 100644
--- a/srcpkgs/s6-dns/template
+++ b/srcpkgs/s6-dns/template
@@ -1,6 +1,6 @@
# Template file for 's6-dns'
pkgname=s6-dns
-version=2.3.5.4
+version=2.3.5.5
revision=1
build_style=configure
configure_args="--prefix=/usr --libdir=/usr/lib
@@ -13,7 +13,7 @@ maintainer="Orphaned <orphan@voidlinux.org>"
license="ISC"
homepage="https://skarnet.org/software/s6-dns"
distfiles="${homepage}/${pkgname}-${version}.tar.gz"
-checksum=76af222472c4754f83cdc59ad354255ce1b1e6f6833a059328463f8e51f4db43
+checksum=56979b5d5125c38071a80b5e3df0d4a6b2a7c52bb863a2410b6e3d797ffe1ee8
build_options="static"
From 00b37af467f624a7d3ffb535aa77f506b9a73adb Mon Sep 17 00:00:00 2001
From: mobinmob <mobinmob@disroot.org>
Date: Fri, 17 Feb 2023 20:11:49 +0200
Subject: [PATCH 07/18] s6-networking: update to 2.5.1.2.
---
srcpkgs/s6-networking/template | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/srcpkgs/s6-networking/template b/srcpkgs/s6-networking/template
index 5a04b9abf01b..1652f93ec9ac 100644
--- a/srcpkgs/s6-networking/template
+++ b/srcpkgs/s6-networking/template
@@ -1,6 +1,6 @@
# Template file for 's6-networking'
pkgname=s6-networking
-version=2.5.1.1
+version=2.5.1.2
revision=1
build_style=configure
configure_args="--libdir=/usr/lib $(vopt_if libtls --enable-ssl=libtls)
@@ -16,7 +16,7 @@ license="ISC"
homepage="https://skarnet.org/software/s6-networking"
changelog="https://skarnet.org/software/s6-networking/upgrade.html"
distfiles="${homepage}/${pkgname}-${version}.tar.gz"
-checksum=7ac79d4de3d9c13532e444ab7497c4e04ad0fa7229d502984d9dc7d48aa64418
+checksum=d072deb67a4ca4d7c512640c5f33a766c7b854364949727d3600738c6769f146
build_options="bearssl libtls static"
build_options_default="bearssl"
From 650a6ae3f3b80a32f39abdaf731466ebf56ad57b Mon Sep 17 00:00:00 2001
From: mobinmob <mobinmob@disroot.org>
Date: Fri, 17 Feb 2023 20:11:59 +0200
Subject: [PATCH 08/18] s6-portable-utils: update to 2.3.0.0.
---
srcpkgs/s6-portable-utils/template | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/srcpkgs/s6-portable-utils/template b/srcpkgs/s6-portable-utils/template
index ca0c308fb3b1..eca93d57160e 100644
--- a/srcpkgs/s6-portable-utils/template
+++ b/srcpkgs/s6-portable-utils/template
@@ -1,6 +1,6 @@
# Template file for 's6-portable-utils'
pkgname=s6-portable-utils
-version=2.2.5.0
+version=2.3.0.0
revision=1
build_style=configure
configure_args="--prefix=/usr --libdir=/usr/lib --includedir=/usr/include
@@ -14,7 +14,7 @@ license="ISC"
homepage="https://skarnet.org/software/s6-portable-utils/"
changelog="https://skarnet.org/software/s6-portable-utils/upgrade.html"
distfiles="https://skarnet.org/software/${pkgname}/${pkgname}-${version}.tar.gz"
-checksum=ebb39f8934fd36f25d31352e61bbd94dc02b1e9f04411850d2fd9658bd916e36
+checksum=1e9066c430c1cb39a3a7b7004cd379ffebe566bd3d698db18de6125783002005
build_options="static"
From 081eb4276ea2b82067af17fb7d8e2380ff806d7a Mon Sep 17 00:00:00 2001
From: mobinmob <mobinmob@disroot.org>
Date: Fri, 17 Feb 2023 20:12:05 +0200
Subject: [PATCH 09/18] s6-linux-utils: update to 2.6.1.0.
---
srcpkgs/s6-linux-utils/template | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/srcpkgs/s6-linux-utils/template b/srcpkgs/s6-linux-utils/template
index 212752cc26d0..28bd4b52b8a4 100644
--- a/srcpkgs/s6-linux-utils/template
+++ b/srcpkgs/s6-linux-utils/template
@@ -1,6 +1,6 @@
# Template file for 's6-linux-utils'
pkgname=s6-linux-utils
-version=2.6.0.0
+version=2.6.1.0
revision=1
build_style=configure
configure_args="--libdir=/usr/lib --includedir=/usr/include
@@ -14,7 +14,7 @@ license="ISC"
homepage="https://skarnet.org/software/s6-linux-utils"
changelog="https://skarnet.org/software/s6-linux-utils/upgrade.html"
distfiles="${homepage}/${pkgname}-${version}.tar.gz"
-checksum=6c7132734a0c8287002ee6910c469f175a97d766a8023c0c33af8ba92643ed59
+checksum=2accb5a443dd04203a6358534bdcf0dd369aceb4733e322612c2b8329260b7a2
build_options="static"
From 2e4ab26d66b1995e1b7639188e4b185dedbac830 Mon Sep 17 00:00:00 2001
From: mobinmob <mobinmob@disroot.org>
Date: Fri, 17 Feb 2023 20:12:13 +0200
Subject: [PATCH 10/18] s6-man-pages: update to 2.11.2.0.1.
---
srcpkgs/s6-man-pages/template | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/srcpkgs/s6-man-pages/template b/srcpkgs/s6-man-pages/template
index 308c8a8ebd2b..290c85a02bd4 100644
--- a/srcpkgs/s6-man-pages/template
+++ b/srcpkgs/s6-man-pages/template
@@ -1,6 +1,6 @@
# Template file for 's6-man-pages'
pkgname=s6-man-pages
-version=2.11.1.1.1
+version=2.11.2.0.1
revision=1
build_style=gnu-makefile
short_desc="Ports of the HTML documentation for the s6 supervision suite to mdoc(7)"
@@ -8,7 +8,7 @@ maintainer="mobinmob <mobinmob@disroot.org>"
license="ISC"
homepage="https://github.com/flexibeast/s6-man-pages"
distfiles="https://github.com/flexibeast/s6-man-pages/archive/v${version}.tar.gz"
-checksum=794cd18cabee8c5afcb2cddfb35a5ae93240595aae5dc831acc8f4e258ca2199
+checksum=733db565d05425ad4f70ea70f43e2f63d0b3b8f16a46f89a3e8653ebbf0fe93b
post_install() {
vlicense LICENSE
From f732a52ea0654e2bcc214fbf3029aae912c5d921 Mon Sep 17 00:00:00 2001
From: mobinmob <mobinmob@disroot.org>
Date: Fri, 17 Feb 2023 20:12:25 +0200
Subject: [PATCH 11/18] s6-networking-man-pages: update to 2.5.1.2.1.
---
srcpkgs/s6-networking-man-pages/template | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/srcpkgs/s6-networking-man-pages/template b/srcpkgs/s6-networking-man-pages/template
index 2480ac1440f9..a34ce9e71fa7 100644
--- a/srcpkgs/s6-networking-man-pages/template
+++ b/srcpkgs/s6-networking-man-pages/template
@@ -1,6 +1,6 @@
# Template file for 's6-networking-man-pages'
pkgname=s6-networking-man-pages
-version=2.5.1.1.1
+version=2.5.1.2.1
revision=1
build_style=gnu-makefile
hostmakedepends="mdocml"
@@ -9,7 +9,7 @@ maintainer="mobinmob <mobinmob@disroot.org>"
license="ISC"
homepage="https://github.com/flexibeast/s6-networking-man-pages"
distfiles="https://github.com/flexibeast/s6-networking-man-pages/archive/refs/tags/v${version}.tar.gz"
-checksum=8502edfc01f54c7eca8131a5cb3c9a46c698c9199f9654db9183f7e307ece258
+checksum=40cd9f4f96b020f1bcf867dbc789111723a9a8931a66b9820a72e2491d154ab5
post_install() {
vlicense LICENSE
From c1d213e0098a297c590353082c797ee18aa1000b Mon Sep 17 00:00:00 2001
From: mobinmob <mobinmob@disroot.org>
Date: Fri, 17 Feb 2023 20:12:38 +0200
Subject: [PATCH 12/18] s6-portable-utils-man-pages: update to 2.2.5.1.1.
---
srcpkgs/s6-portable-utils-man-pages/template | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/srcpkgs/s6-portable-utils-man-pages/template b/srcpkgs/s6-portable-utils-man-pages/template
index 28c906c1a67a..3320a91af185 100644
--- a/srcpkgs/s6-portable-utils-man-pages/template
+++ b/srcpkgs/s6-portable-utils-man-pages/template
@@ -1,6 +1,6 @@
# Template file for 's6-portable-utils-man-pages'
pkgname=s6-portable-utils-man-pages
-version=2.2.5.0.1
+version=2.2.5.1.1
revision=1
build_style=gnu-makefile
hostmakedepends="mdocml"
@@ -9,7 +9,7 @@ maintainer="mobinmob <mobinmob@disroot.org>"
license="ISC"
homepage="https://github.com/flexibeast/s6-portable-utils-man-pages"
distfiles="https://github.com/flexibeast/s6-portable-utils-man-pages/archive/refs/tags/v${version}.tar.gz"
-checksum=e960dbd459285846f89900643742846848431c0d82d4645f3c4b697227abdfe4
+checksum=977c7f204d7ae57872682407d27f3c4df53e5417d9e1cf57d62bce45893db8ff
post_install() {
vlicense LICENSE
From 459a0f55dc59cd61193aa492b2d3dc8ba1e44087 Mon Sep 17 00:00:00 2001
From: mobinmob <mobinmob@disroot.org>
Date: Fri, 17 Feb 2023 20:12:54 +0200
Subject: [PATCH 13/18] execline-man-pages: update to 2.9.1.0.1.
---
srcpkgs/execline-man-pages/template | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/srcpkgs/execline-man-pages/template b/srcpkgs/execline-man-pages/template
index 7369115caf4c..3803ed7c4d4f 100644
--- a/srcpkgs/execline-man-pages/template
+++ b/srcpkgs/execline-man-pages/template
@@ -1,6 +1,6 @@
# Template file for 'execline-man-pages'
pkgname=execline-man-pages
-version=2.9.0.0.1
+version=2.9.1.0.1
revision=1
build_style=gnu-makefile
hostmakedepends="mdocml"
@@ -9,7 +9,7 @@ maintainer="mobinmob <mobinmob@disroot.org>"
license="ISC"
homepage="https://github.com/flexibeast/execline-man-pages"
distfiles="https://github.com/flexibeast/execline-man-pages/archive/v${version}.tar.gz"
-checksum=e8e7e3deacbfdbb7144574068fdb5621340522ec8c6fa7e4d32b6b44ee060b33
+checksum=f170669b4a56e559275ac2b166cbadc4229b635906fe5c072fde7df545287d06
post_install() {
vlicense LICENSE
From 9f3a29c0d5c9f10786776dede013e228f55eb3cd Mon Sep 17 00:00:00 2001
From: mobinmob <mobinmob@disroot.org>
Date: Fri, 17 Feb 2023 20:14:06 +0200
Subject: [PATCH 14/18] oblibs: revbump for new skarnet stack release.
---
srcpkgs/oblibs/template | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/srcpkgs/oblibs/template b/srcpkgs/oblibs/template
index f1adf1a9f436..15cc98f4d089 100644
--- a/srcpkgs/oblibs/template
+++ b/srcpkgs/oblibs/template
@@ -1,7 +1,7 @@
# Template file for 'oblibs'
pkgname=oblibs
version=0.1.4.0
-revision=2
+revision=3
build_style=configure
configure_args="--prefix=/usr --libdir=/usr/lib --with-sysdeps=${XBPS_CROSS_BASE}/usr/lib/skalibs/sysdeps"
makedepends="skalibs-devel execline-devel"
From c6b4031fd4c81313c80fa4723fb4835838c2b3b9 Mon Sep 17 00:00:00 2001
From: mobinmob <mobinmob@disroot.org>
Date: Fri, 17 Feb 2023 20:14:28 +0200
Subject: [PATCH 15/18] 66-tools: revbump for new skarnet release.
---
srcpkgs/66-tools/template | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/srcpkgs/66-tools/template b/srcpkgs/66-tools/template
index 7f0983a12660..7536c2ba76aa 100644
--- a/srcpkgs/66-tools/template
+++ b/srcpkgs/66-tools/template
@@ -1,7 +1,7 @@
# Template file for '66-tools'
pkgname=66-tools
version=0.0.8.0
-revision=2
+revision=3
build_style=configure
configure_args="--prefix=/usr
--with-sysdeps=${XBPS_CROSS_BASE}/usr/lib/skalibs/sysdeps
From ca463cf5d8f450f818b59da674894aa9912ab3b0 Mon Sep 17 00:00:00 2001
From: mobinmob <mobinmob@disroot.org>
Date: Fri, 17 Feb 2023 20:14:44 +0200
Subject: [PATCH 16/18] 66: revbump for new skarnet release.
---
srcpkgs/66/template | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/srcpkgs/66/template b/srcpkgs/66/template
index 150ab6049654..89677d007138 100644
--- a/srcpkgs/66/template
+++ b/srcpkgs/66/template
@@ -1,7 +1,7 @@
# Template file for '66'
pkgname=66
version=0.6.2.0
-revision=3
+revision=4
build_style=configure
configure_args="--prefix=/usr
--with-sysdeps=${XBPS_CROSS_BASE}/usr/lib/skalibs/sysdeps
From 62d64c3af452ccc660075647228422d72c399bef Mon Sep 17 00:00:00 2001
From: dkwo <nicolopiazzalunga@gmail.com>
Date: Fri, 24 Feb 2023 17:01:40 -0500
Subject: [PATCH 17/18] mdevd: update to 0.6.1.2, add conf and service
---
srcpkgs/mdevd/files/mdev.conf | 70 +++++++++++++++++++++++++++++++++++
srcpkgs/mdevd/files/mdevd/run | 5 +++
srcpkgs/mdevd/template | 9 +++--
3 files changed, 81 insertions(+), 3 deletions(-)
create mode 100644 srcpkgs/mdevd/files/mdev.conf
create mode 100644 srcpkgs/mdevd/files/mdevd/run
diff --git a/srcpkgs/mdevd/files/mdev.conf b/srcpkgs/mdevd/files/mdev.conf
new file mode 100644
index 000000000000..0c88a022cdcc
--- /dev/null
+++ b/srcpkgs/mdevd/files/mdev.conf
@@ -0,0 +1,70 @@
+# Configuration based on 'mdev-like-a-boss'.
+# https://github.com/slashbeast/mdev-like-a-boss/blob/master/mdev.conf
+
+null root:root 666 @chmod 666 $MDEV
+zero root:root 666
+full root:root 666
+random root:root 444
+urandom root:root 444
+hwrandom root:root 444
+grsec root:root 660
+kmem root:root 640
+mem root:root 640
+
+port root:root 640
+console root:tty 600 @chmod 600 $MDEV
+ptmx root:tty 666
+pty.* root:tty 660
+tty root:tty 666
+tty[0-9]* root:tty 660
+vcsa*[0-9]* root:tty 660
+
+# Kernel based virtual machine.
+kvm root:kvm 660
+vhost-net root:kvm 660
+
+# Block devices.
+ram([0-9]*) root:disk 660 >rd/%1
+loop([0-9]+) root:disk 660 >loop/%1
+sr[0-9]* root:cdrom 660 @ln -sf $MDEV cdrom
+fd[0-9]* root:floppy 660
+
+net/tun[0-9]* root:kvm 660
+net/tap[0-9]* root:root 600
+fuse root:root 666
+agpgart root:root 660 >misc/
+psaux root:root 660 >misc/
+rtc root:root 664 >misc/
+
+# Audio stuff.
+adsp root:audio 660 >sound/
+audio root:audio 660 >sound/
+dsp root:audio 660 >sound/
+mixer root:audio 660 >sound/
+sequencer.* root:audio 660 >sound/
+snd/.* root:audio 660
+
+# Raid controllers.
+cciss!(.*) root:disk 660 =cciss/%1
+ida!(.*) root:disk 660 =ida/%1
+rd!(.*) root:disk 660 =rd/%1
+
+# Input stuff.
+SUBSYSTEM=input;.* root:input 660
+
+# Video stuff.
+card[0-9] root:video 660 =dri/
+vbi[0-9] root:video 660 >v4l/
+video[0-9] root:video 660 >v4l/
+dri/.* root:video 660
+
+# Don't create old usbdev* devices.
+usbdev[0-9].[0-9]* root:root 660 !
+
+# Stop creating x:x:x:x which looks like /dev/dm-*.
+[0-9]+\:[0-9]+\:[0-9]+\:[0-9]+ root:root 660 !
+
+# /dev/cpu support.
+microcode root:root 600 =cpu/
+cpu([0-9]+) root:root 600 =cpu/%1/cpuid
+msr([0-9]+) root:root 600 =cpu/%1/msr
diff --git a/srcpkgs/mdevd/files/mdevd/run b/srcpkgs/mdevd/files/mdevd/run
new file mode 100644
index 000000000000..4cd60dd302a0
--- /dev/null
+++ b/srcpkgs/mdevd/files/mdevd/run
@@ -0,0 +1,5 @@
+#!/bin/sh
+
+exec 2>&1
+exec mdevd -f /etc/mdevd.conf -D 3 -b 200000 -O4
+
diff --git a/srcpkgs/mdevd/template b/srcpkgs/mdevd/template
index 43f2118937fb..b44a02046d60 100644
--- a/srcpkgs/mdevd/template
+++ b/srcpkgs/mdevd/template
@@ -1,6 +1,6 @@
# Template file for 'mdevd'
pkgname=mdevd
-version=0.1.6.0
+version=0.1.6.2
revision=1
build_style=configure
configure_args="--includedir=/usr/include --bindir=/usr/bin --libdir=/usr/lib
@@ -14,9 +14,10 @@ license="ISC"
homepage="https://skarnet.org/software/mdevd/"
changelog="https://skarnet.org/software/mdevd/upgrade.html"
distfiles="https://skarnet.org/software/mdevd/mdevd-${version}.tar.gz"
-checksum=33cf2b118634538fd24f302b30f52cc8aa28ea68b414916ce482b54a4ee57283
-
+checksum=ac2fcf9004f07904592c5894e2c401e15bb027ecf37bcb8ea661e2a7993447be
+conf_files="/etc/mdev.conf"
build_options="static"
+make_check=no # no tests
case "$XBPS_TARGET_MACHINE" in
*-musl)
@@ -29,6 +30,8 @@ post_install() {
vlicense COPYING
vdoc README
vcopy "doc/*" usr/share/doc/${pkgname}
+ vsv mdevd
+ vcopy ${FILESDIR}/mdev.conf etc/mdev.conf
}
mdevd-doc_package() {
From 68ab3918ffb0f37552c01cb55171df5e44126b9e Mon Sep 17 00:00:00 2001
From: dkwo <nicolopiazzalunga@gmail.com>
Date: Fri, 24 Feb 2023 18:26:36 -0500
Subject: [PATCH 18/18] new package: libudev-zero
---
srcpkgs/libudev-zero/template | 25 +++++++++++++++++++++++++
1 file changed, 25 insertions(+)
create mode 100644 srcpkgs/libudev-zero/template
diff --git a/srcpkgs/libudev-zero/template b/srcpkgs/libudev-zero/template
new file mode 100644
index 000000000000..b4480ff39263
--- /dev/null
+++ b/srcpkgs/libudev-zero/template
@@ -0,0 +1,25 @@
+# Template file for 'libudev-zero'
+pkgname=libudev-zero
+version=1.0.1
+revision=1
+_UDEV_VERSION=243
+build_style=gnu-makefile
+short_desc="Daemonless replacement for libudev"
+maintainer="dkwo <npiazza@disroot.org>"
+license="ISC"
+homepage="https://github.com/illiliti/libudev-zero"
+distfiles="https://github.com/illiliti/libudev-zero/archive/refs/tags/${version}.tar.gz"
+checksum=c4cf149ea96295c1e6e86038d10c725344c751982ed4a790b06c76776923e0ea
+make_check=no # no tests
+conflicts="eudev-libudev>=3.2.11_1"
+provides="libudev-${_UDEV_VERSION}_${revision}"
+
+post_build() {
+ "$CC" $LDFLAGS $CFLAGS $CPPFLAGS -o libudev-zero-helper contrib/helper.c
+}
+
+post_install() {
+ rm -f ${DESTDIR}/usr/lib/libudev.a
+ vlicense LICENSE
+ vinstall libudev-zero-helper 755 usr/libexec
+}
^ permalink raw reply [flat|nested] 50+ messages in thread
* Re: [PR PATCH] [Updated] [rfc] udev alternatives
2023-02-27 16:49 [PR PATCH] [rfc] udev alternatives dkwo
` (15 preceding siblings ...)
2023-02-28 18:40 ` [PR PATCH] [Updated] " dkwo
@ 2023-02-28 18:45 ` dkwo
2023-02-28 21:03 ` dkwo
` (31 subsequent siblings)
48 siblings, 0 replies; 50+ messages in thread
From: dkwo @ 2023-02-28 18:45 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 643 bytes --]
There is an updated pull request by dkwo against master on the void-packages repository
https://github.com/dkwo/void-packages udev
https://github.com/void-linux/void-packages/pull/42488
[rfc] udev alternatives
https://github.com/illiliti/libudev-zero
- find optimal mdev.conf; current taken from kiss-linux, see also alpine and mdev-like-a-boss
- edit runit stage 1 script
- I tested the changes in this PR: no
- I built this PR locally for my native architecture, (x86_64-musl)
cc mantainer @mobinmob added a service and conf file to mdevd
A patch file from https://github.com/void-linux/void-packages/pull/42488.patch is attached
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-udev-42488.patch --]
[-- Type: text/x-diff, Size: 22260 bytes --]
From 9d085caef5459848e39b5cd771b44f406be1b4b6 Mon Sep 17 00:00:00 2001
From: mobinmob <mobinmob@disroot.org>
Date: Fri, 17 Feb 2023 20:11:07 +0200
Subject: [PATCH 01/18] skalibs: update to 2.13.1.0.
---
common/shlibs | 2 +-
srcpkgs/skalibs/template | 4 ++--
2 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/common/shlibs b/common/shlibs
index ee9aa499b828..36401bb7aa16 100644
--- a/common/shlibs
+++ b/common/shlibs
@@ -2375,7 +2375,7 @@ libgnunettransport.so.2 gnunet-0.12.2_1
libgnunettransportapplication.so.0 gnunet-0.12.2_1
libgnunettransportcore.so.0 gnunet-0.12.2_1
libgnunettransportcommunicator.so.0 gnunet-0.12.2_1
-libskarnet.so.2.12 skalibs-2.12.0.0_1
+libskarnet.so.2.13 skalibs-2.13.0.0_1
libKF5BalooWidgets.so.5 baloo-widgets5-17.04.3_1
libtidy.so.58 libtidy5-5.8.0_1
libSDL2_gfx-1.0.so.0 SDL2_gfx-1.0.1_1
diff --git a/srcpkgs/skalibs/template b/srcpkgs/skalibs/template
index dccbcee327eb..185177eb4165 100644
--- a/srcpkgs/skalibs/template
+++ b/srcpkgs/skalibs/template
@@ -1,6 +1,6 @@
# Template file for 'skalibs'
pkgname=skalibs
-version=2.12.0.1
+version=2.13.1.0
revision=1
build_style=configure
configure_args="--libdir=/usr/lib --enable-static --enable-shared
@@ -14,7 +14,7 @@ license="ISC"
homepage="https://skarnet.org/software/skalibs/"
changelog="https://skarnet.org/software/skalibs/upgrade.html"
distfiles="https://skarnet.org/software/${pkgname}/${pkgname}-${version}.tar.gz"
-checksum=3e228f72f18d88c17f6c4e0a66881d6d3779427b7e7e889f3142b6f26da30285
+checksum=b3c48938c7fba4b19a8b0dce6e7a11427717a0901160bb62cfc6823f8ac86d92
post_install() {
vlicense COPYING LICENSE
From 5ca8e2cf8ff39d5982945c54501889e65467b752 Mon Sep 17 00:00:00 2001
From: mobinmob <mobinmob@disroot.org>
Date: Fri, 17 Feb 2023 20:11:14 +0200
Subject: [PATCH 02/18] execline: update to 2.9.2.0.
---
srcpkgs/execline/template | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/srcpkgs/execline/template b/srcpkgs/execline/template
index 2df4249d34cc..6c16293af1a8 100644
--- a/srcpkgs/execline/template
+++ b/srcpkgs/execline/template
@@ -1,6 +1,6 @@
# Template file for 'execline'
pkgname=execline
-version=2.9.0.1
+version=2.9.2.0
revision=1
build_style=configure
configure_args="--libdir=/usr/lib --bindir=/usr/bin
@@ -14,7 +14,7 @@ license="ISC"
homepage="https://skarnet.org/software/execline/"
changelog="https://skarnet.org/software/execline/upgrade.html"
distfiles="https://skarnet.org/software/${pkgname}/${pkgname}-${version}.tar.gz"
-checksum=01260fcaf80ffbca2a94aa55ea474dfb9e39b3033b55c8af88126791879531f6
+checksum=9365012558a1e3c019cafc6eb574b0f5890495fb02652f20efdd782d577b1601
CFLAGS="-fPIC"
From a72520c91ba58e9d5201b15a39ee9eea2aeab3a3 Mon Sep 17 00:00:00 2001
From: mobinmob <mobinmob@disroot.org>
Date: Fri, 17 Feb 2023 20:11:20 +0200
Subject: [PATCH 03/18] s6: update to 2.11.3.0.
---
srcpkgs/s6/template | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/srcpkgs/s6/template b/srcpkgs/s6/template
index d54785b251b2..ef18c396fcde 100644
--- a/srcpkgs/s6/template
+++ b/srcpkgs/s6/template
@@ -1,6 +1,6 @@
# Template file for 's6'
pkgname=s6
-version=2.11.1.1
+version=2.11.3.0
revision=1
build_style=configure
configure_args="--libdir=/usr/lib --bindir=/usr/bin
@@ -15,7 +15,7 @@ license="ISC"
homepage="http://skarnet.org/software/s6/"
changelog="https://skarnet.org/software/s6/upgrade.html"
distfiles="http://skarnet.org/software/s6/s6-${version}.tar.gz"
-checksum=1cef7f7b3a7e01181fbb6fe8300e6ba422d9689007221c78af1f99528acb6c38
+checksum=0ef2de80c40b603d58bf65ec5dd9f0bb1f227d35f311e8948d9e30f81efb5b81
build_options="static"
From a19edfbbff75b655fee61ff36cb0c99c6df1b8b4 Mon Sep 17 00:00:00 2001
From: mobinmob <mobinmob@disroot.org>
Date: Fri, 17 Feb 2023 20:11:24 +0200
Subject: [PATCH 04/18] s6-rc: update to 0.5.4.0.
---
srcpkgs/s6-rc/template | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/srcpkgs/s6-rc/template b/srcpkgs/s6-rc/template
index 495907ef8a60..1fef769f112f 100644
--- a/srcpkgs/s6-rc/template
+++ b/srcpkgs/s6-rc/template
@@ -1,6 +1,6 @@
# Template file for 's6-rc'
pkgname=s6-rc
-version=0.5.3.2
+version=0.5.4.0
revision=1
build_style=configure
configure_args="--prefix=/usr --libdir=/usr/lib --includedir=/usr/include
@@ -15,7 +15,7 @@ license="ISC"
homepage="https://skarnet.org/software/s6-rc/"
changelog="https://skarnet.org/software/s6-rc/upgrade.html"
distfiles="https://skarnet.org/software/${pkgname}/${pkgname}-${version}.tar.gz"
-checksum=4f24a4966a4aa353d2bd1a8afca9b88c7b7bd29c46b3a1a7f5305686b9d6e038
+checksum=9e750e63a19aaf65ef50cf6f691b8641f7d98857fa2e992b8186953fb32cad70
build_options="static"
From dace727d714b16511a449e2d66ef569bb06a8d57 Mon Sep 17 00:00:00 2001
From: mobinmob <mobinmob@disroot.org>
Date: Fri, 17 Feb 2023 20:11:38 +0200
Subject: [PATCH 05/18] nsss: update to 0.2.0.3.
---
srcpkgs/nsss/template | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/srcpkgs/nsss/template b/srcpkgs/nsss/template
index b4efae672355..ae3cac748266 100644
--- a/srcpkgs/nsss/template
+++ b/srcpkgs/nsss/template
@@ -1,7 +1,7 @@
# Template file for 'nsss'
pkgname=nsss
-version=0.2.0.1
-revision=2
+version=0.2.0.3
+revision=1
# Only available for musl
archs="*-musl"
build_style=configure
@@ -16,7 +16,7 @@ license="ISC"
homepage="https://skarnet.org/software/nsss/"
changelog="https://skarnet.org/software/nsss/upgrade.html"
distfiles="https://skarnet.org/software/nsss/nsss-${version}.tar.gz"
-checksum=7d984ea627b3a8d7649d9bf24c79693f338e911d2b11040b89c4febfb1b3125b
+checksum=b1e397ed5b327611a7c2c8c1dc60e91fef353c54fead464f887720bc0914148e
build_options="static"
From b3b6addf2338933fda87a2cbc53e593fa7a8b453 Mon Sep 17 00:00:00 2001
From: mobinmob <mobinmob@disroot.org>
Date: Fri, 17 Feb 2023 20:11:42 +0200
Subject: [PATCH 06/18] s6-dns: update to 2.3.5.5.
---
srcpkgs/s6-dns/template | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/srcpkgs/s6-dns/template b/srcpkgs/s6-dns/template
index 4d282185ce8a..7f243bc2ec82 100644
--- a/srcpkgs/s6-dns/template
+++ b/srcpkgs/s6-dns/template
@@ -1,6 +1,6 @@
# Template file for 's6-dns'
pkgname=s6-dns
-version=2.3.5.4
+version=2.3.5.5
revision=1
build_style=configure
configure_args="--prefix=/usr --libdir=/usr/lib
@@ -13,7 +13,7 @@ maintainer="Orphaned <orphan@voidlinux.org>"
license="ISC"
homepage="https://skarnet.org/software/s6-dns"
distfiles="${homepage}/${pkgname}-${version}.tar.gz"
-checksum=76af222472c4754f83cdc59ad354255ce1b1e6f6833a059328463f8e51f4db43
+checksum=56979b5d5125c38071a80b5e3df0d4a6b2a7c52bb863a2410b6e3d797ffe1ee8
build_options="static"
From 00b37af467f624a7d3ffb535aa77f506b9a73adb Mon Sep 17 00:00:00 2001
From: mobinmob <mobinmob@disroot.org>
Date: Fri, 17 Feb 2023 20:11:49 +0200
Subject: [PATCH 07/18] s6-networking: update to 2.5.1.2.
---
srcpkgs/s6-networking/template | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/srcpkgs/s6-networking/template b/srcpkgs/s6-networking/template
index 5a04b9abf01b..1652f93ec9ac 100644
--- a/srcpkgs/s6-networking/template
+++ b/srcpkgs/s6-networking/template
@@ -1,6 +1,6 @@
# Template file for 's6-networking'
pkgname=s6-networking
-version=2.5.1.1
+version=2.5.1.2
revision=1
build_style=configure
configure_args="--libdir=/usr/lib $(vopt_if libtls --enable-ssl=libtls)
@@ -16,7 +16,7 @@ license="ISC"
homepage="https://skarnet.org/software/s6-networking"
changelog="https://skarnet.org/software/s6-networking/upgrade.html"
distfiles="${homepage}/${pkgname}-${version}.tar.gz"
-checksum=7ac79d4de3d9c13532e444ab7497c4e04ad0fa7229d502984d9dc7d48aa64418
+checksum=d072deb67a4ca4d7c512640c5f33a766c7b854364949727d3600738c6769f146
build_options="bearssl libtls static"
build_options_default="bearssl"
From 650a6ae3f3b80a32f39abdaf731466ebf56ad57b Mon Sep 17 00:00:00 2001
From: mobinmob <mobinmob@disroot.org>
Date: Fri, 17 Feb 2023 20:11:59 +0200
Subject: [PATCH 08/18] s6-portable-utils: update to 2.3.0.0.
---
srcpkgs/s6-portable-utils/template | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/srcpkgs/s6-portable-utils/template b/srcpkgs/s6-portable-utils/template
index ca0c308fb3b1..eca93d57160e 100644
--- a/srcpkgs/s6-portable-utils/template
+++ b/srcpkgs/s6-portable-utils/template
@@ -1,6 +1,6 @@
# Template file for 's6-portable-utils'
pkgname=s6-portable-utils
-version=2.2.5.0
+version=2.3.0.0
revision=1
build_style=configure
configure_args="--prefix=/usr --libdir=/usr/lib --includedir=/usr/include
@@ -14,7 +14,7 @@ license="ISC"
homepage="https://skarnet.org/software/s6-portable-utils/"
changelog="https://skarnet.org/software/s6-portable-utils/upgrade.html"
distfiles="https://skarnet.org/software/${pkgname}/${pkgname}-${version}.tar.gz"
-checksum=ebb39f8934fd36f25d31352e61bbd94dc02b1e9f04411850d2fd9658bd916e36
+checksum=1e9066c430c1cb39a3a7b7004cd379ffebe566bd3d698db18de6125783002005
build_options="static"
From 081eb4276ea2b82067af17fb7d8e2380ff806d7a Mon Sep 17 00:00:00 2001
From: mobinmob <mobinmob@disroot.org>
Date: Fri, 17 Feb 2023 20:12:05 +0200
Subject: [PATCH 09/18] s6-linux-utils: update to 2.6.1.0.
---
srcpkgs/s6-linux-utils/template | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/srcpkgs/s6-linux-utils/template b/srcpkgs/s6-linux-utils/template
index 212752cc26d0..28bd4b52b8a4 100644
--- a/srcpkgs/s6-linux-utils/template
+++ b/srcpkgs/s6-linux-utils/template
@@ -1,6 +1,6 @@
# Template file for 's6-linux-utils'
pkgname=s6-linux-utils
-version=2.6.0.0
+version=2.6.1.0
revision=1
build_style=configure
configure_args="--libdir=/usr/lib --includedir=/usr/include
@@ -14,7 +14,7 @@ license="ISC"
homepage="https://skarnet.org/software/s6-linux-utils"
changelog="https://skarnet.org/software/s6-linux-utils/upgrade.html"
distfiles="${homepage}/${pkgname}-${version}.tar.gz"
-checksum=6c7132734a0c8287002ee6910c469f175a97d766a8023c0c33af8ba92643ed59
+checksum=2accb5a443dd04203a6358534bdcf0dd369aceb4733e322612c2b8329260b7a2
build_options="static"
From 2e4ab26d66b1995e1b7639188e4b185dedbac830 Mon Sep 17 00:00:00 2001
From: mobinmob <mobinmob@disroot.org>
Date: Fri, 17 Feb 2023 20:12:13 +0200
Subject: [PATCH 10/18] s6-man-pages: update to 2.11.2.0.1.
---
srcpkgs/s6-man-pages/template | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/srcpkgs/s6-man-pages/template b/srcpkgs/s6-man-pages/template
index 308c8a8ebd2b..290c85a02bd4 100644
--- a/srcpkgs/s6-man-pages/template
+++ b/srcpkgs/s6-man-pages/template
@@ -1,6 +1,6 @@
# Template file for 's6-man-pages'
pkgname=s6-man-pages
-version=2.11.1.1.1
+version=2.11.2.0.1
revision=1
build_style=gnu-makefile
short_desc="Ports of the HTML documentation for the s6 supervision suite to mdoc(7)"
@@ -8,7 +8,7 @@ maintainer="mobinmob <mobinmob@disroot.org>"
license="ISC"
homepage="https://github.com/flexibeast/s6-man-pages"
distfiles="https://github.com/flexibeast/s6-man-pages/archive/v${version}.tar.gz"
-checksum=794cd18cabee8c5afcb2cddfb35a5ae93240595aae5dc831acc8f4e258ca2199
+checksum=733db565d05425ad4f70ea70f43e2f63d0b3b8f16a46f89a3e8653ebbf0fe93b
post_install() {
vlicense LICENSE
From f732a52ea0654e2bcc214fbf3029aae912c5d921 Mon Sep 17 00:00:00 2001
From: mobinmob <mobinmob@disroot.org>
Date: Fri, 17 Feb 2023 20:12:25 +0200
Subject: [PATCH 11/18] s6-networking-man-pages: update to 2.5.1.2.1.
---
srcpkgs/s6-networking-man-pages/template | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/srcpkgs/s6-networking-man-pages/template b/srcpkgs/s6-networking-man-pages/template
index 2480ac1440f9..a34ce9e71fa7 100644
--- a/srcpkgs/s6-networking-man-pages/template
+++ b/srcpkgs/s6-networking-man-pages/template
@@ -1,6 +1,6 @@
# Template file for 's6-networking-man-pages'
pkgname=s6-networking-man-pages
-version=2.5.1.1.1
+version=2.5.1.2.1
revision=1
build_style=gnu-makefile
hostmakedepends="mdocml"
@@ -9,7 +9,7 @@ maintainer="mobinmob <mobinmob@disroot.org>"
license="ISC"
homepage="https://github.com/flexibeast/s6-networking-man-pages"
distfiles="https://github.com/flexibeast/s6-networking-man-pages/archive/refs/tags/v${version}.tar.gz"
-checksum=8502edfc01f54c7eca8131a5cb3c9a46c698c9199f9654db9183f7e307ece258
+checksum=40cd9f4f96b020f1bcf867dbc789111723a9a8931a66b9820a72e2491d154ab5
post_install() {
vlicense LICENSE
From c1d213e0098a297c590353082c797ee18aa1000b Mon Sep 17 00:00:00 2001
From: mobinmob <mobinmob@disroot.org>
Date: Fri, 17 Feb 2023 20:12:38 +0200
Subject: [PATCH 12/18] s6-portable-utils-man-pages: update to 2.2.5.1.1.
---
srcpkgs/s6-portable-utils-man-pages/template | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/srcpkgs/s6-portable-utils-man-pages/template b/srcpkgs/s6-portable-utils-man-pages/template
index 28c906c1a67a..3320a91af185 100644
--- a/srcpkgs/s6-portable-utils-man-pages/template
+++ b/srcpkgs/s6-portable-utils-man-pages/template
@@ -1,6 +1,6 @@
# Template file for 's6-portable-utils-man-pages'
pkgname=s6-portable-utils-man-pages
-version=2.2.5.0.1
+version=2.2.5.1.1
revision=1
build_style=gnu-makefile
hostmakedepends="mdocml"
@@ -9,7 +9,7 @@ maintainer="mobinmob <mobinmob@disroot.org>"
license="ISC"
homepage="https://github.com/flexibeast/s6-portable-utils-man-pages"
distfiles="https://github.com/flexibeast/s6-portable-utils-man-pages/archive/refs/tags/v${version}.tar.gz"
-checksum=e960dbd459285846f89900643742846848431c0d82d4645f3c4b697227abdfe4
+checksum=977c7f204d7ae57872682407d27f3c4df53e5417d9e1cf57d62bce45893db8ff
post_install() {
vlicense LICENSE
From 459a0f55dc59cd61193aa492b2d3dc8ba1e44087 Mon Sep 17 00:00:00 2001
From: mobinmob <mobinmob@disroot.org>
Date: Fri, 17 Feb 2023 20:12:54 +0200
Subject: [PATCH 13/18] execline-man-pages: update to 2.9.1.0.1.
---
srcpkgs/execline-man-pages/template | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/srcpkgs/execline-man-pages/template b/srcpkgs/execline-man-pages/template
index 7369115caf4c..3803ed7c4d4f 100644
--- a/srcpkgs/execline-man-pages/template
+++ b/srcpkgs/execline-man-pages/template
@@ -1,6 +1,6 @@
# Template file for 'execline-man-pages'
pkgname=execline-man-pages
-version=2.9.0.0.1
+version=2.9.1.0.1
revision=1
build_style=gnu-makefile
hostmakedepends="mdocml"
@@ -9,7 +9,7 @@ maintainer="mobinmob <mobinmob@disroot.org>"
license="ISC"
homepage="https://github.com/flexibeast/execline-man-pages"
distfiles="https://github.com/flexibeast/execline-man-pages/archive/v${version}.tar.gz"
-checksum=e8e7e3deacbfdbb7144574068fdb5621340522ec8c6fa7e4d32b6b44ee060b33
+checksum=f170669b4a56e559275ac2b166cbadc4229b635906fe5c072fde7df545287d06
post_install() {
vlicense LICENSE
From 9f3a29c0d5c9f10786776dede013e228f55eb3cd Mon Sep 17 00:00:00 2001
From: mobinmob <mobinmob@disroot.org>
Date: Fri, 17 Feb 2023 20:14:06 +0200
Subject: [PATCH 14/18] oblibs: revbump for new skarnet stack release.
---
srcpkgs/oblibs/template | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/srcpkgs/oblibs/template b/srcpkgs/oblibs/template
index f1adf1a9f436..15cc98f4d089 100644
--- a/srcpkgs/oblibs/template
+++ b/srcpkgs/oblibs/template
@@ -1,7 +1,7 @@
# Template file for 'oblibs'
pkgname=oblibs
version=0.1.4.0
-revision=2
+revision=3
build_style=configure
configure_args="--prefix=/usr --libdir=/usr/lib --with-sysdeps=${XBPS_CROSS_BASE}/usr/lib/skalibs/sysdeps"
makedepends="skalibs-devel execline-devel"
From c6b4031fd4c81313c80fa4723fb4835838c2b3b9 Mon Sep 17 00:00:00 2001
From: mobinmob <mobinmob@disroot.org>
Date: Fri, 17 Feb 2023 20:14:28 +0200
Subject: [PATCH 15/18] 66-tools: revbump for new skarnet release.
---
srcpkgs/66-tools/template | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/srcpkgs/66-tools/template b/srcpkgs/66-tools/template
index 7f0983a12660..7536c2ba76aa 100644
--- a/srcpkgs/66-tools/template
+++ b/srcpkgs/66-tools/template
@@ -1,7 +1,7 @@
# Template file for '66-tools'
pkgname=66-tools
version=0.0.8.0
-revision=2
+revision=3
build_style=configure
configure_args="--prefix=/usr
--with-sysdeps=${XBPS_CROSS_BASE}/usr/lib/skalibs/sysdeps
From ca463cf5d8f450f818b59da674894aa9912ab3b0 Mon Sep 17 00:00:00 2001
From: mobinmob <mobinmob@disroot.org>
Date: Fri, 17 Feb 2023 20:14:44 +0200
Subject: [PATCH 16/18] 66: revbump for new skarnet release.
---
srcpkgs/66/template | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/srcpkgs/66/template b/srcpkgs/66/template
index 150ab6049654..89677d007138 100644
--- a/srcpkgs/66/template
+++ b/srcpkgs/66/template
@@ -1,7 +1,7 @@
# Template file for '66'
pkgname=66
version=0.6.2.0
-revision=3
+revision=4
build_style=configure
configure_args="--prefix=/usr
--with-sysdeps=${XBPS_CROSS_BASE}/usr/lib/skalibs/sysdeps
From df9c4bc855267ca7595fb3c7c7e4b2ab37f9c3fa Mon Sep 17 00:00:00 2001
From: dkwo <nicolopiazzalunga@gmail.com>
Date: Fri, 24 Feb 2023 17:01:40 -0500
Subject: [PATCH 17/18] mdevd: update to 0.6.1.2, add conf and service
---
srcpkgs/mdevd/files/mdev.conf | 70 +++++++++++++++++++++++++++++++++++
srcpkgs/mdevd/files/mdevd/run | 4 ++
srcpkgs/mdevd/template | 9 +++--
3 files changed, 80 insertions(+), 3 deletions(-)
create mode 100644 srcpkgs/mdevd/files/mdev.conf
create mode 100644 srcpkgs/mdevd/files/mdevd/run
diff --git a/srcpkgs/mdevd/files/mdev.conf b/srcpkgs/mdevd/files/mdev.conf
new file mode 100644
index 000000000000..0c88a022cdcc
--- /dev/null
+++ b/srcpkgs/mdevd/files/mdev.conf
@@ -0,0 +1,70 @@
+# Configuration based on 'mdev-like-a-boss'.
+# https://github.com/slashbeast/mdev-like-a-boss/blob/master/mdev.conf
+
+null root:root 666 @chmod 666 $MDEV
+zero root:root 666
+full root:root 666
+random root:root 444
+urandom root:root 444
+hwrandom root:root 444
+grsec root:root 660
+kmem root:root 640
+mem root:root 640
+
+port root:root 640
+console root:tty 600 @chmod 600 $MDEV
+ptmx root:tty 666
+pty.* root:tty 660
+tty root:tty 666
+tty[0-9]* root:tty 660
+vcsa*[0-9]* root:tty 660
+
+# Kernel based virtual machine.
+kvm root:kvm 660
+vhost-net root:kvm 660
+
+# Block devices.
+ram([0-9]*) root:disk 660 >rd/%1
+loop([0-9]+) root:disk 660 >loop/%1
+sr[0-9]* root:cdrom 660 @ln -sf $MDEV cdrom
+fd[0-9]* root:floppy 660
+
+net/tun[0-9]* root:kvm 660
+net/tap[0-9]* root:root 600
+fuse root:root 666
+agpgart root:root 660 >misc/
+psaux root:root 660 >misc/
+rtc root:root 664 >misc/
+
+# Audio stuff.
+adsp root:audio 660 >sound/
+audio root:audio 660 >sound/
+dsp root:audio 660 >sound/
+mixer root:audio 660 >sound/
+sequencer.* root:audio 660 >sound/
+snd/.* root:audio 660
+
+# Raid controllers.
+cciss!(.*) root:disk 660 =cciss/%1
+ida!(.*) root:disk 660 =ida/%1
+rd!(.*) root:disk 660 =rd/%1
+
+# Input stuff.
+SUBSYSTEM=input;.* root:input 660
+
+# Video stuff.
+card[0-9] root:video 660 =dri/
+vbi[0-9] root:video 660 >v4l/
+video[0-9] root:video 660 >v4l/
+dri/.* root:video 660
+
+# Don't create old usbdev* devices.
+usbdev[0-9].[0-9]* root:root 660 !
+
+# Stop creating x:x:x:x which looks like /dev/dm-*.
+[0-9]+\:[0-9]+\:[0-9]+\:[0-9]+ root:root 660 !
+
+# /dev/cpu support.
+microcode root:root 600 =cpu/
+cpu([0-9]+) root:root 600 =cpu/%1/cpuid
+msr([0-9]+) root:root 600 =cpu/%1/msr
diff --git a/srcpkgs/mdevd/files/mdevd/run b/srcpkgs/mdevd/files/mdevd/run
new file mode 100644
index 000000000000..3d95ad3a6850
--- /dev/null
+++ b/srcpkgs/mdevd/files/mdevd/run
@@ -0,0 +1,4 @@
+#!/bin/sh
+
+exec 2>&1
+exec mdevd -f /etc/mdev.conf -D 3 -b 200000 -O4
diff --git a/srcpkgs/mdevd/template b/srcpkgs/mdevd/template
index 43f2118937fb..b44a02046d60 100644
--- a/srcpkgs/mdevd/template
+++ b/srcpkgs/mdevd/template
@@ -1,6 +1,6 @@
# Template file for 'mdevd'
pkgname=mdevd
-version=0.1.6.0
+version=0.1.6.2
revision=1
build_style=configure
configure_args="--includedir=/usr/include --bindir=/usr/bin --libdir=/usr/lib
@@ -14,9 +14,10 @@ license="ISC"
homepage="https://skarnet.org/software/mdevd/"
changelog="https://skarnet.org/software/mdevd/upgrade.html"
distfiles="https://skarnet.org/software/mdevd/mdevd-${version}.tar.gz"
-checksum=33cf2b118634538fd24f302b30f52cc8aa28ea68b414916ce482b54a4ee57283
-
+checksum=ac2fcf9004f07904592c5894e2c401e15bb027ecf37bcb8ea661e2a7993447be
+conf_files="/etc/mdev.conf"
build_options="static"
+make_check=no # no tests
case "$XBPS_TARGET_MACHINE" in
*-musl)
@@ -29,6 +30,8 @@ post_install() {
vlicense COPYING
vdoc README
vcopy "doc/*" usr/share/doc/${pkgname}
+ vsv mdevd
+ vcopy ${FILESDIR}/mdev.conf etc/mdev.conf
}
mdevd-doc_package() {
From 25ddf4cbdeda31162e819ae6d9355ddce595d497 Mon Sep 17 00:00:00 2001
From: dkwo <nicolopiazzalunga@gmail.com>
Date: Fri, 24 Feb 2023 18:26:36 -0500
Subject: [PATCH 18/18] new package: libudev-zero
---
srcpkgs/libudev-zero/template | 25 +++++++++++++++++++++++++
1 file changed, 25 insertions(+)
create mode 100644 srcpkgs/libudev-zero/template
diff --git a/srcpkgs/libudev-zero/template b/srcpkgs/libudev-zero/template
new file mode 100644
index 000000000000..b4480ff39263
--- /dev/null
+++ b/srcpkgs/libudev-zero/template
@@ -0,0 +1,25 @@
+# Template file for 'libudev-zero'
+pkgname=libudev-zero
+version=1.0.1
+revision=1
+_UDEV_VERSION=243
+build_style=gnu-makefile
+short_desc="Daemonless replacement for libudev"
+maintainer="dkwo <npiazza@disroot.org>"
+license="ISC"
+homepage="https://github.com/illiliti/libudev-zero"
+distfiles="https://github.com/illiliti/libudev-zero/archive/refs/tags/${version}.tar.gz"
+checksum=c4cf149ea96295c1e6e86038d10c725344c751982ed4a790b06c76776923e0ea
+make_check=no # no tests
+conflicts="eudev-libudev>=3.2.11_1"
+provides="libudev-${_UDEV_VERSION}_${revision}"
+
+post_build() {
+ "$CC" $LDFLAGS $CFLAGS $CPPFLAGS -o libudev-zero-helper contrib/helper.c
+}
+
+post_install() {
+ rm -f ${DESTDIR}/usr/lib/libudev.a
+ vlicense LICENSE
+ vinstall libudev-zero-helper 755 usr/libexec
+}
^ permalink raw reply [flat|nested] 50+ messages in thread
* Re: [PR PATCH] [Updated] [rfc] udev alternatives
2023-02-27 16:49 [PR PATCH] [rfc] udev alternatives dkwo
` (16 preceding siblings ...)
2023-02-28 18:45 ` dkwo
@ 2023-02-28 21:03 ` dkwo
2023-03-01 19:57 ` dkwo
` (30 subsequent siblings)
48 siblings, 0 replies; 50+ messages in thread
From: dkwo @ 2023-02-28 21:03 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 643 bytes --]
There is an updated pull request by dkwo against master on the void-packages repository
https://github.com/dkwo/void-packages udev
https://github.com/void-linux/void-packages/pull/42488
[rfc] udev alternatives
https://github.com/illiliti/libudev-zero
- find optimal mdev.conf; current taken from kiss-linux, see also alpine and mdev-like-a-boss
- edit runit stage 1 script
- I tested the changes in this PR: no
- I built this PR locally for my native architecture, (x86_64-musl)
cc mantainer @mobinmob added a service and conf file to mdevd
A patch file from https://github.com/void-linux/void-packages/pull/42488.patch is attached
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-udev-42488.patch --]
[-- Type: text/x-diff, Size: 23270 bytes --]
From 9d085caef5459848e39b5cd771b44f406be1b4b6 Mon Sep 17 00:00:00 2001
From: mobinmob <mobinmob@disroot.org>
Date: Fri, 17 Feb 2023 20:11:07 +0200
Subject: [PATCH 01/18] skalibs: update to 2.13.1.0.
---
common/shlibs | 2 +-
srcpkgs/skalibs/template | 4 ++--
2 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/common/shlibs b/common/shlibs
index ee9aa499b828..36401bb7aa16 100644
--- a/common/shlibs
+++ b/common/shlibs
@@ -2375,7 +2375,7 @@ libgnunettransport.so.2 gnunet-0.12.2_1
libgnunettransportapplication.so.0 gnunet-0.12.2_1
libgnunettransportcore.so.0 gnunet-0.12.2_1
libgnunettransportcommunicator.so.0 gnunet-0.12.2_1
-libskarnet.so.2.12 skalibs-2.12.0.0_1
+libskarnet.so.2.13 skalibs-2.13.0.0_1
libKF5BalooWidgets.so.5 baloo-widgets5-17.04.3_1
libtidy.so.58 libtidy5-5.8.0_1
libSDL2_gfx-1.0.so.0 SDL2_gfx-1.0.1_1
diff --git a/srcpkgs/skalibs/template b/srcpkgs/skalibs/template
index dccbcee327eb..185177eb4165 100644
--- a/srcpkgs/skalibs/template
+++ b/srcpkgs/skalibs/template
@@ -1,6 +1,6 @@
# Template file for 'skalibs'
pkgname=skalibs
-version=2.12.0.1
+version=2.13.1.0
revision=1
build_style=configure
configure_args="--libdir=/usr/lib --enable-static --enable-shared
@@ -14,7 +14,7 @@ license="ISC"
homepage="https://skarnet.org/software/skalibs/"
changelog="https://skarnet.org/software/skalibs/upgrade.html"
distfiles="https://skarnet.org/software/${pkgname}/${pkgname}-${version}.tar.gz"
-checksum=3e228f72f18d88c17f6c4e0a66881d6d3779427b7e7e889f3142b6f26da30285
+checksum=b3c48938c7fba4b19a8b0dce6e7a11427717a0901160bb62cfc6823f8ac86d92
post_install() {
vlicense COPYING LICENSE
From 5ca8e2cf8ff39d5982945c54501889e65467b752 Mon Sep 17 00:00:00 2001
From: mobinmob <mobinmob@disroot.org>
Date: Fri, 17 Feb 2023 20:11:14 +0200
Subject: [PATCH 02/18] execline: update to 2.9.2.0.
---
srcpkgs/execline/template | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/srcpkgs/execline/template b/srcpkgs/execline/template
index 2df4249d34cc..6c16293af1a8 100644
--- a/srcpkgs/execline/template
+++ b/srcpkgs/execline/template
@@ -1,6 +1,6 @@
# Template file for 'execline'
pkgname=execline
-version=2.9.0.1
+version=2.9.2.0
revision=1
build_style=configure
configure_args="--libdir=/usr/lib --bindir=/usr/bin
@@ -14,7 +14,7 @@ license="ISC"
homepage="https://skarnet.org/software/execline/"
changelog="https://skarnet.org/software/execline/upgrade.html"
distfiles="https://skarnet.org/software/${pkgname}/${pkgname}-${version}.tar.gz"
-checksum=01260fcaf80ffbca2a94aa55ea474dfb9e39b3033b55c8af88126791879531f6
+checksum=9365012558a1e3c019cafc6eb574b0f5890495fb02652f20efdd782d577b1601
CFLAGS="-fPIC"
From a72520c91ba58e9d5201b15a39ee9eea2aeab3a3 Mon Sep 17 00:00:00 2001
From: mobinmob <mobinmob@disroot.org>
Date: Fri, 17 Feb 2023 20:11:20 +0200
Subject: [PATCH 03/18] s6: update to 2.11.3.0.
---
srcpkgs/s6/template | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/srcpkgs/s6/template b/srcpkgs/s6/template
index d54785b251b2..ef18c396fcde 100644
--- a/srcpkgs/s6/template
+++ b/srcpkgs/s6/template
@@ -1,6 +1,6 @@
# Template file for 's6'
pkgname=s6
-version=2.11.1.1
+version=2.11.3.0
revision=1
build_style=configure
configure_args="--libdir=/usr/lib --bindir=/usr/bin
@@ -15,7 +15,7 @@ license="ISC"
homepage="http://skarnet.org/software/s6/"
changelog="https://skarnet.org/software/s6/upgrade.html"
distfiles="http://skarnet.org/software/s6/s6-${version}.tar.gz"
-checksum=1cef7f7b3a7e01181fbb6fe8300e6ba422d9689007221c78af1f99528acb6c38
+checksum=0ef2de80c40b603d58bf65ec5dd9f0bb1f227d35f311e8948d9e30f81efb5b81
build_options="static"
From a19edfbbff75b655fee61ff36cb0c99c6df1b8b4 Mon Sep 17 00:00:00 2001
From: mobinmob <mobinmob@disroot.org>
Date: Fri, 17 Feb 2023 20:11:24 +0200
Subject: [PATCH 04/18] s6-rc: update to 0.5.4.0.
---
srcpkgs/s6-rc/template | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/srcpkgs/s6-rc/template b/srcpkgs/s6-rc/template
index 495907ef8a60..1fef769f112f 100644
--- a/srcpkgs/s6-rc/template
+++ b/srcpkgs/s6-rc/template
@@ -1,6 +1,6 @@
# Template file for 's6-rc'
pkgname=s6-rc
-version=0.5.3.2
+version=0.5.4.0
revision=1
build_style=configure
configure_args="--prefix=/usr --libdir=/usr/lib --includedir=/usr/include
@@ -15,7 +15,7 @@ license="ISC"
homepage="https://skarnet.org/software/s6-rc/"
changelog="https://skarnet.org/software/s6-rc/upgrade.html"
distfiles="https://skarnet.org/software/${pkgname}/${pkgname}-${version}.tar.gz"
-checksum=4f24a4966a4aa353d2bd1a8afca9b88c7b7bd29c46b3a1a7f5305686b9d6e038
+checksum=9e750e63a19aaf65ef50cf6f691b8641f7d98857fa2e992b8186953fb32cad70
build_options="static"
From dace727d714b16511a449e2d66ef569bb06a8d57 Mon Sep 17 00:00:00 2001
From: mobinmob <mobinmob@disroot.org>
Date: Fri, 17 Feb 2023 20:11:38 +0200
Subject: [PATCH 05/18] nsss: update to 0.2.0.3.
---
srcpkgs/nsss/template | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/srcpkgs/nsss/template b/srcpkgs/nsss/template
index b4efae672355..ae3cac748266 100644
--- a/srcpkgs/nsss/template
+++ b/srcpkgs/nsss/template
@@ -1,7 +1,7 @@
# Template file for 'nsss'
pkgname=nsss
-version=0.2.0.1
-revision=2
+version=0.2.0.3
+revision=1
# Only available for musl
archs="*-musl"
build_style=configure
@@ -16,7 +16,7 @@ license="ISC"
homepage="https://skarnet.org/software/nsss/"
changelog="https://skarnet.org/software/nsss/upgrade.html"
distfiles="https://skarnet.org/software/nsss/nsss-${version}.tar.gz"
-checksum=7d984ea627b3a8d7649d9bf24c79693f338e911d2b11040b89c4febfb1b3125b
+checksum=b1e397ed5b327611a7c2c8c1dc60e91fef353c54fead464f887720bc0914148e
build_options="static"
From b3b6addf2338933fda87a2cbc53e593fa7a8b453 Mon Sep 17 00:00:00 2001
From: mobinmob <mobinmob@disroot.org>
Date: Fri, 17 Feb 2023 20:11:42 +0200
Subject: [PATCH 06/18] s6-dns: update to 2.3.5.5.
---
srcpkgs/s6-dns/template | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/srcpkgs/s6-dns/template b/srcpkgs/s6-dns/template
index 4d282185ce8a..7f243bc2ec82 100644
--- a/srcpkgs/s6-dns/template
+++ b/srcpkgs/s6-dns/template
@@ -1,6 +1,6 @@
# Template file for 's6-dns'
pkgname=s6-dns
-version=2.3.5.4
+version=2.3.5.5
revision=1
build_style=configure
configure_args="--prefix=/usr --libdir=/usr/lib
@@ -13,7 +13,7 @@ maintainer="Orphaned <orphan@voidlinux.org>"
license="ISC"
homepage="https://skarnet.org/software/s6-dns"
distfiles="${homepage}/${pkgname}-${version}.tar.gz"
-checksum=76af222472c4754f83cdc59ad354255ce1b1e6f6833a059328463f8e51f4db43
+checksum=56979b5d5125c38071a80b5e3df0d4a6b2a7c52bb863a2410b6e3d797ffe1ee8
build_options="static"
From 00b37af467f624a7d3ffb535aa77f506b9a73adb Mon Sep 17 00:00:00 2001
From: mobinmob <mobinmob@disroot.org>
Date: Fri, 17 Feb 2023 20:11:49 +0200
Subject: [PATCH 07/18] s6-networking: update to 2.5.1.2.
---
srcpkgs/s6-networking/template | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/srcpkgs/s6-networking/template b/srcpkgs/s6-networking/template
index 5a04b9abf01b..1652f93ec9ac 100644
--- a/srcpkgs/s6-networking/template
+++ b/srcpkgs/s6-networking/template
@@ -1,6 +1,6 @@
# Template file for 's6-networking'
pkgname=s6-networking
-version=2.5.1.1
+version=2.5.1.2
revision=1
build_style=configure
configure_args="--libdir=/usr/lib $(vopt_if libtls --enable-ssl=libtls)
@@ -16,7 +16,7 @@ license="ISC"
homepage="https://skarnet.org/software/s6-networking"
changelog="https://skarnet.org/software/s6-networking/upgrade.html"
distfiles="${homepage}/${pkgname}-${version}.tar.gz"
-checksum=7ac79d4de3d9c13532e444ab7497c4e04ad0fa7229d502984d9dc7d48aa64418
+checksum=d072deb67a4ca4d7c512640c5f33a766c7b854364949727d3600738c6769f146
build_options="bearssl libtls static"
build_options_default="bearssl"
From 650a6ae3f3b80a32f39abdaf731466ebf56ad57b Mon Sep 17 00:00:00 2001
From: mobinmob <mobinmob@disroot.org>
Date: Fri, 17 Feb 2023 20:11:59 +0200
Subject: [PATCH 08/18] s6-portable-utils: update to 2.3.0.0.
---
srcpkgs/s6-portable-utils/template | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/srcpkgs/s6-portable-utils/template b/srcpkgs/s6-portable-utils/template
index ca0c308fb3b1..eca93d57160e 100644
--- a/srcpkgs/s6-portable-utils/template
+++ b/srcpkgs/s6-portable-utils/template
@@ -1,6 +1,6 @@
# Template file for 's6-portable-utils'
pkgname=s6-portable-utils
-version=2.2.5.0
+version=2.3.0.0
revision=1
build_style=configure
configure_args="--prefix=/usr --libdir=/usr/lib --includedir=/usr/include
@@ -14,7 +14,7 @@ license="ISC"
homepage="https://skarnet.org/software/s6-portable-utils/"
changelog="https://skarnet.org/software/s6-portable-utils/upgrade.html"
distfiles="https://skarnet.org/software/${pkgname}/${pkgname}-${version}.tar.gz"
-checksum=ebb39f8934fd36f25d31352e61bbd94dc02b1e9f04411850d2fd9658bd916e36
+checksum=1e9066c430c1cb39a3a7b7004cd379ffebe566bd3d698db18de6125783002005
build_options="static"
From 081eb4276ea2b82067af17fb7d8e2380ff806d7a Mon Sep 17 00:00:00 2001
From: mobinmob <mobinmob@disroot.org>
Date: Fri, 17 Feb 2023 20:12:05 +0200
Subject: [PATCH 09/18] s6-linux-utils: update to 2.6.1.0.
---
srcpkgs/s6-linux-utils/template | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/srcpkgs/s6-linux-utils/template b/srcpkgs/s6-linux-utils/template
index 212752cc26d0..28bd4b52b8a4 100644
--- a/srcpkgs/s6-linux-utils/template
+++ b/srcpkgs/s6-linux-utils/template
@@ -1,6 +1,6 @@
# Template file for 's6-linux-utils'
pkgname=s6-linux-utils
-version=2.6.0.0
+version=2.6.1.0
revision=1
build_style=configure
configure_args="--libdir=/usr/lib --includedir=/usr/include
@@ -14,7 +14,7 @@ license="ISC"
homepage="https://skarnet.org/software/s6-linux-utils"
changelog="https://skarnet.org/software/s6-linux-utils/upgrade.html"
distfiles="${homepage}/${pkgname}-${version}.tar.gz"
-checksum=6c7132734a0c8287002ee6910c469f175a97d766a8023c0c33af8ba92643ed59
+checksum=2accb5a443dd04203a6358534bdcf0dd369aceb4733e322612c2b8329260b7a2
build_options="static"
From 2e4ab26d66b1995e1b7639188e4b185dedbac830 Mon Sep 17 00:00:00 2001
From: mobinmob <mobinmob@disroot.org>
Date: Fri, 17 Feb 2023 20:12:13 +0200
Subject: [PATCH 10/18] s6-man-pages: update to 2.11.2.0.1.
---
srcpkgs/s6-man-pages/template | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/srcpkgs/s6-man-pages/template b/srcpkgs/s6-man-pages/template
index 308c8a8ebd2b..290c85a02bd4 100644
--- a/srcpkgs/s6-man-pages/template
+++ b/srcpkgs/s6-man-pages/template
@@ -1,6 +1,6 @@
# Template file for 's6-man-pages'
pkgname=s6-man-pages
-version=2.11.1.1.1
+version=2.11.2.0.1
revision=1
build_style=gnu-makefile
short_desc="Ports of the HTML documentation for the s6 supervision suite to mdoc(7)"
@@ -8,7 +8,7 @@ maintainer="mobinmob <mobinmob@disroot.org>"
license="ISC"
homepage="https://github.com/flexibeast/s6-man-pages"
distfiles="https://github.com/flexibeast/s6-man-pages/archive/v${version}.tar.gz"
-checksum=794cd18cabee8c5afcb2cddfb35a5ae93240595aae5dc831acc8f4e258ca2199
+checksum=733db565d05425ad4f70ea70f43e2f63d0b3b8f16a46f89a3e8653ebbf0fe93b
post_install() {
vlicense LICENSE
From f732a52ea0654e2bcc214fbf3029aae912c5d921 Mon Sep 17 00:00:00 2001
From: mobinmob <mobinmob@disroot.org>
Date: Fri, 17 Feb 2023 20:12:25 +0200
Subject: [PATCH 11/18] s6-networking-man-pages: update to 2.5.1.2.1.
---
srcpkgs/s6-networking-man-pages/template | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/srcpkgs/s6-networking-man-pages/template b/srcpkgs/s6-networking-man-pages/template
index 2480ac1440f9..a34ce9e71fa7 100644
--- a/srcpkgs/s6-networking-man-pages/template
+++ b/srcpkgs/s6-networking-man-pages/template
@@ -1,6 +1,6 @@
# Template file for 's6-networking-man-pages'
pkgname=s6-networking-man-pages
-version=2.5.1.1.1
+version=2.5.1.2.1
revision=1
build_style=gnu-makefile
hostmakedepends="mdocml"
@@ -9,7 +9,7 @@ maintainer="mobinmob <mobinmob@disroot.org>"
license="ISC"
homepage="https://github.com/flexibeast/s6-networking-man-pages"
distfiles="https://github.com/flexibeast/s6-networking-man-pages/archive/refs/tags/v${version}.tar.gz"
-checksum=8502edfc01f54c7eca8131a5cb3c9a46c698c9199f9654db9183f7e307ece258
+checksum=40cd9f4f96b020f1bcf867dbc789111723a9a8931a66b9820a72e2491d154ab5
post_install() {
vlicense LICENSE
From c1d213e0098a297c590353082c797ee18aa1000b Mon Sep 17 00:00:00 2001
From: mobinmob <mobinmob@disroot.org>
Date: Fri, 17 Feb 2023 20:12:38 +0200
Subject: [PATCH 12/18] s6-portable-utils-man-pages: update to 2.2.5.1.1.
---
srcpkgs/s6-portable-utils-man-pages/template | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/srcpkgs/s6-portable-utils-man-pages/template b/srcpkgs/s6-portable-utils-man-pages/template
index 28c906c1a67a..3320a91af185 100644
--- a/srcpkgs/s6-portable-utils-man-pages/template
+++ b/srcpkgs/s6-portable-utils-man-pages/template
@@ -1,6 +1,6 @@
# Template file for 's6-portable-utils-man-pages'
pkgname=s6-portable-utils-man-pages
-version=2.2.5.0.1
+version=2.2.5.1.1
revision=1
build_style=gnu-makefile
hostmakedepends="mdocml"
@@ -9,7 +9,7 @@ maintainer="mobinmob <mobinmob@disroot.org>"
license="ISC"
homepage="https://github.com/flexibeast/s6-portable-utils-man-pages"
distfiles="https://github.com/flexibeast/s6-portable-utils-man-pages/archive/refs/tags/v${version}.tar.gz"
-checksum=e960dbd459285846f89900643742846848431c0d82d4645f3c4b697227abdfe4
+checksum=977c7f204d7ae57872682407d27f3c4df53e5417d9e1cf57d62bce45893db8ff
post_install() {
vlicense LICENSE
From 459a0f55dc59cd61193aa492b2d3dc8ba1e44087 Mon Sep 17 00:00:00 2001
From: mobinmob <mobinmob@disroot.org>
Date: Fri, 17 Feb 2023 20:12:54 +0200
Subject: [PATCH 13/18] execline-man-pages: update to 2.9.1.0.1.
---
srcpkgs/execline-man-pages/template | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/srcpkgs/execline-man-pages/template b/srcpkgs/execline-man-pages/template
index 7369115caf4c..3803ed7c4d4f 100644
--- a/srcpkgs/execline-man-pages/template
+++ b/srcpkgs/execline-man-pages/template
@@ -1,6 +1,6 @@
# Template file for 'execline-man-pages'
pkgname=execline-man-pages
-version=2.9.0.0.1
+version=2.9.1.0.1
revision=1
build_style=gnu-makefile
hostmakedepends="mdocml"
@@ -9,7 +9,7 @@ maintainer="mobinmob <mobinmob@disroot.org>"
license="ISC"
homepage="https://github.com/flexibeast/execline-man-pages"
distfiles="https://github.com/flexibeast/execline-man-pages/archive/v${version}.tar.gz"
-checksum=e8e7e3deacbfdbb7144574068fdb5621340522ec8c6fa7e4d32b6b44ee060b33
+checksum=f170669b4a56e559275ac2b166cbadc4229b635906fe5c072fde7df545287d06
post_install() {
vlicense LICENSE
From 9f3a29c0d5c9f10786776dede013e228f55eb3cd Mon Sep 17 00:00:00 2001
From: mobinmob <mobinmob@disroot.org>
Date: Fri, 17 Feb 2023 20:14:06 +0200
Subject: [PATCH 14/18] oblibs: revbump for new skarnet stack release.
---
srcpkgs/oblibs/template | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/srcpkgs/oblibs/template b/srcpkgs/oblibs/template
index f1adf1a9f436..15cc98f4d089 100644
--- a/srcpkgs/oblibs/template
+++ b/srcpkgs/oblibs/template
@@ -1,7 +1,7 @@
# Template file for 'oblibs'
pkgname=oblibs
version=0.1.4.0
-revision=2
+revision=3
build_style=configure
configure_args="--prefix=/usr --libdir=/usr/lib --with-sysdeps=${XBPS_CROSS_BASE}/usr/lib/skalibs/sysdeps"
makedepends="skalibs-devel execline-devel"
From c6b4031fd4c81313c80fa4723fb4835838c2b3b9 Mon Sep 17 00:00:00 2001
From: mobinmob <mobinmob@disroot.org>
Date: Fri, 17 Feb 2023 20:14:28 +0200
Subject: [PATCH 15/18] 66-tools: revbump for new skarnet release.
---
srcpkgs/66-tools/template | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/srcpkgs/66-tools/template b/srcpkgs/66-tools/template
index 7f0983a12660..7536c2ba76aa 100644
--- a/srcpkgs/66-tools/template
+++ b/srcpkgs/66-tools/template
@@ -1,7 +1,7 @@
# Template file for '66-tools'
pkgname=66-tools
version=0.0.8.0
-revision=2
+revision=3
build_style=configure
configure_args="--prefix=/usr
--with-sysdeps=${XBPS_CROSS_BASE}/usr/lib/skalibs/sysdeps
From ca463cf5d8f450f818b59da674894aa9912ab3b0 Mon Sep 17 00:00:00 2001
From: mobinmob <mobinmob@disroot.org>
Date: Fri, 17 Feb 2023 20:14:44 +0200
Subject: [PATCH 16/18] 66: revbump for new skarnet release.
---
srcpkgs/66/template | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/srcpkgs/66/template b/srcpkgs/66/template
index 150ab6049654..89677d007138 100644
--- a/srcpkgs/66/template
+++ b/srcpkgs/66/template
@@ -1,7 +1,7 @@
# Template file for '66'
pkgname=66
version=0.6.2.0
-revision=3
+revision=4
build_style=configure
configure_args="--prefix=/usr
--with-sysdeps=${XBPS_CROSS_BASE}/usr/lib/skalibs/sysdeps
From df9c4bc855267ca7595fb3c7c7e4b2ab37f9c3fa Mon Sep 17 00:00:00 2001
From: dkwo <nicolopiazzalunga@gmail.com>
Date: Fri, 24 Feb 2023 17:01:40 -0500
Subject: [PATCH 17/18] mdevd: update to 0.6.1.2, add conf and service
---
srcpkgs/mdevd/files/mdev.conf | 70 +++++++++++++++++++++++++++++++++++
srcpkgs/mdevd/files/mdevd/run | 4 ++
srcpkgs/mdevd/template | 9 +++--
3 files changed, 80 insertions(+), 3 deletions(-)
create mode 100644 srcpkgs/mdevd/files/mdev.conf
create mode 100644 srcpkgs/mdevd/files/mdevd/run
diff --git a/srcpkgs/mdevd/files/mdev.conf b/srcpkgs/mdevd/files/mdev.conf
new file mode 100644
index 000000000000..0c88a022cdcc
--- /dev/null
+++ b/srcpkgs/mdevd/files/mdev.conf
@@ -0,0 +1,70 @@
+# Configuration based on 'mdev-like-a-boss'.
+# https://github.com/slashbeast/mdev-like-a-boss/blob/master/mdev.conf
+
+null root:root 666 @chmod 666 $MDEV
+zero root:root 666
+full root:root 666
+random root:root 444
+urandom root:root 444
+hwrandom root:root 444
+grsec root:root 660
+kmem root:root 640
+mem root:root 640
+
+port root:root 640
+console root:tty 600 @chmod 600 $MDEV
+ptmx root:tty 666
+pty.* root:tty 660
+tty root:tty 666
+tty[0-9]* root:tty 660
+vcsa*[0-9]* root:tty 660
+
+# Kernel based virtual machine.
+kvm root:kvm 660
+vhost-net root:kvm 660
+
+# Block devices.
+ram([0-9]*) root:disk 660 >rd/%1
+loop([0-9]+) root:disk 660 >loop/%1
+sr[0-9]* root:cdrom 660 @ln -sf $MDEV cdrom
+fd[0-9]* root:floppy 660
+
+net/tun[0-9]* root:kvm 660
+net/tap[0-9]* root:root 600
+fuse root:root 666
+agpgart root:root 660 >misc/
+psaux root:root 660 >misc/
+rtc root:root 664 >misc/
+
+# Audio stuff.
+adsp root:audio 660 >sound/
+audio root:audio 660 >sound/
+dsp root:audio 660 >sound/
+mixer root:audio 660 >sound/
+sequencer.* root:audio 660 >sound/
+snd/.* root:audio 660
+
+# Raid controllers.
+cciss!(.*) root:disk 660 =cciss/%1
+ida!(.*) root:disk 660 =ida/%1
+rd!(.*) root:disk 660 =rd/%1
+
+# Input stuff.
+SUBSYSTEM=input;.* root:input 660
+
+# Video stuff.
+card[0-9] root:video 660 =dri/
+vbi[0-9] root:video 660 >v4l/
+video[0-9] root:video 660 >v4l/
+dri/.* root:video 660
+
+# Don't create old usbdev* devices.
+usbdev[0-9].[0-9]* root:root 660 !
+
+# Stop creating x:x:x:x which looks like /dev/dm-*.
+[0-9]+\:[0-9]+\:[0-9]+\:[0-9]+ root:root 660 !
+
+# /dev/cpu support.
+microcode root:root 600 =cpu/
+cpu([0-9]+) root:root 600 =cpu/%1/cpuid
+msr([0-9]+) root:root 600 =cpu/%1/msr
diff --git a/srcpkgs/mdevd/files/mdevd/run b/srcpkgs/mdevd/files/mdevd/run
new file mode 100644
index 000000000000..3d95ad3a6850
--- /dev/null
+++ b/srcpkgs/mdevd/files/mdevd/run
@@ -0,0 +1,4 @@
+#!/bin/sh
+
+exec 2>&1
+exec mdevd -f /etc/mdev.conf -D 3 -b 200000 -O4
diff --git a/srcpkgs/mdevd/template b/srcpkgs/mdevd/template
index 43f2118937fb..b44a02046d60 100644
--- a/srcpkgs/mdevd/template
+++ b/srcpkgs/mdevd/template
@@ -1,6 +1,6 @@
# Template file for 'mdevd'
pkgname=mdevd
-version=0.1.6.0
+version=0.1.6.2
revision=1
build_style=configure
configure_args="--includedir=/usr/include --bindir=/usr/bin --libdir=/usr/lib
@@ -14,9 +14,10 @@ license="ISC"
homepage="https://skarnet.org/software/mdevd/"
changelog="https://skarnet.org/software/mdevd/upgrade.html"
distfiles="https://skarnet.org/software/mdevd/mdevd-${version}.tar.gz"
-checksum=33cf2b118634538fd24f302b30f52cc8aa28ea68b414916ce482b54a4ee57283
-
+checksum=ac2fcf9004f07904592c5894e2c401e15bb027ecf37bcb8ea661e2a7993447be
+conf_files="/etc/mdev.conf"
build_options="static"
+make_check=no # no tests
case "$XBPS_TARGET_MACHINE" in
*-musl)
@@ -29,6 +30,8 @@ post_install() {
vlicense COPYING
vdoc README
vcopy "doc/*" usr/share/doc/${pkgname}
+ vsv mdevd
+ vcopy ${FILESDIR}/mdev.conf etc/mdev.conf
}
mdevd-doc_package() {
From dfa6296bce9c8e4fc044ecb9ae24e9f169e6b8bc Mon Sep 17 00:00:00 2001
From: dkwo <nicolopiazzalunga@gmail.com>
Date: Fri, 24 Feb 2023 18:26:36 -0500
Subject: [PATCH 18/18] new package: libudev-zero
---
srcpkgs/libudev-zero-devel | 1 +
srcpkgs/libudev-zero-helper | 1 +
srcpkgs/libudev-zero/template | 41 +++++++++++++++++++++++++++++++++++
3 files changed, 43 insertions(+)
create mode 120000 srcpkgs/libudev-zero-devel
create mode 120000 srcpkgs/libudev-zero-helper
create mode 100644 srcpkgs/libudev-zero/template
diff --git a/srcpkgs/libudev-zero-devel b/srcpkgs/libudev-zero-devel
new file mode 120000
index 000000000000..fa3977904232
--- /dev/null
+++ b/srcpkgs/libudev-zero-devel
@@ -0,0 +1 @@
+libudev-zero/
\ No newline at end of file
diff --git a/srcpkgs/libudev-zero-helper b/srcpkgs/libudev-zero-helper
new file mode 120000
index 000000000000..fa3977904232
--- /dev/null
+++ b/srcpkgs/libudev-zero-helper
@@ -0,0 +1 @@
+libudev-zero/
\ No newline at end of file
diff --git a/srcpkgs/libudev-zero/template b/srcpkgs/libudev-zero/template
new file mode 100644
index 000000000000..bf728d274487
--- /dev/null
+++ b/srcpkgs/libudev-zero/template
@@ -0,0 +1,41 @@
+# Template file for 'libudev-zero'
+pkgname=libudev-zero
+version=1.0.1
+revision=1
+_UDEV_VERSION=243
+build_style=gnu-makefile
+short_desc="Daemonless replacement for libudev"
+maintainer="dkwo <npiazza@disroot.org>"
+license="ISC"
+homepage="https://github.com/illiliti/libudev-zero"
+distfiles="https://github.com/illiliti/libudev-zero/archive/refs/tags/${version}.tar.gz"
+checksum=c4cf149ea96295c1e6e86038d10c725344c751982ed4a790b06c76776923e0ea
+make_check=no # no tests
+provides="libudev-${_UDEV_VERSION}_${revision}"
+conflicts="eudev-libudev>=3.2.11_1"
+
+post_build() {
+ "$CC" $LDFLAGS $CFLAGS $CPPFLAGS -o libudev-zero-helper contrib/helper.c
+}
+
+post_install() {
+ vlicense LICENSE
+}
+
+libudev-zero-devel_package() {
+ provides="libudev-devel-${_UDEV_VERSION}_${revision}"
+ conflicts="eudev-libudev-devel>=3.2.11_1"
+ depends="libudev-zero>=${version}_${revision}"
+ short_desc+=" - development files"
+ pkg_install() {
+ vmove usr/lib/libudev.a
+ }
+}
+
+libudev-zero-helper_package() {
+ depends="libudev-zero>=${version}_${revision}"
+ short_desc+=" - helper"
+ pkg_install() {
+ vinstall libudev-zero-helper 755 usr/libexec
+ }
+}
^ permalink raw reply [flat|nested] 50+ messages in thread
* Re: [PR PATCH] [Updated] [rfc] udev alternatives
2023-02-27 16:49 [PR PATCH] [rfc] udev alternatives dkwo
` (17 preceding siblings ...)
2023-02-28 21:03 ` dkwo
@ 2023-03-01 19:57 ` dkwo
2023-03-01 20:55 ` new package: libudev-zero dkwo
` (29 subsequent siblings)
48 siblings, 0 replies; 50+ messages in thread
From: dkwo @ 2023-03-01 19:57 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 643 bytes --]
There is an updated pull request by dkwo against master on the void-packages repository
https://github.com/dkwo/void-packages udev
https://github.com/void-linux/void-packages/pull/42488
[rfc] udev alternatives
https://github.com/illiliti/libudev-zero
- find optimal mdev.conf; current taken from kiss-linux, see also alpine and mdev-like-a-boss
- edit runit stage 1 script
- I tested the changes in this PR: no
- I built this PR locally for my native architecture, (x86_64-musl)
cc mantainer @mobinmob added a service and conf file to mdevd
A patch file from https://github.com/void-linux/void-packages/pull/42488.patch is attached
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-udev-42488.patch --]
[-- Type: text/x-diff, Size: 23338 bytes --]
From f6e68d1a6311b7d806aa929eef0128c2853a4c2e Mon Sep 17 00:00:00 2001
From: mobinmob <mobinmob@disroot.org>
Date: Fri, 17 Feb 2023 20:11:07 +0200
Subject: [PATCH 01/18] skalibs: update to 2.13.1.0.
---
common/shlibs | 2 +-
srcpkgs/skalibs/template | 4 ++--
2 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/common/shlibs b/common/shlibs
index 0f9c75af44bc..d7a886b366f6 100644
--- a/common/shlibs
+++ b/common/shlibs
@@ -2377,7 +2377,7 @@ libgnunettransport.so.2 gnunet-0.12.2_1
libgnunettransportapplication.so.0 gnunet-0.12.2_1
libgnunettransportcore.so.0 gnunet-0.12.2_1
libgnunettransportcommunicator.so.0 gnunet-0.12.2_1
-libskarnet.so.2.12 skalibs-2.12.0.0_1
+libskarnet.so.2.13 skalibs-2.13.0.0_1
libKF5BalooWidgets.so.5 baloo-widgets5-17.04.3_1
libtidy.so.58 libtidy5-5.8.0_1
libSDL2_gfx-1.0.so.0 SDL2_gfx-1.0.1_1
diff --git a/srcpkgs/skalibs/template b/srcpkgs/skalibs/template
index dccbcee327eb..185177eb4165 100644
--- a/srcpkgs/skalibs/template
+++ b/srcpkgs/skalibs/template
@@ -1,6 +1,6 @@
# Template file for 'skalibs'
pkgname=skalibs
-version=2.12.0.1
+version=2.13.1.0
revision=1
build_style=configure
configure_args="--libdir=/usr/lib --enable-static --enable-shared
@@ -14,7 +14,7 @@ license="ISC"
homepage="https://skarnet.org/software/skalibs/"
changelog="https://skarnet.org/software/skalibs/upgrade.html"
distfiles="https://skarnet.org/software/${pkgname}/${pkgname}-${version}.tar.gz"
-checksum=3e228f72f18d88c17f6c4e0a66881d6d3779427b7e7e889f3142b6f26da30285
+checksum=b3c48938c7fba4b19a8b0dce6e7a11427717a0901160bb62cfc6823f8ac86d92
post_install() {
vlicense COPYING LICENSE
From 605c8fe111eae091f19b7da638aa82567cc4d600 Mon Sep 17 00:00:00 2001
From: mobinmob <mobinmob@disroot.org>
Date: Fri, 17 Feb 2023 20:11:14 +0200
Subject: [PATCH 02/18] execline: update to 2.9.2.0.
---
srcpkgs/execline/template | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/srcpkgs/execline/template b/srcpkgs/execline/template
index 2df4249d34cc..6c16293af1a8 100644
--- a/srcpkgs/execline/template
+++ b/srcpkgs/execline/template
@@ -1,6 +1,6 @@
# Template file for 'execline'
pkgname=execline
-version=2.9.0.1
+version=2.9.2.0
revision=1
build_style=configure
configure_args="--libdir=/usr/lib --bindir=/usr/bin
@@ -14,7 +14,7 @@ license="ISC"
homepage="https://skarnet.org/software/execline/"
changelog="https://skarnet.org/software/execline/upgrade.html"
distfiles="https://skarnet.org/software/${pkgname}/${pkgname}-${version}.tar.gz"
-checksum=01260fcaf80ffbca2a94aa55ea474dfb9e39b3033b55c8af88126791879531f6
+checksum=9365012558a1e3c019cafc6eb574b0f5890495fb02652f20efdd782d577b1601
CFLAGS="-fPIC"
From 4e2ed371f966a992cd476dd6d354e54b60e75374 Mon Sep 17 00:00:00 2001
From: mobinmob <mobinmob@disroot.org>
Date: Fri, 17 Feb 2023 20:11:20 +0200
Subject: [PATCH 03/18] s6: update to 2.11.3.0.
---
srcpkgs/s6/template | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/srcpkgs/s6/template b/srcpkgs/s6/template
index d54785b251b2..ef18c396fcde 100644
--- a/srcpkgs/s6/template
+++ b/srcpkgs/s6/template
@@ -1,6 +1,6 @@
# Template file for 's6'
pkgname=s6
-version=2.11.1.1
+version=2.11.3.0
revision=1
build_style=configure
configure_args="--libdir=/usr/lib --bindir=/usr/bin
@@ -15,7 +15,7 @@ license="ISC"
homepage="http://skarnet.org/software/s6/"
changelog="https://skarnet.org/software/s6/upgrade.html"
distfiles="http://skarnet.org/software/s6/s6-${version}.tar.gz"
-checksum=1cef7f7b3a7e01181fbb6fe8300e6ba422d9689007221c78af1f99528acb6c38
+checksum=0ef2de80c40b603d58bf65ec5dd9f0bb1f227d35f311e8948d9e30f81efb5b81
build_options="static"
From 967e368203d4281d4a2649bddef549e4ba6ffb29 Mon Sep 17 00:00:00 2001
From: mobinmob <mobinmob@disroot.org>
Date: Fri, 17 Feb 2023 20:11:24 +0200
Subject: [PATCH 04/18] s6-rc: update to 0.5.4.0.
---
srcpkgs/s6-rc/template | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/srcpkgs/s6-rc/template b/srcpkgs/s6-rc/template
index 495907ef8a60..1fef769f112f 100644
--- a/srcpkgs/s6-rc/template
+++ b/srcpkgs/s6-rc/template
@@ -1,6 +1,6 @@
# Template file for 's6-rc'
pkgname=s6-rc
-version=0.5.3.2
+version=0.5.4.0
revision=1
build_style=configure
configure_args="--prefix=/usr --libdir=/usr/lib --includedir=/usr/include
@@ -15,7 +15,7 @@ license="ISC"
homepage="https://skarnet.org/software/s6-rc/"
changelog="https://skarnet.org/software/s6-rc/upgrade.html"
distfiles="https://skarnet.org/software/${pkgname}/${pkgname}-${version}.tar.gz"
-checksum=4f24a4966a4aa353d2bd1a8afca9b88c7b7bd29c46b3a1a7f5305686b9d6e038
+checksum=9e750e63a19aaf65ef50cf6f691b8641f7d98857fa2e992b8186953fb32cad70
build_options="static"
From 8af32b1ba4ee808c725fb6394564002400452270 Mon Sep 17 00:00:00 2001
From: mobinmob <mobinmob@disroot.org>
Date: Fri, 17 Feb 2023 20:11:38 +0200
Subject: [PATCH 05/18] nsss: update to 0.2.0.3.
---
srcpkgs/nsss/template | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/srcpkgs/nsss/template b/srcpkgs/nsss/template
index b4efae672355..ae3cac748266 100644
--- a/srcpkgs/nsss/template
+++ b/srcpkgs/nsss/template
@@ -1,7 +1,7 @@
# Template file for 'nsss'
pkgname=nsss
-version=0.2.0.1
-revision=2
+version=0.2.0.3
+revision=1
# Only available for musl
archs="*-musl"
build_style=configure
@@ -16,7 +16,7 @@ license="ISC"
homepage="https://skarnet.org/software/nsss/"
changelog="https://skarnet.org/software/nsss/upgrade.html"
distfiles="https://skarnet.org/software/nsss/nsss-${version}.tar.gz"
-checksum=7d984ea627b3a8d7649d9bf24c79693f338e911d2b11040b89c4febfb1b3125b
+checksum=b1e397ed5b327611a7c2c8c1dc60e91fef353c54fead464f887720bc0914148e
build_options="static"
From ddc0e2765fdcee86087d5220e58a67c9e1243332 Mon Sep 17 00:00:00 2001
From: mobinmob <mobinmob@disroot.org>
Date: Fri, 17 Feb 2023 20:11:42 +0200
Subject: [PATCH 06/18] s6-dns: update to 2.3.5.5.
---
srcpkgs/s6-dns/template | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/srcpkgs/s6-dns/template b/srcpkgs/s6-dns/template
index 4d282185ce8a..7f243bc2ec82 100644
--- a/srcpkgs/s6-dns/template
+++ b/srcpkgs/s6-dns/template
@@ -1,6 +1,6 @@
# Template file for 's6-dns'
pkgname=s6-dns
-version=2.3.5.4
+version=2.3.5.5
revision=1
build_style=configure
configure_args="--prefix=/usr --libdir=/usr/lib
@@ -13,7 +13,7 @@ maintainer="Orphaned <orphan@voidlinux.org>"
license="ISC"
homepage="https://skarnet.org/software/s6-dns"
distfiles="${homepage}/${pkgname}-${version}.tar.gz"
-checksum=76af222472c4754f83cdc59ad354255ce1b1e6f6833a059328463f8e51f4db43
+checksum=56979b5d5125c38071a80b5e3df0d4a6b2a7c52bb863a2410b6e3d797ffe1ee8
build_options="static"
From 345cd872aafe5459072414c66e8b6e84bef9972a Mon Sep 17 00:00:00 2001
From: mobinmob <mobinmob@disroot.org>
Date: Fri, 17 Feb 2023 20:11:49 +0200
Subject: [PATCH 07/18] s6-networking: update to 2.5.1.2.
---
srcpkgs/s6-networking/template | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/srcpkgs/s6-networking/template b/srcpkgs/s6-networking/template
index 5a04b9abf01b..1652f93ec9ac 100644
--- a/srcpkgs/s6-networking/template
+++ b/srcpkgs/s6-networking/template
@@ -1,6 +1,6 @@
# Template file for 's6-networking'
pkgname=s6-networking
-version=2.5.1.1
+version=2.5.1.2
revision=1
build_style=configure
configure_args="--libdir=/usr/lib $(vopt_if libtls --enable-ssl=libtls)
@@ -16,7 +16,7 @@ license="ISC"
homepage="https://skarnet.org/software/s6-networking"
changelog="https://skarnet.org/software/s6-networking/upgrade.html"
distfiles="${homepage}/${pkgname}-${version}.tar.gz"
-checksum=7ac79d4de3d9c13532e444ab7497c4e04ad0fa7229d502984d9dc7d48aa64418
+checksum=d072deb67a4ca4d7c512640c5f33a766c7b854364949727d3600738c6769f146
build_options="bearssl libtls static"
build_options_default="bearssl"
From b5073659c752a77ab51deb5041209189dee0f96e Mon Sep 17 00:00:00 2001
From: mobinmob <mobinmob@disroot.org>
Date: Fri, 17 Feb 2023 20:11:59 +0200
Subject: [PATCH 08/18] s6-portable-utils: update to 2.3.0.0.
---
srcpkgs/s6-portable-utils/template | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/srcpkgs/s6-portable-utils/template b/srcpkgs/s6-portable-utils/template
index ca0c308fb3b1..eca93d57160e 100644
--- a/srcpkgs/s6-portable-utils/template
+++ b/srcpkgs/s6-portable-utils/template
@@ -1,6 +1,6 @@
# Template file for 's6-portable-utils'
pkgname=s6-portable-utils
-version=2.2.5.0
+version=2.3.0.0
revision=1
build_style=configure
configure_args="--prefix=/usr --libdir=/usr/lib --includedir=/usr/include
@@ -14,7 +14,7 @@ license="ISC"
homepage="https://skarnet.org/software/s6-portable-utils/"
changelog="https://skarnet.org/software/s6-portable-utils/upgrade.html"
distfiles="https://skarnet.org/software/${pkgname}/${pkgname}-${version}.tar.gz"
-checksum=ebb39f8934fd36f25d31352e61bbd94dc02b1e9f04411850d2fd9658bd916e36
+checksum=1e9066c430c1cb39a3a7b7004cd379ffebe566bd3d698db18de6125783002005
build_options="static"
From 97edae1720da9f25bc7e6fd2783113aecd11311e Mon Sep 17 00:00:00 2001
From: mobinmob <mobinmob@disroot.org>
Date: Fri, 17 Feb 2023 20:12:05 +0200
Subject: [PATCH 09/18] s6-linux-utils: update to 2.6.1.0.
---
srcpkgs/s6-linux-utils/template | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/srcpkgs/s6-linux-utils/template b/srcpkgs/s6-linux-utils/template
index 212752cc26d0..28bd4b52b8a4 100644
--- a/srcpkgs/s6-linux-utils/template
+++ b/srcpkgs/s6-linux-utils/template
@@ -1,6 +1,6 @@
# Template file for 's6-linux-utils'
pkgname=s6-linux-utils
-version=2.6.0.0
+version=2.6.1.0
revision=1
build_style=configure
configure_args="--libdir=/usr/lib --includedir=/usr/include
@@ -14,7 +14,7 @@ license="ISC"
homepage="https://skarnet.org/software/s6-linux-utils"
changelog="https://skarnet.org/software/s6-linux-utils/upgrade.html"
distfiles="${homepage}/${pkgname}-${version}.tar.gz"
-checksum=6c7132734a0c8287002ee6910c469f175a97d766a8023c0c33af8ba92643ed59
+checksum=2accb5a443dd04203a6358534bdcf0dd369aceb4733e322612c2b8329260b7a2
build_options="static"
From 42256f9c60da170a1a81268a00c2cc624147b74e Mon Sep 17 00:00:00 2001
From: mobinmob <mobinmob@disroot.org>
Date: Fri, 17 Feb 2023 20:12:13 +0200
Subject: [PATCH 10/18] s6-man-pages: update to 2.11.2.0.1.
---
srcpkgs/s6-man-pages/template | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/srcpkgs/s6-man-pages/template b/srcpkgs/s6-man-pages/template
index 308c8a8ebd2b..290c85a02bd4 100644
--- a/srcpkgs/s6-man-pages/template
+++ b/srcpkgs/s6-man-pages/template
@@ -1,6 +1,6 @@
# Template file for 's6-man-pages'
pkgname=s6-man-pages
-version=2.11.1.1.1
+version=2.11.2.0.1
revision=1
build_style=gnu-makefile
short_desc="Ports of the HTML documentation for the s6 supervision suite to mdoc(7)"
@@ -8,7 +8,7 @@ maintainer="mobinmob <mobinmob@disroot.org>"
license="ISC"
homepage="https://github.com/flexibeast/s6-man-pages"
distfiles="https://github.com/flexibeast/s6-man-pages/archive/v${version}.tar.gz"
-checksum=794cd18cabee8c5afcb2cddfb35a5ae93240595aae5dc831acc8f4e258ca2199
+checksum=733db565d05425ad4f70ea70f43e2f63d0b3b8f16a46f89a3e8653ebbf0fe93b
post_install() {
vlicense LICENSE
From c20cb6f608b68dc023031a765549ce65841e9a16 Mon Sep 17 00:00:00 2001
From: mobinmob <mobinmob@disroot.org>
Date: Fri, 17 Feb 2023 20:12:25 +0200
Subject: [PATCH 11/18] s6-networking-man-pages: update to 2.5.1.2.1.
---
srcpkgs/s6-networking-man-pages/template | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/srcpkgs/s6-networking-man-pages/template b/srcpkgs/s6-networking-man-pages/template
index 2480ac1440f9..a34ce9e71fa7 100644
--- a/srcpkgs/s6-networking-man-pages/template
+++ b/srcpkgs/s6-networking-man-pages/template
@@ -1,6 +1,6 @@
# Template file for 's6-networking-man-pages'
pkgname=s6-networking-man-pages
-version=2.5.1.1.1
+version=2.5.1.2.1
revision=1
build_style=gnu-makefile
hostmakedepends="mdocml"
@@ -9,7 +9,7 @@ maintainer="mobinmob <mobinmob@disroot.org>"
license="ISC"
homepage="https://github.com/flexibeast/s6-networking-man-pages"
distfiles="https://github.com/flexibeast/s6-networking-man-pages/archive/refs/tags/v${version}.tar.gz"
-checksum=8502edfc01f54c7eca8131a5cb3c9a46c698c9199f9654db9183f7e307ece258
+checksum=40cd9f4f96b020f1bcf867dbc789111723a9a8931a66b9820a72e2491d154ab5
post_install() {
vlicense LICENSE
From f665c59b771b329bbd1c6c255e976a3b041c63c2 Mon Sep 17 00:00:00 2001
From: mobinmob <mobinmob@disroot.org>
Date: Fri, 17 Feb 2023 20:12:38 +0200
Subject: [PATCH 12/18] s6-portable-utils-man-pages: update to 2.2.5.1.1.
---
srcpkgs/s6-portable-utils-man-pages/template | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/srcpkgs/s6-portable-utils-man-pages/template b/srcpkgs/s6-portable-utils-man-pages/template
index 28c906c1a67a..3320a91af185 100644
--- a/srcpkgs/s6-portable-utils-man-pages/template
+++ b/srcpkgs/s6-portable-utils-man-pages/template
@@ -1,6 +1,6 @@
# Template file for 's6-portable-utils-man-pages'
pkgname=s6-portable-utils-man-pages
-version=2.2.5.0.1
+version=2.2.5.1.1
revision=1
build_style=gnu-makefile
hostmakedepends="mdocml"
@@ -9,7 +9,7 @@ maintainer="mobinmob <mobinmob@disroot.org>"
license="ISC"
homepage="https://github.com/flexibeast/s6-portable-utils-man-pages"
distfiles="https://github.com/flexibeast/s6-portable-utils-man-pages/archive/refs/tags/v${version}.tar.gz"
-checksum=e960dbd459285846f89900643742846848431c0d82d4645f3c4b697227abdfe4
+checksum=977c7f204d7ae57872682407d27f3c4df53e5417d9e1cf57d62bce45893db8ff
post_install() {
vlicense LICENSE
From 68de53a9e41d91585c8225e1752253bd4caf0198 Mon Sep 17 00:00:00 2001
From: mobinmob <mobinmob@disroot.org>
Date: Fri, 17 Feb 2023 20:12:54 +0200
Subject: [PATCH 13/18] execline-man-pages: update to 2.9.1.0.1.
---
srcpkgs/execline-man-pages/template | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/srcpkgs/execline-man-pages/template b/srcpkgs/execline-man-pages/template
index 7369115caf4c..3803ed7c4d4f 100644
--- a/srcpkgs/execline-man-pages/template
+++ b/srcpkgs/execline-man-pages/template
@@ -1,6 +1,6 @@
# Template file for 'execline-man-pages'
pkgname=execline-man-pages
-version=2.9.0.0.1
+version=2.9.1.0.1
revision=1
build_style=gnu-makefile
hostmakedepends="mdocml"
@@ -9,7 +9,7 @@ maintainer="mobinmob <mobinmob@disroot.org>"
license="ISC"
homepage="https://github.com/flexibeast/execline-man-pages"
distfiles="https://github.com/flexibeast/execline-man-pages/archive/v${version}.tar.gz"
-checksum=e8e7e3deacbfdbb7144574068fdb5621340522ec8c6fa7e4d32b6b44ee060b33
+checksum=f170669b4a56e559275ac2b166cbadc4229b635906fe5c072fde7df545287d06
post_install() {
vlicense LICENSE
From 498b3a2d86e977df422b4bb793cf5be9e480220f Mon Sep 17 00:00:00 2001
From: mobinmob <mobinmob@disroot.org>
Date: Fri, 17 Feb 2023 20:14:06 +0200
Subject: [PATCH 14/18] oblibs: revbump for new skarnet stack release.
---
srcpkgs/oblibs/template | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/srcpkgs/oblibs/template b/srcpkgs/oblibs/template
index f1adf1a9f436..15cc98f4d089 100644
--- a/srcpkgs/oblibs/template
+++ b/srcpkgs/oblibs/template
@@ -1,7 +1,7 @@
# Template file for 'oblibs'
pkgname=oblibs
version=0.1.4.0
-revision=2
+revision=3
build_style=configure
configure_args="--prefix=/usr --libdir=/usr/lib --with-sysdeps=${XBPS_CROSS_BASE}/usr/lib/skalibs/sysdeps"
makedepends="skalibs-devel execline-devel"
From f35d6ce2b8f7fcdc94b661d05b9a70849aadbed3 Mon Sep 17 00:00:00 2001
From: mobinmob <mobinmob@disroot.org>
Date: Fri, 17 Feb 2023 20:14:28 +0200
Subject: [PATCH 15/18] 66-tools: revbump for new skarnet release.
---
srcpkgs/66-tools/template | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/srcpkgs/66-tools/template b/srcpkgs/66-tools/template
index 7f0983a12660..7536c2ba76aa 100644
--- a/srcpkgs/66-tools/template
+++ b/srcpkgs/66-tools/template
@@ -1,7 +1,7 @@
# Template file for '66-tools'
pkgname=66-tools
version=0.0.8.0
-revision=2
+revision=3
build_style=configure
configure_args="--prefix=/usr
--with-sysdeps=${XBPS_CROSS_BASE}/usr/lib/skalibs/sysdeps
From 3516aeb97e0000f8951d638f5cc87716508ecc24 Mon Sep 17 00:00:00 2001
From: mobinmob <mobinmob@disroot.org>
Date: Fri, 17 Feb 2023 20:14:44 +0200
Subject: [PATCH 16/18] 66: revbump for new skarnet release.
---
srcpkgs/66/template | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/srcpkgs/66/template b/srcpkgs/66/template
index 150ab6049654..89677d007138 100644
--- a/srcpkgs/66/template
+++ b/srcpkgs/66/template
@@ -1,7 +1,7 @@
# Template file for '66'
pkgname=66
version=0.6.2.0
-revision=3
+revision=4
build_style=configure
configure_args="--prefix=/usr
--with-sysdeps=${XBPS_CROSS_BASE}/usr/lib/skalibs/sysdeps
From c397b308ac2522d4beceb70ce8fc01c751730b84 Mon Sep 17 00:00:00 2001
From: dkwo <nicolopiazzalunga@gmail.com>
Date: Fri, 24 Feb 2023 17:01:40 -0500
Subject: [PATCH 17/18] mdevd: update to 0.6.1.2, add conf and service
---
srcpkgs/mdevd/files/mdev.conf | 70 +++++++++++++++++++++++++++++++++++
srcpkgs/mdevd/files/mdevd/run | 4 ++
srcpkgs/mdevd/template | 9 +++--
3 files changed, 80 insertions(+), 3 deletions(-)
create mode 100644 srcpkgs/mdevd/files/mdev.conf
create mode 100644 srcpkgs/mdevd/files/mdevd/run
diff --git a/srcpkgs/mdevd/files/mdev.conf b/srcpkgs/mdevd/files/mdev.conf
new file mode 100644
index 000000000000..0c88a022cdcc
--- /dev/null
+++ b/srcpkgs/mdevd/files/mdev.conf
@@ -0,0 +1,70 @@
+# Configuration based on 'mdev-like-a-boss'.
+# https://github.com/slashbeast/mdev-like-a-boss/blob/master/mdev.conf
+
+null root:root 666 @chmod 666 $MDEV
+zero root:root 666
+full root:root 666
+random root:root 444
+urandom root:root 444
+hwrandom root:root 444
+grsec root:root 660
+kmem root:root 640
+mem root:root 640
+
+port root:root 640
+console root:tty 600 @chmod 600 $MDEV
+ptmx root:tty 666
+pty.* root:tty 660
+tty root:tty 666
+tty[0-9]* root:tty 660
+vcsa*[0-9]* root:tty 660
+
+# Kernel based virtual machine.
+kvm root:kvm 660
+vhost-net root:kvm 660
+
+# Block devices.
+ram([0-9]*) root:disk 660 >rd/%1
+loop([0-9]+) root:disk 660 >loop/%1
+sr[0-9]* root:cdrom 660 @ln -sf $MDEV cdrom
+fd[0-9]* root:floppy 660
+
+net/tun[0-9]* root:kvm 660
+net/tap[0-9]* root:root 600
+fuse root:root 666
+agpgart root:root 660 >misc/
+psaux root:root 660 >misc/
+rtc root:root 664 >misc/
+
+# Audio stuff.
+adsp root:audio 660 >sound/
+audio root:audio 660 >sound/
+dsp root:audio 660 >sound/
+mixer root:audio 660 >sound/
+sequencer.* root:audio 660 >sound/
+snd/.* root:audio 660
+
+# Raid controllers.
+cciss!(.*) root:disk 660 =cciss/%1
+ida!(.*) root:disk 660 =ida/%1
+rd!(.*) root:disk 660 =rd/%1
+
+# Input stuff.
+SUBSYSTEM=input;.* root:input 660
+
+# Video stuff.
+card[0-9] root:video 660 =dri/
+vbi[0-9] root:video 660 >v4l/
+video[0-9] root:video 660 >v4l/
+dri/.* root:video 660
+
+# Don't create old usbdev* devices.
+usbdev[0-9].[0-9]* root:root 660 !
+
+# Stop creating x:x:x:x which looks like /dev/dm-*.
+[0-9]+\:[0-9]+\:[0-9]+\:[0-9]+ root:root 660 !
+
+# /dev/cpu support.
+microcode root:root 600 =cpu/
+cpu([0-9]+) root:root 600 =cpu/%1/cpuid
+msr([0-9]+) root:root 600 =cpu/%1/msr
diff --git a/srcpkgs/mdevd/files/mdevd/run b/srcpkgs/mdevd/files/mdevd/run
new file mode 100644
index 000000000000..3d95ad3a6850
--- /dev/null
+++ b/srcpkgs/mdevd/files/mdevd/run
@@ -0,0 +1,4 @@
+#!/bin/sh
+
+exec 2>&1
+exec mdevd -f /etc/mdev.conf -D 3 -b 200000 -O4
diff --git a/srcpkgs/mdevd/template b/srcpkgs/mdevd/template
index 43f2118937fb..b44a02046d60 100644
--- a/srcpkgs/mdevd/template
+++ b/srcpkgs/mdevd/template
@@ -1,6 +1,6 @@
# Template file for 'mdevd'
pkgname=mdevd
-version=0.1.6.0
+version=0.1.6.2
revision=1
build_style=configure
configure_args="--includedir=/usr/include --bindir=/usr/bin --libdir=/usr/lib
@@ -14,9 +14,10 @@ license="ISC"
homepage="https://skarnet.org/software/mdevd/"
changelog="https://skarnet.org/software/mdevd/upgrade.html"
distfiles="https://skarnet.org/software/mdevd/mdevd-${version}.tar.gz"
-checksum=33cf2b118634538fd24f302b30f52cc8aa28ea68b414916ce482b54a4ee57283
-
+checksum=ac2fcf9004f07904592c5894e2c401e15bb027ecf37bcb8ea661e2a7993447be
+conf_files="/etc/mdev.conf"
build_options="static"
+make_check=no # no tests
case "$XBPS_TARGET_MACHINE" in
*-musl)
@@ -29,6 +30,8 @@ post_install() {
vlicense COPYING
vdoc README
vcopy "doc/*" usr/share/doc/${pkgname}
+ vsv mdevd
+ vcopy ${FILESDIR}/mdev.conf etc/mdev.conf
}
mdevd-doc_package() {
From 1349945df6bcced4c029a84262e5e086d72459fb Mon Sep 17 00:00:00 2001
From: dkwo <nicolopiazzalunga@gmail.com>
Date: Fri, 24 Feb 2023 18:26:36 -0500
Subject: [PATCH 18/18] new package: libudev-zero
---
srcpkgs/libudev-zero-devel | 1 +
srcpkgs/libudev-zero-helper | 1 +
srcpkgs/libudev-zero/template | 44 +++++++++++++++++++++++++++++++++++
3 files changed, 46 insertions(+)
create mode 120000 srcpkgs/libudev-zero-devel
create mode 120000 srcpkgs/libudev-zero-helper
create mode 100644 srcpkgs/libudev-zero/template
diff --git a/srcpkgs/libudev-zero-devel b/srcpkgs/libudev-zero-devel
new file mode 120000
index 000000000000..fa3977904232
--- /dev/null
+++ b/srcpkgs/libudev-zero-devel
@@ -0,0 +1 @@
+libudev-zero/
\ No newline at end of file
diff --git a/srcpkgs/libudev-zero-helper b/srcpkgs/libudev-zero-helper
new file mode 120000
index 000000000000..fa3977904232
--- /dev/null
+++ b/srcpkgs/libudev-zero-helper
@@ -0,0 +1 @@
+libudev-zero/
\ No newline at end of file
diff --git a/srcpkgs/libudev-zero/template b/srcpkgs/libudev-zero/template
new file mode 100644
index 000000000000..a001e8342262
--- /dev/null
+++ b/srcpkgs/libudev-zero/template
@@ -0,0 +1,44 @@
+# Template file for 'libudev-zero'
+pkgname=libudev-zero
+version=1.0.1
+revision=1
+_UDEV_VERSION=243
+build_style=gnu-makefile
+short_desc="Daemonless replacement for libudev"
+maintainer="dkwo <npiazza@disroot.org>"
+license="ISC"
+homepage="https://github.com/illiliti/libudev-zero"
+distfiles="https://github.com/illiliti/libudev-zero/archive/refs/tags/${version}.tar.gz"
+checksum=c4cf149ea96295c1e6e86038d10c725344c751982ed4a790b06c76776923e0ea
+make_check=no # no tests
+provides="libudev-${_UDEV_VERSION}_${revision}"
+conflicts="eudev-libudev>=3.2.11_1"
+
+post_build() {
+ "$CC" $LDFLAGS $CFLAGS $CPPFLAGS -o libudev-zero-helper contrib/helper.c
+}
+
+post_install() {
+ vlicense LICENSE
+}
+
+libudev-zero-devel_package() {
+ provides="libudev-devel-${_UDEV_VERSION}_${revision}"
+ conflicts="eudev-libudev-devel>=3.2.11_1"
+ depends="libudev-zero>=${version}_${revision}"
+ short_desc+=" - development files"
+ pkg_install() {
+ vmove usr/include
+ vmove usr/lib/pkgconfig
+ vmove "usr/lib/*.a"
+ vmove "usr/lib/*.so"
+ }
+}
+
+libudev-zero-helper_package() {
+ depends="libudev-zero>=${version}_${revision}"
+ short_desc+=" - helper"
+ pkg_install() {
+ vinstall libudev-zero-helper 755 usr/libexec
+ }
+}
^ permalink raw reply [flat|nested] 50+ messages in thread
* Re: new package: libudev-zero
2023-02-27 16:49 [PR PATCH] [rfc] udev alternatives dkwo
` (18 preceding siblings ...)
2023-03-01 19:57 ` dkwo
@ 2023-03-01 20:55 ` dkwo
2023-03-01 22:09 ` [PR PATCH] [Updated] " dkwo
` (28 subsequent siblings)
48 siblings, 0 replies; 50+ messages in thread
From: dkwo @ 2023-03-01 20:55 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 200 bytes --]
New comment by dkwo on void-packages repository
https://github.com/void-linux/void-packages/pull/42488#issuecomment-1450831346
Comment:
how about https://github.com/void-linux/void-runit/pull/106 ?
^ permalink raw reply [flat|nested] 50+ messages in thread
* Re: [PR PATCH] [Updated] new package: libudev-zero
2023-02-27 16:49 [PR PATCH] [rfc] udev alternatives dkwo
` (19 preceding siblings ...)
2023-03-01 20:55 ` new package: libudev-zero dkwo
@ 2023-03-01 22:09 ` dkwo
2023-03-01 23:07 ` dkwo
` (27 subsequent siblings)
48 siblings, 0 replies; 50+ messages in thread
From: dkwo @ 2023-03-01 22:09 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 674 bytes --]
There is an updated pull request by dkwo against master on the void-packages repository
https://github.com/dkwo/void-packages udev
https://github.com/void-linux/void-packages/pull/42488
new package: libudev-zero
https://github.com/illiliti/libudev-zero
- find optimal mdev.conf; current taken from kiss-linux, see also alpine and mdev-like-a-boss
- edit runit stage 1 script at void-linux/void-runit#106
- I tested the changes in this PR: no
- I built this PR locally for my native architecture, (x86_64-musl)
cc mantainer @mobinmob added a service and conf file to mdevd
A patch file from https://github.com/void-linux/void-packages/pull/42488.patch is attached
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-udev-42488.patch --]
[-- Type: text/x-diff, Size: 26871 bytes --]
From 199d9b534e161ff207e28bbf0a18411bd2afb4d4 Mon Sep 17 00:00:00 2001
From: mobinmob <mobinmob@disroot.org>
Date: Fri, 17 Feb 2023 20:11:07 +0200
Subject: [PATCH 01/19] skalibs: update to 2.13.1.0.
---
common/shlibs | 2 +-
srcpkgs/skalibs/template | 4 ++--
2 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/common/shlibs b/common/shlibs
index 0f9c75af44bc..d7a886b366f6 100644
--- a/common/shlibs
+++ b/common/shlibs
@@ -2377,7 +2377,7 @@ libgnunettransport.so.2 gnunet-0.12.2_1
libgnunettransportapplication.so.0 gnunet-0.12.2_1
libgnunettransportcore.so.0 gnunet-0.12.2_1
libgnunettransportcommunicator.so.0 gnunet-0.12.2_1
-libskarnet.so.2.12 skalibs-2.12.0.0_1
+libskarnet.so.2.13 skalibs-2.13.0.0_1
libKF5BalooWidgets.so.5 baloo-widgets5-17.04.3_1
libtidy.so.58 libtidy5-5.8.0_1
libSDL2_gfx-1.0.so.0 SDL2_gfx-1.0.1_1
diff --git a/srcpkgs/skalibs/template b/srcpkgs/skalibs/template
index dccbcee327eb..185177eb4165 100644
--- a/srcpkgs/skalibs/template
+++ b/srcpkgs/skalibs/template
@@ -1,6 +1,6 @@
# Template file for 'skalibs'
pkgname=skalibs
-version=2.12.0.1
+version=2.13.1.0
revision=1
build_style=configure
configure_args="--libdir=/usr/lib --enable-static --enable-shared
@@ -14,7 +14,7 @@ license="ISC"
homepage="https://skarnet.org/software/skalibs/"
changelog="https://skarnet.org/software/skalibs/upgrade.html"
distfiles="https://skarnet.org/software/${pkgname}/${pkgname}-${version}.tar.gz"
-checksum=3e228f72f18d88c17f6c4e0a66881d6d3779427b7e7e889f3142b6f26da30285
+checksum=b3c48938c7fba4b19a8b0dce6e7a11427717a0901160bb62cfc6823f8ac86d92
post_install() {
vlicense COPYING LICENSE
From c2775442aeadba28e3b39078b0e5b7cde25ea52a Mon Sep 17 00:00:00 2001
From: mobinmob <mobinmob@disroot.org>
Date: Fri, 17 Feb 2023 20:11:14 +0200
Subject: [PATCH 02/19] execline: update to 2.9.2.0.
---
srcpkgs/execline/template | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/srcpkgs/execline/template b/srcpkgs/execline/template
index 2df4249d34cc..6c16293af1a8 100644
--- a/srcpkgs/execline/template
+++ b/srcpkgs/execline/template
@@ -1,6 +1,6 @@
# Template file for 'execline'
pkgname=execline
-version=2.9.0.1
+version=2.9.2.0
revision=1
build_style=configure
configure_args="--libdir=/usr/lib --bindir=/usr/bin
@@ -14,7 +14,7 @@ license="ISC"
homepage="https://skarnet.org/software/execline/"
changelog="https://skarnet.org/software/execline/upgrade.html"
distfiles="https://skarnet.org/software/${pkgname}/${pkgname}-${version}.tar.gz"
-checksum=01260fcaf80ffbca2a94aa55ea474dfb9e39b3033b55c8af88126791879531f6
+checksum=9365012558a1e3c019cafc6eb574b0f5890495fb02652f20efdd782d577b1601
CFLAGS="-fPIC"
From 6fbeb2a9c0383fa0c6ad9fdd15e54963a96de5b8 Mon Sep 17 00:00:00 2001
From: mobinmob <mobinmob@disroot.org>
Date: Fri, 17 Feb 2023 20:11:20 +0200
Subject: [PATCH 03/19] s6: update to 2.11.3.0.
---
srcpkgs/s6/template | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/srcpkgs/s6/template b/srcpkgs/s6/template
index d54785b251b2..ef18c396fcde 100644
--- a/srcpkgs/s6/template
+++ b/srcpkgs/s6/template
@@ -1,6 +1,6 @@
# Template file for 's6'
pkgname=s6
-version=2.11.1.1
+version=2.11.3.0
revision=1
build_style=configure
configure_args="--libdir=/usr/lib --bindir=/usr/bin
@@ -15,7 +15,7 @@ license="ISC"
homepage="http://skarnet.org/software/s6/"
changelog="https://skarnet.org/software/s6/upgrade.html"
distfiles="http://skarnet.org/software/s6/s6-${version}.tar.gz"
-checksum=1cef7f7b3a7e01181fbb6fe8300e6ba422d9689007221c78af1f99528acb6c38
+checksum=0ef2de80c40b603d58bf65ec5dd9f0bb1f227d35f311e8948d9e30f81efb5b81
build_options="static"
From b5d9fc4f514f155a84ee01f4d4a25d43ded7b0dd Mon Sep 17 00:00:00 2001
From: mobinmob <mobinmob@disroot.org>
Date: Fri, 17 Feb 2023 20:11:24 +0200
Subject: [PATCH 04/19] s6-rc: update to 0.5.4.0.
---
srcpkgs/s6-rc/template | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/srcpkgs/s6-rc/template b/srcpkgs/s6-rc/template
index 495907ef8a60..1fef769f112f 100644
--- a/srcpkgs/s6-rc/template
+++ b/srcpkgs/s6-rc/template
@@ -1,6 +1,6 @@
# Template file for 's6-rc'
pkgname=s6-rc
-version=0.5.3.2
+version=0.5.4.0
revision=1
build_style=configure
configure_args="--prefix=/usr --libdir=/usr/lib --includedir=/usr/include
@@ -15,7 +15,7 @@ license="ISC"
homepage="https://skarnet.org/software/s6-rc/"
changelog="https://skarnet.org/software/s6-rc/upgrade.html"
distfiles="https://skarnet.org/software/${pkgname}/${pkgname}-${version}.tar.gz"
-checksum=4f24a4966a4aa353d2bd1a8afca9b88c7b7bd29c46b3a1a7f5305686b9d6e038
+checksum=9e750e63a19aaf65ef50cf6f691b8641f7d98857fa2e992b8186953fb32cad70
build_options="static"
From 13e60edb6430f1b587c0947fa226fa4864844536 Mon Sep 17 00:00:00 2001
From: mobinmob <mobinmob@disroot.org>
Date: Fri, 17 Feb 2023 20:11:38 +0200
Subject: [PATCH 05/19] nsss: update to 0.2.0.3.
---
srcpkgs/nsss/template | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/srcpkgs/nsss/template b/srcpkgs/nsss/template
index b4efae672355..ae3cac748266 100644
--- a/srcpkgs/nsss/template
+++ b/srcpkgs/nsss/template
@@ -1,7 +1,7 @@
# Template file for 'nsss'
pkgname=nsss
-version=0.2.0.1
-revision=2
+version=0.2.0.3
+revision=1
# Only available for musl
archs="*-musl"
build_style=configure
@@ -16,7 +16,7 @@ license="ISC"
homepage="https://skarnet.org/software/nsss/"
changelog="https://skarnet.org/software/nsss/upgrade.html"
distfiles="https://skarnet.org/software/nsss/nsss-${version}.tar.gz"
-checksum=7d984ea627b3a8d7649d9bf24c79693f338e911d2b11040b89c4febfb1b3125b
+checksum=b1e397ed5b327611a7c2c8c1dc60e91fef353c54fead464f887720bc0914148e
build_options="static"
From 71b6a05fd72ff7e8b27ed16518948e152efccca1 Mon Sep 17 00:00:00 2001
From: mobinmob <mobinmob@disroot.org>
Date: Fri, 17 Feb 2023 20:11:42 +0200
Subject: [PATCH 06/19] s6-dns: update to 2.3.5.5.
---
srcpkgs/s6-dns/template | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/srcpkgs/s6-dns/template b/srcpkgs/s6-dns/template
index 4d282185ce8a..7f243bc2ec82 100644
--- a/srcpkgs/s6-dns/template
+++ b/srcpkgs/s6-dns/template
@@ -1,6 +1,6 @@
# Template file for 's6-dns'
pkgname=s6-dns
-version=2.3.5.4
+version=2.3.5.5
revision=1
build_style=configure
configure_args="--prefix=/usr --libdir=/usr/lib
@@ -13,7 +13,7 @@ maintainer="Orphaned <orphan@voidlinux.org>"
license="ISC"
homepage="https://skarnet.org/software/s6-dns"
distfiles="${homepage}/${pkgname}-${version}.tar.gz"
-checksum=76af222472c4754f83cdc59ad354255ce1b1e6f6833a059328463f8e51f4db43
+checksum=56979b5d5125c38071a80b5e3df0d4a6b2a7c52bb863a2410b6e3d797ffe1ee8
build_options="static"
From 7e0e4d58e33acb024e03ff20d2b3575be79f345f Mon Sep 17 00:00:00 2001
From: mobinmob <mobinmob@disroot.org>
Date: Fri, 17 Feb 2023 20:11:49 +0200
Subject: [PATCH 07/19] s6-networking: update to 2.5.1.2.
---
srcpkgs/s6-networking/template | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/srcpkgs/s6-networking/template b/srcpkgs/s6-networking/template
index 5a04b9abf01b..1652f93ec9ac 100644
--- a/srcpkgs/s6-networking/template
+++ b/srcpkgs/s6-networking/template
@@ -1,6 +1,6 @@
# Template file for 's6-networking'
pkgname=s6-networking
-version=2.5.1.1
+version=2.5.1.2
revision=1
build_style=configure
configure_args="--libdir=/usr/lib $(vopt_if libtls --enable-ssl=libtls)
@@ -16,7 +16,7 @@ license="ISC"
homepage="https://skarnet.org/software/s6-networking"
changelog="https://skarnet.org/software/s6-networking/upgrade.html"
distfiles="${homepage}/${pkgname}-${version}.tar.gz"
-checksum=7ac79d4de3d9c13532e444ab7497c4e04ad0fa7229d502984d9dc7d48aa64418
+checksum=d072deb67a4ca4d7c512640c5f33a766c7b854364949727d3600738c6769f146
build_options="bearssl libtls static"
build_options_default="bearssl"
From 024f1e672d80e46dc904c37d435bc471bac556e9 Mon Sep 17 00:00:00 2001
From: mobinmob <mobinmob@disroot.org>
Date: Fri, 17 Feb 2023 20:11:59 +0200
Subject: [PATCH 08/19] s6-portable-utils: update to 2.3.0.0.
---
srcpkgs/s6-portable-utils/template | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/srcpkgs/s6-portable-utils/template b/srcpkgs/s6-portable-utils/template
index ca0c308fb3b1..eca93d57160e 100644
--- a/srcpkgs/s6-portable-utils/template
+++ b/srcpkgs/s6-portable-utils/template
@@ -1,6 +1,6 @@
# Template file for 's6-portable-utils'
pkgname=s6-portable-utils
-version=2.2.5.0
+version=2.3.0.0
revision=1
build_style=configure
configure_args="--prefix=/usr --libdir=/usr/lib --includedir=/usr/include
@@ -14,7 +14,7 @@ license="ISC"
homepage="https://skarnet.org/software/s6-portable-utils/"
changelog="https://skarnet.org/software/s6-portable-utils/upgrade.html"
distfiles="https://skarnet.org/software/${pkgname}/${pkgname}-${version}.tar.gz"
-checksum=ebb39f8934fd36f25d31352e61bbd94dc02b1e9f04411850d2fd9658bd916e36
+checksum=1e9066c430c1cb39a3a7b7004cd379ffebe566bd3d698db18de6125783002005
build_options="static"
From e3ec53c0276a7a5d0707bfd364530a66762796e0 Mon Sep 17 00:00:00 2001
From: mobinmob <mobinmob@disroot.org>
Date: Fri, 17 Feb 2023 20:12:05 +0200
Subject: [PATCH 09/19] s6-linux-utils: update to 2.6.1.0.
---
srcpkgs/s6-linux-utils/template | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/srcpkgs/s6-linux-utils/template b/srcpkgs/s6-linux-utils/template
index 212752cc26d0..28bd4b52b8a4 100644
--- a/srcpkgs/s6-linux-utils/template
+++ b/srcpkgs/s6-linux-utils/template
@@ -1,6 +1,6 @@
# Template file for 's6-linux-utils'
pkgname=s6-linux-utils
-version=2.6.0.0
+version=2.6.1.0
revision=1
build_style=configure
configure_args="--libdir=/usr/lib --includedir=/usr/include
@@ -14,7 +14,7 @@ license="ISC"
homepage="https://skarnet.org/software/s6-linux-utils"
changelog="https://skarnet.org/software/s6-linux-utils/upgrade.html"
distfiles="${homepage}/${pkgname}-${version}.tar.gz"
-checksum=6c7132734a0c8287002ee6910c469f175a97d766a8023c0c33af8ba92643ed59
+checksum=2accb5a443dd04203a6358534bdcf0dd369aceb4733e322612c2b8329260b7a2
build_options="static"
From 472cec1308d96dd5efc4cf08b5c16dcf1daa1eeb Mon Sep 17 00:00:00 2001
From: mobinmob <mobinmob@disroot.org>
Date: Fri, 17 Feb 2023 20:12:13 +0200
Subject: [PATCH 10/19] s6-man-pages: update to 2.11.2.0.1.
---
srcpkgs/s6-man-pages/template | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/srcpkgs/s6-man-pages/template b/srcpkgs/s6-man-pages/template
index 308c8a8ebd2b..290c85a02bd4 100644
--- a/srcpkgs/s6-man-pages/template
+++ b/srcpkgs/s6-man-pages/template
@@ -1,6 +1,6 @@
# Template file for 's6-man-pages'
pkgname=s6-man-pages
-version=2.11.1.1.1
+version=2.11.2.0.1
revision=1
build_style=gnu-makefile
short_desc="Ports of the HTML documentation for the s6 supervision suite to mdoc(7)"
@@ -8,7 +8,7 @@ maintainer="mobinmob <mobinmob@disroot.org>"
license="ISC"
homepage="https://github.com/flexibeast/s6-man-pages"
distfiles="https://github.com/flexibeast/s6-man-pages/archive/v${version}.tar.gz"
-checksum=794cd18cabee8c5afcb2cddfb35a5ae93240595aae5dc831acc8f4e258ca2199
+checksum=733db565d05425ad4f70ea70f43e2f63d0b3b8f16a46f89a3e8653ebbf0fe93b
post_install() {
vlicense LICENSE
From c2222d99eee63badd33b211caa41f14101f29098 Mon Sep 17 00:00:00 2001
From: mobinmob <mobinmob@disroot.org>
Date: Fri, 17 Feb 2023 20:12:25 +0200
Subject: [PATCH 11/19] s6-networking-man-pages: update to 2.5.1.2.1.
---
srcpkgs/s6-networking-man-pages/template | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/srcpkgs/s6-networking-man-pages/template b/srcpkgs/s6-networking-man-pages/template
index 2480ac1440f9..a34ce9e71fa7 100644
--- a/srcpkgs/s6-networking-man-pages/template
+++ b/srcpkgs/s6-networking-man-pages/template
@@ -1,6 +1,6 @@
# Template file for 's6-networking-man-pages'
pkgname=s6-networking-man-pages
-version=2.5.1.1.1
+version=2.5.1.2.1
revision=1
build_style=gnu-makefile
hostmakedepends="mdocml"
@@ -9,7 +9,7 @@ maintainer="mobinmob <mobinmob@disroot.org>"
license="ISC"
homepage="https://github.com/flexibeast/s6-networking-man-pages"
distfiles="https://github.com/flexibeast/s6-networking-man-pages/archive/refs/tags/v${version}.tar.gz"
-checksum=8502edfc01f54c7eca8131a5cb3c9a46c698c9199f9654db9183f7e307ece258
+checksum=40cd9f4f96b020f1bcf867dbc789111723a9a8931a66b9820a72e2491d154ab5
post_install() {
vlicense LICENSE
From 9339d4fce2b8eb35fb1de4b5b411ae96f055a777 Mon Sep 17 00:00:00 2001
From: mobinmob <mobinmob@disroot.org>
Date: Fri, 17 Feb 2023 20:12:38 +0200
Subject: [PATCH 12/19] s6-portable-utils-man-pages: update to 2.2.5.1.1.
---
srcpkgs/s6-portable-utils-man-pages/template | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/srcpkgs/s6-portable-utils-man-pages/template b/srcpkgs/s6-portable-utils-man-pages/template
index 28c906c1a67a..3320a91af185 100644
--- a/srcpkgs/s6-portable-utils-man-pages/template
+++ b/srcpkgs/s6-portable-utils-man-pages/template
@@ -1,6 +1,6 @@
# Template file for 's6-portable-utils-man-pages'
pkgname=s6-portable-utils-man-pages
-version=2.2.5.0.1
+version=2.2.5.1.1
revision=1
build_style=gnu-makefile
hostmakedepends="mdocml"
@@ -9,7 +9,7 @@ maintainer="mobinmob <mobinmob@disroot.org>"
license="ISC"
homepage="https://github.com/flexibeast/s6-portable-utils-man-pages"
distfiles="https://github.com/flexibeast/s6-portable-utils-man-pages/archive/refs/tags/v${version}.tar.gz"
-checksum=e960dbd459285846f89900643742846848431c0d82d4645f3c4b697227abdfe4
+checksum=977c7f204d7ae57872682407d27f3c4df53e5417d9e1cf57d62bce45893db8ff
post_install() {
vlicense LICENSE
From 241113619fd8696b9b0502f903b3a37d5b01ef4d Mon Sep 17 00:00:00 2001
From: mobinmob <mobinmob@disroot.org>
Date: Fri, 17 Feb 2023 20:12:54 +0200
Subject: [PATCH 13/19] execline-man-pages: update to 2.9.1.0.1.
---
srcpkgs/execline-man-pages/template | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/srcpkgs/execline-man-pages/template b/srcpkgs/execline-man-pages/template
index 7369115caf4c..3803ed7c4d4f 100644
--- a/srcpkgs/execline-man-pages/template
+++ b/srcpkgs/execline-man-pages/template
@@ -1,6 +1,6 @@
# Template file for 'execline-man-pages'
pkgname=execline-man-pages
-version=2.9.0.0.1
+version=2.9.1.0.1
revision=1
build_style=gnu-makefile
hostmakedepends="mdocml"
@@ -9,7 +9,7 @@ maintainer="mobinmob <mobinmob@disroot.org>"
license="ISC"
homepage="https://github.com/flexibeast/execline-man-pages"
distfiles="https://github.com/flexibeast/execline-man-pages/archive/v${version}.tar.gz"
-checksum=e8e7e3deacbfdbb7144574068fdb5621340522ec8c6fa7e4d32b6b44ee060b33
+checksum=f170669b4a56e559275ac2b166cbadc4229b635906fe5c072fde7df545287d06
post_install() {
vlicense LICENSE
From c3923143490ddfc7e4cb875742831bf156e95739 Mon Sep 17 00:00:00 2001
From: mobinmob <mobinmob@disroot.org>
Date: Fri, 17 Feb 2023 20:14:06 +0200
Subject: [PATCH 14/19] oblibs: revbump for new skarnet stack release.
---
srcpkgs/oblibs/template | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/srcpkgs/oblibs/template b/srcpkgs/oblibs/template
index f1adf1a9f436..15cc98f4d089 100644
--- a/srcpkgs/oblibs/template
+++ b/srcpkgs/oblibs/template
@@ -1,7 +1,7 @@
# Template file for 'oblibs'
pkgname=oblibs
version=0.1.4.0
-revision=2
+revision=3
build_style=configure
configure_args="--prefix=/usr --libdir=/usr/lib --with-sysdeps=${XBPS_CROSS_BASE}/usr/lib/skalibs/sysdeps"
makedepends="skalibs-devel execline-devel"
From 0ab6d559c016244570adf6fc0cec31d48d16f65c Mon Sep 17 00:00:00 2001
From: mobinmob <mobinmob@disroot.org>
Date: Fri, 17 Feb 2023 20:14:28 +0200
Subject: [PATCH 15/19] 66-tools: revbump for new skarnet release.
---
srcpkgs/66-tools/template | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/srcpkgs/66-tools/template b/srcpkgs/66-tools/template
index 7f0983a12660..7536c2ba76aa 100644
--- a/srcpkgs/66-tools/template
+++ b/srcpkgs/66-tools/template
@@ -1,7 +1,7 @@
# Template file for '66-tools'
pkgname=66-tools
version=0.0.8.0
-revision=2
+revision=3
build_style=configure
configure_args="--prefix=/usr
--with-sysdeps=${XBPS_CROSS_BASE}/usr/lib/skalibs/sysdeps
From 3f8df10cfdd61c0aedb10fd564122b816e19b046 Mon Sep 17 00:00:00 2001
From: mobinmob <mobinmob@disroot.org>
Date: Fri, 17 Feb 2023 20:14:44 +0200
Subject: [PATCH 16/19] 66: revbump for new skarnet release.
---
srcpkgs/66/template | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/srcpkgs/66/template b/srcpkgs/66/template
index 150ab6049654..89677d007138 100644
--- a/srcpkgs/66/template
+++ b/srcpkgs/66/template
@@ -1,7 +1,7 @@
# Template file for '66'
pkgname=66
version=0.6.2.0
-revision=3
+revision=4
build_style=configure
configure_args="--prefix=/usr
--with-sysdeps=${XBPS_CROSS_BASE}/usr/lib/skalibs/sysdeps
From 160089ea606ae49cce90948b9a06ee0ba65d1e97 Mon Sep 17 00:00:00 2001
From: dkwo <nicolopiazzalunga@gmail.com>
Date: Fri, 24 Feb 2023 17:01:40 -0500
Subject: [PATCH 17/19] mdevd: update to 0.6.1.2, add conf and service
---
srcpkgs/mdevd/files/mdev.conf | 70 +++++++++++++++++++++++++++++++++++
srcpkgs/mdevd/files/mdevd/run | 4 ++
srcpkgs/mdevd/template | 9 +++--
3 files changed, 80 insertions(+), 3 deletions(-)
create mode 100644 srcpkgs/mdevd/files/mdev.conf
create mode 100644 srcpkgs/mdevd/files/mdevd/run
diff --git a/srcpkgs/mdevd/files/mdev.conf b/srcpkgs/mdevd/files/mdev.conf
new file mode 100644
index 000000000000..0c88a022cdcc
--- /dev/null
+++ b/srcpkgs/mdevd/files/mdev.conf
@@ -0,0 +1,70 @@
+# Configuration based on 'mdev-like-a-boss'.
+# https://github.com/slashbeast/mdev-like-a-boss/blob/master/mdev.conf
+
+null root:root 666 @chmod 666 $MDEV
+zero root:root 666
+full root:root 666
+random root:root 444
+urandom root:root 444
+hwrandom root:root 444
+grsec root:root 660
+kmem root:root 640
+mem root:root 640
+
+port root:root 640
+console root:tty 600 @chmod 600 $MDEV
+ptmx root:tty 666
+pty.* root:tty 660
+tty root:tty 666
+tty[0-9]* root:tty 660
+vcsa*[0-9]* root:tty 660
+
+# Kernel based virtual machine.
+kvm root:kvm 660
+vhost-net root:kvm 660
+
+# Block devices.
+ram([0-9]*) root:disk 660 >rd/%1
+loop([0-9]+) root:disk 660 >loop/%1
+sr[0-9]* root:cdrom 660 @ln -sf $MDEV cdrom
+fd[0-9]* root:floppy 660
+
+net/tun[0-9]* root:kvm 660
+net/tap[0-9]* root:root 600
+fuse root:root 666
+agpgart root:root 660 >misc/
+psaux root:root 660 >misc/
+rtc root:root 664 >misc/
+
+# Audio stuff.
+adsp root:audio 660 >sound/
+audio root:audio 660 >sound/
+dsp root:audio 660 >sound/
+mixer root:audio 660 >sound/
+sequencer.* root:audio 660 >sound/
+snd/.* root:audio 660
+
+# Raid controllers.
+cciss!(.*) root:disk 660 =cciss/%1
+ida!(.*) root:disk 660 =ida/%1
+rd!(.*) root:disk 660 =rd/%1
+
+# Input stuff.
+SUBSYSTEM=input;.* root:input 660
+
+# Video stuff.
+card[0-9] root:video 660 =dri/
+vbi[0-9] root:video 660 >v4l/
+video[0-9] root:video 660 >v4l/
+dri/.* root:video 660
+
+# Don't create old usbdev* devices.
+usbdev[0-9].[0-9]* root:root 660 !
+
+# Stop creating x:x:x:x which looks like /dev/dm-*.
+[0-9]+\:[0-9]+\:[0-9]+\:[0-9]+ root:root 660 !
+
+# /dev/cpu support.
+microcode root:root 600 =cpu/
+cpu([0-9]+) root:root 600 =cpu/%1/cpuid
+msr([0-9]+) root:root 600 =cpu/%1/msr
diff --git a/srcpkgs/mdevd/files/mdevd/run b/srcpkgs/mdevd/files/mdevd/run
new file mode 100644
index 000000000000..3d95ad3a6850
--- /dev/null
+++ b/srcpkgs/mdevd/files/mdevd/run
@@ -0,0 +1,4 @@
+#!/bin/sh
+
+exec 2>&1
+exec mdevd -f /etc/mdev.conf -D 3 -b 200000 -O4
diff --git a/srcpkgs/mdevd/template b/srcpkgs/mdevd/template
index 43f2118937fb..b44a02046d60 100644
--- a/srcpkgs/mdevd/template
+++ b/srcpkgs/mdevd/template
@@ -1,6 +1,6 @@
# Template file for 'mdevd'
pkgname=mdevd
-version=0.1.6.0
+version=0.1.6.2
revision=1
build_style=configure
configure_args="--includedir=/usr/include --bindir=/usr/bin --libdir=/usr/lib
@@ -14,9 +14,10 @@ license="ISC"
homepage="https://skarnet.org/software/mdevd/"
changelog="https://skarnet.org/software/mdevd/upgrade.html"
distfiles="https://skarnet.org/software/mdevd/mdevd-${version}.tar.gz"
-checksum=33cf2b118634538fd24f302b30f52cc8aa28ea68b414916ce482b54a4ee57283
-
+checksum=ac2fcf9004f07904592c5894e2c401e15bb027ecf37bcb8ea661e2a7993447be
+conf_files="/etc/mdev.conf"
build_options="static"
+make_check=no # no tests
case "$XBPS_TARGET_MACHINE" in
*-musl)
@@ -29,6 +30,8 @@ post_install() {
vlicense COPYING
vdoc README
vcopy "doc/*" usr/share/doc/${pkgname}
+ vsv mdevd
+ vcopy ${FILESDIR}/mdev.conf etc/mdev.conf
}
mdevd-doc_package() {
From 3f9811fe481692d2cd84ad86d54a2cb7a1d106fb Mon Sep 17 00:00:00 2001
From: dkwo <nicolopiazzalunga@gmail.com>
Date: Fri, 24 Feb 2023 18:26:36 -0500
Subject: [PATCH 18/19] new package: libudev-zero
---
srcpkgs/libudev-zero-devel | 1 +
srcpkgs/libudev-zero-helper | 1 +
srcpkgs/libudev-zero/template | 44 +++++++++++++++++++++++++++++++++++
3 files changed, 46 insertions(+)
create mode 120000 srcpkgs/libudev-zero-devel
create mode 120000 srcpkgs/libudev-zero-helper
create mode 100644 srcpkgs/libudev-zero/template
diff --git a/srcpkgs/libudev-zero-devel b/srcpkgs/libudev-zero-devel
new file mode 120000
index 000000000000..fa3977904232
--- /dev/null
+++ b/srcpkgs/libudev-zero-devel
@@ -0,0 +1 @@
+libudev-zero/
\ No newline at end of file
diff --git a/srcpkgs/libudev-zero-helper b/srcpkgs/libudev-zero-helper
new file mode 120000
index 000000000000..fa3977904232
--- /dev/null
+++ b/srcpkgs/libudev-zero-helper
@@ -0,0 +1 @@
+libudev-zero/
\ No newline at end of file
diff --git a/srcpkgs/libudev-zero/template b/srcpkgs/libudev-zero/template
new file mode 100644
index 000000000000..a001e8342262
--- /dev/null
+++ b/srcpkgs/libudev-zero/template
@@ -0,0 +1,44 @@
+# Template file for 'libudev-zero'
+pkgname=libudev-zero
+version=1.0.1
+revision=1
+_UDEV_VERSION=243
+build_style=gnu-makefile
+short_desc="Daemonless replacement for libudev"
+maintainer="dkwo <npiazza@disroot.org>"
+license="ISC"
+homepage="https://github.com/illiliti/libudev-zero"
+distfiles="https://github.com/illiliti/libudev-zero/archive/refs/tags/${version}.tar.gz"
+checksum=c4cf149ea96295c1e6e86038d10c725344c751982ed4a790b06c76776923e0ea
+make_check=no # no tests
+provides="libudev-${_UDEV_VERSION}_${revision}"
+conflicts="eudev-libudev>=3.2.11_1"
+
+post_build() {
+ "$CC" $LDFLAGS $CFLAGS $CPPFLAGS -o libudev-zero-helper contrib/helper.c
+}
+
+post_install() {
+ vlicense LICENSE
+}
+
+libudev-zero-devel_package() {
+ provides="libudev-devel-${_UDEV_VERSION}_${revision}"
+ conflicts="eudev-libudev-devel>=3.2.11_1"
+ depends="libudev-zero>=${version}_${revision}"
+ short_desc+=" - development files"
+ pkg_install() {
+ vmove usr/include
+ vmove usr/lib/pkgconfig
+ vmove "usr/lib/*.a"
+ vmove "usr/lib/*.so"
+ }
+}
+
+libudev-zero-helper_package() {
+ depends="libudev-zero>=${version}_${revision}"
+ short_desc+=" - helper"
+ pkg_install() {
+ vinstall libudev-zero-helper 755 usr/libexec
+ }
+}
From dc6a21d466b9b9c406169fa4c9190c45c052e2d5 Mon Sep 17 00:00:00 2001
From: dkwo <nicolopiazzalunga@gmail.com>
Date: Wed, 1 Mar 2023 17:07:50 -0500
Subject: [PATCH 19/19] runit-void: patch for udev
---
srcpkgs/runit-void/patches/udev.patch | 79 +++++++++++++++++++++++++++
srcpkgs/runit-void/template | 2 +-
2 files changed, 80 insertions(+), 1 deletion(-)
create mode 100644 srcpkgs/runit-void/patches/udev.patch
diff --git a/srcpkgs/runit-void/patches/udev.patch b/srcpkgs/runit-void/patches/udev.patch
new file mode 100644
index 000000000000..b15530bc0f2d
--- /dev/null
+++ b/srcpkgs/runit-void/patches/udev.patch
@@ -0,0 +1,79 @@
+From 109a056987fce4e0706420fba6705522e379bda5 Mon Sep 17 00:00:00 2001
+From: dkwo <nicolopiazzalunga@gmail.com>
+Date: Wed, 1 Mar 2023 15:42:53 -0500
+Subject: [PATCH] core-services/{02,99},rc.conf: allow alternative udevd
+
+---
+ core-services/02-udev.sh | 27 +++++++++++++--------------
+ core-services/99-cleanup.sh | 11 +++++++++++
+ rc.conf | 5 +++++
+ 3 files changed, 29 insertions(+), 14 deletions(-)
+
+diff --git a/core-services/02-udev.sh b/core-services/02-udev.sh
+index b08f8ca..2c46d55 100644
+--- a/core-services/02-udev.sh
++++ b/core-services/02-udev.sh
+@@ -2,18 +2,17 @@
+
+ [ -n "$VIRTUALIZATION" ] && return 0
+
+-if [ -x /usr/lib/systemd/systemd-udevd ]; then
+- _udevd=/usr/lib/systemd/systemd-udevd
+-elif [ -x /sbin/udevd -o -x /bin/udevd ]; then
+- _udevd=udevd
+-else
+- msg_warn "cannot find udevd!"
+-fi
++msg "Starting device manager and waiting for devices to settle..."
++case $CONFIG_DEV in
++ udevd)
++ udevd --daemon
++ udevadm trigger --action=add --type=subsystems
++ udevadm trigger --action=add --type=devices
++ udevadm settle
++ ;;
+
+-if [ -n "${_udevd}" ]; then
+- msg "Starting udev and waiting for devices to settle..."
+- ${_udevd} --daemon
+- udevadm trigger --action=add --type=subsystems
+- udevadm trigger --action=add --type=devices
+- udevadm settle
+-fi
++ mdevd)
++ mdevd & pid_mdevd=$!
++ mdevd-coldplug
++ ;;
++esac
+diff --git a/core-services/99-cleanup.sh b/core-services/99-cleanup.sh
+index f27f728..d9f3f98 100644
+--- a/core-services/99-cleanup.sh
++++ b/core-services/99-cleanup.sh
+@@ -8,3 +8,14 @@ if [ ! -e /var/log/btmp ]; then
+ fi
+ install -dm1777 /tmp/.X11-unix /tmp/.ICE-unix
+ rm -f /etc/nologin /forcefsck /forcequotacheck /fastboot
++
++msg "Killing device manager to make way for service..."
++case $CONFIG_DEV in
++ udevd)
++ udevadm control --exit
++ ;;
++
++ mdevd)
++ kill "$pid_mdevd"
++ ;;
++esac
+diff --git a/rc.conf b/rc.conf
+index aa3da51..8a5e9f4 100644
+--- a/rc.conf
++++ b/rc.conf
+@@ -45,3 +45,8 @@
+ # RNG, for example if you plan to replicate this file system image and do not
+ # have the wherewithal to first delete the contents of /var/lib/seedrng.
+ #SEEDRNG_SKIP_CREDIT=false
++
++# The device manager to run during the init process. This is killed once boot
++# is complete for a supervised version to take its place. Valid values are
++# currently 'mdevd' or 'udevd' (default).
++CONFIG_DEV=udevd
diff --git a/srcpkgs/runit-void/template b/srcpkgs/runit-void/template
index 71020dfba965..3fcb02d1cf58 100644
--- a/srcpkgs/runit-void/template
+++ b/srcpkgs/runit-void/template
@@ -1,7 +1,7 @@
# Template file for 'runit-void'
pkgname=runit-void
version=20220329
-revision=1
+revision=2
build_style=gnu-makefile
short_desc="Void Linux runit scripts"
maintainer="Enno Boland <gottox@voidlinux.org>"
^ permalink raw reply [flat|nested] 50+ messages in thread
* Re: new package: libudev-zero
2023-02-27 16:49 [PR PATCH] [rfc] udev alternatives dkwo
` (20 preceding siblings ...)
2023-03-01 22:09 ` [PR PATCH] [Updated] " dkwo
@ 2023-03-01 23:07 ` dkwo
2023-03-06 19:24 ` [PR PATCH] [Updated] " dkwo
` (26 subsequent siblings)
48 siblings, 0 replies; 50+ messages in thread
From: dkwo @ 2023-03-01 23:07 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 359 bytes --]
New comment by dkwo on void-packages repository
https://github.com/void-linux/void-packages/pull/42488#issuecomment-1451004009
Comment:
Here's a puzzle: why do some packages (e.g. wlroots libinput) both run_depends on eudev-libudev and shlib-requires libudev.so.1? if they only did the latter, then the provides/conflicts in libudev-zero should be enough..
^ permalink raw reply [flat|nested] 50+ messages in thread
* Re: [PR PATCH] [Updated] new package: libudev-zero
2023-02-27 16:49 [PR PATCH] [rfc] udev alternatives dkwo
` (21 preceding siblings ...)
2023-03-01 23:07 ` dkwo
@ 2023-03-06 19:24 ` dkwo
2023-04-07 14:32 ` dkwo
` (25 subsequent siblings)
48 siblings, 0 replies; 50+ messages in thread
From: dkwo @ 2023-03-06 19:24 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 674 bytes --]
There is an updated pull request by dkwo against master on the void-packages repository
https://github.com/dkwo/void-packages udev
https://github.com/void-linux/void-packages/pull/42488
new package: libudev-zero
https://github.com/illiliti/libudev-zero
- find optimal mdev.conf; current taken from kiss-linux, see also alpine and mdev-like-a-boss
- edit runit stage 1 script at void-linux/void-runit#106
- I tested the changes in this PR: no
- I built this PR locally for my native architecture, (x86_64-musl)
cc mantainer @mobinmob added a service and conf file to mdevd
A patch file from https://github.com/void-linux/void-packages/pull/42488.patch is attached
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-udev-42488.patch --]
[-- Type: text/x-diff, Size: 27406 bytes --]
From 478c8e4afcfdf26170097492def8f6892b0254fa Mon Sep 17 00:00:00 2001
From: mobinmob <mobinmob@disroot.org>
Date: Fri, 17 Feb 2023 20:11:07 +0200
Subject: [PATCH 01/19] skalibs: update to 2.13.1.0.
---
common/shlibs | 2 +-
srcpkgs/skalibs/template | 4 ++--
2 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/common/shlibs b/common/shlibs
index 0f9c75af44bc..d7a886b366f6 100644
--- a/common/shlibs
+++ b/common/shlibs
@@ -2377,7 +2377,7 @@ libgnunettransport.so.2 gnunet-0.12.2_1
libgnunettransportapplication.so.0 gnunet-0.12.2_1
libgnunettransportcore.so.0 gnunet-0.12.2_1
libgnunettransportcommunicator.so.0 gnunet-0.12.2_1
-libskarnet.so.2.12 skalibs-2.12.0.0_1
+libskarnet.so.2.13 skalibs-2.13.0.0_1
libKF5BalooWidgets.so.5 baloo-widgets5-17.04.3_1
libtidy.so.58 libtidy5-5.8.0_1
libSDL2_gfx-1.0.so.0 SDL2_gfx-1.0.1_1
diff --git a/srcpkgs/skalibs/template b/srcpkgs/skalibs/template
index dccbcee327eb..185177eb4165 100644
--- a/srcpkgs/skalibs/template
+++ b/srcpkgs/skalibs/template
@@ -1,6 +1,6 @@
# Template file for 'skalibs'
pkgname=skalibs
-version=2.12.0.1
+version=2.13.1.0
revision=1
build_style=configure
configure_args="--libdir=/usr/lib --enable-static --enable-shared
@@ -14,7 +14,7 @@ license="ISC"
homepage="https://skarnet.org/software/skalibs/"
changelog="https://skarnet.org/software/skalibs/upgrade.html"
distfiles="https://skarnet.org/software/${pkgname}/${pkgname}-${version}.tar.gz"
-checksum=3e228f72f18d88c17f6c4e0a66881d6d3779427b7e7e889f3142b6f26da30285
+checksum=b3c48938c7fba4b19a8b0dce6e7a11427717a0901160bb62cfc6823f8ac86d92
post_install() {
vlicense COPYING LICENSE
From 5621c18fbea38ca3d5b2c3049939c2ff2f5d2af2 Mon Sep 17 00:00:00 2001
From: mobinmob <mobinmob@disroot.org>
Date: Fri, 17 Feb 2023 20:11:14 +0200
Subject: [PATCH 02/19] execline: update to 2.9.2.0.
---
srcpkgs/execline/template | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/srcpkgs/execline/template b/srcpkgs/execline/template
index 2df4249d34cc..6c16293af1a8 100644
--- a/srcpkgs/execline/template
+++ b/srcpkgs/execline/template
@@ -1,6 +1,6 @@
# Template file for 'execline'
pkgname=execline
-version=2.9.0.1
+version=2.9.2.0
revision=1
build_style=configure
configure_args="--libdir=/usr/lib --bindir=/usr/bin
@@ -14,7 +14,7 @@ license="ISC"
homepage="https://skarnet.org/software/execline/"
changelog="https://skarnet.org/software/execline/upgrade.html"
distfiles="https://skarnet.org/software/${pkgname}/${pkgname}-${version}.tar.gz"
-checksum=01260fcaf80ffbca2a94aa55ea474dfb9e39b3033b55c8af88126791879531f6
+checksum=9365012558a1e3c019cafc6eb574b0f5890495fb02652f20efdd782d577b1601
CFLAGS="-fPIC"
From 461562e8dc6d1510fb42d514ba80c29804b2dd16 Mon Sep 17 00:00:00 2001
From: mobinmob <mobinmob@disroot.org>
Date: Fri, 17 Feb 2023 20:11:20 +0200
Subject: [PATCH 03/19] s6: update to 2.11.3.0.
---
srcpkgs/s6/template | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/srcpkgs/s6/template b/srcpkgs/s6/template
index d54785b251b2..ef18c396fcde 100644
--- a/srcpkgs/s6/template
+++ b/srcpkgs/s6/template
@@ -1,6 +1,6 @@
# Template file for 's6'
pkgname=s6
-version=2.11.1.1
+version=2.11.3.0
revision=1
build_style=configure
configure_args="--libdir=/usr/lib --bindir=/usr/bin
@@ -15,7 +15,7 @@ license="ISC"
homepage="http://skarnet.org/software/s6/"
changelog="https://skarnet.org/software/s6/upgrade.html"
distfiles="http://skarnet.org/software/s6/s6-${version}.tar.gz"
-checksum=1cef7f7b3a7e01181fbb6fe8300e6ba422d9689007221c78af1f99528acb6c38
+checksum=0ef2de80c40b603d58bf65ec5dd9f0bb1f227d35f311e8948d9e30f81efb5b81
build_options="static"
From d50d6416e880e517499bac99c652e311fc0c4616 Mon Sep 17 00:00:00 2001
From: mobinmob <mobinmob@disroot.org>
Date: Fri, 17 Feb 2023 20:11:24 +0200
Subject: [PATCH 04/19] s6-rc: update to 0.5.4.0.
---
srcpkgs/s6-rc/template | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/srcpkgs/s6-rc/template b/srcpkgs/s6-rc/template
index 495907ef8a60..1fef769f112f 100644
--- a/srcpkgs/s6-rc/template
+++ b/srcpkgs/s6-rc/template
@@ -1,6 +1,6 @@
# Template file for 's6-rc'
pkgname=s6-rc
-version=0.5.3.2
+version=0.5.4.0
revision=1
build_style=configure
configure_args="--prefix=/usr --libdir=/usr/lib --includedir=/usr/include
@@ -15,7 +15,7 @@ license="ISC"
homepage="https://skarnet.org/software/s6-rc/"
changelog="https://skarnet.org/software/s6-rc/upgrade.html"
distfiles="https://skarnet.org/software/${pkgname}/${pkgname}-${version}.tar.gz"
-checksum=4f24a4966a4aa353d2bd1a8afca9b88c7b7bd29c46b3a1a7f5305686b9d6e038
+checksum=9e750e63a19aaf65ef50cf6f691b8641f7d98857fa2e992b8186953fb32cad70
build_options="static"
From 74fadb75343510caa546b23af6f8579eb9a7fa7e Mon Sep 17 00:00:00 2001
From: mobinmob <mobinmob@disroot.org>
Date: Fri, 17 Feb 2023 20:11:38 +0200
Subject: [PATCH 05/19] nsss: update to 0.2.0.3.
---
srcpkgs/nsss/template | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/srcpkgs/nsss/template b/srcpkgs/nsss/template
index b4efae672355..ae3cac748266 100644
--- a/srcpkgs/nsss/template
+++ b/srcpkgs/nsss/template
@@ -1,7 +1,7 @@
# Template file for 'nsss'
pkgname=nsss
-version=0.2.0.1
-revision=2
+version=0.2.0.3
+revision=1
# Only available for musl
archs="*-musl"
build_style=configure
@@ -16,7 +16,7 @@ license="ISC"
homepage="https://skarnet.org/software/nsss/"
changelog="https://skarnet.org/software/nsss/upgrade.html"
distfiles="https://skarnet.org/software/nsss/nsss-${version}.tar.gz"
-checksum=7d984ea627b3a8d7649d9bf24c79693f338e911d2b11040b89c4febfb1b3125b
+checksum=b1e397ed5b327611a7c2c8c1dc60e91fef353c54fead464f887720bc0914148e
build_options="static"
From e8b2b2aaa06edd62470a7f7be48a81eac6180f6a Mon Sep 17 00:00:00 2001
From: mobinmob <mobinmob@disroot.org>
Date: Fri, 17 Feb 2023 20:11:42 +0200
Subject: [PATCH 06/19] s6-dns: update to 2.3.5.5.
---
srcpkgs/s6-dns/template | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/srcpkgs/s6-dns/template b/srcpkgs/s6-dns/template
index 4d282185ce8a..7f243bc2ec82 100644
--- a/srcpkgs/s6-dns/template
+++ b/srcpkgs/s6-dns/template
@@ -1,6 +1,6 @@
# Template file for 's6-dns'
pkgname=s6-dns
-version=2.3.5.4
+version=2.3.5.5
revision=1
build_style=configure
configure_args="--prefix=/usr --libdir=/usr/lib
@@ -13,7 +13,7 @@ maintainer="Orphaned <orphan@voidlinux.org>"
license="ISC"
homepage="https://skarnet.org/software/s6-dns"
distfiles="${homepage}/${pkgname}-${version}.tar.gz"
-checksum=76af222472c4754f83cdc59ad354255ce1b1e6f6833a059328463f8e51f4db43
+checksum=56979b5d5125c38071a80b5e3df0d4a6b2a7c52bb863a2410b6e3d797ffe1ee8
build_options="static"
From b3defd6f3a28415afe4cffe5d270d4083fb3d80a Mon Sep 17 00:00:00 2001
From: mobinmob <mobinmob@disroot.org>
Date: Fri, 17 Feb 2023 20:11:49 +0200
Subject: [PATCH 07/19] s6-networking: update to 2.5.1.2.
---
srcpkgs/s6-networking/template | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/srcpkgs/s6-networking/template b/srcpkgs/s6-networking/template
index 5a04b9abf01b..1652f93ec9ac 100644
--- a/srcpkgs/s6-networking/template
+++ b/srcpkgs/s6-networking/template
@@ -1,6 +1,6 @@
# Template file for 's6-networking'
pkgname=s6-networking
-version=2.5.1.1
+version=2.5.1.2
revision=1
build_style=configure
configure_args="--libdir=/usr/lib $(vopt_if libtls --enable-ssl=libtls)
@@ -16,7 +16,7 @@ license="ISC"
homepage="https://skarnet.org/software/s6-networking"
changelog="https://skarnet.org/software/s6-networking/upgrade.html"
distfiles="${homepage}/${pkgname}-${version}.tar.gz"
-checksum=7ac79d4de3d9c13532e444ab7497c4e04ad0fa7229d502984d9dc7d48aa64418
+checksum=d072deb67a4ca4d7c512640c5f33a766c7b854364949727d3600738c6769f146
build_options="bearssl libtls static"
build_options_default="bearssl"
From 70fb6cbadbf4bf1cb2145d7926333edfbb774c32 Mon Sep 17 00:00:00 2001
From: mobinmob <mobinmob@disroot.org>
Date: Fri, 17 Feb 2023 20:11:59 +0200
Subject: [PATCH 08/19] s6-portable-utils: update to 2.3.0.0.
---
srcpkgs/s6-portable-utils/template | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/srcpkgs/s6-portable-utils/template b/srcpkgs/s6-portable-utils/template
index ca0c308fb3b1..eca93d57160e 100644
--- a/srcpkgs/s6-portable-utils/template
+++ b/srcpkgs/s6-portable-utils/template
@@ -1,6 +1,6 @@
# Template file for 's6-portable-utils'
pkgname=s6-portable-utils
-version=2.2.5.0
+version=2.3.0.0
revision=1
build_style=configure
configure_args="--prefix=/usr --libdir=/usr/lib --includedir=/usr/include
@@ -14,7 +14,7 @@ license="ISC"
homepage="https://skarnet.org/software/s6-portable-utils/"
changelog="https://skarnet.org/software/s6-portable-utils/upgrade.html"
distfiles="https://skarnet.org/software/${pkgname}/${pkgname}-${version}.tar.gz"
-checksum=ebb39f8934fd36f25d31352e61bbd94dc02b1e9f04411850d2fd9658bd916e36
+checksum=1e9066c430c1cb39a3a7b7004cd379ffebe566bd3d698db18de6125783002005
build_options="static"
From 1b51e7080f9746915d7978dd2a9234700cf0617c Mon Sep 17 00:00:00 2001
From: mobinmob <mobinmob@disroot.org>
Date: Fri, 17 Feb 2023 20:12:05 +0200
Subject: [PATCH 09/19] s6-linux-utils: update to 2.6.1.0.
---
srcpkgs/s6-linux-utils/template | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/srcpkgs/s6-linux-utils/template b/srcpkgs/s6-linux-utils/template
index 212752cc26d0..28bd4b52b8a4 100644
--- a/srcpkgs/s6-linux-utils/template
+++ b/srcpkgs/s6-linux-utils/template
@@ -1,6 +1,6 @@
# Template file for 's6-linux-utils'
pkgname=s6-linux-utils
-version=2.6.0.0
+version=2.6.1.0
revision=1
build_style=configure
configure_args="--libdir=/usr/lib --includedir=/usr/include
@@ -14,7 +14,7 @@ license="ISC"
homepage="https://skarnet.org/software/s6-linux-utils"
changelog="https://skarnet.org/software/s6-linux-utils/upgrade.html"
distfiles="${homepage}/${pkgname}-${version}.tar.gz"
-checksum=6c7132734a0c8287002ee6910c469f175a97d766a8023c0c33af8ba92643ed59
+checksum=2accb5a443dd04203a6358534bdcf0dd369aceb4733e322612c2b8329260b7a2
build_options="static"
From 0d19ba928894c27b0477149ad42e2e0061f04d74 Mon Sep 17 00:00:00 2001
From: mobinmob <mobinmob@disroot.org>
Date: Fri, 17 Feb 2023 20:12:13 +0200
Subject: [PATCH 10/19] s6-man-pages: update to 2.11.2.0.1.
---
srcpkgs/s6-man-pages/template | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/srcpkgs/s6-man-pages/template b/srcpkgs/s6-man-pages/template
index 308c8a8ebd2b..290c85a02bd4 100644
--- a/srcpkgs/s6-man-pages/template
+++ b/srcpkgs/s6-man-pages/template
@@ -1,6 +1,6 @@
# Template file for 's6-man-pages'
pkgname=s6-man-pages
-version=2.11.1.1.1
+version=2.11.2.0.1
revision=1
build_style=gnu-makefile
short_desc="Ports of the HTML documentation for the s6 supervision suite to mdoc(7)"
@@ -8,7 +8,7 @@ maintainer="mobinmob <mobinmob@disroot.org>"
license="ISC"
homepage="https://github.com/flexibeast/s6-man-pages"
distfiles="https://github.com/flexibeast/s6-man-pages/archive/v${version}.tar.gz"
-checksum=794cd18cabee8c5afcb2cddfb35a5ae93240595aae5dc831acc8f4e258ca2199
+checksum=733db565d05425ad4f70ea70f43e2f63d0b3b8f16a46f89a3e8653ebbf0fe93b
post_install() {
vlicense LICENSE
From 7498a4d3c635a5a429a8a277fb4f3ab7a2545215 Mon Sep 17 00:00:00 2001
From: mobinmob <mobinmob@disroot.org>
Date: Fri, 17 Feb 2023 20:12:25 +0200
Subject: [PATCH 11/19] s6-networking-man-pages: update to 2.5.1.2.1.
---
srcpkgs/s6-networking-man-pages/template | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/srcpkgs/s6-networking-man-pages/template b/srcpkgs/s6-networking-man-pages/template
index 2480ac1440f9..a34ce9e71fa7 100644
--- a/srcpkgs/s6-networking-man-pages/template
+++ b/srcpkgs/s6-networking-man-pages/template
@@ -1,6 +1,6 @@
# Template file for 's6-networking-man-pages'
pkgname=s6-networking-man-pages
-version=2.5.1.1.1
+version=2.5.1.2.1
revision=1
build_style=gnu-makefile
hostmakedepends="mdocml"
@@ -9,7 +9,7 @@ maintainer="mobinmob <mobinmob@disroot.org>"
license="ISC"
homepage="https://github.com/flexibeast/s6-networking-man-pages"
distfiles="https://github.com/flexibeast/s6-networking-man-pages/archive/refs/tags/v${version}.tar.gz"
-checksum=8502edfc01f54c7eca8131a5cb3c9a46c698c9199f9654db9183f7e307ece258
+checksum=40cd9f4f96b020f1bcf867dbc789111723a9a8931a66b9820a72e2491d154ab5
post_install() {
vlicense LICENSE
From 3eb345994d16820026b94d72d365e95538c39687 Mon Sep 17 00:00:00 2001
From: mobinmob <mobinmob@disroot.org>
Date: Fri, 17 Feb 2023 20:12:38 +0200
Subject: [PATCH 12/19] s6-portable-utils-man-pages: update to 2.2.5.1.1.
---
srcpkgs/s6-portable-utils-man-pages/template | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/srcpkgs/s6-portable-utils-man-pages/template b/srcpkgs/s6-portable-utils-man-pages/template
index 28c906c1a67a..3320a91af185 100644
--- a/srcpkgs/s6-portable-utils-man-pages/template
+++ b/srcpkgs/s6-portable-utils-man-pages/template
@@ -1,6 +1,6 @@
# Template file for 's6-portable-utils-man-pages'
pkgname=s6-portable-utils-man-pages
-version=2.2.5.0.1
+version=2.2.5.1.1
revision=1
build_style=gnu-makefile
hostmakedepends="mdocml"
@@ -9,7 +9,7 @@ maintainer="mobinmob <mobinmob@disroot.org>"
license="ISC"
homepage="https://github.com/flexibeast/s6-portable-utils-man-pages"
distfiles="https://github.com/flexibeast/s6-portable-utils-man-pages/archive/refs/tags/v${version}.tar.gz"
-checksum=e960dbd459285846f89900643742846848431c0d82d4645f3c4b697227abdfe4
+checksum=977c7f204d7ae57872682407d27f3c4df53e5417d9e1cf57d62bce45893db8ff
post_install() {
vlicense LICENSE
From 0c31d4e4ac43bd8c3c73140d0cf744b325d9dbc9 Mon Sep 17 00:00:00 2001
From: mobinmob <mobinmob@disroot.org>
Date: Fri, 17 Feb 2023 20:12:54 +0200
Subject: [PATCH 13/19] execline-man-pages: update to 2.9.1.0.1.
---
srcpkgs/execline-man-pages/template | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/srcpkgs/execline-man-pages/template b/srcpkgs/execline-man-pages/template
index 7369115caf4c..3803ed7c4d4f 100644
--- a/srcpkgs/execline-man-pages/template
+++ b/srcpkgs/execline-man-pages/template
@@ -1,6 +1,6 @@
# Template file for 'execline-man-pages'
pkgname=execline-man-pages
-version=2.9.0.0.1
+version=2.9.1.0.1
revision=1
build_style=gnu-makefile
hostmakedepends="mdocml"
@@ -9,7 +9,7 @@ maintainer="mobinmob <mobinmob@disroot.org>"
license="ISC"
homepage="https://github.com/flexibeast/execline-man-pages"
distfiles="https://github.com/flexibeast/execline-man-pages/archive/v${version}.tar.gz"
-checksum=e8e7e3deacbfdbb7144574068fdb5621340522ec8c6fa7e4d32b6b44ee060b33
+checksum=f170669b4a56e559275ac2b166cbadc4229b635906fe5c072fde7df545287d06
post_install() {
vlicense LICENSE
From 9e982f98220caf14c0546269656aa984d13d9d48 Mon Sep 17 00:00:00 2001
From: mobinmob <mobinmob@disroot.org>
Date: Fri, 17 Feb 2023 20:14:06 +0200
Subject: [PATCH 14/19] oblibs: revbump for new skarnet stack release.
---
srcpkgs/oblibs/template | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/srcpkgs/oblibs/template b/srcpkgs/oblibs/template
index f1adf1a9f436..15cc98f4d089 100644
--- a/srcpkgs/oblibs/template
+++ b/srcpkgs/oblibs/template
@@ -1,7 +1,7 @@
# Template file for 'oblibs'
pkgname=oblibs
version=0.1.4.0
-revision=2
+revision=3
build_style=configure
configure_args="--prefix=/usr --libdir=/usr/lib --with-sysdeps=${XBPS_CROSS_BASE}/usr/lib/skalibs/sysdeps"
makedepends="skalibs-devel execline-devel"
From 1ab6d76c2c6c6309f449bdc8286a9cefeafd04ce Mon Sep 17 00:00:00 2001
From: mobinmob <mobinmob@disroot.org>
Date: Fri, 17 Feb 2023 20:14:28 +0200
Subject: [PATCH 15/19] 66-tools: revbump for new skarnet release.
---
srcpkgs/66-tools/template | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/srcpkgs/66-tools/template b/srcpkgs/66-tools/template
index 7f0983a12660..7536c2ba76aa 100644
--- a/srcpkgs/66-tools/template
+++ b/srcpkgs/66-tools/template
@@ -1,7 +1,7 @@
# Template file for '66-tools'
pkgname=66-tools
version=0.0.8.0
-revision=2
+revision=3
build_style=configure
configure_args="--prefix=/usr
--with-sysdeps=${XBPS_CROSS_BASE}/usr/lib/skalibs/sysdeps
From 5e45bfa5984c871da78d63edef691bd40e7f42ee Mon Sep 17 00:00:00 2001
From: mobinmob <mobinmob@disroot.org>
Date: Fri, 17 Feb 2023 20:14:44 +0200
Subject: [PATCH 16/19] 66: revbump for new skarnet release.
---
srcpkgs/66/template | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/srcpkgs/66/template b/srcpkgs/66/template
index 150ab6049654..89677d007138 100644
--- a/srcpkgs/66/template
+++ b/srcpkgs/66/template
@@ -1,7 +1,7 @@
# Template file for '66'
pkgname=66
version=0.6.2.0
-revision=3
+revision=4
build_style=configure
configure_args="--prefix=/usr
--with-sysdeps=${XBPS_CROSS_BASE}/usr/lib/skalibs/sysdeps
From 0a224605fc9a8504c77c168e0a7f7f7e0bddf8f6 Mon Sep 17 00:00:00 2001
From: dkwo <nicolopiazzalunga@gmail.com>
Date: Fri, 24 Feb 2023 17:01:40 -0500
Subject: [PATCH 17/19] mdevd: update to 0.6.1.2, add conf and service
---
srcpkgs/mdevd/files/mdev.conf | 70 +++++++++++++++++++++++++++++++++++
srcpkgs/mdevd/files/mdevd/run | 4 ++
srcpkgs/mdevd/template | 9 +++--
3 files changed, 80 insertions(+), 3 deletions(-)
create mode 100644 srcpkgs/mdevd/files/mdev.conf
create mode 100644 srcpkgs/mdevd/files/mdevd/run
diff --git a/srcpkgs/mdevd/files/mdev.conf b/srcpkgs/mdevd/files/mdev.conf
new file mode 100644
index 000000000000..0c88a022cdcc
--- /dev/null
+++ b/srcpkgs/mdevd/files/mdev.conf
@@ -0,0 +1,70 @@
+# Configuration based on 'mdev-like-a-boss'.
+# https://github.com/slashbeast/mdev-like-a-boss/blob/master/mdev.conf
+
+null root:root 666 @chmod 666 $MDEV
+zero root:root 666
+full root:root 666
+random root:root 444
+urandom root:root 444
+hwrandom root:root 444
+grsec root:root 660
+kmem root:root 640
+mem root:root 640
+
+port root:root 640
+console root:tty 600 @chmod 600 $MDEV
+ptmx root:tty 666
+pty.* root:tty 660
+tty root:tty 666
+tty[0-9]* root:tty 660
+vcsa*[0-9]* root:tty 660
+
+# Kernel based virtual machine.
+kvm root:kvm 660
+vhost-net root:kvm 660
+
+# Block devices.
+ram([0-9]*) root:disk 660 >rd/%1
+loop([0-9]+) root:disk 660 >loop/%1
+sr[0-9]* root:cdrom 660 @ln -sf $MDEV cdrom
+fd[0-9]* root:floppy 660
+
+net/tun[0-9]* root:kvm 660
+net/tap[0-9]* root:root 600
+fuse root:root 666
+agpgart root:root 660 >misc/
+psaux root:root 660 >misc/
+rtc root:root 664 >misc/
+
+# Audio stuff.
+adsp root:audio 660 >sound/
+audio root:audio 660 >sound/
+dsp root:audio 660 >sound/
+mixer root:audio 660 >sound/
+sequencer.* root:audio 660 >sound/
+snd/.* root:audio 660
+
+# Raid controllers.
+cciss!(.*) root:disk 660 =cciss/%1
+ida!(.*) root:disk 660 =ida/%1
+rd!(.*) root:disk 660 =rd/%1
+
+# Input stuff.
+SUBSYSTEM=input;.* root:input 660
+
+# Video stuff.
+card[0-9] root:video 660 =dri/
+vbi[0-9] root:video 660 >v4l/
+video[0-9] root:video 660 >v4l/
+dri/.* root:video 660
+
+# Don't create old usbdev* devices.
+usbdev[0-9].[0-9]* root:root 660 !
+
+# Stop creating x:x:x:x which looks like /dev/dm-*.
+[0-9]+\:[0-9]+\:[0-9]+\:[0-9]+ root:root 660 !
+
+# /dev/cpu support.
+microcode root:root 600 =cpu/
+cpu([0-9]+) root:root 600 =cpu/%1/cpuid
+msr([0-9]+) root:root 600 =cpu/%1/msr
diff --git a/srcpkgs/mdevd/files/mdevd/run b/srcpkgs/mdevd/files/mdevd/run
new file mode 100644
index 000000000000..3d95ad3a6850
--- /dev/null
+++ b/srcpkgs/mdevd/files/mdevd/run
@@ -0,0 +1,4 @@
+#!/bin/sh
+
+exec 2>&1
+exec mdevd -f /etc/mdev.conf -D 3 -b 200000 -O4
diff --git a/srcpkgs/mdevd/template b/srcpkgs/mdevd/template
index 43f2118937fb..b44a02046d60 100644
--- a/srcpkgs/mdevd/template
+++ b/srcpkgs/mdevd/template
@@ -1,6 +1,6 @@
# Template file for 'mdevd'
pkgname=mdevd
-version=0.1.6.0
+version=0.1.6.2
revision=1
build_style=configure
configure_args="--includedir=/usr/include --bindir=/usr/bin --libdir=/usr/lib
@@ -14,9 +14,10 @@ license="ISC"
homepage="https://skarnet.org/software/mdevd/"
changelog="https://skarnet.org/software/mdevd/upgrade.html"
distfiles="https://skarnet.org/software/mdevd/mdevd-${version}.tar.gz"
-checksum=33cf2b118634538fd24f302b30f52cc8aa28ea68b414916ce482b54a4ee57283
-
+checksum=ac2fcf9004f07904592c5894e2c401e15bb027ecf37bcb8ea661e2a7993447be
+conf_files="/etc/mdev.conf"
build_options="static"
+make_check=no # no tests
case "$XBPS_TARGET_MACHINE" in
*-musl)
@@ -29,6 +30,8 @@ post_install() {
vlicense COPYING
vdoc README
vcopy "doc/*" usr/share/doc/${pkgname}
+ vsv mdevd
+ vcopy ${FILESDIR}/mdev.conf etc/mdev.conf
}
mdevd-doc_package() {
From ea33629c2ded112cc39b68d582773483d1678223 Mon Sep 17 00:00:00 2001
From: dkwo <nicolopiazzalunga@gmail.com>
Date: Wed, 1 Mar 2023 17:07:50 -0500
Subject: [PATCH 18/19] runit-void: patch for udev
---
srcpkgs/runit-void/patches/udev.patch | 79 +++++++++++++++++++++++++++
srcpkgs/runit-void/template | 2 +-
2 files changed, 80 insertions(+), 1 deletion(-)
create mode 100644 srcpkgs/runit-void/patches/udev.patch
diff --git a/srcpkgs/runit-void/patches/udev.patch b/srcpkgs/runit-void/patches/udev.patch
new file mode 100644
index 000000000000..b15530bc0f2d
--- /dev/null
+++ b/srcpkgs/runit-void/patches/udev.patch
@@ -0,0 +1,79 @@
+From 109a056987fce4e0706420fba6705522e379bda5 Mon Sep 17 00:00:00 2001
+From: dkwo <nicolopiazzalunga@gmail.com>
+Date: Wed, 1 Mar 2023 15:42:53 -0500
+Subject: [PATCH] core-services/{02,99},rc.conf: allow alternative udevd
+
+---
+ core-services/02-udev.sh | 27 +++++++++++++--------------
+ core-services/99-cleanup.sh | 11 +++++++++++
+ rc.conf | 5 +++++
+ 3 files changed, 29 insertions(+), 14 deletions(-)
+
+diff --git a/core-services/02-udev.sh b/core-services/02-udev.sh
+index b08f8ca..2c46d55 100644
+--- a/core-services/02-udev.sh
++++ b/core-services/02-udev.sh
+@@ -2,18 +2,17 @@
+
+ [ -n "$VIRTUALIZATION" ] && return 0
+
+-if [ -x /usr/lib/systemd/systemd-udevd ]; then
+- _udevd=/usr/lib/systemd/systemd-udevd
+-elif [ -x /sbin/udevd -o -x /bin/udevd ]; then
+- _udevd=udevd
+-else
+- msg_warn "cannot find udevd!"
+-fi
++msg "Starting device manager and waiting for devices to settle..."
++case $CONFIG_DEV in
++ udevd)
++ udevd --daemon
++ udevadm trigger --action=add --type=subsystems
++ udevadm trigger --action=add --type=devices
++ udevadm settle
++ ;;
+
+-if [ -n "${_udevd}" ]; then
+- msg "Starting udev and waiting for devices to settle..."
+- ${_udevd} --daemon
+- udevadm trigger --action=add --type=subsystems
+- udevadm trigger --action=add --type=devices
+- udevadm settle
+-fi
++ mdevd)
++ mdevd & pid_mdevd=$!
++ mdevd-coldplug
++ ;;
++esac
+diff --git a/core-services/99-cleanup.sh b/core-services/99-cleanup.sh
+index f27f728..d9f3f98 100644
+--- a/core-services/99-cleanup.sh
++++ b/core-services/99-cleanup.sh
+@@ -8,3 +8,14 @@ if [ ! -e /var/log/btmp ]; then
+ fi
+ install -dm1777 /tmp/.X11-unix /tmp/.ICE-unix
+ rm -f /etc/nologin /forcefsck /forcequotacheck /fastboot
++
++msg "Killing device manager to make way for service..."
++case $CONFIG_DEV in
++ udevd)
++ udevadm control --exit
++ ;;
++
++ mdevd)
++ kill "$pid_mdevd"
++ ;;
++esac
+diff --git a/rc.conf b/rc.conf
+index aa3da51..8a5e9f4 100644
+--- a/rc.conf
++++ b/rc.conf
+@@ -45,3 +45,8 @@
+ # RNG, for example if you plan to replicate this file system image and do not
+ # have the wherewithal to first delete the contents of /var/lib/seedrng.
+ #SEEDRNG_SKIP_CREDIT=false
++
++# The device manager to run during the init process. This is killed once boot
++# is complete for a supervised version to take its place. Valid values are
++# currently 'mdevd' or 'udevd' (default).
++CONFIG_DEV=udevd
diff --git a/srcpkgs/runit-void/template b/srcpkgs/runit-void/template
index 71020dfba965..3fcb02d1cf58 100644
--- a/srcpkgs/runit-void/template
+++ b/srcpkgs/runit-void/template
@@ -1,7 +1,7 @@
# Template file for 'runit-void'
pkgname=runit-void
version=20220329
-revision=1
+revision=2
build_style=gnu-makefile
short_desc="Void Linux runit scripts"
maintainer="Enno Boland <gottox@voidlinux.org>"
From 49d56167169647930ac35f90f8cf8eb9d2b426ae Mon Sep 17 00:00:00 2001
From: dkwo <nicolopiazzalunga@gmail.com>
Date: Fri, 24 Feb 2023 18:26:36 -0500
Subject: [PATCH 19/19] new package: libudev-zero
---
common/shlibs | 1 +
srcpkgs/libudev-zero-devel | 1 +
srcpkgs/libudev-zero-helper | 1 +
srcpkgs/libudev-zero/template | 44 +++++++++++++++++++++++++++++++++++
4 files changed, 47 insertions(+)
create mode 120000 srcpkgs/libudev-zero-devel
create mode 120000 srcpkgs/libudev-zero-helper
create mode 100644 srcpkgs/libudev-zero/template
diff --git a/common/shlibs b/common/shlibs
index d7a886b366f6..43e70c78083f 100644
--- a/common/shlibs
+++ b/common/shlibs
@@ -218,6 +218,7 @@ libgirepository-gimarshallingtests-1.0.so libgirepository-1.30_1
libgirepository-everything-1.0.so libgirepository-1.30_1
libgirepository-1.0.so.1 libgirepository-1.30_1
libudev.so.1 eudev-libudev-1.6_1
+libudev.so.1 libudev-zero-1.0.1_1
libgudev-1.0.so.0 libgudev-230_1
libumockdev.so.0 libumockdev-0.17.6_1
libext2fs.so.2 e2fsprogs-libs-1.41.5_1
diff --git a/srcpkgs/libudev-zero-devel b/srcpkgs/libudev-zero-devel
new file mode 120000
index 000000000000..fa3977904232
--- /dev/null
+++ b/srcpkgs/libudev-zero-devel
@@ -0,0 +1 @@
+libudev-zero/
\ No newline at end of file
diff --git a/srcpkgs/libudev-zero-helper b/srcpkgs/libudev-zero-helper
new file mode 120000
index 000000000000..fa3977904232
--- /dev/null
+++ b/srcpkgs/libudev-zero-helper
@@ -0,0 +1 @@
+libudev-zero/
\ No newline at end of file
diff --git a/srcpkgs/libudev-zero/template b/srcpkgs/libudev-zero/template
new file mode 100644
index 000000000000..a001e8342262
--- /dev/null
+++ b/srcpkgs/libudev-zero/template
@@ -0,0 +1,44 @@
+# Template file for 'libudev-zero'
+pkgname=libudev-zero
+version=1.0.1
+revision=1
+_UDEV_VERSION=243
+build_style=gnu-makefile
+short_desc="Daemonless replacement for libudev"
+maintainer="dkwo <npiazza@disroot.org>"
+license="ISC"
+homepage="https://github.com/illiliti/libudev-zero"
+distfiles="https://github.com/illiliti/libudev-zero/archive/refs/tags/${version}.tar.gz"
+checksum=c4cf149ea96295c1e6e86038d10c725344c751982ed4a790b06c76776923e0ea
+make_check=no # no tests
+provides="libudev-${_UDEV_VERSION}_${revision}"
+conflicts="eudev-libudev>=3.2.11_1"
+
+post_build() {
+ "$CC" $LDFLAGS $CFLAGS $CPPFLAGS -o libudev-zero-helper contrib/helper.c
+}
+
+post_install() {
+ vlicense LICENSE
+}
+
+libudev-zero-devel_package() {
+ provides="libudev-devel-${_UDEV_VERSION}_${revision}"
+ conflicts="eudev-libudev-devel>=3.2.11_1"
+ depends="libudev-zero>=${version}_${revision}"
+ short_desc+=" - development files"
+ pkg_install() {
+ vmove usr/include
+ vmove usr/lib/pkgconfig
+ vmove "usr/lib/*.a"
+ vmove "usr/lib/*.so"
+ }
+}
+
+libudev-zero-helper_package() {
+ depends="libudev-zero>=${version}_${revision}"
+ short_desc+=" - helper"
+ pkg_install() {
+ vinstall libudev-zero-helper 755 usr/libexec
+ }
+}
^ permalink raw reply [flat|nested] 50+ messages in thread
* Re: new package: libudev-zero
2023-02-27 16:49 [PR PATCH] [rfc] udev alternatives dkwo
` (22 preceding siblings ...)
2023-03-06 19:24 ` [PR PATCH] [Updated] " dkwo
@ 2023-04-07 14:32 ` dkwo
2023-04-11 20:34 ` [PR PATCH] [Updated] " dkwo
` (24 subsequent siblings)
48 siblings, 0 replies; 50+ messages in thread
From: dkwo @ 2023-04-07 14:32 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 230 bytes --]
New comment by dkwo on void-packages repository
https://github.com/void-linux/void-packages/pull/42488#issuecomment-1500343545
Comment:
btw, tinyramfs is now in the repo; it needs hostonly for now, but we can experiment more :)
^ permalink raw reply [flat|nested] 50+ messages in thread
* Re: [PR PATCH] [Updated] new package: libudev-zero
2023-02-27 16:49 [PR PATCH] [rfc] udev alternatives dkwo
` (23 preceding siblings ...)
2023-04-07 14:32 ` dkwo
@ 2023-04-11 20:34 ` dkwo
2023-04-11 20:35 ` dkwo
` (23 subsequent siblings)
48 siblings, 0 replies; 50+ messages in thread
From: dkwo @ 2023-04-11 20:34 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 674 bytes --]
There is an updated pull request by dkwo against master on the void-packages repository
https://github.com/dkwo/void-packages udev
https://github.com/void-linux/void-packages/pull/42488
new package: libudev-zero
https://github.com/illiliti/libudev-zero
- find optimal mdev.conf; current taken from kiss-linux, see also alpine and mdev-like-a-boss
- edit runit stage 1 script at void-linux/void-runit#106
- I tested the changes in this PR: no
- I built this PR locally for my native architecture, (x86_64-musl)
cc mantainer @mobinmob added a service and conf file to mdevd
A patch file from https://github.com/void-linux/void-packages/pull/42488.patch is attached
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-udev-42488.patch --]
[-- Type: text/x-diff, Size: 9766 bytes --]
From 6bbcea04cf7a33a022899a88704f1b0d535869b2 Mon Sep 17 00:00:00 2001
From: dkwo <nicolopiazzalunga@gmail.com>
Date: Fri, 24 Feb 2023 17:01:40 -0500
Subject: [PATCH 1/3] mdevd: add conf and service
---
srcpkgs/mdevd/files/mdev.conf | 70 +++++++++++++++++++++++++++++++++++
srcpkgs/mdevd/files/mdevd/run | 4 ++
srcpkgs/mdevd/template | 5 ++-
3 files changed, 78 insertions(+), 1 deletion(-)
create mode 100644 srcpkgs/mdevd/files/mdev.conf
create mode 100644 srcpkgs/mdevd/files/mdevd/run
diff --git a/srcpkgs/mdevd/files/mdev.conf b/srcpkgs/mdevd/files/mdev.conf
new file mode 100644
index 000000000000..0c88a022cdcc
--- /dev/null
+++ b/srcpkgs/mdevd/files/mdev.conf
@@ -0,0 +1,70 @@
+# Configuration based on 'mdev-like-a-boss'.
+# https://github.com/slashbeast/mdev-like-a-boss/blob/master/mdev.conf
+
+null root:root 666 @chmod 666 $MDEV
+zero root:root 666
+full root:root 666
+random root:root 444
+urandom root:root 444
+hwrandom root:root 444
+grsec root:root 660
+kmem root:root 640
+mem root:root 640
+
+port root:root 640
+console root:tty 600 @chmod 600 $MDEV
+ptmx root:tty 666
+pty.* root:tty 660
+tty root:tty 666
+tty[0-9]* root:tty 660
+vcsa*[0-9]* root:tty 660
+
+# Kernel based virtual machine.
+kvm root:kvm 660
+vhost-net root:kvm 660
+
+# Block devices.
+ram([0-9]*) root:disk 660 >rd/%1
+loop([0-9]+) root:disk 660 >loop/%1
+sr[0-9]* root:cdrom 660 @ln -sf $MDEV cdrom
+fd[0-9]* root:floppy 660
+
+net/tun[0-9]* root:kvm 660
+net/tap[0-9]* root:root 600
+fuse root:root 666
+agpgart root:root 660 >misc/
+psaux root:root 660 >misc/
+rtc root:root 664 >misc/
+
+# Audio stuff.
+adsp root:audio 660 >sound/
+audio root:audio 660 >sound/
+dsp root:audio 660 >sound/
+mixer root:audio 660 >sound/
+sequencer.* root:audio 660 >sound/
+snd/.* root:audio 660
+
+# Raid controllers.
+cciss!(.*) root:disk 660 =cciss/%1
+ida!(.*) root:disk 660 =ida/%1
+rd!(.*) root:disk 660 =rd/%1
+
+# Input stuff.
+SUBSYSTEM=input;.* root:input 660
+
+# Video stuff.
+card[0-9] root:video 660 =dri/
+vbi[0-9] root:video 660 >v4l/
+video[0-9] root:video 660 >v4l/
+dri/.* root:video 660
+
+# Don't create old usbdev* devices.
+usbdev[0-9].[0-9]* root:root 660 !
+
+# Stop creating x:x:x:x which looks like /dev/dm-*.
+[0-9]+\:[0-9]+\:[0-9]+\:[0-9]+ root:root 660 !
+
+# /dev/cpu support.
+microcode root:root 600 =cpu/
+cpu([0-9]+) root:root 600 =cpu/%1/cpuid
+msr([0-9]+) root:root 600 =cpu/%1/msr
diff --git a/srcpkgs/mdevd/files/mdevd/run b/srcpkgs/mdevd/files/mdevd/run
new file mode 100644
index 000000000000..3d95ad3a6850
--- /dev/null
+++ b/srcpkgs/mdevd/files/mdevd/run
@@ -0,0 +1,4 @@
+#!/bin/sh
+
+exec 2>&1
+exec mdevd -f /etc/mdev.conf -D 3 -b 200000 -O4
diff --git a/srcpkgs/mdevd/template b/srcpkgs/mdevd/template
index 15690b0ead37..f720e5caafef 100644
--- a/srcpkgs/mdevd/template
+++ b/srcpkgs/mdevd/template
@@ -15,9 +15,10 @@ homepage="https://skarnet.org/software/mdevd/"
changelog="https://skarnet.org/software/mdevd/upgrade.html"
distfiles="https://skarnet.org/software/mdevd/mdevd-${version}.tar.gz"
checksum=ac2fcf9004f07904592c5894e2c401e15bb027ecf37bcb8ea661e2a7993447be
-
+conf_files="/etc/mdev.conf"
build_options="static"
desc_option_static="Build static binaries"
+make_check=no # no tests
case "$XBPS_TARGET_MACHINE" in
*-musl)
@@ -30,6 +31,8 @@ post_install() {
vlicense COPYING
vdoc README
vcopy "doc/*" usr/share/doc/${pkgname}
+ vsv mdevd
+ vcopy ${FILESDIR}/mdev.conf etc/mdev.conf
}
mdevd-doc_package() {
From 5321eff63f91a984c1844646bc05ecebb06efb46 Mon Sep 17 00:00:00 2001
From: dkwo <nicolopiazzalunga@gmail.com>
Date: Wed, 1 Mar 2023 17:07:50 -0500
Subject: [PATCH 2/3] runit-void: patch for udev
---
srcpkgs/runit-void/patches/udev.patch | 79 +++++++++++++++++++++++++++
1 file changed, 79 insertions(+)
create mode 100644 srcpkgs/runit-void/patches/udev.patch
diff --git a/srcpkgs/runit-void/patches/udev.patch b/srcpkgs/runit-void/patches/udev.patch
new file mode 100644
index 000000000000..b15530bc0f2d
--- /dev/null
+++ b/srcpkgs/runit-void/patches/udev.patch
@@ -0,0 +1,79 @@
+From 109a056987fce4e0706420fba6705522e379bda5 Mon Sep 17 00:00:00 2001
+From: dkwo <nicolopiazzalunga@gmail.com>
+Date: Wed, 1 Mar 2023 15:42:53 -0500
+Subject: [PATCH] core-services/{02,99},rc.conf: allow alternative udevd
+
+---
+ core-services/02-udev.sh | 27 +++++++++++++--------------
+ core-services/99-cleanup.sh | 11 +++++++++++
+ rc.conf | 5 +++++
+ 3 files changed, 29 insertions(+), 14 deletions(-)
+
+diff --git a/core-services/02-udev.sh b/core-services/02-udev.sh
+index b08f8ca..2c46d55 100644
+--- a/core-services/02-udev.sh
++++ b/core-services/02-udev.sh
+@@ -2,18 +2,17 @@
+
+ [ -n "$VIRTUALIZATION" ] && return 0
+
+-if [ -x /usr/lib/systemd/systemd-udevd ]; then
+- _udevd=/usr/lib/systemd/systemd-udevd
+-elif [ -x /sbin/udevd -o -x /bin/udevd ]; then
+- _udevd=udevd
+-else
+- msg_warn "cannot find udevd!"
+-fi
++msg "Starting device manager and waiting for devices to settle..."
++case $CONFIG_DEV in
++ udevd)
++ udevd --daemon
++ udevadm trigger --action=add --type=subsystems
++ udevadm trigger --action=add --type=devices
++ udevadm settle
++ ;;
+
+-if [ -n "${_udevd}" ]; then
+- msg "Starting udev and waiting for devices to settle..."
+- ${_udevd} --daemon
+- udevadm trigger --action=add --type=subsystems
+- udevadm trigger --action=add --type=devices
+- udevadm settle
+-fi
++ mdevd)
++ mdevd & pid_mdevd=$!
++ mdevd-coldplug
++ ;;
++esac
+diff --git a/core-services/99-cleanup.sh b/core-services/99-cleanup.sh
+index f27f728..d9f3f98 100644
+--- a/core-services/99-cleanup.sh
++++ b/core-services/99-cleanup.sh
+@@ -8,3 +8,14 @@ if [ ! -e /var/log/btmp ]; then
+ fi
+ install -dm1777 /tmp/.X11-unix /tmp/.ICE-unix
+ rm -f /etc/nologin /forcefsck /forcequotacheck /fastboot
++
++msg "Killing device manager to make way for service..."
++case $CONFIG_DEV in
++ udevd)
++ udevadm control --exit
++ ;;
++
++ mdevd)
++ kill "$pid_mdevd"
++ ;;
++esac
+diff --git a/rc.conf b/rc.conf
+index aa3da51..8a5e9f4 100644
+--- a/rc.conf
++++ b/rc.conf
+@@ -45,3 +45,8 @@
+ # RNG, for example if you plan to replicate this file system image and do not
+ # have the wherewithal to first delete the contents of /var/lib/seedrng.
+ #SEEDRNG_SKIP_CREDIT=false
++
++# The device manager to run during the init process. This is killed once boot
++# is complete for a supervised version to take its place. Valid values are
++# currently 'mdevd' or 'udevd' (default).
++CONFIG_DEV=udevd
From cb8d01847a04ded43c3ab5448b49dcce6831e46d Mon Sep 17 00:00:00 2001
From: dkwo <nicolopiazzalunga@gmail.com>
Date: Fri, 24 Feb 2023 18:26:36 -0500
Subject: [PATCH 3/3] new package: libudev-zero
---
common/shlibs | 1 +
srcpkgs/libudev-zero-devel | 1 +
srcpkgs/libudev-zero-helper | 1 +
srcpkgs/libudev-zero/template | 44 +++++++++++++++++++++++++++++++++++
4 files changed, 47 insertions(+)
create mode 120000 srcpkgs/libudev-zero-devel
create mode 120000 srcpkgs/libudev-zero-helper
create mode 100644 srcpkgs/libudev-zero/template
diff --git a/common/shlibs b/common/shlibs
index 847f5daec09d..3b5fa43e6442 100644
--- a/common/shlibs
+++ b/common/shlibs
@@ -218,6 +218,7 @@ libgirepository-gimarshallingtests-1.0.so libgirepository-1.30_1
libgirepository-everything-1.0.so libgirepository-1.30_1
libgirepository-1.0.so.1 libgirepository-1.30_1
libudev.so.1 eudev-libudev-1.6_1
+libudev.so.1 libudev-zero-1.0.1_1
libgudev-1.0.so.0 libgudev-230_1
libumockdev.so.0 libumockdev-0.17.6_1
libext2fs.so.2 e2fsprogs-libs-1.41.5_1
diff --git a/srcpkgs/libudev-zero-devel b/srcpkgs/libudev-zero-devel
new file mode 120000
index 000000000000..fa3977904232
--- /dev/null
+++ b/srcpkgs/libudev-zero-devel
@@ -0,0 +1 @@
+libudev-zero/
\ No newline at end of file
diff --git a/srcpkgs/libudev-zero-helper b/srcpkgs/libudev-zero-helper
new file mode 120000
index 000000000000..fa3977904232
--- /dev/null
+++ b/srcpkgs/libudev-zero-helper
@@ -0,0 +1 @@
+libudev-zero/
\ No newline at end of file
diff --git a/srcpkgs/libudev-zero/template b/srcpkgs/libudev-zero/template
new file mode 100644
index 000000000000..a001e8342262
--- /dev/null
+++ b/srcpkgs/libudev-zero/template
@@ -0,0 +1,44 @@
+# Template file for 'libudev-zero'
+pkgname=libudev-zero
+version=1.0.1
+revision=1
+_UDEV_VERSION=243
+build_style=gnu-makefile
+short_desc="Daemonless replacement for libudev"
+maintainer="dkwo <npiazza@disroot.org>"
+license="ISC"
+homepage="https://github.com/illiliti/libudev-zero"
+distfiles="https://github.com/illiliti/libudev-zero/archive/refs/tags/${version}.tar.gz"
+checksum=c4cf149ea96295c1e6e86038d10c725344c751982ed4a790b06c76776923e0ea
+make_check=no # no tests
+provides="libudev-${_UDEV_VERSION}_${revision}"
+conflicts="eudev-libudev>=3.2.11_1"
+
+post_build() {
+ "$CC" $LDFLAGS $CFLAGS $CPPFLAGS -o libudev-zero-helper contrib/helper.c
+}
+
+post_install() {
+ vlicense LICENSE
+}
+
+libudev-zero-devel_package() {
+ provides="libudev-devel-${_UDEV_VERSION}_${revision}"
+ conflicts="eudev-libudev-devel>=3.2.11_1"
+ depends="libudev-zero>=${version}_${revision}"
+ short_desc+=" - development files"
+ pkg_install() {
+ vmove usr/include
+ vmove usr/lib/pkgconfig
+ vmove "usr/lib/*.a"
+ vmove "usr/lib/*.so"
+ }
+}
+
+libudev-zero-helper_package() {
+ depends="libudev-zero>=${version}_${revision}"
+ short_desc+=" - helper"
+ pkg_install() {
+ vinstall libudev-zero-helper 755 usr/libexec
+ }
+}
^ permalink raw reply [flat|nested] 50+ messages in thread
* Re: [PR PATCH] [Updated] new package: libudev-zero
2023-02-27 16:49 [PR PATCH] [rfc] udev alternatives dkwo
` (24 preceding siblings ...)
2023-04-11 20:34 ` [PR PATCH] [Updated] " dkwo
@ 2023-04-11 20:35 ` dkwo
2023-04-11 21:49 ` dkwo
` (22 subsequent siblings)
48 siblings, 0 replies; 50+ messages in thread
From: dkwo @ 2023-04-11 20:35 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 674 bytes --]
There is an updated pull request by dkwo against master on the void-packages repository
https://github.com/dkwo/void-packages udev
https://github.com/void-linux/void-packages/pull/42488
new package: libudev-zero
https://github.com/illiliti/libudev-zero
- find optimal mdev.conf; current taken from kiss-linux, see also alpine and mdev-like-a-boss
- edit runit stage 1 script at void-linux/void-runit#106
- I tested the changes in this PR: no
- I built this PR locally for my native architecture, (x86_64-musl)
cc mantainer @mobinmob added a service and conf file to mdevd
A patch file from https://github.com/void-linux/void-packages/pull/42488.patch is attached
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-udev-42488.patch --]
[-- Type: text/x-diff, Size: 10103 bytes --]
From 9bd243bbff461b1b42775916e643ac19a8da775b Mon Sep 17 00:00:00 2001
From: dkwo <nicolopiazzalunga@gmail.com>
Date: Fri, 24 Feb 2023 17:01:40 -0500
Subject: [PATCH 1/3] mdevd: add conf and service
---
srcpkgs/mdevd/files/mdev.conf | 70 +++++++++++++++++++++++++++++++++++
srcpkgs/mdevd/files/mdevd/run | 4 ++
srcpkgs/mdevd/template | 8 +++-
3 files changed, 80 insertions(+), 2 deletions(-)
create mode 100644 srcpkgs/mdevd/files/mdev.conf
create mode 100644 srcpkgs/mdevd/files/mdevd/run
diff --git a/srcpkgs/mdevd/files/mdev.conf b/srcpkgs/mdevd/files/mdev.conf
new file mode 100644
index 000000000000..0c88a022cdcc
--- /dev/null
+++ b/srcpkgs/mdevd/files/mdev.conf
@@ -0,0 +1,70 @@
+# Configuration based on 'mdev-like-a-boss'.
+# https://github.com/slashbeast/mdev-like-a-boss/blob/master/mdev.conf
+
+null root:root 666 @chmod 666 $MDEV
+zero root:root 666
+full root:root 666
+random root:root 444
+urandom root:root 444
+hwrandom root:root 444
+grsec root:root 660
+kmem root:root 640
+mem root:root 640
+
+port root:root 640
+console root:tty 600 @chmod 600 $MDEV
+ptmx root:tty 666
+pty.* root:tty 660
+tty root:tty 666
+tty[0-9]* root:tty 660
+vcsa*[0-9]* root:tty 660
+
+# Kernel based virtual machine.
+kvm root:kvm 660
+vhost-net root:kvm 660
+
+# Block devices.
+ram([0-9]*) root:disk 660 >rd/%1
+loop([0-9]+) root:disk 660 >loop/%1
+sr[0-9]* root:cdrom 660 @ln -sf $MDEV cdrom
+fd[0-9]* root:floppy 660
+
+net/tun[0-9]* root:kvm 660
+net/tap[0-9]* root:root 600
+fuse root:root 666
+agpgart root:root 660 >misc/
+psaux root:root 660 >misc/
+rtc root:root 664 >misc/
+
+# Audio stuff.
+adsp root:audio 660 >sound/
+audio root:audio 660 >sound/
+dsp root:audio 660 >sound/
+mixer root:audio 660 >sound/
+sequencer.* root:audio 660 >sound/
+snd/.* root:audio 660
+
+# Raid controllers.
+cciss!(.*) root:disk 660 =cciss/%1
+ida!(.*) root:disk 660 =ida/%1
+rd!(.*) root:disk 660 =rd/%1
+
+# Input stuff.
+SUBSYSTEM=input;.* root:input 660
+
+# Video stuff.
+card[0-9] root:video 660 =dri/
+vbi[0-9] root:video 660 >v4l/
+video[0-9] root:video 660 >v4l/
+dri/.* root:video 660
+
+# Don't create old usbdev* devices.
+usbdev[0-9].[0-9]* root:root 660 !
+
+# Stop creating x:x:x:x which looks like /dev/dm-*.
+[0-9]+\:[0-9]+\:[0-9]+\:[0-9]+ root:root 660 !
+
+# /dev/cpu support.
+microcode root:root 600 =cpu/
+cpu([0-9]+) root:root 600 =cpu/%1/cpuid
+msr([0-9]+) root:root 600 =cpu/%1/msr
diff --git a/srcpkgs/mdevd/files/mdevd/run b/srcpkgs/mdevd/files/mdevd/run
new file mode 100644
index 000000000000..3d95ad3a6850
--- /dev/null
+++ b/srcpkgs/mdevd/files/mdevd/run
@@ -0,0 +1,4 @@
+#!/bin/sh
+
+exec 2>&1
+exec mdevd -f /etc/mdev.conf -D 3 -b 200000 -O4
diff --git a/srcpkgs/mdevd/template b/srcpkgs/mdevd/template
index 15690b0ead37..9f03fed453d6 100644
--- a/srcpkgs/mdevd/template
+++ b/srcpkgs/mdevd/template
@@ -1,7 +1,7 @@
# Template file for 'mdevd'
pkgname=mdevd
version=0.1.6.2
-revision=1
+revision=2
build_style=configure
configure_args="--includedir=/usr/include --bindir=/usr/bin --libdir=/usr/lib
--with-sysdeps=${XBPS_CROSS_BASE}/usr/lib/skalibs/sysdeps
@@ -15,9 +15,10 @@ homepage="https://skarnet.org/software/mdevd/"
changelog="https://skarnet.org/software/mdevd/upgrade.html"
distfiles="https://skarnet.org/software/mdevd/mdevd-${version}.tar.gz"
checksum=ac2fcf9004f07904592c5894e2c401e15bb027ecf37bcb8ea661e2a7993447be
-
+conf_files="/etc/mdev.conf"
build_options="static"
desc_option_static="Build static binaries"
+make_check=no # no tests
case "$XBPS_TARGET_MACHINE" in
*-musl)
@@ -30,6 +31,8 @@ post_install() {
vlicense COPYING
vdoc README
vcopy "doc/*" usr/share/doc/${pkgname}
+ vsv mdevd
+ vcopy ${FILESDIR}/mdev.conf etc/mdev.conf
}
mdevd-doc_package() {
@@ -39,3 +42,4 @@ mdevd-doc_package() {
vmove usr/share/doc
}
}
+
From 6ab9063e1fc40915033c10d6d71cf2292467c399 Mon Sep 17 00:00:00 2001
From: dkwo <nicolopiazzalunga@gmail.com>
Date: Wed, 1 Mar 2023 17:07:50 -0500
Subject: [PATCH 2/3] runit-void: patch for udev
---
srcpkgs/runit-void/patches/udev.patch | 79 +++++++++++++++++++++++++++
1 file changed, 79 insertions(+)
create mode 100644 srcpkgs/runit-void/patches/udev.patch
diff --git a/srcpkgs/runit-void/patches/udev.patch b/srcpkgs/runit-void/patches/udev.patch
new file mode 100644
index 000000000000..b15530bc0f2d
--- /dev/null
+++ b/srcpkgs/runit-void/patches/udev.patch
@@ -0,0 +1,79 @@
+From 109a056987fce4e0706420fba6705522e379bda5 Mon Sep 17 00:00:00 2001
+From: dkwo <nicolopiazzalunga@gmail.com>
+Date: Wed, 1 Mar 2023 15:42:53 -0500
+Subject: [PATCH] core-services/{02,99},rc.conf: allow alternative udevd
+
+---
+ core-services/02-udev.sh | 27 +++++++++++++--------------
+ core-services/99-cleanup.sh | 11 +++++++++++
+ rc.conf | 5 +++++
+ 3 files changed, 29 insertions(+), 14 deletions(-)
+
+diff --git a/core-services/02-udev.sh b/core-services/02-udev.sh
+index b08f8ca..2c46d55 100644
+--- a/core-services/02-udev.sh
++++ b/core-services/02-udev.sh
+@@ -2,18 +2,17 @@
+
+ [ -n "$VIRTUALIZATION" ] && return 0
+
+-if [ -x /usr/lib/systemd/systemd-udevd ]; then
+- _udevd=/usr/lib/systemd/systemd-udevd
+-elif [ -x /sbin/udevd -o -x /bin/udevd ]; then
+- _udevd=udevd
+-else
+- msg_warn "cannot find udevd!"
+-fi
++msg "Starting device manager and waiting for devices to settle..."
++case $CONFIG_DEV in
++ udevd)
++ udevd --daemon
++ udevadm trigger --action=add --type=subsystems
++ udevadm trigger --action=add --type=devices
++ udevadm settle
++ ;;
+
+-if [ -n "${_udevd}" ]; then
+- msg "Starting udev and waiting for devices to settle..."
+- ${_udevd} --daemon
+- udevadm trigger --action=add --type=subsystems
+- udevadm trigger --action=add --type=devices
+- udevadm settle
+-fi
++ mdevd)
++ mdevd & pid_mdevd=$!
++ mdevd-coldplug
++ ;;
++esac
+diff --git a/core-services/99-cleanup.sh b/core-services/99-cleanup.sh
+index f27f728..d9f3f98 100644
+--- a/core-services/99-cleanup.sh
++++ b/core-services/99-cleanup.sh
+@@ -8,3 +8,14 @@ if [ ! -e /var/log/btmp ]; then
+ fi
+ install -dm1777 /tmp/.X11-unix /tmp/.ICE-unix
+ rm -f /etc/nologin /forcefsck /forcequotacheck /fastboot
++
++msg "Killing device manager to make way for service..."
++case $CONFIG_DEV in
++ udevd)
++ udevadm control --exit
++ ;;
++
++ mdevd)
++ kill "$pid_mdevd"
++ ;;
++esac
+diff --git a/rc.conf b/rc.conf
+index aa3da51..8a5e9f4 100644
+--- a/rc.conf
++++ b/rc.conf
+@@ -45,3 +45,8 @@
+ # RNG, for example if you plan to replicate this file system image and do not
+ # have the wherewithal to first delete the contents of /var/lib/seedrng.
+ #SEEDRNG_SKIP_CREDIT=false
++
++# The device manager to run during the init process. This is killed once boot
++# is complete for a supervised version to take its place. Valid values are
++# currently 'mdevd' or 'udevd' (default).
++CONFIG_DEV=udevd
From e7aa1102f4c3d6efd5476f0590823401ca02ae19 Mon Sep 17 00:00:00 2001
From: dkwo <nicolopiazzalunga@gmail.com>
Date: Fri, 24 Feb 2023 18:26:36 -0500
Subject: [PATCH 3/3] new package: libudev-zero
---
common/shlibs | 1 +
srcpkgs/libudev-zero-devel | 1 +
srcpkgs/libudev-zero-helper | 1 +
srcpkgs/libudev-zero/template | 44 +++++++++++++++++++++++++++++++++++
4 files changed, 47 insertions(+)
create mode 120000 srcpkgs/libudev-zero-devel
create mode 120000 srcpkgs/libudev-zero-helper
create mode 100644 srcpkgs/libudev-zero/template
diff --git a/common/shlibs b/common/shlibs
index 847f5daec09d..3b5fa43e6442 100644
--- a/common/shlibs
+++ b/common/shlibs
@@ -218,6 +218,7 @@ libgirepository-gimarshallingtests-1.0.so libgirepository-1.30_1
libgirepository-everything-1.0.so libgirepository-1.30_1
libgirepository-1.0.so.1 libgirepository-1.30_1
libudev.so.1 eudev-libudev-1.6_1
+libudev.so.1 libudev-zero-1.0.1_1
libgudev-1.0.so.0 libgudev-230_1
libumockdev.so.0 libumockdev-0.17.6_1
libext2fs.so.2 e2fsprogs-libs-1.41.5_1
diff --git a/srcpkgs/libudev-zero-devel b/srcpkgs/libudev-zero-devel
new file mode 120000
index 000000000000..fa3977904232
--- /dev/null
+++ b/srcpkgs/libudev-zero-devel
@@ -0,0 +1 @@
+libudev-zero/
\ No newline at end of file
diff --git a/srcpkgs/libudev-zero-helper b/srcpkgs/libudev-zero-helper
new file mode 120000
index 000000000000..fa3977904232
--- /dev/null
+++ b/srcpkgs/libudev-zero-helper
@@ -0,0 +1 @@
+libudev-zero/
\ No newline at end of file
diff --git a/srcpkgs/libudev-zero/template b/srcpkgs/libudev-zero/template
new file mode 100644
index 000000000000..a001e8342262
--- /dev/null
+++ b/srcpkgs/libudev-zero/template
@@ -0,0 +1,44 @@
+# Template file for 'libudev-zero'
+pkgname=libudev-zero
+version=1.0.1
+revision=1
+_UDEV_VERSION=243
+build_style=gnu-makefile
+short_desc="Daemonless replacement for libudev"
+maintainer="dkwo <npiazza@disroot.org>"
+license="ISC"
+homepage="https://github.com/illiliti/libudev-zero"
+distfiles="https://github.com/illiliti/libudev-zero/archive/refs/tags/${version}.tar.gz"
+checksum=c4cf149ea96295c1e6e86038d10c725344c751982ed4a790b06c76776923e0ea
+make_check=no # no tests
+provides="libudev-${_UDEV_VERSION}_${revision}"
+conflicts="eudev-libudev>=3.2.11_1"
+
+post_build() {
+ "$CC" $LDFLAGS $CFLAGS $CPPFLAGS -o libudev-zero-helper contrib/helper.c
+}
+
+post_install() {
+ vlicense LICENSE
+}
+
+libudev-zero-devel_package() {
+ provides="libudev-devel-${_UDEV_VERSION}_${revision}"
+ conflicts="eudev-libudev-devel>=3.2.11_1"
+ depends="libudev-zero>=${version}_${revision}"
+ short_desc+=" - development files"
+ pkg_install() {
+ vmove usr/include
+ vmove usr/lib/pkgconfig
+ vmove "usr/lib/*.a"
+ vmove "usr/lib/*.so"
+ }
+}
+
+libudev-zero-helper_package() {
+ depends="libudev-zero>=${version}_${revision}"
+ short_desc+=" - helper"
+ pkg_install() {
+ vinstall libudev-zero-helper 755 usr/libexec
+ }
+}
^ permalink raw reply [flat|nested] 50+ messages in thread
* Re: [PR PATCH] [Updated] new package: libudev-zero
2023-02-27 16:49 [PR PATCH] [rfc] udev alternatives dkwo
` (25 preceding siblings ...)
2023-04-11 20:35 ` dkwo
@ 2023-04-11 21:49 ` dkwo
2023-04-21 21:34 ` dkwo
` (21 subsequent siblings)
48 siblings, 0 replies; 50+ messages in thread
From: dkwo @ 2023-04-11 21:49 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 674 bytes --]
There is an updated pull request by dkwo against master on the void-packages repository
https://github.com/dkwo/void-packages udev
https://github.com/void-linux/void-packages/pull/42488
new package: libudev-zero
https://github.com/illiliti/libudev-zero
- find optimal mdev.conf; current taken from kiss-linux, see also alpine and mdev-like-a-boss
- edit runit stage 1 script at void-linux/void-runit#106
- I tested the changes in this PR: no
- I built this PR locally for my native architecture, (x86_64-musl)
cc mantainer @mobinmob added a service and conf file to mdevd
A patch file from https://github.com/void-linux/void-packages/pull/42488.patch is attached
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-udev-42488.patch --]
[-- Type: text/x-diff, Size: 10031 bytes --]
From 753c853b02f54aedbf6a067b1552b57dddf6b65a Mon Sep 17 00:00:00 2001
From: dkwo <nicolopiazzalunga@gmail.com>
Date: Fri, 24 Feb 2023 17:01:40 -0500
Subject: [PATCH 1/3] mdevd: add conf and service
---
srcpkgs/mdevd/files/mdev.conf | 70 +++++++++++++++++++++++++++++++++++
srcpkgs/mdevd/files/mdevd/run | 4 ++
srcpkgs/mdevd/template | 7 +++-
3 files changed, 79 insertions(+), 2 deletions(-)
create mode 100644 srcpkgs/mdevd/files/mdev.conf
create mode 100644 srcpkgs/mdevd/files/mdevd/run
diff --git a/srcpkgs/mdevd/files/mdev.conf b/srcpkgs/mdevd/files/mdev.conf
new file mode 100644
index 000000000000..0c88a022cdcc
--- /dev/null
+++ b/srcpkgs/mdevd/files/mdev.conf
@@ -0,0 +1,70 @@
+# Configuration based on 'mdev-like-a-boss'.
+# https://github.com/slashbeast/mdev-like-a-boss/blob/master/mdev.conf
+
+null root:root 666 @chmod 666 $MDEV
+zero root:root 666
+full root:root 666
+random root:root 444
+urandom root:root 444
+hwrandom root:root 444
+grsec root:root 660
+kmem root:root 640
+mem root:root 640
+
+port root:root 640
+console root:tty 600 @chmod 600 $MDEV
+ptmx root:tty 666
+pty.* root:tty 660
+tty root:tty 666
+tty[0-9]* root:tty 660
+vcsa*[0-9]* root:tty 660
+
+# Kernel based virtual machine.
+kvm root:kvm 660
+vhost-net root:kvm 660
+
+# Block devices.
+ram([0-9]*) root:disk 660 >rd/%1
+loop([0-9]+) root:disk 660 >loop/%1
+sr[0-9]* root:cdrom 660 @ln -sf $MDEV cdrom
+fd[0-9]* root:floppy 660
+
+net/tun[0-9]* root:kvm 660
+net/tap[0-9]* root:root 600
+fuse root:root 666
+agpgart root:root 660 >misc/
+psaux root:root 660 >misc/
+rtc root:root 664 >misc/
+
+# Audio stuff.
+adsp root:audio 660 >sound/
+audio root:audio 660 >sound/
+dsp root:audio 660 >sound/
+mixer root:audio 660 >sound/
+sequencer.* root:audio 660 >sound/
+snd/.* root:audio 660
+
+# Raid controllers.
+cciss!(.*) root:disk 660 =cciss/%1
+ida!(.*) root:disk 660 =ida/%1
+rd!(.*) root:disk 660 =rd/%1
+
+# Input stuff.
+SUBSYSTEM=input;.* root:input 660
+
+# Video stuff.
+card[0-9] root:video 660 =dri/
+vbi[0-9] root:video 660 >v4l/
+video[0-9] root:video 660 >v4l/
+dri/.* root:video 660
+
+# Don't create old usbdev* devices.
+usbdev[0-9].[0-9]* root:root 660 !
+
+# Stop creating x:x:x:x which looks like /dev/dm-*.
+[0-9]+\:[0-9]+\:[0-9]+\:[0-9]+ root:root 660 !
+
+# /dev/cpu support.
+microcode root:root 600 =cpu/
+cpu([0-9]+) root:root 600 =cpu/%1/cpuid
+msr([0-9]+) root:root 600 =cpu/%1/msr
diff --git a/srcpkgs/mdevd/files/mdevd/run b/srcpkgs/mdevd/files/mdevd/run
new file mode 100644
index 000000000000..3d95ad3a6850
--- /dev/null
+++ b/srcpkgs/mdevd/files/mdevd/run
@@ -0,0 +1,4 @@
+#!/bin/sh
+
+exec 2>&1
+exec mdevd -f /etc/mdev.conf -D 3 -b 200000 -O4
diff --git a/srcpkgs/mdevd/template b/srcpkgs/mdevd/template
index 15690b0ead37..3a3c113cfa3b 100644
--- a/srcpkgs/mdevd/template
+++ b/srcpkgs/mdevd/template
@@ -1,7 +1,7 @@
# Template file for 'mdevd'
pkgname=mdevd
version=0.1.6.2
-revision=1
+revision=2
build_style=configure
configure_args="--includedir=/usr/include --bindir=/usr/bin --libdir=/usr/lib
--with-sysdeps=${XBPS_CROSS_BASE}/usr/lib/skalibs/sysdeps
@@ -15,9 +15,10 @@ homepage="https://skarnet.org/software/mdevd/"
changelog="https://skarnet.org/software/mdevd/upgrade.html"
distfiles="https://skarnet.org/software/mdevd/mdevd-${version}.tar.gz"
checksum=ac2fcf9004f07904592c5894e2c401e15bb027ecf37bcb8ea661e2a7993447be
-
+conf_files="/etc/mdev.conf"
build_options="static"
desc_option_static="Build static binaries"
+make_check=no # no tests
case "$XBPS_TARGET_MACHINE" in
*-musl)
@@ -30,6 +31,8 @@ post_install() {
vlicense COPYING
vdoc README
vcopy "doc/*" usr/share/doc/${pkgname}
+ vsv mdevd
+ vcopy ${FILESDIR}/mdev.conf etc/mdev.conf
}
mdevd-doc_package() {
From 5751273662348aa070d45739a92f738ab7a287f7 Mon Sep 17 00:00:00 2001
From: dkwo <nicolopiazzalunga@gmail.com>
Date: Wed, 1 Mar 2023 17:07:50 -0500
Subject: [PATCH 2/3] runit-void: patch for udev
---
srcpkgs/runit-void/patches/udev.patch | 79 +++++++++++++++++++++++++++
1 file changed, 79 insertions(+)
create mode 100644 srcpkgs/runit-void/patches/udev.patch
diff --git a/srcpkgs/runit-void/patches/udev.patch b/srcpkgs/runit-void/patches/udev.patch
new file mode 100644
index 000000000000..b15530bc0f2d
--- /dev/null
+++ b/srcpkgs/runit-void/patches/udev.patch
@@ -0,0 +1,79 @@
+From 109a056987fce4e0706420fba6705522e379bda5 Mon Sep 17 00:00:00 2001
+From: dkwo <nicolopiazzalunga@gmail.com>
+Date: Wed, 1 Mar 2023 15:42:53 -0500
+Subject: [PATCH] core-services/{02,99},rc.conf: allow alternative udevd
+
+---
+ core-services/02-udev.sh | 27 +++++++++++++--------------
+ core-services/99-cleanup.sh | 11 +++++++++++
+ rc.conf | 5 +++++
+ 3 files changed, 29 insertions(+), 14 deletions(-)
+
+diff --git a/core-services/02-udev.sh b/core-services/02-udev.sh
+index b08f8ca..2c46d55 100644
+--- a/core-services/02-udev.sh
++++ b/core-services/02-udev.sh
+@@ -2,18 +2,17 @@
+
+ [ -n "$VIRTUALIZATION" ] && return 0
+
+-if [ -x /usr/lib/systemd/systemd-udevd ]; then
+- _udevd=/usr/lib/systemd/systemd-udevd
+-elif [ -x /sbin/udevd -o -x /bin/udevd ]; then
+- _udevd=udevd
+-else
+- msg_warn "cannot find udevd!"
+-fi
++msg "Starting device manager and waiting for devices to settle..."
++case $CONFIG_DEV in
++ udevd)
++ udevd --daemon
++ udevadm trigger --action=add --type=subsystems
++ udevadm trigger --action=add --type=devices
++ udevadm settle
++ ;;
+
+-if [ -n "${_udevd}" ]; then
+- msg "Starting udev and waiting for devices to settle..."
+- ${_udevd} --daemon
+- udevadm trigger --action=add --type=subsystems
+- udevadm trigger --action=add --type=devices
+- udevadm settle
+-fi
++ mdevd)
++ mdevd & pid_mdevd=$!
++ mdevd-coldplug
++ ;;
++esac
+diff --git a/core-services/99-cleanup.sh b/core-services/99-cleanup.sh
+index f27f728..d9f3f98 100644
+--- a/core-services/99-cleanup.sh
++++ b/core-services/99-cleanup.sh
+@@ -8,3 +8,14 @@ if [ ! -e /var/log/btmp ]; then
+ fi
+ install -dm1777 /tmp/.X11-unix /tmp/.ICE-unix
+ rm -f /etc/nologin /forcefsck /forcequotacheck /fastboot
++
++msg "Killing device manager to make way for service..."
++case $CONFIG_DEV in
++ udevd)
++ udevadm control --exit
++ ;;
++
++ mdevd)
++ kill "$pid_mdevd"
++ ;;
++esac
+diff --git a/rc.conf b/rc.conf
+index aa3da51..8a5e9f4 100644
+--- a/rc.conf
++++ b/rc.conf
+@@ -45,3 +45,8 @@
+ # RNG, for example if you plan to replicate this file system image and do not
+ # have the wherewithal to first delete the contents of /var/lib/seedrng.
+ #SEEDRNG_SKIP_CREDIT=false
++
++# The device manager to run during the init process. This is killed once boot
++# is complete for a supervised version to take its place. Valid values are
++# currently 'mdevd' or 'udevd' (default).
++CONFIG_DEV=udevd
From 29f1e5eaabc24d169d039bf01811c99cee726694 Mon Sep 17 00:00:00 2001
From: dkwo <nicolopiazzalunga@gmail.com>
Date: Fri, 24 Feb 2023 18:26:36 -0500
Subject: [PATCH 3/3] new package: libudev-zero
---
common/shlibs | 1 +
srcpkgs/libudev-zero-devel | 1 +
srcpkgs/libudev-zero-helper | 1 +
srcpkgs/libudev-zero/template | 44 +++++++++++++++++++++++++++++++++++
4 files changed, 47 insertions(+)
create mode 120000 srcpkgs/libudev-zero-devel
create mode 120000 srcpkgs/libudev-zero-helper
create mode 100644 srcpkgs/libudev-zero/template
diff --git a/common/shlibs b/common/shlibs
index 847f5daec09d..3b5fa43e6442 100644
--- a/common/shlibs
+++ b/common/shlibs
@@ -218,6 +218,7 @@ libgirepository-gimarshallingtests-1.0.so libgirepository-1.30_1
libgirepository-everything-1.0.so libgirepository-1.30_1
libgirepository-1.0.so.1 libgirepository-1.30_1
libudev.so.1 eudev-libudev-1.6_1
+libudev.so.1 libudev-zero-1.0.1_1
libgudev-1.0.so.0 libgudev-230_1
libumockdev.so.0 libumockdev-0.17.6_1
libext2fs.so.2 e2fsprogs-libs-1.41.5_1
diff --git a/srcpkgs/libudev-zero-devel b/srcpkgs/libudev-zero-devel
new file mode 120000
index 000000000000..fa3977904232
--- /dev/null
+++ b/srcpkgs/libudev-zero-devel
@@ -0,0 +1 @@
+libudev-zero/
\ No newline at end of file
diff --git a/srcpkgs/libudev-zero-helper b/srcpkgs/libudev-zero-helper
new file mode 120000
index 000000000000..fa3977904232
--- /dev/null
+++ b/srcpkgs/libudev-zero-helper
@@ -0,0 +1 @@
+libudev-zero/
\ No newline at end of file
diff --git a/srcpkgs/libudev-zero/template b/srcpkgs/libudev-zero/template
new file mode 100644
index 000000000000..a001e8342262
--- /dev/null
+++ b/srcpkgs/libudev-zero/template
@@ -0,0 +1,44 @@
+# Template file for 'libudev-zero'
+pkgname=libudev-zero
+version=1.0.1
+revision=1
+_UDEV_VERSION=243
+build_style=gnu-makefile
+short_desc="Daemonless replacement for libudev"
+maintainer="dkwo <npiazza@disroot.org>"
+license="ISC"
+homepage="https://github.com/illiliti/libudev-zero"
+distfiles="https://github.com/illiliti/libudev-zero/archive/refs/tags/${version}.tar.gz"
+checksum=c4cf149ea96295c1e6e86038d10c725344c751982ed4a790b06c76776923e0ea
+make_check=no # no tests
+provides="libudev-${_UDEV_VERSION}_${revision}"
+conflicts="eudev-libudev>=3.2.11_1"
+
+post_build() {
+ "$CC" $LDFLAGS $CFLAGS $CPPFLAGS -o libudev-zero-helper contrib/helper.c
+}
+
+post_install() {
+ vlicense LICENSE
+}
+
+libudev-zero-devel_package() {
+ provides="libudev-devel-${_UDEV_VERSION}_${revision}"
+ conflicts="eudev-libudev-devel>=3.2.11_1"
+ depends="libudev-zero>=${version}_${revision}"
+ short_desc+=" - development files"
+ pkg_install() {
+ vmove usr/include
+ vmove usr/lib/pkgconfig
+ vmove "usr/lib/*.a"
+ vmove "usr/lib/*.so"
+ }
+}
+
+libudev-zero-helper_package() {
+ depends="libudev-zero>=${version}_${revision}"
+ short_desc+=" - helper"
+ pkg_install() {
+ vinstall libudev-zero-helper 755 usr/libexec
+ }
+}
^ permalink raw reply [flat|nested] 50+ messages in thread
* Re: [PR PATCH] [Updated] new package: libudev-zero
2023-02-27 16:49 [PR PATCH] [rfc] udev alternatives dkwo
` (26 preceding siblings ...)
2023-04-11 21:49 ` dkwo
@ 2023-04-21 21:34 ` dkwo
2023-04-24 18:24 ` dkwo
` (20 subsequent siblings)
48 siblings, 0 replies; 50+ messages in thread
From: dkwo @ 2023-04-21 21:34 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 674 bytes --]
There is an updated pull request by dkwo against master on the void-packages repository
https://github.com/dkwo/void-packages udev
https://github.com/void-linux/void-packages/pull/42488
new package: libudev-zero
https://github.com/illiliti/libudev-zero
- find optimal mdev.conf; current taken from kiss-linux, see also alpine and mdev-like-a-boss
- edit runit stage 1 script at void-linux/void-runit#106
- I tested the changes in this PR: no
- I built this PR locally for my native architecture, (x86_64-musl)
cc mantainer @mobinmob added a service and conf file to mdevd
A patch file from https://github.com/void-linux/void-packages/pull/42488.patch is attached
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-udev-42488.patch --]
[-- Type: text/x-diff, Size: 10883 bytes --]
From ac118c63651f00d682a47bc6bd256007a097d2f7 Mon Sep 17 00:00:00 2001
From: dkwo <nicolopiazzalunga@gmail.com>
Date: Fri, 24 Feb 2023 17:01:40 -0500
Subject: [PATCH 1/3] mdevd: add conf and service
---
srcpkgs/mdevd/files/mdev.conf | 70 +++++++++++++++++++++++++++++++++++
srcpkgs/mdevd/files/mdevd/run | 4 ++
srcpkgs/mdevd/template | 7 +++-
3 files changed, 79 insertions(+), 2 deletions(-)
create mode 100644 srcpkgs/mdevd/files/mdev.conf
create mode 100644 srcpkgs/mdevd/files/mdevd/run
diff --git a/srcpkgs/mdevd/files/mdev.conf b/srcpkgs/mdevd/files/mdev.conf
new file mode 100644
index 000000000000..0c88a022cdcc
--- /dev/null
+++ b/srcpkgs/mdevd/files/mdev.conf
@@ -0,0 +1,70 @@
+# Configuration based on 'mdev-like-a-boss'.
+# https://github.com/slashbeast/mdev-like-a-boss/blob/master/mdev.conf
+
+null root:root 666 @chmod 666 $MDEV
+zero root:root 666
+full root:root 666
+random root:root 444
+urandom root:root 444
+hwrandom root:root 444
+grsec root:root 660
+kmem root:root 640
+mem root:root 640
+
+port root:root 640
+console root:tty 600 @chmod 600 $MDEV
+ptmx root:tty 666
+pty.* root:tty 660
+tty root:tty 666
+tty[0-9]* root:tty 660
+vcsa*[0-9]* root:tty 660
+
+# Kernel based virtual machine.
+kvm root:kvm 660
+vhost-net root:kvm 660
+
+# Block devices.
+ram([0-9]*) root:disk 660 >rd/%1
+loop([0-9]+) root:disk 660 >loop/%1
+sr[0-9]* root:cdrom 660 @ln -sf $MDEV cdrom
+fd[0-9]* root:floppy 660
+
+net/tun[0-9]* root:kvm 660
+net/tap[0-9]* root:root 600
+fuse root:root 666
+agpgart root:root 660 >misc/
+psaux root:root 660 >misc/
+rtc root:root 664 >misc/
+
+# Audio stuff.
+adsp root:audio 660 >sound/
+audio root:audio 660 >sound/
+dsp root:audio 660 >sound/
+mixer root:audio 660 >sound/
+sequencer.* root:audio 660 >sound/
+snd/.* root:audio 660
+
+# Raid controllers.
+cciss!(.*) root:disk 660 =cciss/%1
+ida!(.*) root:disk 660 =ida/%1
+rd!(.*) root:disk 660 =rd/%1
+
+# Input stuff.
+SUBSYSTEM=input;.* root:input 660
+
+# Video stuff.
+card[0-9] root:video 660 =dri/
+vbi[0-9] root:video 660 >v4l/
+video[0-9] root:video 660 >v4l/
+dri/.* root:video 660
+
+# Don't create old usbdev* devices.
+usbdev[0-9].[0-9]* root:root 660 !
+
+# Stop creating x:x:x:x which looks like /dev/dm-*.
+[0-9]+\:[0-9]+\:[0-9]+\:[0-9]+ root:root 660 !
+
+# /dev/cpu support.
+microcode root:root 600 =cpu/
+cpu([0-9]+) root:root 600 =cpu/%1/cpuid
+msr([0-9]+) root:root 600 =cpu/%1/msr
diff --git a/srcpkgs/mdevd/files/mdevd/run b/srcpkgs/mdevd/files/mdevd/run
new file mode 100644
index 000000000000..3d95ad3a6850
--- /dev/null
+++ b/srcpkgs/mdevd/files/mdevd/run
@@ -0,0 +1,4 @@
+#!/bin/sh
+
+exec 2>&1
+exec mdevd -f /etc/mdev.conf -D 3 -b 200000 -O4
diff --git a/srcpkgs/mdevd/template b/srcpkgs/mdevd/template
index 15690b0ead37..3a3c113cfa3b 100644
--- a/srcpkgs/mdevd/template
+++ b/srcpkgs/mdevd/template
@@ -1,7 +1,7 @@
# Template file for 'mdevd'
pkgname=mdevd
version=0.1.6.2
-revision=1
+revision=2
build_style=configure
configure_args="--includedir=/usr/include --bindir=/usr/bin --libdir=/usr/lib
--with-sysdeps=${XBPS_CROSS_BASE}/usr/lib/skalibs/sysdeps
@@ -15,9 +15,10 @@ homepage="https://skarnet.org/software/mdevd/"
changelog="https://skarnet.org/software/mdevd/upgrade.html"
distfiles="https://skarnet.org/software/mdevd/mdevd-${version}.tar.gz"
checksum=ac2fcf9004f07904592c5894e2c401e15bb027ecf37bcb8ea661e2a7993447be
-
+conf_files="/etc/mdev.conf"
build_options="static"
desc_option_static="Build static binaries"
+make_check=no # no tests
case "$XBPS_TARGET_MACHINE" in
*-musl)
@@ -30,6 +31,8 @@ post_install() {
vlicense COPYING
vdoc README
vcopy "doc/*" usr/share/doc/${pkgname}
+ vsv mdevd
+ vcopy ${FILESDIR}/mdev.conf etc/mdev.conf
}
mdevd-doc_package() {
From a77794a167a9bc58216802c5f0168e501e222c5e Mon Sep 17 00:00:00 2001
From: dkwo <nicolopiazzalunga@gmail.com>
Date: Wed, 1 Mar 2023 17:07:50 -0500
Subject: [PATCH 2/3] runit-void: patch for udev
---
srcpkgs/runit-void/patches/udev.patch | 95 +++++++++++++++++++++++++++
srcpkgs/runit-void/template | 2 +-
2 files changed, 96 insertions(+), 1 deletion(-)
create mode 100644 srcpkgs/runit-void/patches/udev.patch
diff --git a/srcpkgs/runit-void/patches/udev.patch b/srcpkgs/runit-void/patches/udev.patch
new file mode 100644
index 000000000000..6583d87a38ab
--- /dev/null
+++ b/srcpkgs/runit-void/patches/udev.patch
@@ -0,0 +1,95 @@
+From 30be966515f6d766baa6d3da83c66efa66a9b725 Mon Sep 17 00:00:00 2001
+From: dkwo <nicolopiazzalunga@gmail.com>
+Date: Wed, 1 Mar 2023 15:42:53 -0500
+Subject: [PATCH] core-services/{02,99},rc.conf,shutdown.d/60: allow
+ alternative udevd
+
+---
+ core-services/02-udev.sh | 27 +++++++++++++--------------
+ core-services/99-cleanup.sh | 11 +++++++++++
+ rc.conf | 5 +++++
+ shutdown.d/60-udev.sh | 4 ----
+ 4 files changed, 29 insertions(+), 18 deletions(-)
+ delete mode 100644 shutdown.d/60-udev.sh
+
+diff --git a/core-services/02-udev.sh b/core-services/02-udev.sh
+index b08f8ca..2c46d55 100644
+--- a/core-services/02-udev.sh
++++ b/core-services/02-udev.sh
+@@ -2,18 +2,17 @@
+
+ [ -n "$VIRTUALIZATION" ] && return 0
+
+-if [ -x /usr/lib/systemd/systemd-udevd ]; then
+- _udevd=/usr/lib/systemd/systemd-udevd
+-elif [ -x /sbin/udevd -o -x /bin/udevd ]; then
+- _udevd=udevd
+-else
+- msg_warn "cannot find udevd!"
+-fi
++msg "Starting device manager and waiting for devices to settle..."
++case $CONFIG_DEV in
++ udevd)
++ udevd --daemon
++ udevadm trigger --action=add --type=subsystems
++ udevadm trigger --action=add --type=devices
++ udevadm settle
++ ;;
+
+-if [ -n "${_udevd}" ]; then
+- msg "Starting udev and waiting for devices to settle..."
+- ${_udevd} --daemon
+- udevadm trigger --action=add --type=subsystems
+- udevadm trigger --action=add --type=devices
+- udevadm settle
+-fi
++ mdevd)
++ mdevd & pid_mdevd=$!
++ mdevd-coldplug
++ ;;
++esac
+diff --git a/core-services/99-cleanup.sh b/core-services/99-cleanup.sh
+index f27f728..d9f3f98 100644
+--- a/core-services/99-cleanup.sh
++++ b/core-services/99-cleanup.sh
+@@ -8,3 +8,14 @@ if [ ! -e /var/log/btmp ]; then
+ fi
+ install -dm1777 /tmp/.X11-unix /tmp/.ICE-unix
+ rm -f /etc/nologin /forcefsck /forcequotacheck /fastboot
++
++msg "Killing device manager to make way for service..."
++case $CONFIG_DEV in
++ udevd)
++ udevadm control --exit
++ ;;
++
++ mdevd)
++ kill "$pid_mdevd"
++ ;;
++esac
+diff --git a/rc.conf b/rc.conf
+index aa3da51..8a5e9f4 100644
+--- a/rc.conf
++++ b/rc.conf
+@@ -45,3 +45,8 @@
+ # RNG, for example if you plan to replicate this file system image and do not
+ # have the wherewithal to first delete the contents of /var/lib/seedrng.
+ #SEEDRNG_SKIP_CREDIT=false
++
++# The device manager to run during the init process. This is killed once boot
++# is complete for a supervised version to take its place. Valid values are
++# currently 'mdevd' or 'udevd' (default).
++CONFIG_DEV=udevd
+diff --git a/shutdown.d/60-udev.sh b/shutdown.d/60-udev.sh
+deleted file mode 100644
+index dd42ff7..0000000
+--- a/shutdown.d/60-udev.sh
++++ /dev/null
+@@ -1,4 +0,0 @@
+-if [ -z "$VIRTUALIZATION" ]; then
+- msg "Stopping udev..."
+- udevadm control --exit
+-fi
+--
+2.40.0
+
diff --git a/srcpkgs/runit-void/template b/srcpkgs/runit-void/template
index 9c46593c7d58..207b7c08f0f7 100644
--- a/srcpkgs/runit-void/template
+++ b/srcpkgs/runit-void/template
@@ -1,7 +1,7 @@
# Template file for 'runit-void'
pkgname=runit-void
version=20230413
-revision=1
+revision=2
build_style=gnu-makefile
short_desc="Void Linux runit scripts"
maintainer="Enno Boland <gottox@voidlinux.org>"
From a74f61fac7d1bc677c75b805af11a6cc1e183d0e Mon Sep 17 00:00:00 2001
From: dkwo <nicolopiazzalunga@gmail.com>
Date: Fri, 24 Feb 2023 18:26:36 -0500
Subject: [PATCH 3/3] new package: libudev-zero
---
common/shlibs | 1 +
srcpkgs/libudev-zero-devel | 1 +
srcpkgs/libudev-zero-helper | 1 +
srcpkgs/libudev-zero/template | 44 +++++++++++++++++++++++++++++++++++
4 files changed, 47 insertions(+)
create mode 120000 srcpkgs/libudev-zero-devel
create mode 120000 srcpkgs/libudev-zero-helper
create mode 100644 srcpkgs/libudev-zero/template
diff --git a/common/shlibs b/common/shlibs
index 0b05cd99d6b3..4040b27ae218 100644
--- a/common/shlibs
+++ b/common/shlibs
@@ -218,6 +218,7 @@ libgirepository-gimarshallingtests-1.0.so libgirepository-1.30_1
libgirepository-everything-1.0.so libgirepository-1.30_1
libgirepository-1.0.so.1 libgirepository-1.30_1
libudev.so.1 eudev-libudev-1.6_1
+libudev.so.1 libudev-zero-1.0.1_1
libgudev-1.0.so.0 libgudev-230_1
libumockdev.so.0 libumockdev-0.17.6_1
libext2fs.so.2 e2fsprogs-libs-1.41.5_1
diff --git a/srcpkgs/libudev-zero-devel b/srcpkgs/libudev-zero-devel
new file mode 120000
index 000000000000..fa3977904232
--- /dev/null
+++ b/srcpkgs/libudev-zero-devel
@@ -0,0 +1 @@
+libudev-zero/
\ No newline at end of file
diff --git a/srcpkgs/libudev-zero-helper b/srcpkgs/libudev-zero-helper
new file mode 120000
index 000000000000..fa3977904232
--- /dev/null
+++ b/srcpkgs/libudev-zero-helper
@@ -0,0 +1 @@
+libudev-zero/
\ No newline at end of file
diff --git a/srcpkgs/libudev-zero/template b/srcpkgs/libudev-zero/template
new file mode 100644
index 000000000000..a001e8342262
--- /dev/null
+++ b/srcpkgs/libudev-zero/template
@@ -0,0 +1,44 @@
+# Template file for 'libudev-zero'
+pkgname=libudev-zero
+version=1.0.1
+revision=1
+_UDEV_VERSION=243
+build_style=gnu-makefile
+short_desc="Daemonless replacement for libudev"
+maintainer="dkwo <npiazza@disroot.org>"
+license="ISC"
+homepage="https://github.com/illiliti/libudev-zero"
+distfiles="https://github.com/illiliti/libudev-zero/archive/refs/tags/${version}.tar.gz"
+checksum=c4cf149ea96295c1e6e86038d10c725344c751982ed4a790b06c76776923e0ea
+make_check=no # no tests
+provides="libudev-${_UDEV_VERSION}_${revision}"
+conflicts="eudev-libudev>=3.2.11_1"
+
+post_build() {
+ "$CC" $LDFLAGS $CFLAGS $CPPFLAGS -o libudev-zero-helper contrib/helper.c
+}
+
+post_install() {
+ vlicense LICENSE
+}
+
+libudev-zero-devel_package() {
+ provides="libudev-devel-${_UDEV_VERSION}_${revision}"
+ conflicts="eudev-libudev-devel>=3.2.11_1"
+ depends="libudev-zero>=${version}_${revision}"
+ short_desc+=" - development files"
+ pkg_install() {
+ vmove usr/include
+ vmove usr/lib/pkgconfig
+ vmove "usr/lib/*.a"
+ vmove "usr/lib/*.so"
+ }
+}
+
+libudev-zero-helper_package() {
+ depends="libudev-zero>=${version}_${revision}"
+ short_desc+=" - helper"
+ pkg_install() {
+ vinstall libudev-zero-helper 755 usr/libexec
+ }
+}
^ permalink raw reply [flat|nested] 50+ messages in thread
* Re: [PR PATCH] [Updated] new package: libudev-zero
2023-02-27 16:49 [PR PATCH] [rfc] udev alternatives dkwo
` (27 preceding siblings ...)
2023-04-21 21:34 ` dkwo
@ 2023-04-24 18:24 ` dkwo
2023-04-26 14:11 ` dkwo
` (19 subsequent siblings)
48 siblings, 0 replies; 50+ messages in thread
From: dkwo @ 2023-04-24 18:24 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 674 bytes --]
There is an updated pull request by dkwo against master on the void-packages repository
https://github.com/dkwo/void-packages udev
https://github.com/void-linux/void-packages/pull/42488
new package: libudev-zero
https://github.com/illiliti/libudev-zero
- find optimal mdev.conf; current taken from kiss-linux, see also alpine and mdev-like-a-boss
- edit runit stage 1 script at void-linux/void-runit#106
- I tested the changes in this PR: no
- I built this PR locally for my native architecture, (x86_64-musl)
cc mantainer @mobinmob added a service and conf file to mdevd
A patch file from https://github.com/void-linux/void-packages/pull/42488.patch is attached
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-udev-42488.patch --]
[-- Type: text/x-diff, Size: 10883 bytes --]
From 5a81243455fabc5a670bedc9d5a5271bca842b7a Mon Sep 17 00:00:00 2001
From: dkwo <nicolopiazzalunga@gmail.com>
Date: Fri, 24 Feb 2023 17:01:40 -0500
Subject: [PATCH 1/3] mdevd: add conf and service
---
srcpkgs/mdevd/files/mdev.conf | 70 +++++++++++++++++++++++++++++++++++
srcpkgs/mdevd/files/mdevd/run | 4 ++
srcpkgs/mdevd/template | 7 +++-
3 files changed, 79 insertions(+), 2 deletions(-)
create mode 100644 srcpkgs/mdevd/files/mdev.conf
create mode 100644 srcpkgs/mdevd/files/mdevd/run
diff --git a/srcpkgs/mdevd/files/mdev.conf b/srcpkgs/mdevd/files/mdev.conf
new file mode 100644
index 000000000000..0c88a022cdcc
--- /dev/null
+++ b/srcpkgs/mdevd/files/mdev.conf
@@ -0,0 +1,70 @@
+# Configuration based on 'mdev-like-a-boss'.
+# https://github.com/slashbeast/mdev-like-a-boss/blob/master/mdev.conf
+
+null root:root 666 @chmod 666 $MDEV
+zero root:root 666
+full root:root 666
+random root:root 444
+urandom root:root 444
+hwrandom root:root 444
+grsec root:root 660
+kmem root:root 640
+mem root:root 640
+
+port root:root 640
+console root:tty 600 @chmod 600 $MDEV
+ptmx root:tty 666
+pty.* root:tty 660
+tty root:tty 666
+tty[0-9]* root:tty 660
+vcsa*[0-9]* root:tty 660
+
+# Kernel based virtual machine.
+kvm root:kvm 660
+vhost-net root:kvm 660
+
+# Block devices.
+ram([0-9]*) root:disk 660 >rd/%1
+loop([0-9]+) root:disk 660 >loop/%1
+sr[0-9]* root:cdrom 660 @ln -sf $MDEV cdrom
+fd[0-9]* root:floppy 660
+
+net/tun[0-9]* root:kvm 660
+net/tap[0-9]* root:root 600
+fuse root:root 666
+agpgart root:root 660 >misc/
+psaux root:root 660 >misc/
+rtc root:root 664 >misc/
+
+# Audio stuff.
+adsp root:audio 660 >sound/
+audio root:audio 660 >sound/
+dsp root:audio 660 >sound/
+mixer root:audio 660 >sound/
+sequencer.* root:audio 660 >sound/
+snd/.* root:audio 660
+
+# Raid controllers.
+cciss!(.*) root:disk 660 =cciss/%1
+ida!(.*) root:disk 660 =ida/%1
+rd!(.*) root:disk 660 =rd/%1
+
+# Input stuff.
+SUBSYSTEM=input;.* root:input 660
+
+# Video stuff.
+card[0-9] root:video 660 =dri/
+vbi[0-9] root:video 660 >v4l/
+video[0-9] root:video 660 >v4l/
+dri/.* root:video 660
+
+# Don't create old usbdev* devices.
+usbdev[0-9].[0-9]* root:root 660 !
+
+# Stop creating x:x:x:x which looks like /dev/dm-*.
+[0-9]+\:[0-9]+\:[0-9]+\:[0-9]+ root:root 660 !
+
+# /dev/cpu support.
+microcode root:root 600 =cpu/
+cpu([0-9]+) root:root 600 =cpu/%1/cpuid
+msr([0-9]+) root:root 600 =cpu/%1/msr
diff --git a/srcpkgs/mdevd/files/mdevd/run b/srcpkgs/mdevd/files/mdevd/run
new file mode 100644
index 000000000000..3d95ad3a6850
--- /dev/null
+++ b/srcpkgs/mdevd/files/mdevd/run
@@ -0,0 +1,4 @@
+#!/bin/sh
+
+exec 2>&1
+exec mdevd -f /etc/mdev.conf -D 3 -b 200000 -O4
diff --git a/srcpkgs/mdevd/template b/srcpkgs/mdevd/template
index 15690b0ead37..3a3c113cfa3b 100644
--- a/srcpkgs/mdevd/template
+++ b/srcpkgs/mdevd/template
@@ -1,7 +1,7 @@
# Template file for 'mdevd'
pkgname=mdevd
version=0.1.6.2
-revision=1
+revision=2
build_style=configure
configure_args="--includedir=/usr/include --bindir=/usr/bin --libdir=/usr/lib
--with-sysdeps=${XBPS_CROSS_BASE}/usr/lib/skalibs/sysdeps
@@ -15,9 +15,10 @@ homepage="https://skarnet.org/software/mdevd/"
changelog="https://skarnet.org/software/mdevd/upgrade.html"
distfiles="https://skarnet.org/software/mdevd/mdevd-${version}.tar.gz"
checksum=ac2fcf9004f07904592c5894e2c401e15bb027ecf37bcb8ea661e2a7993447be
-
+conf_files="/etc/mdev.conf"
build_options="static"
desc_option_static="Build static binaries"
+make_check=no # no tests
case "$XBPS_TARGET_MACHINE" in
*-musl)
@@ -30,6 +31,8 @@ post_install() {
vlicense COPYING
vdoc README
vcopy "doc/*" usr/share/doc/${pkgname}
+ vsv mdevd
+ vcopy ${FILESDIR}/mdev.conf etc/mdev.conf
}
mdevd-doc_package() {
From dac598d55b4611039444d76146e9a0bd1ab73f5a Mon Sep 17 00:00:00 2001
From: dkwo <nicolopiazzalunga@gmail.com>
Date: Wed, 1 Mar 2023 17:07:50 -0500
Subject: [PATCH 2/3] runit-void: patch for udev
---
srcpkgs/runit-void/patches/udev.patch | 95 +++++++++++++++++++++++++++
srcpkgs/runit-void/template | 2 +-
2 files changed, 96 insertions(+), 1 deletion(-)
create mode 100644 srcpkgs/runit-void/patches/udev.patch
diff --git a/srcpkgs/runit-void/patches/udev.patch b/srcpkgs/runit-void/patches/udev.patch
new file mode 100644
index 000000000000..6583d87a38ab
--- /dev/null
+++ b/srcpkgs/runit-void/patches/udev.patch
@@ -0,0 +1,95 @@
+From 30be966515f6d766baa6d3da83c66efa66a9b725 Mon Sep 17 00:00:00 2001
+From: dkwo <nicolopiazzalunga@gmail.com>
+Date: Wed, 1 Mar 2023 15:42:53 -0500
+Subject: [PATCH] core-services/{02,99},rc.conf,shutdown.d/60: allow
+ alternative udevd
+
+---
+ core-services/02-udev.sh | 27 +++++++++++++--------------
+ core-services/99-cleanup.sh | 11 +++++++++++
+ rc.conf | 5 +++++
+ shutdown.d/60-udev.sh | 4 ----
+ 4 files changed, 29 insertions(+), 18 deletions(-)
+ delete mode 100644 shutdown.d/60-udev.sh
+
+diff --git a/core-services/02-udev.sh b/core-services/02-udev.sh
+index b08f8ca..2c46d55 100644
+--- a/core-services/02-udev.sh
++++ b/core-services/02-udev.sh
+@@ -2,18 +2,17 @@
+
+ [ -n "$VIRTUALIZATION" ] && return 0
+
+-if [ -x /usr/lib/systemd/systemd-udevd ]; then
+- _udevd=/usr/lib/systemd/systemd-udevd
+-elif [ -x /sbin/udevd -o -x /bin/udevd ]; then
+- _udevd=udevd
+-else
+- msg_warn "cannot find udevd!"
+-fi
++msg "Starting device manager and waiting for devices to settle..."
++case $CONFIG_DEV in
++ udevd)
++ udevd --daemon
++ udevadm trigger --action=add --type=subsystems
++ udevadm trigger --action=add --type=devices
++ udevadm settle
++ ;;
+
+-if [ -n "${_udevd}" ]; then
+- msg "Starting udev and waiting for devices to settle..."
+- ${_udevd} --daemon
+- udevadm trigger --action=add --type=subsystems
+- udevadm trigger --action=add --type=devices
+- udevadm settle
+-fi
++ mdevd)
++ mdevd & pid_mdevd=$!
++ mdevd-coldplug
++ ;;
++esac
+diff --git a/core-services/99-cleanup.sh b/core-services/99-cleanup.sh
+index f27f728..d9f3f98 100644
+--- a/core-services/99-cleanup.sh
++++ b/core-services/99-cleanup.sh
+@@ -8,3 +8,14 @@ if [ ! -e /var/log/btmp ]; then
+ fi
+ install -dm1777 /tmp/.X11-unix /tmp/.ICE-unix
+ rm -f /etc/nologin /forcefsck /forcequotacheck /fastboot
++
++msg "Killing device manager to make way for service..."
++case $CONFIG_DEV in
++ udevd)
++ udevadm control --exit
++ ;;
++
++ mdevd)
++ kill "$pid_mdevd"
++ ;;
++esac
+diff --git a/rc.conf b/rc.conf
+index aa3da51..8a5e9f4 100644
+--- a/rc.conf
++++ b/rc.conf
+@@ -45,3 +45,8 @@
+ # RNG, for example if you plan to replicate this file system image and do not
+ # have the wherewithal to first delete the contents of /var/lib/seedrng.
+ #SEEDRNG_SKIP_CREDIT=false
++
++# The device manager to run during the init process. This is killed once boot
++# is complete for a supervised version to take its place. Valid values are
++# currently 'mdevd' or 'udevd' (default).
++CONFIG_DEV=udevd
+diff --git a/shutdown.d/60-udev.sh b/shutdown.d/60-udev.sh
+deleted file mode 100644
+index dd42ff7..0000000
+--- a/shutdown.d/60-udev.sh
++++ /dev/null
+@@ -1,4 +0,0 @@
+-if [ -z "$VIRTUALIZATION" ]; then
+- msg "Stopping udev..."
+- udevadm control --exit
+-fi
+--
+2.40.0
+
diff --git a/srcpkgs/runit-void/template b/srcpkgs/runit-void/template
index 9c46593c7d58..207b7c08f0f7 100644
--- a/srcpkgs/runit-void/template
+++ b/srcpkgs/runit-void/template
@@ -1,7 +1,7 @@
# Template file for 'runit-void'
pkgname=runit-void
version=20230413
-revision=1
+revision=2
build_style=gnu-makefile
short_desc="Void Linux runit scripts"
maintainer="Enno Boland <gottox@voidlinux.org>"
From d5c934271f6ec836a97b5b0dfa198d19b63c948f Mon Sep 17 00:00:00 2001
From: dkwo <nicolopiazzalunga@gmail.com>
Date: Fri, 24 Feb 2023 18:26:36 -0500
Subject: [PATCH 3/3] new package: libudev-zero
---
common/shlibs | 1 +
srcpkgs/libudev-zero-devel | 1 +
srcpkgs/libudev-zero-helper | 1 +
srcpkgs/libudev-zero/template | 44 +++++++++++++++++++++++++++++++++++
4 files changed, 47 insertions(+)
create mode 120000 srcpkgs/libudev-zero-devel
create mode 120000 srcpkgs/libudev-zero-helper
create mode 100644 srcpkgs/libudev-zero/template
diff --git a/common/shlibs b/common/shlibs
index 21cafd798519..6f5b8c10659e 100644
--- a/common/shlibs
+++ b/common/shlibs
@@ -218,6 +218,7 @@ libgirepository-gimarshallingtests-1.0.so libgirepository-1.30_1
libgirepository-everything-1.0.so libgirepository-1.30_1
libgirepository-1.0.so.1 libgirepository-1.30_1
libudev.so.1 eudev-libudev-1.6_1
+libudev.so.1 libudev-zero-1.0.1_1
libgudev-1.0.so.0 libgudev-230_1
libumockdev.so.0 libumockdev-0.17.6_1
libext2fs.so.2 e2fsprogs-libs-1.41.5_1
diff --git a/srcpkgs/libudev-zero-devel b/srcpkgs/libudev-zero-devel
new file mode 120000
index 000000000000..fa3977904232
--- /dev/null
+++ b/srcpkgs/libudev-zero-devel
@@ -0,0 +1 @@
+libudev-zero/
\ No newline at end of file
diff --git a/srcpkgs/libudev-zero-helper b/srcpkgs/libudev-zero-helper
new file mode 120000
index 000000000000..fa3977904232
--- /dev/null
+++ b/srcpkgs/libudev-zero-helper
@@ -0,0 +1 @@
+libudev-zero/
\ No newline at end of file
diff --git a/srcpkgs/libudev-zero/template b/srcpkgs/libudev-zero/template
new file mode 100644
index 000000000000..9b4f9b8bc095
--- /dev/null
+++ b/srcpkgs/libudev-zero/template
@@ -0,0 +1,44 @@
+# Template file for 'libudev-zero'
+pkgname=libudev-zero
+version=1.0.2
+revision=1
+_UDEV_VERSION=243
+build_style=gnu-makefile
+short_desc="Daemonless replacement for libudev"
+maintainer="dkwo <npiazza@disroot.org>"
+license="ISC"
+homepage="https://github.com/illiliti/libudev-zero"
+distfiles="https://github.com/illiliti/libudev-zero/archive/refs/tags/${version}.tar.gz"
+checksum=29dff942cab9519994fb92ba6407f57e08d3dd6e6c0b86bb93d7b1d681994ff8
+make_check=no # no tests
+provides="libudev-${_UDEV_VERSION}_${revision}"
+conflicts="eudev-libudev>=3.2.11_1"
+
+post_build() {
+ "$CC" $LDFLAGS $CFLAGS $CPPFLAGS -o libudev-zero-helper contrib/helper.c
+}
+
+post_install() {
+ vlicense LICENSE
+}
+
+libudev-zero-devel_package() {
+ provides="libudev-devel-${_UDEV_VERSION}_${revision}"
+ conflicts="eudev-libudev-devel>=3.2.11_1"
+ depends="libudev-zero>=${version}_${revision}"
+ short_desc+=" - development files"
+ pkg_install() {
+ vmove usr/include
+ vmove usr/lib/pkgconfig
+ vmove "usr/lib/*.a"
+ vmove "usr/lib/*.so"
+ }
+}
+
+libudev-zero-helper_package() {
+ depends="libudev-zero>=${version}_${revision}"
+ short_desc+=" - helper"
+ pkg_install() {
+ vinstall libudev-zero-helper 755 usr/libexec
+ }
+}
^ permalink raw reply [flat|nested] 50+ messages in thread
* Re: [PR PATCH] [Updated] new package: libudev-zero
2023-02-27 16:49 [PR PATCH] [rfc] udev alternatives dkwo
` (28 preceding siblings ...)
2023-04-24 18:24 ` dkwo
@ 2023-04-26 14:11 ` dkwo
2023-04-26 14:19 ` dkwo
` (18 subsequent siblings)
48 siblings, 0 replies; 50+ messages in thread
From: dkwo @ 2023-04-26 14:11 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 674 bytes --]
There is an updated pull request by dkwo against master on the void-packages repository
https://github.com/dkwo/void-packages udev
https://github.com/void-linux/void-packages/pull/42488
new package: libudev-zero
https://github.com/illiliti/libudev-zero
- find optimal mdev.conf; current taken from kiss-linux, see also alpine and mdev-like-a-boss
- edit runit stage 1 script at void-linux/void-runit#106
- I tested the changes in this PR: no
- I built this PR locally for my native architecture, (x86_64-musl)
cc mantainer @mobinmob added a service and conf file to mdevd
A patch file from https://github.com/void-linux/void-packages/pull/42488.patch is attached
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-udev-42488.patch --]
[-- Type: text/x-diff, Size: 10883 bytes --]
From 0afa56e1524028e16f72df47ad97aaaea8a04831 Mon Sep 17 00:00:00 2001
From: dkwo <nicolopiazzalunga@gmail.com>
Date: Fri, 24 Feb 2023 17:01:40 -0500
Subject: [PATCH 1/3] mdevd: add conf and service
---
srcpkgs/mdevd/files/mdev.conf | 70 +++++++++++++++++++++++++++++++++++
srcpkgs/mdevd/files/mdevd/run | 4 ++
srcpkgs/mdevd/template | 7 +++-
3 files changed, 79 insertions(+), 2 deletions(-)
create mode 100644 srcpkgs/mdevd/files/mdev.conf
create mode 100644 srcpkgs/mdevd/files/mdevd/run
diff --git a/srcpkgs/mdevd/files/mdev.conf b/srcpkgs/mdevd/files/mdev.conf
new file mode 100644
index 000000000000..0c88a022cdcc
--- /dev/null
+++ b/srcpkgs/mdevd/files/mdev.conf
@@ -0,0 +1,70 @@
+# Configuration based on 'mdev-like-a-boss'.
+# https://github.com/slashbeast/mdev-like-a-boss/blob/master/mdev.conf
+
+null root:root 666 @chmod 666 $MDEV
+zero root:root 666
+full root:root 666
+random root:root 444
+urandom root:root 444
+hwrandom root:root 444
+grsec root:root 660
+kmem root:root 640
+mem root:root 640
+
+port root:root 640
+console root:tty 600 @chmod 600 $MDEV
+ptmx root:tty 666
+pty.* root:tty 660
+tty root:tty 666
+tty[0-9]* root:tty 660
+vcsa*[0-9]* root:tty 660
+
+# Kernel based virtual machine.
+kvm root:kvm 660
+vhost-net root:kvm 660
+
+# Block devices.
+ram([0-9]*) root:disk 660 >rd/%1
+loop([0-9]+) root:disk 660 >loop/%1
+sr[0-9]* root:cdrom 660 @ln -sf $MDEV cdrom
+fd[0-9]* root:floppy 660
+
+net/tun[0-9]* root:kvm 660
+net/tap[0-9]* root:root 600
+fuse root:root 666
+agpgart root:root 660 >misc/
+psaux root:root 660 >misc/
+rtc root:root 664 >misc/
+
+# Audio stuff.
+adsp root:audio 660 >sound/
+audio root:audio 660 >sound/
+dsp root:audio 660 >sound/
+mixer root:audio 660 >sound/
+sequencer.* root:audio 660 >sound/
+snd/.* root:audio 660
+
+# Raid controllers.
+cciss!(.*) root:disk 660 =cciss/%1
+ida!(.*) root:disk 660 =ida/%1
+rd!(.*) root:disk 660 =rd/%1
+
+# Input stuff.
+SUBSYSTEM=input;.* root:input 660
+
+# Video stuff.
+card[0-9] root:video 660 =dri/
+vbi[0-9] root:video 660 >v4l/
+video[0-9] root:video 660 >v4l/
+dri/.* root:video 660
+
+# Don't create old usbdev* devices.
+usbdev[0-9].[0-9]* root:root 660 !
+
+# Stop creating x:x:x:x which looks like /dev/dm-*.
+[0-9]+\:[0-9]+\:[0-9]+\:[0-9]+ root:root 660 !
+
+# /dev/cpu support.
+microcode root:root 600 =cpu/
+cpu([0-9]+) root:root 600 =cpu/%1/cpuid
+msr([0-9]+) root:root 600 =cpu/%1/msr
diff --git a/srcpkgs/mdevd/files/mdevd/run b/srcpkgs/mdevd/files/mdevd/run
new file mode 100644
index 000000000000..3d95ad3a6850
--- /dev/null
+++ b/srcpkgs/mdevd/files/mdevd/run
@@ -0,0 +1,4 @@
+#!/bin/sh
+
+exec 2>&1
+exec mdevd -f /etc/mdev.conf -D 3 -b 200000 -O4
diff --git a/srcpkgs/mdevd/template b/srcpkgs/mdevd/template
index 15690b0ead37..3a3c113cfa3b 100644
--- a/srcpkgs/mdevd/template
+++ b/srcpkgs/mdevd/template
@@ -1,7 +1,7 @@
# Template file for 'mdevd'
pkgname=mdevd
version=0.1.6.2
-revision=1
+revision=2
build_style=configure
configure_args="--includedir=/usr/include --bindir=/usr/bin --libdir=/usr/lib
--with-sysdeps=${XBPS_CROSS_BASE}/usr/lib/skalibs/sysdeps
@@ -15,9 +15,10 @@ homepage="https://skarnet.org/software/mdevd/"
changelog="https://skarnet.org/software/mdevd/upgrade.html"
distfiles="https://skarnet.org/software/mdevd/mdevd-${version}.tar.gz"
checksum=ac2fcf9004f07904592c5894e2c401e15bb027ecf37bcb8ea661e2a7993447be
-
+conf_files="/etc/mdev.conf"
build_options="static"
desc_option_static="Build static binaries"
+make_check=no # no tests
case "$XBPS_TARGET_MACHINE" in
*-musl)
@@ -30,6 +31,8 @@ post_install() {
vlicense COPYING
vdoc README
vcopy "doc/*" usr/share/doc/${pkgname}
+ vsv mdevd
+ vcopy ${FILESDIR}/mdev.conf etc/mdev.conf
}
mdevd-doc_package() {
From 900ddeba8affd133860c60a809fa39abc515487d Mon Sep 17 00:00:00 2001
From: dkwo <nicolopiazzalunga@gmail.com>
Date: Wed, 1 Mar 2023 17:07:50 -0500
Subject: [PATCH 2/3] runit-void: patch for udev
---
srcpkgs/runit-void/patches/udev.patch | 95 +++++++++++++++++++++++++++
srcpkgs/runit-void/template | 2 +-
2 files changed, 96 insertions(+), 1 deletion(-)
create mode 100644 srcpkgs/runit-void/patches/udev.patch
diff --git a/srcpkgs/runit-void/patches/udev.patch b/srcpkgs/runit-void/patches/udev.patch
new file mode 100644
index 000000000000..6583d87a38ab
--- /dev/null
+++ b/srcpkgs/runit-void/patches/udev.patch
@@ -0,0 +1,95 @@
+From 30be966515f6d766baa6d3da83c66efa66a9b725 Mon Sep 17 00:00:00 2001
+From: dkwo <nicolopiazzalunga@gmail.com>
+Date: Wed, 1 Mar 2023 15:42:53 -0500
+Subject: [PATCH] core-services/{02,99},rc.conf,shutdown.d/60: allow
+ alternative udevd
+
+---
+ core-services/02-udev.sh | 27 +++++++++++++--------------
+ core-services/99-cleanup.sh | 11 +++++++++++
+ rc.conf | 5 +++++
+ shutdown.d/60-udev.sh | 4 ----
+ 4 files changed, 29 insertions(+), 18 deletions(-)
+ delete mode 100644 shutdown.d/60-udev.sh
+
+diff --git a/core-services/02-udev.sh b/core-services/02-udev.sh
+index b08f8ca..2c46d55 100644
+--- a/core-services/02-udev.sh
++++ b/core-services/02-udev.sh
+@@ -2,18 +2,17 @@
+
+ [ -n "$VIRTUALIZATION" ] && return 0
+
+-if [ -x /usr/lib/systemd/systemd-udevd ]; then
+- _udevd=/usr/lib/systemd/systemd-udevd
+-elif [ -x /sbin/udevd -o -x /bin/udevd ]; then
+- _udevd=udevd
+-else
+- msg_warn "cannot find udevd!"
+-fi
++msg "Starting device manager and waiting for devices to settle..."
++case $CONFIG_DEV in
++ udevd)
++ udevd --daemon
++ udevadm trigger --action=add --type=subsystems
++ udevadm trigger --action=add --type=devices
++ udevadm settle
++ ;;
+
+-if [ -n "${_udevd}" ]; then
+- msg "Starting udev and waiting for devices to settle..."
+- ${_udevd} --daemon
+- udevadm trigger --action=add --type=subsystems
+- udevadm trigger --action=add --type=devices
+- udevadm settle
+-fi
++ mdevd)
++ mdevd & pid_mdevd=$!
++ mdevd-coldplug
++ ;;
++esac
+diff --git a/core-services/99-cleanup.sh b/core-services/99-cleanup.sh
+index f27f728..d9f3f98 100644
+--- a/core-services/99-cleanup.sh
++++ b/core-services/99-cleanup.sh
+@@ -8,3 +8,14 @@ if [ ! -e /var/log/btmp ]; then
+ fi
+ install -dm1777 /tmp/.X11-unix /tmp/.ICE-unix
+ rm -f /etc/nologin /forcefsck /forcequotacheck /fastboot
++
++msg "Killing device manager to make way for service..."
++case $CONFIG_DEV in
++ udevd)
++ udevadm control --exit
++ ;;
++
++ mdevd)
++ kill "$pid_mdevd"
++ ;;
++esac
+diff --git a/rc.conf b/rc.conf
+index aa3da51..8a5e9f4 100644
+--- a/rc.conf
++++ b/rc.conf
+@@ -45,3 +45,8 @@
+ # RNG, for example if you plan to replicate this file system image and do not
+ # have the wherewithal to first delete the contents of /var/lib/seedrng.
+ #SEEDRNG_SKIP_CREDIT=false
++
++# The device manager to run during the init process. This is killed once boot
++# is complete for a supervised version to take its place. Valid values are
++# currently 'mdevd' or 'udevd' (default).
++CONFIG_DEV=udevd
+diff --git a/shutdown.d/60-udev.sh b/shutdown.d/60-udev.sh
+deleted file mode 100644
+index dd42ff7..0000000
+--- a/shutdown.d/60-udev.sh
++++ /dev/null
+@@ -1,4 +0,0 @@
+-if [ -z "$VIRTUALIZATION" ]; then
+- msg "Stopping udev..."
+- udevadm control --exit
+-fi
+--
+2.40.0
+
diff --git a/srcpkgs/runit-void/template b/srcpkgs/runit-void/template
index 9c46593c7d58..207b7c08f0f7 100644
--- a/srcpkgs/runit-void/template
+++ b/srcpkgs/runit-void/template
@@ -1,7 +1,7 @@
# Template file for 'runit-void'
pkgname=runit-void
version=20230413
-revision=1
+revision=2
build_style=gnu-makefile
short_desc="Void Linux runit scripts"
maintainer="Enno Boland <gottox@voidlinux.org>"
From e41000590cbab316f5e11328a8163a92fb480a02 Mon Sep 17 00:00:00 2001
From: dkwo <nicolopiazzalunga@gmail.com>
Date: Fri, 24 Feb 2023 18:26:36 -0500
Subject: [PATCH 3/3] new package: libudev-zero
---
common/shlibs | 1 +
srcpkgs/libudev-zero-devel | 1 +
srcpkgs/libudev-zero-helper | 1 +
srcpkgs/libudev-zero/template | 44 +++++++++++++++++++++++++++++++++++
4 files changed, 47 insertions(+)
create mode 120000 srcpkgs/libudev-zero-devel
create mode 120000 srcpkgs/libudev-zero-helper
create mode 100644 srcpkgs/libudev-zero/template
diff --git a/common/shlibs b/common/shlibs
index 3f37bcd7614e..23aad9502d83 100644
--- a/common/shlibs
+++ b/common/shlibs
@@ -218,6 +218,7 @@ libgirepository-gimarshallingtests-1.0.so libgirepository-1.30_1
libgirepository-everything-1.0.so libgirepository-1.30_1
libgirepository-1.0.so.1 libgirepository-1.30_1
libudev.so.1 eudev-libudev-1.6_1
+libudev.so.1 libudev-zero-1.0.1_1
libgudev-1.0.so.0 libgudev-230_1
libumockdev.so.0 libumockdev-0.17.6_1
libext2fs.so.2 e2fsprogs-libs-1.41.5_1
diff --git a/srcpkgs/libudev-zero-devel b/srcpkgs/libudev-zero-devel
new file mode 120000
index 000000000000..fa3977904232
--- /dev/null
+++ b/srcpkgs/libudev-zero-devel
@@ -0,0 +1 @@
+libudev-zero/
\ No newline at end of file
diff --git a/srcpkgs/libudev-zero-helper b/srcpkgs/libudev-zero-helper
new file mode 120000
index 000000000000..fa3977904232
--- /dev/null
+++ b/srcpkgs/libudev-zero-helper
@@ -0,0 +1 @@
+libudev-zero/
\ No newline at end of file
diff --git a/srcpkgs/libudev-zero/template b/srcpkgs/libudev-zero/template
new file mode 100644
index 000000000000..9b4f9b8bc095
--- /dev/null
+++ b/srcpkgs/libudev-zero/template
@@ -0,0 +1,44 @@
+# Template file for 'libudev-zero'
+pkgname=libudev-zero
+version=1.0.2
+revision=1
+_UDEV_VERSION=243
+build_style=gnu-makefile
+short_desc="Daemonless replacement for libudev"
+maintainer="dkwo <npiazza@disroot.org>"
+license="ISC"
+homepage="https://github.com/illiliti/libudev-zero"
+distfiles="https://github.com/illiliti/libudev-zero/archive/refs/tags/${version}.tar.gz"
+checksum=29dff942cab9519994fb92ba6407f57e08d3dd6e6c0b86bb93d7b1d681994ff8
+make_check=no # no tests
+provides="libudev-${_UDEV_VERSION}_${revision}"
+conflicts="eudev-libudev>=3.2.11_1"
+
+post_build() {
+ "$CC" $LDFLAGS $CFLAGS $CPPFLAGS -o libudev-zero-helper contrib/helper.c
+}
+
+post_install() {
+ vlicense LICENSE
+}
+
+libudev-zero-devel_package() {
+ provides="libudev-devel-${_UDEV_VERSION}_${revision}"
+ conflicts="eudev-libudev-devel>=3.2.11_1"
+ depends="libudev-zero>=${version}_${revision}"
+ short_desc+=" - development files"
+ pkg_install() {
+ vmove usr/include
+ vmove usr/lib/pkgconfig
+ vmove "usr/lib/*.a"
+ vmove "usr/lib/*.so"
+ }
+}
+
+libudev-zero-helper_package() {
+ depends="libudev-zero>=${version}_${revision}"
+ short_desc+=" - helper"
+ pkg_install() {
+ vinstall libudev-zero-helper 755 usr/libexec
+ }
+}
^ permalink raw reply [flat|nested] 50+ messages in thread
* Re: new package: libudev-zero
2023-02-27 16:49 [PR PATCH] [rfc] udev alternatives dkwo
` (29 preceding siblings ...)
2023-04-26 14:11 ` dkwo
@ 2023-04-26 14:19 ` dkwo
2023-04-26 17:41 ` mobinmob
` (17 subsequent siblings)
48 siblings, 0 replies; 50+ messages in thread
From: dkwo @ 2023-04-26 14:19 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 492 bytes --]
New comment by dkwo on void-packages repository
https://github.com/void-linux/void-packages/pull/42488#issuecomment-1523503672
Comment:
Using tinyramfs, this works in the initram as well as runit stage 1 (only a minor issue with home on lvm, probably my bad).
@mobinmob can you include the mdevd commit in the skarnet update? it adds a service and config file (which you can edit).
I don't know yet know to use libudev-zero for building other packages, as a replacement of eudev-libudev.
^ permalink raw reply [flat|nested] 50+ messages in thread
* Re: new package: libudev-zero
2023-02-27 16:49 [PR PATCH] [rfc] udev alternatives dkwo
` (30 preceding siblings ...)
2023-04-26 14:19 ` dkwo
@ 2023-04-26 17:41 ` mobinmob
2023-04-26 17:42 ` mobinmob
` (16 subsequent siblings)
48 siblings, 0 replies; 50+ messages in thread
From: mobinmob @ 2023-04-26 17:41 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 807 bytes --]
New comment by mobinmob on void-packages repository
https://github.com/void-linux/void-packages/pull/42488#issuecomment-1523814613
Comment:
> Using tinyramfs, this works in the initram as well as runit stage 1 (only a minor issue with home on lvm, probably my bad).
Nice progress!
I think lvm2 does not work properly- maybe it can be rebuild without the libudev dependency?
From the upstream README:
`- lvm2 - uses deprecated udev_queue API`
> @mobinmob can you include the mdevd commit in the skarnet update? it adds a service and config file (which you can edit).
Thanks, will take care of it tomorrow.
> I don't know yet know to use libudev-zero for building other packages, as a replacement of eudev-libudev.
See if an option to build with either libudev-zero or eudev-libudev makes sense.
^ permalink raw reply [flat|nested] 50+ messages in thread
* Re: new package: libudev-zero
2023-02-27 16:49 [PR PATCH] [rfc] udev alternatives dkwo
` (31 preceding siblings ...)
2023-04-26 17:41 ` mobinmob
@ 2023-04-26 17:42 ` mobinmob
2023-04-29 15:09 ` [PR PATCH] [Updated] [WIP] " dkwo
` (15 subsequent siblings)
48 siblings, 0 replies; 50+ messages in thread
From: mobinmob @ 2023-04-26 17:42 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 814 bytes --]
New comment by mobinmob on void-packages repository
https://github.com/void-linux/void-packages/pull/42488#issuecomment-1523814613
Comment:
> Using tinyramfs, this works in the initram as well as runit stage 1 (only a minor issue with home on lvm, probably my bad).
Nice progress!
I think lvm2 does not work properly- maybe it can be rebuild without the libudev dependency?
From the upstream README:
`- lvm2 - uses deprecated udev_queue API`
> @mobinmob can you include the mdevd commit in the skarnet update? it adds a service and config file (which you can edit).
Thanks, will try to take care of it tomorrow.
> I don't know yet know to use libudev-zero for building other packages, as a replacement of eudev-libudev.
See if an option to build with either libudev-zero or eudev-libudev makes sense.
^ permalink raw reply [flat|nested] 50+ messages in thread
* Re: [PR PATCH] [Updated] [WIP] new package: libudev-zero
2023-02-27 16:49 [PR PATCH] [rfc] udev alternatives dkwo
` (32 preceding siblings ...)
2023-04-26 17:42 ` mobinmob
@ 2023-04-29 15:09 ` dkwo
2023-04-29 15:17 ` dkwo
` (14 subsequent siblings)
48 siblings, 0 replies; 50+ messages in thread
From: dkwo @ 2023-04-29 15:09 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 642 bytes --]
There is an updated pull request by dkwo against master on the void-packages repository
https://github.com/dkwo/void-packages udev
https://github.com/void-linux/void-packages/pull/42488
[WIP] new package: libudev-zero
https://github.com/illiliti/libudev-zero
- find optimal mdev.conf; current taken from kiss-linux, see also alpine and mdev-like-a-boss
- edit runit stage 1 script at void-linux/void-runit#106
- I tested the changes in this PR: initram and init scripts only
- I built this PR locally for my native architecture, (x86_64-musl)
A patch file from https://github.com/void-linux/void-packages/pull/42488.patch is attached
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-udev-42488.patch --]
[-- Type: text/x-diff, Size: 10928 bytes --]
From 2ecb16ab0464bc82f8deb0787cfa8f488a0822ce Mon Sep 17 00:00:00 2001
From: dkwo <nicolopiazzalunga@gmail.com>
Date: Fri, 24 Feb 2023 17:01:40 -0500
Subject: [PATCH 1/3] mdevd: add conf and service
---
srcpkgs/mdevd/files/mdev.conf | 70 +++++++++++++++++++++++++++++++++++
srcpkgs/mdevd/files/mdevd/run | 4 ++
srcpkgs/mdevd/template | 7 +++-
3 files changed, 79 insertions(+), 2 deletions(-)
create mode 100644 srcpkgs/mdevd/files/mdev.conf
create mode 100644 srcpkgs/mdevd/files/mdevd/run
diff --git a/srcpkgs/mdevd/files/mdev.conf b/srcpkgs/mdevd/files/mdev.conf
new file mode 100644
index 000000000000..0c88a022cdcc
--- /dev/null
+++ b/srcpkgs/mdevd/files/mdev.conf
@@ -0,0 +1,70 @@
+# Configuration based on 'mdev-like-a-boss'.
+# https://github.com/slashbeast/mdev-like-a-boss/blob/master/mdev.conf
+
+null root:root 666 @chmod 666 $MDEV
+zero root:root 666
+full root:root 666
+random root:root 444
+urandom root:root 444
+hwrandom root:root 444
+grsec root:root 660
+kmem root:root 640
+mem root:root 640
+
+port root:root 640
+console root:tty 600 @chmod 600 $MDEV
+ptmx root:tty 666
+pty.* root:tty 660
+tty root:tty 666
+tty[0-9]* root:tty 660
+vcsa*[0-9]* root:tty 660
+
+# Kernel based virtual machine.
+kvm root:kvm 660
+vhost-net root:kvm 660
+
+# Block devices.
+ram([0-9]*) root:disk 660 >rd/%1
+loop([0-9]+) root:disk 660 >loop/%1
+sr[0-9]* root:cdrom 660 @ln -sf $MDEV cdrom
+fd[0-9]* root:floppy 660
+
+net/tun[0-9]* root:kvm 660
+net/tap[0-9]* root:root 600
+fuse root:root 666
+agpgart root:root 660 >misc/
+psaux root:root 660 >misc/
+rtc root:root 664 >misc/
+
+# Audio stuff.
+adsp root:audio 660 >sound/
+audio root:audio 660 >sound/
+dsp root:audio 660 >sound/
+mixer root:audio 660 >sound/
+sequencer.* root:audio 660 >sound/
+snd/.* root:audio 660
+
+# Raid controllers.
+cciss!(.*) root:disk 660 =cciss/%1
+ida!(.*) root:disk 660 =ida/%1
+rd!(.*) root:disk 660 =rd/%1
+
+# Input stuff.
+SUBSYSTEM=input;.* root:input 660
+
+# Video stuff.
+card[0-9] root:video 660 =dri/
+vbi[0-9] root:video 660 >v4l/
+video[0-9] root:video 660 >v4l/
+dri/.* root:video 660
+
+# Don't create old usbdev* devices.
+usbdev[0-9].[0-9]* root:root 660 !
+
+# Stop creating x:x:x:x which looks like /dev/dm-*.
+[0-9]+\:[0-9]+\:[0-9]+\:[0-9]+ root:root 660 !
+
+# /dev/cpu support.
+microcode root:root 600 =cpu/
+cpu([0-9]+) root:root 600 =cpu/%1/cpuid
+msr([0-9]+) root:root 600 =cpu/%1/msr
diff --git a/srcpkgs/mdevd/files/mdevd/run b/srcpkgs/mdevd/files/mdevd/run
new file mode 100644
index 000000000000..3d95ad3a6850
--- /dev/null
+++ b/srcpkgs/mdevd/files/mdevd/run
@@ -0,0 +1,4 @@
+#!/bin/sh
+
+exec 2>&1
+exec mdevd -f /etc/mdev.conf -D 3 -b 200000 -O4
diff --git a/srcpkgs/mdevd/template b/srcpkgs/mdevd/template
index 15690b0ead37..3a3c113cfa3b 100644
--- a/srcpkgs/mdevd/template
+++ b/srcpkgs/mdevd/template
@@ -1,7 +1,7 @@
# Template file for 'mdevd'
pkgname=mdevd
version=0.1.6.2
-revision=1
+revision=2
build_style=configure
configure_args="--includedir=/usr/include --bindir=/usr/bin --libdir=/usr/lib
--with-sysdeps=${XBPS_CROSS_BASE}/usr/lib/skalibs/sysdeps
@@ -15,9 +15,10 @@ homepage="https://skarnet.org/software/mdevd/"
changelog="https://skarnet.org/software/mdevd/upgrade.html"
distfiles="https://skarnet.org/software/mdevd/mdevd-${version}.tar.gz"
checksum=ac2fcf9004f07904592c5894e2c401e15bb027ecf37bcb8ea661e2a7993447be
-
+conf_files="/etc/mdev.conf"
build_options="static"
desc_option_static="Build static binaries"
+make_check=no # no tests
case "$XBPS_TARGET_MACHINE" in
*-musl)
@@ -30,6 +31,8 @@ post_install() {
vlicense COPYING
vdoc README
vcopy "doc/*" usr/share/doc/${pkgname}
+ vsv mdevd
+ vcopy ${FILESDIR}/mdev.conf etc/mdev.conf
}
mdevd-doc_package() {
From ae691e19af5db3e8e01620e042b2c9b0e315a179 Mon Sep 17 00:00:00 2001
From: dkwo <nicolopiazzalunga@gmail.com>
Date: Wed, 1 Mar 2023 17:07:50 -0500
Subject: [PATCH 2/3] runit-void: patch for udev
---
srcpkgs/runit-void/patches/udev.patch | 95 +++++++++++++++++++++++++++
srcpkgs/runit-void/template | 2 +-
2 files changed, 96 insertions(+), 1 deletion(-)
create mode 100644 srcpkgs/runit-void/patches/udev.patch
diff --git a/srcpkgs/runit-void/patches/udev.patch b/srcpkgs/runit-void/patches/udev.patch
new file mode 100644
index 000000000000..6583d87a38ab
--- /dev/null
+++ b/srcpkgs/runit-void/patches/udev.patch
@@ -0,0 +1,95 @@
+From 30be966515f6d766baa6d3da83c66efa66a9b725 Mon Sep 17 00:00:00 2001
+From: dkwo <nicolopiazzalunga@gmail.com>
+Date: Wed, 1 Mar 2023 15:42:53 -0500
+Subject: [PATCH] core-services/{02,99},rc.conf,shutdown.d/60: allow
+ alternative udevd
+
+---
+ core-services/02-udev.sh | 27 +++++++++++++--------------
+ core-services/99-cleanup.sh | 11 +++++++++++
+ rc.conf | 5 +++++
+ shutdown.d/60-udev.sh | 4 ----
+ 4 files changed, 29 insertions(+), 18 deletions(-)
+ delete mode 100644 shutdown.d/60-udev.sh
+
+diff --git a/core-services/02-udev.sh b/core-services/02-udev.sh
+index b08f8ca..2c46d55 100644
+--- a/core-services/02-udev.sh
++++ b/core-services/02-udev.sh
+@@ -2,18 +2,17 @@
+
+ [ -n "$VIRTUALIZATION" ] && return 0
+
+-if [ -x /usr/lib/systemd/systemd-udevd ]; then
+- _udevd=/usr/lib/systemd/systemd-udevd
+-elif [ -x /sbin/udevd -o -x /bin/udevd ]; then
+- _udevd=udevd
+-else
+- msg_warn "cannot find udevd!"
+-fi
++msg "Starting device manager and waiting for devices to settle..."
++case $CONFIG_DEV in
++ udevd)
++ udevd --daemon
++ udevadm trigger --action=add --type=subsystems
++ udevadm trigger --action=add --type=devices
++ udevadm settle
++ ;;
+
+-if [ -n "${_udevd}" ]; then
+- msg "Starting udev and waiting for devices to settle..."
+- ${_udevd} --daemon
+- udevadm trigger --action=add --type=subsystems
+- udevadm trigger --action=add --type=devices
+- udevadm settle
+-fi
++ mdevd)
++ mdevd & pid_mdevd=$!
++ mdevd-coldplug
++ ;;
++esac
+diff --git a/core-services/99-cleanup.sh b/core-services/99-cleanup.sh
+index f27f728..d9f3f98 100644
+--- a/core-services/99-cleanup.sh
++++ b/core-services/99-cleanup.sh
+@@ -8,3 +8,14 @@ if [ ! -e /var/log/btmp ]; then
+ fi
+ install -dm1777 /tmp/.X11-unix /tmp/.ICE-unix
+ rm -f /etc/nologin /forcefsck /forcequotacheck /fastboot
++
++msg "Killing device manager to make way for service..."
++case $CONFIG_DEV in
++ udevd)
++ udevadm control --exit
++ ;;
++
++ mdevd)
++ kill "$pid_mdevd"
++ ;;
++esac
+diff --git a/rc.conf b/rc.conf
+index aa3da51..8a5e9f4 100644
+--- a/rc.conf
++++ b/rc.conf
+@@ -45,3 +45,8 @@
+ # RNG, for example if you plan to replicate this file system image and do not
+ # have the wherewithal to first delete the contents of /var/lib/seedrng.
+ #SEEDRNG_SKIP_CREDIT=false
++
++# The device manager to run during the init process. This is killed once boot
++# is complete for a supervised version to take its place. Valid values are
++# currently 'mdevd' or 'udevd' (default).
++CONFIG_DEV=udevd
+diff --git a/shutdown.d/60-udev.sh b/shutdown.d/60-udev.sh
+deleted file mode 100644
+index dd42ff7..0000000
+--- a/shutdown.d/60-udev.sh
++++ /dev/null
+@@ -1,4 +0,0 @@
+-if [ -z "$VIRTUALIZATION" ]; then
+- msg "Stopping udev..."
+- udevadm control --exit
+-fi
+--
+2.40.0
+
diff --git a/srcpkgs/runit-void/template b/srcpkgs/runit-void/template
index 9c46593c7d58..207b7c08f0f7 100644
--- a/srcpkgs/runit-void/template
+++ b/srcpkgs/runit-void/template
@@ -1,7 +1,7 @@
# Template file for 'runit-void'
pkgname=runit-void
version=20230413
-revision=1
+revision=2
build_style=gnu-makefile
short_desc="Void Linux runit scripts"
maintainer="Enno Boland <gottox@voidlinux.org>"
From f93157687a1aef8a6fba7bcf0c244efb6bdf7728 Mon Sep 17 00:00:00 2001
From: dkwo <nicolopiazzalunga@gmail.com>
Date: Fri, 24 Feb 2023 18:26:36 -0500
Subject: [PATCH 3/3] new package: libudev-zero
---
common/shlibs | 1 +
srcpkgs/libudev-zero-devel | 1 +
srcpkgs/libudev-zero-helper | 1 +
srcpkgs/libudev-zero/template | 45 +++++++++++++++++++++++++++++++++++
4 files changed, 48 insertions(+)
create mode 120000 srcpkgs/libudev-zero-devel
create mode 120000 srcpkgs/libudev-zero-helper
create mode 100644 srcpkgs/libudev-zero/template
diff --git a/common/shlibs b/common/shlibs
index e282bbd1f588..b32dd360977a 100644
--- a/common/shlibs
+++ b/common/shlibs
@@ -219,6 +219,7 @@ libgirepository-everything-1.0.so libgirepository-1.30_1
libgirepository-1.0.so.1 libgirepository-1.30_1
libudev.so.0 libudev0-shim-1_1
libudev.so.1 eudev-libudev-1.6_1
+libudev.so.1 libudev-zero-1.0.1_1
libgudev-1.0.so.0 libgudev-230_1
libumockdev.so.0 libumockdev-0.17.6_1
libext2fs.so.2 e2fsprogs-libs-1.41.5_1
diff --git a/srcpkgs/libudev-zero-devel b/srcpkgs/libudev-zero-devel
new file mode 120000
index 000000000000..fa3977904232
--- /dev/null
+++ b/srcpkgs/libudev-zero-devel
@@ -0,0 +1 @@
+libudev-zero/
\ No newline at end of file
diff --git a/srcpkgs/libudev-zero-helper b/srcpkgs/libudev-zero-helper
new file mode 120000
index 000000000000..fa3977904232
--- /dev/null
+++ b/srcpkgs/libudev-zero-helper
@@ -0,0 +1 @@
+libudev-zero/
\ No newline at end of file
diff --git a/srcpkgs/libudev-zero/template b/srcpkgs/libudev-zero/template
new file mode 100644
index 000000000000..ac0b5af44b27
--- /dev/null
+++ b/srcpkgs/libudev-zero/template
@@ -0,0 +1,45 @@
+# Template file for 'libudev-zero'
+pkgname=libudev-zero
+version=1.0.2
+revision=1
+_UDEV_VERSION=243
+_eudev_version=3.2.11_1
+build_style=gnu-makefile
+short_desc="Daemonless replacement for libudev"
+maintainer="dkwo <npiazza@disroot.org>"
+license="ISC"
+homepage="https://github.com/illiliti/libudev-zero"
+distfiles="https://github.com/illiliti/libudev-zero/archive/refs/tags/${version}.tar.gz"
+checksum=29dff942cab9519994fb92ba6407f57e08d3dd6e6c0b86bb93d7b1d681994ff8
+make_check=no # no tests
+provides="libudev-${_UDEV_VERSION}_${revision} eudev-libudev-${_eudev_version}"
+replaces="eudev-libudev>=0"
+
+post_build() {
+ "$CC" $LDFLAGS $CFLAGS $CPPFLAGS -o libudev-zero-helper contrib/helper.c
+}
+
+post_install() {
+ vlicense LICENSE
+}
+
+libudev-zero-devel_package() {
+ provides="libudev-devel-${_UDEV_VERSION}_${revision} eudev-libudev-devel-${_eudev_version}"
+ replaces="eudev-libudev-devel>=0"
+ depends="libudev-zero>=${version}_${revision}"
+ short_desc+=" - development files"
+ pkg_install() {
+ vmove usr/include
+ vmove usr/lib/pkgconfig
+ vmove "usr/lib/*.a"
+ vmove "usr/lib/*.so"
+ }
+}
+
+libudev-zero-helper_package() {
+ depends="libudev-zero>=${version}_${revision}"
+ short_desc+=" - helper"
+ pkg_install() {
+ vinstall libudev-zero-helper 755 usr/libexec
+ }
+}
^ permalink raw reply [flat|nested] 50+ messages in thread
* Re: [WIP] new package: libudev-zero
2023-02-27 16:49 [PR PATCH] [rfc] udev alternatives dkwo
` (33 preceding siblings ...)
2023-04-29 15:09 ` [PR PATCH] [Updated] [WIP] " dkwo
@ 2023-04-29 15:17 ` dkwo
2023-05-01 9:06 ` mobinmob
` (13 subsequent siblings)
48 siblings, 0 replies; 50+ messages in thread
From: dkwo @ 2023-04-29 15:17 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 210 bytes --]
New comment by dkwo on void-packages repository
https://github.com/void-linux/void-packages/pull/42488#issuecomment-1528810759
Comment:
rebuilt wlroots successfully, while libinput (due to libblkid) fails :)
^ permalink raw reply [flat|nested] 50+ messages in thread
* Re: [WIP] new package: libudev-zero
2023-02-27 16:49 [PR PATCH] [rfc] udev alternatives dkwo
` (34 preceding siblings ...)
2023-04-29 15:17 ` dkwo
@ 2023-05-01 9:06 ` mobinmob
2023-05-01 14:43 ` [PR PATCH] [Updated] " dkwo
` (12 subsequent siblings)
48 siblings, 0 replies; 50+ messages in thread
From: mobinmob @ 2023-05-01 9:06 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 425 bytes --]
New comment by mobinmob on void-packages repository
https://github.com/void-linux/void-packages/pull/42488#issuecomment-1529504136
Comment:
> @mobinmob can you include the mdevd commit in the skarnet update? it adds a service and config file (which you can edit).
Done, thanks!
I want to fork mdev-like-a-boss and turn it into a mdevd-only collection of configurations/scripts, but no idea when I 'll have the time...
^ permalink raw reply [flat|nested] 50+ messages in thread
* Re: [PR PATCH] [Updated] [WIP] new package: libudev-zero
2023-02-27 16:49 [PR PATCH] [rfc] udev alternatives dkwo
` (35 preceding siblings ...)
2023-05-01 9:06 ` mobinmob
@ 2023-05-01 14:43 ` dkwo
2023-07-15 21:56 ` dkwo
` (11 subsequent siblings)
48 siblings, 0 replies; 50+ messages in thread
From: dkwo @ 2023-05-01 14:43 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 642 bytes --]
There is an updated pull request by dkwo against master on the void-packages repository
https://github.com/dkwo/void-packages udev
https://github.com/void-linux/void-packages/pull/42488
[WIP] new package: libudev-zero
https://github.com/illiliti/libudev-zero
- find optimal mdev.conf; current taken from kiss-linux, see also alpine and mdev-like-a-boss
- edit runit stage 1 script at void-linux/void-runit#106
- I tested the changes in this PR: initram and init scripts only
- I built this PR locally for my native architecture, (x86_64-musl)
A patch file from https://github.com/void-linux/void-packages/pull/42488.patch is attached
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-udev-42488.patch --]
[-- Type: text/x-diff, Size: 6905 bytes --]
From c9e01dc24cb2c0a4df82bd032ade89bdf0a744b8 Mon Sep 17 00:00:00 2001
From: dkwo <nicolopiazzalunga@gmail.com>
Date: Wed, 1 Mar 2023 17:07:50 -0500
Subject: [PATCH 1/2] runit-void: patch for udev
---
srcpkgs/runit-void/patches/udev.patch | 95 +++++++++++++++++++++++++++
srcpkgs/runit-void/template | 2 +-
2 files changed, 96 insertions(+), 1 deletion(-)
create mode 100644 srcpkgs/runit-void/patches/udev.patch
diff --git a/srcpkgs/runit-void/patches/udev.patch b/srcpkgs/runit-void/patches/udev.patch
new file mode 100644
index 000000000000..6583d87a38ab
--- /dev/null
+++ b/srcpkgs/runit-void/patches/udev.patch
@@ -0,0 +1,95 @@
+From 30be966515f6d766baa6d3da83c66efa66a9b725 Mon Sep 17 00:00:00 2001
+From: dkwo <nicolopiazzalunga@gmail.com>
+Date: Wed, 1 Mar 2023 15:42:53 -0500
+Subject: [PATCH] core-services/{02,99},rc.conf,shutdown.d/60: allow
+ alternative udevd
+
+---
+ core-services/02-udev.sh | 27 +++++++++++++--------------
+ core-services/99-cleanup.sh | 11 +++++++++++
+ rc.conf | 5 +++++
+ shutdown.d/60-udev.sh | 4 ----
+ 4 files changed, 29 insertions(+), 18 deletions(-)
+ delete mode 100644 shutdown.d/60-udev.sh
+
+diff --git a/core-services/02-udev.sh b/core-services/02-udev.sh
+index b08f8ca..2c46d55 100644
+--- a/core-services/02-udev.sh
++++ b/core-services/02-udev.sh
+@@ -2,18 +2,17 @@
+
+ [ -n "$VIRTUALIZATION" ] && return 0
+
+-if [ -x /usr/lib/systemd/systemd-udevd ]; then
+- _udevd=/usr/lib/systemd/systemd-udevd
+-elif [ -x /sbin/udevd -o -x /bin/udevd ]; then
+- _udevd=udevd
+-else
+- msg_warn "cannot find udevd!"
+-fi
++msg "Starting device manager and waiting for devices to settle..."
++case $CONFIG_DEV in
++ udevd)
++ udevd --daemon
++ udevadm trigger --action=add --type=subsystems
++ udevadm trigger --action=add --type=devices
++ udevadm settle
++ ;;
+
+-if [ -n "${_udevd}" ]; then
+- msg "Starting udev and waiting for devices to settle..."
+- ${_udevd} --daemon
+- udevadm trigger --action=add --type=subsystems
+- udevadm trigger --action=add --type=devices
+- udevadm settle
+-fi
++ mdevd)
++ mdevd & pid_mdevd=$!
++ mdevd-coldplug
++ ;;
++esac
+diff --git a/core-services/99-cleanup.sh b/core-services/99-cleanup.sh
+index f27f728..d9f3f98 100644
+--- a/core-services/99-cleanup.sh
++++ b/core-services/99-cleanup.sh
+@@ -8,3 +8,14 @@ if [ ! -e /var/log/btmp ]; then
+ fi
+ install -dm1777 /tmp/.X11-unix /tmp/.ICE-unix
+ rm -f /etc/nologin /forcefsck /forcequotacheck /fastboot
++
++msg "Killing device manager to make way for service..."
++case $CONFIG_DEV in
++ udevd)
++ udevadm control --exit
++ ;;
++
++ mdevd)
++ kill "$pid_mdevd"
++ ;;
++esac
+diff --git a/rc.conf b/rc.conf
+index aa3da51..8a5e9f4 100644
+--- a/rc.conf
++++ b/rc.conf
+@@ -45,3 +45,8 @@
+ # RNG, for example if you plan to replicate this file system image and do not
+ # have the wherewithal to first delete the contents of /var/lib/seedrng.
+ #SEEDRNG_SKIP_CREDIT=false
++
++# The device manager to run during the init process. This is killed once boot
++# is complete for a supervised version to take its place. Valid values are
++# currently 'mdevd' or 'udevd' (default).
++CONFIG_DEV=udevd
+diff --git a/shutdown.d/60-udev.sh b/shutdown.d/60-udev.sh
+deleted file mode 100644
+index dd42ff7..0000000
+--- a/shutdown.d/60-udev.sh
++++ /dev/null
+@@ -1,4 +0,0 @@
+-if [ -z "$VIRTUALIZATION" ]; then
+- msg "Stopping udev..."
+- udevadm control --exit
+-fi
+--
+2.40.0
+
diff --git a/srcpkgs/runit-void/template b/srcpkgs/runit-void/template
index 9c46593c7d58..207b7c08f0f7 100644
--- a/srcpkgs/runit-void/template
+++ b/srcpkgs/runit-void/template
@@ -1,7 +1,7 @@
# Template file for 'runit-void'
pkgname=runit-void
version=20230413
-revision=1
+revision=2
build_style=gnu-makefile
short_desc="Void Linux runit scripts"
maintainer="Enno Boland <gottox@voidlinux.org>"
From 857e9f68c15389bc37f0e3f1eb44969da608dd0a Mon Sep 17 00:00:00 2001
From: dkwo <nicolopiazzalunga@gmail.com>
Date: Fri, 24 Feb 2023 18:26:36 -0500
Subject: [PATCH 2/2] new package: libudev-zero
---
common/shlibs | 1 +
srcpkgs/libudev-zero-devel | 1 +
srcpkgs/libudev-zero-helper | 1 +
srcpkgs/libudev-zero/template | 45 +++++++++++++++++++++++++++++++++++
4 files changed, 48 insertions(+)
create mode 120000 srcpkgs/libudev-zero-devel
create mode 120000 srcpkgs/libudev-zero-helper
create mode 100644 srcpkgs/libudev-zero/template
diff --git a/common/shlibs b/common/shlibs
index a64330bd7cb9..02aebd1be2c3 100644
--- a/common/shlibs
+++ b/common/shlibs
@@ -219,6 +219,7 @@ libgirepository-everything-1.0.so libgirepository-1.30_1
libgirepository-1.0.so.1 libgirepository-1.30_1
libudev.so.0 libudev0-shim-1_1
libudev.so.1 eudev-libudev-1.6_1
+libudev.so.1 libudev-zero-1.0.1_1
libgudev-1.0.so.0 libgudev-230_1
libumockdev.so.0 libumockdev-0.17.6_1
libext2fs.so.2 e2fsprogs-libs-1.41.5_1
diff --git a/srcpkgs/libudev-zero-devel b/srcpkgs/libudev-zero-devel
new file mode 120000
index 000000000000..fa3977904232
--- /dev/null
+++ b/srcpkgs/libudev-zero-devel
@@ -0,0 +1 @@
+libudev-zero/
\ No newline at end of file
diff --git a/srcpkgs/libudev-zero-helper b/srcpkgs/libudev-zero-helper
new file mode 120000
index 000000000000..fa3977904232
--- /dev/null
+++ b/srcpkgs/libudev-zero-helper
@@ -0,0 +1 @@
+libudev-zero/
\ No newline at end of file
diff --git a/srcpkgs/libudev-zero/template b/srcpkgs/libudev-zero/template
new file mode 100644
index 000000000000..ac0b5af44b27
--- /dev/null
+++ b/srcpkgs/libudev-zero/template
@@ -0,0 +1,45 @@
+# Template file for 'libudev-zero'
+pkgname=libudev-zero
+version=1.0.2
+revision=1
+_UDEV_VERSION=243
+_eudev_version=3.2.11_1
+build_style=gnu-makefile
+short_desc="Daemonless replacement for libudev"
+maintainer="dkwo <npiazza@disroot.org>"
+license="ISC"
+homepage="https://github.com/illiliti/libudev-zero"
+distfiles="https://github.com/illiliti/libudev-zero/archive/refs/tags/${version}.tar.gz"
+checksum=29dff942cab9519994fb92ba6407f57e08d3dd6e6c0b86bb93d7b1d681994ff8
+make_check=no # no tests
+provides="libudev-${_UDEV_VERSION}_${revision} eudev-libudev-${_eudev_version}"
+replaces="eudev-libudev>=0"
+
+post_build() {
+ "$CC" $LDFLAGS $CFLAGS $CPPFLAGS -o libudev-zero-helper contrib/helper.c
+}
+
+post_install() {
+ vlicense LICENSE
+}
+
+libudev-zero-devel_package() {
+ provides="libudev-devel-${_UDEV_VERSION}_${revision} eudev-libudev-devel-${_eudev_version}"
+ replaces="eudev-libudev-devel>=0"
+ depends="libudev-zero>=${version}_${revision}"
+ short_desc+=" - development files"
+ pkg_install() {
+ vmove usr/include
+ vmove usr/lib/pkgconfig
+ vmove "usr/lib/*.a"
+ vmove "usr/lib/*.so"
+ }
+}
+
+libudev-zero-helper_package() {
+ depends="libudev-zero>=${version}_${revision}"
+ short_desc+=" - helper"
+ pkg_install() {
+ vinstall libudev-zero-helper 755 usr/libexec
+ }
+}
^ permalink raw reply [flat|nested] 50+ messages in thread
* Re: [PR PATCH] [Updated] [WIP] new package: libudev-zero
2023-02-27 16:49 [PR PATCH] [rfc] udev alternatives dkwo
` (36 preceding siblings ...)
2023-05-01 14:43 ` [PR PATCH] [Updated] " dkwo
@ 2023-07-15 21:56 ` dkwo
2023-10-14 1:44 ` github-actions
` (10 subsequent siblings)
48 siblings, 0 replies; 50+ messages in thread
From: dkwo @ 2023-07-15 21:56 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 547 bytes --]
There is an updated pull request by dkwo against master on the void-packages repository
https://github.com/dkwo/void-packages udev
https://github.com/void-linux/void-packages/pull/42488
[WIP] new package: libudev-zero
https://github.com/illiliti/libudev-zero
- edit runit stage 1 script at void-linux/void-runit#106
- I tested the changes in this PR: initram and init scripts only
- I built this PR locally for my native architecture, (x86_64-musl)
A patch file from https://github.com/void-linux/void-packages/pull/42488.patch is attached
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-udev-42488.patch --]
[-- Type: text/x-diff, Size: 6911 bytes --]
From 81b0c7c19fb19896d0d72e6679a2163e06212ff1 Mon Sep 17 00:00:00 2001
From: dkwo <nicolopiazzalunga@gmail.com>
Date: Wed, 1 Mar 2023 17:07:50 -0500
Subject: [PATCH 1/2] runit-void: patch for udev
---
srcpkgs/runit-void/patches/udev.patch | 95 +++++++++++++++++++++++++++
srcpkgs/runit-void/template | 2 +-
2 files changed, 96 insertions(+), 1 deletion(-)
create mode 100644 srcpkgs/runit-void/patches/udev.patch
diff --git a/srcpkgs/runit-void/patches/udev.patch b/srcpkgs/runit-void/patches/udev.patch
new file mode 100644
index 000000000000..6583d87a38ab
--- /dev/null
+++ b/srcpkgs/runit-void/patches/udev.patch
@@ -0,0 +1,95 @@
+From 30be966515f6d766baa6d3da83c66efa66a9b725 Mon Sep 17 00:00:00 2001
+From: dkwo <nicolopiazzalunga@gmail.com>
+Date: Wed, 1 Mar 2023 15:42:53 -0500
+Subject: [PATCH] core-services/{02,99},rc.conf,shutdown.d/60: allow
+ alternative udevd
+
+---
+ core-services/02-udev.sh | 27 +++++++++++++--------------
+ core-services/99-cleanup.sh | 11 +++++++++++
+ rc.conf | 5 +++++
+ shutdown.d/60-udev.sh | 4 ----
+ 4 files changed, 29 insertions(+), 18 deletions(-)
+ delete mode 100644 shutdown.d/60-udev.sh
+
+diff --git a/core-services/02-udev.sh b/core-services/02-udev.sh
+index b08f8ca..2c46d55 100644
+--- a/core-services/02-udev.sh
++++ b/core-services/02-udev.sh
+@@ -2,18 +2,17 @@
+
+ [ -n "$VIRTUALIZATION" ] && return 0
+
+-if [ -x /usr/lib/systemd/systemd-udevd ]; then
+- _udevd=/usr/lib/systemd/systemd-udevd
+-elif [ -x /sbin/udevd -o -x /bin/udevd ]; then
+- _udevd=udevd
+-else
+- msg_warn "cannot find udevd!"
+-fi
++msg "Starting device manager and waiting for devices to settle..."
++case $CONFIG_DEV in
++ udevd)
++ udevd --daemon
++ udevadm trigger --action=add --type=subsystems
++ udevadm trigger --action=add --type=devices
++ udevadm settle
++ ;;
+
+-if [ -n "${_udevd}" ]; then
+- msg "Starting udev and waiting for devices to settle..."
+- ${_udevd} --daemon
+- udevadm trigger --action=add --type=subsystems
+- udevadm trigger --action=add --type=devices
+- udevadm settle
+-fi
++ mdevd)
++ mdevd & pid_mdevd=$!
++ mdevd-coldplug
++ ;;
++esac
+diff --git a/core-services/99-cleanup.sh b/core-services/99-cleanup.sh
+index f27f728..d9f3f98 100644
+--- a/core-services/99-cleanup.sh
++++ b/core-services/99-cleanup.sh
+@@ -8,3 +8,14 @@ if [ ! -e /var/log/btmp ]; then
+ fi
+ install -dm1777 /tmp/.X11-unix /tmp/.ICE-unix
+ rm -f /etc/nologin /forcefsck /forcequotacheck /fastboot
++
++msg "Killing device manager to make way for service..."
++case $CONFIG_DEV in
++ udevd)
++ udevadm control --exit
++ ;;
++
++ mdevd)
++ kill "$pid_mdevd"
++ ;;
++esac
+diff --git a/rc.conf b/rc.conf
+index aa3da51..8a5e9f4 100644
+--- a/rc.conf
++++ b/rc.conf
+@@ -45,3 +45,8 @@
+ # RNG, for example if you plan to replicate this file system image and do not
+ # have the wherewithal to first delete the contents of /var/lib/seedrng.
+ #SEEDRNG_SKIP_CREDIT=false
++
++# The device manager to run during the init process. This is killed once boot
++# is complete for a supervised version to take its place. Valid values are
++# currently 'mdevd' or 'udevd' (default).
++CONFIG_DEV=udevd
+diff --git a/shutdown.d/60-udev.sh b/shutdown.d/60-udev.sh
+deleted file mode 100644
+index dd42ff7..0000000
+--- a/shutdown.d/60-udev.sh
++++ /dev/null
+@@ -1,4 +0,0 @@
+-if [ -z "$VIRTUALIZATION" ]; then
+- msg "Stopping udev..."
+- udevadm control --exit
+-fi
+--
+2.40.0
+
diff --git a/srcpkgs/runit-void/template b/srcpkgs/runit-void/template
index 9c46593c7d58..207b7c08f0f7 100644
--- a/srcpkgs/runit-void/template
+++ b/srcpkgs/runit-void/template
@@ -1,7 +1,7 @@
# Template file for 'runit-void'
pkgname=runit-void
version=20230413
-revision=1
+revision=2
build_style=gnu-makefile
short_desc="Void Linux runit scripts"
maintainer="Enno Boland <gottox@voidlinux.org>"
From 89c963376edb39068302bd579cb51ca16d526d38 Mon Sep 17 00:00:00 2001
From: dkwo <nicolopiazzalunga@gmail.com>
Date: Fri, 24 Feb 2023 18:26:36 -0500
Subject: [PATCH 2/2] New package: libudev-zero-1.0.3
---
common/shlibs | 1 +
srcpkgs/libudev-zero-devel | 1 +
srcpkgs/libudev-zero-helper | 1 +
srcpkgs/libudev-zero/template | 45 +++++++++++++++++++++++++++++++++++
4 files changed, 48 insertions(+)
create mode 120000 srcpkgs/libudev-zero-devel
create mode 120000 srcpkgs/libudev-zero-helper
create mode 100644 srcpkgs/libudev-zero/template
diff --git a/common/shlibs b/common/shlibs
index 4b2122d1b199..8245323e125d 100644
--- a/common/shlibs
+++ b/common/shlibs
@@ -224,6 +224,7 @@ libgirepository-everything-1.0.so libgirepository-1.30_1
libgirepository-1.0.so.1 libgirepository-1.30_1
libudev.so.0 libudev0-shim-1_1
libudev.so.1 eudev-libudev-1.6_1
+libudev.so.1 libudev-zero-1.0.1_1
libgudev-1.0.so.0 libgudev-230_1
libumockdev.so.0 libumockdev-0.17.6_1
libext2fs.so.2 e2fsprogs-libs-1.41.5_1
diff --git a/srcpkgs/libudev-zero-devel b/srcpkgs/libudev-zero-devel
new file mode 120000
index 000000000000..fa3977904232
--- /dev/null
+++ b/srcpkgs/libudev-zero-devel
@@ -0,0 +1 @@
+libudev-zero/
\ No newline at end of file
diff --git a/srcpkgs/libudev-zero-helper b/srcpkgs/libudev-zero-helper
new file mode 120000
index 000000000000..fa3977904232
--- /dev/null
+++ b/srcpkgs/libudev-zero-helper
@@ -0,0 +1 @@
+libudev-zero/
\ No newline at end of file
diff --git a/srcpkgs/libudev-zero/template b/srcpkgs/libudev-zero/template
new file mode 100644
index 000000000000..fc37ba222bd1
--- /dev/null
+++ b/srcpkgs/libudev-zero/template
@@ -0,0 +1,45 @@
+# Template file for 'libudev-zero'
+pkgname=libudev-zero
+version=1.0.3
+revision=1
+_UDEV_VERSION=251
+_eudev_version=3.2.12_1
+build_style=gnu-makefile
+short_desc="Daemonless replacement for libudev"
+maintainer="dkwo <npiazza@disroot.org>"
+license="ISC"
+homepage="https://github.com/illiliti/libudev-zero"
+distfiles="https://github.com/illiliti/libudev-zero/archive/refs/tags/${version}.tar.gz"
+checksum=0bd89b657d62d019598e6c7ed726ff8fed80e8ba092a83b484d66afb80b77da5
+make_check=no # no tests
+provides="libudev-${_UDEV_VERSION}_${revision} eudev-libudev-${_eudev_version}"
+replaces="eudev-libudev>=0"
+
+post_build() {
+ "$CC" $LDFLAGS $CFLAGS $CPPFLAGS -o libudev-zero-helper contrib/helper.c
+}
+
+post_install() {
+ vlicense LICENSE
+}
+
+libudev-zero-devel_package() {
+ provides="libudev-devel-${_UDEV_VERSION}_${revision} eudev-libudev-devel-${_eudev_version}"
+ replaces="eudev-libudev-devel>=0"
+ depends="libudev-zero>=${version}_${revision}"
+ short_desc+=" - development files"
+ pkg_install() {
+ vmove usr/include
+ vmove usr/lib/pkgconfig
+ vmove "usr/lib/*.a"
+ vmove "usr/lib/*.so"
+ }
+}
+
+libudev-zero-helper_package() {
+ depends="libudev-zero>=${version}_${revision}"
+ short_desc+=" - helper"
+ pkg_install() {
+ vinstall libudev-zero-helper 755 usr/libexec
+ }
+}
^ permalink raw reply [flat|nested] 50+ messages in thread
* Re: [WIP] new package: libudev-zero
2023-02-27 16:49 [PR PATCH] [rfc] udev alternatives dkwo
` (37 preceding siblings ...)
2023-07-15 21:56 ` dkwo
@ 2023-10-14 1:44 ` github-actions
2023-10-15 21:44 ` [PR PATCH] [Updated] " dkwo
` (9 subsequent siblings)
48 siblings, 0 replies; 50+ messages in thread
From: github-actions @ 2023-10-14 1:44 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 305 bytes --]
New comment by github-actions[bot] on void-packages repository
https://github.com/void-linux/void-packages/pull/42488#issuecomment-1762468207
Comment:
Pull Requests become stale 90 days after last activity and are closed 14 days after that. If this pull request is still relevant bump it or assign it.
^ permalink raw reply [flat|nested] 50+ messages in thread
* Re: [PR PATCH] [Updated] [WIP] new package: libudev-zero
2023-02-27 16:49 [PR PATCH] [rfc] udev alternatives dkwo
` (38 preceding siblings ...)
2023-10-14 1:44 ` github-actions
@ 2023-10-15 21:44 ` dkwo
2024-01-14 1:50 ` github-actions
` (8 subsequent siblings)
48 siblings, 0 replies; 50+ messages in thread
From: dkwo @ 2023-10-15 21:44 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 547 bytes --]
There is an updated pull request by dkwo against master on the void-packages repository
https://github.com/dkwo/void-packages udev
https://github.com/void-linux/void-packages/pull/42488
[WIP] new package: libudev-zero
https://github.com/illiliti/libudev-zero
- edit runit stage 1 script at void-linux/void-runit#106
- I tested the changes in this PR: initram and init scripts only
- I built this PR locally for my native architecture, (x86_64-musl)
A patch file from https://github.com/void-linux/void-packages/pull/42488.patch is attached
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-udev-42488.patch --]
[-- Type: text/x-diff, Size: 6923 bytes --]
From 4fe4152f33e6e3b2080a6c127a3cbb28f27cf7b4 Mon Sep 17 00:00:00 2001
From: dkwo <nicolopiazzalunga@gmail.com>
Date: Wed, 1 Mar 2023 17:07:50 -0500
Subject: [PATCH 1/2] runit-void: patch for udev
---
srcpkgs/runit-void/patches/udev.patch | 95 +++++++++++++++++++++++++++
srcpkgs/runit-void/template | 2 +-
2 files changed, 96 insertions(+), 1 deletion(-)
create mode 100644 srcpkgs/runit-void/patches/udev.patch
diff --git a/srcpkgs/runit-void/patches/udev.patch b/srcpkgs/runit-void/patches/udev.patch
new file mode 100644
index 0000000000000..6583d87a38abf
--- /dev/null
+++ b/srcpkgs/runit-void/patches/udev.patch
@@ -0,0 +1,95 @@
+From 30be966515f6d766baa6d3da83c66efa66a9b725 Mon Sep 17 00:00:00 2001
+From: dkwo <nicolopiazzalunga@gmail.com>
+Date: Wed, 1 Mar 2023 15:42:53 -0500
+Subject: [PATCH] core-services/{02,99},rc.conf,shutdown.d/60: allow
+ alternative udevd
+
+---
+ core-services/02-udev.sh | 27 +++++++++++++--------------
+ core-services/99-cleanup.sh | 11 +++++++++++
+ rc.conf | 5 +++++
+ shutdown.d/60-udev.sh | 4 ----
+ 4 files changed, 29 insertions(+), 18 deletions(-)
+ delete mode 100644 shutdown.d/60-udev.sh
+
+diff --git a/core-services/02-udev.sh b/core-services/02-udev.sh
+index b08f8ca..2c46d55 100644
+--- a/core-services/02-udev.sh
++++ b/core-services/02-udev.sh
+@@ -2,18 +2,17 @@
+
+ [ -n "$VIRTUALIZATION" ] && return 0
+
+-if [ -x /usr/lib/systemd/systemd-udevd ]; then
+- _udevd=/usr/lib/systemd/systemd-udevd
+-elif [ -x /sbin/udevd -o -x /bin/udevd ]; then
+- _udevd=udevd
+-else
+- msg_warn "cannot find udevd!"
+-fi
++msg "Starting device manager and waiting for devices to settle..."
++case $CONFIG_DEV in
++ udevd)
++ udevd --daemon
++ udevadm trigger --action=add --type=subsystems
++ udevadm trigger --action=add --type=devices
++ udevadm settle
++ ;;
+
+-if [ -n "${_udevd}" ]; then
+- msg "Starting udev and waiting for devices to settle..."
+- ${_udevd} --daemon
+- udevadm trigger --action=add --type=subsystems
+- udevadm trigger --action=add --type=devices
+- udevadm settle
+-fi
++ mdevd)
++ mdevd & pid_mdevd=$!
++ mdevd-coldplug
++ ;;
++esac
+diff --git a/core-services/99-cleanup.sh b/core-services/99-cleanup.sh
+index f27f728..d9f3f98 100644
+--- a/core-services/99-cleanup.sh
++++ b/core-services/99-cleanup.sh
+@@ -8,3 +8,14 @@ if [ ! -e /var/log/btmp ]; then
+ fi
+ install -dm1777 /tmp/.X11-unix /tmp/.ICE-unix
+ rm -f /etc/nologin /forcefsck /forcequotacheck /fastboot
++
++msg "Killing device manager to make way for service..."
++case $CONFIG_DEV in
++ udevd)
++ udevadm control --exit
++ ;;
++
++ mdevd)
++ kill "$pid_mdevd"
++ ;;
++esac
+diff --git a/rc.conf b/rc.conf
+index aa3da51..8a5e9f4 100644
+--- a/rc.conf
++++ b/rc.conf
+@@ -45,3 +45,8 @@
+ # RNG, for example if you plan to replicate this file system image and do not
+ # have the wherewithal to first delete the contents of /var/lib/seedrng.
+ #SEEDRNG_SKIP_CREDIT=false
++
++# The device manager to run during the init process. This is killed once boot
++# is complete for a supervised version to take its place. Valid values are
++# currently 'mdevd' or 'udevd' (default).
++CONFIG_DEV=udevd
+diff --git a/shutdown.d/60-udev.sh b/shutdown.d/60-udev.sh
+deleted file mode 100644
+index dd42ff7..0000000
+--- a/shutdown.d/60-udev.sh
++++ /dev/null
+@@ -1,4 +0,0 @@
+-if [ -z "$VIRTUALIZATION" ]; then
+- msg "Stopping udev..."
+- udevadm control --exit
+-fi
+--
+2.40.0
+
diff --git a/srcpkgs/runit-void/template b/srcpkgs/runit-void/template
index 9c46593c7d58d..207b7c08f0f77 100644
--- a/srcpkgs/runit-void/template
+++ b/srcpkgs/runit-void/template
@@ -1,7 +1,7 @@
# Template file for 'runit-void'
pkgname=runit-void
version=20230413
-revision=1
+revision=2
build_style=gnu-makefile
short_desc="Void Linux runit scripts"
maintainer="Enno Boland <gottox@voidlinux.org>"
From fe53a6903d6042caba5c4748397a9c3619dba0a7 Mon Sep 17 00:00:00 2001
From: dkwo <nicolopiazzalunga@gmail.com>
Date: Fri, 24 Feb 2023 18:26:36 -0500
Subject: [PATCH 2/2] New package: libudev-zero-1.0.3
---
common/shlibs | 1 +
srcpkgs/libudev-zero-devel | 1 +
srcpkgs/libudev-zero-helper | 1 +
srcpkgs/libudev-zero/template | 45 +++++++++++++++++++++++++++++++++++
4 files changed, 48 insertions(+)
create mode 120000 srcpkgs/libudev-zero-devel
create mode 120000 srcpkgs/libudev-zero-helper
create mode 100644 srcpkgs/libudev-zero/template
diff --git a/common/shlibs b/common/shlibs
index 67ecffb1effa3..4abed802155cf 100644
--- a/common/shlibs
+++ b/common/shlibs
@@ -218,6 +218,7 @@ libgirepository-everything-1.0.so libgirepository-1.30_1
libgirepository-1.0.so.1 libgirepository-1.30_1
libudev.so.0 libudev0-shim-1_1
libudev.so.1 eudev-libudev-1.6_1
+libudev.so.1 libudev-zero-1.0.1_1
libgudev-1.0.so.0 libgudev-230_1
libumockdev.so.0 libumockdev-0.17.6_1
libext2fs.so.2 e2fsprogs-libs-1.41.5_1
diff --git a/srcpkgs/libudev-zero-devel b/srcpkgs/libudev-zero-devel
new file mode 120000
index 0000000000000..fa3977904232c
--- /dev/null
+++ b/srcpkgs/libudev-zero-devel
@@ -0,0 +1 @@
+libudev-zero/
\ No newline at end of file
diff --git a/srcpkgs/libudev-zero-helper b/srcpkgs/libudev-zero-helper
new file mode 120000
index 0000000000000..fa3977904232c
--- /dev/null
+++ b/srcpkgs/libudev-zero-helper
@@ -0,0 +1 @@
+libudev-zero/
\ No newline at end of file
diff --git a/srcpkgs/libudev-zero/template b/srcpkgs/libudev-zero/template
new file mode 100644
index 0000000000000..fc37ba222bd13
--- /dev/null
+++ b/srcpkgs/libudev-zero/template
@@ -0,0 +1,45 @@
+# Template file for 'libudev-zero'
+pkgname=libudev-zero
+version=1.0.3
+revision=1
+_UDEV_VERSION=251
+_eudev_version=3.2.12_1
+build_style=gnu-makefile
+short_desc="Daemonless replacement for libudev"
+maintainer="dkwo <npiazza@disroot.org>"
+license="ISC"
+homepage="https://github.com/illiliti/libudev-zero"
+distfiles="https://github.com/illiliti/libudev-zero/archive/refs/tags/${version}.tar.gz"
+checksum=0bd89b657d62d019598e6c7ed726ff8fed80e8ba092a83b484d66afb80b77da5
+make_check=no # no tests
+provides="libudev-${_UDEV_VERSION}_${revision} eudev-libudev-${_eudev_version}"
+replaces="eudev-libudev>=0"
+
+post_build() {
+ "$CC" $LDFLAGS $CFLAGS $CPPFLAGS -o libudev-zero-helper contrib/helper.c
+}
+
+post_install() {
+ vlicense LICENSE
+}
+
+libudev-zero-devel_package() {
+ provides="libudev-devel-${_UDEV_VERSION}_${revision} eudev-libudev-devel-${_eudev_version}"
+ replaces="eudev-libudev-devel>=0"
+ depends="libudev-zero>=${version}_${revision}"
+ short_desc+=" - development files"
+ pkg_install() {
+ vmove usr/include
+ vmove usr/lib/pkgconfig
+ vmove "usr/lib/*.a"
+ vmove "usr/lib/*.so"
+ }
+}
+
+libudev-zero-helper_package() {
+ depends="libudev-zero>=${version}_${revision}"
+ short_desc+=" - helper"
+ pkg_install() {
+ vinstall libudev-zero-helper 755 usr/libexec
+ }
+}
^ permalink raw reply [flat|nested] 50+ messages in thread
* Re: [WIP] new package: libudev-zero
2023-02-27 16:49 [PR PATCH] [rfc] udev alternatives dkwo
` (39 preceding siblings ...)
2023-10-15 21:44 ` [PR PATCH] [Updated] " dkwo
@ 2024-01-14 1:50 ` github-actions
2024-01-14 10:39 ` [PR PATCH] [Updated] " dkwo
` (7 subsequent siblings)
48 siblings, 0 replies; 50+ messages in thread
From: github-actions @ 2024-01-14 1:50 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 305 bytes --]
New comment by github-actions[bot] on void-packages repository
https://github.com/void-linux/void-packages/pull/42488#issuecomment-1890819301
Comment:
Pull Requests become stale 90 days after last activity and are closed 14 days after that. If this pull request is still relevant bump it or assign it.
^ permalink raw reply [flat|nested] 50+ messages in thread
* Re: [PR PATCH] [Updated] [WIP] new package: libudev-zero
2023-02-27 16:49 [PR PATCH] [rfc] udev alternatives dkwo
` (40 preceding siblings ...)
2024-01-14 1:50 ` github-actions
@ 2024-01-14 10:39 ` dkwo
2024-04-14 1:59 ` github-actions
` (6 subsequent siblings)
48 siblings, 0 replies; 50+ messages in thread
From: dkwo @ 2024-01-14 10:39 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 547 bytes --]
There is an updated pull request by dkwo against master on the void-packages repository
https://github.com/dkwo/void-packages udev
https://github.com/void-linux/void-packages/pull/42488
[WIP] new package: libudev-zero
https://github.com/illiliti/libudev-zero
- edit runit stage 1 script at void-linux/void-runit#106
- I tested the changes in this PR: initram and init scripts only
- I built this PR locally for my native architecture, (x86_64-musl)
A patch file from https://github.com/void-linux/void-packages/pull/42488.patch is attached
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-udev-42488.patch --]
[-- Type: text/x-diff, Size: 6917 bytes --]
From e87d6d51fd833f276d080049a7a12a430672cb5a Mon Sep 17 00:00:00 2001
From: dkwo <nicolopiazzalunga@gmail.com>
Date: Wed, 1 Mar 2023 17:07:50 -0500
Subject: [PATCH 1/2] runit-void: patch for udev
---
srcpkgs/runit-void/patches/udev.patch | 95 +++++++++++++++++++++++++++
srcpkgs/runit-void/template | 2 +-
2 files changed, 96 insertions(+), 1 deletion(-)
create mode 100644 srcpkgs/runit-void/patches/udev.patch
diff --git a/srcpkgs/runit-void/patches/udev.patch b/srcpkgs/runit-void/patches/udev.patch
new file mode 100644
index 0000000000000..6583d87a38abf
--- /dev/null
+++ b/srcpkgs/runit-void/patches/udev.patch
@@ -0,0 +1,95 @@
+From 30be966515f6d766baa6d3da83c66efa66a9b725 Mon Sep 17 00:00:00 2001
+From: dkwo <nicolopiazzalunga@gmail.com>
+Date: Wed, 1 Mar 2023 15:42:53 -0500
+Subject: [PATCH] core-services/{02,99},rc.conf,shutdown.d/60: allow
+ alternative udevd
+
+---
+ core-services/02-udev.sh | 27 +++++++++++++--------------
+ core-services/99-cleanup.sh | 11 +++++++++++
+ rc.conf | 5 +++++
+ shutdown.d/60-udev.sh | 4 ----
+ 4 files changed, 29 insertions(+), 18 deletions(-)
+ delete mode 100644 shutdown.d/60-udev.sh
+
+diff --git a/core-services/02-udev.sh b/core-services/02-udev.sh
+index b08f8ca..2c46d55 100644
+--- a/core-services/02-udev.sh
++++ b/core-services/02-udev.sh
+@@ -2,18 +2,17 @@
+
+ [ -n "$VIRTUALIZATION" ] && return 0
+
+-if [ -x /usr/lib/systemd/systemd-udevd ]; then
+- _udevd=/usr/lib/systemd/systemd-udevd
+-elif [ -x /sbin/udevd -o -x /bin/udevd ]; then
+- _udevd=udevd
+-else
+- msg_warn "cannot find udevd!"
+-fi
++msg "Starting device manager and waiting for devices to settle..."
++case $CONFIG_DEV in
++ udevd)
++ udevd --daemon
++ udevadm trigger --action=add --type=subsystems
++ udevadm trigger --action=add --type=devices
++ udevadm settle
++ ;;
+
+-if [ -n "${_udevd}" ]; then
+- msg "Starting udev and waiting for devices to settle..."
+- ${_udevd} --daemon
+- udevadm trigger --action=add --type=subsystems
+- udevadm trigger --action=add --type=devices
+- udevadm settle
+-fi
++ mdevd)
++ mdevd & pid_mdevd=$!
++ mdevd-coldplug
++ ;;
++esac
+diff --git a/core-services/99-cleanup.sh b/core-services/99-cleanup.sh
+index f27f728..d9f3f98 100644
+--- a/core-services/99-cleanup.sh
++++ b/core-services/99-cleanup.sh
+@@ -8,3 +8,14 @@ if [ ! -e /var/log/btmp ]; then
+ fi
+ install -dm1777 /tmp/.X11-unix /tmp/.ICE-unix
+ rm -f /etc/nologin /forcefsck /forcequotacheck /fastboot
++
++msg "Killing device manager to make way for service..."
++case $CONFIG_DEV in
++ udevd)
++ udevadm control --exit
++ ;;
++
++ mdevd)
++ kill "$pid_mdevd"
++ ;;
++esac
+diff --git a/rc.conf b/rc.conf
+index aa3da51..8a5e9f4 100644
+--- a/rc.conf
++++ b/rc.conf
+@@ -45,3 +45,8 @@
+ # RNG, for example if you plan to replicate this file system image and do not
+ # have the wherewithal to first delete the contents of /var/lib/seedrng.
+ #SEEDRNG_SKIP_CREDIT=false
++
++# The device manager to run during the init process. This is killed once boot
++# is complete for a supervised version to take its place. Valid values are
++# currently 'mdevd' or 'udevd' (default).
++CONFIG_DEV=udevd
+diff --git a/shutdown.d/60-udev.sh b/shutdown.d/60-udev.sh
+deleted file mode 100644
+index dd42ff7..0000000
+--- a/shutdown.d/60-udev.sh
++++ /dev/null
+@@ -1,4 +0,0 @@
+-if [ -z "$VIRTUALIZATION" ]; then
+- msg "Stopping udev..."
+- udevadm control --exit
+-fi
+--
+2.40.0
+
diff --git a/srcpkgs/runit-void/template b/srcpkgs/runit-void/template
index 66dd4ac88832d..9b99964752e80 100644
--- a/srcpkgs/runit-void/template
+++ b/srcpkgs/runit-void/template
@@ -1,7 +1,7 @@
# Template file for 'runit-void'
pkgname=runit-void
version=20231124
-revision=1
+revision=2
build_style=gnu-makefile
short_desc="Void Linux runit scripts"
maintainer="Enno Boland <gottox@voidlinux.org>"
From cfaf56ff3c8480ff4269be05b71bd06372754c00 Mon Sep 17 00:00:00 2001
From: dkwo <nicolopiazzalunga@gmail.com>
Date: Fri, 24 Feb 2023 18:26:36 -0500
Subject: [PATCH 2/2] new package: libudev-zero
---
common/shlibs | 1 +
srcpkgs/libudev-zero-devel | 1 +
srcpkgs/libudev-zero-helper | 1 +
srcpkgs/libudev-zero/template | 45 +++++++++++++++++++++++++++++++++++
4 files changed, 48 insertions(+)
create mode 120000 srcpkgs/libudev-zero-devel
create mode 120000 srcpkgs/libudev-zero-helper
create mode 100644 srcpkgs/libudev-zero/template
diff --git a/common/shlibs b/common/shlibs
index d3e2fafb0e0f4..66900cef53e66 100644
--- a/common/shlibs
+++ b/common/shlibs
@@ -219,6 +219,7 @@ libgirepository-everything-1.0.so libgirepository-1.30_1
libgirepository-1.0.so.1 libgirepository-1.30_1
libudev.so.0 libudev0-shim-1_1
libudev.so.1 eudev-libudev-1.6_1
+libudev.so.1 libudev-zero-1.0.1_1
libgudev-1.0.so.0 libgudev-230_1
libumockdev.so.0 libumockdev-0.17.6_1
libext2fs.so.2 e2fsprogs-libs-1.41.5_1
diff --git a/srcpkgs/libudev-zero-devel b/srcpkgs/libudev-zero-devel
new file mode 120000
index 0000000000000..fa3977904232c
--- /dev/null
+++ b/srcpkgs/libudev-zero-devel
@@ -0,0 +1 @@
+libudev-zero/
\ No newline at end of file
diff --git a/srcpkgs/libudev-zero-helper b/srcpkgs/libudev-zero-helper
new file mode 120000
index 0000000000000..fa3977904232c
--- /dev/null
+++ b/srcpkgs/libudev-zero-helper
@@ -0,0 +1 @@
+libudev-zero/
\ No newline at end of file
diff --git a/srcpkgs/libudev-zero/template b/srcpkgs/libudev-zero/template
new file mode 100644
index 0000000000000..2d8b641973f63
--- /dev/null
+++ b/srcpkgs/libudev-zero/template
@@ -0,0 +1,45 @@
+# Template file for 'libudev-zero'
+pkgname=libudev-zero
+version=1.0.3
+revision=1
+_UDEV_VERSION=251
+_eudev_version=3.2.14_1
+build_style=gnu-makefile
+short_desc="Daemonless replacement for libudev"
+maintainer="dkwo <npiazza@disroot.org>"
+license="ISC"
+homepage="https://github.com/illiliti/libudev-zero"
+distfiles="https://github.com/illiliti/libudev-zero/archive/refs/tags/${version}.tar.gz"
+checksum=0bd89b657d62d019598e6c7ed726ff8fed80e8ba092a83b484d66afb80b77da5
+make_check=no # no tests
+provides="libudev-${_UDEV_VERSION}_${revision} eudev-libudev-${_eudev_version}"
+replaces="eudev-libudev>=0"
+
+post_build() {
+ "$CC" $LDFLAGS $CFLAGS $CPPFLAGS -o libudev-zero-helper contrib/helper.c
+}
+
+post_install() {
+ vlicense LICENSE
+}
+
+libudev-zero-devel_package() {
+ provides="libudev-devel-${_UDEV_VERSION}_${revision} eudev-libudev-devel-${_eudev_version}"
+ replaces="eudev-libudev-devel>=0"
+ depends="libudev-zero>=${version}_${revision}"
+ short_desc+=" - development files"
+ pkg_install() {
+ vmove usr/include
+ vmove usr/lib/pkgconfig
+ vmove "usr/lib/*.a"
+ vmove "usr/lib/*.so"
+ }
+}
+
+libudev-zero-helper_package() {
+ depends="libudev-zero>=${version}_${revision}"
+ short_desc+=" - helper"
+ pkg_install() {
+ vinstall libudev-zero-helper 755 usr/libexec
+ }
+}
^ permalink raw reply [flat|nested] 50+ messages in thread
* Re: [WIP] new package: libudev-zero
2023-02-27 16:49 [PR PATCH] [rfc] udev alternatives dkwo
` (41 preceding siblings ...)
2024-01-14 10:39 ` [PR PATCH] [Updated] " dkwo
@ 2024-04-14 1:59 ` github-actions
2024-04-15 17:08 ` [PR PATCH] [Updated] " dkwo
` (5 subsequent siblings)
48 siblings, 0 replies; 50+ messages in thread
From: github-actions @ 2024-04-14 1:59 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 305 bytes --]
New comment by github-actions[bot] on void-packages repository
https://github.com/void-linux/void-packages/pull/42488#issuecomment-2053849405
Comment:
Pull Requests become stale 90 days after last activity and are closed 14 days after that. If this pull request is still relevant bump it or assign it.
^ permalink raw reply [flat|nested] 50+ messages in thread
* Re: [PR PATCH] [Updated] [WIP] new package: libudev-zero
2023-02-27 16:49 [PR PATCH] [rfc] udev alternatives dkwo
` (42 preceding siblings ...)
2024-04-14 1:59 ` github-actions
@ 2024-04-15 17:08 ` dkwo
2024-04-16 23:33 ` xplshn
` (4 subsequent siblings)
48 siblings, 0 replies; 50+ messages in thread
From: dkwo @ 2024-04-15 17:08 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 547 bytes --]
There is an updated pull request by dkwo against master on the void-packages repository
https://github.com/dkwo/void-packages udev
https://github.com/void-linux/void-packages/pull/42488
[WIP] new package: libudev-zero
https://github.com/illiliti/libudev-zero
- edit runit stage 1 script at void-linux/void-runit#106
- I tested the changes in this PR: initram and init scripts only
- I built this PR locally for my native architecture, (x86_64-musl)
A patch file from https://github.com/void-linux/void-packages/pull/42488.patch is attached
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-udev-42488.patch --]
[-- Type: text/x-diff, Size: 6929 bytes --]
From e382a5b441706d6ab0fea3ab1de4a8f6d3e1bc61 Mon Sep 17 00:00:00 2001
From: dkwo <nicolopiazzalunga@gmail.com>
Date: Wed, 1 Mar 2023 17:07:50 -0500
Subject: [PATCH 1/2] runit-void: patch for udev
---
srcpkgs/runit-void/patches/udev.patch | 95 +++++++++++++++++++++++++++
srcpkgs/runit-void/template | 2 +-
2 files changed, 96 insertions(+), 1 deletion(-)
create mode 100644 srcpkgs/runit-void/patches/udev.patch
diff --git a/srcpkgs/runit-void/patches/udev.patch b/srcpkgs/runit-void/patches/udev.patch
new file mode 100644
index 00000000000000..6583d87a38abf7
--- /dev/null
+++ b/srcpkgs/runit-void/patches/udev.patch
@@ -0,0 +1,95 @@
+From 30be966515f6d766baa6d3da83c66efa66a9b725 Mon Sep 17 00:00:00 2001
+From: dkwo <nicolopiazzalunga@gmail.com>
+Date: Wed, 1 Mar 2023 15:42:53 -0500
+Subject: [PATCH] core-services/{02,99},rc.conf,shutdown.d/60: allow
+ alternative udevd
+
+---
+ core-services/02-udev.sh | 27 +++++++++++++--------------
+ core-services/99-cleanup.sh | 11 +++++++++++
+ rc.conf | 5 +++++
+ shutdown.d/60-udev.sh | 4 ----
+ 4 files changed, 29 insertions(+), 18 deletions(-)
+ delete mode 100644 shutdown.d/60-udev.sh
+
+diff --git a/core-services/02-udev.sh b/core-services/02-udev.sh
+index b08f8ca..2c46d55 100644
+--- a/core-services/02-udev.sh
++++ b/core-services/02-udev.sh
+@@ -2,18 +2,17 @@
+
+ [ -n "$VIRTUALIZATION" ] && return 0
+
+-if [ -x /usr/lib/systemd/systemd-udevd ]; then
+- _udevd=/usr/lib/systemd/systemd-udevd
+-elif [ -x /sbin/udevd -o -x /bin/udevd ]; then
+- _udevd=udevd
+-else
+- msg_warn "cannot find udevd!"
+-fi
++msg "Starting device manager and waiting for devices to settle..."
++case $CONFIG_DEV in
++ udevd)
++ udevd --daemon
++ udevadm trigger --action=add --type=subsystems
++ udevadm trigger --action=add --type=devices
++ udevadm settle
++ ;;
+
+-if [ -n "${_udevd}" ]; then
+- msg "Starting udev and waiting for devices to settle..."
+- ${_udevd} --daemon
+- udevadm trigger --action=add --type=subsystems
+- udevadm trigger --action=add --type=devices
+- udevadm settle
+-fi
++ mdevd)
++ mdevd & pid_mdevd=$!
++ mdevd-coldplug
++ ;;
++esac
+diff --git a/core-services/99-cleanup.sh b/core-services/99-cleanup.sh
+index f27f728..d9f3f98 100644
+--- a/core-services/99-cleanup.sh
++++ b/core-services/99-cleanup.sh
+@@ -8,3 +8,14 @@ if [ ! -e /var/log/btmp ]; then
+ fi
+ install -dm1777 /tmp/.X11-unix /tmp/.ICE-unix
+ rm -f /etc/nologin /forcefsck /forcequotacheck /fastboot
++
++msg "Killing device manager to make way for service..."
++case $CONFIG_DEV in
++ udevd)
++ udevadm control --exit
++ ;;
++
++ mdevd)
++ kill "$pid_mdevd"
++ ;;
++esac
+diff --git a/rc.conf b/rc.conf
+index aa3da51..8a5e9f4 100644
+--- a/rc.conf
++++ b/rc.conf
+@@ -45,3 +45,8 @@
+ # RNG, for example if you plan to replicate this file system image and do not
+ # have the wherewithal to first delete the contents of /var/lib/seedrng.
+ #SEEDRNG_SKIP_CREDIT=false
++
++# The device manager to run during the init process. This is killed once boot
++# is complete for a supervised version to take its place. Valid values are
++# currently 'mdevd' or 'udevd' (default).
++CONFIG_DEV=udevd
+diff --git a/shutdown.d/60-udev.sh b/shutdown.d/60-udev.sh
+deleted file mode 100644
+index dd42ff7..0000000
+--- a/shutdown.d/60-udev.sh
++++ /dev/null
+@@ -1,4 +0,0 @@
+-if [ -z "$VIRTUALIZATION" ]; then
+- msg "Stopping udev..."
+- udevadm control --exit
+-fi
+--
+2.40.0
+
diff --git a/srcpkgs/runit-void/template b/srcpkgs/runit-void/template
index 66dd4ac88832d3..9b99964752e809 100644
--- a/srcpkgs/runit-void/template
+++ b/srcpkgs/runit-void/template
@@ -1,7 +1,7 @@
# Template file for 'runit-void'
pkgname=runit-void
version=20231124
-revision=1
+revision=2
build_style=gnu-makefile
short_desc="Void Linux runit scripts"
maintainer="Enno Boland <gottox@voidlinux.org>"
From d410dcb6d46cd744ec557fa5a09fc4f1ad7fce07 Mon Sep 17 00:00:00 2001
From: dkwo <nicolopiazzalunga@gmail.com>
Date: Fri, 24 Feb 2023 18:26:36 -0500
Subject: [PATCH 2/2] new package: libudev-zero
---
common/shlibs | 1 +
srcpkgs/libudev-zero-devel | 1 +
srcpkgs/libudev-zero-helper | 1 +
srcpkgs/libudev-zero/template | 45 +++++++++++++++++++++++++++++++++++
4 files changed, 48 insertions(+)
create mode 120000 srcpkgs/libudev-zero-devel
create mode 120000 srcpkgs/libudev-zero-helper
create mode 100644 srcpkgs/libudev-zero/template
diff --git a/common/shlibs b/common/shlibs
index 39099f6d426750..279fd686d8e02c 100644
--- a/common/shlibs
+++ b/common/shlibs
@@ -220,6 +220,7 @@ libgirepository-everything-1.0.so libgirepository-1.30_1
libgirepository-1.0.so.1 libgirepository-1.30_1
libudev.so.0 libudev0-shim-1_1
libudev.so.1 eudev-libudev-1.6_1
+libudev.so.1 libudev-zero-1.0.1_1
libgudev-1.0.so.0 libgudev-230_1
libumockdev.so.0 libumockdev-0.17.6_1
libext2fs.so.2 e2fsprogs-libs-1.41.5_1
diff --git a/srcpkgs/libudev-zero-devel b/srcpkgs/libudev-zero-devel
new file mode 120000
index 00000000000000..fa3977904232c3
--- /dev/null
+++ b/srcpkgs/libudev-zero-devel
@@ -0,0 +1 @@
+libudev-zero/
\ No newline at end of file
diff --git a/srcpkgs/libudev-zero-helper b/srcpkgs/libudev-zero-helper
new file mode 120000
index 00000000000000..fa3977904232c3
--- /dev/null
+++ b/srcpkgs/libudev-zero-helper
@@ -0,0 +1 @@
+libudev-zero/
\ No newline at end of file
diff --git a/srcpkgs/libudev-zero/template b/srcpkgs/libudev-zero/template
new file mode 100644
index 00000000000000..2d8b641973f63f
--- /dev/null
+++ b/srcpkgs/libudev-zero/template
@@ -0,0 +1,45 @@
+# Template file for 'libudev-zero'
+pkgname=libudev-zero
+version=1.0.3
+revision=1
+_UDEV_VERSION=251
+_eudev_version=3.2.14_1
+build_style=gnu-makefile
+short_desc="Daemonless replacement for libudev"
+maintainer="dkwo <npiazza@disroot.org>"
+license="ISC"
+homepage="https://github.com/illiliti/libudev-zero"
+distfiles="https://github.com/illiliti/libudev-zero/archive/refs/tags/${version}.tar.gz"
+checksum=0bd89b657d62d019598e6c7ed726ff8fed80e8ba092a83b484d66afb80b77da5
+make_check=no # no tests
+provides="libudev-${_UDEV_VERSION}_${revision} eudev-libudev-${_eudev_version}"
+replaces="eudev-libudev>=0"
+
+post_build() {
+ "$CC" $LDFLAGS $CFLAGS $CPPFLAGS -o libudev-zero-helper contrib/helper.c
+}
+
+post_install() {
+ vlicense LICENSE
+}
+
+libudev-zero-devel_package() {
+ provides="libudev-devel-${_UDEV_VERSION}_${revision} eudev-libudev-devel-${_eudev_version}"
+ replaces="eudev-libudev-devel>=0"
+ depends="libudev-zero>=${version}_${revision}"
+ short_desc+=" - development files"
+ pkg_install() {
+ vmove usr/include
+ vmove usr/lib/pkgconfig
+ vmove "usr/lib/*.a"
+ vmove "usr/lib/*.so"
+ }
+}
+
+libudev-zero-helper_package() {
+ depends="libudev-zero>=${version}_${revision}"
+ short_desc+=" - helper"
+ pkg_install() {
+ vinstall libudev-zero-helper 755 usr/libexec
+ }
+}
^ permalink raw reply [flat|nested] 50+ messages in thread
* Re: [WIP] new package: libudev-zero
2023-02-27 16:49 [PR PATCH] [rfc] udev alternatives dkwo
` (43 preceding siblings ...)
2024-04-15 17:08 ` [PR PATCH] [Updated] " dkwo
@ 2024-04-16 23:33 ` xplshn
2024-04-16 23:34 ` xplshn
` (3 subsequent siblings)
48 siblings, 0 replies; 50+ messages in thread
From: xplshn @ 2024-04-16 23:33 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 323 bytes --]
New comment by xplshn on void-packages repository
https://github.com/void-linux/void-packages/pull/42488#issuecomment-2060070953
Comment:
libudev-zero confirmed working with Pipewire through a small patch to libudev-zero: https://github.com/illiliti/libudev-zero/pull/69
WHat is blocking this one from being packaged?
^ permalink raw reply [flat|nested] 50+ messages in thread
* Re: [WIP] new package: libudev-zero
2023-02-27 16:49 [PR PATCH] [rfc] udev alternatives dkwo
` (44 preceding siblings ...)
2024-04-16 23:33 ` xplshn
@ 2024-04-16 23:34 ` xplshn
2024-04-16 23:35 ` xplshn
` (2 subsequent siblings)
48 siblings, 0 replies; 50+ messages in thread
From: xplshn @ 2024-04-16 23:34 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 294 bytes --]
New comment by xplshn on void-packages repository
https://github.com/void-linux/void-packages/pull/42488#issuecomment-2060072350
Comment:
@dkwo this is an unrelated question, do you know how to create a busybox based Void install? You seem interested in the GNUless linux landscape of things
^ permalink raw reply [flat|nested] 50+ messages in thread
* Re: [WIP] new package: libudev-zero
2023-02-27 16:49 [PR PATCH] [rfc] udev alternatives dkwo
` (45 preceding siblings ...)
2024-04-16 23:34 ` xplshn
@ 2024-04-16 23:35 ` xplshn
2024-04-17 13:46 ` dkwo
2024-04-18 0:47 ` xplshn
48 siblings, 0 replies; 50+ messages in thread
From: xplshn @ 2024-04-16 23:35 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 323 bytes --]
New comment by xplshn on void-packages repository
https://github.com/void-linux/void-packages/pull/42488#issuecomment-2060070953
Comment:
libudev-zero confirmed working with Pipewire through a small patch to libudev-zero: https://github.com/illiliti/libudev-zero/pull/69
What is blocking this one from being packaged?
^ permalink raw reply [flat|nested] 50+ messages in thread
* Re: [WIP] new package: libudev-zero
2023-02-27 16:49 [PR PATCH] [rfc] udev alternatives dkwo
` (46 preceding siblings ...)
2024-04-16 23:35 ` xplshn
@ 2024-04-17 13:46 ` dkwo
2024-04-18 0:47 ` xplshn
48 siblings, 0 replies; 50+ messages in thread
From: dkwo @ 2024-04-17 13:46 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 556 bytes --]
New comment by dkwo on void-packages repository
https://github.com/void-linux/void-packages/pull/42488#issuecomment-2061301823
Comment:
the package per se should be ok. maybe wait until they merge that patch and tag a new release?
to be useful, it needs smth like mdev-like a boss. the runit part could not be merged, not sure if we should drop it here.
(don't know much about busybox, but i've been playing with dinit, and i like it. it's also packaged, but not as init for now.
for the coreutils part, you might as well give chimera linux a try.)
^ permalink raw reply [flat|nested] 50+ messages in thread
* Re: [WIP] new package: libudev-zero
2023-02-27 16:49 [PR PATCH] [rfc] udev alternatives dkwo
` (47 preceding siblings ...)
2024-04-17 13:46 ` dkwo
@ 2024-04-18 0:47 ` xplshn
48 siblings, 0 replies; 50+ messages in thread
From: xplshn @ 2024-04-18 0:47 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 324 bytes --]
New comment by xplshn on void-packages repository
https://github.com/void-linux/void-packages/pull/42488#issuecomment-2062789792
Comment:
I didn't find the chimera community welcoming, at all. And I was also looking for a more Unix approach to Linux distros... Think I will stick to Alpine, nBSD and Void (in that order).
^ permalink raw reply [flat|nested] 50+ messages in thread
end of thread, other threads:[~2024-04-18 0:47 UTC | newest]
Thread overview: 50+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-02-27 16:49 [PR PATCH] [rfc] udev alternatives dkwo
2023-02-27 17:10 ` mobinmob
2023-02-27 17:11 ` mobinmob
2023-02-27 17:31 ` mobinmob
2023-02-27 17:38 ` mobinmob
2023-02-27 17:38 ` mobinmob
2023-02-27 18:05 ` [PR PATCH] [Updated] " dkwo
2023-02-27 18:06 ` dkwo
2023-02-27 18:07 ` [PR PATCH] [Updated] " dkwo
2023-02-27 18:25 ` dkwo
2023-02-27 18:38 ` dkwo
2023-02-27 21:25 ` dkwo
2023-02-27 23:04 ` [PR PATCH] [Updated] " dkwo
2023-02-28 15:20 ` mobinmob
2023-02-28 15:20 ` mobinmob
2023-02-28 17:19 ` mobinmob
2023-02-28 18:40 ` [PR PATCH] [Updated] " dkwo
2023-02-28 18:45 ` dkwo
2023-02-28 21:03 ` dkwo
2023-03-01 19:57 ` dkwo
2023-03-01 20:55 ` new package: libudev-zero dkwo
2023-03-01 22:09 ` [PR PATCH] [Updated] " dkwo
2023-03-01 23:07 ` dkwo
2023-03-06 19:24 ` [PR PATCH] [Updated] " dkwo
2023-04-07 14:32 ` dkwo
2023-04-11 20:34 ` [PR PATCH] [Updated] " dkwo
2023-04-11 20:35 ` dkwo
2023-04-11 21:49 ` dkwo
2023-04-21 21:34 ` dkwo
2023-04-24 18:24 ` dkwo
2023-04-26 14:11 ` dkwo
2023-04-26 14:19 ` dkwo
2023-04-26 17:41 ` mobinmob
2023-04-26 17:42 ` mobinmob
2023-04-29 15:09 ` [PR PATCH] [Updated] [WIP] " dkwo
2023-04-29 15:17 ` dkwo
2023-05-01 9:06 ` mobinmob
2023-05-01 14:43 ` [PR PATCH] [Updated] " dkwo
2023-07-15 21:56 ` dkwo
2023-10-14 1:44 ` github-actions
2023-10-15 21:44 ` [PR PATCH] [Updated] " dkwo
2024-01-14 1:50 ` github-actions
2024-01-14 10:39 ` [PR PATCH] [Updated] " dkwo
2024-04-14 1:59 ` github-actions
2024-04-15 17:08 ` [PR PATCH] [Updated] " dkwo
2024-04-16 23:33 ` xplshn
2024-04-16 23:34 ` xplshn
2024-04-16 23:35 ` xplshn
2024-04-17 13:46 ` dkwo
2024-04-18 0:47 ` xplshn
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).