wok-current rev 24868
updated lxc and lxc-dev (3.2.1 -> 4.0.12)
author | Hans-G?nter Theisgen |
---|---|
date | Wed Mar 30 17:49:17 2022 +0100 (2022-03-30) |
parents | 2f97ce3121ff |
children | 71ea22396e62 |
files | lxc-dev/receipt lxc/description.txt lxc/receipt |
line diff
1.1 --- a/lxc-dev/receipt Wed Mar 30 17:27:13 2022 +0100 1.2 +++ b/lxc-dev/receipt Wed Mar 30 17:49:17 2022 +0100 1.3 @@ -1,7 +1,7 @@ 1.4 # SliTaz package receipt. 1.5 1.6 PACKAGE="lxc-dev" 1.7 -VERSION="3.2.1" 1.8 +VERSION="4.0.12" 1.9 CATEGORY="development" 1.10 SHORT_DESC="Userspace control package for Linux Containers - development files." 1.11 MAINTAINER="pascal.bellard@slitaz.org" 1.12 @@ -14,8 +14,5 @@ 1.13 # Rules to gen a SliTaz package suitable for Tazpkg. 1.14 genpkg_rules() 1.15 { 1.16 - mkdir -p $fs/usr/lib 1.17 - 1.18 - cp -a $install/usr/include $fs/usr 1.19 - cp -a $install/usr/lib/pkgconfig $fs/usr/lib 1.20 + get_dev_files 1.21 }
2.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 2.2 +++ b/lxc/description.txt Wed Mar 30 17:49:17 2022 +0100 2.3 @@ -0,0 +1,17 @@ 2.4 +LXC is a userspace interface for the Linux kernel containment features. 2.5 +Through a powerful API and simple tools, it lets Linux users easily 2.6 +create and manage system or application containers. 2.7 + 2.8 +Current LXC uses the following kernel features to contain processes: 2.9 + 2.10 +- Kernel namespaces (ipc, uts, mount, pid, network and user) 2.11 +- Apparmor and SELinux profiles 2.12 +- Seccomp policies 2.13 +- Chroots (using pivot_root) 2.14 +- Kernel capabilities 2.15 +- CGroups (control groups) 2.16 + 2.17 +LXC containers are often considered as something in the middle between a 2.18 +chroot and a full fledged virtual machine. 2.19 +The goal of LXC is to create an environment as close as possible to a 2.20 +standard Linux installation but without the need for a separate kernel.
3.1 --- a/lxc/receipt Wed Mar 30 17:27:13 2022 +0100 3.2 +++ b/lxc/receipt Wed Mar 30 17:49:17 2022 +0100 3.3 @@ -1,7 +1,7 @@ 3.4 # SliTaz package receipt. 3.5 3.6 PACKAGE="lxc" 3.7 -VERSION="3.2.1" 3.8 +VERSION="4.0.12" 3.9 CATEGORY="system-tools" 3.10 SHORT_DESC="Userspace control package for Linux Containers." 3.11 MAINTAINER="pascal.bellard@slitaz.org" 3.12 @@ -11,7 +11,7 @@ 3.13 TARBALL="$PACKAGE-$VERSION.tar.gz" 3.14 WGET_URL="https://linuxcontainers.org/downloads/$PACKAGE/$TARBALL" 3.15 3.16 -DEPENDS="bridge-utils gcc83-lib-base gnutls iptables libcap linux-bridge 3.17 +DEPENDS="bridge-utils gcc83-lib-base gnutls iptables libcap linux-bridge 3.18 linux-netfilter perl util-linux-getopt" 3.19 BUILD_DEPENDS="gcc83 gnutls-dev libcap-dev util-linux-getopt" 3.20 3.21 @@ -34,28 +34,28 @@ 3.22 --libexec=/usr/lib/$PACKAGE \ 3.23 --localstatedir=/var \ 3.24 $CONFIGURE_ARGS && 3.25 - make -j 1 && 3.26 - make DESTDIR=$DESTDIR install 3.27 + make && 3.28 + make install DESTDIR=$DESTDIR 3.29 } 3.30 3.31 # Rules to gen a SliTaz package suitable for Tazpkg. 3.32 genpkg_rules() 3.33 { 3.34 mkdir -p $fs/usr/share 3.35 - mkdir -p $fs/var/lib/lxc 3.36 3.37 cp -a $install/usr/share/lxc $fs/usr/share 3.38 - cp -a $install/usr/bin $fs/usr 3.39 - cp -a $install/usr/lib $fs/usr 3.40 + 3.41 + cook_copy_folders bin 3.42 + cook_copy_folders lib 3.43 3.44 rm -rf $fs/usr/lib/pkgconfig 3.45 3.46 - cp -a $install/etc $fs 3.47 - cp -a $install/var $fs 3.48 + cook_copy_folders etc 3.49 + cook_copy_folders var 3.50 3.51 sed -i -e 's/^is_set(/zgrep() { zcat | grep "$@"; }\n\n&/' \ 3.52 -e 's/\(.*\$GREP .*\)\(\$CONFIG.*\)/\1< \2/' \ 3.53 - $fs/usr/bin/lxc-checkconfig 3.54 + $fs/usr/bin/lxc-checkconfig 3.55 chmod +x $fs/usr/bin/lxc-* 3.56 } 3.57