xref: /freebsd/contrib/bc/LICENSE.md (revision d4eeb02986980bf33dd56c41ceb9fc5f180c0d47)
1# License
2
3Copyright (c) 2018-2021 Gavin D. Howard <yzena.tech@gmail.com>
4
5Redistribution and use in source and binary forms, with or without modification,
6are permitted provided that the following conditions are met:
7
8* Redistributions of source code must retain the above copyright notice, this
9  list of conditions and the following disclaimer.
10
11* Redistributions in binary form must reproduce the above copyright notice, this
12  list of conditions and the following disclaimer in the documentation and/or
13  other materials provided with the distribution.
14
15THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
16ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
17WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
18DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR
19ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
20(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
21LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON
22ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
23(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
24SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
25
26## History
27
28The files `src/history.c` and `include/history.h` are under the following
29copyrights and license:
30
31Copyright (c) 2010-2014, Salvatore Sanfilippo <antirez at gmail dot com><br>
32Copyright (c) 2010-2013, Pieter Noordhuis <pcnoordhuis at gmail dot com><br>
33Copyright (c) 2018 rain-1 <rain1@openmailbox.org><br>
34Copyright (c) 2018-2021, Gavin D. Howard <yzena.tech@gmail.com>
35
36Redistribution and use in source and binary forms, with or without modification,
37are permitted provided that the following conditions are met:
38
39* Redistributions of source code must retain the above copyright notice, this
40  list of conditions and the following disclaimer.
41
42* Redistributions in binary form must reproduce the above copyright notice, this
43  list of conditions and the following disclaimer in the documentation and/or
44  other materials provided with the distribution.
45
46THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
47ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
48WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
49DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR
50ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
51(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
52LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON
53ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
54(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
55SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
56
57## Rand
58
59The files `src/rand.c` and `include/rand.h` are under the following copyrights
60and license:
61
62Copyright (c) 2014-2017 Melissa O'Neill and PCG Project contributors
63Copyright (c) 2018-2021 Gavin D. Howard <yzena.tech@gmail.com>
64
65Permission is hereby granted, free of charge, to any person obtaining a copy of
66this software and associated documentation files (the "Software"), to deal in
67the Software without restriction, including without limitation the rights to
68use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of
69the Software, and to permit persons to whom the Software is furnished to do so,
70subject to the following conditions:
71
72The above copyright notice and this permission notice shall be included in all
73copies or substantial portions of the Software.
74
75THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
76IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
77FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
78COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
79IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
80CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
81
82## `scripts/safe-install.sh`
83
84The file `scripts/safe-install.sh` is under the following copyright and license:
85
86Copyright (c) 2021 Rich Felker
87
88Permission is hereby granted, free of charge, to any person obtaining a copy of
89this software and associated documentation files (the “Software”), to deal in
90the Software without restriction, including without limitation the rights to
91use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of
92the Software, and to permit persons to whom the Software is furnished to do so,
93subject to the following conditions:
94
95The above copyright notice and this permission notice shall be included in all
96copies or substantial portions of the Software.
97
98THE SOFTWARE IS PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
99IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
100FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
101COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
102IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
103CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
104
105## `scripts/ministat.c`
106
107The file `scripts/ministat.c` is under the following license:
108
109"THE BEER-WARE LICENSE" (Revision 42):
110
111<phk@FreeBSD.ORG> wrote this file. As long as you retain this notice you
112can do whatever you want with this stuff. If we meet some day, and you think
113this stuff is worth it, you can buy me a beer in return.   Poul-Henning Kamp
114