summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* fcaps.eclass: support EAPI 8David Michael2021-06-191-10/+12
| | | | | | | | | | | | | | | | | | | | | This defines the native install-time libcap dependency as: - EAPI < 7: RDEPEND Only regular ROOT=/ builds can be expected to work. - EAPI = 7: RDEPEND + BDEPEND Also install the native setcap at built time, so cross- compiling will work, but not installing binpkgs in ROOTs. - EAPI > 7: IDEPEND Install native setcap at install-time; it works everywhere. Since all remaining users are EAPI 6 and above, declare eclass compatibility with EAPIs 6, 7, and 8. Signed-off-by: David Michael <fedora.dm0@gmail.com> Signed-off-by: Mike Gilbert <floppym@gentoo.org> Closes: https://github.com/gentoo/gentoo/pull/21239
* eclass: [QA] Revert multiple meaningless doc changesMichał Górny2020-12-281-5/+0
| | | | | | | | | | | Revert multiple meaningless eclass documentation changes, notably adding a lot of placeholders and documenting implementation details. These changes were aimed at silencing (valid) documentation warnings without actually providing valuable documentation to the end users. While some of these changes were beneficial, it would take a lot of effort to review them all and the author is unwilling to fix his mistakes. Signed-off-by: Michał Górny <mgorny@gentoo.org>
* eclass/fcaps: fixup documentationAaron Bauman2020-12-161-0/+5
| | | | Signed-off-by: Aaron Bauman <bman@gentoo.org>
* fcaps.eclass: Remove sys-libs/libcap-ng supportMatt Turner2020-04-151-66/+33
| | | | | | | | | | | | | | | libcap-ng-0.7.10 changed the output format slightly (in upstream commit bc1a9c07ebf5 "- Add capng_have_permitted_capabilities function and use it in filecap"), breaking our usage of it. It's obvious that it's not supposed to be used programmatically given the awful sed'ing we were already doing. It doesn't seem like there was a compelling reason why it was added either (bug #454908), so let's just get rid of it. At the same time, fix the dependency on sys-libs/libcap by moving it to RDEPEND, as dependencies in DEPEND/BDEPEND are not guaranteed to exist during pkg_postinst() when this eclass is intended to run. Signed-off-by: Matt Turner <mattst88@gentoo.org>
* fcaps.eclass: skip fcaps() on Prefix.Benda Xu2020-03-161-0/+5
| | | | | | | | Gentoo Prefix runs with a normal user and cannot grant extra capabilities. Exit gracefully with a message. Reference: https://archives.gentoo.org/gentoo-dev/message/4207cffd6b875450bb2fdbcf1b076053 Signed-off-by: Benda Xu <heroxbd@gentoo.org>
* fcaps.eclass: use BDEPEND for EAPI 7David Michael2020-03-151-2/+5
| | | | | | | | | | | The eclass installs libcap to execute the setcap program, so it must be installed in /. Optional libcap linking is handled by the USE=caps flag, which is unrelated to this eclass, so the DEPEND declaration is not needed on EAPI 7. Closes: https://bugs.gentoo.org/700018 Signed-off-by: David Michael <fedora.dm0@gmail.com> Signed-off-by: Mike Gilbert <floppym@gentoo.org>
* fcaps.eclass: don't assume D and ROOT end with a slashMike Gilbert2018-05-081-1/+2
| | | | Closes: https://bugs.gentoo.org/655244
* eclass/cron: minor dashMikle Kolyada2018-05-071-1/+1
|
* Drop $Id$ per council decision in bug #611234.Robin H. Johnson2017-02-281-1/+0
| | | | Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
* fcaps.eclass: Remove retired co-maintMichał Górny2017-02-221-1/+0
|
* fcaps.eclass: support ENOTSUP in addition to EOPNOTSUPP #559608Mike Frysinger2015-09-041-0/+3
|
* proj/gentoo: Initial commitRobin H. Johnson2015-08-081-0/+217
This commit represents a new era for Gentoo: Storing the gentoo-x86 tree in Git, as converted from CVS. This commit is the start of the NEW history. Any historical data is intended to be grafted onto this point. Creation process: 1. Take final CVS checkout snapshot 2. Remove ALL ChangeLog* files 3. Transform all Manifests to thin 4. Remove empty Manifests 5. Convert all stale $Header$/$Id$ CVS keywords to non-expanded Git $Id$ 5.1. Do not touch files with -kb/-ko keyword flags. Signed-off-by: Robin H. Johnson <robbat2@gentoo.org> X-Thanks: Alec Warner <antarus@gentoo.org> - did the GSoC 2006 migration tests X-Thanks: Robin H. Johnson <robbat2@gentoo.org> - infra guy, herding this project X-Thanks: Nguyen Thai Ngoc Duy <pclouds@gentoo.org> - Former Gentoo developer, wrote Git features for the migration X-Thanks: Brian Harring <ferringb@gentoo.org> - wrote much python to improve cvs2svn X-Thanks: Rich Freeman <rich0@gentoo.org> - validation scripts X-Thanks: Patrick Lauer <patrick@gentoo.org> - Gentoo dev, running new 2014 work in migration X-Thanks: Michał Górny <mgorny@gentoo.org> - scripts, QA, nagging X-Thanks: All of other Gentoo developers - many ideas and lots of paint on the bikeshed