Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 10 Dec 2001 01:09:43 +0900 (JST)
From:      Yoshihiko Sarumaru <mistral@imasy.or.jp>
To:        FreeBSD-gnats-submit@freebsd.org
Cc:        ache@freebsd.org
Subject:   ports/32651: a small patch to obtain socks5 support to ports/ftp/ncftp2
Message-ID:  <200112091609.fB9G9h918341@mistral.imasy.or.jp>

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

>Number:         32651
>Category:       ports
>Synopsis:       a small patch to obtain socks5 support to ports/ftp/ncftp2
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-ports
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Sun Dec 09 08:20:01 PST 2001
>Closed-Date:
>Last-Modified:
>Originator:     Yoshihiko Sarumaru
>Release:        FreeBSD 4.4-STABLE i386
>Organization:
Internet Mutual Aid Society Yokohama
>Environment:
System: FreeBSD mistral.imasy.or.jp 4.4-STABLE FreeBSD 4.4-STABLE #2: Thu Dec 6 01:59:25 JST 2001 yohta@mistral.imasy.or.jp:/usr/obj/usr/src/sys/PCG-505R i386


	
>Description:
	Ncftp2 has its own SOCKS5 support code in source code and user can
	enable the code by adding --enable-socks5 option to configure.
	In other ported softwares seems have a manner to use WITH_SOCKS to 
	specify SOCKS5 support (ports/net/licq, ports/irc/xchat, and others).
	This patch let ncftp2 to use this manner to use SOCKS5.
>How-To-Repeat:
	
>Fix:
--- Makefile.bak	Wed Apr 12 14:31:17 2000
+++ Makefile	Mon Dec 10 00:59:01 2001
@@ -16,6 +16,10 @@
 CONFIGURE_ENV=	ac_cv_func_getmaxyx=yes ac_cv_lib_readline=yes
 MAN1=		ncftp2.1
 
+.if defined(WITH_SOCKS)
+CONFIGURE_ARGS+=	--enable-socks5
+.endif
+
 do-install:
 	$(INSTALL_PROGRAM) $(WRKSRC)/ncftp $(PREFIX)/bin/ncftp2
 	$(INSTALL_MAN) $(WRKSRC)/ncftp.1 $(PREFIX)/man/man1/ncftp2.1
>Release-Note:
>Audit-Trail:
>Unformatted:

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




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