Сравнение rsync-3.4.3 с rsync-9999

/usr/portage/net-misc/rsync/rsync-9999.ebuild 2026-06-11 19:17:05.691133953 +0300
5 5

  
6 6
# Uncomment when introducing a patch which touches configure
7 7
RSYNC_NEEDS_AUTOCONF=1
8
PYTHON_COMPAT=( python3_{11..14} )
9
inherit flag-o-matic prefix python-single-r1 systemd
8
PYTHON_COMPAT=( python3_{12..14} )
9
inherit prefix python-single-r1 systemd
10 10

  
11 11
DESCRIPTION="File transfer program to keep remote files into sync"
12 12
HOMEPAGE="https://rsync.samba.org/"
13 13
if [[ ${PV} == *9999 ]] ; then
14
	EGIT_REPO_URI="https://github.com/WayneD/rsync.git"
14
	EGIT_REPO_URI="https://github.com/RsyncProject/rsync.git"
15 15
	inherit autotools git-r3
16 16

  
17 17
	REQUIRED_USE="${PYTHON_REQUIRED_USE}"
......
27 27
		SRC_DIR="src-previews"
28 28
	else
29 29
		SRC_DIR="src"
30
		KEYWORDS="~alpha amd64 arm arm64 ~hppa ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 ~sparc x86 ~arm64-macos ~x64-macos ~x64-solaris"
30
		KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~arm64-macos ~x64-macos ~x64-solaris"
31 31
	fi
32 32

  
33 33
	SRC_URI="https://rsync.samba.org/ftp/rsync/${SRC_DIR}/${P/_/}.tar.gz
......
37 37

  
38 38
LICENSE="GPL-3"
39 39
SLOT="0"
40
IUSE="acl examples iconv lz4 rrsync ssl stunnel system-zlib xattr +xxhash zstd"
41
REQUIRED_USE+=" examples? ( ${PYTHON_REQUIRED_USE} )"
42
REQUIRED_USE+=" rrsync? ( ${PYTHON_REQUIRED_USE} )"
40
IUSE="acl examples iconv lz4 rrsync ssl stunnel system-zlib test xattr +xxhash zstd"
41
RESTRICT="!test? ( test )"
42
REQUIRED_USE+="
43
	examples? ( ${PYTHON_REQUIRED_USE} )
44
	rrsync? ( ${PYTHON_REQUIRED_USE} )
45
"
43 46

  
44 47
RDEPEND="
45 48
	>=dev-libs/popt-1.19
......
64 67
BDEPEND="
65 68
	examples? ( ${PYTHON_DEPS} )
66 69
	rrsync? ( ${PYTHON_DEPS} )
70
	test? ( ${PYTHON_DEPS} )
67 71
"
68 72

  
69 73
if [[ ${PV} == *9999 ]] ; then
70
	BDEPEND+=" ${PYTHON_DEPS}
74
	BDEPEND+="
75
		${PYTHON_DEPS}
71 76
		$(python_gen_cond_dep '
72 77
			dev-python/commonmark[${PYTHON_USEDEP}]
73
		')"
78
		')
79
	"
74 80
else
75 81
	BDEPEND+=" verify-sig? ( sec-keys/openpgp-keys-andrewtridgell )"
76 82
fi
......
78 84
pkg_setup() {
79 85
	# - USE=examples needs Python itself at runtime, but nothing else
80 86
	# - 9999 needs commonmark at build time
81
	if [[ ${PV} == *9999 ]] || use examples || use rrsync; then
87
	if [[ ${PV} == *9999 ]] || use examples || use rrsync || use test ; then
82 88
		python-single-r1_pkg_setup
83 89
	fi
84 90
}
......
122 128
		$(use_enable zstd)
123 129
	)
124 130

  
125
	# https://github.com/WayneD/rsync/pull/428
126
	if is-flagq -fsanitize=undefined ; then
127
		sed -E -i \
128
			-e 's:#define CAREFUL_ALIGNMENT (0|1):#define CAREFUL_ALIGNMENT 1:' \
129
			byteorder.h || die
130
		append-flags -DCAREFUL_ALIGNMENT
131
	fi
132

  
133 131
	econf "${myeconfargs[@]}"
134 132
}
135 133

  
Спасибо!