Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 20 Aug 2004 23:23:41 +0800 (CST)
From:      Ying-Chieh Chen <yinjieh@csie.nctu.edu.tw>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/70723: [UPDATE] Enable OPTIONS feature of ports/ftp/hsftp
Message-ID:  <200408201523.i7KFNf63054218@alumni.csie.nctu.edu.tw>
Resent-Message-ID: <200408201530.i7KFUMj3024984@freefall.freebsd.org>

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

>Number:         70723
>Category:       ports
>Synopsis:       [UPDATE] Enable OPTIONS feature of ports/ftp/hsftp
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          update
>Submitter-Id:   current-users
>Arrival-Date:   Fri Aug 20 15:30:22 GMT 2004
>Closed-Date:
>Last-Modified:
>Originator:     Ying-Chieh Chen
>Release:        FreeBSD 4.10-STABLE i386
>Organization:
NCTU CSIE
>Environment:
System: FreeBSD alumni 4.10-STABLE FreeBSD 4.10-STABLE #25: Fri Jul 2 07:46:15 CST 2004 wcpan@ccduty:/bsdhome/bsd4/obj/bsdhome/bsd4/src/sys/CSIEBSD i386


	
>Description:

	Enable OPTIONS feature of ports/ftp/hsftp

>How-To-Repeat:

	Apply the patch.

>Fix:

	

--- hsftp.patch begins here ---
diff -ruN /usr/ports/ftp/hsftp/Makefile hsftp/Makefile
--- /usr/ports/ftp/hsftp/Makefile	Wed Apr 14 19:44:31 2004
+++ hsftp/Makefile	Fri Aug 20 21:12:22 2004
@@ -19,25 +19,17 @@
 MAN1=		hsftp.1
 PLIST_FILES=	bin/hsftp
 
+OPTIONS=	OPENSSH "build hsftp with OpenSSH support" off
+
+.include <bsd.port.pre.mk>
+
 .if defined(WITH_OPENSSH)
 RUN_DEPENDS=	ssh:${PORTSDIR}/security/openssh
 CONFIGURE_ARGS+=	--with-openssh
 .endif
 
-pre-everything::
-.if !defined(WITH_OPENSSH)
-	@${ECHO_MSG}
-	@${ECHO_MSG} "If you would like build hsftp with OpenSSH support"
-	@${ECHO_MSG} "you must set the variable WITH_OPENSSH"
-	@${ECHO_MSG}
-.else
-	@${ECHO_MSG}
-	@${ECHO_MSG} "Building hsftp with OpenSSH support"
-	@${ECHO_MSG}
-.endif
-
 do-install:
 	${INSTALL_PROGRAM} ${WRKSRC}/hsftp ${PREFIX}/bin
 	${INSTALL_MAN} ${WRKSRC}/hsftp.1 ${MANPREFIX}/man/man1
 
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>
--- hsftp.patch ends here ---


>Release-Note:
>Audit-Trail:
>Unformatted:



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