1 |
commit: ba5d5c5d07dd5d50b75be12b2fc0c6a679fd9ac3 |
2 |
Author: Joonas Niilola <juippis <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sat Jan 30 06:37:18 2021 +0000 |
4 |
Commit: Joonas Niilola <juippis <AT> gentoo <DOT> org> |
5 |
CommitDate: Sat Jan 30 06:37:18 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ba5d5c5d |
7 |
|
8 |
app-emulation/lxc: remove old 4.0.5 |
9 |
|
10 |
Signed-off-by: Joonas Niilola <juippis <AT> gentoo.org> |
11 |
|
12 |
app-emulation/lxc/Manifest | 2 - |
13 |
app-emulation/lxc/lxc-4.0.5.ebuild | 172 ------------------------------------- |
14 |
2 files changed, 174 deletions(-) |
15 |
|
16 |
diff --git a/app-emulation/lxc/Manifest b/app-emulation/lxc/Manifest |
17 |
index 2a8b7300158..3db082ff762 100644 |
18 |
--- a/app-emulation/lxc/Manifest |
19 |
+++ b/app-emulation/lxc/Manifest |
20 |
@@ -1,4 +1,2 @@ |
21 |
-DIST lxc-4.0.5.tar.gz 1368909 BLAKE2B 9fdef5600fe5fd427703312f07ed6499285a59d74c7c0572f036a108454192347166fe08df4551fa8df4e414167b7b081b8a1902036c7c8a012f27b99cc83335 SHA512 d536e767f4b7c1ea974469a19f89ddbcebbc3f8c7922b174b966fb2e80ae33199a8a915a962da9cbc7e075442555bc355525f2d4f8e76498b8a7e49f46dc006f |
22 |
-DIST lxc-4.0.5.tar.gz.asc 833 BLAKE2B 8cc3f00e3a3359b525f7ead48f4cce7b386a75c04b43eefe0ec939786e368712c2674a17fe9e9ef58649147c7f2d5682f5a0c280ddc8ca8c34664069d5efd4b5 SHA512 9e67932fa424224d39ec6c5c32a6e6c3cdf305d3e4d7c8ddbb8ab86a38392c30b56a20b11e4f85e3645a97c106a13ef868a5d3c78ac57bc8cb44cee20e83a700 |
23 |
DIST lxc-4.0.6.tar.gz 1363162 BLAKE2B e2d9d281cf521575aeecefbcba0c7b7f336ab73193be94e760b37eb6f3423ec3520f194549def6f64c1662f22b7df5a03dfc6b4e6dac1bf229c5f726f51b4d43 SHA512 98514796ef2091a291516ed7fde737df07ccfe374a0f8b4314e0ee992837e98ed02aa9f7809f8808a2f5ee1c7ae2dcea163531cdaedbb577211eeb9beff90c15 |
24 |
DIST lxc-4.0.6.tar.gz.asc 833 BLAKE2B 04b6bda0ed52a6ab8eebde4d3d5f1f6cb19eea017ae989d47323831d467324f99801b40c3bb70f00d7521753a298e6fa339f0da039c4d72b0163d0efc815d7e7 SHA512 baeafa5b63034e2884d5ab4f11710612bed1c61cd493ac19b9b24b93365b89325518b69878015b4b752f71beda47ecabf774b698e6be9ec9aa86376df2c302db |
25 |
|
26 |
diff --git a/app-emulation/lxc/lxc-4.0.5.ebuild b/app-emulation/lxc/lxc-4.0.5.ebuild |
27 |
deleted file mode 100644 |
28 |
index 8fb4991a35b..00000000000 |
29 |
--- a/app-emulation/lxc/lxc-4.0.5.ebuild |
30 |
+++ /dev/null |
31 |
@@ -1,172 +0,0 @@ |
32 |
-# Copyright 1999-2021 Gentoo Authors |
33 |
-# Distributed under the terms of the GNU General Public License v2 |
34 |
- |
35 |
-EAPI=7 |
36 |
- |
37 |
-inherit autotools bash-completion-r1 linux-info flag-o-matic optfeature pam readme.gentoo-r1 systemd verify-sig |
38 |
- |
39 |
-DESCRIPTION="A userspace interface for the Linux kernel containment features" |
40 |
-HOMEPAGE="https://linuxcontainers.org/ https://github.com/lxc/lxc" |
41 |
-SRC_URI="https://linuxcontainers.org/downloads/lxc/${P}.tar.gz |
42 |
- verify-sig? ( https://linuxcontainers.org/downloads/lxc/${P}.tar.gz.asc )" |
43 |
- |
44 |
-KEYWORDS="amd64 ~arm ~arm64 ~ppc64 x86" |
45 |
- |
46 |
-LICENSE="LGPL-3" |
47 |
-SLOT="0" |
48 |
-IUSE="apparmor +caps doc examples libressl man pam seccomp selinux +ssl +tools verify-sig" |
49 |
- |
50 |
-RDEPEND="app-misc/pax-utils |
51 |
- sys-apps/util-linux |
52 |
- sys-libs/libcap |
53 |
- virtual/awk |
54 |
- caps? ( sys-libs/libcap ) |
55 |
- pam? ( sys-libs/pam ) |
56 |
- seccomp? ( sys-libs/libseccomp ) |
57 |
- selinux? ( sys-libs/libselinux ) |
58 |
- ssl? ( |
59 |
- !libressl? ( dev-libs/openssl:0= ) |
60 |
- libressl? ( dev-libs/libressl:0= ) |
61 |
- )" |
62 |
-DEPEND="${RDEPEND} |
63 |
- >=sys-kernel/linux-headers-4 |
64 |
- apparmor? ( sys-apps/apparmor )" |
65 |
-BDEPEND="doc? ( app-doc/doxygen ) |
66 |
- man? ( app-text/docbook-sgml-utils ) |
67 |
- verify-sig? ( app-crypt/openpgp-keys-linuxcontainers )" |
68 |
- |
69 |
-CONFIG_CHECK="~!NETPRIO_CGROUP |
70 |
- ~CGROUPS |
71 |
- ~CGROUP_CPUACCT |
72 |
- ~CGROUP_DEVICE |
73 |
- ~CGROUP_FREEZER |
74 |
- |
75 |
- ~CGROUP_SCHED |
76 |
- ~CPUSETS |
77 |
- ~IPC_NS |
78 |
- ~MACVLAN |
79 |
- |
80 |
- ~MEMCG |
81 |
- ~NAMESPACES |
82 |
- ~NET_NS |
83 |
- ~PID_NS |
84 |
- |
85 |
- ~POSIX_MQUEUE |
86 |
- ~USER_NS |
87 |
- ~UTS_NS |
88 |
- ~VETH" |
89 |
- |
90 |
-ERROR_CGROUP_FREEZER="CONFIG_CGROUP_FREEZER: needed to freeze containers" |
91 |
-ERROR_MACVLAN="CONFIG_MACVLAN: needed for internal (inter-container) networking" |
92 |
-ERROR_MEMCG="CONFIG_MEMCG: needed for memory resource control in containers" |
93 |
-ERROR_NET_NS="CONFIG_NET_NS: needed for unshared network" |
94 |
-ERROR_POSIX_MQUEUE="CONFIG_POSIX_MQUEUE: needed for lxc-execute command" |
95 |
-ERROR_UTS_NS="CONFIG_UTS_NS: needed to unshare hostnames and uname info" |
96 |
-ERROR_VETH="CONFIG_VETH: needed for internal (host-to-container) networking" |
97 |
- |
98 |
-DOCS=( AUTHORS CONTRIBUTING MAINTAINERS NEWS README doc/FAQ.txt ) |
99 |
- |
100 |
-pkg_setup() { |
101 |
- linux-info_pkg_setup |
102 |
-} |
103 |
- |
104 |
-PATCHES=( |
105 |
- "${FILESDIR}"/${PN}-3.0.0-bash-completion.patch |
106 |
- "${FILESDIR}"/${PN}-2.0.5-omit-sysconfig.patch # bug 558854 |
107 |
-) |
108 |
- |
109 |
-VERIFY_SIG_OPENPGP_KEY_PATH=${BROOT}/usr/share/openpgp-keys/linuxcontainers.asc |
110 |
- |
111 |
-src_prepare() { |
112 |
- default |
113 |
- eautoreconf |
114 |
-} |
115 |
- |
116 |
-src_configure() { |
117 |
- append-flags -fno-strict-aliasing |
118 |
- |
119 |
- local myeconfargs=( |
120 |
- --bindir=/usr/bin |
121 |
- --localstatedir=/var |
122 |
- --sbindir=/usr/bin |
123 |
- |
124 |
- --with-config-path=/var/lib/lxc |
125 |
- --with-distro=gentoo |
126 |
- --with-init-script=systemd |
127 |
- --with-rootfs-path=/var/lib/lxc/rootfs |
128 |
- --with-runtime-path=/run |
129 |
- --with-systemdsystemunitdir=$(systemd_get_systemunitdir) |
130 |
- |
131 |
- --disable-asan |
132 |
- --disable-coverity-build |
133 |
- --disable-dlog |
134 |
- --disable-mutex-debugging |
135 |
- --disable-rpath |
136 |
- --disable-tests |
137 |
- --disable-ubsan |
138 |
- --disable-werror |
139 |
- |
140 |
- --enable-bash |
141 |
- --enable-commands |
142 |
- --enable-memfd-rexec |
143 |
- --enable-thread-safety |
144 |
- |
145 |
- $(use_enable apparmor) |
146 |
- $(use_enable caps capabilities) |
147 |
- $(use_enable doc api-docs) |
148 |
- $(use_enable examples) |
149 |
- $(use_enable man doc) |
150 |
- $(use_enable pam) |
151 |
- $(use_enable seccomp) |
152 |
- $(use_enable selinux) |
153 |
- $(use_enable ssl openssl) |
154 |
- $(use_enable tools) |
155 |
- |
156 |
- $(use_with pam pamdir $(getpam_mod_dir)) |
157 |
- ) |
158 |
- |
159 |
- econf "${myeconfargs[@]}" |
160 |
-} |
161 |
- |
162 |
-src_install() { |
163 |
- default |
164 |
- |
165 |
- mv "${ED}"/usr/share/bash-completion/completions/${PN} "${ED}"/$(get_bashcompdir)/${PN}-start || die |
166 |
- bashcomp_alias ${PN}-start \ |
167 |
- ${PN}-{attach,cgroup,copy,console,create,destroy,device,execute,freeze,info,monitor,snapshot,stop,unfreeze,wait} |
168 |
- |
169 |
- keepdir /etc/lxc /var/lib/lxc/rootfs /var/log/lxc |
170 |
- rmdir "${D}"/var/cache/lxc "${D}"/var/cache || die "rmdir failed" |
171 |
- |
172 |
- find "${D}" -name '*.la' -delete -o -name '*.a' -delete || die |
173 |
- |
174 |
- # Gentoo-specific additions! |
175 |
- newinitd "${FILESDIR}/${PN}.initd.8" ${PN} |
176 |
- |
177 |
- # Remember to compare our systemd unit file with the upstream one |
178 |
- # config/init/systemd/lxc.service.in |
179 |
- systemd_newunit "${FILESDIR}"/${PN}_at.service.4.0.0 "lxc@.service" |
180 |
- |
181 |
- DOC_CONTENTS=" |
182 |
- For openrc, there is an init script provided with the package. |
183 |
- You should only need to symlink /etc/init.d/lxc to |
184 |
- /etc/init.d/lxc.configname to start the container defined in |
185 |
- /etc/lxc/configname.conf. |
186 |
- |
187 |
- Correspondingly, for systemd a service file lxc@.service is installed. |
188 |
- Enable and start lxc@configname in order to start the container defined |
189 |
- in /etc/lxc/configname.conf." |
190 |
- DISABLE_AUTOFORMATTING=true |
191 |
- readme.gentoo_create_doc |
192 |
-} |
193 |
- |
194 |
-pkg_postinst() { |
195 |
- readme.gentoo_print_elog |
196 |
- |
197 |
- elog "Please run 'lxc-checkconfig' to see optional kernel features." |
198 |
- elog |
199 |
- elog "Optional uninstalled dependencies:" |
200 |
- optfeature "automatic template scripts" app-emulation/lxc-templates |
201 |
- optfeature "Debian-based distribution container image support" dev-util/debootstrap |
202 |
- optfeature "snapshot & restore functionality" sys-process/criu |
203 |
-} |