summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
...
* Appendix: Document retroactive change of econf --disable-staticUlrich Müller2022-11-192-0/+9
| | | | Signed-off-by: Ulrich Müller <ulm@gentoo.org>
* pkg-mgr-commands.tex: Update condition for econf --disable-static (again)Ulrich Müller2022-11-191-2/+3
| | | | | | | | | | | | | | | | | The intention is to pass --disable-static, in order to (only) disable static libtool archive building. The current condition asks for either of --{disable,enable}-static in configure --help output, which causes false positives: https://archives.gentoo.org/gentoo-portage-dev/message/efc3f424d1dffd3415da538ec25532a9 Therefore, narrow the condition to require both --enable-static and --enable-shared. In addition, backport the check for proper end of string from the EAPI 9 feature list, but restrict it to this option for now. Bug: https://bugs.gentoo.org/814368 Bug: https://bugs.gentoo.org/815169 Signed-off-by: Ulrich Müller <ulm@gentoo.org>
* ebuild-format.tex: Document that umask is set to 022Ulrich Müller2022-09-071-0/+3
| | | | | | | | Portage has been doing this since 2001. Closes: https://bugs.gentoo.org/868669 Reported-by: Mike Frysinger <vapier@gentoo.org> Signed-off-by: Ulrich Müller <ulm@gentoo.org>
* eapi-differences.tex: Small updates to the feature tableUlrich Müller2022-08-211-2/+5
| | | | Signed-off-by: Ulrich Müller <ulm@gentoo.org>
* pkg-mgr-commands.tex: Tighten the spec for reserved namesUlrich Müller2022-05-141-4/+10
| | | | | | | | | | | "abort", "dyn" and "prep" are only reserved at the beginning of a name. This appears to be their only (historical and recent) usage in Portage. "ebuild" is allowed as substring of words like "rebuild", which is somewhat common in names. Bug: https://bugs.gentoo.org/843779 Signed-off-by: Ulrich Müller <ulm@gentoo.org>
* pkg-mgr-commands.tex: WhitespaceUlrich Müller2022-04-121-1/+1
| | | | Signed-off-by: Ulrich Müller <ulm@gentoo.org>
* Replace "root user" by "superuser" throughoutUlrich Müller2022-03-262-5/+5
| | | | Signed-off-by: Ulrich Müller <ulm@gentoo.org>
* pkg-mgr-commands.tex: Specify file ownership for dobin more accuratelyUlrich Müller2022-03-261-1/+1
| | | | | | | In a non-prefix installation, files are to be owned by UID 0 / GID 0. This is also what is implemented in Portage's dobin command. Signed-off-by: Ulrich Müller <ulm@gentoo.org>
* ebuild-vars.tex: Clarify which variables can be defined by an eclassUlrich Müller2022-03-171-2/+5
| | | | Signed-off-by: Ulrich Müller <ulm@gentoo.org>
* ebuild-environment.tex: Consolidate source filesUlrich Müller2022-02-133-104/+77
| | | | | | | These small sections need not be in their own file. No change of wording. Signed-off-by: Ulrich Müller <ulm@gentoo.org>
* pms.tex: Update copyright yearsUlrich Müller2022-01-081-1/+1
| | | | Signed-off-by: Ulrich Müller <ulm@gentoo.org>
* pkg-mgr-commands.tex: Add some braces for consistencyUlrich Müller2022-01-081-2/+2
| | | | Signed-off-by: Ulrich Müller <ulm@gentoo.org>
* pkg-mgr-commands.tex: Teletype font for literal string in get_libdirUlrich Müller2022-01-081-1/+1
| | | | Signed-off-by: Ulrich Müller <ulm@gentoo.org>
* pkg-mgr-commands.tex: Update condition for econf --disable-staticUlrich Müller2021-09-241-2/+2
| | | | | | | | | | | | | | | | | | | The help message produced by LT_INIT in libtool-2.4.6 always says --enable-static regardless of the default value, see m4/ltoptions.m4: AC_ARG_ENABLE([static], [AS_HELP_STRING([--enable-static@<:@=PKGS@:>@], [build static libraries @<:@default=]_LT_ENABLE_STATIC_DEFAULT[@:>@])], ...) This means that looking only for --disable-static in output of configure --help results in non-functional behaviour. Implementation in Portage (which predates the PMS wording) looks for --enable-static in addition. Bug: https://bugs.gentoo.org/814368 Signed-off-by: Ulrich Müller <ulm@gentoo.org>
* eapi-cheatsheet.tex: Delete trailing whitespaceUlrich Müller2021-09-031-1/+1
| | | | Signed-off-by: Ulrich Müller <ulm@gentoo.org>
* ebuild-env-vars.tex: Add missing \\ in tableUlrich Müller2021-09-031-4/+4
| | | | Signed-off-by: Ulrich Müller <ulm@gentoo.org>
* pkg-mgr-commands.tex: Clarify which commands are allowed in global scopeUlrich Müller2021-08-311-8/+12
| | | | | | | | | | | | | | | | | | For most commands this is already implied by the combination of the statements "When an ebuild is being sourced for metadata querying rather than for a build [...], no external command may be executed." in chapter 12 ("Available Commands") and "Except where otherwise noted, they may be internal [...] or external commands available in PATH; where this is not specified, ebuilds may not rely upon either behaviour." in section 12.3 ("Ebuild-specific Commands"). For output commands (einfo etc.) and debug commands (debug-print etc.) to be allowed in global scope, they must be implemented as shell functions. Specify this, which follows the implementation in all three package managers. Closes: https://bugs.gentoo.org/520528 Signed-off-by: Ulrich Müller <ulm@gentoo.org>
* pkg-mgr-commands.tex: Update description of text list functionsUlrich Müller2021-08-311-1/+1
| | | | | Closes: https://bugs.gentoo.org/374791 Signed-off-by: Ulrich Müller <ulm@gentoo.org>
* eclasses.tex: Clarify precedence of EXPORT_FUNCTIONS callsUlrich Müller2021-08-311-0/+4
| | | | | | | | | | | | | | | | Clarify that the last call to EXPORT_FUNCTIONS takes precedence over earlier calls. Unfortunately, we need an exception when inherit is called after EXPORT_FUNCTIONS because Portage changed its behaviour in 2009: https://gitweb.gentoo.org/proj/portage.git/commit/?id=06d4433e8b8be60d606733b9e23f57f8a5869d8f Pkgcore and Paludis apply precedence consistently based on call order of EXPORT_FUNCTIONS. Bug: https://bugs.gentoo.org/399039 Bug: https://bugs.gentoo.org/422513 Signed-off-by: Ulrich Müller <ulm@gentoo.org>
* pms.tex: Delete some empty linesUlrich Müller2021-08-181-17/+0
| | | | Signed-off-by: Ulrich Müller <ulm@gentoo.org>
* desk-reference.tex: Include the cheat sheet from a separate fileUlrich Müller2021-08-182-9/+22
| | | | | | | The desk reference (cheat sheet) is an own chapter. For consistency, include it from a separate file, and prefix its label with "ch:". Signed-off-by: Ulrich Müller <ulm@gentoo.org>
* pms.cls: Output class info after packages are loadedUlrich Müller2021-08-181-12/+12
| | | | Signed-off-by: Ulrich Müller <ulm@gentoo.org>
* profiles.tex: Don't use \verbUlrich Müller2021-08-171-1/+1
| | | | Signed-off-by: Ulrich Müller <ulm@gentoo.org>
* eapi-cheatsheet.tex: Define \i and \t commandsUlrich Müller2021-08-151-0/+4
| | | | | | | | These occur in external aux files used with the xr-hyper package and would normally cause an "undefined control sequence" error. The problem was hidden by LaTeX using its internal \i and \t macros instead. Signed-off-by: Ulrich Müller <ulm@gentoo.org>
* pkg-mgr-commands.tex: Fix econf --libdir logicUlrich Müller2021-08-041-1/+3
| | | | | | | | | | | | | Portage uses both --exec-prefix and --prefix in its econf logic, introduced in 2005: https://gitweb.gentoo.org/archive/proj/portage-cvs.git/commit/?h=portage_2_0&id=865508e5cb2fd3e6ef7c312b6a7bb88cf8799f9c Pkgcore agrees with Portage. Paludis uses --prefix first, then --exec-prefix. Closes: https://bugs.gentoo.org/806374 Signed-off-by: Ulrich Müller <ulm@gentoo.org>
* ebuild-env-vars.tex: Fix a referenceakater2021-06-201-1/+1
| | | | | | | Fixes: 27a0bf1961ae56fd6b948d5ffea9a9e4ae35fd91 Closes: https://bugs.gentoo.org/796794 Signed-off-by: Dmitrii Neskoromnyi <nuclearspace@gmail.com> Signed-off-by: Ulrich Müller <ulm@gentoo.org>
* Drop comma after "i.e." throughout, for consistencyUlrich Müller2021-06-172-4/+4
| | | | Signed-off-by: Ulrich Müller <ulm@gentoo.org>
* Merge branch 'eapi-8'eapi-8-approved-2021-06-13Ulrich Müller2021-06-1317-439/+753
|\ | | | | | | Signed-off-by: Ulrich Müller <ulm@gentoo.org>
| * Cheat sheet: EAPI 8 approval dateUlrich Müller2021-06-131-1/+1
| | | | | | | | Signed-off-by: Ulrich Müller <ulm@gentoo.org>
| * Cheat sheet: Update for EAPI 8Ulrich Müller2021-06-051-1/+61
| | | | | | | | Signed-off-by: Ulrich Müller <ulm@gentoo.org>
| * Cheat sheet: Remove EAPI 5 to make room for EAPI 8Ulrich Müller2021-06-051-70/+70
| | | | | | | | Signed-off-by: Ulrich Müller <ulm@gentoo.org>
| * Cheat sheet: Fix cross referencesUlrich Müller2021-06-051-2/+2
| | | | | | | | Signed-off-by: Ulrich Müller <ulm@gentoo.org>
| * EAPI 8 removes .7z, .rar, .lha unpack supportMichał Górny2021-06-052-7/+24
| | | | | | | | | | | | Bug: https://bugs.gentoo.org/690968 Signed-off-by: Michał Górny <mgorny@gentoo.org> Signed-off-by: Ulrich Müller <ulm@gentoo.org>
| * EAPI 8: usev has an optional second argumentUlrich Müller2021-06-052-9/+18
| | | | | | | | | | Bug: https://bugs.gentoo.org/744868 Signed-off-by: Ulrich Müller <ulm@gentoo.org>
| * EAPI 8: insopts and exeopts affect only doins and doexeUlrich Müller2021-06-052-12/+60
| | | | | | | | | | Bug: https://bugs.gentoo.org/657580 Signed-off-by: Ulrich Müller <ulm@gentoo.org>
| * EAPI 8 has dosym -rUlrich Müller2021-06-052-3/+40
| | | | | | | | | | Bug: https://bugs.gentoo.org/708360 Signed-off-by: Ulrich Müller <ulm@gentoo.org>
| * Split the econf options table because it has become too wideUlrich Müller2021-06-051-10/+15
| | | | | | | | Signed-off-by: Ulrich Müller <ulm@gentoo.org>
| * EAPI 8: econf adds --disable-staticUlrich Müller2021-06-052-8/+14
| | | | | | | | | | Bug: https://bugs.gentoo.org/744871 Signed-off-by: Ulrich Müller <ulm@gentoo.org>
| * EAPI 8 has econf passing --datarootdirMichał Górny2021-06-052-7/+13
| | | | | | | | | | | | Bug: https://bugs.gentoo.org/651958 Signed-off-by: Michał Górny <mgorny@gentoo.org> Signed-off-by: Ulrich Müller <ulm@gentoo.org>
| * EAPI 8: useq, hasv and hasq are bannedUlrich Müller2021-06-052-0/+27
| | | | | | | | | | Bug: https://bugs.gentoo.org/199722 Signed-off-by: Ulrich Müller <ulm@gentoo.org>
| * EAPI 8 accumulates PROPERTIES and RESTRICT across eclassesUlrich Müller2021-06-052-5/+26
| | | | | | | | | | Bug: https://bugs.gentoo.org/701132 Signed-off-by: Ulrich Müller <ulm@gentoo.org>
| * EAPI 8: Default src_prepare doesn't accept options in PATCHESUlrich Müller2021-06-052-4/+20
| | | | | | | | | | | | | | | | Also simplify array detection by using the @a operator in parameter expansion. This feature was introduced in bash-4.4. Bug: https://bugs.gentoo.org/752486 Signed-off-by: Ulrich Müller <ulm@gentoo.org>
| * Rearrange listings of phase functionsUlrich Müller2021-06-052-92/+82
| | | | | | | | Signed-off-by: Ulrich Müller <ulm@gentoo.org>
| * EAPI 8 has an empty working directory in pkg_* phasesUlrich Müller2021-06-052-5/+25
| | | | | | | | | | https://bugs.gentoo.org/595030 Signed-off-by: Ulrich Müller <ulm@gentoo.org>
| * EAPI 8 has install-time dependencies (IDEPEND)Michał Górny2021-06-056-15/+32
| | | | | | | | | | | | | | Bug: https://bugs.gentoo.org/660306 Signed-off-by: Michał Górny <mgorny@gentoo.org> [Updated as discussed in -pms mailing list] Signed-off-by: Ulrich Müller <ulm@gentoo.org>
| * EAPI 8 has selective URI restrictionsMichał Górny2021-06-052-5/+17
| | | | | | | | | | | | | | Bug: https://bugs.gentoo.org/371413 Signed-off-by: Michał Górny <mgorny@gentoo.org> [Shortened "selective-uri-restrict" label to make it fit in the margin] Signed-off-by: Ulrich Müller <ulm@gentoo.org>
| * Ban nameref variables from exported and default scopeUlrich Müller2021-06-051-0/+2
| | | | | | | | | | Bug: https://bugs.gentoo.org/636652 Signed-off-by: Ulrich Müller <ulm@gentoo.org>
| * EAPI 8: Bash version is 5.0Ulrich Müller2021-06-052-2/+4
| | | | | | | | | | Bug: https://bugs.gentoo.org/636652 Signed-off-by: Ulrich Müller <ulm@gentoo.org>
| * EAPI 8 has less strict naming rules in the updates directoryUlrich Müller2021-06-052-5/+25
| | | | | | | | | | Bug: https://bugs.gentoo.org/692774 Signed-off-by: Ulrich Müller <ulm@gentoo.org>
| * Relicense from CC-BY-SA-3.0 to CC-BY-SA-4.0Ulrich Müller2021-06-052-4/+5
| | | | | | | | | | Acked-by: Michał Górny <mgorny@gentoo.org> Signed-off-by: Ulrich Müller <ulm@gentoo.org>