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_permit | |
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_permit')
-rw-r--r-- | modules/pam_permit/README.xml | 32 | ||||
-rw-r--r-- | modules/pam_permit/pam_permit.8.xml | 29 |
2 files changed, 22 insertions, 39 deletions
diff --git a/modules/pam_permit/README.xml b/modules/pam_permit/README.xml index acb38b51..c08425f8 100644 --- a/modules/pam_permit/README.xml +++ b/modules/pam_permit/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_permit.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_permit.8.xml" xpointer='xpointer(//refnamediv[@id = "pam_permit-name"]/*)'/> + <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="pam_permit.8.xml" xpointer='xpointer(id("pam_permit-name")/*)'/> </title> - </articleinfo> + </info> <section> - <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" - href="pam_permit.8.xml" xpointer='xpointer(//refsect1[@id = "pam_permit-description"]/*)'/> + <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="pam_permit.8.xml" xpointer='xpointer(id("pam_permit-description")/*)'/> </section> <section> - <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" - href="pam_permit.8.xml" xpointer='xpointer(//refsect1[@id = "pam_permit-options"]/*)'/> + <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="pam_permit.8.xml" xpointer='xpointer(id("pam_permit-options")/*)'/> </section> <section> - <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" - href="pam_permit.8.xml" xpointer='xpointer(//refsect1[@id = "pam_permit-examples"]/*)'/> + <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="pam_permit.8.xml" xpointer='xpointer(id("pam_permit-examples")/*)'/> </section> <section> - <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" - href="pam_permit.8.xml" xpointer='xpointer(//refsect1[@id = "pam_permit-author"]/*)'/> + <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="pam_permit.8.xml" xpointer='xpointer(id("pam_permit-author")/*)'/> </section> -</article> +</article>
\ No newline at end of file diff --git a/modules/pam_permit/pam_permit.8.xml b/modules/pam_permit/pam_permit.8.xml index 6bb49658..0634e5eb 100644 --- a/modules/pam_permit/pam_permit.8.xml +++ b/modules/pam_permit/pam_permit.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_permit"> +<refentry xmlns="http://docbook.org/ns/docbook" version="5.0" xml:id="pam_permit"> <refmeta> <refentrytitle>pam_permit</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_permit-name"> + <refnamediv xml:id="pam_permit-name"> <refname>pam_permit</refname> <refpurpose>The promiscuous module</refpurpose> </refnamediv> <refsynopsisdiv> - <cmdsynopsis id="pam_permit-cmdsynopsis"> + <cmdsynopsis xml:id="pam_permit-cmdsynopsis" sepchar=" "> <command>pam_permit.so</command> </cmdsynopsis> </refsynopsisdiv> - <refsect1 id="pam_permit-description"> + <refsect1 xml:id="pam_permit-description"> <title>DESCRIPTION</title> @@ -41,13 +38,13 @@ </para> </refsect1> - <refsect1 id="pam_permit-options"> + <refsect1 xml:id="pam_permit-options"> <title>OPTIONS</title> <para> This module does not recognise any options.</para> </refsect1> - <refsect1 id="pam_permit-types"> + <refsect1 xml:id="pam_permit-types"> <title>MODULE TYPES PROVIDED</title> <para> The <option>auth</option>, <option>account</option>, @@ -56,7 +53,7 @@ </para> </refsect1> - <refsect1 id='pam_permit-return_values'> + <refsect1 xml:id="pam_permit-return_values"> <title>RETURN VALUES</title> <variablelist> <varlistentry> @@ -70,7 +67,7 @@ </variablelist> </refsect1> - <refsect1 id='pam_permit-examples'> + <refsect1 xml:id="pam_permit-examples"> <title>EXAMPLES</title> <para> Add this line to your other login entries to disable account @@ -81,7 +78,7 @@ account required pam_permit.so </para> </refsect1> - <refsect1 id='pam_permit-see_also'> + <refsect1 xml:id="pam_permit-see_also"> <title>SEE ALSO</title> <para> <citerefentry> @@ -96,11 +93,11 @@ account required pam_permit.so </para> </refsect1> - <refsect1 id='pam_permit-author'> + <refsect1 xml:id="pam_permit-author"> <title>AUTHOR</title> <para> pam_permit was written by Andrew G. Morgan, <morgan@kernel.org>. </para> </refsect1> -</refentry> +</refentry>
\ No newline at end of file |