diff --git a/pkg.info b/pkg.info index 5b6b10e..ab28a8d 100644 --- a/pkg.info +++ b/pkg.info @@ -1,7 +1,7 @@ name: crun description: A fast and lightweight fully featured OCI runtime and C library for running containers -version: 1.27.1 -revision: 2 +version: "1.28" +revision: 1 url: https://github.com/containers/crun license: GPL2-or-later,LGPL2.1-or-later maintainers: @@ -9,18 +9,19 @@ maintainers: architecture: any type: source depends: + - json-c - libcap - libseccomp - - udev - - yajl + - libudev make_depends: - go-md2man - libtool - python3=3.14.* + - udev provides: - oci-runtime downloads: - url: https://github.com/containers/crun/releases/download/${BPM_PKG_VERSION}/crun-${BPM_PKG_VERSION}.tar.gz extract_to: ${BPM_SOURCE} extract_strip_components: 1 - checksum: be7a71c455c918bbab0c03de64cf5ce4693c7164821ab3dce0bb0f579216e8f0 + checksum: eb8fe73ffe44d868b14bb94fa6c295bd57e8bf023de43b61579da826c07cc406 diff --git a/source-files/0001-fix-missing-json-c-symbols-in-build.patch b/source-files/0001-fix-missing-json-c-symbols-in-build.patch new file mode 100644 index 0000000..1dbf346 --- /dev/null +++ b/source-files/0001-fix-missing-json-c-symbols-in-build.patch @@ -0,0 +1,25 @@ +From 85c8148b4e1a580217420271e81bef7b67d6b5e7 Mon Sep 17 00:00:00 2001 +From: Frederik Schwan +Date: Wed, 27 May 2026 16:08:42 +0200 +Subject: [PATCH] fix missing json-c symbols in build + +--- + Makefile.am | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/Makefile.am b/Makefile.am +index bc2e40d9..5c029510 100644 +--- a/Makefile.am ++++ b/Makefile.am +@@ -158,7 +158,7 @@ else + crun_LDFLAGS = -Wl,--unresolved-symbols=ignore-all $(CRUN_LDFLAGS) + endif + else +-crun_LDADD = libcrun.la $(FOUND_LIBS) $(JSON_C_LIBS) ++crun_LDADD = libcrun.la libocispec/libocispec.la $(FOUND_LIBS) $(JSON_C_LIBS) + if ENABLE_COVERAGE + crun_LDFLAGS = $(CRUN_LDFLAGS) $(COVERAGE_LDFLAGS) + else +-- +2.54.0 + diff --git a/source.sh b/source.sh index cfd84a4..321773a 100644 --- a/source.sh +++ b/source.sh @@ -6,6 +6,7 @@ # This function is used for putting downloaded files to the correct location or applying patches prepare() { cd "$BPM_SOURCE" + patch -Np1 -i "$BPM_WORKDIR"/0001-fix-missing-json-c-symbols-in-build.patch ./autogen.sh }