summaryrefslogtreecommitdiff
path: root/lib/README
blob: 4c0d27756aae706a915b093c89c681c48eefd061 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
Libradsec is a RADIUS library for clients doing RADIUS over UDP or
TLS. The goal is to add support for writing servers (and thus proxies)
and to add transports TCP and DTLS.


The canonical pickup point is
http://git.nordu.net/?p=radsecproxy.git;a=shortlog;h=refs/heads/libradsec


The source code is licensed under a 3-clause BSD license. See the
LICENSE file.


Libradsec depends on 
- libconfuse
- libevent2
- openssl (unless configured with --disable-tls)


To compile the library and the examples, do something like

  sh autogen.sh && ./configure && make


There are a couple of options that can be used when configuring. See

  ./configure --help

for the full list. Worth mentioning here is --enable-tls-psk.

If the preprocessor has a hard time finding some of the header files
are, try setting environment variable CPPFLAGS at configure
time. Example:

  CPPFLAGS="-I/usr/local/include" ./configure --enable-tls

If the link editor has trouble finding any of the libraries needed,
try setting environment variable LDFLAGS at configure time. Example:

  LDFLAGS="-L/usr/local/lib" ./configure --enable-tls


The parts of the library which has been tested has been so on Linux
(Debian) with libconfuse (2.7), libevent (2.0.19) and OpenSSL
(1.0.1c).

The file HACKING contains more detailed info on the state of the
various parts of the library.