Diff rsync-3.3.0-r2 with a rsync-9999
/usr/portage/net-misc/rsync/rsync-9999.ebuild 2024-12-25 14:59:51.267270145 +0300 | ||
---|---|---|
1 |
# Copyright 1999-2025 Gentoo Authors |
|
1 |
# Copyright 1999-2024 Gentoo Authors |
|
2 | 2 |
# Distributed under the terms of the GNU General Public License v2 |
3 | 3 | |
4 | 4 |
EAPI=8 |
... | ... | |
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 ~amd64-linux ~x86-linux ~arm64-macos ~ppc-macos ~x64-macos ~x64-solaris" |
|
30 |
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~arm64-macos ~ppc-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 |
... | ... | |
76 | 76 |
BDEPEND+=" verify-sig? ( sec-keys/openpgp-keys-waynedavison )" |
77 | 77 |
fi |
78 | 78 | |
79 |
PATCHES=( |
|
80 |
# Temporary just for the bug #948106 CVE fixes |
|
81 |
"${FILESDIR}"/3.3.0 |
|
82 |
) |
|
83 | ||
84 | 79 |
pkg_setup() { |
85 | 80 |
# - USE=examples needs Python itself at runtime, but nothing else |
86 | 81 |
# - 9999 needs commonmark at build time |
... | ... | |
113 | 108 |
} |
114 | 109 | |
115 | 110 |
src_configure() { |
116 |
# Should be fixed upstream in next release (>3.3.0) (bug #943745) |
|
117 |
append-cflags $(test-flags-CC -std=gnu17) |
|
118 | ||
119 | 111 |
local myeconfargs=( |
120 | 112 |
--with-rsyncd-conf="${EPREFIX}"/etc/rsyncd.conf |
121 | 113 |
--without-included-popt |
... | ... | |
151 | 143 |
dodoc NEWS.md README.md TODO tech_report.tex |
152 | 144 | |
153 | 145 |
insinto /etc |
154 |
newins "${FILESDIR}"/rsyncd.conf-3.2.7-r5 rsyncd.conf |
|
146 |
newins "${FILESDIR}"/rsyncd.conf-3.0.9-r1 rsyncd.conf |
|
155 | 147 | |
156 | 148 |
insinto /etc/logrotate.d |
157 | 149 |
newins "${FILESDIR}"/rsyncd.logrotate rsyncd |