From owner-freebsd-questions@FreeBSD.ORG Mon Dec 29 15:59:06 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 81FEB106564A for ; Mon, 29 Dec 2008 15:59:06 +0000 (UTC) (envelope-from bsd-unix@embarqmail.com) Received: from mailrelay.embarq.synacor.com (mailrelay.embarq.synacor.com [208.47.184.3]) by mx1.freebsd.org (Postfix) with ESMTP id 3797B8FC20 for ; Mon, 29 Dec 2008 15:59:06 +0000 (UTC) (envelope-from bsd-unix@embarqmail.com) DKIM-Signature: v=1; a=rsa-sha1; d=embarqmail.com; s=s012408; c=relaxed/simple; q=dns/txt; i=@embarqmail.com; t=1230566345; h=From:Subject:Date:To:Mime-Version:Content-Type; bh=4MOk/F+36pjS31EtOEP9GyX6U2Y=; b=PWm7/G2irHUQYgCCxqIMqBdq6HzMz4nfNrjsDiF2XRRO+bR0L+jh/ro3v/zKLMxY 7lAbfhUlBLiNymqv2aux2qBZFK2cFa513gFRZCUI5pLzhj2FITlBSjo7Hefrc5n8; X_CMAE_Category: 0,0 Undefined,Undefined X-CNFS-Analysis: v=1.0 c=1 a=6I5d2MoRAAAA:8 a=B6xQqDB83fKiz5ZfXZ4A:9 a=CDgQniwFOZUBgANeZcgA:7 a=pVhk_YQYWoFHfj1OhXvvn2YyFLoA:4 a=QMfvKO4qQ48A:10 a=MSl-tDqOz04A:10 a=SV7veod9ZcQA:10 a=LY0hPdMaydYA:10 X-CM-Score: 0 X-Scanned-by: Cloudmark Authority Engine Authentication-Results: smtp01.embarq.synacor.com smtp.user=rpratt1950@embarqmail.com; auth=pass (LOGIN) Received: from [74.5.191.142] ([74.5.191.142:50606] helo=kt.weeeble.com) by mailrelay.embarq.synacor.com (envelope-from ) (ecelerity 2.2.2.36 r(27513/27514)) with ESMTPA id 09/67-22889-8C3F8594; Mon, 29 Dec 2008 10:59:05 -0500 Date: Mon, 29 Dec 2008 10:59:04 -0500 From: Randy Pratt To: Masoom Shaikh Message-Id: <20081229105904.523e3494.bsd-unix@embarqmail.com> In-Reply-To: <200812292039.43242.masoom.shaikh@gmail.com> References: <20081229124558.43cefc56@gumby.homeunix.com> <200812292039.43242.masoom.shaikh@gmail.com> X-Mailer: Sylpheed 2.5.0 (GTK+ 2.12.11; i386-portbld-freebsd6.4) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: freebsd-questions@freebsd.org Subject: Re: local copy of handbook X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 29 Dec 2008 15:59:06 -0000 On Mon, 29 Dec 2008 20:39:42 +0530 Masoom Shaikh wrote: > On Monday 29 December 2008 18:15:58 RW wrote: > > On Mon, 29 Dec 2008 10:16:42 +0530 > > "Masoom Shaikh" wrote: > > > > lso I cud use tarballs from FTP, but is there easy way to install > > > > > them ? also csup didn't help here is my csup file > > > > > > *default tag=RELENG_7 > > > *default host=ftp2.tw.freebsd.org > > > *default prefix=/usr > > > *default base=/var/db > > > *default release=cvs delete use-rel-suffix compress > > > src-all > > > doc-all > > > > > > csup updates the source each time, but now i am not sure about doc!! > > > > If you do it that way, you have to generate the html files yourself, > > cvup fetches generic data files that can be used to generate html , pdf > > etc. > > > > What I do these days is mirror the online version with wget. > > > > > > > > #!/bin/sh > > > > cd /usr/share/doc/en > > > > wg_args=" --mirror -np -nH --cut-dirs=2 --limit-rate=33k" > > > > bg_flags="" > > > > # Run quietly from cron > > [ ! -t 0 ] && bg_flags=" --quiet " > > > > wget $bg_flags $wg_args "http://www.freebsd.org/doc/en_US.ISO8859-1/" > > _______________________________________________ > > freebsd-questions@freebsd.org mailing list > > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > > To unsubscribe, send any mail to > > "freebsd-questions-unsubscribe@freebsd.org" > > that is clever use of wget :) > but can't docs remain updated with csup ? if yes, how ? > otherwise I will be happy to generate them from sources if they happen to be > some simple target You might consider using Docsnap. This allows you to maintain all the FreeBSD documentation with a minimum of effort. Docsnap is an rsync repository for easy updating of installed FreeBSD documentation (/usr/share/doc). The first run may take longer but subsequent updates take very little time. Only the differences in the documents are transferred. That is the main advantage but you also do not need to install ports with hefty overhead to build documents. Rsync is only utility required (/usr/ports/net/rsync). Typical usage: # rsync -rltvz docsnap.sk.FreeBSD.org::docsnap /usr/share/doc/ For more information see http://docsnap.sk.freebsd.org/ and possibly the rsync manual page. HTH, Randy --