Date: Wed, 23 Feb 2011 12:06:53 -0800 From: Jason Helfman <jhelfman@experts-exchange.com> To: FreeBSD-gnats-submit@FreeBSD.org Cc: manolis@FreeBSD.org Subject: docs/154986: [maintainer-update] [patch] freebsd-update-server : content cleanup, move to callouts Message-ID: <1298491613.406910.55884.nullmailer@experts-exchange.com> Resent-Message-ID: <201102232020.p1NKK8HI026003@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 154986 >Category: docs >Synopsis: [maintainer-update] [patch] freebsd-update-server : content cleanup, move to callouts >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-doc >State: open >Quarter: >Keywords: >Date-Required: >Class: maintainer-update >Submitter-Id: current-users >Arrival-Date: Wed Feb 23 20:20:07 UTC 2011 >Closed-Date: >Last-Modified: >Originator: Jason Helfman >Release: FreeBSD 8.1-RELEASE i386 >Organization: Experts Exchange, LLC. >Environment: System: FreeBSD eggman.experts-exchange.com 8.1-RELEASE FreeBSD 8.1-RELEASE #0: Mon Jul 19 02:55:53 UTC 2010 root@almeida.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC i386 >Description: 1. Reword of "much slower..." to "potentially slower..." 2. Cleanup redundancy of mailing list stable in tips. 3. Cleanup layout. Move to callouts. >How-To-Repeat: >Fix: Index: freebsd-update-server/Makefile =================================================================== RCS file: /home/jhelfman/ncvs/doc/en_US.ISO8859-1/articles/freebsd-update-server/Makefile,v retrieving revision 1.1 diff -u -r1.1 Makefile --- freebsd-update-server/Makefile 13 Feb 2011 17:53:26 -0000 1.1 +++ freebsd-update-server/Makefile 23 Feb 2011 19:57:29 -0000 @@ -17,6 +17,12 @@ SRCS= article.sgml SRCS+= ${EXTRAS} +IMAGES_LIB+= callouts/1.png +IMAGES_LIB+= callouts/2.png +IMAGES_LIB+= callouts/3.png +IMAGES_LIB+= callouts/4.png +IMAGES_LIB+= callouts/5.png + afterinstall: .for entry in ${EXTRAS} ${INSTALL_DOCS} ${.CURDIR}/${entry} ${DESTDIR} Index: freebsd-update-server/article.sgml =================================================================== RCS file: /home/jhelfman/ncvs/doc/en_US.ISO8859-1/articles/freebsd-update-server/article.sgml,v retrieving revision 1.2 diff -u -r1.2 article.sgml --- freebsd-update-server/article.sgml 14 Feb 2011 20:41:53 -0000 1.2 +++ freebsd-update-server/article.sgml 23 Feb 2011 19:55:06 -0000 @@ -62,7 +62,7 @@ Running a &fbus.ap; makes it easier to deploy security and software patches to selected test machines before rolling them out to production. It also means a number of systems can be updated from the - local network rather than a much slower Internet connection. + local network rather than a potentially slower Internet connection. This article outlines the steps involved in creating an internal &fbus.ap;.</para> </sect1> @@ -127,37 +127,38 @@ <para>Here is the default <filename>build.conf</filename>, which should be modified to suit your environment.</para> - <programlisting> + <informalexample> <programlisting> # Main configuration file for FreeBSD Update builds. The # release-specific configuration data is lower down in # the scripts tree. # Location from which to fetch releases -export FTP=ftp://ftp2.freebsd.org/pub/FreeBSD/releases +export FTP=ftp://ftp2.freebsd.org/pub/FreeBSD/releases<co id="ftp-id"> # Host platform export HOSTPLATFORM=`uname -m` # Host name to use inside jails -export BUILDHOSTNAME=${HOSTPLATFORM}-builder.daemonology.net +export BUILDHOSTNAME=${HOSTPLATFORM}-builder.daemonology.net<co id="buildhost-id"> # Location of SSH key -export SSHKEY=/root/.ssh/id_dsa +export SSHKEY=/root/.ssh/id_dsa<co id="sshkey-id"> # SSH account into which files are uploaded -MASTERACCT=builder@wadham.daemonology.net +MASTERACCT=builder@wadham.daemonology.net<co id="mstacct-id"> # Directory into which files are uploaded -MASTERDIR=update-master.freebsd.org</programlisting> +MASTERDIR=update-master.freebsd.org<co id="mstdir-id"> +</programlisting> +</informalexample> + <para>Parameters for consideration would be:</para> - <variablelist> - <varlistentry> - <term><literal>FTP</literal></term> + <calloutlist> + <callout arearefs="ftp-id"> - <listitem> <para>This is the location where ISO images are downloaded from (by the <function>fetchiso()</function> subroutine of <filename>scripts/build.subr</filename>). The location @@ -171,24 +172,16 @@ architecture-specific area at <filename>scripts/RELEASE/ARCHITECTURE/build.subr</filename> and applying local changes.</para> - </listitem> - </varlistentry> - - <varlistentry> - <term><literal>BUILDHOSTNAME</literal></term> + </callout> - <listitem> + <callout arearefs="buildhost-id"> <para>The name of the build host. This information will be displayed on updated systems when issuing:</para> <screen>&prompt.user; <userinput>uname -v</userinput></screen> - </listitem> - </varlistentry> - - <varlistentry> - <term><literal>SSHKEY</literal></term> + </callout> - <listitem> + <callout arearefs="sshkey-id"> <para>The <application>SSH</application> key for uploading files to the update server. A key pair can be created by typing <command>ssh-keygen -t dsa</command>. This parameter is @@ -199,27 +192,18 @@ <para>The &man.ssh-keygen.1; manual page has more detailed information about <application>SSH</application> and the appropriate steps for creating and using one.</para> - </listitem> - </varlistentry> + </callout> - <varlistentry> - <term><literal>MASTERACCT</literal></term> - - <listitem> + <callout arearefs="mstacct-id"> <para>Account for uploading files to the update server.</para> - </listitem> - </varlistentry> - - <varlistentry> - <term><literal>MASTERDIR</literal></term> + </callout> - <listitem> + <callout arearefs="mstdir-id"> <para>Directory on the update server where files are uploaded to.</para> - </listitem> - </varlistentry> - </variablelist> + </callout> + </calloutlist> <para>The default <filename>build.conf</filename> file shipped with the <application>freebsd-update-server</application> sources is @@ -242,16 +226,11 @@ options for &os; 7.2-RELEASE on &arch.amd64; should be similar to:</para> + <informalexample> <programlisting># SHA256 hash of RELEASE disc1.iso image. -export RELH=1ea1f6f652d7c5f5eab7ef9f8edbed50cb664b08ed761850f95f48e86cc71ef5</programlisting> +export RELH=1ea1f6f652d7c5f5eab7ef9f8edbed50cb664b08ed761850f95f48e86cc71ef5<co id="sha256-id"> - <note> - <para>The &man.sha256.1; hash key for the desired release, is - published within the respective <ulink - url="&url.base;/releases/">release announcement</ulink>.</para> - </note> - - <programlisting># Components of the world, source, and kernels +# Components of the world, source, and kernels export WORLDPARTS="base catpages dict doc games info manpages proflibs lib32" export SOURCEPARTS="base bin contrib crypto etc games gnu include krb5 \ lib libexec release rescue sbin secure share sys tools \ @@ -259,9 +238,16 @@ export KERNELPARTS="generic" # EOL date -export EOL=1275289200</programlisting> +export EOL=1275289200<co id="eol-id"></programlisting></informalexample> - <note> + <calloutlist> + <callout arearefs="sha256-id"> + <para>The &man.sha256.1; hash key for the desired release, is + published within the respective <ulink + url="&url.base;/releases/">release announcement</ulink>.</para> + </callout> + + <callout arearefs="eol-id"> <para>To generate the "End of Life" number for <filename>build.conf</filename>, refer to the "Estimated EOL" posted on the <ulink @@ -269,9 +255,9 @@ Security Website</ulink>. The value of <literal>EOL</literal> can be derived from the date listed on the web site, using the &man.date.1; utility, for example:</para> - <screen>&prompt.user; <userinput>date -j -f '%Y%m%d-%H%M%S' '20090401-000000' '+%s'</userinput></screen> - </note> + </callout> + </calloutlist> </step> </procedure> </sect1> @@ -818,7 +804,7 @@ url="&url.books.handbook;/firewalls.html">firewall</ulink> rule to block outgoing RST packets. Due to a bug noted <ulink url="http://lists.freebsd.org/pipermail/freebsd-stable/2009-April/049578.html">in a posting</ulink> - on the &a.stable; mailing list in April 2009, there may be + on the &a.stable; in April 2009, there may be time-outs and failures when updating a system.</para> </listitem> >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1298491613.406910.55884.nullmailer>