Skip to content

Commit

Permalink
app-emulation/lxc: Bump v.5.0.3
Browse files Browse the repository at this point in the history
  • Loading branch information
geaaru committed Sep 28, 2023
1 parent 8d6da7f commit 0951a48
Show file tree
Hide file tree
Showing 2 changed files with 86 additions and 0 deletions.
29 changes: 29 additions & 0 deletions packages/atoms/emulation/app-emulation/lxc/build.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
prelude:
- |-
export FEATURES="-sandbox -usersandbox -ipc-sandbox -pid-sandbox -network-sandbox" && \
export JOBS={{ ( index .Values.labels "jobs" ) | default "3" }} && \
eval 'mkdir -p /var/cache/portage/distfiles || true' && \
chown portage:portage -R /var/cache/portage/ && \
{{- if .Values.use_flags }}
USE="{{ join " " .Values.use_flags }}" emerge {{ ( index .Values.labels "emerge.packages" ) }} -pv -t && \
{{- else }}
emerge -j ${JOBS} {{ ( index .Values.labels "emerge.packages" ) }} -pv -t && \
{{- end }}
{{- if .Values.use_flags }}
USE="{{ join " " .Values.use_flags }}" emerge -j ${JOBS} --nodeps {{ ( index .Values.labels "emerge.packages" ) }}
{{- else }}
emerge -j ${JOBS} --nodeps {{ ( index .Values.labels "emerge.packages" ) }}
{{- end }}
- export LUET_PORTAGE_CACHE_PACKAGES="/var/cache/portage/packages" && export LUET_PORTAGE_IGNORE_TAR_WARNING=1
&& export LUET_PORTAGE_PKGMETA=1 && export LUET_PORTAGE_PKGFILES=1 && eval 'rm -rf
/pkgdir/ || true' && mkdir -p /pkgdir/{{ .Values.name }} && luet-portage --dir /pkgdir/{{
.Values.name }} {{ ( index .Values.labels "emerge.packages" ) }} && eval 'rm -v
/var/cache/distfiles/* ${LUET_PORTAGE_CACHE_PACKAGES}/* || true'
package_dir: /pkgdir/{{ .Values.name }}
excludes:
- ^/var/cache/portage/
- ^/var/git/
requires:
- name: lxcfs
version: '>=0'
category: sys-fs
57 changes: 57 additions & 0 deletions packages/atoms/emulation/app-emulation/lxc/definition.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,57 @@
name: lxc
version: 5.0.3
category: app-emulation
use_flags:
- -apparmor
- -io-uring
- -man
- -selinux
- -static
- -systemd
- caps
- pam
- seccomp
- ssl
requires:
- name: openssl
version: '>=0'
category: dev-libs
- name: libcap
version: '>=0'
category: sys-libs
- name: libseccomp
version: '>=0'
category: sys-libs
- name: pam
version: '>=0'
category: sys-libs
annotations:
subsets:
rules:
devel:
- ^/usr/include/
portage:
- ^/var/db/pkg/
description: A userspace interface for the Linux kernel containment features
uri:
- https://linuxcontainers.org/ https://github.com/lxc/lxc
license: GPL-2 LGPL-2.1 LGPL-3
labels:
BDEPEND: virtual/pkgconfig =dev-lang/python-3* man? ( app-text/docbook2X ) >=dev-util/meson-0.48.2
>=dev-util/ninja-1.7.2 virtual/pkgconfig
DEPEND: sys-libs/libcap apparmor? ( sys-libs/libapparmor ) caps? ( static? ( sys-libs/libcap[static-libs]
) !static? ( sys-libs/libcap ) ) io-uring? ( >=sys-libs/liburing-2:= ) pam? (
sys-libs/pam ) seccomp? ( sys-libs/libseccomp ) selinux? ( sys-libs/libselinux
) ssl? ( dev-libs/openssl:0= ) systemd? ( sys-apps/systemd:= ) sys-kernel/linux-headers
apparmor? ( sys-apps/apparmor )
IUSE: apparmor +caps examples io-uring man pam seccomp selinux +ssl systemd +tools
+static kernel_linux
RDEPEND: sys-libs/libcap apparmor? ( sys-libs/libapparmor ) caps? ( static? ( sys-libs/libcap[static-libs]
) !static? ( sys-libs/libcap ) ) io-uring? ( >=sys-libs/liburing-2:= ) pam? (
sys-libs/pam ) seccomp? ( sys-libs/libseccomp ) selinux? ( sys-libs/libselinux
) ssl? ( dev-libs/openssl:0= ) systemd? ( sys-apps/systemd:= )
emerge.packages: app-emulation/lxc
kit: geaaru-kit
original.package.name: app-emulation/lxc
original.package.slot: "0"
original.package.version: 5.0.3

0 comments on commit 0951a48

Please sign in to comment.