diff options
author | Stefan Schubert <schubi@suse.de> | 2022-10-25 16:29:41 +0200 |
---|---|---|
committer | Thorsten Kukuk <5908016+thkukuk@users.noreply.github.com> | 2022-12-16 10:31:37 +0100 |
commit | cf2fc5ff7b4a8555fda2a5ebe5f6ab0e45c22996 (patch) | |
tree | 28c25df584fc32ba8f02af48c249c987be91e9ac /modules/pam_rhosts | |
parent | 6135c45347b6173e305fda66eef138bde693b795 (diff) | |
download | pam-cf2fc5ff7b4a8555fda2a5ebe5f6ab0e45c22996.tar.gz pam-cf2fc5ff7b4a8555fda2a5ebe5f6ab0e45c22996.tar.bz2 pam-cf2fc5ff7b4a8555fda2a5ebe5f6ab0e45c22996.zip |
doc: Update PAM documentation from DockBook 4 to DocBook 5
Changed files
--------------
Make.xml.rules.in:
- Using RNG file instead of DTD file for checking XML files.
- Taking the correct stylesheet for README files.
doc/sag/Makefile.am, doc/adg/Makefile.am, doc/mwg/Makefile.am:
- Using RNG file instead of DTD file for checking XML files.
configure.ac:
- Adding a new option for selecting RNG check file (-enable-docbook-rng)
- Switching stylesheets to docbook 5
- Checking DocBook 5 environment instead of DocBook 4 environment
*.xml:
Update from DockBook 4 to DocBook 5
Diffstat (limited to 'modules/pam_rhosts')
-rw-r--r-- | modules/pam_rhosts/README.xml | 32 | ||||
-rw-r--r-- | modules/pam_rhosts/pam_rhosts.8.xml | 35 |
2 files changed, 25 insertions, 42 deletions
diff --git a/modules/pam_rhosts/README.xml b/modules/pam_rhosts/README.xml index 5d3307e7..2345dffd 100644 --- a/modules/pam_rhosts/README.xml +++ b/modules/pam_rhosts/README.xml @@ -1,41 +1,27 @@ -<?xml version="1.0" encoding='UTF-8'?> -<!DOCTYPE article PUBLIC "-//OASIS//DTD DocBook XML V4.3//EN" -"http://www.docbook.org/xml/4.3/docbookx.dtd" -[ -<!-- -<!ENTITY pamaccess SYSTEM "pam_rhosts.8.xml"> ---> -]> +<article xmlns="http://docbook.org/ns/docbook" version="5.0"> -<article> - - <articleinfo> + <info> <title> - <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" - href="pam_rhosts.8.xml" xpointer='xpointer(//refnamediv[@id = "pam_rhosts-name"]/*)'/> + <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="pam_rhosts.8.xml" xpointer='xpointer(id("pam_rhosts-name")/*)'/> </title> - </articleinfo> + </info> <section> - <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" - href="pam_rhosts.8.xml" xpointer='xpointer(//refsect1[@id = "pam_rhosts-description"]/*)'/> + <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="pam_rhosts.8.xml" xpointer='xpointer(id("pam_rhosts-description")/*)'/> </section> <section> - <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" - href="pam_rhosts.8.xml" xpointer='xpointer(//refsect1[@id = "pam_rhosts-options"]/*)'/> + <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="pam_rhosts.8.xml" xpointer='xpointer(id("pam_rhosts-options")/*)'/> </section> <section> - <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" - href="pam_rhosts.8.xml" xpointer='xpointer(//refsect1[@id = "pam_rhosts-examples"]/*)'/> + <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="pam_rhosts.8.xml" xpointer='xpointer(id("pam_rhosts-examples")/*)'/> </section> <section> - <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" - href="pam_rhosts.8.xml" xpointer='xpointer(//refsect1[@id = "pam_rhosts-author"]/*)'/> + <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="pam_rhosts.8.xml" xpointer='xpointer(id("pam_rhosts-author")/*)'/> </section> -</article> +</article>
\ No newline at end of file diff --git a/modules/pam_rhosts/pam_rhosts.8.xml b/modules/pam_rhosts/pam_rhosts.8.xml index eb96371d..b8a5c1cb 100644 --- a/modules/pam_rhosts/pam_rhosts.8.xml +++ b/modules/pam_rhosts/pam_rhosts.8.xml @@ -1,27 +1,24 @@ -<?xml version="1.0" encoding='UTF-8'?> -<!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook XML V4.3//EN" - "http://www.oasis-open.org/docbook/xml/4.3/docbookx.dtd"> - -<refentry id="pam_rhosts"> +<refentry xmlns="http://docbook.org/ns/docbook" version="5.0" xml:id="pam_rhosts"> <refmeta> <refentrytitle>pam_rhosts</refentrytitle> <manvolnum>8</manvolnum> - <refmiscinfo class="sectdesc">Linux-PAM Manual</refmiscinfo> + <refmiscinfo class="source">Linux-PAM</refmiscinfo> + <refmiscinfo class="manual">Linux-PAM Manual</refmiscinfo> </refmeta> - <refnamediv id="pam_rhosts-name"> + <refnamediv xml:id="pam_rhosts-name"> <refname>pam_rhosts</refname> <refpurpose>The rhosts PAM module</refpurpose> </refnamediv> <refsynopsisdiv> - <cmdsynopsis id="pam_rhosts-cmdsynopsis"> + <cmdsynopsis xml:id="pam_rhosts-cmdsynopsis" sepchar=" "> <command>pam_rhosts.so</command> </cmdsynopsis> </refsynopsisdiv> - <refsect1 id="pam_rhosts-description"> + <refsect1 xml:id="pam_rhosts-description"> <title>DESCRIPTION</title> @@ -53,12 +50,12 @@ </para> </refsect1> - <refsect1 id="pam_rhosts-options"> + <refsect1 xml:id="pam_rhosts-options"> <title>OPTIONS</title> <variablelist> <varlistentry> <term> - <option>debug</option> + debug </term> <listitem> <para> @@ -68,7 +65,7 @@ </varlistentry> <varlistentry> <term> - <option>silent</option> + silent </term> <listitem> <para> @@ -78,7 +75,7 @@ </varlistentry> <varlistentry> <term> - <option>superuser=<replaceable>account</replaceable></option> + superuser=account </term> <listitem> <para> @@ -89,14 +86,14 @@ </variablelist> </refsect1> - <refsect1 id="pam_rhosts-types"> + <refsect1 xml:id="pam_rhosts-types"> <title>MODULE TYPES PROVIDED</title> <para> Only the <option>auth</option> module type is provided. </para> </refsect1> - <refsect1 id='pam_rhosts-return_values'> + <refsect1 xml:id="pam_rhosts-return_values"> <title>RETURN VALUES</title> <variablelist> <varlistentry> @@ -120,7 +117,7 @@ </variablelist> </refsect1> - <refsect1 id='pam_rhosts-examples'> + <refsect1 xml:id="pam_rhosts-examples"> <title>EXAMPLES</title> <para> To grant a remote user access by <filename>/etc/hosts.equiv</filename> @@ -137,7 +134,7 @@ auth required pam_unix.so </para> </refsect1> - <refsect1 id='pam_rhosts-see_also'> + <refsect1 xml:id="pam_rhosts-see_also"> <title>SEE ALSO</title> <para> <citerefentry> @@ -161,11 +158,11 @@ auth required pam_unix.so </para> </refsect1> - <refsect1 id='pam_rhosts-author'> + <refsect1 xml:id="pam_rhosts-author"> <title>AUTHOR</title> <para> pam_rhosts was written by Thorsten Kukuk <kukuk@thkukuk.de> </para> </refsect1> -</refentry> +</refentry>
\ No newline at end of file |