From owner-freebsd-stable@FreeBSD.ORG Thu Sep 15 19:25:14 2005 Return-Path: X-Original-To: stable@freebsd.org Delivered-To: freebsd-stable@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 008BF16A41F for ; Thu, 15 Sep 2005 19:25:13 +0000 (GMT) (envelope-from ricardo_bsd@yahoo.com.br) Received: from maritaca.epm.br (disrouter.epm.br [200.17.25.161]) by mx1.FreeBSD.org (Postfix) with ESMTP id C294B43D45 for ; Thu, 15 Sep 2005 19:25:07 +0000 (GMT) (envelope-from ricardo_bsd@yahoo.com.br) Received: from localhost (localhost.localdomain [127.0.0.1]) by maritaca.epm.br (Postfix) with ESMTP id B43283946 for ; Thu, 15 Sep 2005 16:25:04 -0300 (BRST) Received: from [172.22.1.166] (ricardo.epm.br [172.22.1.166]) by maritaca.epm.br (Postfix) with ESMTP id 942883A8B for ; Thu, 15 Sep 2005 16:24:50 -0300 (BRST) Message-ID: <4329CA68.2020601@yahoo.com.br> Date: Thu, 15 Sep 2005 16:24:24 -0300 From: "Ricardo A. Reis" User-Agent: Mozilla Thunderbird 1.0.2 (X11/20050404) X-Accept-Language: en-us, en MIME-Version: 1.0 To: stable@freebsd.org Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit UNIFESP-Virus-Scanned: by amavisd-new at dis.epm.br Cc: Subject: Project Intelligent MASTER_SITE - Discussion X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 15 Sep 2005 19:25:14 -0000 Hy all, I think in make a new schema for bsd.sites.mk, this idea possibility bether utilization of the bandwidth create a structure the evaluation mirrors, ports automatic capture the mirror address, category and download average in passive mode, Samples using make fetch target and scripts. (369)[ricardo@myfreebsd:/usr/ports/ftp/mget] # sudo script Password: Script started, output file is typescript (370)[root@myfreebsd:/usr/ports/ftp/mget] # make fetch => mget-1.4.2.tar.gz doesn't seem to exist in /usr/ports/distfiles/. => Attempting to fetch from http://cs-people.bu.edu/dbera/activities/projects/mget/. mget-1.4.2.tar.gz 100% of 63 kB 30 kBps make fetch 0,70s user 0,67s system 12% cpu 10,816 total (371)[root@myfreebsd:/usr/ports/ftp/mget] # exit Script done, output file is typescript (370)[ricardo@myfreebsd:/usr/ports/ftp/mget] # more typescript Script started on Sat Sep 10 06:24:03 2005 ^MESC[m^OESC[27mESC[24mESC[J(370)ESC[0m[ESC[1;32mrootESC[0m@ESC[1;36mmyfreebsdESC[0m:ESC[1;33m/usr/ports/ftp/mgetESC[0m] # ESC[Kmake fetchESC[10D^M => mget-1.4.2.tar.gz doesn't seem to exist in /usr/ports/distfiles/. => Attempting to fetch from http://cs-people.bu.edu/dbera/activities/projects/mget/. ^Mmget-1.4.2.tar.gz 0% of 63 kB 0 Bps^Mmget-1.4.2.tar.gz 43% of 63 kB 27 kBps^Mmget-1.4.2.tar.gz 87% of 63 kB 30 kBps^Mmget-1.4.2.tar.gz 100% of 63 kB 30 kBps make fetch 0,70s user 0,67s system 12% cpu 10,816 total ^MESC[m^OESC[27mESC[24mESC[J(371)ESC[0m[ESC[1;32mrootESC[0m@ESC[1;36mmyfreebsdESC[0m:ESC[1;33m/usr/ports/ftp/mgetESC[0m] # ESC[Kexit^M First Stage is possible create a intermediate target in makefile, capable of it transform in .. http://cs-people.bu.edu/dbera/activities/projects/mget/ 30 kBps One second stage create a interface web capable the estorage in database, this information in source file (like freshports) and source ip address sumarized in full class C or /24. The last stage is a create a userland aplication to apply this util for end users I sorry for my bad english, Considerately Ricardo A. Reis UNIFESP