Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 26 Sep 2012 02:22:47 +0900
From:      KATO Tsuguru <tkato432@yahoo.com>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/171998: ftp/hsftp: Support USE_READLINE
Message-ID:  <20120926022247.a48373778e6c2c0a8a4c3ad2@yahoo.com>
Resent-Message-ID: <201209251810.q8PIAMiI019907@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         171998
>Category:       ports
>Synopsis:       ftp/hsftp: Support USE_READLINE
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Tue Sep 25 18:10:22 UTC 2012
>Closed-Date:
>Last-Modified:
>Originator:     KATO Tsuguru
>Release:        FreeBSD 7.4-RELEASE-p10 i386
>Organization:
>Environment:
>Description:
- Support USE_READLINE
- Add LICENSE
- Add MAKE_JOBS_SAFE

>How-To-Repeat:
>Fix:

diff -urN /usr/ports/ftp/hsftp/Makefile ftp/hsftp/Makefile
--- /usr/ports/ftp/hsftp/Makefile	2012-06-12 19:34:43.000000000 +0900
+++ ftp/hsftp/Makefile	2012-09-25 03:31:47.000000000 +0900
@@ -1,9 +1,5 @@
-# New ports collection makefile for:	hsftp
-# Date created:				Mon 03 Jul 2000
-# Whom:					will
-#
+# Created by: will
 # $FreeBSD: ports/ftp/hsftp/Makefile,v 1.18 2012/06/12 10:34:43 bapt Exp $
-#
 
 PORTNAME=	hsftp
 PORTVERSION=	1.15
@@ -15,22 +11,32 @@
 MAINTAINER=	ports@FreeBSD.org
 COMMENT=	FTP emulator that uses ssh to transport commands/data
 
+LICENSE=	GPLv2
+
+OPTIONS_DEFINE=	OPENSSH READLINE
+OPTIONS_DEFAULT=READLINE
+OPENSSH_DESC=	Build with OpenSSH support
+READLINE_DESC=	Enable readline support
+
 GNU_CONFIGURE=	yes
-CONFIGURE_ARGS=	--with-readline
 MAKEFILE=	makefile
+MAKE_JOBS_SAFE=	yes
+
 MAN1=		hsftp.1
 PLIST_FILES=	bin/hsftp
 
-OPTIONS_DEFINE=	OPENSSH
-OPENSSH_DESC=	Build with OpenSSH support
-
 .include <bsd.port.options.mk>
 
 .if ${PORT_OPTIONS:MOPENSSH}
-RUN_DEPENDS+=	ssh:${PORTSDIR}/security/openssh
+RUN_DEPENDS+=	ssh:${PORTSDIR}/security/openssh-portable
 CONFIGURE_ARGS+=	--with-openssh
 .endif
 
+.if ${PORT_OPTIONS:MREADLINE}
+USE_READLINE=	yes
+CONFIGURE_ARGS+=	--with-readline
+.endif
+
 pre-patch:
 	${REINPLACE_CMD} -e '2343d' ${WRKSRC}/configure
 
>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20120926022247.a48373778e6c2c0a8a4c3ad2>