ports/171998: ftp/hsftp: Support USE_READLINE
KATO Tsuguru
tkato432 at yahoo.com
Tue Sep 25 18:10:23 UTC 2012
>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 at 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:
More information about the freebsd-ports-bugs
mailing list