From owner-freebsd-questions Fri Jan 5 11:29:26 2001 From owner-freebsd-questions@FreeBSD.ORG Fri Jan 5 11:28:39 2001 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from HELLAWEB.COM (nickschuetz.dsl.visi.com [208.42.94.19]) by hub.freebsd.org (Postfix) with ESMTP id 81B8A37B400; Fri, 5 Jan 2001 11:28:37 -0800 (PST) Received: from schuetzn ([209.181.237.141]) by HELLAWEB.COM (8.9.3/8.9.3) with SMTP id NAA29246; Fri, 5 Jan 2001 13:28:03 -0600 (CST) (envelope-from hellaenergy@hellaweb.com) From: "Wonderful One" To: "FreeBSD Security" , "FreeBSD Questions" Subject: Sftp Port Date: Fri, 5 Jan 2001 13:23:14 -0600 Message-ID: MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_NextPart_000_000C_01C0771A.A8C5E350" X-Priority: 1 (Highest) X-MSMail-Priority: High X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2911.0) X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4029.2901 Importance: High Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG This is a multi-part message in MIME format. ------=_NextPart_000_000C_01C0771A.A8C5E350 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 8bit Hello FreeBSD-Security, Who here has installed sftp from the FreeBSD port and had success? I have tried and all I seem to get are problems. What I did was download the sftp.tar and then copied the pub/FreeBSD/branches/-current/ports/ftp/sftp into /usr/ports/ftp. Then I cd’ed in to /usr/ports/ftp/sftp and typed make. Here is what happens: make >> .tar.gz doesn't seem to exist on this system. >> Attempting to fetch from ftp://ftp.xbill.org/pub/sftp/. grep: /usr/ports/ftp/sftp/files/md5: No such file or directory fetch: pub/sftp/.tar.gz: cannot get remote modification time fetch: ftp://ftp.xbill.org/pub/sftp/.tar.gz: FTP error: fetch: File unavailable (e.g., file not found, no access) >> Attempting to fetch from ftp://ftp.FreeBSD.org/pub/FreeBSD/ports/distfiles/. grep: /usr/ports/ftp/sftp/files/md5: No such file or directory fetch: pub/FreeBSD/ports/distfiles/.tar.gz: cannot get remote modification time fetch: ftp://ftp.FreeBSD.org/pub/FreeBSD/ports/distfiles/.tar.gz: FTP error: fetch: File unavailable (e.g., file not found, no access) >> Couldn't fetch it - please try to retrieve this >> port manually into /usr/ports/distfiles/ and try again. *** Error code 1 Stop in /usr/ports/ftp/sftp. *** Error code 1 Stop in /usr/ports/ftp/sftp. *** Error code 1 Stop in /usr/ports/ftp/sftp. *** Error code 1 Stop in /usr/ports/ftp/sftp. *** Error code 1 Stop in /usr/ports/ftp/sftp. *** Error code 1 Stop in /usr/ports/ftp/sftp. *** Error code 1 Stop in /usr/ports/ftp/sftp. And here is the blasted makefile that came with the FreeBSD port: more Makefile # New ports collection makefile for: sftp # Date created: 30 December 1999 # Whom: Cy Shubert # # $FreeBSD: ports/ftp/sftp/Makefile,v 1.9 2000/10/08 00:58:54 asami Exp $ # PORTNAME= sftp PORTVERSION= 0.9.6 CATEGORIES= ftp security MASTER_SITES= ftp://ftp.xbill.org/pub/sftp/ MAINTAINER= Cy.Schubert@uumail.gov.bc.ca .include .if ${OSVERSION} < 400014 RUN_DEPENDS= ssh:${PORTSDIR}/security/openssh .endif RESTRICTED= "Calls external cryptographic routines." GNU_CONFIGURE= yes CONFIGURE_ARGS= --enable-remotepath=${PREFIX}/libexec MAN1= secftp.1 PLIST= ${WRKDIR}/.PLIST do-install: ${INSTALL_PROGRAM} ${WRKSRC}/sftp ${PREFIX}/bin/secftp ${LN} -s ${PREFIX}/bin/secftp ${PREFIX}/bin/rsftp ${INSTALL_PROGRAM} ${WRKSRC}/sftpserv ${PREFIX}/libexec/sftpserv ${INSTALL_MAN} ${WRKSRC}/sftp.1 ${PREFIX}/man/man1/secftp.1 ${CP} ${PKGDIR}/pkg-plist.in ${PLIST}.unsorted @if [ ! -f ${PREFIX}/bin/sftp ]; then \ ${ECHO} "No other sftp found, linking sftp to secftp"; \ ${LN} -s ${PREFIX}/bin/secftp ${PREFIX}/bin/sftp; \ ${LN} -s ${PREFIX}/man/man1/secftp.1.gz ${PREFIX}/man/man1/sftp.1.gz; \ ${ECHO} bin/sftp >> ${PLIST}.unsorted; \ ${ECHO} man/man1/sftp.1.gz >> ${PLIST}.unsorted; \ else \ ${ECHO} "Other sftp found, not linking sftp to secftp"; \ fi @sort -u ${PLIST}.unsorted > ${PLIST} .include What is a brother to do? Hellaenergy ------=_NextPart_000_000C_01C0771A.A8C5E350 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable

Hello = FreeBSD-Security,

 <= /p>

Who here has installed sftp from the FreeBSD = port and had success? I have tried and all I seem to get are problems. What I did = was download the sftp.tar and then copied the = pub/FreeBSD/branches/-current/ports/ftp/sftp into /usr/ports/ftp. Then I cd’ed in to /usr/ports/ftp/sftp and = typed make. Here is what happens:

 

make

>> .tar.gz doesn't seem to exist on this = system.

>> Attempting to fetch from = ftp://ftp.xbill.org/pub/sftp/.

grep: /usr/ports/ftp/sftp/files/md5: No such file or = directory

fetch: pub/sftp/.tar.gz: cannot get remote modification = time

fetch: ftp://ftp.xbill.org/pub/sftp/.tar.gz: FTP = error:

fetch: File unavailable (e.g., file not found, no = access)

>> Attempting to fetch from ftp://ftp.FreeBSD.org/pub/FreeBSD/ports/distfiles/.

grep: /usr/ports/ftp/sftp/files/md5: No such file or = directory

fetch: pub/FreeBSD/ports/distfiles/.tar.gz: cannot get remote modification time

fetch: ftp://ftp.FreeBSD.org/pub/FreeBSD/ports/distfiles/.tar.gz: = FTP error:

fetch: File unavailable (e.g., file not found, no = access)

>> Couldn't fetch it - please try to retrieve = this

>> port manually into /usr/ports/distfiles/ and try = again.

*** Error code 1

 

Stop in /usr/ports/ftp/sftp.

*** Error code 1

 

Stop in /usr/ports/ftp/sftp.

*** Error code 1

 

Stop in /usr/ports/ftp/sftp.

*** Error code 1

 

Stop in /usr/ports/ftp/sftp.

*** Error code 1

 

Stop in /usr/ports/ftp/sftp.

*** Error code 1

 

Stop in /usr/ports/ftp/sftp.

*** Error code 1

 

Stop in /usr/ports/ftp/sftp.

 

 

And here is the blasted makefile that came with = the FreeBSD port:

 

more Makefile

# New ports collection makefile for:    sftp

# Date created:         30 December = 1999

# Whom:           &n= bsp;     Cy Shubert = <Cy.Shubert@uumail.gov.bc.ca>

#

# $FreeBSD: ports/ftp/sftp/Makefile,v 1.9 2000/10/08 00:58:54 = asami Exp $

#

 

PORTNAME=3D   =     sftp<= /p>

PORTVERSION=3D    0.9.6

CATEGORIES=3D     ftp security

MASTER_SITES=3D   ftp://ftp.xbill.org/pub/sftp/

 

MAINTAINER=3D     Cy.Schubert@uumail.gov.bc.ca

 

.include = <bsd.port.pre.mk>

 

.if ${OSVERSION} < 400014

RUN_DEPENDS=3D    ssh:${PORTSDIR}/security/openssh

.endif

 

RESTRICTED=3D     "Calls external cryptographic = routines."

 

GNU_CONFIGURE=3D  = yes

CONFIGURE_ARGS=3D = --enable-remotepath=3D${PREFIX}/libexec

 

MAN1=3D           secftp.1

 

PLIST=3D          ${WRKDIR}/.PLIST

 

do-install:

        = ${INSTALL_PROGRAM} ${WRKSRC}/sftp ${PREFIX}/bin/secftp

        ${LN} -s ${PREFIX}/bin/secftp = ${PREFIX}/bin/rsftp

        = ${INSTALL_PROGRAM} ${WRKSRC}/sftpserv = ${PREFIX}/libexec/sftpserv

        ${INSTALL_MAN} ${WRKSRC}/sftp.1 = ${PREFIX}/man/man1/secftp.1

        ${CP} ${PKGDIR}/pkg-plist.in = ${PLIST}.unsorted

        @if [ ! -f ${PREFIX}/bin/sftp ]; then \

           &n= bsp;    ${ECHO} "No other sftp found, linking sftp to secftp"; = \

           &n= bsp;    ${LN} -s ${PREFIX}/bin/secftp ${PREFIX}/bin/sftp; = \

      =           $= {LN} -s ${PREFIX}/man/man1/secftp.1.gz ${PREFIX}/man/man1/sftp.1.gz; = \

           &n= bsp;    ${ECHO} bin/sftp >> ${PLIST}.unsorted; = \

           &n= bsp;    ${ECHO} man/man1/sftp.1.gz >> ${PLIST}.unsorted; = \

        else = \

           &n= bsp;    ${ECHO} "Other sftp found, not linking sftp to secftp"; = \

        = fi

        @sort -u ${PLIST}.unsorted > ${PLIST}

 

.include = <bsd.port.post.mk>

 

 

What is a brother to = do?

 <= /p>

Hellaenergy

 

 

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