1 |
commit: c2aa074d59cbaeecc585db0c14ca9f1f1b203364 |
2 |
Author: Fabian Groffen <grobian <AT> gentoo <DOT> org> |
3 |
AuthorDate: Thu Apr 13 18:53:37 2017 +0000 |
4 |
Commit: Fabian Groffen <grobian <AT> gentoo <DOT> org> |
5 |
CommitDate: Thu Apr 13 18:53:37 2017 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c2aa074d |
7 |
|
8 |
sys-apps/baselayout-prefix: remove old (EAPI=3) ebuilds |
9 |
|
10 |
Package-Manager: Portage-2.3.3, Repoman-2.3.1 |
11 |
|
12 |
sys-apps/baselayout-prefix/Manifest | 3 - |
13 |
.../baselayout-prefix-1.12.14-r1.ebuild | 147 ----------------- |
14 |
.../baselayout-prefix-1.12.14.ebuild | 181 --------------------- |
15 |
.../baselayout-prefix-1.12.5-r11.ebuild | 179 -------------------- |
16 |
.../baselayout-prefix-2.2-r3.ebuild | 95 ----------- |
17 |
.../baselayout-prefix-2.2-r4.ebuild | 83 ---------- |
18 |
6 files changed, 688 deletions(-) |
19 |
|
20 |
diff --git a/sys-apps/baselayout-prefix/Manifest b/sys-apps/baselayout-prefix/Manifest |
21 |
index 44b3a225d84..1951dcd2262 100644 |
22 |
--- a/sys-apps/baselayout-prefix/Manifest |
23 |
+++ b/sys-apps/baselayout-prefix/Manifest |
24 |
@@ -1,4 +1 @@ |
25 |
DIST baselayout-2.2.tar.bz2 40744 SHA256 11d4a223b06da545c3e59e07c9195570f334b5b1be05d995df0ebc8ea2203e98 SHA512 a5199c42e835d9f2683cc94f3c4c47ecdc392316c24e0932845736e2e90479b0c5c8ad72ead8e0537f097405b7d7548d00b87b7ff8c9e3651486e3c5c0970b36 WHIRLPOOL 60cc4f7f76c5a45c15303e526decffb3bad2b50ac659b1dd072d2ed4b0eb0b31929a1a733ddb03a31ee5882b889a4efb87206f63ffaa2b11e26d36afd0933a95 |
26 |
-DIST baselayout-prefix-1.12.14.1709.tar.bz2 461562 SHA256 ca1eec028b7ec72f1e3196f71eafd564062d9b677569698fe41ac5f817c9379e SHA512 600cf1a90771deb0f1d2be73dc2b6fbd0708c8b19e4b300a95cb5e5431be05904864cbcf8cd87dd3aefa5827fc8c3324d5249496a37a84ea2f676a25447f5b9e WHIRLPOOL 872f02fa0e4920c1c6fadbfeeee19d52ab1a2ccce32b0eb52e245dc71767cf31110c063946163bc171d6085a50867f74936c397fd6fdf8e9e30b146b06dc8926 |
27 |
-DIST baselayout-prefix-1.12.5.1701.tar.bz2 412843 SHA256 452ee800e37c65d9c44e77130f0ea9f082e05df2f9a673523fe2e03170fa3099 SHA512 87d73943a9210c2ab613a60bed1197fa92fe536bde870f97e28aaa6cbc432d2c94b507f9a78011c2b7e92a09612267c3d23a540bdb5677a836d6dc845af0858b WHIRLPOOL 4a678f1b150a48c85507a09dce57572b98eb7f2c4e22bb57294cc653e7ac896281ed255f39ecc6c45e3a1ddd385ffded1eaec9b3b0412b62320f0e997e8a84ec |
28 |
-DIST einfo-1.0.6.tar.xz 222368 SHA256 036108a6160c0a5468483e94effc2665d2028b6c64ea22ec607117cbaec564d6 SHA512 d9fabb11621b3ab49aaa0ad318ee6f511ee09d2a4de1cce7da1c3e0b1f8cb9a3b2f5d446f7e6d7b662a21955178ed89cc4c212382aac66d40a774f42f9a53738 WHIRLPOOL ec7bd03ac6f10205f8405fa0c4907af748a95727bb0a3fa20024a5fd215cb19e9eeebabcdba4be4710962d170bd96c47e03258e0f5b03e98449c90a32d0dedf0 |
29 |
|
30 |
diff --git a/sys-apps/baselayout-prefix/baselayout-prefix-1.12.14-r1.ebuild b/sys-apps/baselayout-prefix/baselayout-prefix-1.12.14-r1.ebuild |
31 |
deleted file mode 100644 |
32 |
index ea24b58f98d..00000000000 |
33 |
--- a/sys-apps/baselayout-prefix/baselayout-prefix-1.12.14-r1.ebuild |
34 |
+++ /dev/null |
35 |
@@ -1,147 +0,0 @@ |
36 |
-# Copyright 1999-2017 Gentoo Foundation |
37 |
-# Distributed under the terms of the GNU General Public License v2 |
38 |
- |
39 |
-EAPI=3 |
40 |
- |
41 |
-inherit eutils toolchain-funcs multilib prefix flag-o-matic user |
42 |
- |
43 |
-# last part in e.g. 1.12.14.1704 |
44 |
-PVER=1709 |
45 |
- |
46 |
-DESCRIPTION="Baselayout for Gentoo Prefix installs" |
47 |
-HOMEPAGE="https://prefix.gentoo.org/" |
48 |
-SRC_URI="https://dev.gentoo.org/~grobian/distfiles/${P}.${PVER}.tar.bz2" |
49 |
- |
50 |
-LICENSE="GPL-2" |
51 |
-SLOT="0" |
52 |
-KEYWORDS="~ppc-aix ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris ~x86-winnt" |
53 |
-IUSE="prefix-chaining" |
54 |
-DEPEND=">=sys-apps/portage-2.2.01" |
55 |
-RDEPEND=">=sys-libs/readline-5.0-r1 |
56 |
- >=app-shells/bash-3.1_p7 |
57 |
- >=sys-apps/coreutils-5.2.1 |
58 |
- kernel_Darwin? ( sys-process/pidof-bsd ) |
59 |
- kernel_FreeBSD? ( sys-process/pidof-bsd )" |
60 |
- |
61 |
-S=${WORKDIR}/${P}.${PVER} |
62 |
- |
63 |
-src_prepare() { |
64 |
- if use prefix-chaining; then |
65 |
- epatch "${S}"/baselayout-${PV}-prefix-chaining.patch |
66 |
- |
67 |
- # need to set the PKG_CONFIG_PATH globally for this prefix, when |
68 |
- # chaining is enabled, since pkg-config may not be installed locally, |
69 |
- # but still .pc files should be found for all RDEPENDable prefixes in |
70 |
- # the chain. |
71 |
- echo "PKG_CONFIG_PATH=\"${EPREFIX}/usr/lib/pkgconfig:${EPREFIX}/usr/share/pkgconfig\"" >> "${S}"/etc/env.d/00basic |
72 |
- fi |
73 |
- |
74 |
- cd "${S}" |
75 |
- eprefixify \ |
76 |
- etc/env.d/00basic \ |
77 |
- etc/profile |
78 |
- |
79 |
- # add the host OS MANPATH |
80 |
- echo 'MANPATH="/usr/share/man"' > etc/env.d/99basic || die "can't make file" |
81 |
- |
82 |
- # avoid a re-automake run |
83 |
- touch -r gnulib/configure.ac gnulib/Makefile.in gnulib/aclocal.m4 || die |
84 |
-} |
85 |
- |
86 |
-src_configure() { |
87 |
- cd gnulib || die |
88 |
- default |
89 |
-} |
90 |
- |
91 |
-src_compile() { |
92 |
- # build gnulib first |
93 |
- pushd gnulib > /dev/null || die |
94 |
- emake || die "Cannot build gnulib" |
95 |
- popd > /dev/null |
96 |
- |
97 |
- # use gnulib (buildsystem doesn't respect cppflags) |
98 |
- append-cflags -I../gnulib -I../gnulib/gllib |
99 |
- append-ldflags -L../gnulib/gllib |
100 |
- append-libs gnu |
101 |
- |
102 |
- local libdir="lib" |
103 |
- |
104 |
- [[ ${SYMLINK_LIB} == "yes" ]] && libdir=$(get_abi_LIBDIR "${DEFAULT_ABI}") |
105 |
-} |
106 |
- |
107 |
-src_install() { |
108 |
- local dir libdirs libdirs_env rcscripts_dir |
109 |
- |
110 |
- dodir /etc |
111 |
- dodir /etc/env.d |
112 |
- dodir /etc/init.d # .keep file might mess up init.d stuff |
113 |
- |
114 |
- libdirs=$(get_all_libdirs) |
115 |
- : ${libdirs:=lib} # it isn't that we don't trust multilib.eclass... |
116 |
- |
117 |
- rcscripts_dir="/lib/rcscripts" |
118 |
- |
119 |
- for dir in ${libdirs}; do |
120 |
- libdirs_env=${libdirs_env:+$libdirs_env:}/${dir}:/usr/${dir}:/usr/local/${dir} |
121 |
- [[ ${dir} == "lib" && ${SYMLINK_LIB} == "yes" ]] && continue |
122 |
- dodir /"${dir}" |
123 |
- dodir /usr/"${dir}" |
124 |
- dodir /usr/local/"${dir}" |
125 |
- done |
126 |
- |
127 |
- # Ugly compatibility with stupid ebuilds and old profiles symlinks |
128 |
- if [[ ${SYMLINK_LIB} == "yes" ]] ; then |
129 |
- rm -r "${ED}"/{lib,usr/lib,usr/local/lib} &> /dev/null |
130 |
- dosym $(get_abi_LIBDIR ${DEFAULT_ABI}) /lib |
131 |
- dosym $(get_abi_LIBDIR ${DEFAULT_ABI}) /usr/lib |
132 |
- dosym $(get_abi_LIBDIR ${DEFAULT_ABI}) /usr/local/lib |
133 |
- fi |
134 |
- |
135 |
- # FHS compatibility symlinks stuff |
136 |
- dosym /var/tmp /usr/tmp |
137 |
- |
138 |
- # rc-scripts version for testing of features that *should* be present |
139 |
- echo "Gentoo Prefix Base System version ${PV}" > ${ED}/etc/gentoo-release |
140 |
- |
141 |
- # get the basic stuff in there |
142 |
- doenvd "${S}"/etc/env.d/* || die "doenvd" |
143 |
- |
144 |
- # copy the profile |
145 |
- cp "${S}"/etc/profile "${ED}"/etc/profile |
146 |
- |
147 |
- # Setup files in /sbin |
148 |
- # |
149 |
- cd "${S}"/sbin |
150 |
- into / |
151 |
- # These moved from /etc/init.d/ to /sbin to help newb systems |
152 |
- # from breaking |
153 |
- |
154 |
- # |
155 |
- # Install baselayout utilities |
156 |
- # |
157 |
- local libdir="lib" |
158 |
- [[ ${SYMLINK_LIB} == "yes" ]] && libdir=$(get_abi_LIBDIR "${DEFAULT_ABI}") |
159 |
-} |
160 |
- |
161 |
-pkg_postinst() { |
162 |
- if [[ ${EUID} == 0 ]] ; then |
163 |
- # setup portage user, such that things that require root privs |
164 |
- # don't fail, bug #321623 |
165 |
- enewgroup portage 250 |
166 |
- enewuser portage 250 -1 "${EPREFIX}"/var/tmp/portage portage |
167 |
- fi |
168 |
- |
169 |
- # This is also written in src_install (so it's in CONTENTS), but |
170 |
- # write it here so that the new version is immediately in the file |
171 |
- # (without waiting for the user to do etc-update) |
172 |
- rm -f "${EROOT}"/etc/._cfg????_gentoo-release |
173 |
- echo "Gentoo Prefix Base System version ${PV}" > "${EROOT}"/etc/gentoo-release |
174 |
- |
175 |
- echo |
176 |
- einfo "Please be sure to update all pending '._cfg*' files in /etc," |
177 |
- einfo "else things might break! You can use 'etc-update'" |
178 |
- einfo "to accomplish this:" |
179 |
- einfo |
180 |
- einfo " # etc-update" |
181 |
- echo |
182 |
-} |
183 |
|
184 |
diff --git a/sys-apps/baselayout-prefix/baselayout-prefix-1.12.14.ebuild b/sys-apps/baselayout-prefix/baselayout-prefix-1.12.14.ebuild |
185 |
deleted file mode 100644 |
186 |
index e5d3151548c..00000000000 |
187 |
--- a/sys-apps/baselayout-prefix/baselayout-prefix-1.12.14.ebuild |
188 |
+++ /dev/null |
189 |
@@ -1,181 +0,0 @@ |
190 |
-# Copyright 1999-2017 Gentoo Foundation |
191 |
-# Distributed under the terms of the GNU General Public License v2 |
192 |
- |
193 |
-EAPI=3 |
194 |
- |
195 |
-inherit eutils toolchain-funcs multilib prefix flag-o-matic user |
196 |
- |
197 |
-# last part in e.g. 1.12.14.1704 |
198 |
-PVER=1709 |
199 |
- |
200 |
-DESCRIPTION="Baselayout for Gentoo Prefix installs" |
201 |
-HOMEPAGE="https://prefix.gentoo.org/" |
202 |
-SRC_URI="https://dev.gentoo.org/~grobian/distfiles/${P}.${PVER}.tar.bz2" |
203 |
- |
204 |
-LICENSE="GPL-2" |
205 |
-SLOT="0" |
206 |
-KEYWORDS="~ppc-aix ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris ~x86-winnt" |
207 |
-IUSE="prefix-chaining" |
208 |
-DEPEND=">=sys-apps/portage-2.2.01" |
209 |
-RDEPEND=">=sys-libs/readline-5.0-r1 |
210 |
- >=app-shells/bash-3.1_p7 |
211 |
- >=sys-apps/coreutils-5.2.1 |
212 |
- kernel_Darwin? ( sys-process/pidof-bsd ) |
213 |
- kernel_FreeBSD? ( sys-process/pidof-bsd )" |
214 |
- |
215 |
-S=${WORKDIR}/${P}.${PVER} |
216 |
- |
217 |
-src_prepare() { |
218 |
- if use prefix-chaining; then |
219 |
- epatch "${S}"/baselayout-${PV}-prefix-chaining.patch |
220 |
- |
221 |
- # need to set the PKG_CONFIG_PATH globally for this prefix, when |
222 |
- # chaining is enabled, since pkg-config may not be installed locally, |
223 |
- # but still .pc files should be found for all RDEPENDable prefixes in |
224 |
- # the chain. |
225 |
- echo "PKG_CONFIG_PATH=\"${EPREFIX}/usr/lib/pkgconfig:${EPREFIX}/usr/share/pkgconfig\"" >> "${S}"/etc/env.d/00basic |
226 |
- fi |
227 |
- |
228 |
- # The consoletype application in this form will only work on Linux |
229 |
- [[ ${CHOST} == *-linux-* ]] || epatch "${FILESDIR}"/baselayout-1.12.5-prefix-no-consoletype.patch |
230 |
- |
231 |
- cd "${S}" |
232 |
- eprefixify \ |
233 |
- etc/env.d/00basic \ |
234 |
- etc/profile \ |
235 |
- sbin/functions.sh \ |
236 |
- sbin/runscript.sh \ |
237 |
- src/runscript.c \ |
238 |
- sbin/depscan.sh \ |
239 |
- sbin/rc-daemon.sh \ |
240 |
- sbin/rc-services.sh |
241 |
- # add the host OS MANPATH |
242 |
- echo 'MANPATH="/usr/share/man"' > etc/env.d/99basic || die "can't make file" |
243 |
- |
244 |
- # avoid a re-automake run |
245 |
- touch -r gnulib/configure.ac gnulib/Makefile.in gnulib/aclocal.m4 || die |
246 |
-} |
247 |
- |
248 |
-src_configure() { |
249 |
- cd gnulib || die |
250 |
- default |
251 |
-} |
252 |
- |
253 |
-src_compile() { |
254 |
- # build gnulib first |
255 |
- pushd gnulib > /dev/null || die |
256 |
- emake || die "Cannot build gnulib" |
257 |
- popd > /dev/null |
258 |
- |
259 |
- # use gnulib (buildsystem doesn't respect cppflags) |
260 |
- append-cflags -I../gnulib -I../gnulib/gllib |
261 |
- append-ldflags -L../gnulib/gllib |
262 |
- append-libs gnu |
263 |
- |
264 |
- local libdir="lib" |
265 |
- |
266 |
- [[ ${SYMLINK_LIB} == "yes" ]] && libdir=$(get_abi_LIBDIR "${DEFAULT_ABI}") |
267 |
- |
268 |
- # CFLAGS in LD for #370695 |
269 |
- make -C "${S}"/src \ |
270 |
- CC="$(tc-getCC)" \ |
271 |
- LD="$(tc-getCC) ${CFLAGS} ${LDFLAGS}" \ |
272 |
- CFLAGS="${CFLAGS}" \ |
273 |
- LIBDIR="${libdir}" || die |
274 |
-} |
275 |
- |
276 |
-src_install() { |
277 |
- local dir libdirs libdirs_env rcscripts_dir |
278 |
- |
279 |
- dodir /etc |
280 |
- dodir /etc/env.d |
281 |
- dodir /etc/init.d # .keep file might mess up init.d stuff |
282 |
- |
283 |
- libdirs=$(get_all_libdirs) |
284 |
- : ${libdirs:=lib} # it isn't that we don't trust multilib.eclass... |
285 |
- |
286 |
- rcscripts_dir="/lib/rcscripts" |
287 |
- |
288 |
- for dir in ${libdirs}; do |
289 |
- libdirs_env=${libdirs_env:+$libdirs_env:}/${dir}:/usr/${dir}:/usr/local/${dir} |
290 |
- [[ ${dir} == "lib" && ${SYMLINK_LIB} == "yes" ]] && continue |
291 |
- dodir /"${dir}" |
292 |
- dodir /usr/"${dir}" |
293 |
- dodir /usr/local/"${dir}" |
294 |
- done |
295 |
- |
296 |
- # Ugly compatibility with stupid ebuilds and old profiles symlinks |
297 |
- if [[ ${SYMLINK_LIB} == "yes" ]] ; then |
298 |
- rm -r "${ED}"/{lib,usr/lib,usr/local/lib} &> /dev/null |
299 |
- dosym $(get_abi_LIBDIR ${DEFAULT_ABI}) /lib |
300 |
- dosym $(get_abi_LIBDIR ${DEFAULT_ABI}) /usr/lib |
301 |
- dosym $(get_abi_LIBDIR ${DEFAULT_ABI}) /usr/local/lib |
302 |
- fi |
303 |
- |
304 |
- # FHS compatibility symlinks stuff |
305 |
- dosym /var/tmp /usr/tmp |
306 |
- |
307 |
- # rc-scripts version for testing of features that *should* be present |
308 |
- echo "Gentoo Prefix Base System version ${PV}" > ${ED}/etc/gentoo-release |
309 |
- |
310 |
- # get the basic stuff in there |
311 |
- doenvd "${S}"/etc/env.d/* || die "doenvd" |
312 |
- |
313 |
- # copy the profile |
314 |
- cp "${S}"/etc/profile "${ED}"/etc/profile |
315 |
- |
316 |
- # Setup files in /sbin |
317 |
- # |
318 |
- cd "${S}"/sbin |
319 |
- into / |
320 |
- # These moved from /etc/init.d/ to /sbin to help newb systems |
321 |
- # from breaking |
322 |
- dosbin runscript.sh functions.sh |
323 |
- |
324 |
- # Compat symlinks between /etc/init.d and /sbin |
325 |
- # (some stuff have hardcoded paths) |
326 |
- dosym ../../sbin/depscan.sh /etc/init.d/depscan.sh |
327 |
- dosym ../../sbin/runscript.sh /etc/init.d/runscript.sh |
328 |
- dosym ../../sbin/functions.sh /etc/init.d/functions.sh |
329 |
- |
330 |
- cd "${S}"/sbin |
331 |
- into / |
332 |
- dosbin depscan.sh |
333 |
- insinto ${rcscripts_dir}/awk |
334 |
- doins "${S}"/src/awk/functions.awk |
335 |
- |
336 |
- # |
337 |
- # Install baselayout utilities |
338 |
- # |
339 |
- local libdir="lib" |
340 |
- [[ ${SYMLINK_LIB} == "yes" ]] && libdir=$(get_abi_LIBDIR "${DEFAULT_ABI}") |
341 |
- |
342 |
- cd "${S}"/src |
343 |
- make DESTDIR="${ED}" LIBDIR="${libdir}" install || die |
344 |
- |
345 |
- insinto ${rcscripts_dir}/sh |
346 |
- doins "${S}"/sbin/rc-* |
347 |
-} |
348 |
- |
349 |
-pkg_postinst() { |
350 |
- if [[ ${EUID} == 0 ]] ; then |
351 |
- # setup portage user, such that things that require root privs |
352 |
- # don't fail, bug #321623 |
353 |
- enewgroup portage 250 |
354 |
- enewuser portage 250 -1 "${EPREFIX}"/var/tmp/portage portage |
355 |
- fi |
356 |
- |
357 |
- # This is also written in src_install (so it's in CONTENTS), but |
358 |
- # write it here so that the new version is immediately in the file |
359 |
- # (without waiting for the user to do etc-update) |
360 |
- rm -f "${EROOT}"/etc/._cfg????_gentoo-release |
361 |
- echo "Gentoo Prefix Base System version ${PV}" > "${EROOT}"/etc/gentoo-release |
362 |
- |
363 |
- echo |
364 |
- einfo "Please be sure to update all pending '._cfg*' files in /etc," |
365 |
- einfo "else things might break! You can use 'etc-update'" |
366 |
- einfo "to accomplish this:" |
367 |
- einfo |
368 |
- einfo " # etc-update" |
369 |
- echo |
370 |
-} |
371 |
|
372 |
diff --git a/sys-apps/baselayout-prefix/baselayout-prefix-1.12.5-r11.ebuild b/sys-apps/baselayout-prefix/baselayout-prefix-1.12.5-r11.ebuild |
373 |
deleted file mode 100644 |
374 |
index ee23226667c..00000000000 |
375 |
--- a/sys-apps/baselayout-prefix/baselayout-prefix-1.12.5-r11.ebuild |
376 |
+++ /dev/null |
377 |
@@ -1,179 +0,0 @@ |
378 |
-# Copyright 1999-2017 Gentoo Foundation |
379 |
-# Distributed under the terms of the GNU General Public License v2 |
380 |
- |
381 |
-EAPI=3 |
382 |
- |
383 |
-inherit eutils toolchain-funcs multilib prefix flag-o-matic user |
384 |
- |
385 |
-# baselayout-prefix-1.12.5.1694.tar.bz2 |
386 |
-PVER=1701 |
387 |
- |
388 |
-DESCRIPTION="Baselayout for Gentoo Prefix installs" |
389 |
-HOMEPAGE="https://prefix.gentoo.org/" |
390 |
-SRC_URI="https://dev.gentoo.org/~grobian/distfiles/${P}.${PVER}.tar.bz2" |
391 |
- |
392 |
-LICENSE="GPL-2" |
393 |
-SLOT="0" |
394 |
-KEYWORDS="~ppc-aix ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris ~x86-winnt" |
395 |
-IUSE="prefix-chaining" |
396 |
-DEPEND=">=sys-apps/portage-2.2.01" |
397 |
-RDEPEND=">=sys-libs/readline-5.0-r1 |
398 |
- >=app-shells/bash-3.1_p7 |
399 |
- >=sys-apps/coreutils-5.2.1 |
400 |
- kernel_Darwin? ( sys-process/pidof-bsd ) |
401 |
- kernel_FreeBSD? ( sys-process/pidof-bsd )" |
402 |
- |
403 |
-S=${WORKDIR}/${P}.${PVER} |
404 |
- |
405 |
-src_prepare() { |
406 |
- if use prefix-chaining; then |
407 |
- epatch "${S}"/baselayout-1.12.5-prefix-chaining.patch |
408 |
- |
409 |
- # need to set the PKG_CONFIG_PATH globally for this prefix, when |
410 |
- # chaining is enabled, since pkg-config may not be installed locally, |
411 |
- # but still .pc files should be found for all RDEPENDable prefixes in |
412 |
- # the chain. |
413 |
- echo "PKG_CONFIG_PATH=\"${EPREFIX}/usr/lib/pkgconfig:${EPREFIX}/usr/share/pkgconfig\"" >> "${S}"/etc/env.d/00basic |
414 |
- fi |
415 |
- |
416 |
- # The consoletype application in this form will only work on Linux |
417 |
- [[ ${CHOST} == *-linux-* ]] || epatch "${FILESDIR}"/${P/-prefix/}-prefix-no-consoletype.patch |
418 |
- |
419 |
- cd "${S}" |
420 |
- eprefixify \ |
421 |
- etc/env.d/00basic \ |
422 |
- etc/profile \ |
423 |
- sbin/env-update.sh \ |
424 |
- sbin/functions.sh \ |
425 |
- sbin/runscript.sh \ |
426 |
- src/runscript.c \ |
427 |
- sbin/depscan.sh \ |
428 |
- sbin/rc-daemon.sh \ |
429 |
- sbin/rc-services.sh |
430 |
- # add the host OS MANPATH |
431 |
- echo 'MANPATH="/usr/share/man"' > etc/env.d/99basic || die "can't make file" |
432 |
-} |
433 |
- |
434 |
-src_configure() { |
435 |
- cd gnulib || die |
436 |
- default |
437 |
-} |
438 |
- |
439 |
-src_compile() { |
440 |
- # build gnulib first |
441 |
- pushd gnulib > /dev/null || die |
442 |
- emake || die "Cannot build gnulib" |
443 |
- popd > /dev/null |
444 |
- |
445 |
- # use gnulib |
446 |
- append-flags -I../gnulib -I../gnulib/gllib |
447 |
- append-ldflags -L../gnulib/gllib |
448 |
- append-libs gnu |
449 |
- |
450 |
- local libdir="lib" |
451 |
- |
452 |
- [[ ${SYMLINK_LIB} == "yes" ]] && libdir=$(get_abi_LIBDIR "${DEFAULT_ABI}") |
453 |
- |
454 |
- make -C "${S}"/src \ |
455 |
- CC="$(tc-getCC)" \ |
456 |
- LD="$(tc-getCC) ${LDFLAGS}" \ |
457 |
- CFLAGS="${CFLAGS}" \ |
458 |
- LIBDIR="${libdir}" || die |
459 |
-} |
460 |
- |
461 |
-src_install() { |
462 |
- local dir libdirs libdirs_env rcscripts_dir |
463 |
- |
464 |
- dodir /etc |
465 |
- dodir /etc/env.d |
466 |
- dodir /etc/init.d # .keep file might mess up init.d stuff |
467 |
- |
468 |
- libdirs=$(get_all_libdirs) |
469 |
- : ${libdirs:=lib} # it isn't that we don't trust multilib.eclass... |
470 |
- |
471 |
- rcscripts_dir="/lib/rcscripts" |
472 |
- |
473 |
- for dir in ${libdirs}; do |
474 |
- libdirs_env=${libdirs_env:+$libdirs_env:}/${dir}:/usr/${dir}:/usr/local/${dir} |
475 |
- [[ ${dir} == "lib" && ${SYMLINK_LIB} == "yes" ]] && continue |
476 |
- dodir /"${dir}" |
477 |
- dodir /usr/"${dir}" |
478 |
- dodir /usr/local/"${dir}" |
479 |
- done |
480 |
- |
481 |
- # Ugly compatibility with stupid ebuilds and old profiles symlinks |
482 |
- if [[ ${SYMLINK_LIB} == "yes" ]] ; then |
483 |
- rm -r "${ED}"/{lib,usr/lib,usr/local/lib} &> /dev/null |
484 |
- dosym $(get_abi_LIBDIR ${DEFAULT_ABI}) /lib |
485 |
- dosym $(get_abi_LIBDIR ${DEFAULT_ABI}) /usr/lib |
486 |
- dosym $(get_abi_LIBDIR ${DEFAULT_ABI}) /usr/local/lib |
487 |
- fi |
488 |
- |
489 |
- # FHS compatibility symlinks stuff |
490 |
- dosym /var/tmp /usr/tmp |
491 |
- |
492 |
- # rc-scripts version for testing of features that *should* be present |
493 |
- echo "Gentoo Prefix Base System version ${PV}" > ${ED}/etc/gentoo-release |
494 |
- |
495 |
- # get the basic stuff in there |
496 |
- doenvd "${S}"/etc/env.d/* || die "doenvd" |
497 |
- |
498 |
- # copy the profile |
499 |
- cp "${S}"/etc/profile "${ED}"/etc/profile |
500 |
- |
501 |
- # Setup files in /sbin |
502 |
- # |
503 |
- cd "${S}"/sbin |
504 |
- into / |
505 |
- # These moved from /etc/init.d/ to /sbin to help newb systems |
506 |
- # from breaking |
507 |
- dosbin runscript.sh functions.sh |
508 |
- |
509 |
- # Compat symlinks between /etc/init.d and /sbin |
510 |
- # (some stuff have hardcoded paths) |
511 |
- dosym ../../sbin/depscan.sh /etc/init.d/depscan.sh |
512 |
- dosym ../../sbin/runscript.sh /etc/init.d/runscript.sh |
513 |
- dosym ../../sbin/functions.sh /etc/init.d/functions.sh |
514 |
- |
515 |
- cd "${S}"/sbin |
516 |
- into / |
517 |
- dosbin depscan.sh |
518 |
- dosbin env-update.sh |
519 |
- insinto ${rcscripts_dir}/awk |
520 |
- doins "${S}"/src/awk/functions.awk |
521 |
- |
522 |
- # |
523 |
- # Install baselayout utilities |
524 |
- # |
525 |
- local libdir="lib" |
526 |
- [[ ${SYMLINK_LIB} == "yes" ]] && libdir=$(get_abi_LIBDIR "${DEFAULT_ABI}") |
527 |
- |
528 |
- cd "${S}"/src |
529 |
- make DESTDIR="${ED}" LIBDIR="${libdir}" install || die |
530 |
- |
531 |
- insinto ${rcscripts_dir}/sh |
532 |
- doins "${S}"/sbin/rc-* |
533 |
-} |
534 |
- |
535 |
-pkg_postinst() { |
536 |
- if [[ ${EUID} == 0 ]] ; then |
537 |
- # setup portage user, such that things that require root privs |
538 |
- # don't fail, bug #321623 |
539 |
- enewgroup portage 250 |
540 |
- enewuser portage 250 -1 "${EPREFIX}"/var/tmp/portage portage |
541 |
- fi |
542 |
- |
543 |
- # This is also written in src_install (so it's in CONTENTS), but |
544 |
- # write it here so that the new version is immediately in the file |
545 |
- # (without waiting for the user to do etc-update) |
546 |
- rm -f "${EROOT}"/etc/._cfg????_gentoo-release |
547 |
- echo "Gentoo Prefix Base System version ${PV}" > "${EROOT}"/etc/gentoo-release |
548 |
- |
549 |
- echo |
550 |
- einfo "Please be sure to update all pending '._cfg*' files in /etc," |
551 |
- einfo "else things might break! You can use 'etc-update'" |
552 |
- einfo "to accomplish this:" |
553 |
- einfo |
554 |
- einfo " # etc-update" |
555 |
- echo |
556 |
-} |
557 |
|
558 |
diff --git a/sys-apps/baselayout-prefix/baselayout-prefix-2.2-r3.ebuild b/sys-apps/baselayout-prefix/baselayout-prefix-2.2-r3.ebuild |
559 |
deleted file mode 100644 |
560 |
index 6b363391ba7..00000000000 |
561 |
--- a/sys-apps/baselayout-prefix/baselayout-prefix-2.2-r3.ebuild |
562 |
+++ /dev/null |
563 |
@@ -1,95 +0,0 @@ |
564 |
-# Copyright 1999-2017 Gentoo Foundation |
565 |
-# Distributed under the terms of the GNU General Public License v2 |
566 |
- |
567 |
-EAPI=3 |
568 |
- |
569 |
-inherit eutils multilib libtool |
570 |
- |
571 |
-MY_P=${P/-prefix/} # just use "upstream" sources |
572 |
-EINFO=einfo-1.0.6 |
573 |
-DESCRIPTION="Minimal baselayout and e-functions for Gentoo Prefix installs" |
574 |
-HOMEPAGE="https://www.gentoo.org/" |
575 |
-SRC_URI="mirror://gentoo/${MY_P}.tar.bz2 |
576 |
- https://dev.gentoo.org/~vapier/dist/${MY_P}.tar.bz2 |
577 |
- https://dev.gentoo.org/~redlizard/distfiles/${EINFO}.tar.xz" |
578 |
- |
579 |
-LICENSE="GPL-2" |
580 |
-SLOT="0" |
581 |
-KEYWORDS="~arm ~ppc-aix ~amd64-linux ~arm-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris ~x86-winnt" |
582 |
-IUSE="build kernel_linux" |
583 |
- |
584 |
-S=${WORKDIR}/${EINFO} |
585 |
- |
586 |
-pkg_preinst() { |
587 |
- # This is written in src_install (so it's in CONTENTS), but punt all |
588 |
- # pending updates to avoid user having to do etc-update (and make the |
589 |
- # pkg_postinst logic simpler). |
590 |
- rm -f "${EROOT}"/etc/._cfg????_gentoo-release |
591 |
-} |
592 |
- |
593 |
-src_prepare() { |
594 |
- # exotic platforms still aren't fixed in upstream libtool |
595 |
- elibtoolize |
596 |
-} |
597 |
- |
598 |
-src_configure() { |
599 |
- econf --libexecdir="${EPREFIX}/usr/lib/einfo" |
600 |
-} |
601 |
- |
602 |
-src_install() { |
603 |
- emake DESTDIR="${D}" install || die |
604 |
- |
605 |
- # make functions.sh available in /etc/init.d |
606 |
- # Note: we cannot replace the symlink with a file here, or Portage will |
607 |
- # config-protect it, and etc-update can't handle symlink to file updates |
608 |
- dodir etc/init.d |
609 |
- dosym ../../usr/lib/einfo/sh/functions.sh /etc/init.d/functions.sh |
610 |
- |
611 |
- pushd "${WORKDIR}"/${MY_P} > /dev/null || die |
612 |
- dodir etc |
613 |
- sed \ |
614 |
- -e "/PATH=/!s:/\(etc\|usr/bin\|bin\):\"${EPREFIX}\"/\1:g" \ |
615 |
- -e "/PATH=/s|\([:\"]\)/|\1${EPREFIX}/|g" \ |
616 |
- -e "/PATH=.*\/sbin/s|\"$|:/usr/sbin:/sbin\"|" \ |
617 |
- -e "/PATH=.*\/bin/s|\"$|:/usr/bin:/bin\"|" \ |
618 |
- etc/profile > "${ED}"/etc/profile || die |
619 |
- dodir etc/env.d |
620 |
- sed \ |
621 |
- -e "s:/\(etc/env.d\|opt\|usr\):${EPREFIX}/\1:g" \ |
622 |
- -e "/^PATH=/s|\"$|:${EPREFIX}/usr/sbin:${EPREFIX}/sbin\"|" \ |
623 |
- etc/env.d/00basic > "${ED}"/etc/env.d/00basic || die |
624 |
- dodoc ChangeLog.svn |
625 |
- popd > /dev/null |
626 |
- |
627 |
- # add the host OS MANPATH |
628 |
- if [[ -d "${ROOT}"/usr/share/man ]] ; then |
629 |
- echo 'MANPATH="/usr/share/man"' > "${ED}"/etc/env.d/99basic || die |
630 |
- fi |
631 |
- |
632 |
- # rc-scripts version for testing of features that *should* be present |
633 |
- echo "Gentoo Prefix Base System release ${PV}" > "${ED}"/etc/gentoo-release |
634 |
- |
635 |
- # FHS compatibility symlinks stuff |
636 |
- dosym /var/tmp /usr/tmp |
637 |
- |
638 |
- # add a dummy to avoid Portage shebang errors |
639 |
- dodir sbin |
640 |
- cat > "${ED}"/sbin/runscript <<- EOF |
641 |
- #!/bin/sh |
642 |
- |
643 |
- echo "runscript not supported by Gentoo Prefix Base System release ${PV}" 1>&2 |
644 |
- exit 1 |
645 |
- EOF |
646 |
- chmod 755 "${ED}"/sbin/runscript || die |
647 |
-} |
648 |
- |
649 |
-pkg_postinst() { |
650 |
- # Take care of the etc-update for the user |
651 |
- if [ -e "${EROOT}"/etc/._cfg0000_gentoo-release ] ; then |
652 |
- mv "${EROOT}"/etc/._cfg0000_gentoo-release "${EROOT}"/etc/gentoo-release |
653 |
- fi |
654 |
- |
655 |
- # baselayout leaves behind a lot of .keep files, so let's clean them up |
656 |
- find "${EROOT}"/lib/rcscripts/ -name .keep -exec rm -f {} + 2>/dev/null |
657 |
- find "${EROOT}"/lib/rcscripts/ -depth -type d -exec rmdir {} + 2>/dev/null |
658 |
-} |
659 |
|
660 |
diff --git a/sys-apps/baselayout-prefix/baselayout-prefix-2.2-r4.ebuild b/sys-apps/baselayout-prefix/baselayout-prefix-2.2-r4.ebuild |
661 |
deleted file mode 100644 |
662 |
index 063be78ae12..00000000000 |
663 |
--- a/sys-apps/baselayout-prefix/baselayout-prefix-2.2-r4.ebuild |
664 |
+++ /dev/null |
665 |
@@ -1,83 +0,0 @@ |
666 |
-# Copyright 1999-2017 Gentoo Foundation |
667 |
-# Distributed under the terms of the GNU General Public License v2 |
668 |
- |
669 |
-EAPI=3 |
670 |
- |
671 |
-inherit eutils multilib libtool |
672 |
- |
673 |
-MY_P=${P/-prefix/} # just use "upstream" sources |
674 |
-DESCRIPTION="Minimal baselayout for Gentoo Prefix installs" |
675 |
-HOMEPAGE="https://www.gentoo.org/" |
676 |
-SRC_URI="mirror://gentoo/${MY_P}.tar.bz2 |
677 |
- https://dev.gentoo.org/~vapier/dist/${MY_P}.tar.bz2" |
678 |
- |
679 |
-LICENSE="GPL-2" |
680 |
-SLOT="0" |
681 |
-KEYWORDS="~arm ~ppc-aix ~amd64-linux ~arm-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris ~x86-winnt" |
682 |
- |
683 |
-RDEPEND="sys-apps/gentoo-functions" |
684 |
-DEPEND="${RDEPEND}" |
685 |
- |
686 |
-pkg_preinst() { |
687 |
- # This is written in src_install (so it's in CONTENTS), but punt all |
688 |
- # pending updates to avoid user having to do etc-update (and make the |
689 |
- # pkg_postinst logic simpler). |
690 |
- rm -f "${EROOT}"/etc/._cfg????_gentoo-release |
691 |
-} |
692 |
- |
693 |
-src_install() { |
694 |
- # make functions.sh available in /etc/init.d (from gentoo-functions) |
695 |
- # Note: we cannot replace the symlink with a file here, or Portage will |
696 |
- # config-protect it, and etc-update can't handle symlink to file updates |
697 |
- dodir etc/init.d |
698 |
- dosym ../../lib/gentoo/functions.sh /etc/init.d/functions.sh |
699 |
- |
700 |
- pushd "${WORKDIR}"/${MY_P} > /dev/null || die |
701 |
- dodir etc |
702 |
- sed \ |
703 |
- -e "/PATH=/!s:/\(etc\|usr/bin\|bin\):\"${EPREFIX}\"/\1:g" \ |
704 |
- -e "/PATH=/s|\([:\"]\)/|\1${EPREFIX}/|g" \ |
705 |
- -e "/PATH=.*\/sbin/s|\"$|:/usr/sbin:/sbin\"|" \ |
706 |
- -e "/PATH=.*\/bin/s|\"$|:/usr/bin:/bin\"|" \ |
707 |
- etc/profile > "${ED}"/etc/profile || die |
708 |
- dodir etc/env.d |
709 |
- sed \ |
710 |
- -e "s:/\(etc/env.d\|opt\|usr\):${EPREFIX}/\1:g" \ |
711 |
- -e "/^PATH=/s|\"$|:${EPREFIX}/usr/sbin:${EPREFIX}/sbin\"|" \ |
712 |
- etc/env.d/00basic > "${ED}"/etc/env.d/00basic || die |
713 |
- dodoc ChangeLog.svn |
714 |
- popd > /dev/null |
715 |
- |
716 |
- # add the host OS MANPATH |
717 |
- if [[ -d "${ROOT}"/usr/share/man ]] ; then |
718 |
- echo 'MANPATH="/usr/share/man"' > "${ED}"/etc/env.d/99basic || die |
719 |
- fi |
720 |
- |
721 |
- # rc-scripts version for testing of features that *should* be present |
722 |
- echo "Gentoo Prefix Base System release ${PV}" > "${ED}"/etc/gentoo-release |
723 |
- |
724 |
- # FHS compatibility symlinks stuff |
725 |
- dosym /var/tmp /usr/tmp |
726 |
- |
727 |
- # add a dummy to avoid Portage shebang errors |
728 |
- dodir sbin |
729 |
- cat > "${ED}"/sbin/runscript <<- EOF |
730 |
- #!/usr/bin/env sh |
731 |
- source "${EPREFIX}/lib/gentoo/functions.sh" |
732 |
- |
733 |
- eerror "runscript not supported by Gentoo Prefix Base System release ${PV}" 1>&2 |
734 |
- exit 1 |
735 |
- EOF |
736 |
- chmod 755 "${ED}"/sbin/runscript || die |
737 |
-} |
738 |
- |
739 |
-pkg_postinst() { |
740 |
- # Take care of the etc-update for the user |
741 |
- if [ -e "${EROOT}"/etc/._cfg0000_gentoo-release ] ; then |
742 |
- mv "${EROOT}"/etc/._cfg0000_gentoo-release "${EROOT}"/etc/gentoo-release |
743 |
- fi |
744 |
- |
745 |
- # baselayout leaves behind a lot of .keep files, so let's clean them up |
746 |
- find "${EROOT}"/lib/rcscripts/ -name .keep -exec rm -f {} + 2>/dev/null |
747 |
- find "${EROOT}"/lib/rcscripts/ -depth -type d -exec rmdir {} + 2>/dev/null |
748 |
-} |