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_echo | |
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_echo')
-rw-r--r-- | modules/pam_echo/README.xml | 29 | ||||
-rw-r--r-- | modules/pam_echo/pam_echo.8.xml | 45 |
2 files changed, 29 insertions, 45 deletions
diff --git a/modules/pam_echo/README.xml b/modules/pam_echo/README.xml index b1556e38..ceecf9ef 100644 --- a/modules/pam_echo/README.xml +++ b/modules/pam_echo/README.xml @@ -1,36 +1,23 @@ -<?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_echo.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_echo.8.xml" xpointer='xpointer(//refnamediv[@id = "pam_echo-name"]/*)'/> + <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="pam_echo.8.xml" xpointer='xpointer(id("pam_echo-name")/*)'/> </title> - </articleinfo> + </info> <section> - <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" - href="pam_echo.8.xml" xpointer='xpointer(//refsect1[@id = "pam_echo-description"]/*)'/> + <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="pam_echo.8.xml" xpointer='xpointer(id("pam_echo-description")/*)'/> </section> <section> - <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" - href="pam_echo.8.xml" xpointer='xpointer(//refsect1[@id = "pam_echo-examples"]/*)'/> + <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="pam_echo.8.xml" xpointer='xpointer(id("pam_echo-examples")/*)'/> </section> <section> - <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" - href="pam_echo.8.xml" xpointer='xpointer(//refsect1[@id = "pam_echo-author"]/*)'/> + <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="pam_echo.8.xml" xpointer='xpointer(id("pam_echo-author")/*)'/> </section> -</article> +</article>
\ No newline at end of file diff --git a/modules/pam_echo/pam_echo.8.xml b/modules/pam_echo/pam_echo.8.xml index ef76b022..07b793d9 100644 --- a/modules/pam_echo/pam_echo.8.xml +++ b/modules/pam_echo/pam_echo.8.xml @@ -1,15 +1,12 @@ -<?xml version="1.0" encoding="ISO-8859-1"?> -<!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook XML V4.1.2//EN" - "http://www.oasis-open.org/docbook/xml/4.1.2/docbookx.dtd"> - -<refentry id='pam_echo'> +<refentry xmlns="http://docbook.org/ns/docbook" version="5.0" xml:id="pam_echo"> <refmeta> <refentrytitle>pam_echo</refentrytitle> <manvolnum>8</manvolnum> - <refmiscinfo class='setdesc'>Linux-PAM Manual</refmiscinfo> + <refmiscinfo class="source">Linux-PAM</refmiscinfo> + <refmiscinfo class="manual">Linux-PAM Manual</refmiscinfo> </refmeta> - <refnamediv id='pam_echo-name'> + <refnamediv xml:id="pam_echo-name"> <refname>pam_echo</refname> <refpurpose>PAM module for printing text messages</refpurpose> </refnamediv> @@ -17,15 +14,15 @@ <!-- body begins here --> <refsynopsisdiv> - <cmdsynopsis id="pam_echo-cmdsynopsis"> + <cmdsynopsis xml:id="pam_echo-cmdsynopsis" sepchar=" "> <command>pam_echo.so</command> - <arg choice="opt"> + <arg choice="opt" rep="norepeat"> file=<replaceable>/path/message</replaceable> </arg> </cmdsynopsis> </refsynopsisdiv> - <refsect1 id='pam_echo-description'> + <refsect1 xml:id="pam_echo-description"> <title>DESCRIPTION</title> <para> The <emphasis>pam_echo</emphasis> PAM module is for printing @@ -35,37 +32,37 @@ </para> <variablelist> <varlistentry> - <term><emphasis>%H</emphasis></term> + <term>%H</term> <listitem> <para>The name of the remote host (PAM_RHOST).</para> </listitem> </varlistentry> <varlistentry> - <term><emphasis>%h</emphasis></term> + <term>%h</term> <listitem> <para>The name of the local host.</para> </listitem> </varlistentry> <varlistentry> - <term><emphasis>%s</emphasis></term> + <term>%s</term> <listitem> <para>The service name (PAM_SERVICE).</para> </listitem> </varlistentry> <varlistentry> - <term><emphasis>%t</emphasis></term> + <term>%t</term> <listitem> <para>The name of the controlling terminal (PAM_TTY).</para> </listitem> </varlistentry> <varlistentry> - <term><emphasis>%U</emphasis></term> + <term>%U</term> <listitem> <para>The remote user name (PAM_RUSER).</para> </listitem> </varlistentry> <varlistentry> - <term><emphasis>%u</emphasis></term> + <term>%u</term> <listitem> <para>The local user name (PAM_USER).</para> </listitem> @@ -79,12 +76,12 @@ </para> </refsect1> - <refsect1 id='pam_echo-options'> + <refsect1 xml:id="pam_echo-options"> <title>OPTIONS</title> <variablelist> <varlistentry> <term> - <option>file=<replaceable>/path/message</replaceable></option> + file=/path/message </term> <listitem> <para> @@ -96,7 +93,7 @@ </variablelist> </refsect1> - <refsect1 id="pam_echo-types"> + <refsect1 xml:id="pam_echo-types"> <title>MODULE TYPES PROVIDED</title> <para> All module types (<option>auth</option>, <option>account</option>, @@ -106,7 +103,7 @@ </refsect1> - <refsect1 id="pam_echo-return_values"> + <refsect1 xml:id="pam_echo-return_values"> <title>RETURN VALUES</title> <variablelist> <varlistentry> @@ -137,7 +134,7 @@ </variablelist> </refsect1> - <refsect1 id='pam_echo-examples'> + <refsect1 xml:id="pam_echo-examples"> <title>EXAMPLES</title> <para> For an example of the use of this module, we show how it may be @@ -150,7 +147,7 @@ password required pam_unix.so </refsect1> - <refsect1 id='pam_echo-see_also'><title>SEE ALSO</title> + <refsect1 xml:id="pam_echo-see_also"><title>SEE ALSO</title> <para> <citerefentry> <refentrytitle>pam.conf</refentrytitle><manvolnum>8</manvolnum> @@ -163,8 +160,8 @@ password required pam_unix.so </citerefentry></para> </refsect1> - <refsect1 id='pam_echo-author'> + <refsect1 xml:id="pam_echo-author"> <title>AUTHOR</title> <para>Thorsten Kukuk <kukuk@thkukuk.de></para> </refsect1> -</refentry> +</refentry>
\ No newline at end of file |