From 937144b230752ac640e611cabb57387f613997bc Mon Sep 17 00:00:00 2001 From: Linus Nordberg Date: Wed, 19 Dec 2012 10:41:57 +0100 Subject: [PATCH] Rename COPYING -> LICENSE. And distribute LICENSE and HACKING. --- lib/{COPYING => LICENSE} | 10 +++++----- lib/Makefile.am | 2 ++ lib/attr.c | 2 +- lib/avp.c | 2 +- lib/compat.c | 2 +- lib/compat.h | 2 +- lib/conf.c | 2 +- lib/conn.c | 2 +- lib/conn.h | 2 +- lib/debug.c | 2 +- lib/debug.h | 2 +- lib/err.c | 2 +- lib/err.h | 2 +- lib/event.c | 2 +- lib/event.h | 2 +- lib/include/radsec/radsec-impl.h | 2 +- lib/include/radsec/radsec.h | 2 +- lib/include/radsec/request-impl.h | 2 +- lib/include/radsec/request.h | 2 +- lib/packet.c | 2 +- lib/packet.h | 2 +- lib/peer.c | 2 +- lib/peer.h | 2 +- lib/radsec.c | 2 +- lib/radsec.h | 2 +- lib/request.c | 2 +- lib/rsp_debug.c | 2 +- lib/rsp_debug.h | 2 +- lib/rsp_hash.c | 2 +- lib/rsp_hash.h | 2 +- lib/rsp_list.c | 2 +- lib/rsp_list.h | 2 +- lib/rsp_tlscommon.c | 2 +- lib/rsp_tlscommon.h | 2 +- lib/rsp_util.c | 2 +- lib/rsp_util.h | 2 +- lib/send.c | 2 +- lib/tcp.c | 2 +- lib/tcp.h | 2 +- lib/tls.c | 2 +- lib/tls.h | 2 +- lib/udp.c | 2 +- lib/udp.h | 2 +- lib/util.c | 2 +- lib/util.h | 2 +- 45 files changed, 50 insertions(+), 48 deletions(-) rename lib/{COPYING => LICENSE} (99%) diff --git a/lib/COPYING b/lib/LICENSE similarity index 99% rename from lib/COPYING rename to lib/LICENSE index 102c12e..43a0ec8 100644 --- a/lib/COPYING +++ b/lib/LICENSE @@ -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 diff --git a/lib/Makefile.am b/lib/Makefile.am index 9a74a7f..e6f9fb2 100644 --- a/lib/Makefile.am +++ b/lib/Makefile.am @@ -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 diff --git a/lib/attr.c b/lib/attr.c index 9b11cf6..74d352c 100644 --- a/lib/attr.c +++ b/lib/attr.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. */ /* NOTE: This file is not in use at the moment (libradsec-0.0.1). */ diff --git a/lib/avp.c b/lib/avp.c index 80c6a9d..c60d9ef 100644 --- 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 diff --git a/lib/compat.c b/lib/compat.c index ccc6388..c09e795 100644 --- a/lib/compat.c +++ b/lib/compat.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 diff --git a/lib/compat.h b/lib/compat.h index 125f651..f132779 100644 --- a/lib/compat.h +++ b/lib/compat.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. */ 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); diff --git a/lib/conf.c b/lib/conf.c index 42f1373..14b7579 100644 --- a/lib/conf.c +++ b/lib/conf.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 diff --git a/lib/conn.c b/lib/conn.c index fa63727..c6692a2 100644 --- a/lib/conn.c +++ b/lib/conn.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 diff --git a/lib/conn.h b/lib/conn.h index 18d2da3..f58cc53 100644 --- a/lib/conn.h +++ b/lib/conn.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 conn_user_dispatch_p (const struct rs_connection *conn); int conn_close (struct rs_connection **connp); diff --git a/lib/debug.c b/lib/debug.c index 6d49d13..25c7fd6 100644 --- a/lib/debug.c +++ b/lib/debug.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 diff --git a/lib/debug.h b/lib/debug.h index 0bf6129..c319085 100644 --- a/lib/debug.h +++ b/lib/debug.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. */ #define hd(p, l) { int i; \ for (i = 1; i <= l; i++) { \ diff --git a/lib/err.c b/lib/err.c index 60ef82f..432a67e 100644 --- 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 diff --git a/lib/err.h b/lib/err.h index 5e1c9c9..6615ac8 100644 --- 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, diff --git a/lib/event.c b/lib/event.c index 4f83394..3ebc5a7 100644 --- a/lib/event.c +++ b/lib/event.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 diff --git a/lib/event.h b/lib/event.h index befbd0d..9c239df 100644 --- a/lib/event.h +++ b/lib/event.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 event_on_disconnect (struct rs_connection *conn); int event_on_connect (struct rs_connection *conn, struct rs_packet *pkt); diff --git a/lib/include/radsec/radsec-impl.h b/lib/include/radsec/radsec-impl.h index 6339e74..a4d97f0 100644 --- a/lib/include/radsec/radsec-impl.h +++ b/lib/include/radsec/radsec-impl.h @@ -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 diff --git a/lib/include/radsec/radsec.h b/lib/include/radsec/radsec.h index b45aea1..7bd7f10 100644 --- a/lib/include/radsec/radsec.h +++ b/lib/include/radsec/radsec.h @@ -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 diff --git a/lib/include/radsec/request-impl.h b/lib/include/radsec/request-impl.h index d2c14dd..bb61dd6 100644 --- a/lib/include/radsec/request-impl.h +++ b/lib/include/radsec/request-impl.h @@ -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 diff --git a/lib/include/radsec/request.h b/lib/include/radsec/request.h index 574f395..d3caffe 100644 --- a/lib/include/radsec/request.h +++ b/lib/include/radsec/request.h @@ -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 diff --git a/lib/packet.c b/lib/packet.c index a3f571f..17f022e 100644 --- a/lib/packet.c +++ b/lib/packet.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 diff --git a/lib/packet.h b/lib/packet.h index edff9de..c020d69 100644 --- a/lib/packet.h +++ b/lib/packet.h @@ -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, diff --git a/lib/peer.c b/lib/peer.c index 01dc243..0ac4114 100644 --- a/lib/peer.c +++ b/lib/peer.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 diff --git a/lib/peer.h b/lib/peer.h index a326325..4e976c5 100644 --- a/lib/peer.h +++ b/lib/peer.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_peer *peer_create (struct rs_context *ctx, struct rs_peer **rootp); struct rs_peer *peer_pick_peer (struct rs_connection *conn); diff --git a/lib/radsec.c b/lib/radsec.c index 347a48b..d14ad50 100644 --- a/lib/radsec.c +++ b/lib/radsec.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 diff --git a/lib/radsec.h b/lib/radsec.h index 9e64692..c8fa2fb 100644 --- a/lib/radsec.h +++ b/lib/radsec.h @@ -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, diff --git a/lib/request.c b/lib/request.c index d624162..9ad7843 100644 --- a/lib/request.c +++ b/lib/request.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 diff --git a/lib/rsp_debug.c b/lib/rsp_debug.c index a9c5e8f..f3a2de6 100644 --- a/lib/rsp_debug.c +++ b/lib/rsp_debug.c @@ -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 diff --git a/lib/rsp_debug.h b/lib/rsp_debug.h index 1a4c39c..f9858ab 100644 --- a/lib/rsp_debug.h +++ b/lib/rsp_debug.h @@ -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 diff --git a/lib/rsp_hash.c b/lib/rsp_hash.c index 6d08e83..a57ead2 100644 --- a/lib/rsp_hash.c +++ b/lib/rsp_hash.c @@ -1,5 +1,5 @@ /* Copyright (c) 2008, UNINETT AS */ -/* See COPYING for licensing information. */ +/* See LICENSE for licensing information. */ #include #include diff --git a/lib/rsp_hash.h b/lib/rsp_hash.h index a95b50b..90ba64b 100644 --- a/lib/rsp_hash.h +++ b/lib/rsp_hash.h @@ -1,5 +1,5 @@ /* Copyright (c) 2008, UNINETT AS */ -/* See COPYING for licensing information. */ +/* See LICENSE for licensing information. */ #ifndef SYS_SOLARIS9 #include diff --git a/lib/rsp_list.c b/lib/rsp_list.c index e912ada..ac6924e 100644 --- a/lib/rsp_list.c +++ b/lib/rsp_list.c @@ -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 diff --git a/lib/rsp_list.h b/lib/rsp_list.h index ff080fc..4f4d1f9 100644 --- a/lib/rsp_list.h +++ b/lib/rsp_list.h @@ -1,5 +1,5 @@ /* Copyright (c) 2007-2009, UNINETT AS */ -/* See COPYING for licensing information. */ +/* See LICENSE for licensing information. */ #ifdef SYS_SOLARIS9 #include diff --git a/lib/rsp_tlscommon.c b/lib/rsp_tlscommon.c index b66c369..8ab1b13 100644 --- a/lib/rsp_tlscommon.c +++ b/lib/rsp_tlscommon.c @@ -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 diff --git a/lib/rsp_tlscommon.h b/lib/rsp_tlscommon.h index 73cd261..da2092e 100644 --- a/lib/rsp_tlscommon.h +++ b/lib/rsp_tlscommon.h @@ -1,5 +1,5 @@ /* Copyright (c) 2007-2009, UNINETT AS */ -/* See COPYING for licensing information. */ +/* See LICENSE for licensing information. */ #include #include diff --git a/lib/rsp_util.c b/lib/rsp_util.c index eb6feee..e18a978 100644 --- a/lib/rsp_util.c +++ b/lib/rsp_util.c @@ -1,5 +1,5 @@ /* Copyright (c) 2007-2009, UNINETT AS */ -/* See COPYING for licensing information. */ +/* See LICENSE for licensing information. */ /* Code contributions from: * diff --git a/lib/rsp_util.h b/lib/rsp_util.h index 576430f..cec4673 100644 --- a/lib/rsp_util.h +++ b/lib/rsp_util.h @@ -1,5 +1,5 @@ /* Copyright (c) 2007-2009, UNINETT AS */ -/* See COPYING for licensing information. */ +/* See LICENSE for licensing information. */ #include #include diff --git a/lib/send.c b/lib/send.c index a8ad1d5..6b887c5 100644 --- a/lib/send.c +++ b/lib/send.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 diff --git a/lib/tcp.c b/lib/tcp.c index 841f905..d0bc62c 100644 --- 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 diff --git a/lib/tcp.h b/lib/tcp.h index fc2c4df..d945fda 100644 --- 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); diff --git a/lib/tls.c b/lib/tls.c index 5c7045a..acc2f91 100644 --- 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 diff --git a/lib/tls.h b/lib/tls.h index 0dc2ebd..74a63b3 100644 --- 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" { diff --git a/lib/udp.c b/lib/udp.c index 1bab537..90a5fbf 100644 --- 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 diff --git a/lib/udp.h b/lib/udp.h index 338e7c2..e0d39f0 100644 --- 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); diff --git a/lib/util.c b/lib/util.c index 3c9fef6..eceaec9 100644 --- a/lib/util.c +++ b/lib/util.c @@ -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 #include diff --git a/lib/util.h b/lib/util.h index 90c55d8..9edac7b 100644 --- a/lib/util.h +++ b/lib/util.h @@ -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); -- 2.1.4