Gentoo Archives: gentoo-commits

From: Sam James <sam@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: net-misc/chrony/
Date: Thu, 22 Apr 2021 22:32:20
Message-Id: 1619130730.a34110a123fefaae13804ea02f4c5cc036877d43.sam@gentoo
1 commit: a34110a123fefaae13804ea02f4c5cc036877d43
2 Author: Sam James <sam <AT> gentoo <DOT> org>
3 AuthorDate: Thu Apr 22 22:31:36 2021 +0000
4 Commit: Sam James <sam <AT> gentoo <DOT> org>
5 CommitDate: Thu Apr 22 22:32:10 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a34110a1
7
8 net-misc/chrony: formatting change
9
10 Signed-off-by: Sam James <sam <AT> gentoo.org>
11
12 net-misc/chrony/chrony-4.1_pre1.ebuild | 3 ++-
13 net-misc/chrony/chrony-9999.ebuild | 3 ++-
14 2 files changed, 4 insertions(+), 2 deletions(-)
15
16 diff --git a/net-misc/chrony/chrony-4.1_pre1.ebuild b/net-misc/chrony/chrony-4.1_pre1.ebuild
17 index 91a9a012460..eb58830becb 100644
18 --- a/net-misc/chrony/chrony-4.1_pre1.ebuild
19 +++ b/net-misc/chrony/chrony-4.1_pre1.ebuild
20 @@ -195,6 +195,8 @@ pkg_preinst() {
21 HAD_CAPS=false
22 HAD_SECCOMP=false
23
24 + # See https://dev.gentoo.org/~zmedico/portage/doc/portage.html#package-ebuild-phases-after-2.1.5
25 + # in "Ebuild Phases" for an explanation of why we need to save the variable beforehand
26 if has_version 'net-misc/chrony[caps]' ; then
27 HAD_CAPS=true
28 fi
29 @@ -202,7 +204,6 @@ pkg_preinst() {
30 if has_version 'net-misc/chrony[seccomp]' ; then
31 HAD_SECCOMP=true
32 fi
33 -
34 }
35
36 pkg_postinst() {
37
38 diff --git a/net-misc/chrony/chrony-9999.ebuild b/net-misc/chrony/chrony-9999.ebuild
39 index 91a9a012460..eb58830becb 100644
40 --- a/net-misc/chrony/chrony-9999.ebuild
41 +++ b/net-misc/chrony/chrony-9999.ebuild
42 @@ -195,6 +195,8 @@ pkg_preinst() {
43 HAD_CAPS=false
44 HAD_SECCOMP=false
45
46 + # See https://dev.gentoo.org/~zmedico/portage/doc/portage.html#package-ebuild-phases-after-2.1.5
47 + # in "Ebuild Phases" for an explanation of why we need to save the variable beforehand
48 if has_version 'net-misc/chrony[caps]' ; then
49 HAD_CAPS=true
50 fi
51 @@ -202,7 +204,6 @@ pkg_preinst() {
52 if has_version 'net-misc/chrony[seccomp]' ; then
53 HAD_SECCOMP=true
54 fi
55 -
56 }
57
58 pkg_postinst() {