Merge pull request #724 from pwdng/master

Update redhat spec file
radeapclient - fix send_packet

I spotted two errors in radeapclient.c, introduced in the following
previous commits.
With this fix, radeapclient is now useable again.

1)
Commit: c8a062a112f17a5810d311dc0e0acfe963b2d440
(2014/06/13)

- send_packet(rep, &req);
-
- if (!req) return -1;
+ send_packet(req, &rep);
+ if (!rep) {

Arguments got reversed. Hence segmentation fault later when doing:

for (vp = req->vps; vp != NULL; vp = vpnext) {

Bit of caution on the wording used in radeapclient:
"req" is the request coming FROM the server. (because this is not a
"request" in RADIUS sense, but an EAP-Request within the EAP-SIM
transaction.)
"rep" is the response from the client TO the server (EAP-Response).

2)
Commit: bc3676835c3dcc220ab518d4c3c35962bc0f8be2
(2014/05/02)

In "send_packet":

+ if (!req || !rep || !*rep) return -1;

*rep == NULL is the expected behaviour...
Changed integer type for rlm_eap_{ttls,peap} tunnel types to bool where applicable
Use enums instead of define lists in rlm_eap_peap

But only for the values that are only used internally.
As posted to the list
Merge pull request #726 from herwinw/peap_proxy_as_eap_boolean

Some cleanups in rlm_eap{peap,ttls} headers
Formatting
Remove reply:User-Name only if there's a reply:CUI
Try and make dlopen library search messages clearer
Update cui

Updated comments to clarify the dual purpose of the unlang fragment.
Merge pull request #728 from spaetow/patch-1

Update cui
Fixup Sqlite schema
Formatting
A parent config section might not exist

when dynamically adding a home server.
Use loop index to get description.  Closes #729
Limit which operators can be used with LDAP group comparison

and other minor cleanups
Debug condition is now a fr_cond_t
Cleanup EAP-SIM macros
Remove useless extern declarations
Allow User-Name in CUI reply