1 |
commit: 21fb3631d32d7ea64dc85d1d09bb167142acd413 |
2 |
Author: Jonathan Davies <jpds <AT> protonmail <DOT> com> |
3 |
AuthorDate: Tue Mar 29 21:48:01 2022 +0000 |
4 |
Commit: Sam James <sam <AT> gentoo <DOT> org> |
5 |
CommitDate: Wed Mar 30 23:24:35 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=21fb3631 |
7 |
|
8 |
net-misc/rsync: Added verify-sig integration. |
9 |
|
10 |
Signed-off-by: Jonathan Davies <jpds <AT> protonmail.com> |
11 |
Closes: https://github.com/gentoo/gentoo/pull/24810 |
12 |
Signed-off-by: Sam James <sam <AT> gentoo.org> |
13 |
|
14 |
net-misc/rsync/Manifest | 1 + |
15 |
net-misc/rsync/rsync-3.2.3-r5.ebuild | 9 ++++++--- |
16 |
2 files changed, 7 insertions(+), 3 deletions(-) |
17 |
|
18 |
diff --git a/net-misc/rsync/Manifest b/net-misc/rsync/Manifest |
19 |
index c1ee190e0be4..c274f49f3aef 100644 |
20 |
--- a/net-misc/rsync/Manifest |
21 |
+++ b/net-misc/rsync/Manifest |
22 |
@@ -1 +1,2 @@ |
23 |
DIST rsync-3.2.3.tar.gz 1069784 BLAKE2B 085adb55d0d7e3d063fa198912fd09df67b63800a65baff5315ccb7dfc0e9d703eef30a7f2e72e3b271162c280abd9809b3f736704752c1663eed65ad8e0ac25 SHA512 48b68491f3ef644dbbbfcaec5ab90a1028593e02d50367ce161fd9d3d0bd0a3628bc57c5e5dec4be3a1d213f784f879b8a8fcdfd789ba0f99837cba16e1ae70e |
24 |
+DIST rsync-3.2.3.tar.gz.asc 195 BLAKE2B cc18dd2589c09f869e35ecaf94a610e5b605dcb10ceaf01e6c0eb2667666a9a73feb7dcb2325638686c772f91a74d6d1f15ea33fdb6a38e89640f32a8cd0e04a SHA512 b7e512d8bb0aaff7c48571b918a7b0362942c65ef2a0aa076574ec86c05822dc5df41f8796fdf62b762b12d166a671c9e979f9962357b89e3649459c4567525b |
25 |
|
26 |
diff --git a/net-misc/rsync/rsync-3.2.3-r5.ebuild b/net-misc/rsync/rsync-3.2.3-r5.ebuild |
27 |
index 7f996c540050..4e060aaa03bc 100644 |
28 |
--- a/net-misc/rsync/rsync-3.2.3-r5.ebuild |
29 |
+++ b/net-misc/rsync/rsync-3.2.3-r5.ebuild |
30 |
@@ -1,4 +1,4 @@ |
31 |
-# Copyright 1999-2021 Gentoo Authors |
32 |
+# Copyright 1999-2022 Gentoo Authors |
33 |
# Distributed under the terms of the GNU General Public License v2 |
34 |
|
35 |
EAPI=7 |
36 |
@@ -9,14 +9,16 @@ if [[ ${PV} != 3.2.3 ]]; then |
37 |
fi |
38 |
|
39 |
WANT_LIBTOOL=none |
40 |
+VERIFY_SIG_OPENPGP_KEY_PATH="${BROOT}"/usr/share/openpgp-keys/waynedavison.asc |
41 |
|
42 |
-inherit autotools flag-o-matic prefix systemd |
43 |
+inherit autotools flag-o-matic prefix systemd verify-sig |
44 |
|
45 |
DESCRIPTION="File transfer program to keep remote files into sync" |
46 |
HOMEPAGE="https://rsync.samba.org/" |
47 |
SRC_DIR="src" |
48 |
KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~x64-cygwin ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" |
49 |
-SRC_URI="https://rsync.samba.org/ftp/rsync/${SRC_DIR}/${P/_/}.tar.gz" |
50 |
+SRC_URI="https://rsync.samba.org/ftp/rsync/${SRC_DIR}/${P/_/}.tar.gz |
51 |
+ verify-sig? ( https://rsync.samba.org/ftp/rsync/${SRC_DIR}/${P/_/}.tar.gz.asc )" |
52 |
S="${WORKDIR}/${P/_/}" |
53 |
|
54 |
LICENSE="GPL-3" |
55 |
@@ -33,6 +35,7 @@ RDEPEND="acl? ( virtual/acl ) |
56 |
>=dev-libs/popt-1.5 |
57 |
iconv? ( virtual/libiconv )" |
58 |
DEPEND="${RDEPEND}" |
59 |
+BDEPEND="verify-sig? ( sec-keys/openpgp-keys-waynedavison )" |
60 |
|
61 |
src_prepare() { |
62 |
local PATCHES=( |