aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
authorDavid M. Syzdek <david@syzdek.net>2022-03-17 23:58:40 -0800
committerDavid M. Syzdek <david@syzdek.net>2022-03-17 23:58:40 -0800
commit023c5640ac2803a8b98f486b93c6da1d504ddf43 (patch)
treec68e3c28d0a16ed78e377f839c0a7301c719cdfb
parentaba83b7f228d46b4da060160b16bfe1fbbc17e5e (diff)
downloadtinyrad-023c5640ac2803a8b98f486b93c6da1d504ddf43.tar.gz
tinyrad-023c5640ac2803a8b98f486b93c6da1d504ddf43.tar.bz2
tinyrad-023c5640ac2803a8b98f486b93c6da1d504ddf43.tar.xz
tinyrad-023c5640ac2803a8b98f486b93c6da1d504ddf43.zip
doc: adding stub for tinyrad.conf.5
-rw-r--r--Makefile.am5
-rw-r--r--doc/mans/tinyrad.conf.5.in110
2 files changed, 115 insertions, 0 deletions
diff --git a/Makefile.am b/Makefile.am
index 00c1662..612de70 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -135,6 +135,7 @@ EXTRA_MANS =
135EXTRA_DIST = DeveloperNotes.md \ 135EXTRA_DIST = DeveloperNotes.md \
136 $(doc_DATA) \ 136 $(doc_DATA) \
137 doc/mans/tinyrad.3.in \ 137 doc/mans/tinyrad.3.in \
138 doc/mans/tinyrad.conf.5.in \
138 doc/mans/tinyrad_array.3.in \ 139 doc/mans/tinyrad_array.3.in \
139 doc/mans/tinyrad_error.3.in \ 140 doc/mans/tinyrad_error.3.in \
140 doc/mans/tinyrad_options.3.in \ 141 doc/mans/tinyrad_options.3.in \
@@ -219,6 +220,7 @@ if ENABLE_TINYRADPROXY
219endif 220endif
220if ENABLE_TINYRAD_COMMON 221if ENABLE_TINYRAD_COMMON
221 doc_DATA += doc/tinyrad.conf-example 222 doc_DATA += doc/tinyrad.conf-example
223 man_MANS += doc/mans/tinyrad.conf.5
222 man_MANS += doc/mans/tinyrad-strings.5 224 man_MANS += doc/mans/tinyrad-strings.5
223endif 225endif
224 226
@@ -443,6 +445,9 @@ include $(srcdir)/@bindletools_srcdir@/build-aux/makefile-version.am
443doc/mans/tinyrad.3: Makefile $(srcdir)/doc/mans/tinyrad.3.in 445doc/mans/tinyrad.3: Makefile $(srcdir)/doc/mans/tinyrad.3.in
444 @$(do_subst_dt) 446 @$(do_subst_dt)
445 447
448doc/mans/tinyrad.conf.5: Makefile $(srcdir)/doc/mans/tinyrad.conf.5.in
449 @$(do_subst_dt)
450
446doc/mans/tinyrad_array.3: Makefile $(srcdir)/doc/mans/tinyrad_array.3.in 451doc/mans/tinyrad_array.3: Makefile $(srcdir)/doc/mans/tinyrad_array.3.in
447 @$(do_subst_dt) 452 @$(do_subst_dt)
448 453
diff --git a/doc/mans/tinyrad.conf.5.in b/doc/mans/tinyrad.conf.5.in
new file mode 100644
index 0000000..eaf1405
--- /dev/null
+++ b/doc/mans/tinyrad.conf.5.in
@@ -0,0 +1,110 @@
1.\"
2.\" Tiny RADIUS Client Library
3.\" Copyright (C) 2022 David M. Syzdek <david@syzdek.net>.
4.\" All rights reserved.
5.\"
6.\" Redistribution and use in source and binary forms, with or without
7.\" modification, are permitted provided that the following conditions are
8.\" met:
9.\"
10.\" * Redistributions of source code must retain the above copyright
11.\" notice, this list of conditions and the following disclaimer.
12.\" * Redistributions in binary form must reproduce the above copyright
13.\" notice, this list of conditions and the following disclaimer in the
14.\" documentation and/or other materials provided with the distribution.
15.\" * Neither the name of David M. Syzdek nor the
16.\" names of its contributors may be used to endorse or promote products
17.\" derived from this software without specific prior written permission.
18.\"
19.\" THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS
20.\" IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO,
21.\" THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
22.\" PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL DAVID M. SYZDEK BE LIABLE FOR
23.\" ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
24.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
25.\" SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
26.\" CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
27.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
28.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
29.\" SUCH DAMAGE.
30.\"
31.TH "TINYRAD.CONF" "5" "@RELEASE_MONTH@" "@PACKAGE_NAME@" "Library Functions Manual"
32.SH NAME
33tinyrad.conf - Tiny RADIUS configuration file/environment variables
34.PP
35.SH DESCRIPTION
36If the environment variable \fBTINYRADNOINIT\fR is defined, all defaulting is
37disabled. System-wide defaults for TinyRad clients are set in
38\fItinyrad.conf\fR. User specific defaults are set in \fItinyradrc\fR
39or \fI.tinyradrc\fR. Directory specific defaults are set in the
40\fItinyradrc\fR in the current working directory.
41.PP
42.SH OPTIONS
43.TP
44\fBBIND_ADDRESS\fR \fI<string>\fR
45To be written.
46.TP
47\fBNETWORK_TIMEOUT\fR \fI<integer>\fR
48To be written.
49.TP
50\fBSECRET\fR \fI<string>\fR
51To be written.
52.TP
53\fBSECRET_FILE\fR \fI<file>\fR
54To be written.
55.TP
56\fBTIMEOUT\fR \fI<integer>\fR
57To be written.
58.TP
59\fBURI\fR \fI<uri>\fR
60To be written.
61.PP
62.SH DICTIONARY OPTIONS
63.TP
64\fBBUILTIN_DICTIONARY\fR {\fIyes\fR|\fIno\fR}
65To be written.
66.TP
67\fBDICTIONARY\fR \fI<file>\fR
68To be written.
69.TP
70\fBPATHS\fR \fI<paths>\fR
71To be written.
72.SH ENVIRONMENT VARIABLES
73.TP
74.I TINYRADNOINIT
75disable all defaulting
76.TP
77.I TINYRADCONF
78path to system-wide configuration file
79.TP
80.I TINYRADRC
81basename f the tinyrc file in $HOME or $CWD
82.TP
83.I TINYRAD_<option-name>
84Set <option-name> as if set in tinyrad.conf
85.SH FILES
86The configuration files have the following precedence.
87.TP
88.I $CWD/tinyradrc
89Directory specific defaults for TinyRad clients
90.TP
91.I $HOME/tinyradrc, $HOME/.tinyradrc
92User specific defaults for TinyRad clients
93.TP
94.I @sysconfdir@/tinyrad.conf
95System-wide defaults for TinyRad clients
96.PP
97.SH SEE ALSO
98.BR tinyrad (1),
99.BR tinyrad (3),
100.BR tinyrad-dict (1),
101.BR tinyrad-strings (5),
102.PP
103.SH AUTHOR
104David M. Syzdek <david@syzdek.net>
105.PP
106.SH ACKNOWLEDGEMENTS
107\fB@PACKAGE_NAME@\fR is developed and maintained by David M. Syzdek
108<david@syzdek.net>.
109
110.\" end of man page