# HG changeset patch # User Hans-G?nter Theisgen # Date 1648658957 -3600 # Node ID 1fdcf67228f29a64d394ac8ae062859a5aa72e6a # Parent 2f97ce3121ffc436f9fce6e7b9ee671afa68e848 updated lxc and lxc-dev (3.2.1 -> 4.0.12) diff -r 2f97ce3121ff -r 1fdcf67228f2 lxc-dev/receipt --- a/lxc-dev/receipt Wed Mar 30 17:27:13 2022 +0100 +++ b/lxc-dev/receipt Wed Mar 30 17:49:17 2022 +0100 @@ -1,7 +1,7 @@ # SliTaz package receipt. PACKAGE="lxc-dev" -VERSION="3.2.1" +VERSION="4.0.12" CATEGORY="development" SHORT_DESC="Userspace control package for Linux Containers - development files." MAINTAINER="pascal.bellard@slitaz.org" @@ -14,8 +14,5 @@ # Rules to gen a SliTaz package suitable for Tazpkg. genpkg_rules() { - mkdir -p $fs/usr/lib - - cp -a $install/usr/include $fs/usr - cp -a $install/usr/lib/pkgconfig $fs/usr/lib + get_dev_files } diff -r 2f97ce3121ff -r 1fdcf67228f2 lxc/description.txt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/lxc/description.txt Wed Mar 30 17:49:17 2022 +0100 @@ -0,0 +1,17 @@ +LXC is a userspace interface for the Linux kernel containment features. +Through a powerful API and simple tools, it lets Linux users easily +create and manage system or application containers. + +Current LXC uses the following kernel features to contain processes: + +- Kernel namespaces (ipc, uts, mount, pid, network and user) +- Apparmor and SELinux profiles +- Seccomp policies +- Chroots (using pivot_root) +- Kernel capabilities +- CGroups (control groups) + +LXC containers are often considered as something in the middle between a +chroot and a full fledged virtual machine. +The goal of LXC is to create an environment as close as possible to a +standard Linux installation but without the need for a separate kernel. diff -r 2f97ce3121ff -r 1fdcf67228f2 lxc/receipt --- a/lxc/receipt Wed Mar 30 17:27:13 2022 +0100 +++ b/lxc/receipt Wed Mar 30 17:49:17 2022 +0100 @@ -1,7 +1,7 @@ # SliTaz package receipt. PACKAGE="lxc" -VERSION="3.2.1" +VERSION="4.0.12" CATEGORY="system-tools" SHORT_DESC="Userspace control package for Linux Containers." MAINTAINER="pascal.bellard@slitaz.org" @@ -11,7 +11,7 @@ TARBALL="$PACKAGE-$VERSION.tar.gz" WGET_URL="https://linuxcontainers.org/downloads/$PACKAGE/$TARBALL" -DEPENDS="bridge-utils gcc83-lib-base gnutls iptables libcap linux-bridge +DEPENDS="bridge-utils gcc83-lib-base gnutls iptables libcap linux-bridge linux-netfilter perl util-linux-getopt" BUILD_DEPENDS="gcc83 gnutls-dev libcap-dev util-linux-getopt" @@ -34,28 +34,28 @@ --libexec=/usr/lib/$PACKAGE \ --localstatedir=/var \ $CONFIGURE_ARGS && - make -j 1 && - make DESTDIR=$DESTDIR install + make && + make install DESTDIR=$DESTDIR } # Rules to gen a SliTaz package suitable for Tazpkg. genpkg_rules() { mkdir -p $fs/usr/share - mkdir -p $fs/var/lib/lxc cp -a $install/usr/share/lxc $fs/usr/share - cp -a $install/usr/bin $fs/usr - cp -a $install/usr/lib $fs/usr + + cook_copy_folders bin + cook_copy_folders lib rm -rf $fs/usr/lib/pkgconfig - cp -a $install/etc $fs - cp -a $install/var $fs + cook_copy_folders etc + cook_copy_folders var sed -i -e 's/^is_set(/zgrep() { zcat | grep "$@"; }\n\n&/' \ -e 's/\(.*\$GREP .*\)\(\$CONFIG.*\)/\1< \2/' \ - $fs/usr/bin/lxc-checkconfig + $fs/usr/bin/lxc-checkconfig chmod +x $fs/usr/bin/lxc-* }