Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 18 Jun 2010 20:09:30 -0500 (CDT)
From:      "M. Carey Jones" <mcj@bluetonic.org>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/147987: ftp/hsftp update
Message-ID:  <201006190109.o5J19UwP078512@ark.bluetonic.org>
Resent-Message-ID: <201006190110.o5J1A2xE095254@freefall.freebsd.org>

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

>Number:         147987
>Category:       ports
>Synopsis:       ftp/hsftp update
>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:   Sat Jun 19 01:10:01 UTC 2010
>Closed-Date:
>Last-Modified:
>Originator:     M. Carey Jones
>Release:        FreeBSD 8.1-PRERELEASE amd64
>Organization:
>Environment:
System: FreeBSD ark.bluetonic.org 8.1-PRERELEASE FreeBSD 8.1-PRERELEASE #3: Fri Jun 11 08:46:22 CDT 2010 root@ark.bluetonic.org:/usr/obj/usr/src/sys/ARK amd64


	
>Description:
	Updating the ftp/hsftp port so that it compiles without the
	stropt.h error
>How-To-Repeat:
>Fix:


diff -ruN ftp/hsftp.orig/Makefile ftp/hsftp/Makefile
--- ftp/hsftp.orig/Makefile     2010-06-18 19:49:00.000000000 -0500
+++ ftp/hsftp/Makefile  2010-06-18 20:01:54.000000000 -0500
@@ -7,6 +7,7 @@

 PORTNAME=      hsftp
 PORTVERSION=   1.15
+PORTREVISION=  1
 CATEGORIES=    ftp
 MASTER_SITES=  http://la-samhna.de/hsftp/ \
                http://www.alaskaparadise.com/freebsd/
@@ -15,20 +16,13 @@
 COMMENT=       FTP emulator that uses ssh to transport commands/data

 GNU_CONFIGURE= yes
-CONFIGURE_ARGS=        --with-readline
+CONFIGURE_ARGS=        --with-readline --with-openssh
 MAKEFILE=      makefile
 MAN1=          hsftp.1
 PLIST_FILES=   bin/hsftp

-OPTIONS=       OPENSSH "Build with OpenSSH support" off
-
 .include <bsd.port.pre.mk>

-.if defined(WITH_OPENSSH)
-RUN_DEPENDS+=  ssh:${PORTSDIR}/security/openssh
-CONFIGURE_ARGS+=       --with-openssh
-.endif
-
 do-install:
        ${INSTALL_PROGRAM} ${WRKSRC}/hsftp ${PREFIX}/bin
        ${INSTALL_MAN} ${WRKSRC}/hsftp.1 ${MANPREFIX}/man/man1
diff -ruN ftp/hsftp.orig/files/patch-configure ftp/hsftp/files/patch-configure
--- ftp/hsftp.orig/files/patch-configure        1969-12-31 18:00:00.000000000 -0600
+++ ftp/hsftp/files/patch-configure     2010-06-18 19:58:12.000000000 -0500
@@ -0,0 +1,14 @@
+--- configure.orig     2010-06-18 19:57:04.000000000 -0500
++++ configure  2010-06-18 19:57:34.000000000 -0500
+@@ -2340,11 +2340,6 @@
+ fi
+ if test x${hsftp_cv_ptys} = xUSG; then
+   cat >> confdefs.h <<\EOF
+-#define PTYS_ARE_PTMX 1
+-EOF
+-
+-
+-  cat >> confdefs.h <<\EOF
+ #define PTYS_ARE_SEARCHED 1
+ EOF
+

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



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