ports/54844: [Maintainer update] shells/scponly: handling of rsync compatibility
Hideyuki KURASHINA
rushani at FreeBSD.org
Fri Jul 25 12:00:39 UTC 2003
>Number: 54844
>Category: ports
>Synopsis: [Maintainer update] shells/scponly: handling of rsync compatibility
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: maintainer-update
>Submitter-Id: current-users
>Arrival-Date: Fri Jul 25 05:00:36 PDT 2003
>Closed-Date:
>Last-Modified:
>Originator: Hideyuki KURASHINA
>Release: FreeBSD 4.8-STABLE i386
>Organization:
>Environment:
System: FreeBSD ***.*******.jp 4.8-STABLE FreeBSD 4.8-STABLE #3
>Description:
ports/shells/scponly/Makefile cares rsync compatibility of scponly
only the case ${LOCALBASE}/bin/rsync exists. As the result, rsync
compatibility is not configured (or simply ignored) if users do not
have rsync in their enviroment.
To drive scponly with rsync compatibility, BUILD_DEPENDS and
RUN_DEPENDS are needed, I think.
>How-To-Repeat:
cd /usr/ports/shells/scponly
make -DWITH_SCPONLY_RSYNC install
[Set up scponly account...]
rsync -av foo.txt scponly_user at example.com:
>Fix:
Apply following patch.
-- rushani
Index: Makefile
===================================================================
RCS file: /home/ncvs/ports/shells/scponly/Makefile,v
retrieving revision 1.6
diff -u -r1.6 Makefile
--- Makefile 10 May 2003 21:54:40 -0000 1.6
+++ Makefile 25 Jul 2003 11:28:27 -0000
@@ -84,7 +84,9 @@
CONFIGURE_ARGS+=--disable-winscp-compat
.endif
-.if defined(WITH_SCPONLY_RSYNC) && exists(${LOCALBASE}/bin/rsync)
+.if defined(WITH_SCPONLY_RSYNC)
+BUILD_DEPENDS= rsync:${PORTSDIR}/net/rsync
+RUN_DEPENDS= ${BUILD_DEPENDS}
CONFIGURE_ARGS+=--enable-rsync-compat
.else
CONFIGURE_ARGS+=--disable-rsync-compat
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list