net-misc/rsync: Sync with Gentoo

It's from Gentoo commit e17a78ccb683fb9e30248bd72cca2d03bb29fc3b.
This commit is contained in:
Flatcar Buildbot 2024-07-01 07:17:36 +00:00 committed by Mathieu Tortuyaux
parent 9e55f30dd4
commit 8b3d97939d
No known key found for this signature in database
GPG Key ID: AC5CCFB52545D9B8
3 changed files with 11 additions and 5 deletions

View File

@ -93,6 +93,8 @@ pkg_setup() {
src_prepare() { src_prepare() {
default default
sed -i -e 's/AC_HEADER_MAJOR_FIXED/AC_HEADER_MAJOR/' configure.ac
if [[ ${PV} == *9999 || -n ${RSYNC_NEEDS_AUTOCONF} ]] ; then if [[ ${PV} == *9999 || -n ${RSYNC_NEEDS_AUTOCONF} ]] ; then
eaclocal -I m4 eaclocal -I m4
eautoconf -o configure.sh eautoconf -o configure.sh

View File

@ -4,8 +4,8 @@
EAPI=8 EAPI=8
# Uncomment when introducing a patch which touches configure # Uncomment when introducing a patch which touches configure
#RSYNC_NEEDS_AUTOCONF=1 RSYNC_NEEDS_AUTOCONF=1
PYTHON_COMPAT=( python3_{10..11} ) PYTHON_COMPAT=( python3_{10..12} )
inherit flag-o-matic prefix python-single-r1 systemd inherit flag-o-matic prefix python-single-r1 systemd
DESCRIPTION="File transfer program to keep remote files into sync" DESCRIPTION="File transfer program to keep remote files into sync"
@ -27,7 +27,7 @@ else
SRC_DIR="src-previews" SRC_DIR="src-previews"
else else
SRC_DIR="src" SRC_DIR="src"
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~arm64-macos ~ppc-macos ~x64-macos ~x64-solaris" KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux ~arm64-macos ~ppc-macos ~x64-macos ~x64-solaris"
fi fi
SRC_URI="https://rsync.samba.org/ftp/rsync/${SRC_DIR}/${P/_/}.tar.gz SRC_URI="https://rsync.samba.org/ftp/rsync/${SRC_DIR}/${P/_/}.tar.gz
@ -87,6 +87,8 @@ pkg_setup() {
src_prepare() { src_prepare() {
default default
sed -i -e 's/AC_HEADER_MAJOR_FIXED/AC_HEADER_MAJOR/' configure.ac
if [[ ${PV} == *9999 || -n ${RSYNC_NEEDS_AUTOCONF} ]] ; then if [[ ${PV} == *9999 || -n ${RSYNC_NEEDS_AUTOCONF} ]] ; then
eaclocal -I m4 eaclocal -I m4
eautoconf -o configure.sh eautoconf -o configure.sh

View File

@ -4,8 +4,8 @@
EAPI=8 EAPI=8
# Uncomment when introducing a patch which touches configure # Uncomment when introducing a patch which touches configure
#RSYNC_NEEDS_AUTOCONF=1 RSYNC_NEEDS_AUTOCONF=1
PYTHON_COMPAT=( python3_{10..11} ) PYTHON_COMPAT=( python3_{10..12} )
inherit flag-o-matic prefix python-single-r1 systemd inherit flag-o-matic prefix python-single-r1 systemd
DESCRIPTION="File transfer program to keep remote files into sync" DESCRIPTION="File transfer program to keep remote files into sync"
@ -87,6 +87,8 @@ pkg_setup() {
src_prepare() { src_prepare() {
default default
sed -i -e 's/AC_HEADER_MAJOR_FIXED/AC_HEADER_MAJOR/' configure.ac
if [[ ${PV} == *9999 || -n ${RSYNC_NEEDS_AUTOCONF} ]] ; then if [[ ${PV} == *9999 || -n ${RSYNC_NEEDS_AUTOCONF} ]] ; then
eaclocal -I m4 eaclocal -I m4
eautoconf -o configure.sh eautoconf -o configure.sh