aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorcomex2015-01-10 21:09:53 -0500
committercomex2015-01-10 21:10:56 -0500
commitc868da649c35c50a6c461d5e69a7637cb273407a (patch)
treec1c2fab85bfff44e034f0086c8920c26442ece07
parentgen fixes (diff)
downloadsubstitute-c868da649c35c50a6c461d5e69a7637cb273407a.tar.gz
add licensing
-rw-r--r--LICENSE.txt33
-rw-r--r--lib/substitute.h3
2 files changed, 35 insertions, 1 deletions
diff --git a/LICENSE.txt b/LICENSE.txt
new file mode 100644
index 0000000..ce56a3f
--- /dev/null
+++ b/LICENSE.txt
@@ -0,0 +1,33 @@
+Some files in this repository contain their own licensing info in a header:
+substrate.h, which is based on an older version of CydiaSubstrate, is under
+LGPLv3, and substitute.h and the generated files are under public domain. (So
+if you want to take advantage of the more lax permission below, you can't use
+the Substrate compatibility layer.)
+
+For all other files:
+
+Copyright Nicholas Allegra (comex)
+
+This library 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.
+
+** You may optionally consider the license amended with the following special
+exception: When statically linking, it is not necessary to include materials
+specifically for relinking with a modified version of the library (i.e.
+subsection 6a of the LGPLv2.1, or subsection 4d0 of version 3.0).
+
+This library 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 not have received a copy of the GNU Lesser General Public License
+along with this library, as it can easily be found on the World Wide Web. If,
+due to a temporal anomaly, you are trapped in some time period after 1999 (the
+release date of the LGPL v2.1) but before 1991 (the debut of the Web), you may
+get a copy by writing to the Free Software Foundation, Inc., 51 Franklin
+Street, Fifth Floor, Boston, MA 02110-1301 USA. For all other users, not
+having to distribute all 5,000 words of the thing may be considered another
+optional license exception.
diff --git a/lib/substitute.h b/lib/substitute.h
index a7fdd31..444c5df 100644
--- a/lib/substitute.h
+++ b/lib/substitute.h
@@ -1,6 +1,7 @@
/*
libsubstitute - https://github.com/comex/substitute
- This header file is in the public domain.
+ This header file is in the public domain (or in any jusrisdiction where the
+ former is ineffective, CC0 1.0).
*/
#pragma once