diff options
author | obrien <obrien@FreeBSD.org> | 2001-03-08 11:40:26 +0000 |
---|---|---|
committer | obrien <obrien@FreeBSD.org> | 2001-03-08 11:40:26 +0000 |
commit | 44e166ca1cd64e4e3041b977784b0373614f8266 (patch) | |
tree | 613e11fe513982271d7f083b02c761ff8f73e2fd /net/rsync/Makefile | |
parent | 869f2c5bb95b86996337139bfc6fb552b4b3f594 (diff) | |
download | FreeBSD-ports-44e166ca1cd64e4e3041b977784b0373614f8266.zip FreeBSD-ports-44e166ca1cd64e4e3041b977784b0373614f8266.tar.gz |
Change the default remote protocol from RSH to SSH.
Submitted by: knu
Diffstat (limited to 'net/rsync/Makefile')
-rw-r--r-- | net/rsync/Makefile | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/net/rsync/Makefile b/net/rsync/Makefile index 242849c..3feb0d1 100644 --- a/net/rsync/Makefile +++ b/net/rsync/Makefile @@ -8,6 +8,7 @@ PORTNAME= rsync PORTVERSION= 2.4.6 +PORTREVISION= 1 CATEGORIES= net ipv6 MASTER_SITES= ftp://samba.anu.edu.au/pub/rsync/ \ ftp://sunsite.auc.dk/pub/unix/rsync/ \ @@ -25,6 +26,16 @@ GNU_CONFIGURE= yes .include <bsd.port.pre.mk> +.if ${OSVERSION} >= 400016 +USE_SSH?= yes +.else +USE_SSH?= no +.endif + +.if ${USE_SSH:U} == YES +EXTRA_PATCHES= ${FILESDIR}/ssh-patch-* +.endif + .if ${OSVERSION} >= 400014 CONFIGURE_ARGS= --enable-ipv6 .else @@ -48,5 +59,6 @@ post-install: ${INSTALL_DATA} ${WRKSRC}/COPYING ${PREFIX}/share/doc/rsync ${INSTALL_DATA} ${WRKSRC}/tech_report.tex ${PREFIX}/share/doc/rsync .endif + @${CAT} ${PKGMESSAGE} .include <bsd.port.post.mk> |