ports/70723: [UPDATE] Enable OPTIONS feature of ports/ftp/hsftp

Ying-Chieh Chen yinjieh at csie.nctu.edu.tw
Fri Aug 20 15:30:23 UTC 2004


>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 at 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:



More information about the freebsd-ports-bugs mailing list