Re: Sftp Port

From: Erick Mechler (emechler@techometer.net)
Date: 01/05/01


Date: Fri, 5 Jan 2001 11:38:29 -0800
From: Erick Mechler <emechler@techometer.net>
To: Wonderful One <hellaenergy@hellaweb.com>

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



Relevant Pages

  • trouble compiling some ports
    ... of course with the ports up to date. ... won't compile with multipal jobs. ... stops with an error code 1 while still saying that everything is ok. ... Object directory not changed from original ...
    (freebsd-questions)
  • gtk2-2.2.1-4.i386.rpm not available
    ... I was attempting to load a few ports over the past couple of days and ... => Attempting to fetch from ... *** Error code 1 ... I tried installing flashpluinwrapper and linuxpluginwrapper (at ...
    (freebsd-questions)
  • Re: trouble compiling some ports
    ... of course with the ports up to date. ... won't compile with multipal jobs. ... stops with an error code 1 while still saying that everything is ok. ... Object directory not changed from original ...
    (freebsd-questions)
  • build failiure for p5-gettext-1.03
    ... while building kde3 from ports it got stuck at this point and im unable to get ... I tried installing it via the direct port it'self but continually got the same ... Cleaning current config before rebuilding Makefile... ... *** Error code 1 ...
    (freebsd-current)
  • Re: upgrade of portupgrade
    ... portupgrade update, ... => Attempting to fetch ... Today I have csup'd my ports tree and did a make fetch for this port and it ...
    (freebsd-questions)