Date: Fri, 5 Jan 2001 11:38:29 -0800 From: Erick Mechler <emechler@techometer.net> To: Wonderful One <hellaenergy@hellaweb.com> Cc: FreeBSD Security <security@FreeBSD.ORG>, FreeBSD Questions <questions@FreeBSD.ORG> Subject: Re: Sftp Port Message-ID: <20010105113829.A59389@techometer.net> In-Reply-To: <NEBBLEAIKDEGHDGAPLJMCELLCLAA.hellaenergy@hellaweb.com>; from Wonderful One on Fri, Jan 05, 2001 at 01:23:14PM -0600 References: <NEBBLEAIKDEGHDGAPLJMCELLCLAA.hellaenergy@hellaweb.com>
next in thread | previous in thread | raw e-mail | index | archive | help
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 <Cy.Shubert@uumail.gov.bc.ca> :: # :: # $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 <bsd.port.pre.mk> :: :: .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 <bsd.port.post.mk> :: :: :: 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20010105113829.A59389>