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: Fri, 16 Apr 2021 04:47:38
Message-Id: 1618547754.ac62b1c71d20d87fcaa1649f3cd4019c5843096c.sam@gentoo
1 commit: ac62b1c71d20d87fcaa1649f3cd4019c5843096c
2 Author: Sam James <sam <AT> gentoo <DOT> org>
3 AuthorDate: Fri Apr 16 04:19:58 2021 +0000
4 Commit: Sam James <sam <AT> gentoo <DOT> org>
5 CommitDate: Fri Apr 16 04:35:54 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ac62b1c7
7
8 net-misc/chrony: add verify-sig support
9
10 Signed-off-by: Sam James <sam <AT> gentoo.org>
11
12 net-misc/chrony/Manifest | 1 +
13 net-misc/chrony/chrony-4.0-r1.ebuild | 9 +++++++--
14 net-misc/chrony/chrony-9999.ebuild | 11 ++++++++---
15 3 files changed, 16 insertions(+), 5 deletions(-)
16
17 diff --git a/net-misc/chrony/Manifest b/net-misc/chrony/Manifest
18 index d338cb37157..d699aaf1a3e 100644
19 --- a/net-misc/chrony/Manifest
20 +++ b/net-misc/chrony/Manifest
21 @@ -1 +1,2 @@
22 DIST chrony-4.0.tar.gz 546939 BLAKE2B 1d4035977be3603b34024c5c1c2aa5f2b4aca03fe7dc1eb41be2e9aeefa06e20a5f74776c50bdadaffba10ae25e7980bcbd9cf2b999bd73087728afe7a80253e SHA512 a1c11a386c43f495910f7f2e9b5fbb1652c3631471d182b9b8203dfef98611d11535ad547a879856551263aed0ae2e30e4135b8ed89553684706166bc1c725c9
23 +DIST chrony-4.0.tar.gz.asc 195 BLAKE2B 1947a73f35eb5c58f91775d76473210a7b5edff5b808e360eb0c3724351c54ac4f187a2aa4450830130da718c6a0c488baa170ca87e7e6eac781d85c67b3773f SHA512 c3156d91f4fdb6f9e2fdbc83b1399afb0ecdfa9b7bc92648c5bce477c3f0f921d2a13aa21ac6c281f18b008c60f08e3db6d82b642b646f064aea1dbe19295c4c
24
25 diff --git a/net-misc/chrony/chrony-4.0-r1.ebuild b/net-misc/chrony/chrony-4.0-r1.ebuild
26 index 838d655513e..fd4a9fc6eb4 100644
27 --- a/net-misc/chrony/chrony-4.0-r1.ebuild
28 +++ b/net-misc/chrony/chrony-4.0-r1.ebuild
29 @@ -3,7 +3,8 @@
30
31 EAPI=7
32
33 -inherit systemd tmpfiles toolchain-funcs
34 +VERIFY_SIG_OPENPGP_KEY_PATH=/usr/share/openpgp-keys/mlichvar.asc
35 +inherit systemd tmpfiles toolchain-funcs verify-sig
36
37 DESCRIPTION="NTP client and server programs"
38 HOMEPAGE="https://chrony.tuxfamily.org/ https://git.tuxfamily.org/chrony/chrony.git"
39 @@ -13,6 +14,7 @@ if [[ ${PV} == "9999" ]]; then
40 EGIT_REPO_URI="https://git.tuxfamily.org/chrony/chrony.git"
41 else
42 SRC_URI="https://download.tuxfamily.org/${PN}/${P/_/-}.tar.gz"
43 + SRC_URI+=" verify-sig? ( https://download.tuxfamily.org/chrony/${P}-tar-gz-asc.txt -> ${P}.tar.gz.asc )"
44 KEYWORDS="~alpha amd64 arm arm64 ~hppa ~mips ppc ppc64 sparc x86"
45 fi
46
47 @@ -33,7 +35,10 @@ REQUIRED_USE="
48 "
49 RESTRICT="test"
50
51 -BDEPEND="nettle? ( virtual/pkgconfig )"
52 +BDEPEND="
53 + nettle? ( virtual/pkgconfig )
54 + verify-sig? ( app-crypt/openpgp-keys-mlichvar )
55 +"
56
57 if [[ ${PV} == "9999" ]]; then
58 # Needed for doc generation in 9999
59
60 diff --git a/net-misc/chrony/chrony-9999.ebuild b/net-misc/chrony/chrony-9999.ebuild
61 index 7e6fadddffa..0b13721b537 100644
62 --- a/net-misc/chrony/chrony-9999.ebuild
63 +++ b/net-misc/chrony/chrony-9999.ebuild
64 @@ -3,7 +3,8 @@
65
66 EAPI=7
67
68 -inherit systemd tmpfiles toolchain-funcs
69 +VERIFY_SIG_OPENPGP_KEY_PATH=/usr/share/openpgp-keys/mlichvar.asc
70 +inherit systemd tmpfiles toolchain-funcs verify-sig
71
72 DESCRIPTION="NTP client and server programs"
73 HOMEPAGE="https://chrony.tuxfamily.org/ https://git.tuxfamily.org/chrony/chrony.git"
74 @@ -13,7 +14,8 @@ if [[ ${PV} == "9999" ]]; then
75 EGIT_REPO_URI="https://git.tuxfamily.org/chrony/chrony.git"
76 else
77 SRC_URI="https://download.tuxfamily.org/${PN}/${P/_/-}.tar.gz"
78 - KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~sparc ~x86"
79 + SRC_URI+=" verify-sig? ( https://download.tuxfamily.org/chrony/${P}-tar-gz-asc.txt -> ${P}.tar.gz.asc )"
80 + KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~mips ~ppc ~ppc64 ~sparc ~x86"
81 fi
82
83 S="${WORKDIR}/${P/_/-}"
84 @@ -33,7 +35,10 @@ REQUIRED_USE="
85 "
86 RESTRICT="test"
87
88 -BDEPEND="nettle? ( virtual/pkgconfig )"
89 +BDEPEND="
90 + nettle? ( virtual/pkgconfig )
91 + verify-sig? ( app-crypt/openpgp-keys-mlichvar )
92 +"
93
94 if [[ ${PV} == "9999" ]]; then
95 # Needed for doc generation in 9999