From: Linus Nordberg Date: Wed, 5 Feb 2014 10:10:02 +0000 (+0100) Subject: Move lib to the root. X-Git-Tag: debian/0.0.5-1~11^2 X-Git-Url: http://www.project-moonshot.org/gitweb/?p=libradsec.git;a=commitdiff_plain;h=3d954bfd2f658ac05a0f20a1241738ed3e3fdd28 Move lib to the root. --- diff --git a/lib/.gitignore b/.gitignore similarity index 100% rename from lib/.gitignore rename to .gitignore diff --git a/lib/CHANGES b/CHANGES similarity index 100% rename from lib/CHANGES rename to CHANGES diff --git a/lib/Doxyfile b/Doxyfile similarity index 100% rename from lib/Doxyfile rename to Doxyfile diff --git a/lib/HACKING b/HACKING similarity index 100% rename from lib/HACKING rename to HACKING diff --git a/lib/LICENSE b/LICENSE similarity index 100% rename from lib/LICENSE rename to LICENSE diff --git a/lib/Makefile.am b/Makefile.am similarity index 100% rename from lib/Makefile.am rename to Makefile.am diff --git a/README b/README index 729f3bb..4c0d277 100644 --- a/README +++ b/README @@ -1,7 +1,48 @@ -This is libradsec, not radsecproxy, sharing repository with -radsecproxy. +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. -For radsecproxy, see branch 'master'. -The source code can be found at -http://git.nordu.net/?p=radsecproxy.git;a=summary . +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. diff --git a/lib/autogen.sh b/autogen.sh similarity index 100% rename from lib/autogen.sh rename to autogen.sh diff --git a/lib/avp.c b/avp.c similarity index 100% rename from lib/avp.c rename to avp.c diff --git a/lib/compat.c b/compat.c similarity index 100% rename from lib/compat.c rename to compat.c diff --git a/lib/compat.h b/compat.h similarity index 100% rename from lib/compat.h rename to compat.h diff --git a/lib/conf.c b/conf.c similarity index 100% rename from lib/conf.c rename to conf.c diff --git a/lib/configure.ac b/configure.ac similarity index 100% rename from lib/configure.ac rename to configure.ac diff --git a/lib/conn.c b/conn.c similarity index 100% rename from lib/conn.c rename to conn.c diff --git a/lib/conn.h b/conn.h similarity index 100% rename from lib/conn.h rename to conn.h diff --git a/lib/debug.c b/debug.c similarity index 100% rename from lib/debug.c rename to debug.c diff --git a/lib/debug.h b/debug.h similarity index 100% rename from lib/debug.h rename to debug.h diff --git a/lib/err.c b/err.c similarity index 100% rename from lib/err.c rename to err.c diff --git a/lib/err.h b/err.h similarity index 100% rename from lib/err.h rename to err.h diff --git a/lib/event.c b/event.c similarity index 100% rename from lib/event.c rename to event.c diff --git a/lib/event.h b/event.h similarity index 100% rename from lib/event.h rename to event.h diff --git a/lib/examples/Makefile.am b/examples/Makefile.am similarity index 100% rename from lib/examples/Makefile.am rename to examples/Makefile.am diff --git a/lib/examples/blocking.c b/examples/blocking.c similarity index 100% rename from lib/examples/blocking.c rename to examples/blocking.c diff --git a/lib/examples/blocking.h b/examples/blocking.h similarity index 100% rename from lib/examples/blocking.h rename to examples/blocking.h diff --git a/lib/examples/client-blocking.c b/examples/client-blocking.c similarity index 100% rename from lib/examples/client-blocking.c rename to examples/client-blocking.c diff --git a/lib/examples/client-psk.conf b/examples/client-psk.conf similarity index 100% rename from lib/examples/client-psk.conf rename to examples/client-psk.conf diff --git a/lib/examples/client.conf b/examples/client.conf similarity index 100% rename from lib/examples/client.conf rename to examples/client.conf diff --git a/lib/include/Makefile.am b/include/Makefile.am similarity index 100% rename from lib/include/Makefile.am rename to include/Makefile.am diff --git a/lib/include/radsec/.gitignore b/include/radsec/.gitignore similarity index 100% rename from lib/include/radsec/.gitignore rename to include/radsec/.gitignore diff --git a/lib/include/radsec/radsec-impl.h b/include/radsec/radsec-impl.h similarity index 100% rename from lib/include/radsec/radsec-impl.h rename to include/radsec/radsec-impl.h diff --git a/lib/include/radsec/radsec.h b/include/radsec/radsec.h similarity index 100% rename from lib/include/radsec/radsec.h rename to include/radsec/radsec.h diff --git a/lib/include/radsec/request-impl.h b/include/radsec/request-impl.h similarity index 100% rename from lib/include/radsec/request-impl.h rename to include/radsec/request-impl.h diff --git a/lib/include/radsec/request.h b/include/radsec/request.h similarity index 100% rename from lib/include/radsec/request.h rename to include/radsec/request.h diff --git a/lib/README b/lib/README deleted file mode 100644 index 4c0d277..0000000 --- a/lib/README +++ /dev/null @@ -1,48 +0,0 @@ -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. diff --git a/lib/libradsec.spec.in b/libradsec.spec.in similarity index 100% rename from lib/libradsec.spec.in rename to libradsec.spec.in diff --git a/lib/md5.c b/md5.c similarity index 100% rename from lib/md5.c rename to md5.c diff --git a/lib/md5.h b/md5.h similarity index 100% rename from lib/md5.h rename to md5.h diff --git a/lib/packet.c b/packet.c similarity index 100% rename from lib/packet.c rename to packet.c diff --git a/lib/packet.h b/packet.h similarity index 100% rename from lib/packet.h rename to packet.h diff --git a/lib/peer.c b/peer.c similarity index 100% rename from lib/peer.c rename to peer.c diff --git a/lib/peer.h b/peer.h similarity index 100% rename from lib/peer.h rename to peer.h diff --git a/lib/radius/.gitignore b/radius/.gitignore similarity index 100% rename from lib/radius/.gitignore rename to radius/.gitignore diff --git a/lib/radius/LICENSE b/radius/LICENSE similarity index 100% rename from lib/radius/LICENSE rename to radius/LICENSE diff --git a/lib/radius/Makefile.am b/radius/Makefile.am similarity index 100% rename from lib/radius/Makefile.am rename to radius/Makefile.am diff --git a/lib/radius/attrs.c b/radius/attrs.c similarity index 100% rename from lib/radius/attrs.c rename to radius/attrs.c diff --git a/lib/radius/client.h b/radius/client.h similarity index 100% rename from lib/radius/client.h rename to radius/client.h diff --git a/lib/radius/common.pl b/radius/common.pl similarity index 100% rename from lib/radius/common.pl rename to radius/common.pl diff --git a/lib/radius/convert.pl b/radius/convert.pl similarity index 100% rename from lib/radius/convert.pl rename to radius/convert.pl diff --git a/lib/radius/crypto.c b/radius/crypto.c similarity index 100% rename from lib/radius/crypto.c rename to radius/crypto.c diff --git a/lib/radius/custom.c b/radius/custom.c similarity index 100% rename from lib/radius/custom.c rename to radius/custom.c diff --git a/lib/radius/dict.c b/radius/dict.c similarity index 100% rename from lib/radius/dict.c rename to radius/dict.c diff --git a/lib/radius/doc.txt b/radius/doc.txt similarity index 100% rename from lib/radius/doc.txt rename to radius/doc.txt diff --git a/lib/radius/doxygen.conf b/radius/doxygen.conf similarity index 100% rename from lib/radius/doxygen.conf rename to radius/doxygen.conf diff --git a/lib/radius/examples/Makefile b/radius/examples/Makefile similarity index 100% rename from lib/radius/examples/Makefile rename to radius/examples/Makefile diff --git a/lib/radius/examples/example_1.c b/radius/examples/example_1.c similarity index 100% rename from lib/radius/examples/example_1.c rename to radius/examples/example_1.c diff --git a/lib/radius/examples/example_2.c b/radius/examples/example_2.c similarity index 100% rename from lib/radius/examples/example_2.c rename to radius/examples/example_2.c diff --git a/lib/radius/examples/example_3.c b/radius/examples/example_3.c similarity index 100% rename from lib/radius/examples/example_3.c rename to radius/examples/example_3.c diff --git a/lib/radius/examples/example_4.c b/radius/examples/example_4.c similarity index 100% rename from lib/radius/examples/example_4.c rename to radius/examples/example_4.c diff --git a/lib/radius/examples/nr_vp_create.c b/radius/examples/nr_vp_create.c similarity index 100% rename from lib/radius/examples/nr_vp_create.c rename to radius/examples/nr_vp_create.c diff --git a/lib/radius/header.pl b/radius/header.pl similarity index 100% rename from lib/radius/header.pl rename to radius/header.pl diff --git a/lib/radius/id.c b/radius/id.c similarity index 100% rename from lib/radius/id.c rename to radius/id.c diff --git a/lib/radius/parse.c b/radius/parse.c similarity index 100% rename from lib/radius/parse.c rename to radius/parse.c diff --git a/lib/radius/print.c b/radius/print.c similarity index 100% rename from lib/radius/print.c rename to radius/print.c diff --git a/lib/radius/radpkt.c b/radius/radpkt.c similarity index 100% rename from lib/radius/radpkt.c rename to radius/radpkt.c diff --git a/lib/radius/share/dictionary.abfab.ietf b/radius/share/dictionary.abfab.ietf similarity index 100% rename from lib/radius/share/dictionary.abfab.ietf rename to radius/share/dictionary.abfab.ietf diff --git a/lib/radius/share/dictionary.juniper b/radius/share/dictionary.juniper similarity index 100% rename from lib/radius/share/dictionary.juniper rename to radius/share/dictionary.juniper diff --git a/lib/radius/share/dictionary.microsoft b/radius/share/dictionary.microsoft similarity index 100% rename from lib/radius/share/dictionary.microsoft rename to radius/share/dictionary.microsoft diff --git a/lib/radius/share/dictionary.txt b/radius/share/dictionary.txt similarity index 100% rename from lib/radius/share/dictionary.txt rename to radius/share/dictionary.txt diff --git a/lib/radius/share/dictionary.ukerna b/radius/share/dictionary.ukerna similarity index 100% rename from lib/radius/share/dictionary.ukerna rename to radius/share/dictionary.ukerna diff --git a/lib/radius/share/dictionary.vendor b/radius/share/dictionary.vendor similarity index 100% rename from lib/radius/share/dictionary.vendor rename to radius/share/dictionary.vendor diff --git a/lib/radius/static.c b/radius/static.c similarity index 100% rename from lib/radius/static.c rename to radius/static.c diff --git a/lib/radius/tests/Makefile b/radius/tests/Makefile similarity index 100% rename from lib/radius/tests/Makefile rename to radius/tests/Makefile diff --git a/lib/radius/tests/radattr.c b/radius/tests/radattr.c similarity index 100% rename from lib/radius/tests/radattr.c rename to radius/tests/radattr.c diff --git a/lib/radius/tests/rfc.txt b/radius/tests/rfc.txt similarity index 100% rename from lib/radius/tests/rfc.txt rename to radius/tests/rfc.txt diff --git a/lib/radius/valuepair.c b/radius/valuepair.c similarity index 100% rename from lib/radius/valuepair.c rename to radius/valuepair.c diff --git a/lib/radsec.c b/radsec.c similarity index 100% rename from lib/radsec.c rename to radsec.c diff --git a/lib/radsec.h b/radsec.h similarity index 100% rename from lib/radsec.h rename to radsec.h diff --git a/lib/radsec.sym b/radsec.sym similarity index 100% rename from lib/radsec.sym rename to radsec.sym diff --git a/lib/radsecproxy/Makefile.am b/radsecproxy/Makefile.am similarity index 100% rename from lib/radsecproxy/Makefile.am rename to radsecproxy/Makefile.am diff --git a/lib/radsecproxy/debug.c b/radsecproxy/debug.c similarity index 100% rename from lib/radsecproxy/debug.c rename to radsecproxy/debug.c diff --git a/lib/radsecproxy/debug.h b/radsecproxy/debug.h similarity index 100% rename from lib/radsecproxy/debug.h rename to radsecproxy/debug.h diff --git a/lib/radsecproxy/gconfig.h b/radsecproxy/gconfig.h similarity index 100% rename from lib/radsecproxy/gconfig.h rename to radsecproxy/gconfig.h diff --git a/lib/radsecproxy/hash.c b/radsecproxy/hash.c similarity index 100% rename from lib/radsecproxy/hash.c rename to radsecproxy/hash.c diff --git a/lib/radsecproxy/hash.h b/radsecproxy/hash.h similarity index 100% rename from lib/radsecproxy/hash.h rename to radsecproxy/hash.h diff --git a/lib/radsecproxy/hostport_types.h b/radsecproxy/hostport_types.h similarity index 100% rename from lib/radsecproxy/hostport_types.h rename to radsecproxy/hostport_types.h diff --git a/lib/radsecproxy/list.c b/radsecproxy/list.c similarity index 100% rename from lib/radsecproxy/list.c rename to radsecproxy/list.c diff --git a/lib/radsecproxy/list.h b/radsecproxy/list.h similarity index 100% rename from lib/radsecproxy/list.h rename to radsecproxy/list.h diff --git a/lib/radsecproxy/radmsg.h b/radsecproxy/radmsg.h similarity index 100% rename from lib/radsecproxy/radmsg.h rename to radsecproxy/radmsg.h diff --git a/lib/radsecproxy/radsecproxy.h b/radsecproxy/radsecproxy.h similarity index 100% rename from lib/radsecproxy/radsecproxy.h rename to radsecproxy/radsecproxy.h diff --git a/lib/radsecproxy/tlscommon.c b/radsecproxy/tlscommon.c similarity index 100% rename from lib/radsecproxy/tlscommon.c rename to radsecproxy/tlscommon.c diff --git a/lib/radsecproxy/tlscommon.h b/radsecproxy/tlscommon.h similarity index 100% rename from lib/radsecproxy/tlscommon.h rename to radsecproxy/tlscommon.h diff --git a/lib/radsecproxy/tlv11.h b/radsecproxy/tlv11.h similarity index 100% rename from lib/radsecproxy/tlv11.h rename to radsecproxy/tlv11.h diff --git a/lib/radsecproxy/util.c b/radsecproxy/util.c similarity index 100% rename from lib/radsecproxy/util.c rename to radsecproxy/util.c diff --git a/lib/radsecproxy/util.h b/radsecproxy/util.h similarity index 100% rename from lib/radsecproxy/util.h rename to radsecproxy/util.h diff --git a/lib/request.c b/request.c similarity index 100% rename from lib/request.c rename to request.c diff --git a/lib/send.c b/send.c similarity index 100% rename from lib/send.c rename to send.c diff --git a/lib/tcp.c b/tcp.c similarity index 100% rename from lib/tcp.c rename to tcp.c diff --git a/lib/tcp.h b/tcp.h similarity index 100% rename from lib/tcp.h rename to tcp.h diff --git a/lib/tests/Makefile.am b/tests/Makefile.am similarity index 100% rename from lib/tests/Makefile.am rename to tests/Makefile.am diff --git a/lib/tests/README b/tests/README similarity index 100% rename from lib/tests/README rename to tests/README diff --git a/lib/tests/demoCA/index.txt b/tests/demoCA/index.txt similarity index 100% rename from lib/tests/demoCA/index.txt rename to tests/demoCA/index.txt diff --git a/lib/tests/demoCA/index.txt.attr b/tests/demoCA/index.txt.attr similarity index 100% rename from lib/tests/demoCA/index.txt.attr rename to tests/demoCA/index.txt.attr diff --git a/lib/tests/demoCA/newcerts/01.pem b/tests/demoCA/newcerts/01.pem similarity index 100% rename from lib/tests/demoCA/newcerts/01.pem rename to tests/demoCA/newcerts/01.pem diff --git a/lib/tests/demoCA/newcerts/02.pem b/tests/demoCA/newcerts/02.pem similarity index 100% rename from lib/tests/demoCA/newcerts/02.pem rename to tests/demoCA/newcerts/02.pem diff --git a/lib/tests/demoCA/newcerts/03.pem b/tests/demoCA/newcerts/03.pem similarity index 100% rename from lib/tests/demoCA/newcerts/03.pem rename to tests/demoCA/newcerts/03.pem diff --git a/lib/tests/demoCA/private/cakey.pem b/tests/demoCA/private/cakey.pem similarity index 100% rename from lib/tests/demoCA/private/cakey.pem rename to tests/demoCA/private/cakey.pem diff --git a/lib/tests/demoCA/private/cli1.key b/tests/demoCA/private/cli1.key similarity index 100% rename from lib/tests/demoCA/private/cli1.key rename to tests/demoCA/private/cli1.key diff --git a/lib/tests/demoCA/private/srv1.key b/tests/demoCA/private/srv1.key similarity index 100% rename from lib/tests/demoCA/private/srv1.key rename to tests/demoCA/private/srv1.key diff --git a/lib/tests/demoCA/serial b/tests/demoCA/serial similarity index 100% rename from lib/tests/demoCA/serial rename to tests/demoCA/serial diff --git a/lib/tests/test-udp.c b/tests/test-udp.c similarity index 100% rename from lib/tests/test-udp.c rename to tests/test-udp.c diff --git a/lib/tests/test.conf b/tests/test.conf similarity index 100% rename from lib/tests/test.conf rename to tests/test.conf diff --git a/lib/tests/udp-server.c b/tests/udp-server.c similarity index 100% rename from lib/tests/udp-server.c rename to tests/udp-server.c diff --git a/lib/tests/udp.c b/tests/udp.c similarity index 100% rename from lib/tests/udp.c rename to tests/udp.c diff --git a/lib/tests/udp.h b/tests/udp.h similarity index 100% rename from lib/tests/udp.h rename to tests/udp.h diff --git a/lib/tls.c b/tls.c similarity index 100% rename from lib/tls.c rename to tls.c diff --git a/lib/tls.h b/tls.h similarity index 100% rename from lib/tls.h rename to tls.h diff --git a/lib/udp.c b/udp.c similarity index 100% rename from lib/udp.c rename to udp.c diff --git a/lib/udp.h b/udp.h similarity index 100% rename from lib/udp.h rename to udp.h diff --git a/lib/util.c b/util.c similarity index 100% rename from lib/util.c rename to util.c diff --git a/lib/util.h b/util.h similarity index 100% rename from lib/util.h rename to util.h