From 709d85c4daa62f85552dbcd3d537c1f557259542 Mon Sep 17 00:00:00 2001 From: Ronnie Sahlberg Date: Sun, 5 Dec 2010 11:11:37 +1100 Subject: [PATCH] Add a COPYING file and updat ehte LGPL boilerplate --- COPYING | 20 ++++++++++++++++++++ include/iscsi-private.h | 2 +- include/iscsi.h | 2 +- include/scsi-lowlevel.h | 2 +- include/slist.h | 2 +- lib/connect.c | 2 +- lib/discovery.c | 2 +- lib/init.c | 2 +- lib/login.c | 2 +- lib/nop.c | 2 +- lib/pdu.c | 2 +- lib/scsi-command.c | 2 +- lib/scsi-lowlevel.c | 2 +- lib/socket.c | 2 +- lib/sync.c | 2 +- 15 files changed, 34 insertions(+), 14 deletions(-) create mode 100644 COPYING diff --git a/COPYING b/COPYING new file mode 100644 index 0000000..0383b97 --- /dev/null +++ b/COPYING @@ -0,0 +1,20 @@ +Libiscsi components fall under two separate licences + + +The lib and include directories +=============================== +The iscsi client library itself, i.e. the lib and include directories, +is licenced under GNU Lesser General Public License as published by +the Free Software Foundation; either version 3 of the License, or +(at your option) any later version. + +The src and examples directories +================================ +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 +License, or (at your option) any later version. + + +To avoid any confusion, every source file will contain a licence boilerplate. + diff --git a/include/iscsi-private.h b/include/iscsi-private.h index b713014..20424d7 100644 --- a/include/iscsi-private.h +++ b/include/iscsi-private.h @@ -9,7 +9,7 @@ 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. + 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 . diff --git a/include/iscsi.h b/include/iscsi.h index 5d92e5c..7d7ebb3 100644 --- a/include/iscsi.h +++ b/include/iscsi.h @@ -9,7 +9,7 @@ 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. + 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 . diff --git a/include/scsi-lowlevel.h b/include/scsi-lowlevel.h index f32faac..05f8a02 100644 --- a/include/scsi-lowlevel.h +++ b/include/scsi-lowlevel.h @@ -9,7 +9,7 @@ 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. + 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 . diff --git a/include/slist.h b/include/slist.h index 14a0127..0d9aadd 100644 --- a/include/slist.h +++ b/include/slist.h @@ -9,7 +9,7 @@ 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. + 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 . diff --git a/lib/connect.c b/lib/connect.c index 0705046..73bb0e5 100644 --- a/lib/connect.c +++ b/lib/connect.c @@ -9,7 +9,7 @@ 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. + 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 . diff --git a/lib/discovery.c b/lib/discovery.c index 7c6b2b6..1404cb0 100644 --- a/lib/discovery.c +++ b/lib/discovery.c @@ -9,7 +9,7 @@ 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. + 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 . diff --git a/lib/init.c b/lib/init.c index 5a3ab05..1efccab 100644 --- a/lib/init.c +++ b/lib/init.c @@ -9,7 +9,7 @@ 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. + 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 . diff --git a/lib/login.c b/lib/login.c index 7b91ad8..7c26164 100644 --- a/lib/login.c +++ b/lib/login.c @@ -9,7 +9,7 @@ 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. + 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 . diff --git a/lib/nop.c b/lib/nop.c index 010b742..41b5623 100644 --- a/lib/nop.c +++ b/lib/nop.c @@ -9,7 +9,7 @@ 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. + 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 . diff --git a/lib/pdu.c b/lib/pdu.c index 7388128..c1a560e 100644 --- a/lib/pdu.c +++ b/lib/pdu.c @@ -9,7 +9,7 @@ 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. + 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 . diff --git a/lib/scsi-command.c b/lib/scsi-command.c index bfcec59..4feb606 100644 --- a/lib/scsi-command.c +++ b/lib/scsi-command.c @@ -9,7 +9,7 @@ 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. + 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 . diff --git a/lib/scsi-lowlevel.c b/lib/scsi-lowlevel.c index 591cc60..540686b 100644 --- a/lib/scsi-lowlevel.c +++ b/lib/scsi-lowlevel.c @@ -9,7 +9,7 @@ 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. + 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 . diff --git a/lib/socket.c b/lib/socket.c index e467a06..3a3779a 100644 --- a/lib/socket.c +++ b/lib/socket.c @@ -9,7 +9,7 @@ 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. + 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 . diff --git a/lib/sync.c b/lib/sync.c index 5c29bd5..23fe82e 100644 --- a/lib/sync.c +++ b/lib/sync.c @@ -9,7 +9,7 @@ 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. + 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 .