summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorLinus Nordberg <linus@nordberg.se>2013-05-08 21:17:54 +0200
committerLinus Nordberg <linus@nordberg.se>2013-05-08 21:17:54 +0200
commit8d8356c0b2596a73f5593d3519040df77293ac22 (patch)
tree745065d7a7cba203a95fc36e84216011b0ddccd7 /lib
parent6d4cfa75426dfdc28dcc97c9c3d532a417ad1194 (diff)
Add a few bits to README.
Diffstat (limited to 'lib')
-rw-r--r--lib/README31
1 files changed, 23 insertions, 8 deletions
diff --git a/lib/README b/lib/README
index 37a5d16..111c570 100644
--- a/lib/README
+++ b/lib/README
@@ -1,16 +1,17 @@
-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.
+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 LICENSE.
+The source code is licensed under a 3-clause BSD license. See the
+LICENSE file.
-libradsec depends on
+Libradsec depends on
- libconfuse
- libevent2
- openssl (if configured with --enable-tls)
@@ -18,10 +19,24 @@ libradsec depends on
To compile the library and the examples, do something like
- sh autogen.sh && ./configure && make
+ sh autogen.sh && ./configure && make
-If any of the libraries are not found, try setting environment
-variable LDFLAGS at configure time like so:
+
+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 and
+--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