Files
bpfire/lfs/rsync
Adolf Belka c7235a2c63 rsync: Update to version 3.3.0
- Update from version 3.2.7 to 3.3.0
- Update of rootfile not required
- Changelog
    3.3.0
	### BUG FIXES:
		- Fixed a bug with `--sparse --inplace` where a trailing gap in the source
		  file would not clear out the trailing data in the destination file.
		- Fixed an buffer overflow in the checksum2 code if SHA1 is being used for
		  the checksum2 algorithm.
		- Fixed an issue when rsync is compiled using `_FORTIFY_SOURCE` so that the
		  extra tests don't complain about a strlcpy() limit value (which was too
		  large, even though it wasn't possible for the larger value to cause an
		  overflow).
		- Add a backtick to the list of characters that the filename quoting needs
		  to escape using backslashes.
		- Fixed a string-comparison issue in the internal handling of `--progress`
		  (a locale such as tr_TR.utf-8 needed the internal triggering of `--info`
		  options to use upper-case flag names to ensure that they match).
		- Make sure that a local transfer marks the sender side as trusted.
		- Change the argv handling to work with a newer popt library -- one that
		  likes to free more data than it used to.
		- Rsync now calls `OpenSSL_add_all_algorithms()` when compiled against an
		  older openssl library.
		- Fixed a problem in the daemon auth for older protocols (29 and before)
		  if the openssl library is being used to compute MD4 checksums.
		- Fixed `rsync -VV` on Cygwin -- it needed a flush of stdout.
		- Fixed an old stats bug that counted devices as symlinks.
	### ENHANCEMENTS:
		- Enhanced rrsync with the `-no-overwrite` option that allows you to ensure
		  that existing files on your restricted but writable directory can't be
		  modified.
		- Enhanced the manpages to mark links with .UR & .UE. If your nroff doesn't
		  support these idioms, touch the file `.md2man-force` in the source
		  directory so that `md-convert` gets called with the `--force-link-text`
		  option, and that should ensure that your manpages are still readable
		  even with the ignored markup.
		- Some manpage improvements on the handling of [global] modules.
		- Changed the mapfrom & mapto perl scripts (in the support dir) into a
		  single python script named idmap.  Converted a couple more perl scripts
		  into python.
		- Changed the mnt-excl perl script (in the support dir) into a python
		  script.
	### DEVELOPER RELATED:
		 - Updated config.guess (timestamp 2023-01-01) and config.sub (timestamp
		   2023-01-21).

Signed-off-by: Adolf Belka <adolf.belka@ipfire.org>
Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
2024-06-04 15:04:50 +02:00

99 lines
3.5 KiB
Plaintext

###############################################################################
# #
# IPFire.org - A linux based firewall #
# Copyright (C) 2007-2024 IPFire Team <info@ipfire.org> #
# #
# This program is free software: you can redistribute it and/or modify #
# it under the terms of the GNU General Public License as published by #
# the Free Software Foundation, either version 3 of the License, or #
# (at your option) any later version. #
# #
# This program is distributed in the hope that it will be useful, #
# but WITHOUT ANY WARRANTY; without even the implied warranty of #
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the #
# GNU General Public License for more details. #
# #
# You should have received a copy of the GNU General Public License #
# along with this program. If not, see <http://www.gnu.org/licenses/>. #
# #
###############################################################################
###############################################################################
# Definitions
###############################################################################
include Config
SUMMARY = Versatile tool for fast incremental file transfer
VER = 3.3.0
THISAPP = rsync-$(VER)
DL_FILE = $(THISAPP).tar.gz
DL_FROM = $(URL_IPFIRE)
DIR_APP = $(DIR_SRC)/$(THISAPP)
TARGET = $(DIR_INFO)/$(THISAPP)
PROG = rsync
PAK_VER = 19
DEPS =
SERVICES =
###############################################################################
# Top-level Rules
###############################################################################
objects = $(DL_FILE)
$(DL_FILE) = $(DL_FROM)/$(DL_FILE)
$(DL_FILE)_BLAKE2 = 75a3cc50452086aebd16f42d7a309c173cbc1ea156227afb10d2106d0b9043e973676995b8199d22840775ae3df8db97d1c0de5f3aa58afa130c5b1348c3f825
install : $(TARGET)
check : $(patsubst %,$(DIR_CHK)/%,$(objects))
download :$(patsubst %,$(DIR_DL)/%,$(objects))
b2 : $(subst %,%_BLAKE2,$(objects))
dist:
@$(PAK)
###############################################################################
# Downloading, checking, b2sum
###############################################################################
$(patsubst %,$(DIR_CHK)/%,$(objects)) :
@$(CHECK)
$(patsubst %,$(DIR_DL)/%,$(objects)) :
@$(LOAD)
$(subst %,%_BLAKE2,$(objects)) :
@$(B2SUM)
###############################################################################
# Installation Details
###############################################################################
$(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects))
@$(PREBUILD)
@rm -rf $(DIR_APP) && cd $(DIR_SRC) && tar zxf $(DIR_DL)/$(DL_FILE)
# Replace shebang in rsync-ssl
cd $(DIR_APP) && sed -i -e "s@^#!.*@#!/bin/bash@" rsync-ssl
cd $(DIR_APP) && ./configure \
--prefix=/usr \
--without-included-popt \
--without-included-zlib \
--disable-xxhash
cd $(DIR_APP) && make $(MAKETUNING) $(EXTRA_MAKE)
cd $(DIR_APP) && make install
@rm -rf $(DIR_APP)
@$(POSTBUILD)