- Make the Hungarian documentation valid XML
This commit is contained in:
parent
b7fac26207
commit
8851951886
Notes:
svn2git
2020-12-08 03:00:23 +00:00
svn path=/projects/xml-tools/; revision=40702
42 changed files with 109 additions and 589 deletions
hu_HU.ISO8859-2
books
fdp-primer/sgml-primer
handbook
Makefile
advanced-networking
audit
basics
bibliography
boot
chapters.entcolophon.xmlconfig
cutting-edge
desktop
disks
dtrace
eresources
filesystems
firewalls
geom
install
introduction
jails
kernelconfig
l10n
linuxemu
mac
mail
mirrors
multimedia
network-servers
pgpkeys
ports
ppp-and-slip
preface
printing
security
serialcomms
users
vinum
virtualization
x11
share/xml
|
@ -1166,31 +1166,6 @@ onsgmls:pr
|
|||
--]]> többsoros megjegyzések írásának <![CDATA[-->]]></programlisting>
|
||||
</example>
|
||||
|
||||
<![%output.print;[
|
||||
<important>
|
||||
<title>A két kötőjel használata</title>
|
||||
|
||||
<para>A Postscript és PDF változatok esetén
|
||||
kisebb problémák jelentkeznek ennél a
|
||||
példánál, ugyanis bennük csak egyetlen
|
||||
kötőjel fog látszani a <literal><!</literal>
|
||||
és <literal>></literal> szimbólumok
|
||||
mellett.</para>
|
||||
|
||||
<para>A forráskódban azonban két
|
||||
<literal>-</literal> (kötőjel) szimbólumot
|
||||
<emphasis>kell</emphasis> használnunk,
|
||||
<emphasis>nem</emphasis> pedig egyet. A Postscript és
|
||||
PDF változatokban az eredetileg két
|
||||
kötőjelet összevonják egyetlen hosszabb
|
||||
kötőjellé, ezáltal elrontják az
|
||||
iménti példát.</para>
|
||||
|
||||
<para>A dokumentum HTML, szöveges és RTF
|
||||
változatait ez nem érinti.</para>
|
||||
</important>
|
||||
]]>
|
||||
|
||||
<para>Ha dolgoztunk már korábban HTML kóddal,
|
||||
akkor előfordulhat, hogy más meghatározást
|
||||
láttunk a megjegyzésekre. Ezért
|
||||
|
@ -1814,7 +1789,7 @@ onsgmls:pr
|
|||
|
||||
<para>A korábbiakban tapasztaltak szerint
|
||||
természetesen a jelölt szakaszokat az SGML
|
||||
részeként a <literal><!</literal>
|
||||
részeként a <literal><!</literal>
|
||||
szimbólummal vezetjük be.</para>
|
||||
|
||||
<para>Ezt követően az első szögletes
|
||||
|
|
|
@ -280,30 +280,56 @@ DOC_PREFIX?= ${.CURDIR}/../../..
|
|||
#
|
||||
# rules generating lists of mirror site from XML database.
|
||||
#
|
||||
XMLDOCS= mirrors-ftp:::mirrors.xml.ftp.inc \
|
||||
XMLDOCS= lastmod:::mirrors.lastmod.inc \
|
||||
mirrors-ftp-index:::mirrors.xml.ftp.index.inc \
|
||||
mirrors-ftp:::mirrors.xml.ftp.inc \
|
||||
mirrors-cvsup-index:::mirrors.xml.cvsup.index.inc \
|
||||
mirrors-cvsup:::mirrors.xml.cvsup.inc \
|
||||
eresources-index:::eresources.xml.www.index.inc \
|
||||
eresources:::eresources.xml.www.inc
|
||||
DEPENDSET.DEFAULT= transtable mirror
|
||||
XSLT.DEFAULT= ${XSL_MIRRORS}
|
||||
XML.DEFAULT= ${XML_MIRRORS}
|
||||
NO_TIDY.DEFAULT= yes
|
||||
|
||||
PARAMS.lastmod+= --param 'target' "'lastmod'"
|
||||
PARAMS.mirrors-ftp-index+= --param 'type' "'ftp'" \
|
||||
--param 'proto' "'ftp'" \
|
||||
--param 'target' "'index'"
|
||||
PARAMS.mirrors-ftp+= --param 'type' "'ftp'" \
|
||||
--param 'proto' "'ftp'" \
|
||||
--param 'target' "'handbook/mirrors/chapter.xml'"
|
||||
PARAMS.mirrors-cvsup-index+= --param 'type' "'cvsup'" \
|
||||
--param 'proto' "'cvsup'" \
|
||||
--param 'target' "'index'"
|
||||
PARAMS.mirrors-cvsup+= --param 'type' "'cvsup'" \
|
||||
--param 'proto' "'cvsup'" \
|
||||
--param 'target' "'handbook/mirrors/chapter.xml'"
|
||||
PARAMS.eresources-index+= --param 'type' "'www'" \
|
||||
--param 'proto' "'http'" \
|
||||
--param 'target' "'index'"
|
||||
PARAMS.eresources+= --param 'type' "'www'" \
|
||||
--param 'proto' "'http'" \
|
||||
--param 'target' "'handbook/eresources/chapter.xml'"
|
||||
|
||||
SRCS+= mirrors.xml.ftp.inc \
|
||||
SRCS+= mirrors.lastmod.inc \
|
||||
mirrors.xml.ftp.inc \
|
||||
mirrors.xml.ftp.index.inc \
|
||||
mirrors.xml.cvsup.inc \
|
||||
eresources.xml.www.inc
|
||||
mirrors.xml.cvsup.index.inc \
|
||||
eresources.xml.www.inc \
|
||||
eresources.xml.www.index.inc
|
||||
|
||||
CLEANFILES+= mirrors.xml.ftp.inc \
|
||||
CLEANFILES+= mirrors.lastmod.inc \
|
||||
mirrors.xml.ftp.inc \
|
||||
mirrors.xml.ftp.index.inc \
|
||||
mirrors.xml.cvsup.inc \
|
||||
eresources.xml.www.inc
|
||||
mirrors.xml.cvsup.index.inc \
|
||||
eresources.xml.www.inc \
|
||||
eresources.xml.www.index.inc
|
||||
|
||||
lint: mirrors.lastmod.inc mirrors.xml.ftp.inc mirrors.xml.ftp.index.inc \
|
||||
mirrors.xml.cvsup.inc mirrors.xml.cvsup.index.inc \
|
||||
eresources.xml.www.inc eresources.xml.www.index.inc
|
||||
|
||||
.include "${DOC_PREFIX}/share/mk/doc.project.mk"
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
<?xml version="1.0" encoding="iso-8859-2" standalone="no"?>
|
||||
<?xml version="1.0" encoding="iso-8859-2"?>
|
||||
<!--
|
||||
The FreeBSD Documentation Project
|
||||
|
||||
|
@ -2823,7 +2823,7 @@ wpa_pairwise=CCMP TKIP <co id="co-ap-wpapsk-pwise"/></programlisting>
|
|||
<application>hostapd</application>
|
||||
elindítása:</para>
|
||||
|
||||
<screen>&prompt.root <userinput>/etc/rc.d/hostapd forcestart</userinput></screen>
|
||||
<screen>&prompt.root; <userinput>/etc/rc.d/hostapd forcestart</userinput></screen>
|
||||
|
||||
<screen>&prompt.root; <userinput>ifconfig <replaceable>wlan0</replaceable></userinput>
|
||||
wlan0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 2290
|
||||
|
@ -8102,7 +8102,7 @@ ifconfig_carp1="vhid 2 advskew 100 pass testpass 192.168.1.51/24"</programlistin
|
|||
következõ parancsot kell kiadnia a
|
||||
<hostid>szolgaltato.minta.org</hostid> gépen:</para>
|
||||
|
||||
<screen>&prompt.root; <userinput>ifconfig carp0 down && ifconfig carp0 up</userinput></screen>
|
||||
<screen>&prompt.root; <userinput>ifconfig carp0 down && ifconfig carp0 up</userinput></screen>
|
||||
|
||||
<para>Ezt az adott géphez tartozó
|
||||
<devicename>carp</devicename> felülettel kell
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
<?xml version="1.0" encoding="iso-8859-2" standalone="no"?>
|
||||
<?xml version="1.0" encoding="iso-8859-2"?>
|
||||
<!--
|
||||
The FreeBSD Documentation Project
|
||||
$FreeBSD$
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
<?xml version="1.0" encoding="iso-8859-2" standalone="no"?>
|
||||
<?xml version="1.0" encoding="iso-8859-2"?>
|
||||
<!--
|
||||
The FreeBSD Documentation Project
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
<?xml version="1.0" encoding="iso-8859-2" standalone="no"?>
|
||||
<?xml version="1.0" encoding="iso-8859-2"?>
|
||||
<!--
|
||||
The FreeBSD Documentation Project
|
||||
$FreeBSD$
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
<?xml version="1.0" encoding="iso-8859-2" standalone="no"?>
|
||||
<?xml version="1.0" encoding="iso-8859-2"?>
|
||||
<!--
|
||||
The FreeBSD Documentation Project
|
||||
|
||||
|
|
|
@ -15,231 +15,61 @@
|
|||
%SRCID% 1.39
|
||||
-->
|
||||
|
||||
<!ENTITY % not.published "INCLUDE">
|
||||
|
||||
<!ENTITY % chap.introduction "IGNORE">
|
||||
<!ENTITY % chap.install "IGNORE">
|
||||
<!ENTITY % chap.basics "IGNORE">
|
||||
<!ENTITY % chap.ports "IGNORE">
|
||||
<!ENTITY % chap.config "IGNORE">
|
||||
<!ENTITY % chap.boot "IGNORE">
|
||||
<!ENTITY % chap.users "IGNORE">
|
||||
<!ENTITY % chap.kernelconfig "IGNORE">
|
||||
<!ENTITY % chap.security "IGNORE">
|
||||
<!ENTITY % chap.jails "IGNORE">
|
||||
<!ENTITY % chap.printing "IGNORE">
|
||||
<!ENTITY % chap.disks "IGNORE">
|
||||
<!ENTITY % chap.geom "IGNORE">
|
||||
<!ENTITY % chap.vinum "IGNORE">
|
||||
<!ENTITY % chap.x11 "IGNORE">
|
||||
<!ENTITY % chap.l10n "IGNORE">
|
||||
<!ENTITY % chap.multimedia "IGNORE">
|
||||
<!ENTITY % chap.desktop "IGNORE">
|
||||
<!ENTITY % chap.serialcomms "IGNORE">
|
||||
<!ENTITY % chap.ppp-and-slip "IGNORE">
|
||||
<!ENTITY % chap.advanced-networking "IGNORE">
|
||||
<!ENTITY % chap.firewalls "IGNORE">
|
||||
<!ENTITY % chap.network-servers "IGNORE">
|
||||
<!ENTITY % chap.mail "IGNORE">
|
||||
<!ENTITY % chap.cutting-edge "IGNORE">
|
||||
<!ENTITY % chap.linuxemu "IGNORE">
|
||||
<!ENTITY % chap.mirrors "IGNORE">
|
||||
<!ENTITY % chap.mirrors.ftp.inc "INCLUDE">
|
||||
<!ENTITY % chap.mirrors.cvsup.inc "INCLUDE">
|
||||
<!ENTITY % chap.bibliography "IGNORE">
|
||||
<!ENTITY % chap.eresources "IGNORE">
|
||||
<!ENTITY % chap.eresources.www.inc "INCLUDE">
|
||||
<!ENTITY % chap.pgpkeys "IGNORE">
|
||||
<!ENTITY % chap.index "IGNORE">
|
||||
<!ENTITY % chap.freebsd-glossary "IGNORE">
|
||||
<!ENTITY % chap.mac "IGNORE">
|
||||
<!ENTITY % chap.audit "IGNORE">
|
||||
<!ENTITY % chap.filesystems "IGNORE">
|
||||
<!ENTITY % chap.dtrace "IGNORE">
|
||||
|
||||
<!ENTITY chap.preface SYSTEM "preface/preface.xml">
|
||||
<!ENTITY % pgpkeys SYSTEM "../../../share/pgpkeys/pgpkeys.ent"> %pgpkeys;
|
||||
|
||||
<!-- Part One -->
|
||||
<![%chap.introduction;[
|
||||
<!ENTITY chap.introduction SYSTEM "introduction/chapter.xml">
|
||||
]]>
|
||||
<![%chap.install;[
|
||||
<!ENTITY chap.install SYSTEM "install/chapter.xml">
|
||||
]]>
|
||||
<![%chap.basics;[
|
||||
<!ENTITY chap.basics SYSTEM "basics/chapter.xml">
|
||||
]]>
|
||||
<![%chap.ports;[
|
||||
<!ENTITY chap.ports SYSTEM "ports/chapter.xml">
|
||||
]]>
|
||||
<![%chap.x11;[
|
||||
<!ENTITY chap.x11 SYSTEM "x11/chapter.xml">
|
||||
]]>
|
||||
|
||||
<!-- Part Two -->
|
||||
<![%chap.desktop;[
|
||||
<!ENTITY chap.desktop SYSTEM "desktop/chapter.xml">
|
||||
]]>
|
||||
<![%chap.multimedia;[
|
||||
<!ENTITY chap.multimedia SYSTEM "multimedia/chapter.xml">
|
||||
]]>
|
||||
<![%chap.kernelconfig;[
|
||||
<!ENTITY chap.kernelconfig SYSTEM "kernelconfig/chapter.xml">
|
||||
]]>
|
||||
<![%chap.printing;[
|
||||
<!ENTITY chap.printing SYSTEM "printing/chapter.xml">
|
||||
]]>
|
||||
<![%chap.linuxemu;[
|
||||
<!ENTITY chap.linuxemu SYSTEM "linuxemu/chapter.xml">
|
||||
]]>
|
||||
|
||||
<!-- Part Three -->
|
||||
<![%chap.config;[
|
||||
<!ENTITY chap.config SYSTEM "config/chapter.xml">
|
||||
]]>
|
||||
<![%chap.boot;[
|
||||
<!ENTITY chap.boot SYSTEM "boot/chapter.xml">
|
||||
]]>
|
||||
<![%chap.users;[
|
||||
<!ENTITY chap.users SYSTEM "users/chapter.xml">
|
||||
]]>
|
||||
<![%chap.security;[
|
||||
<!ENTITY chap.security SYSTEM "security/chapter.xml">
|
||||
]]>
|
||||
<![%chap.jails;[
|
||||
<!ENTITY chap.jails SYSTEM "jails/chapter.xml">
|
||||
]]>
|
||||
<![%chap.mac;[
|
||||
<!ENTITY chap.mac SYSTEM "mac/chapter.xml">
|
||||
]]>
|
||||
<![%chap.audit;[
|
||||
<!ENTITY chap.audit SYSTEM "audit/chapter.xml">
|
||||
]]>
|
||||
<![%chap.disks;[
|
||||
<!ENTITY chap.disks SYSTEM "disks/chapter.xml">
|
||||
]]>
|
||||
<![%chap.geom;[
|
||||
<!ENTITY chap.geom SYSTEM "geom/chapter.xml">
|
||||
]]>
|
||||
<![%chap.filesystems;[
|
||||
<!ENTITY chap.filesystems SYSTEM "filesystems/chapter.xml">
|
||||
]]>
|
||||
<![%chap.vinum;[
|
||||
<!ENTITY chap.vinum SYSTEM "vinum/chapter.xml">
|
||||
]]>
|
||||
<![%chap.virtualization;[
|
||||
<!ENTITY chap.virtualization SYSTEM "virtualization/chapter.xml">
|
||||
]]>
|
||||
<![%chap.l10n;[
|
||||
<!ENTITY chap.l10n SYSTEM "l10n/chapter.xml">
|
||||
]]>
|
||||
<![%chap.cutting-edge;[
|
||||
<!ENTITY chap.cutting-edge SYSTEM "cutting-edge/chapter.xml">
|
||||
]]>
|
||||
<![%chap.dtrace;[
|
||||
<!ENTITY chap.dtrace SYSTEM "dtrace/chapter.xml">
|
||||
]]>
|
||||
|
||||
<!-- Part Four -->
|
||||
<![%chap.serialcomms;[
|
||||
<!ENTITY chap.serialcomms SYSTEM "serialcomms/chapter.xml">
|
||||
]]>
|
||||
<![%chap.ppp-and-slip;[
|
||||
<!ENTITY chap.ppp-and-slip SYSTEM "ppp-and-slip/chapter.xml">
|
||||
]]>
|
||||
<![%chap.mail;[
|
||||
<!ENTITY chap.mail SYSTEM "mail/chapter.xml">
|
||||
]]>
|
||||
<![%chap.network-servers;[
|
||||
<!ENTITY chap.network-servers SYSTEM "network-servers/chapter.xml">
|
||||
]]>
|
||||
<![%chap.firewalls;[
|
||||
<!ENTITY chap.firewalls SYSTEM "firewalls/chapter.xml">
|
||||
]]>
|
||||
<![%chap.advanced-networking;[
|
||||
<!ENTITY chap.advanced-networking SYSTEM "advanced-networking/chapter.xml">
|
||||
]]>
|
||||
|
||||
<!-- Part Five (appendices) -->
|
||||
<![%chap.mirrors;[
|
||||
<!ENTITY chap.mirrors SYSTEM "mirrors/chapter.xml">
|
||||
]]>
|
||||
<![%chap.mirrors.ftp.inc;[
|
||||
<!ENTITY chap.mirrors.ftp.inc SYSTEM "mirrors.xml.ftp.inc">
|
||||
]]>
|
||||
<![%chap.mirrors.cvsup.inc;[
|
||||
<!ENTITY chap.mirrors.cvsup.inc SYSTEM "mirrors.xml.cvsup.inc">
|
||||
]]>
|
||||
<![%chap.bibliography;[
|
||||
<!ENTITY chap.bibliography SYSTEM "bibliography/chapter.xml">
|
||||
]]>
|
||||
<![%chap.eresources;[
|
||||
<!ENTITY chap.eresources SYSTEM "eresources/chapter.xml">
|
||||
]]>
|
||||
<![%chap.eresources.www.inc;[
|
||||
<!ENTITY chap.eresources.www.inc SYSTEM "eresources.xml.www.inc">
|
||||
]]>
|
||||
<![%chap.pgpkeys;[
|
||||
<!ENTITY chap.pgpkeys SYSTEM "pgpkeys/chapter.xml">
|
||||
]]>
|
||||
<![%chap.freebsd-glossary;[
|
||||
<!ENTITY chap.freebsd-glossary "&freebsd-glossary;">
|
||||
]]>
|
||||
<![%chap.index;[
|
||||
<!ENTITY chap.index SYSTEM "index.xml">
|
||||
]]>
|
||||
<!ENTITY chap.mirrors SYSTEM "mirrors/chapter.xml">
|
||||
<!ENTITY chap.mirrors.lastmod.inc SYSTEM "mirrors.lastmod.inc">
|
||||
<!ENTITY chap.mirrors.ftp.index.inc SYSTEM "mirrors.xml.ftp.index.inc">
|
||||
<!ENTITY chap.mirrors.ftp.inc SYSTEM "mirrors.xml.ftp.inc">
|
||||
<!ENTITY chap.mirrors.cvsup.index.inc SYSTEM "mirrors.xml.cvsup.index.inc">
|
||||
<!ENTITY chap.mirrors.cvsup.inc SYSTEM "mirrors.xml.cvsup.inc">
|
||||
<!ENTITY chap.bibliography SYSTEM "bibliography/chapter.xml">
|
||||
<!ENTITY chap.eresources SYSTEM "eresources/chapter.xml">
|
||||
<!ENTITY chap.eresources.www.index.inc SYSTEM "eresources.xml.www.index.inc">
|
||||
<!ENTITY chap.eresources.www.inc SYSTEM "eresources.xml.www.inc">
|
||||
<!ENTITY chap.pgpkeys SYSTEM "pgpkeys/chapter.xml">
|
||||
<!ENTITY chap.freebsd-glossary "&freebsd-glossary;">
|
||||
<!ENTITY chap.index "">
|
||||
|
||||
<!ENTITY chap.colophon SYSTEM "colophon.xml">
|
||||
|
||||
<!-- IGNORE cases -->
|
||||
|
||||
<!-- Part One -->
|
||||
<!ENTITY chap.introduction "">
|
||||
<!ENTITY chap.install "">
|
||||
<!ENTITY chap.basics "">
|
||||
<!ENTITY chap.ports "">
|
||||
<!ENTITY chap.x11 "">
|
||||
|
||||
<!-- Part Two -->
|
||||
<!ENTITY chap.desktop "">
|
||||
<!ENTITY chap.multimedia "">
|
||||
<!ENTITY chap.kernelconfig "">
|
||||
<!ENTITY chap.printing "">
|
||||
<!ENTITY chap.linuxemu "">
|
||||
|
||||
<!-- Part Three -->
|
||||
<!ENTITY chap.config "">
|
||||
<!ENTITY chap.boot "">
|
||||
<!ENTITY chap.users "">
|
||||
<!ENTITY chap.security "">
|
||||
<!ENTITY chap.jails "">
|
||||
<!ENTITY chap.mac "">
|
||||
<!ENTITY chap.audit "">
|
||||
<!ENTITY chap.disks "">
|
||||
<!ENTITY chap.geom "">
|
||||
<!ENTITY chap.filesystems "">
|
||||
<!ENTITY chap.vinum "">
|
||||
<!ENTITY chap.virtualization "">
|
||||
<!ENTITY chap.l10n "">
|
||||
<!ENTITY chap.cutting-edge "">
|
||||
<!ENTITY chap.dtrace "">
|
||||
|
||||
<!-- Part Four -->
|
||||
<!ENTITY chap.serialcomms "">
|
||||
<!ENTITY chap.ppp-and-slip "">
|
||||
<!ENTITY chap.mail "">
|
||||
<!ENTITY chap.network-servers "">
|
||||
<!ENTITY chap.firewalls "">
|
||||
<!ENTITY chap.advanced-networking "">
|
||||
|
||||
<!-- Part Five (appendices) -->
|
||||
<!ENTITY chap.mirrors "">
|
||||
<!ENTITY chap.mirrors.ftp.inc "">
|
||||
<!ENTITY chap.mirrors.cvsup.inc "">
|
||||
<!ENTITY chap.bibliography "">
|
||||
<!ENTITY chap.eresources "">
|
||||
<!ENTITY chap.eresources.www.inc "">
|
||||
<!ENTITY chap.pgpkeys "">
|
||||
<!ENTITY chap.freebsd-glossary "">
|
||||
<!ENTITY chap.index "">
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
<?xml version="1.0" encoding="iso-8859-2" standalone="no"?>
|
||||
<?xml version="1.0" encoding="iso-8859-2"?>
|
||||
<!--
|
||||
The FreeBSD Documentation Project
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
<?xml version="1.0" encoding="iso-8859-2" standalone="no"?>
|
||||
<?xml version="1.0" encoding="iso-8859-2"?>
|
||||
<!--
|
||||
The FreeBSD Documentation Project
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
<?xml version="1.0" encoding="iso-8859-2" standalone="no"?>
|
||||
<?xml version="1.0" encoding="iso-8859-2"?>
|
||||
<!--
|
||||
The FreeBSD Documentation Project
|
||||
|
||||
|
@ -1000,7 +1000,7 @@ Fetching 133 new ports or files... done.</screen>
|
|||
|
||||
<screen>&prompt.root; <userinput>portsnap fetch update</userinput></screen>
|
||||
|
||||
<para>Ez a parancs letölti a Portgy&251;jtemény
|
||||
<para>Ez a parancs letölti a Portgyûjtemény
|
||||
legfrissebb változatát, majd
|
||||
kitömöríti azt a helyi <filename
|
||||
class="directory">/usr/ports</filename>
|
||||
|
@ -1663,98 +1663,6 @@ DOCSUPFILE?= /usr/share/examples/cvsup/doc-supfile</programlisting>
|
|||
<screen>&prompt.root; <userinput>portupgrade -PP hu-freebsd-doc</userinput></screen>
|
||||
</sect3>
|
||||
</sect2>
|
||||
|
||||
<![ IGNORE [
|
||||
<sect2 id="docsnap">
|
||||
<sect2info>
|
||||
<authorgroup>
|
||||
<author>
|
||||
<firstname>Pav</firstname>
|
||||
<surname>Lucistnik</surname>
|
||||
<contrib>A szükséges információkat
|
||||
szolgáltatta: </contrib>
|
||||
</author>
|
||||
</authorgroup>
|
||||
</sect2info>
|
||||
|
||||
<title>A Docsnap használata</title>
|
||||
|
||||
<indexterm><primary>frissítés és frissen
|
||||
tartás</primary></indexterm>
|
||||
|
||||
<indexterm>
|
||||
<primary>Docsnap</primary>
|
||||
<see>frissítés és frissen tartás</see>
|
||||
</indexterm>
|
||||
|
||||
<para>A <application>Docsnap</application> a &os;
|
||||
dokumentációjának egy viszonylag gyors
|
||||
és könnyû frissítésére
|
||||
alkalmas &man.rsync.1; repository. Az ún.
|
||||
<quote><application>Docsnap</application> szerver</quote>
|
||||
folyamatosan követi a dokumentáció
|
||||
forrásainak változásait, majd minden
|
||||
órában elõállítja a HTML
|
||||
változatukat. A <application>Docsnap</application>
|
||||
használatakor nincs szükségünk a
|
||||
<filename role="package">textproc/docproj</filename> port
|
||||
telepítésére, mivel mindig csak a
|
||||
már elõállított
|
||||
dokumentációt frissítjük.</para>
|
||||
|
||||
<para>A módszer használatához mindössze
|
||||
a <filename role="package">net/rsync</filename> port vagy csomag
|
||||
telepítése szükségeltetik. Ezt a
|
||||
következõ paranccsal tudjuk elvégezni:</para>
|
||||
|
||||
<screen>&prompt.root; <userinput>pkg_add -r rsync</userinput></screen>
|
||||
|
||||
<note>
|
||||
<para>A <application>Docsnap</application>
|
||||
módszerét eredetileg a <filename
|
||||
class="directory">/usr/share/doc</filename>
|
||||
könyvtárban tárolt
|
||||
dokumentáció frissítésére
|
||||
fejlesztették ki, de a bemutatott példák
|
||||
tetszõleges könyvtárra alkalmazhatóak.
|
||||
Felhasználói könyvtárak
|
||||
esetén még rendszergazdai jogosultságokra
|
||||
sincs szükségünk a feladat
|
||||
elvégzéséhez.</para>
|
||||
</note>
|
||||
|
||||
<para>A dokumentáció így az alábbi
|
||||
paranccsal frissíthetõ:</para>
|
||||
|
||||
<screen>&prompt.root; <userinput>rsync -rltvz <replaceable>docsnap.sk.FreeBSD.org</replaceable>::docsnap <replaceable>/usr/share/doc</replaceable></userinput></screen>
|
||||
|
||||
<note>
|
||||
<para>Jelenleg csak egyetlen <application>Docsnap</application>
|
||||
szerver érhetõ el, ez a fentebb is
|
||||
látható
|
||||
<hostid>docsnap.sk.FreeBSD.org</hostid>.</para>
|
||||
</note>
|
||||
|
||||
<para>Közvetlenül ne használjuk a
|
||||
<option>--delete</option> paramétert, mert a <command>make
|
||||
installworld</command> parancs futása közben olyan
|
||||
elemeket is telepíthetett a <filename
|
||||
class="directory">/usr/share/doc</filename>
|
||||
könyvtárba, amelyek így
|
||||
törlõdnének. Helyette inkább így
|
||||
használjuk a parancsot:</para>
|
||||
|
||||
<screen>&prompt.root; <userinput>rsync -rltvz --delete <replaceable>docsnap.sk.FreeBSD.org</replaceable>::docsnap/??_??\.\* <replaceable>/usr/share/doc</replaceable></userinput></screen>
|
||||
|
||||
<para>Ha csak a dokumentáció egy
|
||||
részét akarjuk frissíteni,
|
||||
például csak az angol nyelvû
|
||||
változatát, akkor pedig ezt a parancsot
|
||||
használjuk:</para>
|
||||
|
||||
<screen>&prompt.root; <userinput>rsync -rltvz <replaceable>docsnap.sk.FreeBSD.org</replaceable>::docsnap/en_US.ISO8859-1 <replaceable>/usr/share/doc</replaceable></userinput></screen>
|
||||
</sect2>
|
||||
]]>
|
||||
</sect1>
|
||||
|
||||
<sect1 id="current-stable">
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
<?xml version="1.0" encoding="iso-8859-2" standalone="no"?>
|
||||
<?xml version="1.0" encoding="iso-8859-2"?>
|
||||
<!--
|
||||
The FreeBSD Documentation Project
|
||||
$FreeBSD$
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
<?xml version="1.0" encoding="iso-8859-2" standalone="no"?>
|
||||
<?xml version="1.0" encoding="iso-8859-2"?>
|
||||
<!--
|
||||
The FreeBSD Documentation Project
|
||||
|
||||
|
@ -3936,17 +3936,6 @@ return billenty
|
|||
magunkat.</para>
|
||||
|
||||
</sect3>
|
||||
|
||||
<![ %not.published; [
|
||||
|
||||
<sect3>
|
||||
<title>* Mit tegyek, ha nem készültem fel a
|
||||
katasztrófára?</title>
|
||||
|
||||
<para></para>
|
||||
</sect3>
|
||||
]]>
|
||||
|
||||
</sect2>
|
||||
</sect1>
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
<?xml version="1.0" encoding="iso-8859-2" standalone="no"?>
|
||||
<?xml version="1.0" encoding="iso-8859-2"?>
|
||||
<!--
|
||||
The FreeBSD Documentation Project
|
||||
$FreeBSD$
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
<?xml version="1.0" encoding="iso-8859-2" standalone="no"?>
|
||||
<?xml version="1.0" encoding="iso-8859-2"?>
|
||||
<!--
|
||||
The FreeBSD Documentation Project
|
||||
|
||||
|
@ -2610,6 +2610,10 @@
|
|||
<sect2 id="eresources-web-mirrors">
|
||||
<title>Hivatalos tükrözések</title>
|
||||
|
||||
&chap.eresources.www.index.inc;
|
||||
|
||||
&chap.mirrors.lastmod.inc;
|
||||
|
||||
&chap.eresources.www.inc;
|
||||
</sect2>
|
||||
</sect1>
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
<?xml version="1.0" encoding="iso-8859-2" standalone="no"?>
|
||||
<?xml version="1.0" encoding="iso-8859-2"?>
|
||||
<!--
|
||||
The FreeBSD Documentation Project
|
||||
$FreeBSD$
|
||||
|
@ -314,7 +314,7 @@ minta 17547136 0 17547136 0% /minta</screen>
|
|||
állományok hozhatóak rajta létre
|
||||
vagy listázható a tartalma:</para>
|
||||
|
||||
<screen>&prompt.root <userinput>cd /minta</userinput>
|
||||
<screen>&prompt.root; <userinput>cd /minta</userinput>
|
||||
&prompt.root; <userinput>ls</userinput>
|
||||
&prompt.root; <userinput>touch proba</userinput>
|
||||
&prompt.root; <userinput>ls -al</userinput>
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
<?xml version="1.0" encoding="iso-8859-2" standalone="no"?>
|
||||
<?xml version="1.0" encoding="iso-8859-2"?>
|
||||
<!--
|
||||
The FreeBSD Documentation Project
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
<?xml version="1.0" encoding="iso-8859-2" standalone="no"?>
|
||||
<?xml version="1.0" encoding="iso-8859-2"?>
|
||||
<!--
|
||||
The FreeBSD Documentation Project
|
||||
$FreeBSD$
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
<?xml version="1.0" encoding="iso-8859-2" standalone="no"?>
|
||||
<?xml version="1.0" encoding="iso-8859-2"?>
|
||||
<!--
|
||||
The FreeBSD Documentation Project
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
<?xml version="1.0" encoding="iso-8859-2" standalone="no"?>
|
||||
<?xml version="1.0" encoding="iso-8859-2"?>
|
||||
<!--
|
||||
The FreeBSD Documentation Project
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
<?xml version="1.0" encoding="iso-8859-2" standalone="no"?>
|
||||
<?xml version="1.0" encoding="iso-8859-2"?>
|
||||
<!--
|
||||
The FreeBSD Documentation Project
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
<?xml version="1.0" encoding="iso-8859-2" standalone="no"?>
|
||||
<?xml version="1.0" encoding="iso-8859-2"?>
|
||||
<!--
|
||||
The FreeBSD Documentation Project
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
<?xml version="1.0" encoding="iso-8859-2" standalone="no"?>
|
||||
<?xml version="1.0" encoding="iso-8859-2"?>
|
||||
<!--
|
||||
The FreeBSD Documentation Project
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
<?xml version="1.0" encoding="iso-8859-2" standalone="no"?>
|
||||
<?xml version="1.0" encoding="iso-8859-2"?>
|
||||
<!--
|
||||
The FreeBSD Documentation Project
|
||||
|
||||
|
@ -880,14 +880,14 @@ LOG=/var/log/lmgrd.log
|
|||
|
||||
case "$1" in
|
||||
start)
|
||||
lmgrd -c ${LICENSE_FILE} 2>> ${LOG} 1>&2
|
||||
lmgrd -c ${LICENSE_FILE} 2>> ${LOG} 1>&2
|
||||
echo -n " lmgrd"
|
||||
;;
|
||||
stop)
|
||||
lmgrd -c ${LICENSE_FILE} -x lmdown 2>> ${LOG} 1>&2
|
||||
lmgrd -c ${LICENSE_FILE} -x lmdown 2>> ${LOG} 1>&2
|
||||
;;
|
||||
*)
|
||||
echo "Usage: `basename $0` {start|stop}" 1>&2
|
||||
echo "Usage: `basename $0` {start|stop}" 1>&2
|
||||
exit 64
|
||||
;;
|
||||
esac
|
||||
|
@ -1241,7 +1241,7 @@ exit 0</programlisting>
|
|||
következõ:</para>
|
||||
|
||||
<programlisting>#!/usr/compat/linux/bin/sh
|
||||
(sleep 5; killall -1 matlab_helper) &
|
||||
(sleep 5; killall -1 matlab_helper) &
|
||||
exit 0</programlisting>
|
||||
</step>
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
<?xml version="1.0" encoding="iso-8859-2" standalone="no"?>
|
||||
<?xml version="1.0" encoding="iso-8859-2"?>
|
||||
<!--
|
||||
The FreeBSD Documentation Project
|
||||
$FreeBSD$
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
<?xml version="1.0" encoding="iso-8859-2" standalone="no"?>
|
||||
<?xml version="1.0" encoding="iso-8859-2"?>
|
||||
<!--
|
||||
The FreeBSD Documentation Project
|
||||
|
||||
|
@ -2241,11 +2241,11 @@ SENDMAIL_LDADD=-lsasl2</programlisting>
|
|||
el:</para>
|
||||
|
||||
<screen>&prompt.root; <userinput>cd /usr/src/lib/libsmutil</userinput>
|
||||
&prompt.root; <userinput>make cleandir && make obj && make</userinput>
|
||||
&prompt.root; <userinput>make cleandir && make obj && make</userinput>
|
||||
&prompt.root; <userinput>cd /usr/src/lib/libsm</userinput>
|
||||
&prompt.root; <userinput>make cleandir && make obj && make</userinput>
|
||||
&prompt.root; <userinput>make cleandir && make obj && make</userinput>
|
||||
&prompt.root; <userinput>cd /usr/src/usr.sbin/sendmail</userinput>
|
||||
&prompt.root; <userinput>make cleandir && make obj && make && make install</userinput></screen>
|
||||
&prompt.root; <userinput>make cleandir && make obj && make && make install</userinput></screen>
|
||||
|
||||
<para>A <application>sendmail</application>
|
||||
fordítása esetén semmilyen
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
<?xml version="1.0" encoding="iso-8859-2" standalone="no"?>
|
||||
<?xml version="1.0" encoding="iso-8859-2"?>
|
||||
<!--
|
||||
The FreeBSD Documentation Project
|
||||
|
||||
|
@ -282,6 +282,10 @@
|
|||
módszereket a nevük után
|
||||
zárójelben közüljük.</para>
|
||||
|
||||
&chap.mirrors.ftp.index.inc;
|
||||
|
||||
&chap.mirrors.lastmod.inc;
|
||||
|
||||
&chap.mirrors.ftp.inc;
|
||||
</sect1>
|
||||
|
||||
|
@ -2999,6 +3003,10 @@ doc/zh_*</screen>
|
|||
<para>A &os; <link linkend="cvsup">CVSup</link> szerverei az
|
||||
alábbi oldalakon érhetõek el:</para>
|
||||
|
||||
&chap.mirrors.cvsup.index.inc;
|
||||
|
||||
&chap.mirrors.lastmod.inc;
|
||||
|
||||
&chap.mirrors.cvsup.inc;
|
||||
|
||||
</sect2>
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
<?xml version="1.0" encoding="iso-8859-2" standalone="no"?>
|
||||
<?xml version="1.0" encoding="iso-8859-2"?>
|
||||
<!--
|
||||
The FreeBSD Documentation Project
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
<?xml version="1.0" encoding="iso-8859-2" standalone="no"?>
|
||||
<?xml version="1.0" encoding="iso-8859-2"?>
|
||||
<!--
|
||||
The FreeBSD Documentation Project
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
<?xml version="1.0" encoding="iso-8859-2" standalone="no"?>
|
||||
<?xml version="1.0" encoding="iso-8859-2"?>
|
||||
<!--
|
||||
The FreeBSD Documentation Project
|
||||
$FreeBSD$
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
<?xml version="1.0" encoding="iso-8859-2" standalone="no"?>
|
||||
<?xml version="1.0" encoding="iso-8859-2"?>
|
||||
<!--
|
||||
The FreeBSD Documentation Project
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
<?xml version="1.0" encoding="iso-8859-2" standalone="no"?>
|
||||
<?xml version="1.0" encoding="iso-8859-2"?>
|
||||
<!--
|
||||
The FreeBSD Documentation Project
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
<?xml version="1.0" encoding="iso-8859-2" standalone="no"?>
|
||||
<?xml version="1.0" encoding="iso-8859-2"?>
|
||||
<!--
|
||||
$FreeBSD$
|
||||
-->
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
<?xml version="1.0" encoding="iso-8859-2" standalone="no"?>
|
||||
<?xml version="1.0" encoding="iso-8859-2"?>
|
||||
<!--
|
||||
The FreeBSD Documentation Project
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
<?xml version="1.0" encoding="iso-8859-2" standalone="no"?>
|
||||
<?xml version="1.0" encoding="iso-8859-2"?>
|
||||
<!--
|
||||
The FreeBSD Documentation Project
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
<?xml version="1.0" encoding="iso-8859-2" standalone="no"?>
|
||||
<?xml version="1.0" encoding="iso-8859-2"?>
|
||||
<!--
|
||||
The FreeBSD Documentation Project
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
<?xml version="1.0" encoding="iso-8859-2" standalone="no"?>
|
||||
<?xml version="1.0" encoding="iso-8859-2"?>
|
||||
<!--
|
||||
The FreeBSD Documentation Project
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
<?xml version="1.0" encoding="iso-8859-2" standalone="no"?>
|
||||
<?xml version="1.0" encoding="iso-8859-2"?>
|
||||
<!--
|
||||
The Vinum Volume Manager
|
||||
By Greg Lehey (grog at lemis dot com)
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
<?xml version="1.0" encoding="iso-8859-2" standalone="no"?>
|
||||
<?xml version="1.0" encoding="iso-8859-2"?>
|
||||
<!--
|
||||
The FreeBSD Documentation Project
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
<?xml version="1.0" encoding="iso-8859-2" standalone="no"?>
|
||||
<?xml version="1.0" encoding="iso-8859-2"?>
|
||||
<!--
|
||||
The FreeBSD Documentation Project
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
<?xml version="1.0" encoding="iso-8859-2" standalone="no"?>
|
||||
<?xml version="1.0" encoding="iso-8859-2"?>
|
||||
<!--
|
||||
$FreeBSD$
|
||||
-->
|
||||
|
|
|
@ -14,6 +14,9 @@
|
|||
exclude-result-prefixes="cvs"
|
||||
extension-element-prefixes="str">
|
||||
|
||||
<!-- must point to master copy, doc/share/xml/mirrors-master.xsl -->
|
||||
<xsl:import href="../../../share/xml/mirrors-master.xsl" />
|
||||
|
||||
<xsl:variable name="svnKeyword">
|
||||
<xsl:value-of select="normalize-space(//cvs:keyword[1])"/>
|
||||
</xsl:variable>
|
||||
|
@ -23,15 +26,8 @@
|
|||
</xsl:variable>
|
||||
|
||||
<xsl:output type="xml" encoding="iso-8859-2"
|
||||
omit-xml-declaration="yes"
|
||||
indent="yes"/>
|
||||
|
||||
<!-- these params should be externally bound. The values
|
||||
here are not used actually -->
|
||||
<xsl:param name="type" select="''" />
|
||||
<xsl:param name="proto" select="''" />
|
||||
<xsl:param name="target" select="''" />
|
||||
|
||||
<xsl:param name="mirrors-docbook-country-anchor-id" select="translate($target, '/.', '--')" />
|
||||
|
||||
<!--
|
||||
|
@ -39,29 +35,8 @@
|
|||
|
||||
* "mirrors-lastmodified"
|
||||
* "mirrors-docbook-contact"
|
||||
* "mirrors-docbook-country-index-all"
|
||||
* "mirrors-docbook-variablelist"
|
||||
* "mirrors-docbook-itemizedlist"
|
||||
-->
|
||||
|
||||
<xsl:template match="/">
|
||||
<xsl:choose>
|
||||
<xsl:when test="$target = 'handbook/mirrors/chapter.xml'">
|
||||
<xsl:call-template name="mirrors-docbook-country-index-all" />
|
||||
<para>(<xsl:call-template name="mirrors-lastmodified" />)</para>
|
||||
<xsl:call-template name="mirrors-docbook-variablelist" />
|
||||
</xsl:when>
|
||||
<xsl:when test="$target = 'handbook/eresources/chapter.xml'">
|
||||
<xsl:call-template name="mirrors-docbook-country-index-all" />
|
||||
<para>(<xsl:call-template name="mirrors-lastmodified" />)</para>
|
||||
<xsl:call-template name="mirrors-docbook-itemizedlist" />
|
||||
</xsl:when>
|
||||
<xsl:otherwise>
|
||||
<xsl:value-of select="'*** processing error ***'" />
|
||||
</xsl:otherwise>
|
||||
</xsl:choose>
|
||||
</xsl:template>
|
||||
|
||||
<!-- template: "mirrors-docbook-contact" -->
|
||||
|
||||
<xsl:template name="mirrors-docbook-contact">
|
||||
|
@ -77,199 +52,4 @@
|
|||
<xsl:text>Dátum: </xsl:text>
|
||||
<xsl:call-template name="mirrors-lastmodified-utc" />
|
||||
</xsl:template>
|
||||
|
||||
<!-- template: "mirrors-docbook-country-index-all" -->
|
||||
|
||||
<xsl:template name="mirrors-docbook-country-index-all">
|
||||
<para>
|
||||
<xsl:for-each select="mirrors/entry[country/@role = 'primary'
|
||||
and host[@type = $type]]">
|
||||
<xsl:call-template name="mirrors-docbook-country-index">
|
||||
<xsl:with-param name="mirrors-docbook-country-index-without-period" select="'true'" />
|
||||
</xsl:call-template>
|
||||
</xsl:for-each>
|
||||
|
||||
<xsl:for-each select="mirrors/entry[(not(country/@role) or country/@role != 'primary') and
|
||||
host[@type = $type]]">
|
||||
<xsl:sort select="country/@sortkey" data-type="number"/>
|
||||
<xsl:sort select="country" />
|
||||
|
||||
<xsl:call-template name="mirrors-docbook-country-index">
|
||||
<xsl:with-param name="mirrors-docbook-country-index-without-period" select="'false'" />
|
||||
</xsl:call-template>
|
||||
</xsl:for-each>
|
||||
</para>
|
||||
</xsl:template>
|
||||
|
||||
<xsl:template name="mirrors-docbook-country-index">
|
||||
<xsl:param name="mirrors-docbook-country-index-without-period" />
|
||||
<link>
|
||||
<xsl:attribute name="linkend">
|
||||
<xsl:value-of select="concat($mirrors-docbook-country-anchor-id, '-', @id, '-', $type)" />
|
||||
</xsl:attribute>
|
||||
<xsl:value-of select="country" />
|
||||
</link>
|
||||
<xsl:choose>
|
||||
<xsl:when test='$mirrors-docbook-country-index-without-period != "true" and
|
||||
position() = last()'><xsl:text>.</xsl:text></xsl:when>
|
||||
<xsl:otherwise><xsl:text>, </xsl:text></xsl:otherwise>
|
||||
</xsl:choose>
|
||||
</xsl:template>
|
||||
|
||||
<!-- template: "mirrors-docbook-variablelist" -->
|
||||
|
||||
<xsl:template name="mirrors-docbook-variablelist">
|
||||
<variablelist>
|
||||
<xsl:for-each select="mirrors/entry[country/@role = 'primary' and
|
||||
host[@type = $type]]">
|
||||
<xsl:call-template name="mirrors-docbook-variablelist-entry" />
|
||||
</xsl:for-each>
|
||||
|
||||
<xsl:for-each select="mirrors/entry[(not(country/@role) or country/@role != 'primary') and
|
||||
host[@type = $type]]">
|
||||
<xsl:sort select="country/@sortkey" data-type="number"/>
|
||||
<xsl:sort select="country" />
|
||||
|
||||
<xsl:call-template name="mirrors-docbook-variablelist-entry" />
|
||||
</xsl:for-each>
|
||||
</variablelist>
|
||||
</xsl:template>
|
||||
|
||||
<xsl:template name="mirrors-docbook-variablelist-entry">
|
||||
<varlistentry>
|
||||
<term>
|
||||
<anchor>
|
||||
<xsl:attribute name="id">
|
||||
<xsl:value-of select="concat($mirrors-docbook-country-anchor-id, '-', @id, '-', $type)" />
|
||||
</xsl:attribute>
|
||||
</anchor>
|
||||
<xsl:value-of select="country" />
|
||||
</term>
|
||||
|
||||
<listitem>
|
||||
<xsl:if test="$type = 'ftp' and email">
|
||||
<xsl:call-template name="mirrors-docbook-contact">
|
||||
<xsl:with-param name="email" select="email" />
|
||||
</xsl:call-template>
|
||||
</xsl:if>
|
||||
|
||||
<itemizedlist>
|
||||
<xsl:for-each select="host[@type = $type]">
|
||||
<listitem>
|
||||
<para>
|
||||
<xsl:choose>
|
||||
<xsl:when test="url[@proto = $proto]">
|
||||
<xsl:for-each select="url[@proto = $proto]">
|
||||
<ulink>
|
||||
<xsl:attribute name="url"><xsl:value-of select="." /></xsl:attribute>
|
||||
<xsl:value-of select="name" />
|
||||
</ulink>
|
||||
</xsl:for-each>
|
||||
|
||||
<xsl:value-of select="' (ftp'" />
|
||||
|
||||
<xsl:choose>
|
||||
<xsl:when test="url[@proto != $proto]">
|
||||
<xsl:for-each select="url[@proto != $proto]">
|
||||
<xsl:value-of select="' / '" />
|
||||
<xsl:choose>
|
||||
<xsl:when test=". != ''">
|
||||
<ulink>
|
||||
<xsl:attribute name="url"><xsl:value-of select="." /></xsl:attribute>
|
||||
<xsl:value-of select="@proto" />
|
||||
</ulink>
|
||||
</xsl:when>
|
||||
<xsl:otherwise>
|
||||
<xsl:value-of select="@proto" />
|
||||
</xsl:otherwise>
|
||||
</xsl:choose>
|
||||
</xsl:for-each>
|
||||
</xsl:when>
|
||||
</xsl:choose>
|
||||
|
||||
<xsl:value-of select="') '" />
|
||||
</xsl:when>
|
||||
|
||||
<xsl:otherwise>
|
||||
<xsl:value-of select="name" />
|
||||
</xsl:otherwise>
|
||||
</xsl:choose>
|
||||
</para>
|
||||
</listitem>
|
||||
</xsl:for-each>
|
||||
</itemizedlist>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
</xsl:template>
|
||||
|
||||
<!-- template: "mirrors-docbook-itemizedlist" -->
|
||||
|
||||
<xsl:template name="mirrors-docbook-itemizedlist">
|
||||
<itemizedlist>
|
||||
<xsl:for-each select="mirrors/entry[country/@role = 'primary' and
|
||||
host[@type = $type]]">
|
||||
<xsl:call-template name="mirrors-docbook-itemizedlist-listitem" />
|
||||
</xsl:for-each>
|
||||
|
||||
<xsl:for-each select="mirrors/entry[(not(country/@role) or country/@role != 'primary') and
|
||||
host[@type = $type]]">
|
||||
<xsl:sort select="country/@sortkey" data-type="number"/>
|
||||
<xsl:sort select="country" />
|
||||
|
||||
<xsl:call-template name="mirrors-docbook-itemizedlist-listitem" />
|
||||
</xsl:for-each>
|
||||
</itemizedlist>
|
||||
</xsl:template>
|
||||
|
||||
<xsl:template name="mirrors-docbook-itemizedlist-listitem">
|
||||
<listitem>
|
||||
<anchor>
|
||||
<xsl:attribute name="id">
|
||||
<xsl:value-of select="concat($mirrors-docbook-country-anchor-id, '-', @id, '-', $type)" />
|
||||
</xsl:attribute>
|
||||
</anchor>
|
||||
|
||||
<para><xsl:value-of select="country" /></para>
|
||||
|
||||
<itemizedlist>
|
||||
<xsl:for-each select="host[@type = $type]">
|
||||
<listitem>
|
||||
<para>
|
||||
<xsl:choose>
|
||||
<xsl:when test="url[@proto = $proto]">
|
||||
<xsl:for-each select="url[@proto = $proto]">
|
||||
<ulink>
|
||||
<xsl:attribute name="url"><xsl:value-of select="." /></xsl:attribute>
|
||||
<xsl:value-of select="name" />
|
||||
</ulink>
|
||||
</xsl:for-each>
|
||||
|
||||
<xsl:if test="url[
|
||||
contains(@proto, 'ftpv6')
|
||||
or contains(@proto, 'httpv6')
|
||||
or contains(@proto, 'rsyncv6')]">
|
||||
<xsl:text> (IPv6)</xsl:text>
|
||||
</xsl:if>
|
||||
</xsl:when>
|
||||
|
||||
<xsl:otherwise>
|
||||
<xsl:value-of select="name" />
|
||||
</xsl:otherwise>
|
||||
</xsl:choose>
|
||||
</para>
|
||||
</listitem>
|
||||
</xsl:for-each>
|
||||
</itemizedlist>
|
||||
</listitem>
|
||||
</xsl:template>
|
||||
|
||||
<!-- template: "mirrors-lastmodified-utc" -->
|
||||
|
||||
<xsl:template name="mirrors-lastmodified-utc">
|
||||
<xsl:param name="basestr" select="substring-after(substring-after($date, ',v '), ' ')" />
|
||||
<xsl:param name="datestr" select="substring-before($basestr, ' ')" />
|
||||
<xsl:param name="timestr" select="substring-before(substring-after($basestr, ' '), ' ')" />
|
||||
|
||||
<xsl:value-of select="concat($datestr, ' ', $timestr, ' UTC')" />
|
||||
</xsl:template>
|
||||
</xsl:stylesheet>
|
||||
|
|
Loading…
Reference in a new issue