criu: update to 2.3.

This commit is contained in:
Enno Boland 2016-06-15 14:40:50 +02:00
parent 909b50671d
commit 14043a6256
2 changed files with 8 additions and 8 deletions

View File

@ -1,14 +1,14 @@
--- criu/namespaces.c.orig 2016-05-21 11:15:59.401905470 +0200
+++ criu/namespaces.c 2016-05-21 11:17:20.481899402 +0200
--- criu/namespaces.c.orig 2016-06-15 14:28:33.646020571 +0200
+++ criu/namespaces.c 2016-06-15 14:28:43.407021019 +0200
@@ -9,7 +9,7 @@
#include <stdarg.h>
#include <signal.h>
#include <sched.h>
-#include <sys/capability.h>
+#include <linux/capability.h>
#include "util.h"
#include "imgset.h"
#include <sys/stat.h>
#include <limits.h>
#include <errno.h>
@@ -701,13 +701,13 @@ static int check_user_ns(int pid)
hdr.version = _LINUX_CAPABILITY_VERSION_3;
hdr.pid = 0;

View File

@ -1,6 +1,6 @@
# Template file for 'criu'
pkgname=criu
version=2.2
version=2.3
revision=1
hostmakedepends="pkg-config protobuf-c protobuf python asciidoc xmlto"
makedepends="libbsd-devel protobuf-c-devel protobuf-devel libnl3-devel"
@ -10,10 +10,10 @@ maintainer="Enno Boland <gottox@voidlinux.eu>"
license="GPL-2, LGPL-2"
homepage="http://criu.org/"
distfiles="https://download.openvz.org/criu/criu-$version.tar.bz2"
checksum=f893938f72d2c0693a9430e7dd39dc3d32a40187de5edbd65830c6ade0f34e53
checksum=acbdfeb2b6c5b72dbc849e014eecd4d166f0c05c76fc40424eedec0761b60bfe
nopie=yes
only_for_archs="x86_64"
only_for_archs="x86_64 x86_64-musl"
pycompile_module="pycriu"
do_build() {