Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 21 Oct 1996 23:15:43 +0100
From:      "Julian H. Stacey" <jhs@freebsd.org>
To:        "David E. O'Brien" <obrien@Nuxi.cs.ucdavis.edu>
Cc:        freebsd-ports@freebsd.org (FreeBSD ports list)
Subject:   Re: discussion of porting Ports to other things? 
Message-ID:  <199610212215.XAA00999@vector.jhs.no_domain>
In-Reply-To: Your message of "Thu, 17 Oct 1996 02:18:12 MST." <199610170918.CAA00993@relay.nuxi.com> 

next in thread | previous in thread | raw e-mail | index | archive | help
Hi, Reference:
> From: "David E. O'Brien" <obrien@Nuxi.cs.ucdavis.edu> 
>
> > md5 is easy.  But fetch is impossible!  Literally.  It relies on aspects
> > of stdio that are only in 4.4BSD and there seems to be no portable
> > equivalent.  This is one hellishly non-portable program!
> > 
> > I would suggest anyone interested in a more portable ports-chain, consider
> > reimplementing libftpio and fetch in C++, or maybe some sort of C wrapper
> > to behave like 4.4BSD stdio.  Any suggestions? (and don't say STREAMS! :-)
> 
> Why not just got back to ncftp (version 1.x) like 2.0 - 2.1 used.  Grab
> /pub/FreeBSD-CVS/share/mk/bsd.port* and use RCS to extract that version
> of the Makefile.

No need :-) Just use current mk/ stuff with
	setenv FETCH_CMD ncftp
	setenv FETCH_BEFORE_ARGS -N
It works for nearly everything (there are a couple of things need fetch though).

Julian
--
Julian H. Stacey	jhs@freebsd.org  	http://www.freebsd.org/~jhs/



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