Gentoo Archives: gentoo-commits

From: "Michał Górny" <mgorny@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: sys-apps/portage/
Date: Fri, 08 Oct 2021 06:21:30
Message-Id: 1633674080.4d2e98cbd77e606ffece62005316068a36c25b4f.mgorny@gentoo
1 commit: 4d2e98cbd77e606ffece62005316068a36c25b4f
2 Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
3 AuthorDate: Fri Oct 8 06:18:20 2021 +0000
4 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
5 CommitDate: Fri Oct 8 06:21:20 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4d2e98cb
7
8 sys-apps/portage: Remove old
9
10 Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
11
12 sys-apps/portage/Manifest | 5 -
13 sys-apps/portage/portage-3.0.19.ebuild | 266 ---------------------------------
14 sys-apps/portage/portage-3.0.22.ebuild | 265 --------------------------------
15 sys-apps/portage/portage-3.0.23.ebuild | 265 --------------------------------
16 sys-apps/portage/portage-3.0.24.ebuild | 264 --------------------------------
17 sys-apps/portage/portage-3.0.26.ebuild | 264 --------------------------------
18 6 files changed, 1329 deletions(-)
19
20 diff --git a/sys-apps/portage/Manifest b/sys-apps/portage/Manifest
21 index d7231af7ca0..09100f2e8d6 100644
22 --- a/sys-apps/portage/Manifest
23 +++ b/sys-apps/portage/Manifest
24 @@ -1,13 +1,8 @@
25 DIST portage-3.0.18.tar.xz 971692 BLAKE2B 0a8d2062fce1bf85a2f1025d17ddd3eafc987fd93c01f17bcc4487b23841e530451502417e24bbe58175b4fee871ceb528696775116a60f93b7b841d14ecf7a3 SHA512 d3f4b5258748fbef7b8ec000685b7e42804123a5c6b474bb6679666c2696a16e3bd202108df6e647770406539ff223bfd0deb1a3b4240e0a7ba1f2ec52aca2cd
26 -DIST portage-3.0.19.tar.gz 1347687 BLAKE2B 86eea08c2559b2d5a3eac39d8f7523380769710e7b4e3973463410bc291e746d9a36708e26d9b6456c06f67157fd04385c98ae28e25e48dba510fbaaab2d3536 SHA512 355153839219b93ae5d7c844ac5ed7ada10b2932d4a8e2b8208793fc33dfba3d46abe5ec7ecfbef9f16f23a6b21e57b7b14247f0b1fd85018a07e198bafa209c
27 DIST portage-3.0.20-bug-777492-209be9a.patch 1758 BLAKE2B 9ed7b18ef8b73c59a08e5a2c2fba9365b37bd8cace32d5a275a4003cbf3f40f6a0a5a4d168dae987169e2017222a3af291d9a860a4494c994ef51ca851620db1 SHA512 38f402d1ecf125af7c454afdcee12221fa715f4e043c1a59073422025a12508a06a4bb77503bb75f6ed9603ff507499558bc1032157f5fc0aee9573bb18a6e4b
28 DIST portage-3.0.20-bug-777492-a4d8829.patch 4549 BLAKE2B 9023c7bd3d173b48e1bfcf6d48c87f6b01731d6ec154132797c820a4c24ffedcaaf2eabf380d08c43238b377cb33c1be090fe8d213f8aef39b813ba2fab25672 SHA512 5575015216534bc0ddc0aa79bd2c1a96180d40dd8b3df61bb95e49a2d86e60da10a5eb8d658bf616da3f3f15ff6f4377d82e72ceca770304d2d79f1f25a26a11
29 DIST portage-3.0.20-bug-796584-693f6bf.patch 2335 BLAKE2B 4922fad1fc34977b786555f1811e7b3b80e910bb940492eb735e95349f2ebb6c6f52642908fdc49e87c5f8b14f9171c8f32c627fe5ab472e645d5bc41c55bf33 SHA512 4032aef8de565e9ab166bf0f1b0fe4b4aec755eac4b8960dde57f89e08b00609a33cdce56f0f469292facb46aa088da4f3465cec935811cae4d00cca2254763b
30 DIST portage-3.0.20-bug-796812-2ce11f0.patch 1292 BLAKE2B b7ca91f6d24e0eaf398ecdae8534ba19f88649ae91316a1cf074a04755a433038c04be49bce4d06306a03e25f7b83899205b971e40fba9248a56d5e65c48a2a8 SHA512 7de6d01d35e6e65be631a31e886b0b7d56d87211aeb1d5d3b8a60c3c6c510db368cca9280ea430675fd101434a15b3d1aef47d2a1d90a28fb634de46c2152768
31 DIST portage-3.0.20-bug-796959-c8a52e1-c3e4919.patch 10306 BLAKE2B 9ffcf396b983accef3263efa9f7a6d515cb5b669643abc5dfe610577abec80713d8a202950d37ed78625446f2db37559639002745dea7cc973d47f8befadca06 SHA512 f4cdf3dec98f7ba7da4d5454f4e75408b64934f59e4e1fc9f391a8fe4832b03c4598eef0affba01a415bcc2135d09d682fa612116ed1dbd753783268af243aa8
32 DIST portage-3.0.20.tar.gz 1348818 BLAKE2B e8af0662d073110a921ef23865872b0440f5e549da92b828af3dc71010d0f49d98c429c52c90ed683407fcfee7bf17a504082166f2fcad9590d7435dd43dfb83 SHA512 69c1846dedf0cfa3f57b2748cf8e077ead05ab0185e785dfc6310439b8624cdd72449209a807f12f59a5175ba065f8cca1409d43bee6012900b2c8b1e7f9b7e9
33 -DIST portage-3.0.22.tar.bz2 1150425 BLAKE2B af9cb1eeb96d887fe13514b14b9820c37b0de3204ebd423e69fea839a2908db2a916a03e82186ee9cc64562b770c27e407431fc00427ec1a5119b80ce35d5128 SHA512 0c227cb5a532235e735f973a5eb8f018189abb067e4b94276a780357b6ce93c9c967a03a3320affddf3c614fd26188e7598eeaee350305013b427a343892b016
34 -DIST portage-3.0.23.tar.bz2 1150929 BLAKE2B 26009cd2c19a138783a713d524744215796d35bb495e753e0fc76a354db89cfd210bdb62eea2dc54609e18024be49cec0e1de96bb6225f6d50fe9d8f52d8cbe5 SHA512 e0b21cd9f2eeaf201e2caf9f39afd9d0525a25d1576955b277ea9b44f0fcfdbe27ff54de16a06da53f72a08bbafc73a14f9d874dba4edebca3cbdf69fbf31862
35 -DIST portage-3.0.24.tar.bz2 1153838 BLAKE2B b2cbb8b3156987f42ff6c8f140586eae40da4a0a42091a4d11f46b61b66e81ac8e4c366e69b12c06d3a300405f089d68e70175efb7eabe25bb19c47679c19873 SHA512 b16751ba0b4c604cd7d72ad8dfaad40d845f87066b4e54fe264093b88a0b29a6af4e8b72f00be2da501fd288dfa23143d8f61f49048e8565b9d17687ef3732d9
36 -DIST portage-3.0.26.tar.bz2 1153321 BLAKE2B bec2409fa80b236bff10ba1840f6b11294a2a08148e2fd143e13f09f8baf68a1fe1a0a448169850e33b4bb00eefbd0745e6503ffe61d0e5ca604d949a93c997c SHA512 d3ac941a3f9b24747e66ceda508ca6b6211c6ec412b7fbdfbbc9191696b67516aec4ab5ee5e49a086e32567e54f9156c3bf5c4fddb85ccebb1c61bb4c87e719a
37 DIST portage-3.0.28.tar.bz2 1153994 BLAKE2B 8d9e3af04acd9bb5fdb3cff5b928abbf707db13f6c25afdac4399ea47adb67b2621ebb733927b4f9386e3f285fa7daac0423ae3fb0509a9df747b41c82865313 SHA512 148484b0384672116f2f2187eaddb56f646548324cd5f6c8e187a02bc965fb2bea6632214aed9b40c615acb89eb6124ab831ad85c59bac9a416b02a07506669b
38
39 diff --git a/sys-apps/portage/portage-3.0.19.ebuild b/sys-apps/portage/portage-3.0.19.ebuild
40 deleted file mode 100644
41 index a8c589d72a2..00000000000
42 --- a/sys-apps/portage/portage-3.0.19.ebuild
43 +++ /dev/null
44 @@ -1,266 +0,0 @@
45 -# Copyright 1999-2021 Gentoo Authors
46 -# Distributed under the terms of the GNU General Public License v2
47 -
48 -EAPI=7
49 -
50 -DISTUTILS_USE_SETUPTOOLS=no
51 -PYTHON_COMPAT=( pypy3 python3_{7..10} )
52 -PYTHON_REQ_USE='bzip2(+),threads(+)'
53 -TMPFILES_OPTIONAL=1
54 -
55 -inherit distutils-r1 linux-info tmpfiles prefix
56 -
57 -DESCRIPTION="Portage is the package management and distribution system for Gentoo"
58 -HOMEPAGE="https://wiki.gentoo.org/wiki/Project:Portage"
59 -
60 -LICENSE="GPL-2"
61 -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86"
62 -SLOT="0"
63 -IUSE="apidoc build doc gentoo-dev +ipc +native-extensions +rsync-verify selinux test xattr"
64 -RESTRICT="!test? ( test )"
65 -
66 -BDEPEND="
67 - app-arch/xz-utils
68 - test? ( dev-vcs/git )"
69 -DEPEND="!build? ( $(python_gen_impl_dep 'ssl(+)') )
70 - >=app-arch/tar-1.27
71 - dev-lang/python-exec:2
72 - >=sys-apps/sed-4.0.5 sys-devel/patch
73 - doc? ( app-text/xmlto ~app-text/docbook-xml-dtd-4.4 )
74 - apidoc? (
75 - dev-python/sphinx
76 - dev-python/sphinx-epytext
77 - )"
78 -# Require sandbox-2.2 for bug #288863.
79 -# For whirlpool hash, require python[ssl] (bug #425046).
80 -# For compgen, require bash[readline] (bug #445576).
81 -# app-portage/gemato goes without PYTHON_USEDEP since we're calling
82 -# the executable.
83 -RDEPEND="
84 - acct-user/portage
85 - app-arch/zstd
86 - >=app-arch/tar-1.27
87 - dev-lang/python-exec:2
88 - >=sys-apps/findutils-4.4
89 - !build? (
90 - >=sys-apps/sed-4.0.5
91 - app-shells/bash:0[readline]
92 - >=app-admin/eselect-1.2
93 - rsync-verify? (
94 - >=app-portage/gemato-14.5[${PYTHON_USEDEP}]
95 - >=app-crypt/openpgp-keys-gentoo-release-20180706
96 - >=app-crypt/gnupg-2.2.4-r2[ssl(-)]
97 - )
98 - )
99 - elibc_glibc? ( >=sys-apps/sandbox-2.2 )
100 - elibc_musl? ( >=sys-apps/sandbox-2.2 )
101 - elibc_uclibc? ( >=sys-apps/sandbox-2.2 )
102 - kernel_linux? ( sys-apps/util-linux )
103 - >=app-misc/pax-utils-0.1.17
104 - selinux? ( >=sys-libs/libselinux-2.0.94[python,${PYTHON_USEDEP}] )
105 - xattr? ( kernel_linux? (
106 - >=sys-apps/install-xattr-0.3
107 - ) )
108 - !<app-admin/logrotate-3.8.0
109 - !<app-portage/gentoolkit-0.4.6
110 - !<app-portage/repoman-2.3.10
111 - !~app-portage/repoman-3.0.0"
112 -PDEPEND="
113 - !build? (
114 - >=net-misc/rsync-2.6.4
115 - userland_GNU? ( >=sys-apps/coreutils-6.4 )
116 - )"
117 -# coreutils-6.4 rdep is for date format in emerge-webrsync #164532
118 -# NOTE: FEATURES=installsources requires debugedit and rsync
119 -
120 -SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
121 -
122 -pkg_pretend() {
123 - local CONFIG_CHECK="~IPC_NS ~PID_NS ~NET_NS ~UTS_NS"
124 -
125 - check_extra_config
126 -}
127 -
128 -python_prepare_all() {
129 - distutils-r1_python_prepare_all
130 -
131 - sed -e "s:^VERSION = \"HEAD\"$:VERSION = \"${PV}\":" -i lib/portage/__init__.py || die
132 -
133 - if use gentoo-dev; then
134 - einfo "Disabling --dynamic-deps by default for gentoo-dev..."
135 - sed -e 's:\("--dynamic-deps", \)\("y"\):\1"n":' \
136 - -i lib/_emerge/create_depgraph_params.py || \
137 - die "failed to patch create_depgraph_params.py"
138 -
139 - einfo "Enabling additional FEATURES for gentoo-dev..."
140 - echo 'FEATURES="${FEATURES} strict-keepdir"' \
141 - >> cnf/make.globals || die
142 - fi
143 -
144 - if use native-extensions; then
145 - printf "[build_ext]\nportage_ext_modules=true\n" >> \
146 - setup.cfg || die
147 - fi
148 -
149 - if ! use ipc ; then
150 - einfo "Disabling ipc..."
151 - sed -e "s:_enable_ipc_daemon = True:_enable_ipc_daemon = False:" \
152 - -i lib/_emerge/AbstractEbuildProcess.py || \
153 - die "failed to patch AbstractEbuildProcess.py"
154 - fi
155 -
156 - if use xattr && use kernel_linux ; then
157 - einfo "Adding FEATURES=xattr to make.globals ..."
158 - echo -e '\nFEATURES="${FEATURES} xattr"' >> cnf/make.globals \
159 - || die "failed to append to make.globals"
160 - fi
161 -
162 - if use build || ! use rsync-verify; then
163 - sed -e '/^sync-rsync-verify-metamanifest/s|yes|no|' \
164 - -e '/^sync-webrsync-verify-signature/s|yes|no|' \
165 - -i cnf/repos.conf || die "sed failed"
166 - fi
167 -
168 - if [[ -n ${EPREFIX} ]] ; then
169 - einfo "Setting portage.const.EPREFIX ..."
170 - hprefixify -e "s|^(EPREFIX[[:space:]]*=[[:space:]]*\").*|\1${EPREFIX}\"|" \
171 - -w "/_BINARY/" lib/portage/const.py
172 -
173 - einfo "Prefixing shebangs ..."
174 - > "${T}/shebangs" || die
175 - while read -r -d $'\0' ; do
176 - local shebang=$(head -n1 "$REPLY")
177 - if [[ ${shebang} == "#!"* && ! ${shebang} == "#!${EPREFIX}/"* ]] ; then
178 - echo "${REPLY}" >> "${T}/shebangs" || die
179 - fi
180 - done < <(find . -type f -executable ! -name etc-update -print0)
181 -
182 - if [[ -s ${T}/shebangs ]]; then
183 - xargs sed -i -e "1s:^#!:#!${EPREFIX}:" < "${T}/shebangs" || die "sed failed"
184 - fi
185 -
186 - einfo "Adjusting make.globals, repos.conf and etc-update ..."
187 - hprefixify cnf/{make.globals,repos.conf} bin/etc-update
188 -
189 - if use prefix-guest ; then
190 - sed -e "s|^\(main-repo = \).*|\\1gentoo_prefix|" \
191 - -e "s|^\\[gentoo\\]|[gentoo_prefix]|" \
192 - -e "s|^\(sync-uri = \).*|\\1rsync://rsync.prefix.bitzolder.nl/gentoo-portage-prefix|" \
193 - -i cnf/repos.conf || die "sed failed"
194 - fi
195 -
196 - einfo "Adding FEATURES=force-prefix to make.globals ..."
197 - echo -e '\nFEATURES="${FEATURES} force-prefix"' >> cnf/make.globals \
198 - || die "failed to append to make.globals"
199 - fi
200 -
201 - cd "${S}/cnf" || die
202 - if [ -f "make.conf.example.${ARCH}".diff ]; then
203 - patch make.conf.example "make.conf.example.${ARCH}".diff || \
204 - die "Failed to patch make.conf.example"
205 - else
206 - eerror ""
207 - eerror "Portage does not have an arch-specific configuration for this arch."
208 - eerror "Please notify the arch maintainer about this issue. Using generic."
209 - eerror ""
210 - fi
211 -}
212 -
213 -python_compile_all() {
214 - local targets=()
215 - use doc && targets+=( docbook )
216 - use apidoc && targets+=( apidoc )
217 -
218 - if [[ ${targets[@]} ]]; then
219 - esetup.py "${targets[@]}"
220 - fi
221 -}
222 -
223 -python_test() {
224 - esetup.py test
225 -}
226 -
227 -python_install() {
228 - # Install sbin scripts to bindir for python-exec linking
229 - # they will be relocated in pkg_preinst()
230 - distutils-r1_python_install \
231 - --system-prefix="${EPREFIX}/usr" \
232 - --bindir="$(python_get_scriptdir)" \
233 - --docdir="${EPREFIX}/usr/share/doc/${PF}" \
234 - --htmldir="${EPREFIX}/usr/share/doc/${PF}/html" \
235 - --portage-bindir="${EPREFIX}/usr/lib/portage/${EPYTHON}" \
236 - --sbindir="$(python_get_scriptdir)" \
237 - --sysconfdir="${EPREFIX}/etc" \
238 - "${@}"
239 -}
240 -
241 -python_install_all() {
242 - distutils-r1_python_install_all
243 -
244 - local targets=()
245 - use doc && targets+=(
246 - install_docbook
247 - --htmldir="${EPREFIX}/usr/share/doc/${PF}/html"
248 - )
249 - use apidoc && targets+=(
250 - install_apidoc
251 - --htmldir="${EPREFIX}/usr/share/doc/${PF}/html"
252 - )
253 -
254 - # install docs
255 - if [[ ${targets[@]} ]]; then
256 - esetup.py "${targets[@]}"
257 - fi
258 -
259 - dotmpfiles "${FILESDIR}"/portage-ccache.conf
260 -
261 - # Due to distutils/python-exec limitations
262 - # these must be installed to /usr/bin.
263 - local sbin_relocations='archive-conf dispatch-conf emaint env-update etc-update fixpackages regenworld'
264 - einfo "Moving admin scripts to the correct directory"
265 - dodir /usr/sbin
266 - for target in ${sbin_relocations}; do
267 - einfo "Moving /usr/bin/${target} to /usr/sbin/${target}"
268 - mv "${ED}/usr/bin/${target}" "${ED}/usr/sbin/${target}" || die "sbin scripts move failed!"
269 - done
270 -}
271 -
272 -pkg_preinst() {
273 - python_setup
274 - local sitedir=$(python_get_sitedir)
275 - [[ -d ${D}${sitedir} ]] || die "${D}${sitedir}: No such directory"
276 - env -u DISTDIR \
277 - -u PORTAGE_OVERRIDE_EPREFIX \
278 - -u PORTAGE_REPOSITORIES \
279 - -u PORTDIR \
280 - -u PORTDIR_OVERLAY \
281 - PYTHONPATH="${D}${sitedir}${PYTHONPATH:+:${PYTHONPATH}}" \
282 - "${PYTHON}" -m portage._compat_upgrade.default_locations || die
283 -
284 - env -u BINPKG_COMPRESS -u PORTAGE_REPOSITORIES \
285 - PYTHONPATH="${D}${sitedir}${PYTHONPATH:+:${PYTHONPATH}}" \
286 - "${PYTHON}" -m portage._compat_upgrade.binpkg_compression || die
287 -
288 - env -u FEATURES -u PORTAGE_REPOSITORIES \
289 - PYTHONPATH="${D}${sitedir}${PYTHONPATH:+:${PYTHONPATH}}" \
290 - "${PYTHON}" -m portage._compat_upgrade.binpkg_multi_instance || die
291 -
292 - # elog dir must exist to avoid logrotate error for bug #415911.
293 - # This code runs in preinst in order to bypass the mapping of
294 - # portage:portage to root:root which happens after src_install.
295 - keepdir /var/log/portage/elog
296 - # This is allowed to fail if the user/group are invalid for prefix users.
297 - if chown portage:portage "${ED}"/var/log/portage{,/elog} 2>/dev/null ; then
298 - chmod g+s,ug+rwx "${ED}"/var/log/portage{,/elog}
299 - fi
300 -
301 - if has_version "<${CATEGORY}/${PN}-2.3.77"; then
302 - elog "The emerge --autounmask option is now disabled by default, except for"
303 - elog "portions of behavior which are controlled by the --autounmask-use and"
304 - elog "--autounmask-license options. For backward compatibility, previous"
305 - elog "behavior of --autounmask=y and --autounmask=n is entirely preserved."
306 - elog "Users can get the old behavior simply by adding --autounmask to the"
307 - elog "make.conf EMERGE_DEFAULT_OPTS variable. For the rationale for this"
308 - elog "change, see https://bugs.gentoo.org/658648."
309 - fi
310 -}
311
312 diff --git a/sys-apps/portage/portage-3.0.22.ebuild b/sys-apps/portage/portage-3.0.22.ebuild
313 deleted file mode 100644
314 index 8fc97caa2ca..00000000000
315 --- a/sys-apps/portage/portage-3.0.22.ebuild
316 +++ /dev/null
317 @@ -1,265 +0,0 @@
318 -# Copyright 1999-2021 Gentoo Authors
319 -# Distributed under the terms of the GNU General Public License v2
320 -
321 -EAPI=7
322 -
323 -DISTUTILS_USE_SETUPTOOLS=bdepend
324 -PYTHON_COMPAT=( pypy3 python3_{7..10} )
325 -PYTHON_REQ_USE='bzip2(+),threads(+)'
326 -TMPFILES_OPTIONAL=1
327 -
328 -inherit distutils-r1 linux-info tmpfiles prefix
329 -
330 -DESCRIPTION="The package management and distribution system for Gentoo"
331 -HOMEPAGE="https://wiki.gentoo.org/wiki/Project:Portage"
332 -SRC_URI="https://gitweb.gentoo.org/proj/portage.git/snapshot/${P}.tar.bz2"
333 -
334 -LICENSE="GPL-2"
335 -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86"
336 -SLOT="0"
337 -IUSE="apidoc build doc gentoo-dev +ipc +native-extensions +rsync-verify selinux test xattr"
338 -RESTRICT="!test? ( test )"
339 -
340 -BDEPEND="
341 - app-arch/xz-utils
342 - test? ( dev-vcs/git )"
343 -DEPEND="!build? ( $(python_gen_impl_dep 'ssl(+)') )
344 - >=app-arch/tar-1.27
345 - dev-lang/python-exec:2
346 - >=sys-apps/sed-4.0.5 sys-devel/patch
347 - doc? ( app-text/xmlto ~app-text/docbook-xml-dtd-4.4 )
348 - apidoc? (
349 - dev-python/sphinx
350 - dev-python/sphinx-epytext
351 - )"
352 -# Require sandbox-2.2 for bug #288863.
353 -# For whirlpool hash, require python[ssl] (bug #425046).
354 -# For compgen, require bash[readline] (bug #445576).
355 -# app-portage/gemato goes without PYTHON_USEDEP since we're calling
356 -# the executable.
357 -RDEPEND="
358 - acct-user/portage
359 - app-arch/zstd
360 - >=app-arch/tar-1.27
361 - dev-lang/python-exec:2
362 - >=sys-apps/findutils-4.4
363 - !build? (
364 - >=sys-apps/sed-4.0.5
365 - >=app-shells/bash-5.0:0[readline]
366 - >=app-admin/eselect-1.2
367 - rsync-verify? (
368 - >=app-portage/gemato-14.5[${PYTHON_USEDEP}]
369 - >=app-crypt/openpgp-keys-gentoo-release-20180706
370 - >=app-crypt/gnupg-2.2.4-r2[ssl(-)]
371 - )
372 - )
373 - elibc_glibc? ( >=sys-apps/sandbox-2.2 )
374 - elibc_musl? ( >=sys-apps/sandbox-2.2 )
375 - elibc_uclibc? ( >=sys-apps/sandbox-2.2 )
376 - kernel_linux? ( sys-apps/util-linux )
377 - >=app-misc/pax-utils-0.1.17
378 - selinux? ( >=sys-libs/libselinux-2.0.94[python,${PYTHON_USEDEP}] )
379 - xattr? ( kernel_linux? (
380 - >=sys-apps/install-xattr-0.3
381 - ) )
382 - !<app-admin/logrotate-3.8.0
383 - !<app-portage/gentoolkit-0.4.6
384 - !<app-portage/repoman-2.3.10
385 - !~app-portage/repoman-3.0.0"
386 -PDEPEND="
387 - !build? (
388 - >=net-misc/rsync-2.6.4
389 - userland_GNU? ( >=sys-apps/coreutils-6.4 )
390 - )"
391 -# coreutils-6.4 rdep is for date format in emerge-webrsync #164532
392 -# NOTE: FEATURES=installsources requires debugedit and rsync
393 -
394 -pkg_pretend() {
395 - local CONFIG_CHECK="~IPC_NS ~PID_NS ~NET_NS ~UTS_NS"
396 -
397 - check_extra_config
398 -}
399 -
400 -python_prepare_all() {
401 - distutils-r1_python_prepare_all
402 -
403 - sed -e "s:^VERSION = \"HEAD\"$:VERSION = \"${PV}\":" -i lib/portage/__init__.py || die
404 -
405 - if use gentoo-dev; then
406 - einfo "Disabling --dynamic-deps by default for gentoo-dev..."
407 - sed -e 's:\("--dynamic-deps", \)\("y"\):\1"n":' \
408 - -i lib/_emerge/create_depgraph_params.py || \
409 - die "failed to patch create_depgraph_params.py"
410 -
411 - einfo "Enabling additional FEATURES for gentoo-dev..."
412 - echo 'FEATURES="${FEATURES} strict-keepdir"' \
413 - >> cnf/make.globals || die
414 - fi
415 -
416 - if use native-extensions; then
417 - printf "[build_ext]\nportage_ext_modules=true\n" >> \
418 - setup.cfg || die
419 - fi
420 -
421 - if ! use ipc ; then
422 - einfo "Disabling ipc..."
423 - sed -e "s:_enable_ipc_daemon = True:_enable_ipc_daemon = False:" \
424 - -i lib/_emerge/AbstractEbuildProcess.py || \
425 - die "failed to patch AbstractEbuildProcess.py"
426 - fi
427 -
428 - if use xattr && use kernel_linux ; then
429 - einfo "Adding FEATURES=xattr to make.globals ..."
430 - echo -e '\nFEATURES="${FEATURES} xattr"' >> cnf/make.globals \
431 - || die "failed to append to make.globals"
432 - fi
433 -
434 - if use build || ! use rsync-verify; then
435 - sed -e '/^sync-rsync-verify-metamanifest/s|yes|no|' \
436 - -e '/^sync-webrsync-verify-signature/s|yes|no|' \
437 - -i cnf/repos.conf || die "sed failed"
438 - fi
439 -
440 - if [[ -n ${EPREFIX} ]] ; then
441 - einfo "Setting portage.const.EPREFIX ..."
442 - hprefixify -e "s|^(EPREFIX[[:space:]]*=[[:space:]]*\").*|\1${EPREFIX}\"|" \
443 - -w "/_BINARY/" lib/portage/const.py
444 -
445 - einfo "Prefixing shebangs ..."
446 - > "${T}/shebangs" || die
447 - while read -r -d $'\0' ; do
448 - local shebang=$(head -n1 "$REPLY")
449 - if [[ ${shebang} == "#!"* && ! ${shebang} == "#!${EPREFIX}/"* ]] ; then
450 - echo "${REPLY}" >> "${T}/shebangs" || die
451 - fi
452 - done < <(find . -type f -executable ! -name etc-update -print0)
453 -
454 - if [[ -s ${T}/shebangs ]]; then
455 - xargs sed -i -e "1s:^#!:#!${EPREFIX}:" < "${T}/shebangs" || die "sed failed"
456 - fi
457 -
458 - einfo "Adjusting make.globals, repos.conf and etc-update ..."
459 - hprefixify cnf/{make.globals,repos.conf} bin/etc-update
460 -
461 - if use prefix-guest ; then
462 - sed -e "s|^\(main-repo = \).*|\\1gentoo_prefix|" \
463 - -e "s|^\\[gentoo\\]|[gentoo_prefix]|" \
464 - -e "s|^\(sync-uri = \).*|\\1rsync://rsync.prefix.bitzolder.nl/gentoo-portage-prefix|" \
465 - -i cnf/repos.conf || die "sed failed"
466 - fi
467 -
468 - einfo "Adding FEATURES=force-prefix to make.globals ..."
469 - echo -e '\nFEATURES="${FEATURES} force-prefix"' >> cnf/make.globals \
470 - || die "failed to append to make.globals"
471 - fi
472 -
473 - cd "${S}/cnf" || die
474 - if [ -f "make.conf.example.${ARCH}".diff ]; then
475 - patch make.conf.example "make.conf.example.${ARCH}".diff || \
476 - die "Failed to patch make.conf.example"
477 - else
478 - eerror ""
479 - eerror "Portage does not have an arch-specific configuration for this arch."
480 - eerror "Please notify the arch maintainer about this issue. Using generic."
481 - eerror ""
482 - fi
483 -}
484 -
485 -python_compile_all() {
486 - local targets=()
487 - use doc && targets+=( docbook )
488 - use apidoc && targets+=( apidoc )
489 -
490 - if [[ ${targets[@]} ]]; then
491 - esetup.py "${targets[@]}"
492 - fi
493 -}
494 -
495 -python_test() {
496 - esetup.py test
497 -}
498 -
499 -python_install() {
500 - # Install sbin scripts to bindir for python-exec linking
501 - # they will be relocated in pkg_preinst()
502 - distutils-r1_python_install \
503 - --system-prefix="${EPREFIX}/usr" \
504 - --bindir="$(python_get_scriptdir)" \
505 - --docdir="${EPREFIX}/usr/share/doc/${PF}" \
506 - --htmldir="${EPREFIX}/usr/share/doc/${PF}/html" \
507 - --portage-bindir="${EPREFIX}/usr/lib/portage/${EPYTHON}" \
508 - --sbindir="$(python_get_scriptdir)" \
509 - --sysconfdir="${EPREFIX}/etc" \
510 - "${@}"
511 -}
512 -
513 -python_install_all() {
514 - distutils-r1_python_install_all
515 -
516 - local targets=()
517 - use doc && targets+=(
518 - install_docbook
519 - --htmldir="${EPREFIX}/usr/share/doc/${PF}/html"
520 - )
521 - use apidoc && targets+=(
522 - install_apidoc
523 - --htmldir="${EPREFIX}/usr/share/doc/${PF}/html"
524 - )
525 -
526 - # install docs
527 - if [[ ${targets[@]} ]]; then
528 - esetup.py "${targets[@]}"
529 - fi
530 -
531 - dotmpfiles "${FILESDIR}"/portage-ccache.conf
532 -
533 - # Due to distutils/python-exec limitations
534 - # these must be installed to /usr/bin.
535 - local sbin_relocations='archive-conf dispatch-conf emaint env-update etc-update fixpackages regenworld'
536 - einfo "Moving admin scripts to the correct directory"
537 - dodir /usr/sbin
538 - for target in ${sbin_relocations}; do
539 - einfo "Moving /usr/bin/${target} to /usr/sbin/${target}"
540 - mv "${ED}/usr/bin/${target}" "${ED}/usr/sbin/${target}" || die "sbin scripts move failed!"
541 - done
542 -}
543 -
544 -pkg_preinst() {
545 - python_setup
546 - local sitedir=$(python_get_sitedir)
547 - [[ -d ${D}${sitedir} ]] || die "${D}${sitedir}: No such directory"
548 - env -u DISTDIR \
549 - -u PORTAGE_OVERRIDE_EPREFIX \
550 - -u PORTAGE_REPOSITORIES \
551 - -u PORTDIR \
552 - -u PORTDIR_OVERLAY \
553 - PYTHONPATH="${D}${sitedir}${PYTHONPATH:+:${PYTHONPATH}}" \
554 - "${PYTHON}" -m portage._compat_upgrade.default_locations || die
555 -
556 - env -u BINPKG_COMPRESS -u PORTAGE_REPOSITORIES \
557 - PYTHONPATH="${D}${sitedir}${PYTHONPATH:+:${PYTHONPATH}}" \
558 - "${PYTHON}" -m portage._compat_upgrade.binpkg_compression || die
559 -
560 - env -u FEATURES -u PORTAGE_REPOSITORIES \
561 - PYTHONPATH="${D}${sitedir}${PYTHONPATH:+:${PYTHONPATH}}" \
562 - "${PYTHON}" -m portage._compat_upgrade.binpkg_multi_instance || die
563 -
564 - # elog dir must exist to avoid logrotate error for bug #415911.
565 - # This code runs in preinst in order to bypass the mapping of
566 - # portage:portage to root:root which happens after src_install.
567 - keepdir /var/log/portage/elog
568 - # This is allowed to fail if the user/group are invalid for prefix users.
569 - if chown portage:portage "${ED}"/var/log/portage{,/elog} 2>/dev/null ; then
570 - chmod g+s,ug+rwx "${ED}"/var/log/portage{,/elog}
571 - fi
572 -
573 - if has_version "<${CATEGORY}/${PN}-2.3.77"; then
574 - elog "The emerge --autounmask option is now disabled by default, except for"
575 - elog "portions of behavior which are controlled by the --autounmask-use and"
576 - elog "--autounmask-license options. For backward compatibility, previous"
577 - elog "behavior of --autounmask=y and --autounmask=n is entirely preserved."
578 - elog "Users can get the old behavior simply by adding --autounmask to the"
579 - elog "make.conf EMERGE_DEFAULT_OPTS variable. For the rationale for this"
580 - elog "change, see https://bugs.gentoo.org/658648."
581 - fi
582 -}
583
584 diff --git a/sys-apps/portage/portage-3.0.23.ebuild b/sys-apps/portage/portage-3.0.23.ebuild
585 deleted file mode 100644
586 index 8fc97caa2ca..00000000000
587 --- a/sys-apps/portage/portage-3.0.23.ebuild
588 +++ /dev/null
589 @@ -1,265 +0,0 @@
590 -# Copyright 1999-2021 Gentoo Authors
591 -# Distributed under the terms of the GNU General Public License v2
592 -
593 -EAPI=7
594 -
595 -DISTUTILS_USE_SETUPTOOLS=bdepend
596 -PYTHON_COMPAT=( pypy3 python3_{7..10} )
597 -PYTHON_REQ_USE='bzip2(+),threads(+)'
598 -TMPFILES_OPTIONAL=1
599 -
600 -inherit distutils-r1 linux-info tmpfiles prefix
601 -
602 -DESCRIPTION="The package management and distribution system for Gentoo"
603 -HOMEPAGE="https://wiki.gentoo.org/wiki/Project:Portage"
604 -SRC_URI="https://gitweb.gentoo.org/proj/portage.git/snapshot/${P}.tar.bz2"
605 -
606 -LICENSE="GPL-2"
607 -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86"
608 -SLOT="0"
609 -IUSE="apidoc build doc gentoo-dev +ipc +native-extensions +rsync-verify selinux test xattr"
610 -RESTRICT="!test? ( test )"
611 -
612 -BDEPEND="
613 - app-arch/xz-utils
614 - test? ( dev-vcs/git )"
615 -DEPEND="!build? ( $(python_gen_impl_dep 'ssl(+)') )
616 - >=app-arch/tar-1.27
617 - dev-lang/python-exec:2
618 - >=sys-apps/sed-4.0.5 sys-devel/patch
619 - doc? ( app-text/xmlto ~app-text/docbook-xml-dtd-4.4 )
620 - apidoc? (
621 - dev-python/sphinx
622 - dev-python/sphinx-epytext
623 - )"
624 -# Require sandbox-2.2 for bug #288863.
625 -# For whirlpool hash, require python[ssl] (bug #425046).
626 -# For compgen, require bash[readline] (bug #445576).
627 -# app-portage/gemato goes without PYTHON_USEDEP since we're calling
628 -# the executable.
629 -RDEPEND="
630 - acct-user/portage
631 - app-arch/zstd
632 - >=app-arch/tar-1.27
633 - dev-lang/python-exec:2
634 - >=sys-apps/findutils-4.4
635 - !build? (
636 - >=sys-apps/sed-4.0.5
637 - >=app-shells/bash-5.0:0[readline]
638 - >=app-admin/eselect-1.2
639 - rsync-verify? (
640 - >=app-portage/gemato-14.5[${PYTHON_USEDEP}]
641 - >=app-crypt/openpgp-keys-gentoo-release-20180706
642 - >=app-crypt/gnupg-2.2.4-r2[ssl(-)]
643 - )
644 - )
645 - elibc_glibc? ( >=sys-apps/sandbox-2.2 )
646 - elibc_musl? ( >=sys-apps/sandbox-2.2 )
647 - elibc_uclibc? ( >=sys-apps/sandbox-2.2 )
648 - kernel_linux? ( sys-apps/util-linux )
649 - >=app-misc/pax-utils-0.1.17
650 - selinux? ( >=sys-libs/libselinux-2.0.94[python,${PYTHON_USEDEP}] )
651 - xattr? ( kernel_linux? (
652 - >=sys-apps/install-xattr-0.3
653 - ) )
654 - !<app-admin/logrotate-3.8.0
655 - !<app-portage/gentoolkit-0.4.6
656 - !<app-portage/repoman-2.3.10
657 - !~app-portage/repoman-3.0.0"
658 -PDEPEND="
659 - !build? (
660 - >=net-misc/rsync-2.6.4
661 - userland_GNU? ( >=sys-apps/coreutils-6.4 )
662 - )"
663 -# coreutils-6.4 rdep is for date format in emerge-webrsync #164532
664 -# NOTE: FEATURES=installsources requires debugedit and rsync
665 -
666 -pkg_pretend() {
667 - local CONFIG_CHECK="~IPC_NS ~PID_NS ~NET_NS ~UTS_NS"
668 -
669 - check_extra_config
670 -}
671 -
672 -python_prepare_all() {
673 - distutils-r1_python_prepare_all
674 -
675 - sed -e "s:^VERSION = \"HEAD\"$:VERSION = \"${PV}\":" -i lib/portage/__init__.py || die
676 -
677 - if use gentoo-dev; then
678 - einfo "Disabling --dynamic-deps by default for gentoo-dev..."
679 - sed -e 's:\("--dynamic-deps", \)\("y"\):\1"n":' \
680 - -i lib/_emerge/create_depgraph_params.py || \
681 - die "failed to patch create_depgraph_params.py"
682 -
683 - einfo "Enabling additional FEATURES for gentoo-dev..."
684 - echo 'FEATURES="${FEATURES} strict-keepdir"' \
685 - >> cnf/make.globals || die
686 - fi
687 -
688 - if use native-extensions; then
689 - printf "[build_ext]\nportage_ext_modules=true\n" >> \
690 - setup.cfg || die
691 - fi
692 -
693 - if ! use ipc ; then
694 - einfo "Disabling ipc..."
695 - sed -e "s:_enable_ipc_daemon = True:_enable_ipc_daemon = False:" \
696 - -i lib/_emerge/AbstractEbuildProcess.py || \
697 - die "failed to patch AbstractEbuildProcess.py"
698 - fi
699 -
700 - if use xattr && use kernel_linux ; then
701 - einfo "Adding FEATURES=xattr to make.globals ..."
702 - echo -e '\nFEATURES="${FEATURES} xattr"' >> cnf/make.globals \
703 - || die "failed to append to make.globals"
704 - fi
705 -
706 - if use build || ! use rsync-verify; then
707 - sed -e '/^sync-rsync-verify-metamanifest/s|yes|no|' \
708 - -e '/^sync-webrsync-verify-signature/s|yes|no|' \
709 - -i cnf/repos.conf || die "sed failed"
710 - fi
711 -
712 - if [[ -n ${EPREFIX} ]] ; then
713 - einfo "Setting portage.const.EPREFIX ..."
714 - hprefixify -e "s|^(EPREFIX[[:space:]]*=[[:space:]]*\").*|\1${EPREFIX}\"|" \
715 - -w "/_BINARY/" lib/portage/const.py
716 -
717 - einfo "Prefixing shebangs ..."
718 - > "${T}/shebangs" || die
719 - while read -r -d $'\0' ; do
720 - local shebang=$(head -n1 "$REPLY")
721 - if [[ ${shebang} == "#!"* && ! ${shebang} == "#!${EPREFIX}/"* ]] ; then
722 - echo "${REPLY}" >> "${T}/shebangs" || die
723 - fi
724 - done < <(find . -type f -executable ! -name etc-update -print0)
725 -
726 - if [[ -s ${T}/shebangs ]]; then
727 - xargs sed -i -e "1s:^#!:#!${EPREFIX}:" < "${T}/shebangs" || die "sed failed"
728 - fi
729 -
730 - einfo "Adjusting make.globals, repos.conf and etc-update ..."
731 - hprefixify cnf/{make.globals,repos.conf} bin/etc-update
732 -
733 - if use prefix-guest ; then
734 - sed -e "s|^\(main-repo = \).*|\\1gentoo_prefix|" \
735 - -e "s|^\\[gentoo\\]|[gentoo_prefix]|" \
736 - -e "s|^\(sync-uri = \).*|\\1rsync://rsync.prefix.bitzolder.nl/gentoo-portage-prefix|" \
737 - -i cnf/repos.conf || die "sed failed"
738 - fi
739 -
740 - einfo "Adding FEATURES=force-prefix to make.globals ..."
741 - echo -e '\nFEATURES="${FEATURES} force-prefix"' >> cnf/make.globals \
742 - || die "failed to append to make.globals"
743 - fi
744 -
745 - cd "${S}/cnf" || die
746 - if [ -f "make.conf.example.${ARCH}".diff ]; then
747 - patch make.conf.example "make.conf.example.${ARCH}".diff || \
748 - die "Failed to patch make.conf.example"
749 - else
750 - eerror ""
751 - eerror "Portage does not have an arch-specific configuration for this arch."
752 - eerror "Please notify the arch maintainer about this issue. Using generic."
753 - eerror ""
754 - fi
755 -}
756 -
757 -python_compile_all() {
758 - local targets=()
759 - use doc && targets+=( docbook )
760 - use apidoc && targets+=( apidoc )
761 -
762 - if [[ ${targets[@]} ]]; then
763 - esetup.py "${targets[@]}"
764 - fi
765 -}
766 -
767 -python_test() {
768 - esetup.py test
769 -}
770 -
771 -python_install() {
772 - # Install sbin scripts to bindir for python-exec linking
773 - # they will be relocated in pkg_preinst()
774 - distutils-r1_python_install \
775 - --system-prefix="${EPREFIX}/usr" \
776 - --bindir="$(python_get_scriptdir)" \
777 - --docdir="${EPREFIX}/usr/share/doc/${PF}" \
778 - --htmldir="${EPREFIX}/usr/share/doc/${PF}/html" \
779 - --portage-bindir="${EPREFIX}/usr/lib/portage/${EPYTHON}" \
780 - --sbindir="$(python_get_scriptdir)" \
781 - --sysconfdir="${EPREFIX}/etc" \
782 - "${@}"
783 -}
784 -
785 -python_install_all() {
786 - distutils-r1_python_install_all
787 -
788 - local targets=()
789 - use doc && targets+=(
790 - install_docbook
791 - --htmldir="${EPREFIX}/usr/share/doc/${PF}/html"
792 - )
793 - use apidoc && targets+=(
794 - install_apidoc
795 - --htmldir="${EPREFIX}/usr/share/doc/${PF}/html"
796 - )
797 -
798 - # install docs
799 - if [[ ${targets[@]} ]]; then
800 - esetup.py "${targets[@]}"
801 - fi
802 -
803 - dotmpfiles "${FILESDIR}"/portage-ccache.conf
804 -
805 - # Due to distutils/python-exec limitations
806 - # these must be installed to /usr/bin.
807 - local sbin_relocations='archive-conf dispatch-conf emaint env-update etc-update fixpackages regenworld'
808 - einfo "Moving admin scripts to the correct directory"
809 - dodir /usr/sbin
810 - for target in ${sbin_relocations}; do
811 - einfo "Moving /usr/bin/${target} to /usr/sbin/${target}"
812 - mv "${ED}/usr/bin/${target}" "${ED}/usr/sbin/${target}" || die "sbin scripts move failed!"
813 - done
814 -}
815 -
816 -pkg_preinst() {
817 - python_setup
818 - local sitedir=$(python_get_sitedir)
819 - [[ -d ${D}${sitedir} ]] || die "${D}${sitedir}: No such directory"
820 - env -u DISTDIR \
821 - -u PORTAGE_OVERRIDE_EPREFIX \
822 - -u PORTAGE_REPOSITORIES \
823 - -u PORTDIR \
824 - -u PORTDIR_OVERLAY \
825 - PYTHONPATH="${D}${sitedir}${PYTHONPATH:+:${PYTHONPATH}}" \
826 - "${PYTHON}" -m portage._compat_upgrade.default_locations || die
827 -
828 - env -u BINPKG_COMPRESS -u PORTAGE_REPOSITORIES \
829 - PYTHONPATH="${D}${sitedir}${PYTHONPATH:+:${PYTHONPATH}}" \
830 - "${PYTHON}" -m portage._compat_upgrade.binpkg_compression || die
831 -
832 - env -u FEATURES -u PORTAGE_REPOSITORIES \
833 - PYTHONPATH="${D}${sitedir}${PYTHONPATH:+:${PYTHONPATH}}" \
834 - "${PYTHON}" -m portage._compat_upgrade.binpkg_multi_instance || die
835 -
836 - # elog dir must exist to avoid logrotate error for bug #415911.
837 - # This code runs in preinst in order to bypass the mapping of
838 - # portage:portage to root:root which happens after src_install.
839 - keepdir /var/log/portage/elog
840 - # This is allowed to fail if the user/group are invalid for prefix users.
841 - if chown portage:portage "${ED}"/var/log/portage{,/elog} 2>/dev/null ; then
842 - chmod g+s,ug+rwx "${ED}"/var/log/portage{,/elog}
843 - fi
844 -
845 - if has_version "<${CATEGORY}/${PN}-2.3.77"; then
846 - elog "The emerge --autounmask option is now disabled by default, except for"
847 - elog "portions of behavior which are controlled by the --autounmask-use and"
848 - elog "--autounmask-license options. For backward compatibility, previous"
849 - elog "behavior of --autounmask=y and --autounmask=n is entirely preserved."
850 - elog "Users can get the old behavior simply by adding --autounmask to the"
851 - elog "make.conf EMERGE_DEFAULT_OPTS variable. For the rationale for this"
852 - elog "change, see https://bugs.gentoo.org/658648."
853 - fi
854 -}
855
856 diff --git a/sys-apps/portage/portage-3.0.24.ebuild b/sys-apps/portage/portage-3.0.24.ebuild
857 deleted file mode 100644
858 index 8f8b0af007c..00000000000
859 --- a/sys-apps/portage/portage-3.0.24.ebuild
860 +++ /dev/null
861 @@ -1,264 +0,0 @@
862 -# Copyright 1999-2021 Gentoo Authors
863 -# Distributed under the terms of the GNU General Public License v2
864 -
865 -EAPI=7
866 -
867 -PYTHON_COMPAT=( python3_{7..10} )
868 -PYTHON_REQ_USE='bzip2(+),threads(+)'
869 -TMPFILES_OPTIONAL=1
870 -
871 -inherit distutils-r1 linux-info tmpfiles prefix
872 -
873 -DESCRIPTION="The package management and distribution system for Gentoo"
874 -HOMEPAGE="https://wiki.gentoo.org/wiki/Project:Portage"
875 -SRC_URI="https://gitweb.gentoo.org/proj/portage.git/snapshot/${P}.tar.bz2"
876 -
877 -LICENSE="GPL-2"
878 -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86"
879 -SLOT="0"
880 -IUSE="apidoc build doc gentoo-dev +ipc +native-extensions +rsync-verify selinux test xattr"
881 -RESTRICT="!test? ( test )"
882 -
883 -BDEPEND="
884 - app-arch/xz-utils
885 - test? ( dev-vcs/git )"
886 -DEPEND="!build? ( $(python_gen_impl_dep 'ssl(+)') )
887 - >=app-arch/tar-1.27
888 - dev-lang/python-exec:2
889 - >=sys-apps/sed-4.0.5 sys-devel/patch
890 - doc? ( app-text/xmlto ~app-text/docbook-xml-dtd-4.4 )
891 - apidoc? (
892 - dev-python/sphinx
893 - dev-python/sphinx-epytext
894 - )"
895 -# Require sandbox-2.2 for bug #288863.
896 -# For whirlpool hash, require python[ssl] (bug #425046).
897 -# For compgen, require bash[readline] (bug #445576).
898 -# app-portage/gemato goes without PYTHON_USEDEP since we're calling
899 -# the executable.
900 -RDEPEND="
901 - acct-user/portage
902 - app-arch/zstd
903 - >=app-arch/tar-1.27
904 - dev-lang/python-exec:2
905 - >=sys-apps/findutils-4.4
906 - !build? (
907 - >=sys-apps/sed-4.0.5
908 - >=app-shells/bash-5.0:0[readline]
909 - >=app-admin/eselect-1.2
910 - rsync-verify? (
911 - >=app-portage/gemato-14.5[${PYTHON_USEDEP}]
912 - >=app-crypt/openpgp-keys-gentoo-release-20180706
913 - >=app-crypt/gnupg-2.2.4-r2[ssl(-)]
914 - )
915 - )
916 - elibc_glibc? ( >=sys-apps/sandbox-2.2 )
917 - elibc_musl? ( >=sys-apps/sandbox-2.2 )
918 - elibc_uclibc? ( >=sys-apps/sandbox-2.2 )
919 - kernel_linux? ( sys-apps/util-linux )
920 - >=app-misc/pax-utils-0.1.17
921 - selinux? ( >=sys-libs/libselinux-2.0.94[python,${PYTHON_USEDEP}] )
922 - xattr? ( kernel_linux? (
923 - >=sys-apps/install-xattr-0.3
924 - ) )
925 - !<app-admin/logrotate-3.8.0
926 - !<app-portage/gentoolkit-0.4.6
927 - !<app-portage/repoman-2.3.10
928 - !~app-portage/repoman-3.0.0"
929 -PDEPEND="
930 - !build? (
931 - >=net-misc/rsync-2.6.4
932 - userland_GNU? ( >=sys-apps/coreutils-6.4 )
933 - )"
934 -# coreutils-6.4 rdep is for date format in emerge-webrsync #164532
935 -# NOTE: FEATURES=installsources requires debugedit and rsync
936 -
937 -pkg_pretend() {
938 - local CONFIG_CHECK="~IPC_NS ~PID_NS ~NET_NS ~UTS_NS"
939 -
940 - check_extra_config
941 -}
942 -
943 -python_prepare_all() {
944 - distutils-r1_python_prepare_all
945 -
946 - sed -e "s:^VERSION = \"HEAD\"$:VERSION = \"${PV}\":" -i lib/portage/__init__.py || die
947 -
948 - if use gentoo-dev; then
949 - einfo "Disabling --dynamic-deps by default for gentoo-dev..."
950 - sed -e 's:\("--dynamic-deps", \)\("y"\):\1"n":' \
951 - -i lib/_emerge/create_depgraph_params.py || \
952 - die "failed to patch create_depgraph_params.py"
953 -
954 - einfo "Enabling additional FEATURES for gentoo-dev..."
955 - echo 'FEATURES="${FEATURES} ipc-sandbox network-sandbox strict-keepdir"' \
956 - >> cnf/make.globals || die
957 - fi
958 -
959 - if use native-extensions; then
960 - printf "[build_ext]\nportage_ext_modules=true\n" >> \
961 - setup.cfg || die
962 - fi
963 -
964 - if ! use ipc ; then
965 - einfo "Disabling ipc..."
966 - sed -e "s:_enable_ipc_daemon = True:_enable_ipc_daemon = False:" \
967 - -i lib/_emerge/AbstractEbuildProcess.py || \
968 - die "failed to patch AbstractEbuildProcess.py"
969 - fi
970 -
971 - if use xattr && use kernel_linux ; then
972 - einfo "Adding FEATURES=xattr to make.globals ..."
973 - echo -e '\nFEATURES="${FEATURES} xattr"' >> cnf/make.globals \
974 - || die "failed to append to make.globals"
975 - fi
976 -
977 - if use build || ! use rsync-verify; then
978 - sed -e '/^sync-rsync-verify-metamanifest/s|yes|no|' \
979 - -e '/^sync-webrsync-verify-signature/s|yes|no|' \
980 - -i cnf/repos.conf || die "sed failed"
981 - fi
982 -
983 - if [[ -n ${EPREFIX} ]] ; then
984 - einfo "Setting portage.const.EPREFIX ..."
985 - hprefixify -e "s|^(EPREFIX[[:space:]]*=[[:space:]]*\").*|\1${EPREFIX}\"|" \
986 - -w "/_BINARY/" lib/portage/const.py
987 -
988 - einfo "Prefixing shebangs ..."
989 - > "${T}/shebangs" || die
990 - while read -r -d $'\0' ; do
991 - local shebang=$(head -n1 "$REPLY")
992 - if [[ ${shebang} == "#!"* && ! ${shebang} == "#!${EPREFIX}/"* ]] ; then
993 - echo "${REPLY}" >> "${T}/shebangs" || die
994 - fi
995 - done < <(find . -type f -executable ! -name etc-update -print0)
996 -
997 - if [[ -s ${T}/shebangs ]]; then
998 - xargs sed -i -e "1s:^#!:#!${EPREFIX}:" < "${T}/shebangs" || die "sed failed"
999 - fi
1000 -
1001 - einfo "Adjusting make.globals, repos.conf and etc-update ..."
1002 - hprefixify cnf/{make.globals,repos.conf} bin/etc-update
1003 -
1004 - if use prefix-guest ; then
1005 - sed -e "s|^\(main-repo = \).*|\\1gentoo_prefix|" \
1006 - -e "s|^\\[gentoo\\]|[gentoo_prefix]|" \
1007 - -e "s|^\(sync-uri = \).*|\\1rsync://rsync.prefix.bitzolder.nl/gentoo-portage-prefix|" \
1008 - -i cnf/repos.conf || die "sed failed"
1009 - fi
1010 -
1011 - einfo "Adding FEATURES=force-prefix to make.globals ..."
1012 - echo -e '\nFEATURES="${FEATURES} force-prefix"' >> cnf/make.globals \
1013 - || die "failed to append to make.globals"
1014 - fi
1015 -
1016 - cd "${S}/cnf" || die
1017 - if [ -f "make.conf.example.${ARCH}".diff ]; then
1018 - patch make.conf.example "make.conf.example.${ARCH}".diff || \
1019 - die "Failed to patch make.conf.example"
1020 - else
1021 - eerror ""
1022 - eerror "Portage does not have an arch-specific configuration for this arch."
1023 - eerror "Please notify the arch maintainer about this issue. Using generic."
1024 - eerror ""
1025 - fi
1026 -}
1027 -
1028 -python_compile_all() {
1029 - local targets=()
1030 - use doc && targets+=( docbook )
1031 - use apidoc && targets+=( apidoc )
1032 -
1033 - if [[ ${targets[@]} ]]; then
1034 - esetup.py "${targets[@]}"
1035 - fi
1036 -}
1037 -
1038 -python_test() {
1039 - esetup.py test
1040 -}
1041 -
1042 -python_install() {
1043 - # Install sbin scripts to bindir for python-exec linking
1044 - # they will be relocated in pkg_preinst()
1045 - distutils-r1_python_install \
1046 - --system-prefix="${EPREFIX}/usr" \
1047 - --bindir="$(python_get_scriptdir)" \
1048 - --docdir="${EPREFIX}/usr/share/doc/${PF}" \
1049 - --htmldir="${EPREFIX}/usr/share/doc/${PF}/html" \
1050 - --portage-bindir="${EPREFIX}/usr/lib/portage/${EPYTHON}" \
1051 - --sbindir="$(python_get_scriptdir)" \
1052 - --sysconfdir="${EPREFIX}/etc" \
1053 - "${@}"
1054 -}
1055 -
1056 -python_install_all() {
1057 - distutils-r1_python_install_all
1058 -
1059 - local targets=()
1060 - use doc && targets+=(
1061 - install_docbook
1062 - --htmldir="${EPREFIX}/usr/share/doc/${PF}/html"
1063 - )
1064 - use apidoc && targets+=(
1065 - install_apidoc
1066 - --htmldir="${EPREFIX}/usr/share/doc/${PF}/html"
1067 - )
1068 -
1069 - # install docs
1070 - if [[ ${targets[@]} ]]; then
1071 - esetup.py "${targets[@]}"
1072 - fi
1073 -
1074 - dotmpfiles "${FILESDIR}"/portage-ccache.conf
1075 -
1076 - # Due to distutils/python-exec limitations
1077 - # these must be installed to /usr/bin.
1078 - local sbin_relocations='archive-conf dispatch-conf emaint env-update etc-update fixpackages regenworld'
1079 - einfo "Moving admin scripts to the correct directory"
1080 - dodir /usr/sbin
1081 - for target in ${sbin_relocations}; do
1082 - einfo "Moving /usr/bin/${target} to /usr/sbin/${target}"
1083 - mv "${ED}/usr/bin/${target}" "${ED}/usr/sbin/${target}" || die "sbin scripts move failed!"
1084 - done
1085 -}
1086 -
1087 -pkg_preinst() {
1088 - python_setup
1089 - local sitedir=$(python_get_sitedir)
1090 - [[ -d ${D}${sitedir} ]] || die "${D}${sitedir}: No such directory"
1091 - env -u DISTDIR \
1092 - -u PORTAGE_OVERRIDE_EPREFIX \
1093 - -u PORTAGE_REPOSITORIES \
1094 - -u PORTDIR \
1095 - -u PORTDIR_OVERLAY \
1096 - PYTHONPATH="${D}${sitedir}${PYTHONPATH:+:${PYTHONPATH}}" \
1097 - "${PYTHON}" -m portage._compat_upgrade.default_locations || die
1098 -
1099 - env -u BINPKG_COMPRESS -u PORTAGE_REPOSITORIES \
1100 - PYTHONPATH="${D}${sitedir}${PYTHONPATH:+:${PYTHONPATH}}" \
1101 - "${PYTHON}" -m portage._compat_upgrade.binpkg_compression || die
1102 -
1103 - env -u FEATURES -u PORTAGE_REPOSITORIES \
1104 - PYTHONPATH="${D}${sitedir}${PYTHONPATH:+:${PYTHONPATH}}" \
1105 - "${PYTHON}" -m portage._compat_upgrade.binpkg_multi_instance || die
1106 -
1107 - # elog dir must exist to avoid logrotate error for bug #415911.
1108 - # This code runs in preinst in order to bypass the mapping of
1109 - # portage:portage to root:root which happens after src_install.
1110 - keepdir /var/log/portage/elog
1111 - # This is allowed to fail if the user/group are invalid for prefix users.
1112 - if chown portage:portage "${ED}"/var/log/portage{,/elog} 2>/dev/null ; then
1113 - chmod g+s,ug+rwx "${ED}"/var/log/portage{,/elog}
1114 - fi
1115 -
1116 - if has_version "<${CATEGORY}/${PN}-2.3.77"; then
1117 - elog "The emerge --autounmask option is now disabled by default, except for"
1118 - elog "portions of behavior which are controlled by the --autounmask-use and"
1119 - elog "--autounmask-license options. For backward compatibility, previous"
1120 - elog "behavior of --autounmask=y and --autounmask=n is entirely preserved."
1121 - elog "Users can get the old behavior simply by adding --autounmask to the"
1122 - elog "make.conf EMERGE_DEFAULT_OPTS variable. For the rationale for this"
1123 - elog "change, see https://bugs.gentoo.org/658648."
1124 - fi
1125 -}
1126
1127 diff --git a/sys-apps/portage/portage-3.0.26.ebuild b/sys-apps/portage/portage-3.0.26.ebuild
1128 deleted file mode 100644
1129 index 7fe9d4cd453..00000000000
1130 --- a/sys-apps/portage/portage-3.0.26.ebuild
1131 +++ /dev/null
1132 @@ -1,264 +0,0 @@
1133 -# Copyright 1999-2021 Gentoo Authors
1134 -# Distributed under the terms of the GNU General Public License v2
1135 -
1136 -EAPI=7
1137 -
1138 -PYTHON_COMPAT=( pypy3 python3_{8..10} )
1139 -PYTHON_REQ_USE='bzip2(+),threads(+)'
1140 -TMPFILES_OPTIONAL=1
1141 -
1142 -inherit distutils-r1 linux-info tmpfiles prefix
1143 -
1144 -DESCRIPTION="The package management and distribution system for Gentoo"
1145 -HOMEPAGE="https://wiki.gentoo.org/wiki/Project:Portage"
1146 -SRC_URI="https://gitweb.gentoo.org/proj/portage.git/snapshot/${P}.tar.bz2"
1147 -
1148 -LICENSE="GPL-2"
1149 -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86"
1150 -SLOT="0"
1151 -IUSE="apidoc build doc gentoo-dev +ipc +native-extensions +rsync-verify selinux test xattr"
1152 -RESTRICT="!test? ( test )"
1153 -
1154 -BDEPEND="
1155 - app-arch/xz-utils
1156 - test? ( dev-vcs/git )"
1157 -DEPEND="!build? ( $(python_gen_impl_dep 'ssl(+)') )
1158 - >=app-arch/tar-1.27
1159 - dev-lang/python-exec:2
1160 - >=sys-apps/sed-4.0.5 sys-devel/patch
1161 - doc? ( app-text/xmlto ~app-text/docbook-xml-dtd-4.4 )
1162 - apidoc? (
1163 - dev-python/sphinx
1164 - dev-python/sphinx-epytext
1165 - )"
1166 -# Require sandbox-2.2 for bug #288863.
1167 -# For whirlpool hash, require python[ssl] (bug #425046).
1168 -# For compgen, require bash[readline] (bug #445576).
1169 -# app-portage/gemato goes without PYTHON_USEDEP since we're calling
1170 -# the executable.
1171 -RDEPEND="
1172 - acct-user/portage
1173 - app-arch/zstd
1174 - >=app-arch/tar-1.27
1175 - dev-lang/python-exec:2
1176 - >=sys-apps/findutils-4.4
1177 - !build? (
1178 - >=sys-apps/sed-4.0.5
1179 - >=app-shells/bash-5.0:0[readline]
1180 - >=app-admin/eselect-1.2
1181 - rsync-verify? (
1182 - >=app-portage/gemato-14.5[${PYTHON_USEDEP}]
1183 - >=app-crypt/openpgp-keys-gentoo-release-20180706
1184 - >=app-crypt/gnupg-2.2.4-r2[ssl(-)]
1185 - )
1186 - )
1187 - elibc_glibc? ( >=sys-apps/sandbox-2.2 )
1188 - elibc_musl? ( >=sys-apps/sandbox-2.2 )
1189 - elibc_uclibc? ( >=sys-apps/sandbox-2.2 )
1190 - kernel_linux? ( sys-apps/util-linux )
1191 - >=app-misc/pax-utils-0.1.17
1192 - selinux? ( >=sys-libs/libselinux-2.0.94[python,${PYTHON_USEDEP}] )
1193 - xattr? ( kernel_linux? (
1194 - >=sys-apps/install-xattr-0.3
1195 - ) )
1196 - !<app-admin/logrotate-3.8.0
1197 - !<app-portage/gentoolkit-0.4.6
1198 - !<app-portage/repoman-2.3.10
1199 - !~app-portage/repoman-3.0.0"
1200 -PDEPEND="
1201 - !build? (
1202 - >=net-misc/rsync-2.6.4
1203 - userland_GNU? ( >=sys-apps/coreutils-6.4 )
1204 - )"
1205 -# coreutils-6.4 rdep is for date format in emerge-webrsync #164532
1206 -# NOTE: FEATURES=installsources requires debugedit and rsync
1207 -
1208 -pkg_pretend() {
1209 - local CONFIG_CHECK="~IPC_NS ~PID_NS ~NET_NS ~UTS_NS"
1210 -
1211 - check_extra_config
1212 -}
1213 -
1214 -python_prepare_all() {
1215 - distutils-r1_python_prepare_all
1216 -
1217 - sed -e "s:^VERSION = \"HEAD\"$:VERSION = \"${PV}\":" -i lib/portage/__init__.py || die
1218 -
1219 - if use gentoo-dev; then
1220 - einfo "Disabling --dynamic-deps by default for gentoo-dev..."
1221 - sed -e 's:\("--dynamic-deps", \)\("y"\):\1"n":' \
1222 - -i lib/_emerge/create_depgraph_params.py || \
1223 - die "failed to patch create_depgraph_params.py"
1224 -
1225 - einfo "Enabling additional FEATURES for gentoo-dev..."
1226 - echo 'FEATURES="${FEATURES} ipc-sandbox network-sandbox strict-keepdir"' \
1227 - >> cnf/make.globals || die
1228 - fi
1229 -
1230 - if use native-extensions; then
1231 - printf "[build_ext]\nportage_ext_modules=true\n" >> \
1232 - setup.cfg || die
1233 - fi
1234 -
1235 - if ! use ipc ; then
1236 - einfo "Disabling ipc..."
1237 - sed -e "s:_enable_ipc_daemon = True:_enable_ipc_daemon = False:" \
1238 - -i lib/_emerge/AbstractEbuildProcess.py || \
1239 - die "failed to patch AbstractEbuildProcess.py"
1240 - fi
1241 -
1242 - if use xattr && use kernel_linux ; then
1243 - einfo "Adding FEATURES=xattr to make.globals ..."
1244 - echo -e '\nFEATURES="${FEATURES} xattr"' >> cnf/make.globals \
1245 - || die "failed to append to make.globals"
1246 - fi
1247 -
1248 - if use build || ! use rsync-verify; then
1249 - sed -e '/^sync-rsync-verify-metamanifest/s|yes|no|' \
1250 - -e '/^sync-webrsync-verify-signature/s|yes|no|' \
1251 - -i cnf/repos.conf || die "sed failed"
1252 - fi
1253 -
1254 - if [[ -n ${EPREFIX} ]] ; then
1255 - einfo "Setting portage.const.EPREFIX ..."
1256 - hprefixify -e "s|^(EPREFIX[[:space:]]*=[[:space:]]*\").*|\1${EPREFIX}\"|" \
1257 - -w "/_BINARY/" lib/portage/const.py
1258 -
1259 - einfo "Prefixing shebangs ..."
1260 - > "${T}/shebangs" || die
1261 - while read -r -d $'\0' ; do
1262 - local shebang=$(head -n1 "$REPLY")
1263 - if [[ ${shebang} == "#!"* && ! ${shebang} == "#!${EPREFIX}/"* ]] ; then
1264 - echo "${REPLY}" >> "${T}/shebangs" || die
1265 - fi
1266 - done < <(find . -type f -executable ! -name etc-update -print0)
1267 -
1268 - if [[ -s ${T}/shebangs ]]; then
1269 - xargs sed -i -e "1s:^#!:#!${EPREFIX}:" < "${T}/shebangs" || die "sed failed"
1270 - fi
1271 -
1272 - einfo "Adjusting make.globals, repos.conf and etc-update ..."
1273 - hprefixify cnf/{make.globals,repos.conf} bin/etc-update
1274 -
1275 - if use prefix-guest ; then
1276 - sed -e "s|^\(main-repo = \).*|\\1gentoo_prefix|" \
1277 - -e "s|^\\[gentoo\\]|[gentoo_prefix]|" \
1278 - -e "s|^\(sync-uri = \).*|\\1rsync://rsync.prefix.bitzolder.nl/gentoo-portage-prefix|" \
1279 - -i cnf/repos.conf || die "sed failed"
1280 - fi
1281 -
1282 - einfo "Adding FEATURES=force-prefix to make.globals ..."
1283 - echo -e '\nFEATURES="${FEATURES} force-prefix"' >> cnf/make.globals \
1284 - || die "failed to append to make.globals"
1285 - fi
1286 -
1287 - cd "${S}/cnf" || die
1288 - if [ -f "make.conf.example.${ARCH}".diff ]; then
1289 - patch make.conf.example "make.conf.example.${ARCH}".diff || \
1290 - die "Failed to patch make.conf.example"
1291 - else
1292 - eerror ""
1293 - eerror "Portage does not have an arch-specific configuration for this arch."
1294 - eerror "Please notify the arch maintainer about this issue. Using generic."
1295 - eerror ""
1296 - fi
1297 -}
1298 -
1299 -python_compile_all() {
1300 - local targets=()
1301 - use doc && targets+=( docbook )
1302 - use apidoc && targets+=( apidoc )
1303 -
1304 - if [[ ${targets[@]} ]]; then
1305 - esetup.py "${targets[@]}"
1306 - fi
1307 -}
1308 -
1309 -python_test() {
1310 - esetup.py test
1311 -}
1312 -
1313 -python_install() {
1314 - # Install sbin scripts to bindir for python-exec linking
1315 - # they will be relocated in pkg_preinst()
1316 - distutils-r1_python_install \
1317 - --system-prefix="${EPREFIX}/usr" \
1318 - --bindir="$(python_get_scriptdir)" \
1319 - --docdir="${EPREFIX}/usr/share/doc/${PF}" \
1320 - --htmldir="${EPREFIX}/usr/share/doc/${PF}/html" \
1321 - --portage-bindir="${EPREFIX}/usr/lib/portage/${EPYTHON}" \
1322 - --sbindir="$(python_get_scriptdir)" \
1323 - --sysconfdir="${EPREFIX}/etc" \
1324 - "${@}"
1325 -}
1326 -
1327 -python_install_all() {
1328 - distutils-r1_python_install_all
1329 -
1330 - local targets=()
1331 - use doc && targets+=(
1332 - install_docbook
1333 - --htmldir="${EPREFIX}/usr/share/doc/${PF}/html"
1334 - )
1335 - use apidoc && targets+=(
1336 - install_apidoc
1337 - --htmldir="${EPREFIX}/usr/share/doc/${PF}/html"
1338 - )
1339 -
1340 - # install docs
1341 - if [[ ${targets[@]} ]]; then
1342 - esetup.py "${targets[@]}"
1343 - fi
1344 -
1345 - dotmpfiles "${FILESDIR}"/portage-ccache.conf
1346 -
1347 - # Due to distutils/python-exec limitations
1348 - # these must be installed to /usr/bin.
1349 - local sbin_relocations='archive-conf dispatch-conf emaint env-update etc-update fixpackages regenworld'
1350 - einfo "Moving admin scripts to the correct directory"
1351 - dodir /usr/sbin
1352 - for target in ${sbin_relocations}; do
1353 - einfo "Moving /usr/bin/${target} to /usr/sbin/${target}"
1354 - mv "${ED}/usr/bin/${target}" "${ED}/usr/sbin/${target}" || die "sbin scripts move failed!"
1355 - done
1356 -}
1357 -
1358 -pkg_preinst() {
1359 - python_setup
1360 - local sitedir=$(python_get_sitedir)
1361 - [[ -d ${D}${sitedir} ]] || die "${D}${sitedir}: No such directory"
1362 - env -u DISTDIR \
1363 - -u PORTAGE_OVERRIDE_EPREFIX \
1364 - -u PORTAGE_REPOSITORIES \
1365 - -u PORTDIR \
1366 - -u PORTDIR_OVERLAY \
1367 - PYTHONPATH="${D}${sitedir}${PYTHONPATH:+:${PYTHONPATH}}" \
1368 - "${PYTHON}" -m portage._compat_upgrade.default_locations || die
1369 -
1370 - env -u BINPKG_COMPRESS -u PORTAGE_REPOSITORIES \
1371 - PYTHONPATH="${D}${sitedir}${PYTHONPATH:+:${PYTHONPATH}}" \
1372 - "${PYTHON}" -m portage._compat_upgrade.binpkg_compression || die
1373 -
1374 - env -u FEATURES -u PORTAGE_REPOSITORIES \
1375 - PYTHONPATH="${D}${sitedir}${PYTHONPATH:+:${PYTHONPATH}}" \
1376 - "${PYTHON}" -m portage._compat_upgrade.binpkg_multi_instance || die
1377 -
1378 - # elog dir must exist to avoid logrotate error for bug #415911.
1379 - # This code runs in preinst in order to bypass the mapping of
1380 - # portage:portage to root:root which happens after src_install.
1381 - keepdir /var/log/portage/elog
1382 - # This is allowed to fail if the user/group are invalid for prefix users.
1383 - if chown portage:portage "${ED}"/var/log/portage{,/elog} 2>/dev/null ; then
1384 - chmod g+s,ug+rwx "${ED}"/var/log/portage{,/elog}
1385 - fi
1386 -
1387 - if has_version "<${CATEGORY}/${PN}-2.3.77"; then
1388 - elog "The emerge --autounmask option is now disabled by default, except for"
1389 - elog "portions of behavior which are controlled by the --autounmask-use and"
1390 - elog "--autounmask-license options. For backward compatibility, previous"
1391 - elog "behavior of --autounmask=y and --autounmask=n is entirely preserved."
1392 - elog "Users can get the old behavior simply by adding --autounmask to the"
1393 - elog "make.conf EMERGE_DEFAULT_OPTS variable. For the rationale for this"
1394 - elog "change, see https://bugs.gentoo.org/658648."
1395 - fi
1396 -}