mirror of
https://github.com/void-linux/void-packages.git
synced 2025-06-12 01:53:50 +02:00
criu: update to 3.11.
This commit is contained in:
parent
3f57829ced
commit
853a8c739e
2 changed files with 11 additions and 8 deletions
|
@ -1,5 +1,7 @@
|
||||||
--- criu/namespaces.c.orig 2016-06-15 14:28:33.646020571 +0200
|
diff --git a/criu/namespaces.c b/criu/namespaces.c
|
||||||
+++ criu/namespaces.c 2016-06-15 14:28:43.407021019 +0200
|
index 05d75d5..9d9bf5a 100644
|
||||||
|
--- criu/namespaces.c
|
||||||
|
+++ criu/namespaces.c
|
||||||
@@ -9,7 +9,7 @@
|
@@ -9,7 +9,7 @@
|
||||||
#include <stdarg.h>
|
#include <stdarg.h>
|
||||||
#include <signal.h>
|
#include <signal.h>
|
||||||
|
@ -9,19 +11,20 @@
|
||||||
#include <sys/stat.h>
|
#include <sys/stat.h>
|
||||||
#include <limits.h>
|
#include <limits.h>
|
||||||
#include <errno.h>
|
#include <errno.h>
|
||||||
@@ -701,13 +701,13 @@ static int check_user_ns(int pid)
|
@@ -888,13 +888,13 @@ static int check_user_ns(int pid)
|
||||||
hdr.version = _LINUX_CAPABILITY_VERSION_3;
|
hdr.version = _LINUX_CAPABILITY_VERSION_3;
|
||||||
hdr.pid = 0;
|
hdr.pid = 0;
|
||||||
|
|
||||||
- if (capget(&hdr, data) < 0) {
|
- if (capget(&hdr, data) < 0) {
|
||||||
+ if (syscall(SYS_capget, &hdr, data) < 0) {
|
+ if (syscall(SYS_capget, &hdr, data) < 0) {
|
||||||
pr_perror("capget");
|
pr_perror("capget");
|
||||||
return -1;
|
exit(1);
|
||||||
}
|
}
|
||||||
data[0].effective = data[0].permitted;
|
data[0].effective = data[0].permitted;
|
||||||
data[1].effective = data[1].permitted;
|
data[1].effective = data[1].permitted;
|
||||||
- if (capset(&hdr, data) < 0) {
|
- if (capset(&hdr, data) < 0) {
|
||||||
+ if (syscall(SYS_capset, &hdr, data) < 0) {
|
+ if (syscall(SYS_capset, &hdr, data) < 0) {
|
||||||
pr_perror("capset");
|
pr_perror("capset");
|
||||||
return -1;
|
exit(1);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -1,9 +1,9 @@
|
||||||
# Template file for 'criu'
|
# Template file for 'criu'
|
||||||
pkgname=criu
|
pkgname=criu
|
||||||
version=3.10
|
version=3.11
|
||||||
revision=1
|
revision=1
|
||||||
make_use_env=compliant
|
|
||||||
build_style=gnu-makefile
|
build_style=gnu-makefile
|
||||||
|
make_use_env=compliant
|
||||||
hostmakedepends="asciidoc pkg-config xmlto"
|
hostmakedepends="asciidoc pkg-config xmlto"
|
||||||
makedepends="libcap-devel libnet-devel libnl3-devel protobuf-c-devel
|
makedepends="libcap-devel libnet-devel libnl3-devel protobuf-c-devel
|
||||||
protobuf-devel"
|
protobuf-devel"
|
||||||
|
@ -12,7 +12,7 @@ maintainer="Enno Boland <gottox@voidlinux.eu>"
|
||||||
license="GPL-2.0-or-later, LGPL-2.1-only"
|
license="GPL-2.0-or-later, LGPL-2.1-only"
|
||||||
homepage="http://criu.org/"
|
homepage="http://criu.org/"
|
||||||
distfiles="https://download.openvz.org/criu/criu-${version}.tar.bz2"
|
distfiles="https://download.openvz.org/criu/criu-${version}.tar.bz2"
|
||||||
checksum=9b6fca443c10c45512cf532b43b2d52712a48b3ba653589fbc3c25b0ec126abe
|
checksum=886b5851a3f46755a4074414e1d09638dfbd3fddebe00706a7b5783eacafd10e
|
||||||
nocross="fails to run protobuf internals"
|
nocross="fails to run protobuf internals"
|
||||||
|
|
||||||
case "$XBPS_TARGET_MACHINE" in
|
case "$XBPS_TARGET_MACHINE" in
|
||||||
|
|
Loading…
Add table
Reference in a new issue