Gentoo Archives: gentoo-commits

From: Matthias Maier <tamiko@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: sys-process/criu/
Date: Mon, 12 Feb 2018 03:05:50
Message-Id: 1518404732.a57c229ec7536ff13cdcde46de64459b77ec438a.tamiko@gentoo
1 commit: a57c229ec7536ff13cdcde46de64459b77ec438a
2 Author: Matthias Maier <tamiko <AT> gentoo <DOT> org>
3 AuthorDate: Mon Feb 12 02:58:00 2018 +0000
4 Commit: Matthias Maier <tamiko <AT> gentoo <DOT> org>
5 CommitDate: Mon Feb 12 03:05:32 2018 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a57c229e
7
8 sys-process/criu: drop old
9
10 Package-Manager: Portage-2.3.24, Repoman-2.3.6
11
12 sys-process/criu/Manifest | 2 -
13 sys-process/criu/criu-2.12.1-r1.ebuild | 100 ---------------------------------
14 sys-process/criu/criu-3.4-r1.ebuild | 98 --------------------------------
15 3 files changed, 200 deletions(-)
16
17 diff --git a/sys-process/criu/Manifest b/sys-process/criu/Manifest
18 index 28132aecefe..863d68e8601 100644
19 --- a/sys-process/criu/Manifest
20 +++ b/sys-process/criu/Manifest
21 @@ -1,4 +1,2 @@
22 -DIST criu-2.12.1.tar.bz2 646855 BLAKE2B b3bb7fd7b9006dd60346639c0d86954fa083de3af8950810a642447dd2f0043fdd8c6df96cd2f5e55788c002dd2c0530f7379fb17a5e798dbdacc14227cd5ae7 SHA512 7a168bc20665ed3ca9931e6f2fa6d58b87faee38eee30dcdda8dad041ffd90ea7e1bad17d4dcf5c5d8de563eacc64ecbd579b7f4b959a654182a688e94024ba2
23 DIST criu-2.5.tar.bz2 605226 BLAKE2B c4086b9822b119a648bda4f6cc831eba5b7e3fba5af41f8f0b1c00dac7d4aff88a71e81569c4559fd98113e76eba0653c67684f443c1c803c453209367a4c875 SHA512 ccf942005ff3b2a567726ddb8aa44048c130f1adf6e2cbdf48e919043c84a4e1c03ad0ec34b44263e5764bea62807a2cc0fa1135b929ad3166fb9486c2880570
24 -DIST criu-3.4.tar.bz2 701680 BLAKE2B 16cd6bde7f356322b979c14823d6f22ffc64a3104ca185c7407a97d7af9dc7a83bb538c86e7a93bb7d99c6a01eba309435d4e1e80033a90bf386d235871fca34 SHA512 71fc700d19b46381873b2d0fa90e7fa253b00beb5e4e6065bbf510766acbcc14b35d58fa8073801112f897d2320b7decca1115fb6853d5fe64f3c52aa40a9f32
25 DIST criu-3.6.tar.bz2 739437 BLAKE2B 0f128cf69a5a073df3abc736e3081b7d266573575c038a457fdf8adcdab668d957559f3b9a16606ff31871c3bf5e111349995c496c4236b5191340486814981f SHA512 5849024ac4660a5537ed37b6d98adf61d3f071e2a181d873a1f7ca6c4d00a4258445b4bc840e908d907bc34daf8a818450f54e6cdf4826a679e756c0cbc5d586
26
27 diff --git a/sys-process/criu/criu-2.12.1-r1.ebuild b/sys-process/criu/criu-2.12.1-r1.ebuild
28 deleted file mode 100644
29 index bf72562e14c..00000000000
30 --- a/sys-process/criu/criu-2.12.1-r1.ebuild
31 +++ /dev/null
32 @@ -1,100 +0,0 @@
33 -# Copyright 1999-2018 Gentoo Foundation
34 -# Distributed under the terms of the GNU General Public License v2
35 -
36 -EAPI=6
37 -
38 -PYTHON_COMPAT=( python2_7 )
39 -
40 -inherit eutils toolchain-funcs linux-info flag-o-matic python-r1 python-utils-r1
41 -
42 -DESCRIPTION="utility to checkpoint/restore a process tree"
43 -HOMEPAGE="http://criu.org/"
44 -SRC_URI="http://download.openvz.org/criu/${P}.tar.bz2"
45 -
46 -LICENSE="GPL-2"
47 -SLOT="0"
48 -KEYWORDS="~amd64 ~arm ~arm64"
49 -IUSE="python setproctitle"
50 -REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
51 -
52 -RDEPEND="dev-libs/protobuf-c
53 - dev-libs/libnl:3
54 - net-libs/libnet:1.1
55 - sys-libs/libcap
56 - python? ( ${PYTHON_DEPS} )
57 - setproctitle? ( dev-libs/libbsd )"
58 -DEPEND="${RDEPEND}
59 - app-text/asciidoc
60 - app-text/xmlto"
61 -RDEPEND="${RDEPEND}
62 - python? (
63 - || (
64 - dev-python/protobuf-python[${PYTHON_USEDEP}]
65 - dev-libs/protobuf[python,${PYTHON_USEDEP}]
66 - )
67 - dev-python/ipaddr[${PYTHON_USEDEP}]
68 - )"
69 -
70 -CONFIG_CHECK="~CHECKPOINT_RESTORE ~NAMESPACES ~PID_NS ~FHANDLE ~EVENTFD ~EPOLL ~INOTIFY_USER
71 - ~IA32_EMULATION ~UNIX_DIAG ~INET_DIAG ~INET_UDP_DIAG ~PACKET_DIAG ~NETLINK_DIAG"
72 -
73 -RESTRICT="test"
74 -
75 -PATCHES=(
76 - "${FILESDIR}"/2.2/${PN}-2.2-flags.patch
77 - "${FILESDIR}"/2.3/${PN}-2.3-no-git.patch
78 - "${FILESDIR}"/${PN}-2.8-automagic-libbsd.patch
79 - "${FILESDIR}"/2.0/${PN}-2.0-sysroot.patch
80 - "${FILESDIR}"/2.3/${PN}-2.3-aarch64.patch
81 - "${FILESDIR}"/${PN}-2.12.1-glibc-2.26.patch
82 -)
83 -
84 -criu_arch() {
85 - # criu infers the arch from $(uname -m). We never want this to happen.
86 - case ${ARCH} in
87 - amd64) echo "x86";;
88 - arm64) echo "aarch64";;
89 - *) echo "${ARCH}";;
90 - esac
91 -}
92 -
93 -src_compile() {
94 - RAW_LDFLAGS="$(raw-ldflags)" emake \
95 - CC="$(tc-getCC)" \
96 - LD="$(tc-getLD)" \
97 - OBJCOPY="$(tc-getOBJCOPY)" \
98 - LIBDIR="${EPREFIX}/usr/$(get_libdir)" \
99 - ARCH="$(criu_arch)" \
100 - V=1 WERROR=0 DEBUG=0 \
101 - SETPROCTITLE=$(usex setproctitle) \
102 - PYCRIU=$(usex python) \
103 - all docs
104 -}
105 -
106 -src_test() {
107 - # root privileges are required to dump all necessary info
108 - if [[ ${EUID} -eq 0 ]] ; then
109 - emake -j1 CC="$(tc-getCC)" ARCH="$(criu_arch)" V=1 WERROR=0 test
110 - fi
111 -}
112 -
113 -install_crit() {
114 - "${PYTHON:-python}" ../scripts/crit-setup.py install --root="${D}" --prefix="${EPREFIX}/usr/"
115 -}
116 -
117 -src_install() {
118 - emake \
119 - ARCH="$(criu_arch)" \
120 - PREFIX="${EPREFIX}"/usr \
121 - LOGROTATEDIR="${EPREFIX}"/etc/logrotate.d \
122 - DESTDIR="${D}" \
123 - LIBDIR="${EPREFIX}/usr/$(get_libdir)" \
124 - install
125 -
126 - dodoc CREDITS README.md
127 -
128 - if use python ; then
129 - cd lib
130 - python_foreach_impl install_crit
131 - fi
132 -}
133
134 diff --git a/sys-process/criu/criu-3.4-r1.ebuild b/sys-process/criu/criu-3.4-r1.ebuild
135 deleted file mode 100644
136 index 37f7bdf70e9..00000000000
137 --- a/sys-process/criu/criu-3.4-r1.ebuild
138 +++ /dev/null
139 @@ -1,98 +0,0 @@
140 -# Copyright 1999-2018 Gentoo Foundation
141 -# Distributed under the terms of the GNU General Public License v2
142 -
143 -EAPI=6
144 -
145 -PYTHON_COMPAT=( python2_7 )
146 -
147 -inherit eutils toolchain-funcs linux-info flag-o-matic python-r1 python-utils-r1
148 -
149 -DESCRIPTION="utility to checkpoint/restore a process tree"
150 -HOMEPAGE="http://criu.org/"
151 -SRC_URI="http://download.openvz.org/criu/${P}.tar.bz2"
152 -
153 -LICENSE="GPL-2"
154 -SLOT="0"
155 -KEYWORDS="~amd64 ~arm ~arm64"
156 -IUSE="python setproctitle"
157 -REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
158 -
159 -RDEPEND="dev-libs/protobuf-c
160 - dev-libs/libnl:3
161 - net-libs/libnet:1.1
162 - sys-libs/libcap
163 - python? ( ${PYTHON_DEPS} )
164 - setproctitle? ( dev-libs/libbsd )"
165 -DEPEND="${RDEPEND}
166 - app-text/asciidoc
167 - app-text/xmlto"
168 -RDEPEND="${RDEPEND}
169 - python? (
170 - || (
171 - dev-python/protobuf-python[${PYTHON_USEDEP}]
172 - dev-libs/protobuf[python,${PYTHON_USEDEP}]
173 - )
174 - dev-python/ipaddr[${PYTHON_USEDEP}]
175 - )"
176 -
177 -CONFIG_CHECK="~CHECKPOINT_RESTORE ~NAMESPACES ~PID_NS ~FHANDLE ~EVENTFD ~EPOLL ~INOTIFY_USER
178 - ~IA32_EMULATION ~UNIX_DIAG ~INET_DIAG ~INET_UDP_DIAG ~PACKET_DIAG ~NETLINK_DIAG"
179 -
180 -RESTRICT="test"
181 -
182 -PATCHES=(
183 - "${FILESDIR}"/2.2/${PN}-2.2-flags.patch
184 - "${FILESDIR}"/2.3/${PN}-2.3-no-git.patch
185 - "${FILESDIR}"/${PN}-2.8-automagic-libbsd.patch
186 - "${FILESDIR}"/2.0/${PN}-2.0-sysroot.patch
187 -)
188 -
189 -criu_arch() {
190 - # criu infers the arch from $(uname -m). We never want this to happen.
191 - case ${ARCH} in
192 - amd64) echo "x86";;
193 - arm64) echo "aarch64";;
194 - *) echo "${ARCH}";;
195 - esac
196 -}
197 -
198 -src_compile() {
199 - RAW_LDFLAGS="$(raw-ldflags)" emake \
200 - CC="$(tc-getCC)" \
201 - LD="$(tc-getLD)" \
202 - OBJCOPY="$(tc-getOBJCOPY)" \
203 - LIBDIR="${EPREFIX}/usr/$(get_libdir)" \
204 - ARCH="$(criu_arch)" \
205 - V=1 WERROR=0 DEBUG=0 \
206 - SETPROCTITLE=$(usex setproctitle) \
207 - PYCRIU=$(usex python) \
208 - all docs
209 -}
210 -
211 -src_test() {
212 - # root privileges are required to dump all necessary info
213 - if [[ ${EUID} -eq 0 ]] ; then
214 - emake -j1 CC="$(tc-getCC)" ARCH="$(criu_arch)" V=1 WERROR=0 test
215 - fi
216 -}
217 -
218 -install_crit() {
219 - "${PYTHON:-python}" ../scripts/crit-setup.py install --root="${D}" --prefix="${EPREFIX}/usr/"
220 -}
221 -
222 -src_install() {
223 - emake \
224 - ARCH="$(criu_arch)" \
225 - PREFIX="${EPREFIX}"/usr \
226 - LOGROTATEDIR="${EPREFIX}"/etc/logrotate.d \
227 - DESTDIR="${D}" \
228 - LIBDIR="${EPREFIX}/usr/$(get_libdir)" \
229 - install
230 -
231 - dodoc CREDITS README.md
232 -
233 - if use python ; then
234 - cd lib
235 - python_foreach_impl install_crit
236 - fi
237 -}