README.bk revision 132452
14007SjoergIn order to use the BitKeeper repository version of NTP you will have
24007Sjoergto have the following tools installed:
34007Sjoerg
44007Sjoerg	autoconf	2.53 or later
54007Sjoerg	automake	1.5 or later
64007Sjoerg	lynx
74007Sjoerg
84007SjoergLynx is used to generate the COPYRIGHT file.  Don't ask.
94007Sjoerg
104007SjoergYou can get bitkeeper by visiting:
114007Sjoerg
124007Sjoerg	http://www.bitkeeper.com/ 
134007Sjoerg
144007SjoergWe are using bitkeeper under their free license program.  You can use
154007Sjoergbitkeeper for free to access NTP, too.  If you have questions about this,
164007Sjoergplease ask.  The license is pretty easy to read.
174007Sjoerg 
184007SjoergOnce you have installed bitkeeper, you can clone any NTP repository.
194007Sjoerg
204007Sjoerg	Note: as of 2002-05, ntp.bkserver.net and ntp.bkbits.net are
214007Sjoerg	being upgraded.  Depending on the "phase" of the upgrade, one
224007Sjoerg	of the two machines may not answer.
234007Sjoerg
244007SjoergYou can get the ntp-stable repository by either of the following commands:
254007Sjoerg
264007Sjoerg     bk clone bk://www.ntp.org/home/bk/ntp-stable ntp-stable
274007Sjoerg
284007Sjoerg     bk clone bk://ntp.bkserver.net/ntp-stable ntp-stable
294007Sjoerg
3023716Speter     bk clone bk://ntp.bkbits.net/ntp-stable ntp-stable
314007Sjoerg
324007SjoergYou can get the ntp-dev repository by either of the following commands:
334007Sjoerg
344007Sjoerg     bk clone bk://www.ntp.org/home/bk/ntp-dev ntp-dev
354007Sjoerg
364007Sjoerg     bk clone bk://ntp.bkserver.net/ntp-dev ntp-dev
374007Sjoerg
384007Sjoerg     bk clone bk://ntp.bkbits.net/ntp-dev ntp-dev
398857Srgrimes
404007SjoergIf you are stuck behind a firewall that blocks access to the default port
414007Sjoergused by bitkeeper (14690) but you can use port 80 instead, you can use
424007Sjoerghttp as a bk transport mechanism.  Just use:
434007Sjoerg
444007Sjoerg     bk clone http://ntp.bkserver.net/REPO REPO
454007Sjoerg
464007SjoergFinally, it's possible to use SMTP as a bk transport mechanism.  So far, we
474007Sjoerghaven't tried this.
484007Sjoerg
494007SjoergOnce you have obtained the sources, do the following:
504007Sjoerg
514007Sjoerg	cd REPO
524007Sjoerg	bk -r edit		to check out the files
534007Sjoerg	autoreconf -f -i	generates configure and Makefile.in's
544007Sjoerg
554007Sjoergand you should be ready to go.  You will get some warning messages from
564007Sjoergautoreconf.  Ignore these messages.
574007Sjoerg
584007SjoergYou can update your repository by incanting:
594007Sjoerg
604007Sjoerg	cd REPO
614007Sjoerg	bk pull
624007Sjoerg
634007SjoergIf you want to submit patches, please see the README.hackers file.
644007Sjoerg