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_faildelay | |
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_faildelay')
-rw-r--r-- | modules/pam_faildelay/README.xml | 32 | ||||
-rw-r--r-- | modules/pam_faildelay/pam_faildelay.8.xml | 37 |
2 files changed, 26 insertions, 43 deletions
diff --git a/modules/pam_faildelay/README.xml b/modules/pam_faildelay/README.xml index 64d4accc..8530a3d0 100644 --- a/modules/pam_faildelay/README.xml +++ b/modules/pam_faildelay/README.xml @@ -1,41 +1,27 @@ -<?xml version="1.0" encoding='UTF-8'?> -<!DOCTYPE article PUBLIC "-//OASIS//DTD DocBook XML V4.4//EN" -"http://www.docbook.org/xml/4.4/docbookx.dtd" -[ -<!-- -<!ENTITY pamaccess SYSTEM "pam_faildelay.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_faildelay.8.xml" xpointer='xpointer(//refnamediv[@id = "pam_faildelay-name"]/*)'/> + <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="pam_faildelay.8.xml" xpointer='xpointer(id("pam_faildelay-name")/*)'/> </title> - </articleinfo> + </info> <section> - <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" - href="pam_faildelay.8.xml" xpointer='xpointer(//refsect1[@id = "pam_faildelay-description"]/*)'/> + <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="pam_faildelay.8.xml" xpointer='xpointer(id("pam_faildelay-description")/*)'/> </section> <section> - <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" - href="pam_faildelay.8.xml" xpointer='xpointer(//refsect1[@id = "pam_faildelay-options"]/*)'/> + <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="pam_faildelay.8.xml" xpointer='xpointer(id("pam_faildelay-options")/*)'/> </section> <section> - <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" - href="pam_faildelay.8.xml" xpointer='xpointer(//refsect1[@id = "pam_faildelay-examples"]/*)'/> + <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="pam_faildelay.8.xml" xpointer='xpointer(id("pam_faildelay-examples")/*)'/> </section> <section> - <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" - href="pam_faildelay.8.xml" xpointer='xpointer(//refsect1[@id = "pam_faildelay-author"]/*)'/> + <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="pam_faildelay.8.xml" xpointer='xpointer(id("pam_faildelay-author")/*)'/> </section> -</article> +</article>
\ No newline at end of file diff --git a/modules/pam_faildelay/pam_faildelay.8.xml b/modules/pam_faildelay/pam_faildelay.8.xml index 57107203..c31b5076 100644 --- a/modules/pam_faildelay/pam_faildelay.8.xml +++ b/modules/pam_faildelay/pam_faildelay.8.xml @@ -1,33 +1,30 @@ -<?xml version="1.0" encoding='UTF-8'?> -<!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook XML V4.4//EN" - "http://www.oasis-open.org/docbook/xml/4.4/docbookx.dtd"> - -<refentry id="pam_faildelay"> +<refentry xmlns="http://docbook.org/ns/docbook" version="5.0" xml:id="pam_faildelay"> <refmeta> <refentrytitle>pam_faildelay</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_faildelay-name"> + <refnamediv xml:id="pam_faildelay-name"> <refname>pam_faildelay</refname> <refpurpose>Change the delay on failure per-application</refpurpose> </refnamediv> <refsynopsisdiv> - <cmdsynopsis id="pam_faildelay-cmdsynopsis"> + <cmdsynopsis xml:id="pam_faildelay-cmdsynopsis" sepchar=" "> <command>pam_faildelay.so</command> - <arg choice="opt"> + <arg choice="opt" rep="norepeat"> debug </arg> - <arg choice="opt"> + <arg choice="opt" rep="norepeat"> delay=<replaceable>microseconds</replaceable> </arg> </cmdsynopsis> </refsynopsisdiv> - <refsect1 id="pam_faildelay-description"> + <refsect1 xml:id="pam_faildelay-description"> <title>DESCRIPTION</title> @@ -41,13 +38,13 @@ </para> </refsect1> - <refsect1 id="pam_faildelay-options"> + <refsect1 xml:id="pam_faildelay-options"> <title>OPTIONS</title> <variablelist> <varlistentry> <term> - <option>debug</option> + debug </term> <listitem> <para> @@ -57,7 +54,7 @@ </varlistentry> <varlistentry> <term> - <option>delay=<replaceable>N</replaceable></option> + delay=N </term> <listitem> <para> @@ -68,14 +65,14 @@ </variablelist> </refsect1> - <refsect1 id="pam_faildelay-types"> + <refsect1 xml:id="pam_faildelay-types"> <title>MODULE TYPES PROVIDED</title> <para> Only the <option>auth</option> module type is provided. </para> </refsect1> - <refsect1 id='pam_faildelay-return_values'> + <refsect1 xml:id="pam_faildelay-return_values"> <title>RETURN VALUES</title> <variablelist> <varlistentry> @@ -97,7 +94,7 @@ </variablelist> </refsect1> - <refsect1 id='pam_faildelay-examples'> + <refsect1 xml:id="pam_faildelay-examples"> <title>EXAMPLES</title> <para> The following example will set the delay on failure to @@ -108,7 +105,7 @@ auth optional pam_faildelay.so delay=10000000 </para> </refsect1> - <refsect1 id='pam_faildelay-see_also'> + <refsect1 xml:id="pam_faildelay-see_also"> <title>SEE ALSO</title> <para> <citerefentry> @@ -126,11 +123,11 @@ auth optional pam_faildelay.so delay=10000000 </para> </refsect1> - <refsect1 id='pam_faildelay-author'> + <refsect1 xml:id="pam_faildelay-author"> <title>AUTHOR</title> <para> pam_faildelay was written by Darren Tucker <dtucker@zip.com.au>. </para> </refsect1> -</refentry> +</refentry>
\ No newline at end of file |