From f2519e4b432b18161d1ef16551b5510e1fc7c779 Mon Sep 17 00:00:00 2001 From: mobinmob Date: Sun, 23 Apr 2023 16:13:03 +0300 Subject: [PATCH 01/11] skalibs: update to 2.13.1.1. --- srcpkgs/skalibs/template | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/srcpkgs/skalibs/template b/srcpkgs/skalibs/template index 185177eb4165..c535aef9546e 100644 --- a/srcpkgs/skalibs/template +++ b/srcpkgs/skalibs/template @@ -1,6 +1,6 @@ # Template file for 'skalibs' pkgname=skalibs -version=2.13.1.0 +version=2.13.1.1 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=b3c48938c7fba4b19a8b0dce6e7a11427717a0901160bb62cfc6823f8ac86d92 +checksum=b272a1ab799f7fac44b9b4fb5ace78a9616b2fe4882159754b8088c4d8199e33 post_install() { vlicense COPYING LICENSE From 018ef27feb22cad8d5afaabdcc727882249405af Mon Sep 17 00:00:00 2001 From: mobinmob Date: Sun, 23 Apr 2023 16:13:15 +0300 Subject: [PATCH 02/11] s6-portable-utils: update to 2.3.0.2. --- 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 89d9709c5068..ec97350e1698 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.3.0.0 +version=2.3.0.2 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-portable-utils/" changelog="https://skarnet.org/software/s6-portable-utils/upgrade.html" distfiles="https://skarnet.org/software/${pkgname}/${pkgname}-${version}.tar.gz" -checksum=1e9066c430c1cb39a3a7b7004cd379ffebe566bd3d698db18de6125783002005 +checksum=8714269134f012650daac040e5646372dea5658b9c0d89a7ca03bb2abec4d1e8 build_options="static multicall" desc_option_static="Build static binaries" From c0b7d051b2a10143ec394c29a38925da3641b40a Mon Sep 17 00:00:00 2001 From: mobinmob Date: Sun, 23 Apr 2023 16:13:25 +0300 Subject: [PATCH 03/11] s6-portable-utils-man-pages: update to 2.3.0.2.2. --- srcpkgs/s6-portable-utils-man-pages/template | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/srcpkgs/s6-portable-utils-man-pages/template b/srcpkgs/s6-portable-utils-man-pages/template index b2046de61116..a21a2c92f19b 100644 --- a/srcpkgs/s6-portable-utils-man-pages/template +++ b/srcpkgs/s6-portable-utils-man-pages/template @@ -1,15 +1,15 @@ # Template file for 's6-portable-utils-man-pages' pkgname=s6-portable-utils-man-pages -version=2.3.0.0.1 +version=2.3.0.2.2 revision=1 build_style=gnu-makefile hostmakedepends="mdocml" short_desc="Documentation for s6-portable-utils in mdoc(7) format" maintainer="mobinmob " 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=1e1e5c53550bb11a2d7c12c1c745be9b1a68846a868bb8b3671d70450084c120 +homepage="https://git.sr.ht/~flexibeast/s6-portable-utils-man-pages" +distfiles="https://git.sr.ht/~flexibeast/s6-portable-utils-man-pages/archive/v${version}.tar.gz" +checksum=a80b865b44f89c070c6e008a5d447749d96c3cc732d75f7529e9ba957a1088e9 post_install() { vlicense LICENSE From c091ca3e9bb82d6de7a1048cf8232e84cd613f73 Mon Sep 17 00:00:00 2001 From: mobinmob Date: Sun, 23 Apr 2023 16:13:41 +0300 Subject: [PATCH 04/11] s6-networking-man-pages: update to 2.5.1.3.3. Also: - change homepage and distfiles to sourcehut (upstream). --- srcpkgs/s6-networking-man-pages/template | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/srcpkgs/s6-networking-man-pages/template b/srcpkgs/s6-networking-man-pages/template index 7a09aeb9f640..647ec82ca17f 100644 --- a/srcpkgs/s6-networking-man-pages/template +++ b/srcpkgs/s6-networking-man-pages/template @@ -1,15 +1,15 @@ # Template file for 's6-networking-man-pages' pkgname=s6-networking-man-pages -version=2.5.1.3.1 +version=2.5.1.3.3 revision=1 build_style=gnu-makefile hostmakedepends="mdocml" short_desc="Mdoc versions of the documentation for the s6-networking suite" maintainer="mobinmob " 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=6cff17453dc7946a2a5b94b8a4a48965db6c52c6000420acaedd443f9d069e8f +homepage="https://git.sr.ht/~flexibeast/s6-networking-man-pages" +distfiles="https://git.sr.ht/~flexibeast/s6-networking-man-pages/archive/v${version}.tar.gz" +checksum=14c79600f7494aa3ea1ce69b5d0d2d9775d3ab5aa098ae363e6317f04e74dd21 post_install() { vlicense LICENSE From 3e148840482ba8ec494756e1d2febb45c1c68e5f Mon Sep 17 00:00:00 2001 From: mobinmob Date: Sun, 23 Apr 2023 16:13:50 +0300 Subject: [PATCH 05/11] s6-man-pages: update to 2.11.3.2.4. Also: - change homepage and distfiles to sourcehut (upstream). --- srcpkgs/s6-man-pages/template | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/srcpkgs/s6-man-pages/template b/srcpkgs/s6-man-pages/template index 66af4d4914e2..6325e3c2390d 100644 --- a/srcpkgs/s6-man-pages/template +++ b/srcpkgs/s6-man-pages/template @@ -1,14 +1,14 @@ # Template file for 's6-man-pages' pkgname=s6-man-pages -version=2.11.3.0.1 +version=2.11.3.2.4 revision=1 build_style=gnu-makefile short_desc="Ports of the HTML documentation for the s6 supervision suite to mdoc(7)" maintainer="mobinmob " license="ISC" -homepage="https://github.com/flexibeast/s6-man-pages" -distfiles="https://github.com/flexibeast/s6-man-pages/archive/v${version}.tar.gz" -checksum=223e7c843e3996338efe1aee8d2779ae5b4b30e9140fd625021dda5c403b88be +homepage="https://git.sr.ht/~flexibeast/s6-man-pages" +distfiles="https://git.sr.ht/~flexibeast/s6-man-pages/archive/v${version}.tar.gz" +checksum=5fdfeecc6946e6bfe5904cd3c880dbe61956fd6060b622bd9f344d38594479c9 post_install() { vlicense LICENSE From 42cdf09cdb3ae4bc222ea0edfb33db423da12029 Mon Sep 17 00:00:00 2001 From: mobinmob Date: Sun, 23 Apr 2023 16:14:02 +0300 Subject: [PATCH 06/11] s6-linux-utils: update to 2.6.1.2. --- 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 fc4863803178..da161a8b73f2 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.1.0 +version=2.6.1.2 revision=1 build_style=configure configure_args="--libdir=/usr/lib --includedir=/usr/include @@ -15,7 +15,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=2accb5a443dd04203a6358534bdcf0dd369aceb4733e322612c2b8329260b7a2 +checksum=d863dc5d782de77e46504145188fb57dbb0b66250617a67d341eb0cb4a9d9cd9 build_options="static multicall" desc_option_static="Build static binaries" From a67086ea69ecaa6c76a776a7898f8e0ec5d7da52 Mon Sep 17 00:00:00 2001 From: mobinmob Date: Sun, 23 Apr 2023 16:23:54 +0300 Subject: [PATCH 07/11] execline-man-pages: update to 2.9.3.0.5. Also: - change homepage and distfiles to sourcehut (upstream) --- srcpkgs/execline-man-pages/template | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/srcpkgs/execline-man-pages/template b/srcpkgs/execline-man-pages/template index 26c5f1f45c08..8dccdc0005bb 100644 --- a/srcpkgs/execline-man-pages/template +++ b/srcpkgs/execline-man-pages/template @@ -1,15 +1,15 @@ # Template file for 'execline-man-pages' pkgname=execline-man-pages -version=2.9.2.0.2 +version=2.9.3.0.5 revision=1 build_style=gnu-makefile hostmakedepends="mdocml" short_desc="Mdoc versions of the documentation for the execline suite" maintainer="mobinmob " license="ISC" -homepage="https://github.com/flexibeast/execline-man-pages" -distfiles="https://github.com/flexibeast/execline-man-pages/archive/v${version}.tar.gz" -checksum=bc8ce8814b1e2c3b4b66dfb35cff8c38364877fe90f0b6fe4446dce130d43355 +homepage="https://git.sr.ht/~flexibeast/execline-man-pages" +distfiles="https://git.sr.ht/~flexibeast/execline-man-pages/archive/v${version}.tar.gz" +checksum=e626d5e8aca354a78ce21a028f8ac313ed0eec3bf96f1ba018bc2a3ce93cc9cc post_install() { vlicense LICENSE From cee41f7fbba9301ffc417910980a145eeec2fa10 Mon Sep 17 00:00:00 2001 From: mobinmob Date: Sun, 23 Apr 2023 16:38:08 +0300 Subject: [PATCH 08/11] New package: s6-rc-man-pages-0.5.4.1.1 --- srcpkgs/s6-rc-man-pages/template | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 srcpkgs/s6-rc-man-pages/template diff --git a/srcpkgs/s6-rc-man-pages/template b/srcpkgs/s6-rc-man-pages/template new file mode 100644 index 000000000000..1729bfcb1024 --- /dev/null +++ b/srcpkgs/s6-rc-man-pages/template @@ -0,0 +1,16 @@ +# Template file for 's6-rc-man-pages' +pkgname=s6-rc-man-pages +version=0.5.4.1.1 +revision=1 +build_style=gnu-makefile +hostmakedepends="mdocml" +short_desc="Ports of the documentation for s6-rc to mdoc(7)" +maintainer="mobinmob " +license="ISC" +homepage="https://git.sr.ht/~flexibeast/s6-rc-man-pages" +distfiles="https://git.sr.ht/~flexibeast/s6-rc-man-pages/archive/v0.5.4.1.2.tar.gz" +checksum=5eddff7cce9237d3ec7efa9694bd246003369fb1a460cead42daea8dc41d1420 + +post_install() { + vlicense LICENSE +} From f1e886d9fd085875834b26a529f39d9782a61fbf Mon Sep 17 00:00:00 2001 From: mobinmob Date: Sun, 23 Apr 2023 16:38:31 +0300 Subject: [PATCH 09/11] s6: update to 2.11.3.2. --- srcpkgs/s6/template | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/srcpkgs/s6/template b/srcpkgs/s6/template index ecc407c70fa3..4e89427f9180 100644 --- a/srcpkgs/s6/template +++ b/srcpkgs/s6/template @@ -1,6 +1,6 @@ # Template file for 's6' pkgname=s6 -version=2.11.3.0 +version=2.11.3.2 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=0ef2de80c40b603d58bf65ec5dd9f0bb1f227d35f311e8948d9e30f81efb5b81 +checksum=7c16138ad2f0ffbe0ed2ae8dd0cecada9f7c787edd33a69084d219110693df74 build_options="static" desc_option_static="Build static binaries" From 57d824c2d4824e538fef4dbd53c33a6380e48579 Mon Sep 17 00:00:00 2001 From: mobinmob Date: Sun, 23 Apr 2023 16:38:36 +0300 Subject: [PATCH 10/11] execline: update to 2.9.3.0. --- srcpkgs/execline/template | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/srcpkgs/execline/template b/srcpkgs/execline/template index 09c48090eec6..881dfd1816bd 100644 --- a/srcpkgs/execline/template +++ b/srcpkgs/execline/template @@ -1,6 +1,6 @@ # Template file for 'execline' pkgname=execline -version=2.9.2.0 +version=2.9.3.0 revision=1 build_style=configure configure_args="--libdir=/usr/lib --bindir=/usr/bin @@ -15,7 +15,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=9365012558a1e3c019cafc6eb574b0f5890495fb02652f20efdd782d577b1601 +checksum=c8027fa70922d117cdee8cc20d277e38d03fd960e6d136d8cec32603d4ec238d CFLAGS="-fPIC" From 7d569e92e377853542eb6bbb750fb0f81f87381f Mon Sep 17 00:00:00 2001 From: dkwo Date: Fri, 24 Feb 2023 17:01:40 -0500 Subject: [PATCH 11/11] 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() {