From owner-freebsd-security Fri Jan 5 11:38:51 2001 From owner-freebsd-security@FreeBSD.ORG Fri Jan 5 11:38:41 2001 Return-Path: Delivered-To: freebsd-security@freebsd.org Received: from radix.cryptio.net (radix.cryptio.net [199.181.107.213]) by hub.freebsd.org (Postfix) with ESMTP id C52C337B400; Fri, 5 Jan 2001 11:38:40 -0800 (PST) Received: (from emechler@localhost) by radix.cryptio.net (8.11.0/8.11.0) id f05JcU359802; Fri, 5 Jan 2001 11:38:30 -0800 (PST) Date: Fri, 5 Jan 2001 11:38:29 -0800 From: Erick Mechler To: Wonderful One Cc: FreeBSD Security , FreeBSD Questions Subject: Re: Sftp Port Message-ID: <20010105113829.A59389@techometer.net> References: Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit User-Agent: Mutt/1.2.5i In-Reply-To: ; from Wonderful One on Fri, Jan 05, 2001 at 01:23:14PM -0600 Sender: emechler@radix.cryptio.net Sender: owner-freebsd-security@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org When was the last time you did a cvsup of the ports tree? It appears to me that since you don't have the files/md5 for this port that you're still using the old ports layout. --Erick At Fri, Jan 05, 2001 at 01:23:14PM -0600, Wonderful One said this: :: 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 :: :: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-security" in the body of the message