From 86dc40bb75c3ca31609aff5535c1856682958836 Mon Sep 17 00:00:00 2001 From: ap4y Date: Mon, 28 Sep 2020 14:46:22 +1300 Subject: [PATCH] New package: crun-0.15 crun is supported by podman as an alternative for runc. --- common/shlibs | 1 + srcpkgs/crun/template | 33 +++++++++++++++++++++++++++++++++ srcpkgs/crun/update | 1 + srcpkgs/libcrun | 1 + srcpkgs/libcrun-devel | 1 + 5 files changed, 37 insertions(+) create mode 100644 srcpkgs/crun/template create mode 100644 srcpkgs/crun/update create mode 120000 srcpkgs/libcrun create mode 120000 srcpkgs/libcrun-devel diff --git a/common/shlibs b/common/shlibs index aae753c73a1..479c1de0a1f 100644 --- a/common/shlibs +++ b/common/shlibs @@ -3989,3 +3989,4 @@ libneatvnc.so.0 neatvnc-0.2.0_1 libtdjson.so.1.6.0 libtd-1.6.0_1 libJudy.so.1 judy-1.0.5_1 libsignal-protocol-c.so.2 libsignal-protocol-c-2.3.3_2 +libcrun.so.0 libcrun-0.15_1 diff --git a/srcpkgs/crun/template b/srcpkgs/crun/template new file mode 100644 index 00000000000..f99b045621e --- /dev/null +++ b/srcpkgs/crun/template @@ -0,0 +1,33 @@ +# Template file for 'crun' +pkgname=crun +version=0.15 +revision=1 +build_style=gnu-configure +configure_args="--disable-systemd --enable-shared" +hostmakedepends="pkg-config python3" +makedepends="libcap-devel libseccomp-devel yajl-devel go-md2man" +short_desc="Fast and lightweight fully featured OCI runtime" +maintainer="Arthur Evstifeev " +license="GPL-2.0-or-later, LGPL-2.1-or-later" +homepage="https://github.com/containers/crun" +distfiles="https://github.com/containers/crun/releases/download/${version}/crun-${version}.tar.xz" +checksum=e635b953327b1ae0155db63ef75be56755c0c3ce91ebbe4b4093774fdbd56df1 + +case $XBPS_TARGET_MACHINE in + *-musl) makedepends+=" argp-standalone" +esac + +libcrun-devel_package() { + depends="libcrun-${version}_${revision}" + short_desc+=" - C library for running containers - development files" + pkg_install() { + vmove "usr/lib/libcrun*.a" + } +} + +libcrun_package() { + short_desc+=" - C library for running containers" + pkg_install() { + vmove "usr/lib/libcrun.so*" + } +} diff --git a/srcpkgs/crun/update b/srcpkgs/crun/update new file mode 100644 index 00000000000..cdcf3fc57dc --- /dev/null +++ b/srcpkgs/crun/update @@ -0,0 +1 @@ +site=https://github.com/containers/crun/releases diff --git a/srcpkgs/libcrun b/srcpkgs/libcrun new file mode 120000 index 00000000000..d132684fcdb --- /dev/null +++ b/srcpkgs/libcrun @@ -0,0 +1 @@ +crun \ No newline at end of file diff --git a/srcpkgs/libcrun-devel b/srcpkgs/libcrun-devel new file mode 120000 index 00000000000..d132684fcdb --- /dev/null +++ b/srcpkgs/libcrun-devel @@ -0,0 +1 @@ +crun \ No newline at end of file