Pier Angelo Vendrame pushed to branch main at The Tor Project / Applications / tor-browser-build
Commits:
-
a5644464
by Pier Angelo Vendrame at 2025-04-01T09:01:10+02:00
-
22f66dea
by Pier Angelo Vendrame at 2025-04-01T09:01:16+02:00
-
a7b3394f
by Pier Angelo Vendrame at 2025-04-01T09:01:16+02:00
-
0402c6c6
by Pier Angelo Vendrame at 2025-04-01T09:01:16+02:00
-
766d9e83
by Pier Angelo Vendrame at 2025-04-01T09:01:16+02:00
21 changed files:
- Makefile
- − projects/browser/Bundle-Data/Docs-TBB/Licenses/Libevent.txt
- − projects/browser/Bundle-Data/Docs-TBB/Licenses/PluggableTransports/LICENSE
- − projects/browser/Bundle-Data/Docs-TBB/Licenses/PluggableTransports/LICENSE.CC0
- − projects/browser/Bundle-Data/Docs-TBB/Licenses/PluggableTransports/LICENSE.GO
- − projects/browser/Bundle-Data/Docs-TBB/Licenses/Tor.txt
- projects/browser/build
- projects/conjure/build
- projects/conjure/config
- + projects/conjure/conjure-pr-267.patch
- + projects/go-licenses/README.md
- + projects/go-licenses/build
- + projects/go-licenses/config
- projects/libevent/build
- projects/lyrebird/build
- projects/lyrebird/config
- projects/openssl/build
- projects/tor-expert-bundle/build
- projects/tor/build
- projects/zlib/build
- projects/zstd/build
Changes:
... | ... | @@ -656,6 +656,8 @@ go_vendor-conjure: submodule-update |
656 | 656 | go_vendor-lyrebird: submodule-update
|
657 | 657 | $(rbm) build lyrebird --step go_vendor --target alpha --target torbrowser-linux-x86_64
|
658 | 658 | |
659 | +go_vendor-go-licenses: submodule-update
|
|
660 | + $(rbm) build go-licenses --step go_vendor --target alpha --target torbrowser-linux-x86_64
|
|
659 | 661 | |
660 | 662 | #############
|
661 | 663 | # rcodesign #
|
1 | -Libevent is available for use under the following license, commonly known
|
|
2 | -as the 3-clause (or "modified") BSD license:
|
|
3 | - |
|
4 | -==============================
|
|
5 | -Copyright (c) 2000-2007 Niels Provos <provos@citi.umich.edu>
|
|
6 | -Copyright (c) 2007-2012 Niels Provos and Nick Mathewson
|
|
7 | - |
|
8 | -Redistribution and use in source and binary forms, with or without
|
|
9 | -modification, are permitted provided that the following conditions
|
|
10 | -are met:
|
|
11 | -1. Redistributions of source code must retain the above copyright
|
|
12 | - notice, this list of conditions and the following disclaimer.
|
|
13 | -2. Redistributions in binary form must reproduce the above copyright
|
|
14 | - notice, this list of conditions and the following disclaimer in the
|
|
15 | - documentation and/or other materials provided with the distribution.
|
|
16 | -3. The name of the author may not be used to endorse or promote products
|
|
17 | - derived from this software without specific prior written permission.
|
|
18 | - |
|
19 | -THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR
|
|
20 | -IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
|
|
21 | -OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
|
|
22 | -IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT,
|
|
23 | -INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
|
|
24 | -NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
|
|
25 | -DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
|
|
26 | -THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
|
|
27 | -(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
|
|
28 | -THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
|
29 | -==============================
|
|
30 | - |
|
31 | -Portions of Libevent are based on works by others, also made available by
|
|
32 | -them under the three-clause BSD license above. The copyright notices are
|
|
33 | -available in the corresponding source files; the license is as above. Here's
|
|
34 | -a list:
|
|
35 | - |
|
36 | -log.c:
|
|
37 | - Copyright (c) 2000 Dug Song <dugsong@monkey.org>
|
|
38 | - Copyright (c) 1993 The Regents of the University of California.
|
|
39 | - |
|
40 | -strlcpy.c:
|
|
41 | - Copyright (c) 1998 Todd C. Miller <Todd.Miller@courtesan.com>
|
|
42 | - |
|
43 | -win32select.c:
|
|
44 | - Copyright (c) 2003 Michael A. Davis <mike@datanerds.net>
|
|
45 | - |
|
46 | -evport.c:
|
|
47 | - Copyright (c) 2007 Sun Microsystems
|
|
48 | - |
|
49 | -ht-internal.h:
|
|
50 | - Copyright (c) 2002 Christopher Clark
|
|
51 | - |
|
52 | -minheap-internal.h:
|
|
53 | - Copyright (c) 2006 Maxim Yegorushkin <maxim.yegorushkin@gmail.com>
|
|
54 | - |
|
55 | -==============================
|
|
56 | - |
|
57 | -The arc4module is available under the following, sometimes called the
|
|
58 | -"OpenBSD" license:
|
|
59 | - |
|
60 | - Copyright (c) 1996, David Mazieres <dm@uun.org>
|
|
61 | - Copyright (c) 2008, Damien Miller <djm@openbsd.org>
|
|
62 | - |
|
63 | - Permission to use, copy, modify, and distribute this software for any
|
|
64 | - purpose with or without fee is hereby granted, provided that the above
|
|
65 | - copyright notice and this permission notice appear in all copies.
|
|
66 | - |
|
67 | - THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
|
|
68 | - WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
|
|
69 | - MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
|
|
70 | - ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
|
|
71 | - WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
|
|
72 | - ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
|
|
73 | - OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
|
|
74 | - |
|
75 | -==============================
|
|
76 | - |
|
77 | -The Windows timer code is based on code from libutp, which is
|
|
78 | -distributed under this license, sometimes called the "MIT" license.
|
|
79 | - |
|
80 | - |
|
81 | -Copyright (c) 2010 BitTorrent, Inc.
|
|
82 | - |
|
83 | -Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
84 | -of this software and associated documentation files (the "Software"), to deal
|
|
85 | -in the Software without restriction, including without limitation the rights
|
|
86 | -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
87 | -copies of the Software, and to permit persons to whom the Software is
|
|
88 | -furnished to do so, subject to the following conditions:
|
|
89 | - |
|
90 | -The above copyright notice and this permission notice shall be included in
|
|
91 | -all copies or substantial portions of the Software.
|
|
92 | - |
|
93 | -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
94 | -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
95 | -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
96 | -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
97 | -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
98 | -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
|
99 | -THE SOFTWARE. |
1 | -This file contains the copyrights and licenses of third-party
|
|
2 | -dependencies of pluggable transports that are distributed in
|
|
3 | -Tor Browser.
|
|
4 | - |
|
5 | -===============================================================================
|
|
6 | - |
|
7 | -OpenSSL
|
|
8 | - |
|
9 | -(From http://openssl.org/source/license.html.)
|
|
10 | - |
|
11 | - LICENSE ISSUES
|
|
12 | - ==============
|
|
13 | - |
|
14 | - The OpenSSL toolkit stays under a dual license, i.e. both the conditions of
|
|
15 | - the OpenSSL License and the original SSLeay license apply to the toolkit.
|
|
16 | - See below for the actual license texts. Actually both licenses are BSD-style
|
|
17 | - Open Source licenses. In case of any license issues related to OpenSSL
|
|
18 | - please contact openssl-core@openssl.org.
|
|
19 | - |
|
20 | - OpenSSL License
|
|
21 | - ---------------
|
|
22 | - |
|
23 | -/* ====================================================================
|
|
24 | - * Copyright (c) 1998-2011 The OpenSSL Project. All rights reserved.
|
|
25 | - *
|
|
26 | - * Redistribution and use in source and binary forms, with or without
|
|
27 | - * modification, are permitted provided that the following conditions
|
|
28 | - * are met:
|
|
29 | - *
|
|
30 | - * 1. Redistributions of source code must retain the above copyright
|
|
31 | - * notice, this list of conditions and the following disclaimer.
|
|
32 | - *
|
|
33 | - * 2. Redistributions in binary form must reproduce the above copyright
|
|
34 | - * notice, this list of conditions and the following disclaimer in
|
|
35 | - * the documentation and/or other materials provided with the
|
|
36 | - * distribution.
|
|
37 | - *
|
|
38 | - * 3. All advertising materials mentioning features or use of this
|
|
39 | - * software must display the following acknowledgment:
|
|
40 | - * "This product includes software developed by the OpenSSL Project
|
|
41 | - * for use in the OpenSSL Toolkit. (http://www.openssl.org/)"
|
|
42 | - *
|
|
43 | - * 4. The names "OpenSSL Toolkit" and "OpenSSL Project" must not be used to
|
|
44 | - * endorse or promote products derived from this software without
|
|
45 | - * prior written permission. For written permission, please contact
|
|
46 | - * openssl-core@openssl.org.
|
|
47 | - *
|
|
48 | - * 5. Products derived from this software may not be called "OpenSSL"
|
|
49 | - * nor may "OpenSSL" appear in their names without prior written
|
|
50 | - * permission of the OpenSSL Project.
|
|
51 | - *
|
|
52 | - * 6. Redistributions of any form whatsoever must retain the following
|
|
53 | - * acknowledgment:
|
|
54 | - * "This product includes software developed by the OpenSSL Project
|
|
55 | - * for use in the OpenSSL Toolkit (http://www.openssl.org/)"
|
|
56 | - *
|
|
57 | - * THIS SOFTWARE IS PROVIDED BY THE OpenSSL PROJECT ``AS IS'' AND ANY
|
|
58 | - * EXPRESSED OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
|
|
59 | - * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
|
|
60 | - * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE OpenSSL PROJECT OR
|
|
61 | - * ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
|
|
62 | - * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
|
|
63 | - * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
|
|
64 | - * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
|
|
65 | - * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT,
|
|
66 | - * STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
|
|
67 | - * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED
|
|
68 | - * OF THE POSSIBILITY OF SUCH DAMAGE.
|
|
69 | - * ====================================================================
|
|
70 | - *
|
|
71 | - * This product includes cryptographic software written by Eric Young
|
|
72 | - * (eay@cryptsoft.com). This product includes software written by Tim
|
|
73 | - * Hudson (tjh@cryptsoft.com).
|
|
74 | - *
|
|
75 | - */
|
|
76 | - |
|
77 | - Original SSLeay License
|
|
78 | - -----------------------
|
|
79 | - |
|
80 | -/* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com)
|
|
81 | - * All rights reserved.
|
|
82 | - *
|
|
83 | - * This package is an SSL implementation written
|
|
84 | - * by Eric Young (eay@cryptsoft.com).
|
|
85 | - * The implementation was written so as to conform with Netscapes SSL.
|
|
86 | - *
|
|
87 | - * This library is free for commercial and non-commercial use as long as
|
|
88 | - * the following conditions are aheared to. The following conditions
|
|
89 | - * apply to all code found in this distribution, be it the RC4, RSA,
|
|
90 | - * lhash, DES, etc., code; not just the SSL code. The SSL documentation
|
|
91 | - * included with this distribution is covered by the same copyright terms
|
|
92 | - * except that the holder is Tim Hudson (tjh@cryptsoft.com).
|
|
93 | - *
|
|
94 | - * Copyright remains Eric Young's, and as such any Copyright notices in
|
|
95 | - * the code are not to be removed.
|
|
96 | - * If this package is used in a product, Eric Young should be given attribution
|
|
97 | - * as the author of the parts of the library used.
|
|
98 | - * This can be in the form of a textual message at program startup or
|
|
99 | - * in documentation (online or textual) provided with the package.
|
|
100 | - *
|
|
101 | - * Redistribution and use in source and binary forms, with or without
|
|
102 | - * modification, are permitted provided that the following conditions
|
|
103 | - * are met:
|
|
104 | - * 1. Redistributions of source code must retain the copyright
|
|
105 | - * notice, this list of conditions and the following disclaimer.
|
|
106 | - * 2. Redistributions in binary form must reproduce the above copyright
|
|
107 | - * notice, this list of conditions and the following disclaimer in the
|
|
108 | - * documentation and/or other materials provided with the distribution.
|
|
109 | - * 3. All advertising materials mentioning features or use of this software
|
|
110 | - * must display the following acknowledgement:
|
|
111 | - * "This product includes cryptographic software written by
|
|
112 | - * Eric Young (eay@cryptsoft.com)"
|
|
113 | - * The word 'cryptographic' can be left out if the rouines from the library
|
|
114 | - * being used are not cryptographic related :-).
|
|
115 | - * 4. If you include any Windows specific code (or a derivative thereof) from
|
|
116 | - * the apps directory (application code) you must include an acknowledgement:
|
|
117 | - * "This product includes software written by Tim Hudson (tjh@cryptsoft.com)"
|
|
118 | - *
|
|
119 | - * THIS SOFTWARE IS PROVIDED BY ERIC YOUNG ``AS IS'' AND
|
|
120 | - * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
|
|
121 | - * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
|
|
122 | - * ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE
|
|
123 | - * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
|
|
124 | - * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
|
|
125 | - * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
|
|
126 | - * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
|
|
127 | - * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
|
|
128 | - * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
|
|
129 | - * SUCH DAMAGE.
|
|
130 | - *
|
|
131 | - * The licence and distribution terms for any publically available version or
|
|
132 | - * derivative of this code cannot be changed. i.e. this code cannot simply be
|
|
133 | - * copied and put under another distribution licence
|
|
134 | - * [including the GNU Public Licence.]
|
|
135 | - */
|
|
136 | - |
|
137 | -===============================================================================
|
|
138 | - |
|
139 | -goptlib
|
|
140 | - |
|
141 | -To the extent possible under law, the authors have dedicated all
|
|
142 | -copyright and related and neighboring rights to this software to the
|
|
143 | -public domain worldwide. This software is distributed without any
|
|
144 | -warranty. See LICENSE.CC0.
|
|
145 | - |
|
146 | -===============================================================================
|
|
147 | - |
|
148 | -lyrebird
|
|
149 | - |
|
150 | -Copyright (c) 2023, The Tor Project
|
|
151 | -Copyright (c) 2014-2023, Yawning Angel <yawning at schwanenlied dot me>
|
|
152 | - |
|
153 | -Redistribution and use in source and binary forms, with or without
|
|
154 | -modification, are permitted provided that the following conditions are met:
|
|
155 | - |
|
156 | - * Redistributions of source code must retain the above copyright notice,
|
|
157 | - this list of conditions and the following disclaimer.
|
|
158 | - |
|
159 | - * Redistributions in binary form must reproduce the above copyright notice,
|
|
160 | - this list of conditions and the following disclaimer in the documentation
|
|
161 | - and/or other materials provided with the distribution.
|
|
162 | - |
|
163 | -THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
|
|
164 | -AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
|
|
165 | -IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
|
|
166 | -ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE
|
|
167 | -LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
|
|
168 | -CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
|
|
169 | -SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
|
|
170 | -INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
|
|
171 | -CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
|
|
172 | -ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
|
|
173 | -POSSIBILITY OF SUCH DAMAGE.
|
|
174 | - |
|
175 | -===============================================================================
|
|
176 | - |
|
177 | -go.net
|
|
178 | - |
|
179 | -Copyright 2009 The Go Authors. All rights reserved.
|
|
180 | -Use of this source code is governed by a BSD-style
|
|
181 | -license that can be found in the LICENSE file.
|
|
182 | - |
|
183 | -For details about the Go License, please see LICENSE.GO.
|
|
184 | - |
|
185 | -===============================================================================
|
|
186 | - |
|
187 | -go.crypto
|
|
188 | - |
|
189 | -Copyright 2009 The Go Authors. All rights reserved.
|
|
190 | -Use of this source code is governed by a BSD-style
|
|
191 | -license that can be found in the LICENSE file.
|
|
192 | - |
|
193 | -For details about the Go License, please see LICENSE.GO.
|
|
194 | - |
|
195 | -===============================================================================
|
|
196 | - |
|
197 | -dchest/siphash
|
|
198 | - |
|
199 | -To the extent possible under law, the authors have dedicated all
|
|
200 | -copyright and related and neighboring rights to this software to the
|
|
201 | -public domain worldwide. This software is distributed without any
|
|
202 | -warranty. See LICENSE.CC0.
|
|
203 | - |
|
204 | -===============================================================================
|
|
205 | - |
|
206 | -filippo.io/edwards25519
|
|
207 | - |
|
208 | -Copyright 2009 The Go Authors. All rights reserved.
|
|
209 | -Use of this source code is governed by a BSD-style
|
|
210 | -license that can be found in the LICENSE file.
|
|
211 | - |
|
212 | -For details about the Go License, please see LICENSE.GO.
|
|
213 | - |
|
214 | -===============================================================================
|
|
215 | - |
|
216 | -yawning/edwards25519-extra
|
|
217 | - |
|
218 | -Copyright (c) 2021 Oasis Labs Inc. All rights reserved.
|
|
219 | -Copyright (c) 2021 Yawning Angel. All rights reserved.
|
|
220 | - |
|
221 | -Redistribution and use in source and binary forms, with or without
|
|
222 | -modification, are permitted provided that the following conditions are
|
|
223 | -met:
|
|
224 | - |
|
225 | -1. Redistributions of source code must retain the above copyright
|
|
226 | - notice, this list of conditions and the following disclaimer.
|
|
227 | - |
|
228 | -2. Redistributions in binary form must reproduce the above copyright
|
|
229 | - notice, this list of conditions and the following disclaimer in the
|
|
230 | - documentation and/or other materials provided with the distribution.
|
|
231 | - |
|
232 | -3. Neither the name of the copyright holder nor the names of its
|
|
233 | - contributors may be used to endorse or promote products derived from
|
|
234 | - this software without specific prior written permission.
|
|
235 | - |
|
236 | -THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS
|
|
237 | -IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED
|
|
238 | -TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A
|
|
239 | -PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
|
|
240 | -HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
|
|
241 | -SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED
|
|
242 | -TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
|
|
243 | -PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
|
|
244 | -LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
|
|
245 | -NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
|
|
246 | -SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
|
247 | - |
|
248 | -===============================================================================
|
|
249 | - |
|
250 | -xtaci/kcp-go
|
|
251 | - |
|
252 | -The MIT License (MIT)
|
|
253 | - |
|
254 | -Copyright (c) 2015 Daniel Fu
|
|
255 | - |
|
256 | -Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
257 | -of this software and associated documentation files (the "Software"), to deal
|
|
258 | -in the Software without restriction, including without limitation the rights
|
|
259 | -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
260 | -copies of the Software, and to permit persons to whom the Software is
|
|
261 | -furnished to do so, subject to the following conditions:
|
|
262 | - |
|
263 | -The above copyright notice and this permission notice shall be included in all
|
|
264 | -copies or substantial portions of the Software.
|
|
265 | - |
|
266 | -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
267 | -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
268 | -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
269 | -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
270 | -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
271 | -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
272 | -SOFTWARE.
|
|
273 | - |
|
274 | -===============================================================================
|
|
275 | - |
|
276 | -xtaci/smux
|
|
277 | - |
|
278 | -MIT License
|
|
279 | - |
|
280 | -Copyright (c) 2016-2017 Daniel Fu
|
|
281 | - |
|
282 | -Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
283 | -of this software and associated documentation files (the "Software"), to deal
|
|
284 | -in the Software without restriction, including without limitation the rights
|
|
285 | -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
286 | -copies of the Software, and to permit persons to whom the Software is
|
|
287 | -furnished to do so, subject to the following conditions:
|
|
288 | - |
|
289 | -The above copyright notice and this permission notice shall be included in all
|
|
290 | -copies or substantial portions of the Software.
|
|
291 | - |
|
292 | -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
293 | -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
294 | -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
295 | -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
296 | -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
297 | -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
298 | -SOFTWARE. |
1 | -Creative Commons Legal Code
|
|
2 | - |
|
3 | -CC0 1.0 Universal
|
|
4 | - |
|
5 | - CREATIVE COMMONS CORPORATION IS NOT A LAW FIRM AND DOES NOT PROVIDE
|
|
6 | - LEGAL SERVICES. DISTRIBUTION OF THIS DOCUMENT DOES NOT CREATE AN
|
|
7 | - ATTORNEY-CLIENT RELATIONSHIP. CREATIVE COMMONS PROVIDES THIS
|
|
8 | - INFORMATION ON AN "AS-IS" BASIS. CREATIVE COMMONS MAKES NO WARRANTIES
|
|
9 | - REGARDING THE USE OF THIS DOCUMENT OR THE INFORMATION OR WORKS
|
|
10 | - PROVIDED HEREUNDER, AND DISCLAIMS LIABILITY FOR DAMAGES RESULTING FROM
|
|
11 | - THE USE OF THIS DOCUMENT OR THE INFORMATION OR WORKS PROVIDED
|
|
12 | - HEREUNDER.
|
|
13 | - |
|
14 | -Statement of Purpose
|
|
15 | - |
|
16 | -The laws of most jurisdictions throughout the world automatically confer
|
|
17 | -exclusive Copyright and Related Rights (defined below) upon the creator
|
|
18 | -and subsequent owner(s) (each and all, an "owner") of an original work of
|
|
19 | -authorship and/or a database (each, a "Work").
|
|
20 | - |
|
21 | -Certain owners wish to permanently relinquish those rights to a Work for
|
|
22 | -the purpose of contributing to a commons of creative, cultural and
|
|
23 | -scientific works ("Commons") that the public can reliably and without fear
|
|
24 | -of later claims of infringement build upon, modify, incorporate in other
|
|
25 | -works, reuse and redistribute as freely as possible in any form whatsoever
|
|
26 | -and for any purposes, including without limitation commercial purposes.
|
|
27 | -These owners may contribute to the Commons to promote the ideal of a free
|
|
28 | -culture and the further production of creative, cultural and scientific
|
|
29 | -works, or to gain reputation or greater distribution for their Work in
|
|
30 | -part through the use and efforts of others.
|
|
31 | - |
|
32 | -For these and/or other purposes and motivations, and without any
|
|
33 | -expectation of additional consideration or compensation, the person
|
|
34 | -associating CC0 with a Work (the "Affirmer"), to the extent that he or she
|
|
35 | -is an owner of Copyright and Related Rights in the Work, voluntarily
|
|
36 | -elects to apply CC0 to the Work and publicly distribute the Work under its
|
|
37 | -terms, with knowledge of his or her Copyright and Related Rights in the
|
|
38 | -Work and the meaning and intended legal effect of CC0 on those rights.
|
|
39 | - |
|
40 | -1. Copyright and Related Rights. A Work made available under CC0 may be
|
|
41 | -protected by copyright and related or neighboring rights ("Copyright and
|
|
42 | -Related Rights"). Copyright and Related Rights include, but are not
|
|
43 | -limited to, the following:
|
|
44 | - |
|
45 | - i. the right to reproduce, adapt, distribute, perform, display,
|
|
46 | - communicate, and translate a Work;
|
|
47 | - ii. moral rights retained by the original author(s) and/or performer(s);
|
|
48 | -iii. publicity and privacy rights pertaining to a person's image or
|
|
49 | - likeness depicted in a Work;
|
|
50 | - iv. rights protecting against unfair competition in regards to a Work,
|
|
51 | - subject to the limitations in paragraph 4(a), below;
|
|
52 | - v. rights protecting the extraction, dissemination, use and reuse of data
|
|
53 | - in a Work;
|
|
54 | - vi. database rights (such as those arising under Directive 96/9/EC of the
|
|
55 | - European Parliament and of the Council of 11 March 1996 on the legal
|
|
56 | - protection of databases, and under any national implementation
|
|
57 | - thereof, including any amended or successor version of such
|
|
58 | - directive); and
|
|
59 | -vii. other similar, equivalent or corresponding rights throughout the
|
|
60 | - world based on applicable law or treaty, and any national
|
|
61 | - implementations thereof.
|
|
62 | - |
|
63 | -2. Waiver. To the greatest extent permitted by, but not in contravention
|
|
64 | -of, applicable law, Affirmer hereby overtly, fully, permanently,
|
|
65 | -irrevocably and unconditionally waives, abandons, and surrenders all of
|
|
66 | -Affirmer's Copyright and Related Rights and associated claims and causes
|
|
67 | -of action, whether now known or unknown (including existing as well as
|
|
68 | -future claims and causes of action), in the Work (i) in all territories
|
|
69 | -worldwide, (ii) for the maximum duration provided by applicable law or
|
|
70 | -treaty (including future time extensions), (iii) in any current or future
|
|
71 | -medium and for any number of copies, and (iv) for any purpose whatsoever,
|
|
72 | -including without limitation commercial, advertising or promotional
|
|
73 | -purposes (the "Waiver"). Affirmer makes the Waiver for the benefit of each
|
|
74 | -member of the public at large and to the detriment of Affirmer's heirs and
|
|
75 | -successors, fully intending that such Waiver shall not be subject to
|
|
76 | -revocation, rescission, cancellation, termination, or any other legal or
|
|
77 | -equitable action to disrupt the quiet enjoyment of the Work by the public
|
|
78 | -as contemplated by Affirmer's express Statement of Purpose.
|
|
79 | - |
|
80 | -3. Public License Fallback. Should any part of the Waiver for any reason
|
|
81 | -be judged legally invalid or ineffective under applicable law, then the
|
|
82 | -Waiver shall be preserved to the maximum extent permitted taking into
|
|
83 | -account Affirmer's express Statement of Purpose. In addition, to the
|
|
84 | -extent the Waiver is so judged Affirmer hereby grants to each affected
|
|
85 | -person a royalty-free, non transferable, non sublicensable, non exclusive,
|
|
86 | -irrevocable and unconditional license to exercise Affirmer's Copyright and
|
|
87 | -Related Rights in the Work (i) in all territories worldwide, (ii) for the
|
|
88 | -maximum duration provided by applicable law or treaty (including future
|
|
89 | -time extensions), (iii) in any current or future medium and for any number
|
|
90 | -of copies, and (iv) for any purpose whatsoever, including without
|
|
91 | -limitation commercial, advertising or promotional purposes (the
|
|
92 | -"License"). The License shall be deemed effective as of the date CC0 was
|
|
93 | -applied by Affirmer to the Work. Should any part of the License for any
|
|
94 | -reason be judged legally invalid or ineffective under applicable law, such
|
|
95 | -partial invalidity or ineffectiveness shall not invalidate the remainder
|
|
96 | -of the License, and in such case Affirmer hereby affirms that he or she
|
|
97 | -will not (i) exercise any of his or her remaining Copyright and Related
|
|
98 | -Rights in the Work or (ii) assert any associated claims and causes of
|
|
99 | -action with respect to the Work, in either case contrary to Affirmer's
|
|
100 | -express Statement of Purpose.
|
|
101 | - |
|
102 | -4. Limitations and Disclaimers.
|
|
103 | - |
|
104 | - a. No trademark or patent rights held by Affirmer are waived, abandoned,
|
|
105 | - surrendered, licensed or otherwise affected by this document.
|
|
106 | - b. Affirmer offers the Work as-is and makes no representations or
|
|
107 | - warranties of any kind concerning the Work, express, implied,
|
|
108 | - statutory or otherwise, including without limitation warranties of
|
|
109 | - title, merchantability, fitness for a particular purpose, non
|
|
110 | - infringement, or the absence of latent or other defects, accuracy, or
|
|
111 | - the present or absence of errors, whether or not discoverable, all to
|
|
112 | - the greatest extent permissible under applicable law.
|
|
113 | - c. Affirmer disclaims responsibility for clearing rights of other persons
|
|
114 | - that may apply to the Work or any use thereof, including without
|
|
115 | - limitation any person's Copyright and Related Rights in the Work.
|
|
116 | - Further, Affirmer disclaims responsibility for obtaining any necessary
|
|
117 | - consents, permissions or other rights required for any use of the
|
|
118 | - Work.
|
|
119 | - d. Affirmer understands and acknowledges that Creative Commons is not a
|
|
120 | - party to this document and has no duty or obligation with respect to
|
|
121 | - this CC0 or use of the Work. |
1 | -Copyright (c) 2012 The Go Authors. All rights reserved.
|
|
2 | - |
|
3 | -Redistribution and use in source and binary forms, with or without
|
|
4 | -modification, are permitted provided that the following conditions are
|
|
5 | -met:
|
|
6 | - |
|
7 | - * Redistributions of source code must retain the above copyright
|
|
8 | -notice, this list of conditions and the following disclaimer.
|
|
9 | - * Redistributions in binary form must reproduce the above
|
|
10 | -copyright notice, this list of conditions and the following disclaimer
|
|
11 | -in the documentation and/or other materials provided with the
|
|
12 | -distribution.
|
|
13 | - * Neither the name of Google Inc. nor the names of its
|
|
14 | -contributors may be used to endorse or promote products derived from
|
|
15 | -this software without specific prior written permission.
|
|
16 | - |
|
17 | -THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
|
|
18 | -"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
|
|
19 | -LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
|
|
20 | -A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
|
|
21 | -OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
|
|
22 | -SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
|
|
23 | -LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
|
|
24 | -DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
|
|
25 | -THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
|
|
26 | -(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
|
|
27 | -OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
1 | - This file contains the license for Tor,
|
|
2 | - a free software project to provide anonymity on the Internet.
|
|
3 | - |
|
4 | - It also lists the licenses for other components used by Tor.
|
|
5 | - |
|
6 | - For more information about Tor, see https://www.torproject.org/.
|
|
7 | - |
|
8 | - If you got this file as a part of a larger bundle,
|
|
9 | - there may be other license terms that you should be aware of.
|
|
10 | - |
|
11 | -===============================================================================
|
|
12 | -Tor is distributed under the "3-clause BSD" license, a commonly used
|
|
13 | -software license that means Tor is both free software and open source:
|
|
14 | - |
|
15 | -Copyright (c) 2001-2004, Roger Dingledine
|
|
16 | -Copyright (c) 2004-2006, Roger Dingledine, Nick Mathewson
|
|
17 | -Copyright (c) 2007-2019, The Tor Project, Inc.
|
|
18 | - |
|
19 | -Redistribution and use in source and binary forms, with or without
|
|
20 | -modification, are permitted provided that the following conditions are
|
|
21 | -met:
|
|
22 | - |
|
23 | - * Redistributions of source code must retain the above copyright
|
|
24 | -notice, this list of conditions and the following disclaimer.
|
|
25 | - |
|
26 | - * Redistributions in binary form must reproduce the above
|
|
27 | -copyright notice, this list of conditions and the following disclaimer
|
|
28 | -in the documentation and/or other materials provided with the
|
|
29 | -distribution.
|
|
30 | - |
|
31 | - * Neither the names of the copyright owners nor the names of its
|
|
32 | -contributors may be used to endorse or promote products derived from
|
|
33 | -this software without specific prior written permission.
|
|
34 | - |
|
35 | -THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
|
|
36 | -"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
|
|
37 | -LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
|
|
38 | -A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
|
|
39 | -OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
|
|
40 | -SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
|
|
41 | -LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
|
|
42 | -DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
|
|
43 | -THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
|
|
44 | -(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
|
|
45 | -OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
|
46 | -===============================================================================
|
|
47 | -src/ext/strlcat.c and src/ext/strlcpy.c by Todd C. Miller are licensed
|
|
48 | -under the following license:
|
|
49 | - |
|
50 | - * Copyright (c) 1998 Todd C. Miller <Todd.Miller@courtesan.com>
|
|
51 | - * All rights reserved.
|
|
52 | - *
|
|
53 | - * Redistribution and use in source and binary forms, with or without
|
|
54 | - * modification, are permitted provided that the following conditions
|
|
55 | - * are met:
|
|
56 | - * 1. Redistributions of source code must retain the above copyright
|
|
57 | - * notice, this list of conditions and the following disclaimer.
|
|
58 | - * 2. Redistributions in binary form must reproduce the above copyright
|
|
59 | - * notice, this list of conditions and the following disclaimer in the
|
|
60 | - * documentation and/or other materials provided with the distribution.
|
|
61 | - * 3. The name of the author may not be used to endorse or promote products
|
|
62 | - * derived from this software without specific prior written permission.
|
|
63 | - *
|
|
64 | - * THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES,
|
|
65 | - * INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY
|
|
66 | - * AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL
|
|
67 | - * THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
|
|
68 | - * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
|
|
69 | - * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
|
|
70 | - * OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
|
|
71 | - * WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
|
|
72 | - * OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
|
|
73 | - * ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
|
74 | -===============================================================================
|
|
75 | -src/ext/tor_queue.h is licensed under the following license:
|
|
76 | - |
|
77 | - * Copyright (c) 1991, 1993
|
|
78 | - * The Regents of the University of California. All rights reserved.
|
|
79 | - *
|
|
80 | - * Redistribution and use in source and binary forms, with or without
|
|
81 | - * modification, are permitted provided that the following conditions
|
|
82 | - * are met:
|
|
83 | - * 1. Redistributions of source code must retain the above copyright
|
|
84 | - * notice, this list of conditions and the following disclaimer.
|
|
85 | - * 2. Redistributions in binary form must reproduce the above copyright
|
|
86 | - * notice, this list of conditions and the following disclaimer in the
|
|
87 | - * documentation and/or other materials provided with the distribution.
|
|
88 | - * 3. Neither the name of the University nor the names of its contributors
|
|
89 | - * may be used to endorse or promote products derived from this software
|
|
90 | - * without specific prior written permission.
|
|
91 | - *
|
|
92 | - * THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
|
|
93 | - * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
|
|
94 | - * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
|
|
95 | - * ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
|
|
96 | - * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
|
|
97 | - * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
|
|
98 | - * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
|
|
99 | - * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
|
|
100 | - * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
|
|
101 | - * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
|
|
102 | - * SUCH DAMAGE.
|
|
103 | - |
|
104 | -===============================================================================
|
|
105 | -src/ext/csiphash.c is licensed under the following license:
|
|
106 | - |
|
107 | - Copyright (c) 2013 Marek Majkowski <marek@popcount.org>
|
|
108 | - |
|
109 | - Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
110 | - of this software and associated documentation files (the "Software"), to deal
|
|
111 | - in the Software without restriction, including without limitation the rights
|
|
112 | - to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
113 | - copies of the Software, and to permit persons to whom the Software is
|
|
114 | - furnished to do so, subject to the following conditions:
|
|
115 | - |
|
116 | - The above copyright notice and this permission notice shall be included in
|
|
117 | - all copies or substantial portions of the Software.
|
|
118 | - |
|
119 | - THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
120 | - IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
121 | - FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
122 | - AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
123 | - LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
124 | - OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
|
125 | - THE SOFTWARE.
|
|
126 | -===============================================================================
|
|
127 | -Trunnel is distributed under this license:
|
|
128 | - |
|
129 | -Copyright 2014 The Tor Project, Inc.
|
|
130 | - |
|
131 | -Redistribution and use in source and binary forms, with or without
|
|
132 | -modification, are permitted provided that the following conditions are
|
|
133 | -met:
|
|
134 | - |
|
135 | - * Redistributions of source code must retain the above copyright
|
|
136 | -notice, this list of conditions and the following disclaimer.
|
|
137 | - |
|
138 | - * Redistributions in binary form must reproduce the above
|
|
139 | -copyright notice, this list of conditions and the following disclaimer
|
|
140 | -in the documentation and/or other materials provided with the
|
|
141 | -distribution.
|
|
142 | - |
|
143 | - * Neither the names of the copyright owners nor the names of its
|
|
144 | -contributors may be used to endorse or promote products derived from
|
|
145 | -this software without specific prior written permission.
|
|
146 | - |
|
147 | -THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
|
|
148 | -"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
|
|
149 | -LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
|
|
150 | -A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
|
|
151 | -OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
|
|
152 | -SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
|
|
153 | -LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
|
|
154 | -DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
|
|
155 | -THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
|
|
156 | -(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
|
|
157 | -OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
|
158 | - |
|
159 | -===============================================================================
|
|
160 | -getdelim.c is distributed under this license:
|
|
161 | - |
|
162 | - Copyright (c) 2011 The NetBSD Foundation, Inc.
|
|
163 | - All rights reserved.
|
|
164 | - |
|
165 | - This code is derived from software contributed to The NetBSD Foundation
|
|
166 | - by Christos Zoulas.
|
|
167 | - |
|
168 | - Redistribution and use in source and binary forms, with or without
|
|
169 | - modification, are permitted provided that the following conditions
|
|
170 | - are met:
|
|
171 | - 1. Redistributions of source code must retain the above copyright
|
|
172 | - notice, this list of conditions and the following disclaimer.
|
|
173 | - 2. Redistributions in binary form must reproduce the above copyright
|
|
174 | - notice, this list of conditions and the following disclaimer in the
|
|
175 | - documentation and/or other materials provided with the distribution.
|
|
176 | - |
|
177 | - THIS SOFTWARE IS PROVIDED BY THE NETBSD FOUNDATION, INC. AND CONTRIBUTORS
|
|
178 | - ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED
|
|
179 | - TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
|
|
180 | - PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE FOUNDATION OR CONTRIBUTORS
|
|
181 | - BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
|
|
182 | - CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
|
|
183 | - SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
|
|
184 | - INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
|
|
185 | - CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
|
|
186 | - ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
|
|
187 | - POSSIBILITY OF SUCH DAMAGE.
|
|
188 | - |
|
189 | -===============================================================================
|
|
190 | -src/config/geoip is licensed under the following license:
|
|
191 | - |
|
192 | -OPEN DATA LICENSE (GeoLite Country and GeoLite City databases)
|
|
193 | - |
|
194 | -Copyright (c) 2008 MaxMind, Inc. All Rights Reserved.
|
|
195 | - |
|
196 | -All advertising materials and documentation mentioning features or use of
|
|
197 | -this database must display the following acknowledgment:
|
|
198 | -"This product includes GeoLite data created by MaxMind, available from
|
|
199 | -http://maxmind.com/"
|
|
200 | - |
|
201 | -Redistribution and use with or without modification, are permitted provided
|
|
202 | -that the following conditions are met:
|
|
203 | -1. Redistributions must retain the above copyright notice, this list of
|
|
204 | -conditions and the following disclaimer in the documentation and/or other
|
|
205 | -materials provided with the distribution.
|
|
206 | -2. All advertising materials and documentation mentioning features or use of
|
|
207 | -this database must display the following acknowledgement:
|
|
208 | -"This product includes GeoLite data created by MaxMind, available from
|
|
209 | -http://maxmind.com/"
|
|
210 | -3. "MaxMind" may not be used to endorse or promote products derived from this
|
|
211 | -database without specific prior written permission.
|
|
212 | - |
|
213 | -THIS DATABASE IS PROVIDED BY MAXMIND, INC ``AS IS'' AND ANY
|
|
214 | -EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
|
|
215 | -WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
|
|
216 | -DISCLAIMED. IN NO EVENT SHALL MAXMIND BE LIABLE FOR ANY
|
|
217 | -DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
|
|
218 | -(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
|
|
219 | -LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
|
|
220 | -ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
|
|
221 | -(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
|
|
222 | -DATABASE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
|
223 | -===============================================================================
|
|
224 | -m4/pc_from_ucontext.m4 is available under the following license. Note that
|
|
225 | -it is *not* built into the Tor software.
|
|
226 | - |
|
227 | -Copyright (c) 2005, Google Inc.
|
|
228 | -All rights reserved.
|
|
229 | - |
|
230 | -Redistribution and use in source and binary forms, with or without
|
|
231 | -modification, are permitted provided that the following conditions are
|
|
232 | -met:
|
|
233 | - |
|
234 | - * Redistributions of source code must retain the above copyright
|
|
235 | -notice, this list of conditions and the following disclaimer.
|
|
236 | - * Redistributions in binary form must reproduce the above
|
|
237 | -copyright notice, this list of conditions and the following disclaimer
|
|
238 | -in the documentation and/or other materials provided with the
|
|
239 | -distribution.
|
|
240 | - * Neither the name of Google Inc. nor the names of its
|
|
241 | -contributors may be used to endorse or promote products derived from
|
|
242 | -this software without specific prior written permission.
|
|
243 | - |
|
244 | -THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
|
|
245 | -"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
|
|
246 | -LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
|
|
247 | -A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
|
|
248 | -OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
|
|
249 | -SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
|
|
250 | -LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
|
|
251 | -DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
|
|
252 | -THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
|
|
253 | -(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
|
|
254 | -OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
|
255 | - |
|
256 | -===============================================================================
|
|
257 | -m4/pkg.m4 is available under the following license. Note that
|
|
258 | -it is *not* built into the Tor software.
|
|
259 | - |
|
260 | -pkg.m4 - Macros to locate and utilise pkg-config. -*- Autoconf -*-
|
|
261 | -serial 1 (pkg-config-0.24)
|
|
262 | - |
|
263 | -Copyright © 2004 Scott James Remnant <scott@netsplit.com>.
|
|
264 | - |
|
265 | -This program is free software; you can redistribute it and/or modify
|
|
266 | -it under the terms of the GNU General Public License as published by
|
|
267 | -the Free Software Foundation; either version 2 of the License, or
|
|
268 | -(at your option) any later version.
|
|
269 | - |
|
270 | -This program is distributed in the hope that it will be useful, but
|
|
271 | -WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
272 | -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
|
273 | -General Public License for more details.
|
|
274 | - |
|
275 | -You should have received a copy of the GNU General Public License
|
|
276 | -along with this program; if not, write to the Free Software
|
|
277 | -Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
|
278 | - |
|
279 | -As a special exception to the GNU General Public License, if you
|
|
280 | -distribute this file as part of a program that contains a
|
|
281 | -configuration script generated by Autoconf, you may include it under
|
|
282 | -the same distribution terms that you use for the rest of that program.
|
|
283 | -===============================================================================
|
|
284 | -src/ext/readpassphrase.[ch] are distributed under this license:
|
|
285 | - |
|
286 | - Copyright (c) 2000-2002, 2007 Todd C. Miller <Todd.Miller@courtesan.com>
|
|
287 | - |
|
288 | - Permission to use, copy, modify, and distribute this software for any
|
|
289 | - purpose with or without fee is hereby granted, provided that the above
|
|
290 | - copyright notice and this permission notice appear in all copies.
|
|
291 | - |
|
292 | - THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
|
|
293 | - WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
|
|
294 | - MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
|
|
295 | - ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
|
|
296 | - WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
|
|
297 | - ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
|
|
298 | - OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
|
|
299 | - |
|
300 | - Sponsored in part by the Defense Advanced Research Projects
|
|
301 | - Agency (DARPA) and Air Force Research Laboratory, Air Force
|
|
302 | - Materiel Command, USAF, under agreement number F39502-99-1-0512.
|
|
303 | - |
|
304 | -===============================================================================
|
|
305 | -src/ext/mulodi4.c is distributed under this license:
|
|
306 | - |
|
307 | - =========================================================================
|
|
308 | - compiler_rt License
|
|
309 | - =========================================================================
|
|
310 | - |
|
311 | - The compiler_rt library is dual licensed under both the
|
|
312 | - University of Illinois "BSD-Like" license and the MIT license.
|
|
313 | - As a user of this code you may choose to use it under either
|
|
314 | - license. As a contributor, you agree to allow your code to be
|
|
315 | - used under both.
|
|
316 | - |
|
317 | - Full text of the relevant licenses is included below.
|
|
318 | - |
|
319 | - =========================================================================
|
|
320 | - |
|
321 | - University of Illinois/NCSA
|
|
322 | - Open Source License
|
|
323 | - |
|
324 | - Copyright (c) 2009-2016 by the contributors listed in CREDITS.TXT
|
|
325 | - |
|
326 | - All rights reserved.
|
|
327 | - |
|
328 | - Developed by:
|
|
329 | - |
|
330 | - LLVM Team
|
|
331 | - |
|
332 | - University of Illinois at Urbana-Champaign
|
|
333 | - |
|
334 | - http://llvm.org
|
|
335 | - |
|
336 | - Permission is hereby granted, free of charge, to any person
|
|
337 | - obtaining a copy of this software and associated documentation
|
|
338 | - files (the "Software"), to deal with the Software without
|
|
339 | - restriction, including without limitation the rights to use,
|
|
340 | - copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
341 | - copies of the Software, and to permit persons to whom the
|
|
342 | - Software is furnished to do so, subject to the following
|
|
343 | - conditions:
|
|
344 | - |
|
345 | - * Redistributions of source code must retain the above
|
|
346 | - copyright notice, this list of conditions and the following
|
|
347 | - disclaimers.
|
|
348 | - |
|
349 | - * Redistributions in binary form must reproduce the above
|
|
350 | - copyright notice, this list of conditions and the following
|
|
351 | - disclaimers in the documentation and/or other materials
|
|
352 | - provided with the distribution.
|
|
353 | - |
|
354 | - * Neither the names of the LLVM Team, University of Illinois
|
|
355 | - at Urbana-Champaign, nor the names of its contributors may
|
|
356 | - be used to endorse or promote products derived from this
|
|
357 | - Software without specific prior written permission.
|
|
358 | - |
|
359 | - THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
|
360 | - EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES
|
|
361 | - OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
|
|
362 | - NONINFRINGEMENT. IN NO EVENT SHALL THE CONTRIBUTORS OR COPYRIGHT
|
|
363 | - HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
|
|
364 | - WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
|
|
365 | - FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
|
|
366 | - OTHER DEALINGS WITH THE SOFTWARE.
|
|
367 | - |
|
368 | - =========================================================================
|
|
369 | - |
|
370 | - Copyright (c) 2009-2015 by the contributors listed in CREDITS.TXT
|
|
371 | - |
|
372 | - Permission is hereby granted, free of charge, to any person
|
|
373 | - obtaining a copy of this software and associated documentation
|
|
374 | - files (the "Software"), to deal in the Software without
|
|
375 | - restriction, including without limitation the rights to use,
|
|
376 | - copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
377 | - copies of the Software, and to permit persons to whom the
|
|
378 | - Software is furnished to do so, subject to the following
|
|
379 | - conditions:
|
|
380 | - |
|
381 | - The above copyright notice and this permission notice shall be
|
|
382 | - included in all copies or substantial portions of the Software.
|
|
383 | - |
|
384 | - THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
|
385 | - EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES
|
|
386 | - OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
|
|
387 | - NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
|
|
388 | - HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
|
|
389 | - WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
|
|
390 | - FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
|
|
391 | - OTHER DEALINGS IN THE SOFTWARE.
|
|
392 | - |
|
393 | - =========================================================================
|
|
394 | - Copyrights and Licenses for Third Party Software Distributed with LLVM:
|
|
395 | - =========================================================================
|
|
396 | - |
|
397 | - The LLVM software contains code written by third parties. Such
|
|
398 | - software will have its own individual LICENSE.TXT file in the
|
|
399 | - directory in which it appears. This file will describe the
|
|
400 | - copyrights, license, and restrictions which apply to that code.
|
|
401 | - |
|
402 | - The disclaimer of warranty in the University of Illinois Open
|
|
403 | - Source License applies to all code in the LLVM Distribution, and
|
|
404 | - nothing in any of the other licenses gives permission to use the
|
|
405 | - names of the LLVM Team or the University of Illinois to endorse
|
|
406 | - or promote products derived from this Software.
|
|
407 | - |
|
408 | -===============================================================================
|
|
409 | -If you got Tor as a static binary with OpenSSL included, then you should know:
|
|
410 | - "This product includes software developed by the OpenSSL Project
|
|
411 | - for use in the OpenSSL Toolkit (http://www.openssl.org/)"
|
|
412 | -=============================================================================== |
... | ... | @@ -124,6 +124,11 @@ mv [% c('input_files_by_name/noscript') %] "$TBDIR/$EXTSPATH/{73a6fe31-595d-460b |
124 | 124 | [% END %]
|
125 | 125 | |
126 | 126 | tar -xf [% c('input_files_by_name/moat-settings') %]
|
127 | + |
|
128 | + mkdir -p "$TBDIR/$DOCSPATH/Licenses" [% IF c("var/macos_universal") %]"$TBDIR_AARCH64/$DOCSPATH/Licenses"[% END %]
|
|
129 | + for f in docs/*; do
|
|
130 | + mv_tbdir $f $DOCSPATH/Licenses
|
|
131 | + done
|
|
127 | 132 | [% END -%]
|
128 | 133 | |
129 | 134 | for tbdir in "${TBDIRS[@]}"
|
... | ... | @@ -4,6 +4,9 @@ |
4 | 4 | distdir=/var/tmp/dist/[% project %]
|
5 | 5 | mkdir -p $distdir
|
6 | 6 | |
7 | +tar -C /var/tmp/dist -xf [% c('input_files_by_name/go-licenses') %]
|
|
8 | +export PATH=$PATH:/var/tmp/dist/go-licenses
|
|
9 | + |
|
7 | 10 | [% IF c("var/android") -%]
|
8 | 11 | [% pc(c('var/compiler'), 'var/setup', { compiler_tarfile => c('input_files_by_name/' _ c('var/compiler')) }) %]
|
9 | 12 | # We need to explicitly set CGO_ENABLED with Go 1.13.x as the Android build
|
... | ... | @@ -16,13 +19,19 @@ tar -C /var/tmp/build -xf [% project %]-[% c('version') %].tar.[% c('compress_ta |
16 | 19 | cd /var/tmp/build/[% project %]-[% c('version') %]
|
17 | 20 | |
18 | 21 | tar -xf $rootdir/[% c('input_files_by_name/go_vendor') %]
|
22 | +[% IF c("var/windows") -%]
|
|
23 | + pushd vendor/github.com/refraction-networking/conjure
|
|
24 | + patch -p1 < $rootdir/conjure-pr-267.patch
|
|
25 | + popd
|
|
26 | +[% END -%]
|
|
19 | 27 | |
20 | 28 | cd client
|
21 | -go build -ldflags '-s' -tags 'protoreflect'
|
|
29 | +go build -ldflags '-s[% IF c("var/android") %] -checklinkname=0[% END %]' -tags 'protoreflect'
|
|
22 | 30 | cp -a client[% IF c("var/windows") %].exe[% END %] $distdir/conjure-client[% IF c("var/windows") %].exe[% END %]
|
23 | 31 | |
24 | 32 | cd ..
|
25 | 33 | cp -a README.md $distdir/README.CONJURE.md
|
34 | +go-licenses save ./client --save_path=$distdir/licenses
|
|
26 | 35 | |
27 | 36 | cd $distdir
|
28 | 37 | [% c('tar', {
|
1 | 1 | # vim: filetype=yaml sw=2
|
2 | 2 | version: '[% c("abbrev") %]'
|
3 | 3 | git_url: https://gitlab.torproject.org/tpo/anti-censorship/pluggable-transports/conjure.git
|
4 | -git_hash: b7d485734c3ab09ef3da818abb4b39ec27ef3a73
|
|
4 | +git_hash: 505cb48152e89e12a608ec6a0101af8a2d266fb1
|
|
5 | 5 | container:
|
6 | 6 | use_container: 1
|
7 | 7 | |
... | ... | @@ -19,6 +19,12 @@ steps: |
19 | 19 | pkg_type: go_vendor
|
20 | 20 | project: conjure
|
21 | 21 | norec:
|
22 | - sha256sum: 2b403d6edf075777003bf2194a43fb178a28a4eaa7d23ec8f104563d9bbd7e53
|
|
22 | + sha256sum: 8f33624ebabec17e09d9aeae8eb0bfc08b78b6089986f3fe9b7fde03a692a22b
|
|
23 | 23 | target_replace:
|
24 | 24 | '^torbrowser-(?!testbuild).*': 'torbrowser-linux-x86_64'
|
25 | + # https://github.com/refraction-networking/conjure/pull/267
|
|
26 | + # Remove this once the depdency is updated.
|
|
27 | + - filename: conjure-pr-267.patch
|
|
28 | + enable: '[% c("var/windows") %]'
|
|
29 | + - name: go-licenses
|
|
30 | + project: go-licenses |
1 | +From e5968e71e3ce40e24a5108d2dea7a9bc1d050559 Mon Sep 17 00:00:00 2001
|
|
2 | +From: Rod Hynes <rod-hynes@users.noreply.github.com>
|
|
3 | +Date: Mon, 29 Jan 2024 13:34:44 -0500
|
|
4 | +Subject: [PATCH] Fix Windows build
|
|
5 | + |
|
6 | +---
|
|
7 | + pkg/transports/connecting/dtls/nat.go | 5 ++---
|
|
8 | + pkg/transports/connecting/dtls/setsockopt_other.go | 12 ++++++++++++
|
|
9 | + pkg/transports/connecting/dtls/setsockopt_windows.go | 12 ++++++++++++
|
|
10 | + 3 files changed, 26 insertions(+), 3 deletions(-)
|
|
11 | + create mode 100644 pkg/transports/connecting/dtls/setsockopt_other.go
|
|
12 | + create mode 100644 pkg/transports/connecting/dtls/setsockopt_windows.go
|
|
13 | + |
|
14 | +diff --git a/pkg/transports/connecting/dtls/nat.go b/pkg/transports/connecting/dtls/nat.go
|
|
15 | +index 8860316b..ab3716b9 100644
|
|
16 | +--- a/pkg/transports/connecting/dtls/nat.go
|
|
17 | ++++ b/pkg/transports/connecting/dtls/nat.go
|
|
18 | +@@ -5,7 +5,6 @@ import (
|
|
19 | + "fmt"
|
|
20 | + "net"
|
|
21 | + "os"
|
|
22 | +- "syscall"
|
|
23 | + "time"
|
|
24 | +
|
|
25 | + "github.com/pion/stun"
|
|
26 | +@@ -58,7 +57,7 @@ func openUDPLimitTTL(ctx context.Context, laddr, addr string, dialer dialFunc) e
|
|
27 | + defer fd.Close()
|
|
28 | +
|
|
29 | + // Set the TTL
|
|
30 | +- err = syscall.SetsockoptInt(int(fd.Fd()), syscall.IPPROTO_IP, syscall.IP_TTL, ttl)
|
|
31 | ++ err = setSocketTTL(fd, ttl)
|
|
32 | + if err != nil {
|
|
33 | + return err
|
|
34 | + }
|
|
35 | +@@ -70,7 +69,7 @@ func openUDPLimitTTL(ctx context.Context, laddr, addr string, dialer dialFunc) e
|
|
36 | + }
|
|
37 | +
|
|
38 | + // reset TTL
|
|
39 | +- err = syscall.SetsockoptInt(int(fd.Fd()), syscall.IPPROTO_IP, syscall.IP_TTL, defaultTTL)
|
|
40 | ++ err = setSocketTTL(fd, defaultTTL)
|
|
41 | + if err != nil {
|
|
42 | + return err
|
|
43 | + }
|
|
44 | +diff --git a/pkg/transports/connecting/dtls/setsockopt_other.go b/pkg/transports/connecting/dtls/setsockopt_other.go
|
|
45 | +new file mode 100644
|
|
46 | +index 00000000..eeba1ed6
|
|
47 | +--- /dev/null
|
|
48 | ++++ b/pkg/transports/connecting/dtls/setsockopt_other.go
|
|
49 | +@@ -0,0 +1,12 @@
|
|
50 | ++//go:build !windows
|
|
51 | ++
|
|
52 | ++package dtls
|
|
53 | ++
|
|
54 | ++import (
|
|
55 | ++ "os"
|
|
56 | ++ "syscall"
|
|
57 | ++)
|
|
58 | ++
|
|
59 | ++func setSocketTTL(f *os.File, ttl int) error {
|
|
60 | ++ return syscall.SetsockoptInt(int(f.Fd()), syscall.IPPROTO_IP, syscall.IP_TTL, ttl)
|
|
61 | ++}
|
|
62 | +diff --git a/pkg/transports/connecting/dtls/setsockopt_windows.go b/pkg/transports/connecting/dtls/setsockopt_windows.go
|
|
63 | +new file mode 100644
|
|
64 | +index 00000000..6ab835ea
|
|
65 | +--- /dev/null
|
|
66 | ++++ b/pkg/transports/connecting/dtls/setsockopt_windows.go
|
|
67 | +@@ -0,0 +1,12 @@
|
|
68 | ++//go:build windows
|
|
69 | ++
|
|
70 | ++package dtls
|
|
71 | ++
|
|
72 | ++import (
|
|
73 | ++ "os"
|
|
74 | ++ "syscall"
|
|
75 | ++)
|
|
76 | ++
|
|
77 | ++func setSocketTTL(f *os.File, ttl int) error {
|
|
78 | ++ return syscall.SetsockoptInt(syscall.Handle(f.Fd()), syscall.IPPROTO_IP, syscall.IP_TTL, ttl)
|
|
79 | ++} |
1 | +`go-licenses` is a tool to extract licensing information from Go projects and
|
|
2 | +their dependencies.
|
|
3 | + |
|
4 | +We use it for the pluggable transports. |
1 | +#!/bin/bash
|
|
2 | +[% c("var/set_default_env") -%]
|
|
3 | +distdir=/var/tmp/dist/[% project %]
|
|
4 | +mkdir -p $distdir
|
|
5 | + |
|
6 | +# Do not use our standard setup for Go, as we are building a host-only tool
|
|
7 | +# which does not need to be cross-compiled.
|
|
8 | +tar -C /var/tmp/dist -xf $rootdir/[% c('input_files_by_name/go') %]
|
|
9 | +export PATH=/var/tmp/dist/go/bin:/var/tmp/dist/gopath/bin:"$PATH"
|
|
10 | + |
|
11 | +mkdir -p /var/tmp/build
|
|
12 | +tar -C /var/tmp/build -xf [% project %]-[% c('version') %].tar.[% c('compress_tar') %]
|
|
13 | +cd /var/tmp/build/[% project %]-[% c('version') %]
|
|
14 | + |
|
15 | +tar -xf $rootdir/[% c('input_files_by_name/go_vendor') %]
|
|
16 | + |
|
17 | +go build -mod=vendor
|
|
18 | +cp -a go-licenses $distdir
|
|
19 | + |
|
20 | +cd /var/tmp/dist
|
|
21 | +[% c('tar', {
|
|
22 | + tar_src => [ project ],
|
|
23 | + tar_args => '-caf ' _ dest_dir _ '/' _ c('filename'),
|
|
24 | + }) %] |
1 | +# vim: filetype=yaml sw=2
|
|
2 | +# The last stable release is not compatible with our go version, therefore use
|
|
3 | +# the last available pre-release.
|
|
4 | +version: 2.0.0-alpha.1
|
|
5 | +git_url: https://github.com/google/go-licenses.git
|
|
6 | +git_hash: d01822334fba5896920a060f762ea7ecdbd086e8
|
|
7 | + |
|
8 | +container:
|
|
9 | + use_container: 1
|
|
10 | + |
|
11 | +steps:
|
|
12 | + build:
|
|
13 | + filename: '[% project %]-[% c("version") %]-[% c("var/osname") %]-[% c("var/build_id") %].tar.[% c("compress_tar") %]'
|
|
14 | + input_files:
|
|
15 | + - project: container-image
|
|
16 | + - name: go
|
|
17 | + project: go
|
|
18 | + - name: '[% c("var/compiler") %]'
|
|
19 | + project: '[% c("var/compiler") %]'
|
|
20 | + enable: '[% c("var/android") %]'
|
|
21 | + - name: go_vendor
|
|
22 | + pkg_type: go_vendor
|
|
23 | + project: go-licenses
|
|
24 | + norec:
|
|
25 | + sha256sum: b3799f5445ce9f1d48893227287846c689ab67bbdc76b607d5d228739b5c19a2
|
|
26 | + target_replace:
|
|
27 | + '^torbrowser-(?!testbuild).*': 'torbrowser-linux-x86_64' |
... | ... | @@ -15,6 +15,7 @@ cd /var/tmp/build/[% project %]-[% c('version') %] |
15 | 15 | [% END -%]
|
16 | 16 | make -j[% c("num_procs") %]
|
17 | 17 | make install
|
18 | +cp LICENSE $distdir/
|
|
18 | 19 | cd /var/tmp/dist
|
19 | 20 | [% c('tar', {
|
20 | 21 | tar_src => [ project ],
|
... | ... | @@ -4,6 +4,9 @@ |
4 | 4 | distdir=/var/tmp/dist/[% project %]
|
5 | 5 | mkdir -p $distdir
|
6 | 6 | |
7 | +tar -C /var/tmp/dist -xf [% c('input_files_by_name/go-licenses') %]
|
|
8 | +export PATH=$PATH:/var/tmp/dist/go-licenses
|
|
9 | + |
|
7 | 10 | [% IF c("var/android") -%]
|
8 | 11 | [% pc(c('var/compiler'), 'var/setup', { compiler_tarfile => c('input_files_by_name/' _ c('var/compiler')) }) %]
|
9 | 12 | # We need to explicitly set CGO_ENABLED with Go 1.13.x as the Android build
|
... | ... | @@ -20,6 +23,8 @@ tar -xf $rootdir/[% c('input_files_by_name/go_vendor') %] |
20 | 23 | go build -mod=vendor -ldflags '-s[% IF c("var/android") %] -checklinkname=0[% END %]' ./cmd/lyrebird
|
21 | 24 | cp -a lyrebird[% IF c("var/windows") %].exe[% END %] $distdir
|
22 | 25 | |
26 | +go-licenses save ./cmd/lyrebird --save_path=$distdir/licenses
|
|
27 | + |
|
23 | 28 | cd $distdir
|
24 | 29 | [% c('tar', {
|
25 | 30 | tar_src => [ '.' ],
|
... | ... | @@ -36,3 +36,5 @@ steps: |
36 | 36 | sha256sum: '[% c("var/go_vendor_sha256sum") %]'
|
37 | 37 | target_replace:
|
38 | 38 | '^torbrowser-(?!testbuild).*': 'torbrowser-linux-x86_64'
|
39 | + - name: go-licenses
|
|
40 | + project: go-licenses |
... | ... | @@ -3,8 +3,10 @@ |
3 | 3 | [% pc(c('var/compiler'), 'var/setup', { compiler_tarfile => c('input_files_by_name/' _ c('var/compiler')) }) %]
|
4 | 4 | distdir=/var/tmp/dist/[% project %]
|
5 | 5 | mkdir -p /var/tmp/build
|
6 | + |
|
6 | 7 | tar -C /var/tmp/build -xf [% project %]-[% c('version') %].tar.gz
|
7 | 8 | cd /var/tmp/build/[% project %]-[% c('version') %]
|
9 | + |
|
8 | 10 | [% IF c("var/osname") == "linux-i686" -%]
|
9 | 11 | export CC='gcc -m32'
|
10 | 12 | [% END %]
|
... | ... | @@ -19,13 +21,15 @@ export CC='gcc -m32' |
19 | 21 | # from GCC to Clang and vice versa.
|
20 | 22 | export CC=cc
|
21 | 23 | [% END -%]
|
24 | + |
|
22 | 25 | # OpenSSL 3 uses lib64 on 64-bit systems, but tor looks for lib
|
23 | 26 | ./Configure --prefix="$distdir" --libdir=lib [% c('var/configure_opts') %]
|
24 | 27 | make -j[% c("num_procs") %]
|
25 | 28 | # https://github.com/openssl/openssl/issues/8170
|
26 | 29 | make -j[% c("num_procs") %] install
|
27 | -cd /var/tmp/dist
|
|
30 | +cp LICENSE.txt $distdir/
|
|
28 | 31 | |
32 | +cd /var/tmp/dist
|
|
29 | 33 | [% c('tar', {
|
30 | 34 | tar_src => [ project ],
|
31 | 35 | tar_args => '-caf ' _ dest_dir _ '/' _ c('filename'),
|
... | ... | @@ -13,9 +13,25 @@ tar -xkf $rootdir/[% c('input_files_by_name/tor') %] |
13 | 13 | cd tor
|
14 | 14 | mkdir pluggable_transports && cd pluggable_transports
|
15 | 15 | |
16 | +function pt_licenses {
|
|
17 | + dest=$1
|
|
18 | + pushd licenses
|
|
19 | + find -type f -printf '%P\n' | sort | while read filename; do
|
|
20 | + echo $filename >> $dest
|
|
21 | + # https://stackoverflow.com/a/5349796
|
|
22 | + printf "%${#filename}s\n" |tr " " "=" >> $dest
|
|
23 | + cat $filename >> $dest
|
|
24 | + printf "\n\n" >> $dest
|
|
25 | + done
|
|
26 | + popd
|
|
27 | + rm -rf licenses
|
|
28 | +}
|
|
29 | + |
|
16 | 30 | tar -xkf $rootdir/[% c('input_files_by_name/lyrebird') %]
|
31 | +pt_licenses $distdir/docs/lyrebird.txt
|
|
17 | 32 | [% IF c('input_files_by_name/conjure') -%]
|
18 | 33 | tar -xkf $rootdir/[% c('input_files_by_name/conjure') %]
|
34 | + pt_licenses $distdir/docs/conjure.txt
|
|
19 | 35 | [% END -%]
|
20 | 36 | |
21 | 37 | # add per-platform pt extension
|
... | ... | @@ -53,7 +69,7 @@ cd $distdir |
53 | 69 | [% END %]
|
54 | 70 | |
55 | 71 | [%
|
56 | - SET tar_src = [ "tor", "data" ];
|
|
72 | + SET tar_src = [ "tor", "data", "docs" ];
|
|
57 | 73 | IF c("var/linux");
|
58 | 74 | tar_src.push("debug");
|
59 | 75 | END;
|
... | ... | @@ -5,18 +5,11 @@ distdir=/var/tmp/dist/[% project %] |
5 | 5 | mkdir -p $distdir
|
6 | 6 | mkdir -p /var/tmp/build
|
7 | 7 | |
8 | -[% IF c("var/android") %]
|
|
9 | - # We need to make sure our ZSTD dependencey is properly picked up.
|
|
10 | - # --enable-zstd is not enough.
|
|
11 | - export ZSTD_CFLAGS=-I/var/tmp/dist/zstd/include
|
|
12 | - export ZSTD_LIBS=/var/tmp/dist/zstd/lib/libzstd.a
|
|
13 | -[% END %]
|
|
14 | - |
|
15 | 8 | TORDATADIR="$distdir/data"
|
16 | 9 | TORBINDIR="$distdir/tor"
|
10 | +TORDOCSDIR="$distdir/docs"
|
|
17 | 11 | |
18 | -mkdir $TORDATADIR
|
|
19 | -mkdir $TORBINDIR
|
|
12 | +mkdir $TORDATADIR $TORBINDIR $TORDOCSDIR
|
|
20 | 13 | |
21 | 14 | [% IF c("var/windows") || c("var/android") %]
|
22 | 15 | tar -C /var/tmp/dist -xf [% c('input_files_by_name/zlib') %]
|
... | ... | @@ -38,6 +31,11 @@ mkdir $TORBINDIR |
38 | 31 | [% END %]
|
39 | 32 | [% IF c("var/android") %]
|
40 | 33 | tar -C /var/tmp/dist -xf [% c('input_files_by_name/zstd') %]
|
34 | + zstddir=/var/tmp/dist/zstd
|
|
35 | + # We need to make sure our ZSTD dependencey is properly picked up.
|
|
36 | + # --enable-zstd is not enough.
|
|
37 | + export ZSTD_CFLAGS=-I$zstddir/include
|
|
38 | + export ZSTD_LIBS=$zstddir/lib/libzstd.a
|
|
41 | 39 | [% END %]
|
42 | 40 | tar -C /var/tmp/dist -xf [% c('input_files_by_name/openssl') %]
|
43 | 41 | tar -C /var/tmp/dist -xf [% c('input_files_by_name/libevent') %]
|
... | ... | @@ -90,6 +88,8 @@ make install |
90 | 88 | cp $distdir/share/tor/geoip "$TORDATADIR"
|
91 | 89 | cp $distdir/share/tor/geoip6 "$TORDATADIR"
|
92 | 90 | |
91 | +cp LICENSE "$TORDOCSDIR/tor.txt"
|
|
92 | + |
|
93 | 93 | [% IF c("var/macos") %]
|
94 | 94 | LIBEVENT_FILE=`basename $libeventdir/lib/libevent-*.dylib`
|
95 | 95 | cd $distdir
|
... | ... | @@ -131,8 +131,20 @@ cd $distdir |
131 | 131 | install -s --strip-program=llvm-strip "$distdir/bin/tor" "$TORBINDIR/libTor.so"
|
132 | 132 | [% END %]
|
133 | 133 | |
134 | +pushd $TORDOCSDIR
|
|
135 | +cp $libeventdir/LICENSE libevent.txt
|
|
136 | +cp $openssldir/LICENSE.txt openssl.txt
|
|
137 | +[% IF c("var/windows") || c("var/android") -%]
|
|
138 | + cp $zlibdir/LICENSE zlib.txt
|
|
139 | +[% END -%]
|
|
140 | +[% IF c("var/android") -%]
|
|
141 | + cp $zstddir/LICENSE zstd-bsd.txt
|
|
142 | + cp $zstddir/COPYING zstd-gpl2.txt
|
|
143 | +[% END -%]
|
|
144 | +popd
|
|
145 | + |
|
134 | 146 | [%
|
135 | - SET tar_src = [ "tor", "data" ];
|
|
147 | + SET tar_src = [ "tor", "data", "docs" ];
|
|
136 | 148 | IF c("var/linux");
|
137 | 149 | tar_src.push("debug");
|
138 | 150 | END;
|
... | ... | @@ -19,6 +19,8 @@ cd /var/tmp/build/[% project %]-[% c('version') %] |
19 | 19 | make -j[% c("num_procs") %] install
|
20 | 20 | [% END -%]
|
21 | 21 | |
22 | +cp LICENSE $distdir/
|
|
23 | + |
|
22 | 24 | cd /var/tmp/dist
|
23 | 25 | [% c('tar', {
|
24 | 26 | tar_src => [ project ],
|
... | ... | @@ -11,6 +11,7 @@ export CC=[% c("var/CC") %] |
11 | 11 | make -C lib -j[% c("num_procs") %] PREFIX=$distdir install
|
12 | 12 | # Only need static libraries
|
13 | 13 | rm $distdir/lib/libzstd.so*
|
14 | +cp COPYING LICENSE $distdir/
|
|
14 | 15 | cd /var/tmp/dist
|
15 | 16 | [% c('tar', {
|
16 | 17 | tar_src => [ project ],
|