diff options
| author | Linus Nordberg <linus@nordberg.se> | 2012-12-19 10:41:57 +0100 | 
|---|---|---|
| committer | Linus Nordberg <linus@nordberg.se> | 2012-12-19 10:44:28 +0100 | 
| commit | 937144b230752ac640e611cabb57387f613997bc (patch) | |
| tree | a26dd9985eff2391823a5c97f12f33dd093adfc9 | |
| parent | b877d7d52b0c12bc6d1f5cbcebbd054a4fb433b6 (diff) | |
Rename COPYING -> LICENSE.
And distribute LICENSE and HACKING.
45 files changed, 50 insertions, 48 deletions
| diff --git a/lib/COPYING b/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  @@ -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).  */ @@ -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> 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 <config.h> 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); @@ -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> @@ -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> @@ -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 <config.h> 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++) {		\ @@ -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> @@ -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 <config.h> 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 <config.h> 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, @@ -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> @@ -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 <config.h> 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 <config.h> 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 <stdint.h> 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 <stdint.h> 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 <stdlib.h>  #include <string.h> 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 <stdint.h> 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 <config.h> 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 <sys/inttypes.h> 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 <config.h> 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 <netinet/in.h>  #include <openssl/ssl.h> 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 <sys/socket.h>  #include <netdb.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.  */  #if defined HAVE_CONFIG_H  #include <config.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.  */  #if defined HAVE_CONFIG_H  #include <config.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); @@ -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> @@ -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" { @@ -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> @@ -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); @@ -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> @@ -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); | 
