mirror of
https://github.com/flatcar/scripts.git
synced 2025-08-19 13:31:28 +02:00
net-misc/rsync: Sync with Gentoo
It's from Gentoo commit e17a78ccb683fb9e30248bd72cca2d03bb29fc3b.
This commit is contained in:
parent
9e55f30dd4
commit
8b3d97939d
@ -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
|
||||||
|
@ -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
|
||||||
|
@ -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
|
||||||
|
Loading…
x
Reference in New Issue
Block a user