Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
26 changes: 26 additions & 0 deletions srcpkgs/aardvark-dns/files/close_range.patch
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
diff --git a/src/main.rs b/src/main.rs
index f3af0d6a..c20761e1 100644
--- a/src/main.rs
+++ b/src/main.rs
@@ -32,9 +32,19 @@ enum SubCommand {
Version(version::Version),
}

+#[cfg(any(all(target_os = "linux", target_env = "gnu"), target_os = "freebsd",))]
+unsafe fn close_range(first: libc::c_uint, last: libc::c_uint, flags: libc::c_int) -> libc::c_int {
+ unsafe { libc::close_range(first, last, flags) }
+}
+
+#[cfg(all(target_os = "linux", not(target_env = "gnu"),))]
+unsafe fn close_range(first: libc::c_uint, last: libc::c_uint, flags: libc::c_int) -> libc::c_int {
+ unsafe { libc::syscall(libc::SYS_close_range, first, last, flags) as libc::c_int }
+}
+
fn main() {
// Close all fds we inherited from our parent process, we only need stdio.
- let _ = unsafe { libc::close_range(3, libc::c_uint::MAX, 0) };
+ let _ = unsafe { close_range(3, libc::c_uint::MAX, 0) };

let formatter = Formatter3164 {
facility: Facility::LOG_USER,

10 changes: 8 additions & 2 deletions srcpkgs/aardvark-dns/template
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Template file for 'aardvark-dns'
pkgname=aardvark-dns
version=1.17.1
version=2.1.0
revision=1
build_style=cargo
short_desc="Authoritative dns server for A/AAAA container records"
Expand All @@ -9,7 +9,13 @@ license="Apache-2.0"
homepage="https://github.com/containers/aardvark-dns"
changelog="https://raw.githubusercontent.com/containers/aardvark-dns/main/RELEASE_NOTES.md"
distfiles="https://github.com/containers/aardvark-dns/archive/refs/tags/v${version}.tar.gz"
checksum=25b39bfad079a03862825b2f9db8b71b82fc80aad5552a9c76ea912edc9b889e
checksum=daf871488603e659b0501224cf0731ac317809b1d1701fc061cb4f6ae39a894f

post_patch() {
if [ "$XBPS_TARGET_LIBC" = "musl" ]; then
patch -Np1 < "${FILESDIR}/close_range.patch"
fi
}

post_install() {
vmkdir usr/libexec/podman
Expand Down
4 changes: 2 additions & 2 deletions srcpkgs/containers-common/template
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Template file for 'containers-common'
pkgname=containers-common
version=0.66.1
version=0.69.2
revision=1
build_wrksrc=common
build_style=gnu-makefile
Expand All @@ -13,7 +13,7 @@ license="Apache-2.0"
homepage="https://github.com/containers/container-libs"
changelog="https://github.com/containers/container-libs/tags"
distfiles="https://github.com/containers/container-libs/archive/refs/tags/common/v${version}.tar.gz"
checksum=d008a3cc50d6f68fe84f139081c811384223665c273a520bee174f5b9f2f48af
checksum=76ac2130ee222adf0dca4551ae79637e6c4ece9dc024bcbe166dfca1e20b87dd

post_install() {
vinstall pkg/seccomp/seccomp.json 0644 usr/share/containers
Expand Down
4 changes: 2 additions & 2 deletions srcpkgs/containers.image/template
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Template file for 'containers.image'
pkgname=containers.image
version=5.38.0
version=5.41.1
revision=1
build_wrksrc=image
conf_files="/etc/containers/registries.conf /etc/containers/policy.json"
Expand All @@ -11,7 +11,7 @@ license="Apache-2.0"
homepage="https://github.com/containers/container-libs"
changelog="https://github.com/containers/container-libs/tags"
distfiles="https://github.com/containers/container-libs/archive/refs/tags/image/v${version}.tar.gz"
checksum=10d6deb6cafa6f95a516049a63ee68804ba68d2f7d8541f970e6a8ca3fe5d26a
checksum=2253c15c53c60b0e4e59cb08fe719803878608e21ddbfaf803a41bd13ded1723

do_build() {
mkdir -p build
Expand Down
4 changes: 2 additions & 2 deletions srcpkgs/containers.storage/template
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Template file for 'containers.storage'
pkgname=containers.storage
version=1.61.0
version=1.64.1
revision=1
build_wrksrc=storage
hostmakedepends="go-md2man"
Expand All @@ -11,7 +11,7 @@ license="Apache-2.0"
homepage="https://github.com/containers/container-libs"
changelog="https://github.com/containers/container-libs/tags"
distfiles="https://github.com/containers/container-libs/archive/refs/tags/storage/v${version}.tar.gz"
checksum=6d620c7dd89a541da35243c92c39e5906a4ccdf573565d09284af5e5f44ab8ab
checksum=cb5ffdcf7e70b82c244c7a9de1e0662ec9ccfbac968597f251dcb3cc39a7d1ca
_manpage="containers-storage.conf.5"

do_build() {
Expand Down
5 changes: 3 additions & 2 deletions srcpkgs/netavark/template
Original file line number Diff line number Diff line change
@@ -1,16 +1,17 @@
# Template file for 'netavark'
pkgname=netavark
version=1.17.2
version=2.1.0
revision=1
build_style=cargo
hostmakedepends="mandown protobuf"
short_desc="Container network stack"
maintainer="Daniel Eyßer <daniel.eysser@gmail.com>"

Check failure on line 8 in srcpkgs/netavark/template

View workflow job for this annotation

GitHub Actions / Lint templates

Template Lint

Place maintainer= after depends=
depends="nftables"
license="Apache-2.0"
homepage="https://github.com/containers/netavark"
changelog="https://raw.githubusercontent.com/containers/netavark/main/RELEASE_NOTES.md"
distfiles="https://github.com/containers/netavark/archive/refs/tags/v${version}.tar.gz"
checksum=284faa7cc525b869cbac4053e0a4127ac743ca7da1457c49fffb35558ea9c78d
checksum=96677048168ddd1abe313e4c2e17f1cace72b60ee1bac8ca12a4bd7dfcadfbbb
# needs unshare which cannot be used in CI
make_check=ci-skip

Expand Down
10 changes: 5 additions & 5 deletions srcpkgs/podman/template
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
# Template file for 'podman'
pkgname=podman
version=5.8.8
version=6.1.3
revision=1
_container_libs_common=0.67.1
_container_libs_common=0.69.2
build_style=go
build_wrksrc=podman-${version}
go_import_path="github.com/containers/podman/v5"
go_import_path="go.podman.io/podman/v6"
go_package="${go_import_path}/cmd/podman ${go_import_path}/cmd/rootlessport"
go_build_tags="seccomp apparmor containers_image_ostree_stub cni libsqlite3"
hostmakedepends="pkg-config go-md2man python3 mdocml"
Expand All @@ -20,8 +20,8 @@ homepage="https://podman.io/"
changelog="https://raw.githubusercontent.com/containers/podman/main/RELEASE_NOTES.md"
distfiles="https://github.com/containers/podman/archive/v${version}.tar.gz
https://github.com/containers/container-libs/archive/refs/tags/common/v${_container_libs_common}.tar.gz"
checksum="d0b8dc905a2a767d0d7419e232761a589d66e7a67de2e7d1ce80a8f4e845bcbb
5438aa7763acd6d0ddb39426bec20bc344c53161716d88a9d75ac1fed0172b64"
checksum="6253aee14e573f747ca77e5a83a0df4ef9c2f609604f56715070ed06b6f9ddd8
76ac2130ee222adf0dca4551ae79637e6c4ece9dc024bcbe166dfca1e20b87dd"

case $XBPS_TARGET_MACHINE in
aarch64* | x86_64*) ;;
Expand Down
12 changes: 6 additions & 6 deletions srcpkgs/skopeo/template
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
# Template file for 'skopeo'
pkgname=skopeo
version=1.21.0
version=1.24.1
revision=1
build_style=go
build_helper=qemu
go_import_path="github.com/containers/skopeo"
go_import_path="go.podman.io/skopeo"
go_package="${go_import_path}/cmd/skopeo"
go_build_tags="containers_image_ostree_stub"
hostmakedepends="go-md2man pkg-config"
Expand All @@ -13,10 +13,10 @@ depends="containers.image containers.storage"
short_desc="Utility for operations on container images and image repositories"
maintainer="Orphaned <orphan@voidlinux.org>"
license="Apache-2.0"
homepage="https://github.com/containers/skopeo"
changelog="https://github.com/containers/skopeo/releases"
distfiles="https://github.com/containers/skopeo/archive/refs/tags/v${version}.tar.gz"
checksum=f76eeddf697a3cc7a872e3077ab4d0fdbebe9f3c6171462e3e9feb84368b3fac
homepage="https://github.com/podman-container-tools/skopeo"
changelog="https://github.com/podman-container-tools/skopeo/releases"
distfiles="https://github.com/podman-container-tools/skopeo/archive/refs/tags/v${version}.tar.gz"
checksum=6a3f342a327ec7684198eb0e15114940b6101506db48d9a96590f5942cb3b335
make_dirs="/var/lib/atomic/sigstore 0755 root root"
make_check=no # executables not found

Expand Down
Loading