Rename COPYING -> LICENSE.
authorLinus Nordberg <linus@nordberg.se>
Wed, 19 Dec 2012 09:41:57 +0000 (10:41 +0100)
committerLinus Nordberg <linus@nordberg.se>
Wed, 19 Dec 2012 09:44:28 +0000 (10:44 +0100)
And distribute LICENSE and HACKING.

45 files changed:
lib/LICENSE [moved from lib/COPYING with 99% similarity]
lib/Makefile.am
lib/attr.c
lib/avp.c
lib/compat.c
lib/compat.h
lib/conf.c
lib/conn.c
lib/conn.h
lib/debug.c
lib/debug.h
lib/err.c
lib/err.h
lib/event.c
lib/event.h
lib/include/radsec/radsec-impl.h
lib/include/radsec/radsec.h
lib/include/radsec/request-impl.h
lib/include/radsec/request.h
lib/packet.c
lib/packet.h
lib/peer.c
lib/peer.h
lib/radsec.c
lib/radsec.h
lib/request.c
lib/rsp_debug.c
lib/rsp_debug.h
lib/rsp_hash.c
lib/rsp_hash.h
lib/rsp_list.c
lib/rsp_list.h
lib/rsp_tlscommon.c
lib/rsp_tlscommon.h
lib/rsp_util.c
lib/rsp_util.h
lib/send.c
lib/tcp.c
lib/tcp.h
lib/tls.c
lib/tls.h
lib/udp.c
lib/udp.h
lib/util.c
lib/util.h

similarity index 99%
rename from lib/COPYING
rename to lib/LICENSE
index 102c12e..43a0ec8 100644 (file)
@@ -2,24 +2,24 @@
 * Copyright (c) 2011, JANET(UK)
 * Copyright (c) 2010-2011, NORDUnet A/S
 * All rights reserved.
-* 
+*
 * Redistribution and use in source and binary forms, with or without
 * modification, are permitted provided that the following conditions are
 * met:
-* 
+*
 *    1. Redistributions of source code must retain the above copyright
 *       notice, this list of conditions and the following disclaimer.
-* 
+*
 *    2. Redistributions in binary form must reproduce the above
 *       copyright notice, this list of conditions and the following
 *       disclaimer in the documentation and/or other materials provided
 *       with the distribution.
-* 
+*
 *    3. Neither the name of NORDUnet A/S nor the names of the
 *       contributors may be used to endorse or promote products
 *       derived from this software without specific prior written
 *       permission.
-* 
+*
 * THIS SOFTWARE IS PROVIDED BY NORDUNET A/S ``AS IS'' AND
 * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
 * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
index 9a74a7f..e6f9fb2 100644 (file)
@@ -53,6 +53,8 @@ libradsec_la_SOURCES += \
        rsp_tlscommon.c
 endif
 
+EXTRA_DIST = HACKING LICENSE
+
 libradsec_la_LIBADD = radius/libradsec-radius.la
 libradsec_la_LDFLAGS = -version-info 0:0:0 -export-symbols radsec.sym
 libradsec_la_CFLAGS = $(AM_CFLAGS) -DHAVE_CONFIG_H -Werror # -DDEBUG -DDEBUG_LEVENT 
index 9b11cf6..74d352c 100644 (file)
@@ -1,5 +1,5 @@
 /* Copyright 2010, 2011 NORDUnet A/S. All rights reserved.
-   See the file COPYING for licensing information.  */
+   See LICENSE for licensing information.  */
 
 /* NOTE: This file is not in use at the moment (libradsec-0.0.1).  */
 
index 80c6a9d..c60d9ef 100644 (file)
--- a/lib/avp.c
+++ b/lib/avp.c
@@ -1,5 +1,5 @@
 /* Copyright 2011 JANET(UK). All rights reserved.
-   See the file COPYING for licensing information.  */
+   See LICENSE for licensing information.  */
 
 #if defined HAVE_CONFIG_H
 #include <config.h>
index ccc6388..c09e795 100644 (file)
@@ -1,5 +1,5 @@
 /* Copyright 2011 NORDUnet A/S. All rights reserved.
-   See the file COPYING for licensing information.  */
+   See LICENSE for licensing information.  */
 
 #if defined HAVE_CONFIG_H
 #include <config.h>
index 125f651..f132779 100644 (file)
@@ -1,5 +1,5 @@
 /* Copyright 2011 NORDUnet A/S. All rights reserved.
-   See the file COPYING for licensing information.  */
+   See LICENSE for licensing information.  */
 
 ssize_t compat_send (int sockfd, const void *buf, size_t len, int flags);
 ssize_t compat_recv (int sockfd, void *buf, size_t len, int flags);
index 42f1373..14b7579 100644 (file)
@@ -1,5 +1,5 @@
 /* Copyright 2010, 2011 NORDUnet A/S. All rights reserved.
-   See the file COPYING for licensing information.  */
+   See LICENSE for licensing information.  */
 
 #if defined HAVE_CONFIG_H
 #include <config.h>
index fa63727..c6692a2 100644 (file)
@@ -1,5 +1,5 @@
 /* Copyright 2010, 2011 NORDUnet A/S. All rights reserved.
-   See the file COPYING for licensing information.  */
+   See LICENSE for licensing information.  */
 
 #if defined HAVE_CONFIG_H
 #include <config.h>
index 18d2da3..f58cc53 100644 (file)
@@ -1,5 +1,5 @@
 /* Copyright 2011 NORDUnet A/S. All rights reserved.
-   See the file COPYING for licensing information.  */
+   See LICENSE for licensing information.  */
 
 int conn_user_dispatch_p (const struct rs_connection *conn);
 int conn_close (struct rs_connection **connp);
index 6d49d13..25c7fd6 100644 (file)
@@ -1,5 +1,5 @@
 /* Copyright 2011 NORDUnet A/S. All rights reserved.
-   See the file COPYING for licensing information.  */
+   See LICENSE for licensing information.  */
 
 #if defined HAVE_CONFIG_H
 #include <config.h>
index 0bf6129..c319085 100644 (file)
@@ -1,5 +1,5 @@
 /* Copyright 2011 NORDUnet A/S. All rights reserved.
-   See the file COPYING for licensing information.  */
+   See LICENSE for licensing information.  */
 
 #define hd(p, l) { int i;              \
     for (i = 1; i <= l; i++) {         \
index 60ef82f..432a67e 100644 (file)
--- a/lib/err.c
+++ b/lib/err.c
@@ -1,5 +1,5 @@
 /* Copyright 2010, 2011 NORDUnet A/S. All rights reserved.
-   See the file COPYING for licensing information.  */
+   See LICENSE for licensing information.  */
 
 #if defined HAVE_CONFIG_H
 #include <config.h>
index 5e1c9c9..6615ac8 100644 (file)
--- a/lib/err.h
+++ b/lib/err.h
@@ -1,5 +1,5 @@
 /* Copyright 2011 NORDUnet A/S. All rights reserved.
-   See the file COPYING for licensing information.  */
+   See LICENSE for licensing information.  */
 
 struct rs_error *err_create (unsigned int code,
                             const char *file,
index 4f83394..3ebc5a7 100644 (file)
@@ -1,5 +1,5 @@
 /* Copyright 2011 NORDUnet A/S. All rights reserved.
-   See the file COPYING for licensing information.  */
+   See LICENSE for licensing information.  */
 
 #if defined HAVE_CONFIG_H
 #include <config.h>
index befbd0d..9c239df 100644 (file)
@@ -1,5 +1,5 @@
 /* Copyright 2011 NORDUnet A/S. All rights reserved.
-   See the file COPYING for licensing information.  */
+   See LICENSE for licensing information.  */
 
 void event_on_disconnect (struct rs_connection *conn);
 int event_on_connect (struct rs_connection *conn, struct rs_packet *pkt);
index 6339e74..a4d97f0 100644 (file)
@@ -1,7 +1,7 @@
 /** @file libradsec-impl.h
     @brief Libraray internal header file for libradsec.  */
 
-/* See the file COPYING for licensing information.  */
+/* See LICENSE for licensing information.  */
 
 #ifndef _RADSEC_RADSEC_IMPL_H_
 #define _RADSEC_RADSEC_IMPL_H_ 1
index b45aea1..7bd7f10 100644 (file)
@@ -1,7 +1,7 @@
 /** \file radsec.h
     \brief Public interface for libradsec.  */
 
-/* See the file COPYING for licensing information.  */
+/* See LICENSE for licensing information.  */
 
 #ifndef _RADSEC_RADSEC_H_
 #define _RADSEC_RADSEC_H_ 1
index d2c14dd..bb61dd6 100644 (file)
@@ -1,4 +1,4 @@
-/* See the file COPYING for licensing information.  */
+/* See LICENSE for licensing information.  */
 
 #ifndef _RADSEC_REQUEST_IMPL_H_
 #define _RADSEC_REQUEST_IMPL_H_ 1
index 574f395..d3caffe 100644 (file)
@@ -1,7 +1,7 @@
 /** \file request.h
     \brief Public interface for libradsec request's.  */
 
-/* See the file COPYING for licensing information.  */
+/* See LICENSE for licensing information.  */
 
 #ifndef _RADSEC_REQUEST_H_
 #define _RADSEC_REQUEST_H_ 1
index a3f571f..17f022e 100644 (file)
@@ -1,5 +1,5 @@
 /* Copyright 2010, 2011 NORDUnet A/S. All rights reserved.
-   See the file COPYING for licensing information.  */
+   See LICENSE for licensing information.  */
 
 #if defined HAVE_CONFIG_H
 #include <config.h>
index edff9de..c020d69 100644 (file)
@@ -1,5 +1,5 @@
 /* Copyright 2010, 2011 NORDUnet A/S. All rights reserved.
-   See the file COPYING for licensing information.  */
+   See LICENSE for licensing information.  */
 
 int packet_do_send (struct rs_packet *pkt);
 int packet_verify_response (struct rs_connection *conn,
index 01dc243..0ac4114 100644 (file)
@@ -1,5 +1,5 @@
 /* Copyright 2010, 2011 NORDUnet A/S. All rights reserved.
-   See the file COPYING for licensing information.  */
+   See LICENSE for licensing information.  */
 
 #if defined HAVE_CONFIG_H
 #include <config.h>
index a326325..4e976c5 100644 (file)
@@ -1,5 +1,5 @@
 /* Copyright 2011 NORDUnet A/S. All rights reserved.
-   See the file COPYING for licensing information.  */
+   See LICENSE for licensing information.  */
 
 struct rs_peer *peer_create (struct rs_context *ctx, struct rs_peer **rootp);
 struct rs_peer *peer_pick_peer (struct rs_connection *conn);
index 347a48b..d14ad50 100644 (file)
@@ -1,5 +1,5 @@
 /* Copyright 2010, 2011 NORDUnet A/S. All rights reserved.
-   See the file COPYING for licensing information.  */
+   See LICENSE for licensing information.  */
 
 #if defined HAVE_CONFIG_H
 #include <config.h>
index 9e64692..c8fa2fb 100644 (file)
@@ -1,5 +1,5 @@
 /* Copyright 2012 NORDUnet A/S. All rights reserved.
-   See the file COPYING for licensing information.  */
+   See LICENSE for licensing information.  */
 
 struct rs_error *rs_resolve (struct evutil_addrinfo **addr,
                              rs_conn_type_t type,
index d624162..9ad7843 100644 (file)
@@ -1,5 +1,5 @@
 /* Copyright 2010, 2011 NORDUnet A/S. All rights reserved.
-   See the file COPYING for licensing information.  */
+   See LICENSE for licensing information.  */
 
 #if defined HAVE_CONFIG_H
 #include <config.h>
index a9c5e8f..f3a2de6 100644 (file)
@@ -1,6 +1,6 @@
 /* Copyright (c) 2007-2009, UNINETT AS
  * Copyright (c) 2010-2011, NORDUnet A/S */
-/* See COPYING for licensing information. */
+/* See LICENSE for licensing information. */
 
 #ifndef SYS_SOLARIS9
 #include <stdint.h>
index 1a4c39c..f9858ab 100644 (file)
@@ -1,6 +1,6 @@
 /* Copyright (c) 2007-2009, UNINETT AS
  * Copyright (c) 2010-2011, NORDUnet A/S */
-/* See COPYING for licensing information. */
+/* See LICENSE for licensing information. */
 
 #ifndef SYS_SOLARIS9
 #include <stdint.h>
index 6d08e83..a57ead2 100644 (file)
@@ -1,5 +1,5 @@
 /* Copyright (c) 2008, UNINETT AS */
-/* See COPYING for licensing information. */
+/* See LICENSE for licensing information. */
 
 #include <stdlib.h>
 #include <string.h>
index a95b50b..90ba64b 100644 (file)
@@ -1,5 +1,5 @@
 /* Copyright (c) 2008, UNINETT AS */
-/* See COPYING for licensing information. */
+/* See LICENSE for licensing information. */
 
 #ifndef SYS_SOLARIS9
 #include <stdint.h>
index e912ada..ac6924e 100644 (file)
@@ -1,5 +1,5 @@
 /* Copyright (c) 2007-2009, UNINETT AS */
-/* See COPYING for licensing information. */
+/* See LICENSE for licensing information. */
 
 #if defined HAVE_CONFIG_H
 #include <config.h>
index ff080fc..4f4d1f9 100644 (file)
@@ -1,5 +1,5 @@
 /* Copyright (c) 2007-2009, UNINETT AS */
-/* See COPYING for licensing information. */
+/* See LICENSE for licensing information. */
 
 #ifdef SYS_SOLARIS9
 #include <sys/inttypes.h>
index b66c369..8ab1b13 100644 (file)
@@ -1,6 +1,6 @@
 /* Copyright (c) 2007-2009, UNINETT AS
  * Copyright (c) 2010-2011, NORDUnet A/S */
-/* See COPYING for licensing information. */
+/* See LICENSE for licensing information. */
 
 #if defined HAVE_CONFIG_H
 #include <config.h>
index 73cd261..da2092e 100644 (file)
@@ -1,5 +1,5 @@
 /* Copyright (c) 2007-2009, UNINETT AS */
-/* See COPYING for licensing information. */
+/* See LICENSE for licensing information. */
 
 #include <netinet/in.h>
 #include <openssl/ssl.h>
index eb6feee..e18a978 100644 (file)
@@ -1,5 +1,5 @@
 /* Copyright (c) 2007-2009, UNINETT AS */
-/* See COPYING for licensing information. */
+/* See LICENSE for licensing information. */
 
 /* Code contributions from:
  *
index 576430f..cec4673 100644 (file)
@@ -1,5 +1,5 @@
 /* Copyright (c) 2007-2009, UNINETT AS */
-/* See COPYING for licensing information. */
+/* See LICENSE for licensing information. */
 
 #include <sys/socket.h>
 #include <netdb.h>
index a8ad1d5..6b887c5 100644 (file)
@@ -1,5 +1,5 @@
 /* Copyright 2011 NORDUnet A/S. All rights reserved.
-   See the file COPYING for licensing information.  */
+   See LICENSE for licensing information.  */
 
 #if defined HAVE_CONFIG_H
 #include <config.h>
index 841f905..d0bc62c 100644 (file)
--- a/lib/tcp.c
+++ b/lib/tcp.c
@@ -1,5 +1,5 @@
 /* Copyright 2011 NORDUnet A/S. All rights reserved.
-   See the file COPYING for licensing information.  */
+   See LICENSE for licensing information.  */
 
 #if defined HAVE_CONFIG_H
 #include <config.h>
index fc2c4df..d945fda 100644 (file)
--- a/lib/tcp.h
+++ b/lib/tcp.h
@@ -1,5 +1,5 @@
 /* Copyright 2011 NORDUnet A/S. All rights reserved.
-   See the file COPYING for licensing information.  */
+   See LICENSE for licensing information.  */
 
 void tcp_event_cb (struct bufferevent *bev, short events, void *user_data);
 void tcp_read_cb (struct bufferevent *bev, void *user_data);
index 5c7045a..acc2f91 100644 (file)
--- a/lib/tls.c
+++ b/lib/tls.c
@@ -1,5 +1,5 @@
 /* Copyright 2010, 2011 NORDUnet A/S. All rights reserved.
-   See the file COPYING for licensing information.  */
+   See LICENSE for licensing information.  */
 
 #if defined HAVE_CONFIG_H
 #include <config.h>
index 0dc2ebd..74a63b3 100644 (file)
--- a/lib/tls.h
+++ b/lib/tls.h
@@ -1,5 +1,5 @@
 /* Copyright 2010 NORDUnet A/S. All rights reserved.
-   See the file COPYING for licensing information.  */
+   See LICENSE for licensing information.  */
 
 #if defined (__cplusplus)
 extern "C" {
index 1bab537..90a5fbf 100644 (file)
--- a/lib/udp.c
+++ b/lib/udp.c
@@ -1,5 +1,5 @@
 /* Copyright 2011 NORDUnet A/S. All rights reserved.
-   See the file COPYING for licensing information.  */
+   See LICENSE for licensing information.  */
 
 #if defined HAVE_CONFIG_H
 #include <config.h>
index 338e7c2..e0d39f0 100644 (file)
--- a/lib/udp.h
+++ b/lib/udp.h
@@ -1,5 +1,5 @@
 /* Copyright 2011 NORDUnet A/S. All rights reserved.
-   See the file COPYING for licensing information.  */
+   See LICENSE for licensing information.  */
 
 int udp_init (struct rs_connection *conn, struct rs_packet *pkt);
 int udp_init_retransmit_timer (struct rs_connection *conn);
index 3c9fef6..eceaec9 100644 (file)
@@ -1,5 +1,5 @@
 /* Copyright 2012 NORDUnet A/S. All rights reserved.
-   See the file COPYING for licensing information.  */
+   See LICENSE for licensing information.  */
 
 #include <string.h>
 #include <radsec/radsec.h>
index 90c55d8..9edac7b 100644 (file)
@@ -1,4 +1,4 @@
 /* Copyright 2012 NORDUnet A/S. All rights reserved.
-   See the file COPYING for licensing information.  */
+   See LICENSE for licensing information.  */
 
 char *rs_strdup (struct rs_context *ctx, const char *s);