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

50 lines
1.1 KiB
Makefile

# $OpenBSD: Makefile,v 1.85 2020/01/27 20:27:10 espie Exp $
COMMENT = mirroring/synchronization over low bandwidth links
DISTNAME = rsync-3.1.3
CATEGORIES = net
HOMEPAGE = https://rsync.samba.org/
MAINTAINER = Marc Espie <espie@openbsd.org>
FLAVORS = iconv
FLAVOR ?=
REVISION = 0
# GPLv3
PERMIT_PACKAGE = Yes
WANTLIB = c
MASTER_SITES = https://rsync.samba.org/ftp/rsync/src/ \
http://ftp.funet.fi/pub/mirrors/samba.org/pub/rsync/src/
CONFIGURE_STYLE =gnu
CONFIGURE_ARGS =--with-included-popt \
--with-included-zlib \
--with-rsyncd-conf="${SYSCONFDIR}/rsyncd.conf" \
--with-rsh=/usr/bin/ssh \
--with-nobody-group=_rsync
.if ${FLAVOR:Miconv}
CONFIGURE_ENV += CPPFLAGS='-I${LOCALBASE}/include' \
LDFLAGS='-L${LOCALBASE}/lib'
LIB_DEPENDS += converters/libiconv
WANTLIB += iconv
.endif
DOCDIR = ${PREFIX}/share/doc/rsync
DEBUG_PACKAGES = ${BUILD_PACKAGES}
pre-configure:
${SUBST_CMD} ${WRKSRC}/rsyncd.conf.5 \
${WRKSRC}/support/rrsync
post-install:
${INSTALL_DATA_DIR} ${DOCDIR}
${INSTALL_DATA} ${WRKSRC}/tech_report.tex ${DOCDIR}
${INSTALL_SCRIPT} ${WRKSRC}/support/rrsync ${PREFIX}/bin
.include <bsd.port.mk>