From owner-freebsd-ports Tue Oct 22 05:03:39 1996 Return-Path: owner-ports Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id FAA24755 for ports-outgoing; Tue, 22 Oct 1996 05:03:39 -0700 (PDT) Received: from vector.jhs.no_domain (slip139-92-42-52.ut.nl.ibm.net [139.92.42.52]) by freefall.freebsd.org (8.7.5/8.7.3) with ESMTP id FAA24750; Tue, 22 Oct 1996 05:03:32 -0700 (PDT) Received: from vector.jhs.no_domain (localhost [127.0.0.1]) by vector.jhs.no_domain (8.7.5/8.6.9) with ESMTP id XAA00999; Mon, 21 Oct 1996 23:15:45 +0100 (MET) Message-Id: <199610212215.XAA00999@vector.jhs.no_domain> To: "David E. O'Brien" cc: freebsd-ports@freebsd.org (FreeBSD ports list) Subject: Re: discussion of porting Ports to other things? From: "Julian H. Stacey" Reply-To: "Julian H. Stacey" Organization: Vector Systems Ltd. Mailer: EXMH 1.6.7, PGP available X-Address: Holz Strasse 27d, 80469 Munich, Germany X-Phone: +49.89.268616 X-Fax: +49.89.2608126 X-Web: http://www.freebsd.org/~jhs/ In-reply-to: Your message of "Thu, 17 Oct 1996 02:18:12 MST." <199610170918.CAA00993@relay.nuxi.com> Date: Mon, 21 Oct 1996 23:15:43 +0100 Sender: owner-ports@freebsd.org X-Loop: FreeBSD.org Precedence: bulk Hi, Reference: > From: "David E. O'Brien" > > > 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/