From c2da7c9680c91a68222fd3af6b33057dff35181c Mon Sep 17 00:00:00 2001 From: Ronnie Sahlberg Date: Mon, 5 Mar 2012 13:50:10 +1100 Subject: [PATCH] Update the licence texts --- COPYING | 11 +++++++++-- examples/iscsiclient.c | 19 +++++++++++++++++++ src/ld_iscsi.c | 17 +++++++++++++++++ 3 files changed, 45 insertions(+), 2 deletions(-) diff --git a/COPYING b/COPYING index 43279dd..dddde82 100644 --- a/COPYING +++ b/COPYING @@ -15,9 +15,16 @@ A copy of LGPL 2.1 is included in the file LICENCE-LGPL-2.1.txt but can also be This is the licence that applies to the libiscsi library and its use. +src/ld_iscsi.c +============== +This LD_PRELOAD utility is licenced under GNU Lesser General Public License +as published by the Free Software Foundation; either version 2.1 of the +License, or (at your option) any later version. -The src and examples directories -================================ + + +The src, examples and test-tool directories EXCEPT src/ld_iscsi.c +============================================================= The utility and example applications using this library, i.e. the src and the examples directories, are licenced under the GNU General Public License as published by the Free Software Foundation; either version 2 of the diff --git a/examples/iscsiclient.c b/examples/iscsiclient.c index f0faefa..401e634 100644 --- a/examples/iscsiclient.c +++ b/examples/iscsiclient.c @@ -1,3 +1,22 @@ +/* + Copyright (C) 2012 by Ronnie Sahlberg + + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 2 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program; if not, see . +*/ + + + /* This is an example of using libiscsi. * It basically logs in to the the target and performs a discovery. * It then selects the last target in the returned list and diff --git a/src/ld_iscsi.c b/src/ld_iscsi.c index 4ff933d..71701cc 100644 --- a/src/ld_iscsi.c +++ b/src/ld_iscsi.c @@ -1,3 +1,20 @@ +/* + Copyright (C) 2011, 2012 by Ronnie Sahlberg + + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU Lesser General Public License as published by + the Free Software Foundation; either version 2.1 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU Lesser General Public License for more details. + + You should have received a copy of the GNU Lesser General Public License + along with this program; if not, see . +*/ + #define _GNU_SOURCE #include