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