[packages] lxc: bump to latest git version
authorLuka Perkov <luka@openwrt.org>
Wed, 25 Sep 2013 14:20:39 +0000 (14:20 +0000)
committerLuka Perkov <luka@openwrt.org>
Wed, 25 Sep 2013 14:20:39 +0000 (14:20 +0000)
Signed-off-by: Luka Perkov <luka@openwrt.org>
SVN-Revision: 38177

utils/lxc/Makefile
utils/lxc/patches/010-compile.patch
utils/lxc/patches/015-getline.patch [new file with mode: 0644]
utils/lxc/patches/100-lxc-ps.patch

index e383e26ae880b05092a2b9bfae180719c5c2ddff..ee1713e34021908a7cc89aa0243e93c6eb4f70c6 100644 (file)
@@ -8,13 +8,13 @@
 include $(TOPDIR)/rules.mk
 
 PKG_NAME:=lxc
-PKG_VERSION:=2013-05-16
+PKG_VERSION:=2013-09-24
 PKG_RELEASE=$(PKG_SOURCE_VERSION)
 
 PKG_SOURCE_PROTO:=git
 PKG_SOURCE_URL:=git://github.com/lxc/lxc.git
 PKG_SOURCE_SUBDIR:=$(PKG_NAME)-$(PKG_VERSION)
-PKG_SOURCE_VERSION:=e9831f83532184caa119f830eee54728084444ba
+PKG_SOURCE_VERSION:=9d0cda4f22f76d693e2ceef0f77f2ba24227433c
 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION)-$(PKG_SOURCE_VERSION).tar.gz
 
 PKG_BUILD_PARALLEL:=1
index 3814013830e171e1e90a60ff6cf7788e51d125b6..ebc912f73971ae809e87d98096f908080e6dbc7a 100644 (file)
@@ -1,6 +1,6 @@
 --- a/configure.ac
 +++ b/configure.ac
-@@ -11,29 +11,6 @@
+@@ -11,29 +11,6 @@ AC_CANONICAL_HOST
  AM_PROG_CC_C_O
  AC_GNU_SOURCE
  
diff --git a/utils/lxc/patches/015-getline.patch b/utils/lxc/patches/015-getline.patch
new file mode 100644 (file)
index 0000000..347929f
--- /dev/null
@@ -0,0 +1,25 @@
+--- a/src/lxc/lxc_snapshot.c
++++ b/src/lxc/lxc_snapshot.c
+@@ -32,6 +32,8 @@
+ #include "arguments.h"
+ #include "utils.h"
++#include <../include/getline.h>
++
+ lxc_log_define(lxc_snapshot, lxc);
+ char *newname;
+--- a/src/lxc/lxc_user_nic.c
++++ b/src/lxc/lxc_user_nic.c
+@@ -43,11 +43,7 @@
+ #include <linux/sockios.h>
+ #include "config.h"
+-#ifndef HAVE_GETLINE
+-#ifdef HAVE_FGETLN
+ #include <../include/getline.h>
+-#endif
+-#endif
+ #if ISTEST
+ #define CONF_FILE "/tmp/lxc-usernet"
index d12dd17138e807a937643a80bd27e83f0ced92fd..0c1e8d434b2c2f6449b44ebf795872f749caca9c 100644 (file)
@@ -1,6 +1,6 @@
 --- a/src/lxc/lxc-ps.in
 +++ b/src/lxc/lxc-ps.in
-@@ -91,7 +91,7 @@
+@@ -93,7 +93,7 @@ while true; do
  done
  
  if [ "$list_container_processes" -eq "1" ]; then