Commit Graph

108 Commits

Author SHA1 Message Date
namn
dd1e1ba109 update net/rsync 3.2.4
NEWS: https://download.samba.org/pub/rsync/NEWS#3.2.4

originally from tj@ with tweaks by me:
- --with-nobody-user=_rsync
- remove compat.c (fixed)
- remove configure.sh (use --with-nobody-user=_rsync instead)
- remove receiver.c (upstreamed)
- rrsync patch: churn and moves from perl to python3
- --with-rrsync and brings in python as BUILD_DEPENDS (not RUN_DEPENDS)
    and textproc/py-commonmark, needed to run
    ${WRKSRC}/md-convert. md-convert converts rsync.1.md --> rsync.1, so
    remove patches for man pages and patch markdown files instead.
- When patching markdown files, mainly keep these two changes:
  /usr/bin --> ${PREFIX}/bin and nobody --> _rsync.
- remove rsyncd.conf.5 from ${SUBST_CMD}
- --enable-md5-asm only on amd64, as configure check fails on other
    platforms (from naddy@ to retain
    checking whether to enable MD5 ASM optimizations... yes (x86_64))

feedback from tj@ espie@ sthen@ naddy@
ok sthen@
2022-05-23 00:24:58 +00:00
espie
83feb4a28a I no longer have the time to look closely enough
it tends to work anyhow
2022-04-20 08:43:59 +00:00
naddy
3f5796b9fd drop RCS Ids 2022-03-11 19:45:43 +00:00
tj
9fb0145d6b backport upstream patch to fix issues with --delay-updates
https://github.com/WayneD/rsync/issues/192

ok espie
2021-07-30 18:13:51 +00:00
sthen
54da60e372 https for MASTER_SITES 2020-08-26 12:40:39 +00:00
sthen
7fd8445b6c update to rsync-3.2.3, patch for overflow in read_varint()
ok espie
2020-08-26 12:15:56 +00:00
kn
f1b763fdcf Disable lz4, zstd and xhash again
The dependencies are too big, rsync should stay mostly self contained as
discussed/demanded after the last update commit enabled them.

This fixes the iconv flavour as well which I broke by moving CONFIGURE_ENV
out of the FLAVOR conditional, although in practise -liconv is still picked
up when building with --disable-rsync, so something else seems fishy here.

OK jca espie
2020-08-08 21:53:46 +00:00
kn
5c28c9883c Update to rsync 3.2.2
https://download.samba.org/pub/rsync/NEWS#3.2.2
This adds support for LZ4 and zstd compression as well as xxhash hashing.

Positive feedback sthen ajacoutot
OK kmos espie
2020-08-03 21:35:36 +00:00
espie
8c0fd108d6 fix a few nasty bugs in rsync, made aware of it by Moritz Buhl
Those are registered as CVE-2016-9843, CVE-2016-9842, CVE-2016-9841,
CVE-2016-9840, but judging from the code, it's not even clear how to build
an exploit from this (mostly underspecified C behavior, plus it's deep
within zlib's streams).

So, don't get too alarmed about this.

Okay sthen@, naddy@
2020-01-27 20:27:10 +00:00
jca
acbf4c142b ftp(1) speaks HTTP/1.1 now, switch back to upstream MASTER_SITES
Thanks to kmos@ for hosting those distfiles in the meantime.
2019-11-26 15:22:07 +00:00
espie
132dc9e183 debug info for rsync 2019-11-13 12:17:21 +00:00
jca
0bc2c34409 Also mirror the rsync distfile
Initially hosted on samba.org which now rejects HTTP/1.0 requests.

Thanks to kmos@ for hosting the distfile, no objection from espie@
2019-10-07 15:28:25 +00:00
sthen
48b0b9660c replace simple PERMIT_PACKAGE_CDROM=Yes with PERMIT_PACKAGE=Yes 2019-07-12 20:48:23 +00:00
danj
f446765e39 Update to rsync-3.1.3 and remove the patches we backported
From Bryan Vyhmeister, ok espie@ (MAINTAINER)
2018-02-13 19:20:06 +00:00
rpe
9a8b5ccd06 Change the shebang line from /bin/sh to /bin/ksh in all ports rc.d
daemon scripts and bump subpackages that contain the *.rc scripts.

discussed with and OK aja@
OK tb
2018-01-11 19:27:01 +00:00
danj
31959fcf57 Backport patches from upstream to fix among other things CVE-2017-17433
Note that there is no xattr support on OpenBSD so we're not affected by
all the bugs upstreams fixed

discussed with jca, naddy and espie
ok espie (maintainer)
2017-12-19 19:58:39 +00:00
sthen
fe477a312b fix RCS ID in rcscript 2016-04-06 21:17:29 +00:00
naddy
82665efbd6 replace libiconv module with normal library dependency; no bump needed 2016-04-05 19:05:37 +00:00
naddy
73f2e7d414 Update to 3.1.2: This is a bug-fix release. It includes a security
fix for a transfer from a sender that you don't fully trust.

Originally gonzalo@ submitted a broken update to espie@ who passed
it around and then everybody forgot.
2016-01-10 21:36:22 +00:00
naddy
cf57b95b1f Update to rsync 3.1.1. Notable enhancement:
Add support for a new-compression idiom that does not compress all the
matching data in a transfer.  This can help rsync to use less cpu when a
transfer has a lot of matching data,

Switch to bundled zlib in order to support both old and new compression.
ok sthen@, espie@
2014-06-30 19:34:36 +00:00
sthen
7cca3ccc37 Avoid infinite loop if "secrets file" is used in rsyncd server configuration
and a user attempts login with an invalid username. Bug was introduced in
rsync 3.0.5.  OK espie@
2014-04-14 13:34:19 +00:00
naddy
af633aed47 Update to 3.1.0. This has various minor improvements, internal
changes, and now uses the system zlib.
https://rsync.samba.org/ftp/rsync/src/rsync-3.1.0-NEWS

Clean up some cruft:
* Dropped the -T from --with-rsh.  No tty allocation is the default
for ssh, and if somebody sets RequestTTY in .ssh/config, they should
get what they want.
* Removed pointless SECURITY file.
* Replaced the outdated DESCR text with the description from the man page.

ok espie@
2013-10-10 12:01:30 +00:00
krw
503f0857b8 Add rsyncd script for /etc/rc.d, now that inetd is no longer on by
default.

Tweaks and feedback from ian@ sthen@ ajacoutot@. ok sthen@ ajacoutot@
2013-04-22 16:00:11 +00:00
espie
eae66e4a7b PERMIT_* / REGRESS->TEST sweep 2013-03-11 11:35:43 +00:00
sthen
f5a323c546 Don't use ${FLAVOR:L}, we only support lower-case flavours now.
OK ajacoutot@ espie@
2013-02-09 14:49:50 +00:00
jasper
91c889f28a - dont hardcode /usr/local 2012-09-18 11:28:23 +00:00
henning
16ca457949 fix rsync path (/usr/bin/ vs /usr/local/bin). I had forgotten I had changed
this early on, long beforewhen asking espie to include rrsync, sorry.
ok & "bump revision" espie
2012-09-18 11:00:55 +00:00
espie
6d25e1daac install rrsync support script, as requested by henning@ 2012-08-23 13:27:51 +00:00
sthen
88ea72915d Change SEPARATE_BUILD=(concurrent|simple) to Yes; bsd.port.mk doesn't
make a distinction between these.  ok aja@ dcoppa@
2012-03-29 13:38:12 +00:00
naddy
e92c693e33 Update to 3.0.9.
Drop USE_GROFF, the only formatting difference is some extra whitespace.

ok espie@
2011-10-18 20:24:24 +00:00
espie
a52ad0897b iconv flavor 2011-09-03 13:06:01 +00:00
espie
d2fa84de0c move variable decl to beginning of block, should fix things for Nick Holland
on sparc (if there's no more of these)
no bin change, repair stuff that wouldn't build -> no bump
2011-07-01 10:24:53 +00:00
ajacoutot
d042afed10 Use the "_rsync" user and group by default, instead of nobody.
Tweak man pages accordingly.
While here:
simplify @extra marker in PLIST
set GPL version

"looks good" to naddy@
with inputs from and ok schwarze@, ok sthen@
2011-04-02 15:13:25 +00:00
naddy
4a9f7e9e21 update to 3.0.8: bug fixes, -C now also ignores .hg/ 2011-03-27 17:16:47 +00:00
ajacoutot
d5da836c10 Fix some hardcoded patchs in doc.
ok espie@ (maintainer)
2011-03-07 19:48:20 +00:00
espie
47ff75aa46 USE_GROFF=Yes 2010-10-18 18:36:45 +00:00
naddy
b8bfcd2111 update to bugfix release 3.0.7 2010-01-02 17:51:52 +00:00
naddy
773f616624 update to 3.0.6, which fixes a number of bugs 2009-05-13 15:08:23 +00:00
naddy
67229b2361 maintenance update to 3.0.5 2009-01-06 16:34:34 +00:00
naddy
cc5b673de5 maintenance update to 3.0.4 2008-09-26 17:04:15 +00:00
naddy
73dea6672f update to bug-fix release 3.0.3; ok espie@ 2008-07-12 15:03:29 +00:00
espie
451110fd09 update to 3.0.2, with a few new useful functionalities.
to be fully functional, you need rsync >= 3.0.2 on both sides,
otherwise, rsync will degrade to pre-3.0 mode.
2008-04-10 15:06:45 +00:00
merdely
241b722760 Remove surrounding quotes in COMMENT*/PERMIT_*/BROKEN/ERRORS
Add $OpenBSD$ to p5-SNMP-Info/Makefile (ok kili@, simon@)
2007-09-15 22:36:51 +00:00
espie
9eafbbfb35 base64 checksums. 2007-04-05 16:19:55 +00:00
matthieu
b6f703a7b9 funet.fi samba mirror moved. ok espie@ 2006-12-30 19:43:02 +00:00
bernd
5d3abc5160 Update to rsync-2.6.9.
ok espie@, naddy@
2006-11-23 18:06:34 +00:00
naddy
6880d2af36 update to 2.6.8: minor bugfixes 2006-04-29 15:39:14 +00:00
steven
e8dab7ef8e update to 2.6.7; miscellaneous bugfixes and improvements.
ok naddy@ espie@
2006-03-13 17:59:56 +00:00
naddy
b5837b0ff4 Tell ssh to disable tty allocation in order to mark the ssh stream
as non-interactive.  Suggested by espie@ a while ago.
2005-10-14 19:31:39 +00:00
naddy
bc0179831c SECURITY:
Update to 2.6.6: handle a null-pointer bug that turned up in rsync's
version of zlib 1.1.4.
2005-08-09 18:40:56 +00:00