Skip to content

Commit 425fb52

Browse files
pallotronfacebook-github-bot
authored andcommittedMay 20, 2019
move from BSD+Patents license to MIT license
Summary: as per title. Reviewed By: tfg13 Differential Revision: D15412846 fbshipit-source-id: b64720f4346759060aa6a0ecc7632574b9adee01
1 parent c0918d8 commit 425fb52

18 files changed

+80
-137
lines changed
 

‎LICENSE

+17-26
Original file line numberDiff line numberDiff line change
@@ -1,30 +1,21 @@
1-
BSD License
1+
MIT License
22

3-
For fbtftp software
3+
Copyright (c) Facebook, Inc. and its affiliates.
44

5-
Copyright (c) 2015-present, Facebook, Inc. All rights reserved.
5+
Permission is hereby granted, free of charge, to any person obtaining a copy
6+
of this software and associated documentation files (the "Software"), to deal
7+
in the Software without restriction, including without limitation the rights
8+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9+
copies of the Software, and to permit persons to whom the Software is
10+
furnished to do so, subject to the following conditions:
611

7-
Redistribution and use in source and binary forms, with or without modification,
8-
are permitted provided that the following conditions are met:
12+
The above copyright notice and this permission notice shall be included in all
13+
copies or substantial portions of the Software.
914

10-
* Redistributions of source code must retain the above copyright notice, this
11-
list of conditions and the following disclaimer.
12-
13-
* Redistributions in binary form must reproduce the above copyright notice,
14-
this list of conditions and the following disclaimer in the documentation
15-
and/or other materials provided with the distribution.
16-
17-
* Neither the name Facebook nor the names of its contributors may be used to
18-
endorse or promote products derived from this software without specific
19-
prior written permission.
20-
21-
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
22-
ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
23-
WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
24-
DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR
25-
ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
26-
(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
27-
LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON
28-
ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
29-
(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
30-
SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
15+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21+
SOFTWARE.

‎MANIFEST.in

+5-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,8 @@
1-
# Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved
1+
# Copyright (c) Facebook, Inc. and its affiliates.
2+
3+
# This source code is licensed under the MIT license found in the
4+
# LICENSE file in the root directory of this source tree.
5+
26

37
include AUTHORS
48
include CONTRIBUTING.md

‎PATENTS

-33
This file was deleted.

‎README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -201,4 +201,4 @@ Other honorable contributors:
201201

202202
# License
203203

204-
BSD License
204+
MIT License

‎examples/server.py

+4-5
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,8 @@
11
#!/usr/bin/env python3
2-
# Copyright 2016-present, Facebook, Inc.
3-
# All rights reserved.
4-
#
5-
# This source code is licensed under the license found in the
6-
# LICENSE-examples file in the root directory of this source tree.
2+
# Copyright (c) Facebook, Inc. and its affiliates.
3+
4+
# This source code is licensed under the MIT license found in the
5+
# LICENSE file in the root directory of this source tree.
76

87
import argparse
98
import logging

‎fbtftp/__init__.py

+4-6
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,8 @@
11
#!/usr/bin/env python3
2-
# Copyright (c) 2016-present, Facebook, Inc.
3-
# All rights reserved.
4-
#
5-
# This source code is licensed under the BSD-style license found in the
6-
# LICENSE file in the root directory of this source tree. An additional grant
7-
# of patent rights can be found in the PATENTS file in the same directory.
2+
# Copyright (c) Facebook, Inc. and its affiliates.
3+
4+
# This source code is licensed under the MIT license found in the
5+
# LICENSE file in the root directory of this source tree.
86

97
from .base_handler import BaseHandler, ResponseData, SessionStats
108
from .base_server import BaseServer

‎fbtftp/base_handler.py

+4-6
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,8 @@
11
#!/usr/bin/env python3
2-
# Copyright (c) 2016-present, Facebook, Inc.
3-
# All rights reserved.
4-
#
5-
# This source code is licensed under the BSD-style license found in the
6-
# LICENSE file in the root directory of this source tree. An additional grant
7-
# of patent rights can be found in the PATENTS file in the same directory.
2+
# Copyright (c) Facebook, Inc. and its affiliates.
3+
4+
# This source code is licensed under the MIT license found in the
5+
# LICENSE file in the root directory of this source tree.
86

97
from collections import OrderedDict
108
import io

‎fbtftp/base_server.py

+4-6
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,8 @@
11
#!/usr/bin/env python3
2-
# Copyright (c) 2016-present, Facebook, Inc.
3-
# All rights reserved.
4-
#
5-
# This source code is licensed under the BSD-style license found in the
6-
# LICENSE file in the root directory of this source tree. An additional grant
7-
# of patent rights can be found in the PATENTS file in the same directory.
2+
# Copyright (c) Facebook, Inc. and its affiliates.
3+
4+
# This source code is licensed under the MIT license found in the
5+
# LICENSE file in the root directory of this source tree.
86

97
import collections
108
import ipaddress

‎fbtftp/constants.py

+4-6
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,8 @@
11
#!/usr/bin/env python3
2-
# Copyright (c) 2016-present, Facebook, Inc.
3-
# All rights reserved.
4-
#
5-
# This source code is licensed under the BSD-style license found in the
6-
# LICENSE file in the root directory of this source tree. An additional grant
7-
# of patent rights can be found in the PATENTS file in the same directory.
2+
# Copyright (c) Facebook, Inc. and its affiliates.
3+
4+
# This source code is licensed under the MIT license found in the
5+
# LICENSE file in the root directory of this source tree.
86

97
# TFTP opcodes
108
OPCODE_RRQ = 1

‎fbtftp/netascii.py

+4-6
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,8 @@
11
#!/usr/bin/env python3
2-
# Copyright (c) 2016-present, Facebook, Inc.
3-
# All rights reserved.
4-
#
5-
# This source code is licensed under the BSD-style license found in the
6-
# LICENSE file in the root directory of this source tree. An additional grant
7-
# of patent rights can be found in the PATENTS file in the same directory.
2+
# Copyright (c) Facebook, Inc. and its affiliates.
3+
4+
# This source code is licensed under the MIT license found in the
5+
# LICENSE file in the root directory of this source tree.
86

97
import io
108

‎setup.py

+6-4
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,7 @@
1-
# Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved
1+
# Copyright (c) Facebook, Inc. and its affiliates.
2+
3+
# This source code is licensed under the MIT license found in the
4+
# LICENSE file in the root directory of this source tree.
25

36
from os import path
47
from setuptools import setup, find_packages
@@ -33,16 +36,15 @@ def run_tests(self):
3336
license="BSD",
3437
classifiers=[
3538
"Development Status :: 5 - Production/Stable",
36-
"License :: OSI Approved :: BSD License",
39+
"License :: OSI Approved :: MIT icense",
3740
"Operating System :: POSIX :: Linux",
3841
"Programming Language :: Python :: 3 :: Only",
3942
"Programming Language :: Python :: 3.5",
4043
"Topic :: Software Development :: Libraries :: Application Frameworks",
4144
"Topic :: System :: Boot",
4245
"Topic :: Utilities",
4346
"Intended Audience :: Developers",
44-
"License :: OSI Approved :: BSD License",
45-
],
47+
] ,
4648
keywords="tftp daemon infrastructure provisioning netboot",
4749
url="https://www.github.com/facebook/fbtftp",
4850
packages=find_packages(exclude=["tests"]),

‎tests/base_handler_test.py

+4-6
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,8 @@
11
#!/usr/bin/env python3
2-
# Copyright (c) 2016-present, Facebook, Inc.
3-
# All rights reserved.
4-
#
5-
# This source code is licensed under the BSD-style license found in the
6-
# LICENSE file in the root directory of this source tree. An additional grant
7-
# of patent rights can be found in the PATENTS file in the same directory.
2+
# Copyright (c) Facebook, Inc. and its affiliates.
3+
4+
# This source code is licensed under the MIT license found in the
5+
# LICENSE file in the root directory of this source tree.
86

97
from collections import OrderedDict
108
from unittest.mock import patch, Mock, call

‎tests/base_server_test.py

+4-6
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,8 @@
11
#!/usr/bin/env python3
2-
# Copyright (c) 2016-present, Facebook, Inc.
3-
# All rights reserved.
4-
#
5-
# This source code is licensed under the BSD-style license found in the
6-
# LICENSE file in the root directory of this source tree. An additional grant
7-
# of patent rights can be found in the PATENTS file in the same directory.
2+
# Copyright (c) Facebook, Inc. and its affiliates.
3+
4+
# This source code is licensed under the MIT license found in the
5+
# LICENSE file in the root directory of this source tree.
86

97
from unittest.mock import patch, Mock
108
import unittest

‎tests/integration_test.py

+4-6
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,8 @@
11
#!/usr/bin/env python3
2-
# Copyright (c) 2016-present, Facebook, Inc.
3-
# All rights reserved.
4-
#
5-
# This source code is licensed under the BSD-style license found in the
6-
# LICENSE file in the root directory of this source tree. An additional grant
7-
# of patent rights can be found in the PATENTS file in the same directory.
2+
# Copyright (c) Facebook, Inc. and its affiliates.
3+
4+
# This source code is licensed under the MIT license found in the
5+
# LICENSE file in the root directory of this source tree.
86

97
from distutils.spawn import find_executable
108

‎tests/malformed_request_test.py

+4-6
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,8 @@
11
#!/usr/bin/env python3
2-
# Copyright (c) 2016-present, Facebook, Inc.
3-
# All rights reserved.
4-
#
5-
# This source code is licensed under the BSD-style license found in the
6-
# LICENSE file in the root directory of this source tree. An additional grant
7-
# of patent rights can be found in the PATENTS file in the same directory.
2+
# Copyright (c) Facebook, Inc. and its affiliates.
3+
4+
# This source code is licensed under the MIT license found in the
5+
# LICENSE file in the root directory of this source tree.
86

97
import tempfile
108
import unittest

‎tests/netascii_test.py

+4-6
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,8 @@
11
#!/usr/bin/env python3
2-
# Copyright (c) 2016-present, Facebook, Inc.
3-
# All rights reserved.
4-
#
5-
# This source code is licensed under the BSD-style license found in the
6-
# LICENSE file in the root directory of this source tree. An additional grant
7-
# of patent rights can be found in the PATENTS file in the same directory.
2+
# Copyright (c) Facebook, Inc. and its affiliates.
3+
4+
# This source code is licensed under the MIT license found in the
5+
# LICENSE file in the root directory of this source tree.
86

97
import unittest
108

‎tests/server_stats_test.py

+4-6
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,8 @@
11
#!/usr/bin/env python3
2-
# Copyright (c) 2016-present, Facebook, Inc.
3-
# All rights reserved.
4-
#
5-
# This source code is licensed under the BSD-style license found in the
6-
# LICENSE file in the root directory of this source tree. An additional grant
7-
# of patent rights can be found in the PATENTS file in the same directory.
2+
# Copyright (c) Facebook, Inc. and its affiliates.
3+
4+
# This source code is licensed under the MIT license found in the
5+
# LICENSE file in the root directory of this source tree.
86

97
import collections
108
import time

‎tools/tftp_tester.py

+3-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
#!/usr/bin/env python3
2+
# Copyright (c) Facebook, Inc. and its affiliates.
23

3-
# Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved
4+
# This source code is licensed under the MIT license found in the
5+
# LICENSE file in the root directory of this source tree.
46

57
import sys
68
import socket

0 commit comments

Comments
 (0)
Please sign in to comment.