Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 15 Sep 2005 16:24:24 -0300
From:      "Ricardo A. Reis" <ricardo_bsd@yahoo.com.br>
To:        stable@freebsd.org
Subject:   Project Intelligent MASTER_SITE - Discussion 
Message-ID:  <4329CA68.2020601@yahoo.com.br>

next in thread | raw e-mail | index | archive | help
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




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