From owner-freebsd-current Thu Dec 3 12:55:57 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id MAA20778 for freebsd-current-outgoing; Thu, 3 Dec 1998 12:55:57 -0800 (PST) (envelope-from owner-freebsd-current@FreeBSD.ORG) Received: from apollo.backplane.com (apollo.backplane.com [209.157.86.2]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id MAA20768 for ; Thu, 3 Dec 1998 12:55:53 -0800 (PST) (envelope-from dillon@apollo.backplane.com) Received: (from dillon@localhost) by apollo.backplane.com (8.9.1/8.9.1) id MAA00648; Thu, 3 Dec 1998 12:55:26 -0800 (PST) (envelope-from dillon) Date: Thu, 3 Dec 1998 12:55:26 -0800 (PST) From: Matthew Dillon Message-Id: <199812032055.MAA00648@apollo.backplane.com> To: Andreas Klemm Cc: Martin Cracauer , current@FreeBSD.ORG Subject: Re: Proposed addition to fetch(1) References: <19981203200743.A861@cons.org> <19981203210935.A16110@klemm.gtn.com> Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG :> -s Ask server for size of file in bytes and print it to stdout. :> Do not actually fetch the file. :> :> Actual diff appended. :> :> I plan to use it for a `make fetchsize` target for ports, so that you :> can ask how much traffic you would cause before actually starting the :> fetch. : :What about the possibility of setting an environment variable :FETCH_MAX=3000 :where 3000 = 3000 KByte = 3 MByte :Setting this variable in /etc/make.conf and fiddeling around in :bsd.port.mk could add a nice functionality ... What would FETCH_MAX do? Generally speaking, when you type 'make' in a port you want to make the port no matter how big it is. -Matt :-- :Andreas Klemm : :To Unsubscribe: send mail to majordomo@FreeBSD.org :with "unsubscribe freebsd-current" in the body of the message : Matthew Dillon Engineering, HiWay Technologies, Inc. & BEST Internet Communications & God knows what else. (Please include original email in any response) To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message