From cfd33dbd4d1decc3e8bd6ec5ac4e012e2c54e75f Mon Sep 17 00:00:00 2001 From: Nikolai Kondrashov Date: Thu, 23 Feb 2017 12:00:49 +0100 Subject: [PATCH] Remove mentions of Auth-Type = System from docs --- ...ntions-of-Auth-Type-System-from-docs.patch | 54 +++++++++++++++++++ freeradius.spec | 3 ++ 2 files changed, 57 insertions(+) create mode 100644 freeradius-Remove-mentions-of-Auth-Type-System-from-docs.patch diff --git a/freeradius-Remove-mentions-of-Auth-Type-System-from-docs.patch b/freeradius-Remove-mentions-of-Auth-Type-System-from-docs.patch new file mode 100644 index 0000000..ed17c79 --- /dev/null +++ b/freeradius-Remove-mentions-of-Auth-Type-System-from-docs.patch @@ -0,0 +1,54 @@ +From 76cfdaac92ac3cf49f3a360a8bea06e4531f08e3 Mon Sep 17 00:00:00 2001 +From: Nikolai Kondrashov +Date: Wed, 22 Feb 2017 13:36:05 +0100 +Subject: [PATCH] Remove mentions of Auth-Type = System from docs + +Remove mentions of "Auth-Type = System" support from the manpages, +as it is removed. + +(cherry picked from commit f3717e030657cdc8bc75dedbb4de1175b9fc2c91) +--- + man/man5/rlm_unix.5 | 3 +-- + man/man5/users.5 | 12 ------------ + 2 files changed, 1 insertion(+), 14 deletions(-) + +diff --git a/man/man5/rlm_unix.5 b/man/man5/rlm_unix.5 +index d1b838eee..38668e0ff 100644 +--- a/man/man5/rlm_unix.5 ++++ b/man/man5/rlm_unix.5 +@@ -19,8 +19,7 @@ password file, and allows the server to use them for authentication. + The module also provides FreeRADIUS an interface into a radwtmp file + (used by "radlast") when added to the accounting section. + .PP +-The \fIrlm_unix\fP module does provides the functionality for +-"Auth-Type = System". The module should be listed in the ++The \fIrlm_unix\fP module should be listed in the + "authenticate" section. Please see the default \fIradiusd.conf\fP + shipped with the server for an example of the correct usage of this + module. +diff --git a/man/man5/users.5 b/man/man5/users.5 +index deae8a9b1..4c6336639 100644 +--- a/man/man5/users.5 ++++ b/man/man5/users.5 +@@ -169,18 +169,6 @@ reply items, so the reply will be empty. + .RE + + .DS +-DEFAULT Auth-Type = System +-.br +- Fall-Through = Yes +- +-.DE +-.RS +-For all users reaching this entry, perform authentication against the +-system, unless Auth-Type has already been set. Also, process any +-following entries which may match. +-.RE +- +-.DS + DEFAULT Service-Type == Framed-User, Framed-Protocol == PPP + .br + Service-Type = Framed-User, +-- +2.11.0 + diff --git a/freeradius.spec b/freeradius.spec index 7319097..6937ff8 100644 --- a/freeradius.spec +++ b/freeradius.spec @@ -28,6 +28,7 @@ Patch4: freeradius-Support-OpenSSL-v1.1.0.patch Patch5: freeradius-suid-down-after-fchown.-Fixes-1914.patch Patch6: freeradius-Handle-hostnames-in-fr_pton4-6.patch Patch7: freeradius-Rename-lt_-to-fr_-.-Fixes-1277.patch +Patch8: freeradius-Remove-mentions-of-Auth-Type-System-from-docs.patch %global docdir %{?_pkgdocdir}%{!?_pkgdocdir:%{_docdir}/%{name}-%{version}} @@ -200,6 +201,7 @@ This plugin provides the REST support for the FreeRADIUS server project. %patch5 -p1 %patch6 -p1 %patch7 -p1 +%patch8 -p1 %build # Force compile/link options, extra security for network facing daemon @@ -806,6 +808,7 @@ exit 0 - Fix output to log file specified with -l option. - Fix long hostnames interpreted as IP addresses. - Avoid clashes with libtool library symbols. +- Remove mentions of Auth-Type = System from docs. * Mon Feb 20 2017 Nikolai Kondrashov - 3.0.12-2 - Fix three cases of comparing pointers to zero characters