[gentoo-dev] [PATCH 3/3] xemacs-packages.eclass: Whitespace

2022-08-30 Thread Ulrich Müller
Signed-off-by: Ulrich Müller --- eclass/xemacs-packages.eclass | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/eclass/xemacs-packages.eclass b/eclass/xemacs-packages.eclass index 67c9491d575e..91621f5f52d3 100644 --- a/eclass/xemacs-packages.eclass +++ b/eclass/xemacs

[gentoo-dev] [PATCH 2/3] xemacs-packages.eclass: Support EAPI 8

2022-08-30 Thread Ulrich Müller
Signed-off-by: Ulrich Müller --- eclass/xemacs-packages.eclass | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/eclass/xemacs-packages.eclass b/eclass/xemacs-packages.eclass index 8f5d3f1b51b2..67c9491d575e 100644 --- a/eclass/xemacs-packages.eclass +++ b/eclass/xemacs

[gentoo-dev] [PATCH 1/3] xemacs-packages.eclass: Drop backwards compatibility code

2022-08-30 Thread Ulrich Müller
Signed-off-by: Ulrich Müller --- eclass/xemacs-packages.eclass | 6 +- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/eclass/xemacs-packages.eclass b/eclass/xemacs-packages.eclass index 2440ef835291..8f5d3f1b51b2 100644 --- a/eclass/xemacs-packages.eclass +++ b/eclass/xemacs

[gentoo-dev] [PATCH 8/8] java-pkg-simple.eclass: Inherit eqawarn instead of eutils

2022-07-23 Thread Ulrich Müller
Signed-off-by: Ulrich Müller --- eclass/java-pkg-simple.eclass | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/eclass/java-pkg-simple.eclass b/eclass/java-pkg-simple.eclass index 34c044e2ba2d..09062d9ede68 100644 --- a/eclass/java-pkg-simple.eclass +++ b/eclass/java-pkg

[gentoo-dev] [PATCH 7/8] java-pkg-simple.eclass: Drop support for EAPI 5

2022-07-23 Thread Ulrich Müller
Signed-off-by: Ulrich Müller --- eclass/java-pkg-simple.eclass | 10 +++--- 1 file changed, 3 insertions(+), 7 deletions(-) diff --git a/eclass/java-pkg-simple.eclass b/eclass/java-pkg-simple.eclass index c0a6b4d21df9..34c044e2ba2d 100644 --- a/eclass/java-pkg-simple.eclass +++ b/eclass

[gentoo-dev] [PATCH 6/8] vcs-snapshot.eclass: Add missing inherit for eqawarn

2022-07-23 Thread Ulrich Müller
Signed-off-by: Ulrich Müller --- eclass/vcs-snapshot.eclass | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/eclass/vcs-snapshot.eclass b/eclass/vcs-snapshot.eclass index 64bc1da040f4..1b7299b92a3b 100644 --- a/eclass/vcs-snapshot.eclass +++ b/eclass/vcs-snapshot.eclass

[gentoo-dev] [PATCH 5/8] ruby-ng.eclass: Add missing inherit for eqawarn

2022-07-23 Thread Ulrich Müller
Signed-off-by: Ulrich Müller --- eclass/ruby-ng.eclass | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/eclass/ruby-ng.eclass b/eclass/ruby-ng.eclass index 167aab755f3a..06548392a501 100644 --- a/eclass/ruby-ng.eclass +++ b/eclass/ruby-ng.eclass @@ -68,7 +68,7 @@ case

[gentoo-dev] [PATCH 4/8] ruby-ng.eclass: Drop support for EAPI 5

2022-07-23 Thread Ulrich Müller
Signed-off-by: Ulrich Müller --- eclass/ruby-ng.eclass | 38 +- 1 file changed, 9 insertions(+), 29 deletions(-) diff --git a/eclass/ruby-ng.eclass b/eclass/ruby-ng.eclass index c43d5b4d9826..167aab755f3a 100644 --- a/eclass/ruby-ng.eclass +++ b/eclass/ruby

[gentoo-dev] [PATCH 3/8] python*-r1.eclass: Add missing inherit for eqawarn

2022-07-23 Thread Ulrich Müller
Signed-off-by: Ulrich Müller --- eclass/python-r1.eclass | 1 + eclass/python-utils-r1.eclass | 1 + 2 files changed, 2 insertions(+) diff --git a/eclass/python-r1.eclass b/eclass/python-r1.eclass index 3471e17bdde6..2fd5c70120e9 100644 --- a/eclass/python-r1.eclass +++ b/eclass/python-r1

[gentoo-dev] [PATCH 2/8] eutils.eclass: Add @DEPRECATED tag

2022-07-23 Thread Ulrich Müller
Signed-off-by: Ulrich Müller --- eclass/eutils.eclass | 13 + 1 file changed, 1 insertion(+), 12 deletions(-) diff --git a/eclass/eutils.eclass b/eclass/eutils.eclass index b1479d33049c..dedb5b1696c1 100644 --- a/eclass/eutils.eclass +++ b/eclass/eutils.eclass @@ -6,18 +6,7

[gentoo-dev] [PATCH 1/8] eqawarn.eclass: New eclass, split off from eutils

2022-07-23 Thread Ulrich Müller
Signed-off-by: Ulrich Müller --- eclass/eqawarn.eclass | 26 ++ eclass/eutils.eclass | 15 +-- 2 files changed, 27 insertions(+), 14 deletions(-) create mode 100644 eclass/eqawarn.eclass diff --git a/eclass/eqawarn.eclass b/eclass/eqawarn.eclass new file

[gentoo-dev] [PATCH 0/8] Deprecate eutils.eclass

2022-07-23 Thread Ulrich Müller
This series of patches splits off eqawarn in its own eclass, which will finally allow us to tag eutils.eclass as deprecated. Also, some eclasses call eqawarn in EAPI 6 without inheriting the function. Add a proper inherit statement to them, and drop EAPI 5 support while at it. Ulrich Müller (8

[gentoo-dev] [PATCH 8/7] epatch.eclass: Drop support for EAPIs 0 to 5

2022-07-03 Thread Ulrich Müller
Signed-off-by: Ulrich Müller --- eclass/epatch.eclass | 90 ++-- 1 file changed, 4 insertions(+), 86 deletions(-) diff --git a/eclass/epatch.eclass b/eclass/epatch.eclass index 6a9c460da0a3..17526653673a 100644 --- a/eclass/epatch.eclass +++ b/eclass

[gentoo-dev] [PATCH 7/7] toolchain-funcs.eclass: Drop support for EAPIs 0 and 5

2022-06-28 Thread Ulrich Müller
Signed-off-by: Ulrich Müller --- eclass/toolchain-funcs.eclass | 7 +++ 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/eclass/toolchain-funcs.eclass b/eclass/toolchain-funcs.eclass index 17c075895d55..b21eb5542208 100644 --- a/eclass/toolchain-funcs.eclass +++ b/eclass

[gentoo-dev] [PATCH 6/7] multilib.eclass: Drop support for EAPIs 0 and 5

2022-06-28 Thread Ulrich Müller
Signed-off-by: Ulrich Müller --- eclass/multilib.eclass | 33 +++-- 1 file changed, 3 insertions(+), 30 deletions(-) diff --git a/eclass/multilib.eclass b/eclass/multilib.eclass index 8590bbdfbff0..e3c0d78a6e43 100644 --- a/eclass/multilib.eclass +++ b/eclass

[gentoo-dev] [PATCH 5/7] flag-o-matic.eclass: Drop support for EAPI 5

2022-06-28 Thread Ulrich Müller
Signed-off-by: Ulrich Müller --- eclass/flag-o-matic.eclass | 17 - 1 file changed, 8 insertions(+), 9 deletions(-) diff --git a/eclass/flag-o-matic.eclass b/eclass/flag-o-matic.eclass index 0e15d7423547..0dd2c1191273 100644 --- a/eclass/flag-o-matic.eclass +++ b/eclass/flag-o

[gentoo-dev] [PATCH 4/7] autotools.eclass: Drop support for EAPI 5

2022-06-28 Thread Ulrich Müller
Signed-off-by: Ulrich Müller --- eclass/autotools.eclass | 14 +++--- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/eclass/autotools.eclass b/eclass/autotools.eclass index d6c5b7f0ec0d..caf425b9d9a5 100644 --- a/eclass/autotools.eclass +++ b/eclass/autotools.eclass

[gentoo-dev] [PATCH 3/7] eutils.eclass: Remove emktemp

2022-06-28 Thread Ulrich Müller
Signed-off-by: Ulrich Müller --- eclass/eutils.eclass | 37 +++-- 1 file changed, 3 insertions(+), 34 deletions(-) diff --git a/eclass/eutils.eclass b/eclass/eutils.eclass index e2b3ce0482a9..e7fae2c656c6 100644 --- a/eclass/eutils.eclass +++ b/eclass

[gentoo-dev] [PATCH 2/7] eutils.eclass: Remove use_if_iuse

2022-06-28 Thread Ulrich Müller
Signed-off-by: Ulrich Müller --- eclass/eutils.eclass | 15 --- 1 file changed, 4 insertions(+), 11 deletions(-) diff --git a/eclass/eutils.eclass b/eclass/eutils.eclass index 0b84e3c82c00..e2b3ce0482a9 100644 --- a/eclass/eutils.eclass +++ b/eclass/eutils.eclass @@ -74,18 +74,11

[gentoo-dev] [PATCH 1/7] eutils.eclass: Drop support for EAPI 5

2022-06-28 Thread Ulrich Müller
Signed-off-by: Ulrich Müller --- eclass/eutils.eclass | 100 +++ 1 file changed, 5 insertions(+), 95 deletions(-) diff --git a/eclass/eutils.eclass b/eclass/eutils.eclass index 207d05e7f975..0b84e3c82c00 100644 --- a/eclass/eutils.eclass +++ b/eclass

[gentoo-dev] [PATCH 0/7] Drop support for EAPI 5 in eutils and its friends

2022-06-28 Thread Ulrich Müller
Obviously, the series can only be merged when the last EAPI 5 ebuild is gone. Current status is that we're down to 3 packages with EAPI 5 which are all last-rited. Ulrich Müller (7): eutils.eclass: Drop support for EAPI 5 eutils.eclass: Remove use_if_iuse eutils.eclass: Remove emktemp

[gentoo-dev] [PATCH] glep-0068: Update language identifiers from ISO 639-1 to BCP 47

2022-05-22 Thread Ulrich Müller
This will allow codes like pt-BR or zh-Hant which is already used in at least one longdescription in the Gentoo repository. Note that the L10N USE_EXPAND and GLEP 42 news items also use BCP 47 for language names. Bug: https://bugs.gentoo.org/578294 Signed-off-by: Ulrich Müller --- glep-0068

[gentoo-dev] [PATCH 2/2] repositories.xsd: Use xs:language for lang attributes

2022-05-21 Thread Ulrich Müller
Use a build-in datatype of XML Schema instead of hand-crafting our own. Signed-off-by: Ulrich Müller --- repositories.xsd | 214 +-- 1 file changed, 1 insertion(+), 213 deletions(-) diff --git a/repositories.xsd b/repositories.xsd index 8454c7a

[gentoo-dev] [PATCH 1/2] metadata.xsd: Use xs:language for lang attributes

2022-05-21 Thread Ulrich Müller
Use a build-in datatype of XML Schema instead of hand-crafting our own. Bug: https://bugs.gentoo.org/578294 Signed-off-by: Ulrich Müller --- metadata.xsd | 224 ++- 1 file changed, 6 insertions(+), 218 deletions(-) diff --git a/metadata.xsd b

[gentoo-dev] [PATCH 2/2] haskell-cabal.eclass: Update function call

2022-05-18 Thread Ulrich Müller
ghc-extractportageversion was renamed to ghc-extract-pm-version. Bug: https://bugs.gentoo.org/843713 Signed-off-by: Ulrich Müller --- eclass/haskell-cabal.eclass | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/eclass/haskell-cabal.eclass b/eclass/haskell-cabal.eclass index

[gentoo-dev] [PATCH 1/2] ghc-package.eclass: Avoid reserved function name

2022-05-18 Thread Ulrich Müller
Rename function ghc-extractportageversion to ghc-extract-pm-version. Closes: https://bugs.gentoo.org/843713 Signed-off-by: Ulrich Müller --- eclass/ghc-package.eclass | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/eclass/ghc-package.eclass b/eclass/ghc-package.eclass

[gentoo-dev] [PATCH v2] user.eclass: Avoid reserved function name

2022-05-15 Thread Ulrich Müller
Names that contain "ebuild" are reserved for package manager use. Closes: https://bugs.gentoo.org/843707 Signed-off-by: Ulrich Müller --- v2: Prefix the new name with "user". eclass/user.eclass | 16 1 file changed, 8 insertions(+), 8 deletions(-)

[gentoo-dev] [PATCH] user.eclass: Avoid reserved function name

2022-05-15 Thread Ulrich Müller
Names that contain "ebuild" are reserved for package manager use. Closes: https://bugs.gentoo.org/843707 Signed-off-by: Ulrich Müller --- eclass/user.eclass | 16 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/eclass/user.eclass b/eclass/user.ec

[gentoo-dev] [PATCH] multilib.eclass: Avoid reserved variable names

2022-05-15 Thread Ulrich Müller
Names that begin with __ are reserved for package manager use. Closes: https://bugs.gentoo.org/843722 Signed-off-by: Ulrich Müller --- eclass/multilib.eclass | 12 ++-- 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/eclass/multilib.eclass b/eclass/multilib.eclass index

[gentoo-dev] [PATCH 7/7] cmake-utils.eclass: Drop @SEE which is not a documentation keyword

2022-05-10 Thread Ulrich Müller
Signed-off-by: Ulrich Müller --- eclass/cmake-utils.eclass | 1 - 1 file changed, 1 deletion(-) diff --git a/eclass/cmake-utils.eclass b/eclass/cmake-utils.eclass index 4ec3b900edaf..11bb2e259e58 100644 --- a/eclass/cmake-utils.eclass +++ b/eclass/cmake-utils.eclass @@ -554,7 +554,6 @@ cmake

[gentoo-dev] [PATCH 6/7] xorg-3.eclass: Don't indent eclass documentation

2022-05-10 Thread Ulrich Müller
Signed-off-by: Ulrich Müller --- eclass/xorg-3.eclass | 24 +--- 1 file changed, 13 insertions(+), 11 deletions(-) diff --git a/eclass/xorg-3.eclass b/eclass/xorg-3.eclass index c68b3041629a..378a7b8c4103 100644 --- a/eclass/xorg-3.eclass +++ b/eclass/xorg-3.eclass @@ -152,6

[gentoo-dev] [PATCH 5/7] waf-utils.eclass: Don't indent eclass documentation

2022-05-10 Thread Ulrich Müller
Signed-off-by: Ulrich Müller --- eclass/waf-utils.eclass | 10 ++ 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/eclass/waf-utils.eclass b/eclass/waf-utils.eclass index 7945cc869eb6..d5d52b9af247 100644 --- a/eclass/waf-utils.eclass +++ b/eclass/waf-utils.eclass @@ -1,4

[gentoo-dev] [PATCH 4/7] ruby-fakegem.eclass: Don't indent eclass documentation

2022-05-10 Thread Ulrich Müller
Signed-off-by: Ulrich Müller --- eclass/ruby-fakegem.eclass | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/eclass/ruby-fakegem.eclass b/eclass/ruby-fakegem.eclass index 41dbb1e16340..358fff1be753 100644 --- a/eclass/ruby-fakegem.eclass +++ b/eclass/ruby-fakegem.eclass

[gentoo-dev] [PATCH 3/7] mercurial.eclass: Don't indent eclass documentation

2022-05-10 Thread Ulrich Müller
Signed-off-by: Ulrich Müller --- eclass/mercurial.eclass | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/eclass/mercurial.eclass b/eclass/mercurial.eclass index 8f0e6edfeb0b..2616b88311cf 100644 --- a/eclass/mercurial.eclass +++ b/eclass/mercurial.eclass @@ -94,6

[gentoo-dev] [PATCH 2/7] kde.org.eclass: Don't indent eclass documentation

2022-05-10 Thread Ulrich Müller
Signed-off-by: Ulrich Müller --- eclass/kde.org.eclass | 20 +++- 1 file changed, 11 insertions(+), 9 deletions(-) diff --git a/eclass/kde.org.eclass b/eclass/kde.org.eclass index 8e0c97f0ec00..b38ca5a024ab 100644 --- a/eclass/kde.org.eclass +++ b/eclass/kde.org.eclass @@ -1,4

[gentoo-dev] [PATCH 1/7] check-reqs.eclass: Don't indent eclass documentation

2022-05-10 Thread Ulrich Müller
Signed-off-by: Ulrich Müller --- eclass/check-reqs.eclass | 13 +++-- 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/eclass/check-reqs.eclass b/eclass/check-reqs.eclass index 5a754c54a303..ddf0a47775ae 100644 --- a/eclass/check-reqs.eclass +++ b/eclass/check-reqs.eclass

[gentoo-dev] [PATCH 0/7] Don't indent eclass documentation

2022-05-09 Thread Ulrich Müller
Eclass documentation line must start exactly with the string "# @" in column 0, otherwise they won't be recognized by our tools (e.g. eclass-to-manpage.awk). Update eclasses to follow that convention. Ulrich Müller (7): check-reqs.eclass: Don't indent eclass documentation kde.

[gentoo-dev] [PATCH v3 2/2] latex-package.eclass: Support EAPI 8

2022-04-13 Thread Ulrich Müller
- BDEPEND instead of DEPEND (partially reverts commit 595611085bc5) - Document TEXMF - Create symlinks with dosym -r - Use debug-print-function Signed-off-by: Ulrich Müller --- v3: Use BDEPEND instead of RDEPEND also in EAPI 7 eclass/latex-package.eclass | 41

[gentoo-dev] [PATCH v3 1/2] latex-package.eclass: Properly quote variables

2022-04-13 Thread Ulrich Müller
Bug: https://bugs.gentoo.org/379571 Signed-off-by: Ulrich Müller --- eclass/latex-package.eclass | 40 +++-- 1 file changed, 21 insertions(+), 19 deletions(-) diff --git a/eclass/latex-package.eclass b/eclass/latex-package.eclass index 359b5177bb37..bee04b607de1

[gentoo-dev] [PATCH v2 2/2] latex-package.eclass: Support EAPI 8

2022-04-12 Thread Ulrich Müller
Create symlinks with dosym -r. Use debug-print-function. Document TEXMF. Signed-off-by: Ulrich Müller --- v2: Assign BDEPEND in EAPI 8 eclass/latex-package.eclass | 44 +++-- 1 file changed, 27 insertions(+), 17 deletions(-) diff --git a/eclass/latex

[gentoo-dev] [PATCH v2 1/2] latex-package.eclass: Properly quote variables

2022-04-12 Thread Ulrich Müller
Bug: https://bugs.gentoo.org/379571 Signed-off-by: Ulrich Müller --- eclass/latex-package.eclass | 40 +++-- 1 file changed, 21 insertions(+), 19 deletions(-) diff --git a/eclass/latex-package.eclass b/eclass/latex-package.eclass index 359b5177bb37..bee04b607de1

[gentoo-dev] [PATCH 2/2] latex-package.eclass: Support EAPI 8

2022-04-11 Thread Ulrich Müller
Create symlinks with dosym -r. Use debug-print-function. Document TEXMF. Signed-off-by: Ulrich Müller --- eclass/latex-package.eclass | 39 + 1 file changed, 22 insertions(+), 17 deletions(-) diff --git a/eclass/latex-package.eclass b/eclass/latex

[gentoo-dev] [PATCH 1/2] latex-package.eclass: Properly quote variables

2022-04-11 Thread Ulrich Müller
Bug: https://bugs.gentoo.org/379571 Signed-off-by: Ulrich Müller --- eclass/latex-package.eclass | 40 +++-- 1 file changed, 21 insertions(+), 19 deletions(-) diff --git a/eclass/latex-package.eclass b/eclass/latex-package.eclass index 359b5177bb37..bee04b607de1

[gentoo-dev] [PATCH] eclass/common-lisp-3: Properly escape recursive install files

2022-04-07 Thread Ulrich Müller
'*.lisp' -exec doins` (or xargs) without the recursive calling or escaping mess Signed-off-by: Marco Sirabella Signed-off-by: Ulrich Müller --- eclass/common-lisp-3.eclass | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/eclass/common-lisp-3.eclass b/eclass/common-lisp-3

[gentoo-dev] [PATCH] preserve-libs.eclass: Remove conditionals for EAPIs 0, 1, and 2

2022-04-02 Thread Ulrich Müller
Drop an unnecessary die statement. Adjust some quotation marks. Signed-off-by: Ulrich Müller --- eclass/preserve-libs.eclass | 16 ++-- 1 file changed, 6 insertions(+), 10 deletions(-) diff --git a/eclass/preserve-libs.eclass b/eclass/preserve-libs.eclass index da13e7943add

[gentoo-dev] [PATCH] elisp-common.eclass: Drop support for EAPI 5

2022-04-01 Thread Ulrich Müller
>From Emacs overlay. Signed-off-by: Ulrich Müller --- eclass/elisp-common.eclass | 15 +++ 1 file changed, 3 insertions(+), 12 deletions(-) diff --git a/eclass/elisp-common.eclass b/eclass/elisp-common.eclass index 775bcbdb889c..a821e4a2dc6f 100644 --- a/eclass/elisp-common.ecl

[gentoo-dev] [PATCH] wrapper.eclass: Drop support for EAPIs 0 to 4

2022-03-31 Thread Ulrich Müller
- Add EAPI conditional - Drop unnecessary die statements - Use sed instead of cat, to preserve indentation of output Signed-off-by: Ulrich Müller --- eclass/wrapper.eclass | 17 +++-- 1 file changed, 11 insertions(+), 6 deletions(-) diff --git a/eclass/wrapper.eclass b/eclass

[gentoo-dev] [PATCH 9/9] acct-user.eclass: Refuse to lock out the superuser

2022-03-27 Thread Ulrich Müller
Signed-off-by: Ulrich Müller --- eclass/acct-user.eclass | 5 + 1 file changed, 5 insertions(+) diff --git a/eclass/acct-user.eclass b/eclass/acct-user.eclass index 2e2e1152f9ad..f2aaefc2ee39 100644 --- a/eclass/acct-user.eclass +++ b/eclass/acct-user.eclass @@ -473,6 +473,11 @@ acct

[gentoo-dev] [PATCH 8/9] acct-user.eclass: Use arithmetic test for EUID

2022-03-27 Thread Ulrich Müller
Signed-off-by: Ulrich Müller --- eclass/acct-user.eclass | 12 ++-- 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/eclass/acct-user.eclass b/eclass/acct-user.eclass index 70ae2434b5df..2e2e1152f9ad 100644 --- a/eclass/acct-user.eclass +++ b/eclass/acct-user.eclass @@ -1,4

[gentoo-dev] [PATCH 7/9] user.eclass: Use arithmetic test for UID

2022-03-27 Thread Ulrich Müller
Signed-off-by: Ulrich Müller --- eclass/user.eclass | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/eclass/user.eclass b/eclass/user.eclass index 581704eae815..ff69be81c1ec 100644 --- a/eclass/user.eclass +++ b/eclass/user.eclass @@ -85,7 +85,7 @@ user_get_nologin

[gentoo-dev] [PATCH 6/9] fcaps.eclass: Use arithmetic test for UID

2022-03-27 Thread Ulrich Müller
Signed-off-by: Ulrich Müller --- eclass/fcaps.eclass | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/eclass/fcaps.eclass b/eclass/fcaps.eclass index 8ed27429c938..d1860f5ac9a3 100644 --- a/eclass/fcaps.eclass +++ b/eclass/fcaps.eclass @@ -88,7 +88,7 @@ esac fcaps

[gentoo-dev] [PATCH 5/9] webapp.eclass: Use UID 0 instead of root

2022-03-27 Thread Ulrich Müller
Bug: https://bugs.gentoo.org/595908 Signed-off-by: Ulrich Müller --- eclass/webapp.eclass | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/eclass/webapp.eclass b/eclass/webapp.eclass index 3c0dfc811ac6..1efe4e66b6a9 100644 --- a/eclass/webapp.eclass +++ b/eclass

[gentoo-dev] [PATCH 4/9] toolchain.eclass: Use UID 0 instead of root

2022-03-27 Thread Ulrich Müller
Bug: https://bugs.gentoo.org/595908 Signed-off-by: Ulrich Müller --- eclass/toolchain.eclass | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/eclass/toolchain.eclass b/eclass/toolchain.eclass index 495a305ed83e..8788e72efebb 100644 --- a/eclass/toolchain.eclass +++ b/eclass

[gentoo-dev] [PATCH 3/9] qmail.eclass: Use UID 0 instead of root

2022-03-27 Thread Ulrich Müller
Bug: https://bugs.gentoo.org/595908 Signed-off-by: Ulrich Müller --- eclass/qmail.eclass | 12 ++-- 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/eclass/qmail.eclass b/eclass/qmail.eclass index 33157b7e7871..471f2fe7ce5e 100644 --- a/eclass/qmail.eclass +++ b/eclass

[gentoo-dev] [PATCH 2/9] cron.eclass: Use UID 0 instead of root

2022-03-27 Thread Ulrich Müller
Bug: https://bugs.gentoo.org/595908 Signed-off-by: Ulrich Müller --- eclass/cron.eclass | 12 ++-- 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/eclass/cron.eclass b/eclass/cron.eclass index 81f963a4f722..3198c181f21b 100644 --- a/eclass/cron.eclass +++ b/eclass

[gentoo-dev] [PATCH 1/9] fcaps.eclass: Use UID 0 instead of root

2022-03-27 Thread Ulrich Müller
From: Haelwenn (lanodan) Monnier Bug: https://bugs.gentoo.org/595908 Signed-off-by: Ulrich Müller --- eclass/fcaps.eclass | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/eclass/fcaps.eclass b/eclass/fcaps.eclass index 93aa7cd5928d..8ed27429c938 100644 --- a/eclass

[gentoo-dev] [PATCH 0/9] eclass: Use UID 0 instead of root and other fixes

2022-03-27 Thread Ulrich Müller
Introduce an additional sanity check preventing lockout of the superuser in acct-user.eclass. Bug: https://bugs.gentoo.org/595908 Haelwenn (lanodan) Monnier (1): fcaps.eclass: Use UID 0 instead of root Ulrich Müller (8): cron.eclass: Use UID 0 instead of root qmail.eclass: Use UID 0 inste

[gentoo-dev] [PATCH 2/2] subversion.eclass: Support EAPI 8

2022-02-26 Thread Ulrich Müller
Signed-off-by: Ulrich Müller --- eclass/subversion.eclass | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/eclass/subversion.eclass b/eclass/subversion.eclass index 2a2297678ad1..8b12382a649d 100644 --- a/eclass/subversion.eclass +++ b/eclass/subversion.eclass @@ -6,7 +6,7

[gentoo-dev] [PATCH 1/2] subversion.eclass: Drop support for EAPIs 4 and 5

2022-02-26 Thread Ulrich Müller
Signed-off-by: Ulrich Müller --- eclass/subversion.eclass | 85 +++- 1 file changed, 5 insertions(+), 80 deletions(-) diff --git a/eclass/subversion.eclass b/eclass/subversion.eclass index aa1a5c355877..2a2297678ad1 100644 --- a/eclass/subversion.eclass +++ b

[gentoo-dev] [PATCH v2] vala.eclass: Support EAPI 8

2022-02-17 Thread Ulrich Müller
that functionality there does not change. Apparently, eutils and multilib eclasses are not used, therefore no longer inherit them in EAPI 8. Reviewed-by: Mart Raudsepp Signed-off-by: Ulrich Müller --- v2: Don't export vala_src_prepare eclass/vala.eclass | 33 + 1 file

[gentoo-dev] [PATCH] vala.eclass: Support EAPI 8

2022-02-16 Thread Ulrich Müller
that functionality there does not change. Apparently, eutils and multilib eclasses are not used, therefore no longer inherit them in EAPI 8. Reviewed-by: Mart Raudsepp Signed-off-by: Ulrich Müller --- eclass/vala.eclass | 36 +--- 1 file changed, 25 insertions(+), 11

[gentoo-portage-dev] [PATCH] repoman: Remove http compatibility code for metadata DTD

2022-01-25 Thread Ulrich Müller
Commit 3950d76df says: "The http:// compat can be removed once the Gentoo repository is updated to use https:// everywhere." Bug: https://bugs.gentoo.org/552720 Signed-off-by: Ulrich Müller --- repoman/lib/repoman/modules/scan/metadata/pkgmetadata.py | 2 +- 1 file changed, 1 inser

[gentoo-dev] [PATCH] metadata.xsd: Support FTP URLs

2022-01-22 Thread Ulrich Müller
Base urlType on xs:anyURI. Slightly simplify the mailto syntax (a dot in the domain part is actually not required). Closes: https://bugs.gentoo.org/830211 Signed-off-by: Ulrich Müller --- metadata.xsd | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/metadata.xsd b

[gentoo-dev] [PATCH] readme.gentoo-r1.eclass: Document the DOC_CONTENTS variable

2022-01-01 Thread Ulrich Müller
This fixes a spurious "UnusedInherits" warning from pkgcheck. Signed-off-by: Ulrich Müller --- eclass/readme.gentoo-r1.eclass | 7 ++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/eclass/readme.gentoo-r1.eclass b/eclass/readme.gentoo-r1.eclass index 3a

[gentoo-dev] [PATCH] profiles/info_vars: Add EXTRA_ECONF

2021-12-11 Thread Ulrich Müller
This is in the same category as CFLAGS and LDFLAGS. Especially, it can break the build, so I'd rather know if the variable is set. Signed-off-by: Ulrich Müller --- profiles/info_vars | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/profiles/info_vars b/profiles/info_vars

[gentoo-dev] [PATCH 3/3] cvs.eclass: Fix eclass documentation

2021-10-02 Thread Ulrich Müller
Signed-off-by: Ulrich Müller --- eclass/cvs.eclass | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/eclass/cvs.eclass b/eclass/cvs.eclass index 34c32a4a4190..99b90cec6b54 100644 --- a/eclass/cvs.eclass +++ b/eclass/cvs.eclass @@ -195,7 +195,9 @@ if [[ ${ECVS_AUTH} == &quo

[gentoo-dev] [PATCH 2/3] cvs.eclass: Don't rely on sandbox internals

2021-10-02 Thread Ulrich Müller
Signed-off-by: Ulrich Müller --- eclass/cvs.eclass | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/eclass/cvs.eclass b/eclass/cvs.eclass index 2868cb31f317..34c32a4a4190 100644 --- a/eclass/cvs.eclass +++ b/eclass/cvs.eclass @@ -257,10 +257,10 @@ cvs_fetch

[gentoo-dev] [PATCH 1/3] cvs.eclass: Support EAPI 8, drop EAPI 6 and older

2021-10-02 Thread Ulrich Müller
Signed-off-by: Ulrich Müller --- eclass/cvs.eclass | 17 - 1 file changed, 8 insertions(+), 9 deletions(-) diff --git a/eclass/cvs.eclass b/eclass/cvs.eclass index a8e5ee4cc9a0..2868cb31f317 100644 --- a/eclass/cvs.eclass +++ b/eclass/cvs.eclass @@ -4,7 +4,7 @@ # @ECLASS

[gentoo-dev] [PATCH v2 6/6] bzr.eclass: Drop support for EBZR_INITIAL_URI

2021-09-25 Thread Ulrich Müller
This was historically used only for GNU Emacs, which had a slow original repository and a fast (but possibly out of date) mirror. Signed-off-by: Ulrich Müller --- eclass/bzr.eclass | 25 + 1 file changed, 1 insertion(+), 24 deletions(-) diff --git a/eclass/bzr.eclass b

[gentoo-dev] [PATCH v2 5/6] bzr.eclass: Don't rely on sandbox internals

2021-09-25 Thread Ulrich Müller
Signed-off-by: Ulrich Müller --- eclass/bzr.eclass | 18 -- 1 file changed, 8 insertions(+), 10 deletions(-) diff --git a/eclass/bzr.eclass b/eclass/bzr.eclass index de73aed7f676..5dd5d40c13fa 100644 --- a/eclass/bzr.eclass +++ b/eclass/bzr.eclass @@ -201,16 +201,16

[gentoo-dev] [PATCH v2 4/6] bzr.eclass: Fix EBZR_OFFLINE logic

2021-09-25 Thread Ulrich Müller
Signed-off-by: Ulrich Müller --- eclass/bzr.eclass | 7 +++ 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/eclass/bzr.eclass b/eclass/bzr.eclass index d5ac999aeb8c..de73aed7f676 100644 --- a/eclass/bzr.eclass +++ b/eclass/bzr.eclass @@ -158,8 +158,8 @@ EXPORT_FUNCTIONS

[gentoo-dev] [PATCH v2 3/6] bzr.eclass: Names of internal functions, eclassdoc, messages

2021-09-25 Thread Ulrich Müller
This should not make any functional difference. Signed-off-by: Ulrich Müller --- eclass/bzr.eclass | 47 +-- 1 file changed, 25 insertions(+), 22 deletions(-) diff --git a/eclass/bzr.eclass b/eclass/bzr.eclass index e76af5d41d57..d5ac999aeb8c 100644

[gentoo-dev] [PATCH v2 2/6] bzr.eclass: Update for dev-vcs/breezy, support EAPIs 7 and 8

2021-09-25 Thread Ulrich Müller
Signed-off-by: Ulrich Müller --- eclass/bzr.eclass | 39 +++ 1 file changed, 15 insertions(+), 24 deletions(-) diff --git a/eclass/bzr.eclass b/eclass/bzr.eclass index fc1de9dc9ccc..e76af5d41d57 100644 --- a/eclass/bzr.eclass +++ b/eclass/bzr.eclass @@ -1,4

[gentoo-dev] [PATCH v2 1/6] bzr.eclass: Reinstate eclass

2021-09-25 Thread Ulrich Müller
Taken from commit 320fcf034f5e860454e0d2a28ed405c5b843c60c. Signed-off-by: Ulrich Müller --- eclass/bzr.eclass | 289 ++ 1 file changed, 289 insertions(+) create mode 100644 eclass/bzr.eclass diff --git a/eclass/bzr.eclass b/eclass/bzr.eclass new

[gentoo-dev] [PATCH 2/2] bzr.eclass: Update for dev-vcs/breezy, support EAPIs 7 and 8

2021-09-25 Thread Ulrich Müller
Signed-off-by: Ulrich Müller --- eclass/bzr.eclass | 39 +++ 1 file changed, 15 insertions(+), 24 deletions(-) diff --git a/eclass/bzr.eclass b/eclass/bzr.eclass index fc1de9dc9ccc..e76af5d41d57 100644 --- a/eclass/bzr.eclass +++ b/eclass/bzr.eclass @@ -1,4

[gentoo-dev] [PATCH 1/2] bzr.eclass: Reinstate eclass

2021-09-25 Thread Ulrich Müller
Taken from commit 320fcf034f5e860454e0d2a28ed405c5b843c60c. Signed-off-by: Ulrich Müller --- eclass/bzr.eclass | 289 ++ 1 file changed, 289 insertions(+) create mode 100644 eclass/bzr.eclass diff --git a/eclass/bzr.eclass b/eclass/bzr.eclass new

[gentoo-portage-dev] [PATCH v2] eend: Output QA notice when called without argument

2021-09-04 Thread Ulrich Müller
PMS says about eend: "Takes one fixed argument, which is a numeric return code, and an optional message in all subsequent arguments." Bug: https://bugs.gentoo.org/703520 Signed-off-by: Ulrich Müller --- bin/isolated-functions.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/bi

[gentoo-portage-dev] [PATCH] eend: Output QA notice when called without argument

2021-09-03 Thread Ulrich Müller
PMS says about eend: "Takes one fixed argument, which is a numeric return code, and an optional message in all subsequent arguments." Bug: https://bugs.gentoo.org/703520 Signed-off-by: Ulrich Müller --- bin/isolated-functions.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/bi

[gentoo-dev] [PATCH 14/14] subversion.eclass: Move EXPORT_FUNCTIONS below inherit

2021-09-02 Thread Ulrich Müller
Signed-off-by: Ulrich Müller --- eclass/subversion.eclass | 21 + 1 file changed, 9 insertions(+), 12 deletions(-) diff --git a/eclass/subversion.eclass b/eclass/subversion.eclass index 6ed8a62dbe35..aa1a5c355877 100644 --- a/eclass/subversion.eclass +++ b/eclass

[gentoo-dev] [PATCH 13/14] rpm.eclass: Move EXPORT_FUNCTIONS below inherit

2021-09-02 Thread Ulrich Müller
Signed-off-by: Ulrich Müller --- eclass/rpm.eclass | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/eclass/rpm.eclass b/eclass/rpm.eclass index 77db8e808796..c97e23144c2b 100644 --- a/eclass/rpm.eclass +++ b/eclass/rpm.eclass @@ -14,8 +14,6 @@ case ${EAPI

[gentoo-dev] [PATCH 12/14] php-ext-source-r3.eclass: Move EXPORT_FUNCTIONS below inherit

2021-09-02 Thread Ulrich Müller
Signed-off-by: Ulrich Müller --- eclass/php-ext-source-r3.eclass | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/eclass/php-ext-source-r3.eclass b/eclass/php-ext-source-r3.eclass index a782081b72a7..556b51ecb0cf 100644 --- a/eclass/php-ext-source-r3.eclass +++ b/eclass

[gentoo-dev] [PATCH 11/14] php-ext-pecl-r3.eclass: Move EXPORT_FUNCTIONS below inherit

2021-09-02 Thread Ulrich Müller
Signed-off-by: Ulrich Müller --- eclass/php-ext-pecl-r3.eclass | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/eclass/php-ext-pecl-r3.eclass b/eclass/php-ext-pecl-r3.eclass index f3977b225aa4..ccb4bcfc83da 100644 --- a/eclass/php-ext-pecl-r3.eclass +++ b/eclass/php-ext

[gentoo-dev] [PATCH 10/14] mercurial.eclass: Move EXPORT_FUNCTIONS below inherit

2021-09-02 Thread Ulrich Müller
Signed-off-by: Ulrich Müller --- eclass/mercurial.eclass | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/eclass/mercurial.eclass b/eclass/mercurial.eclass index b62ecdf102a5..5d0ebf0d9e4f 100644 --- a/eclass/mercurial.eclass +++ b/eclass/mercurial.eclass @@ -20,8 +20,6

[gentoo-dev] [PATCH 09/14] linux-mod.eclass: Move EXPORT_FUNCTIONS below inherit

2021-09-02 Thread Ulrich Müller
Signed-off-by: Ulrich Müller --- eclass/linux-mod.eclass | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/eclass/linux-mod.eclass b/eclass/linux-mod.eclass index eda5e9aee013..4e56b609d025 100644 --- a/eclass/linux-mod.eclass +++ b/eclass/linux-mod.eclass @@ -153,8 +153,6

[gentoo-dev] [PATCH 08/14] kernel-2.eclass: Move EXPORT_FUNCTIONS below inherit

2021-09-02 Thread Ulrich Müller
Signed-off-by: Ulrich Müller --- eclass/kernel-2.eclass | 14 -- 1 file changed, 8 insertions(+), 6 deletions(-) diff --git a/eclass/kernel-2.eclass b/eclass/kernel-2.eclass index c2f1e93dca68..ef70e250c179 100644 --- a/eclass/kernel-2.eclass +++ b/eclass/kernel-2.eclass @@ -199,12

[gentoo-dev] [PATCH 07/14] java-virtuals.eclass: Move EXPORT_FUNCTIONS below inherit

2021-09-02 Thread Ulrich Müller
Signed-off-by: Ulrich Müller --- eclass/java-virtuals-2.eclass | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/eclass/java-virtuals-2.eclass b/eclass/java-virtuals-2.eclass index 27ed9157da5b..dedbf2f26195 100644 --- a/eclass/java-virtuals-2.eclass +++ b/eclass/java

[gentoo-dev] [PATCH 06/14] java-pkg-simple.eclass: Move EXPORT_FUNCTIONS below inherit

2021-09-02 Thread Ulrich Müller
Signed-off-by: Ulrich Müller --- eclass/java-pkg-simple.eclass | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/eclass/java-pkg-simple.eclass b/eclass/java-pkg-simple.eclass index 184934eb3bd3..fc006ff2fcc4 100644 --- a/eclass/java-pkg-simple.eclass +++ b/eclass/java-pkg

[gentoo-dev] [PATCH 05/14] java-pkg-opt-2.eclass: Move EXPORT_FUNCTIONS below inherit

2021-09-02 Thread Ulrich Müller
Signed-off-by: Ulrich Müller --- eclass/java-pkg-opt-2.eclass | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/eclass/java-pkg-opt-2.eclass b/eclass/java-pkg-opt-2.eclass index 7f1f5a2f8394..f86609ad4710 100644 --- a/eclass/java-pkg-opt-2.eclass +++ b/eclass/java-pkg-opt-2

[gentoo-dev] [PATCH 04/14] java-pkg-2.eclass: Move EXPORT_FUNCTIONS below inherit

2021-09-02 Thread Ulrich Müller
Signed-off-by: Ulrich Müller --- eclass/java-pkg-2.eclass | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/eclass/java-pkg-2.eclass b/eclass/java-pkg-2.eclass index 4d5cb7665728..11f508cf349f 100644 --- a/eclass/java-pkg-2.eclass +++ b/eclass/java-pkg-2.eclass @@ -17,8

[gentoo-dev] [PATCH 03/14] gnustep-base.eclass: Move EXPORT_FUNCTIONS below inherit

2021-09-02 Thread Ulrich Müller
Signed-off-by: Ulrich Müller --- eclass/gnustep-base.eclass | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/eclass/gnustep-base.eclass b/eclass/gnustep-base.eclass index fb4a48b734cd..3a76939e60ff 100644 --- a/eclass/gnustep-base.eclass +++ b/eclass/gnustep-base.eclass

[gentoo-dev] [PATCH 02/14] emboss-r2.eclass: Move EXPORT_FUNCTIONS below inherit

2021-09-02 Thread Ulrich Müller
Signed-off-by: Ulrich Müller --- eclass/emboss-r2.eclass | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/eclass/emboss-r2.eclass b/eclass/emboss-r2.eclass index 680b7b7e4d61..bcab338ad614 100644 --- a/eclass/emboss-r2.eclass +++ b/eclass/emboss-r2.eclass @@ -40,8 +40,6

[gentoo-dev] [PATCH 01/14] apache-module.eclass: Move EXPORT_FUNCTIONS below inherit

2021-09-02 Thread Ulrich Müller
Signed-off-by: Ulrich Müller --- eclass/apache-module.eclass | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/eclass/apache-module.eclass b/eclass/apache-module.eclass index 2594445c8b4f..60631171ed91 100644 --- a/eclass/apache-module.eclass +++ b/eclass/apache

[gentoo-dev] [PATCH] common-lisp-3.eclass: Move EXPORT_FUNCTIONS below inherit

2021-08-31 Thread Ulrich Müller
Signed-off-by: Ulrich Müller --- eclass/common-lisp-3.eclass | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/eclass/common-lisp-3.eclass b/eclass/common-lisp-3.eclass index 0f47b3c094d1..91752dcacc9b 100644 --- a/eclass/common-lisp-3.eclass +++ b/eclass/common-lisp-3

[gentoo-portage-dev] [PATCH v2 2/2] ebuild.sh: Update QA notice in inherit()

2021-08-30 Thread Ulrich Müller
Bug: https://bugs.gentoo.org/399039 Signed-off-by: Ulrich Müller --- bin/ebuild.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/bin/ebuild.sh b/bin/ebuild.sh index 1bca2c965..3042e6c8c 100755 --- a/bin/ebuild.sh +++ b/bin/ebuild.sh @@ -248,8 +248,8 @@ inherit

[gentoo-portage-dev] [PATCH v2 1/2] Revert "Revert "Generate a QA Notice when EXPORT_FUNCTIONS is called before inherit""

2021-08-30 Thread Ulrich Müller
Reinstate the QA notice, because Portage behavior deviates from PMS, and breakage of eclasses with Pkgcore has been observed recently. This reverts commit f44d32550861cb25c209ef61dcd7ae1aa230da1f. Bug: https://bugs.gentoo.org/399039 Signed-off-by: Ulrich Müller --- bin/ebuild.sh | 8

[gentoo-portage-dev] [PATCH 2/2] ebuild.sh: Update QA notice in inherit()

2021-08-29 Thread Ulrich Müller
Bug: https://bugs.gentoo.org/399039 Signed-off-by: Ulrich Müller --- bin/ebuild.sh | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/bin/ebuild.sh b/bin/ebuild.sh index 1bca2c965..f5f3d9eec 100755 --- a/bin/ebuild.sh +++ b/bin/ebuild.sh @@ -248,8 +248,7 @@ inherit

[gentoo-portage-dev] [PATCH 1/2] Revert "Revert "Generate a QA Notice when EXPORT_FUNCTIONS is called before inherit""

2021-08-29 Thread Ulrich Müller
Reinstate the QA notice, because Portage behavior deviates from PMS, and breakage of eclasses with Pkgcore has been observed recently. This reverts commit f44d32550861cb25c209ef61dcd7ae1aa230da1f. Bug: https://bugs.gentoo.org/399039 Signed-off-by: Ulrich Müller --- bin/ebuild.sh | 8

Re: [gentoo-dev] [PATCH v2 1/2] kernel-2.eclass: Replace bit-shift arithmetic by ver_test

2021-08-27 Thread Ulrich Müller
> + ver_test \ > + "${KV_MAJOR:-0}.${KV_MINOR:-0}.${KV_PATCH:-0}" \ > + "${operator}" \ > + "${1:-${KV_MAJOR:-0}}.${2:-${KV_MINOR:-0}}.${3:-${KV_PATCH:-0}}" I've added fallbacks to 0, because it turns out that these components can be empty. There may also

[gentoo-dev] [PATCH v2 2/2] linux-info.eclass: Replace bit-shift arithmetic by ver_test

2021-08-27 Thread Ulrich Müller
There are kernel versions like 4.9.280, therefore shifting version components by 8 bits in kernel_is() may fail. Signed-off-by: Ulrich Müller --- v2: Protect against empty KV_{MAJOR,MINOR,PATCH} eclass/linux-info.eclass | 9 + 1 file changed, 5 insertions(+), 4 deletions(-) diff --git

[gentoo-dev] [PATCH v2 1/2] kernel-2.eclass: Replace bit-shift arithmetic by ver_test

2021-08-27 Thread Ulrich Müller
There are kernel versions like 4.9.280, therefore shifting version components by 8 bits in kernel_is() may fail. Signed-off-by: Ulrich Müller --- v2: Protect against empty KV_{MAJOR,MINOR,PATCH} eclass/kernel-2.eclass | 9 + 1 file changed, 5 insertions(+), 4 deletions(-) diff --git

  1   2   3   >