Commit Diff


commit - 4540067ec5b77c56ec0ebd09fd1afafbc6ab5ac1
commit + 4745c100fb3405b594f298161daf9a72bd7d8174
blob - b274f2ae06880c9ae2a50799b693ed1c5cf6df1e
blob + ca988189d427a81cabe4624acda89bc4a82dacc7
--- Makefile.am
+++ Makefile.am
@@ -66,11 +66,13 @@ compile_flags.txt:
 PAGES =	pages/about_about.gmi	\
 	pages/about_blank.gmi	\
 	pages/about_help.gmi	\
+	pages/about_license.gmi	\
 	pages/about_new.gmi
 pages.c: pagebundler $(srcdir)/pages.h ${PAGES}
 	echo > $@
 	echo "#include \"pages.h\"" >> $@
-	./pagebundler -f $(srcdir)/pages/about_about.gmi -v about_about >> $@
-	./pagebundler -f $(srcdir)/pages/about_blank.gmi -v about_blank >> $@
-	./pagebundler -f $(srcdir)/pages/about_help.gmi  -v about_help  >> $@
-	./pagebundler -f $(srcdir)/pages/about_new.gmi   -v about_new   >> $@
+	./pagebundler -f $(srcdir)/pages/about_about.gmi   -v about_about   >> $@
+	./pagebundler -f $(srcdir)/pages/about_blank.gmi   -v about_blank   >> $@
+	./pagebundler -f $(srcdir)/pages/about_help.gmi    -v about_help    >> $@
+	./pagebundler -f $(srcdir)/pages/about_license.gmi -v about_license >> $@
+	./pagebundler -f $(srcdir)/pages/about_new.gmi     -v about_new     >> $@
blob - 6d64a46064b519b0d218231adbf4449385bb9496
blob + 5283734cca4ad0227508cc4b03ba115147d1b13b
--- fs.c
+++ fs.c
@@ -128,6 +128,7 @@ handle_get(struct imsg *imsg, size_t datalen)
 		{"about:blank",		NULL,	about_blank,	about_blank_len},
 		{"about:bookmarks",	serve_bookmarks, 0,	0},
 		{"about:help",		NULL,	about_help,	about_help_len},
+		{"about:license",	NULL,	about_license,	about_license_len},
 		{"about:new",		NULL,	about_new,	about_new_len},
 	};
 
blob - 76248ea864545416f85a989901c3f10b271bb22f
blob + 9b7df3a0921c9b1d149199b52ded0c0a15bc317a
--- pages/about_about.gmi
+++ pages/about_about.gmi
@@ -6,4 +6,5 @@ Telescope has a number of “special” built-in pages
 => about:blanks
 => about:bookmarks
 => about:help
+=> about:license
 => about:new
blob - /dev/null
blob + 3a0bb6818928135a4baab1567368f88090500855 (mode 644)
--- /dev/null
+++ pages/about_license.gmi
@@ -0,0 +1,37 @@
+# License
+
+Some general notes about the licenses and copyrights of the Telescope sources; check the source files for the exact copyright holders.
+
+## Telescope
+
+The majority of the code is distributed under the ISC license:
+
+> Copyright (c) 2021 Omar Polo <op@omarpolo.com>
+>
+> Permission to use, copy, modify, and distribute this software for any purpose with or without fee is hereby granted, provided that the above copyright notice and this permission notice appear in all copies.
+>
+> THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
+
+## compat/*.[ch]
+
+The files inside the compat directory have different copyright owners and slightly different licenses, but are all BSD-style.
+
+Copyright owners: (alphabetically sorted)
+
+* Henning Brauer <henning@openbsd.org>
+* Ian F. Darwin
+* Marc Espie <espie@openbsd.org>
+* Nicholas Marriott <nicholas.marriott@gmail.com>
+* Otto Moerbeek <otto@drijf.net>
+* Pierre-Yves Ritschard <pyr@openbsd.org>
+* Reyk Floeter <reyk@openbsd.org>
+* Rich Felker, et al
+* Ted Unangst
+* The Regents of the University of California
+* Todd C. Miller <millert@openbsd.org>
+
+## data/emoji.txt
+
+emoji.txt contains information about various UNICODE codepoints and it’s copyright © 1991-2021 Unicode, Inc.
+
+=> https://www.unicode.org/license.html UNICODE, Inc license agreement
blob - 8cb3d52c2d64e22430c0bdb4be644b1eb50d9dd8
blob + a5abba97cf0c7adb1c835482616b321b5e8e4024
--- pages.h
+++ pages.h
@@ -29,6 +29,9 @@ extern size_t		 about_blank_len;
 extern const uint8_t	 about_help[];
 extern size_t		 about_help_len;
 
+extern const uint8_t	 about_license[];
+extern size_t		 about_license_len;
+
 extern const uint8_t	 about_new[];
 extern size_t		 about_new_len;