Commit Graph

100 Commits

Author SHA1 Message Date
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
naddy
87ab96bc13 maintenance update to 2.6.5: miscellaneous bug fixes 2005-06-12 20:35:51 +00:00
naddy
cdce87ca8e update to 2.6.4; various small fixes and improvements 2005-05-20 21:49:59 +00:00
naddy
fedfc3867f SIZE 2005-01-05 17:14:37 +00:00
alek
2344f6d18c Add WANTLIB markers 2004-12-16 00:31:20 +00:00
naddy
fa24063526 update to 2.6.3; ok jcs@ 2004-10-15 18:43:26 +00:00
naddy
25a514f29c SECURITY:
There is a path-sanitizing bug that affects daemon mode in all
recent rsync versions (including 2.6.2) but only if chroot is
disabled.  It does NOT affect the normal send/receive filenames
that specify what files should be transferred.  It does affect
certain option paths that cause auxiliary files to be read or
written.
http://rsync.samba.org/#security_aug04
2004-08-14 18:41:17 +00:00
espie
f94afd5e0f new style. 2004-08-06 07:13:23 +00:00
naddy
ff588261ab Update to 2.6.2: various bug fixes and minor enhancements.
SECURITY:
Paths sent to an rsync daemon are more thoroughly sanitized when
chroot is not used.  If you're running a non-read-only rsync daemon
with chroot disabled, *please upgrade*, especially if the user privs
you run rsync under is anything above "nobody".
2004-05-11 13:39:17 +00:00