Skip to content

Commit eeaedb0

Browse files
committed
MONGOCRYPT-1007: use Apache license on unicode files (#1262)
use Apache license on unicode files
1 parent 0c9796f commit eeaedb0

4 files changed

Lines changed: 44 additions & 98 deletions

File tree

‎src/unicode/case-fold-map.c‎

Lines changed: 11 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -1,30 +1,17 @@
1-
/**
2-
* Copyright (C) 2025-present MongoDB, Inc.
1+
/*
2+
* Copyright 2019-present MongoDB, Inc.
33
*
4-
* This program is free software: you can redistribute it and/or modify
5-
* it under the terms of the Server Side Public License, version 1,
6-
* as published by MongoDB, Inc.
4+
* Licensed under the Apache License, Version 2.0 (the "License");
5+
* you may not use this file except in compliance with the License.
6+
* You may obtain a copy of the License at
77
*
8-
* This program is distributed in the hope that it will be useful,
9-
* but WITHOUT ANY WARRANTY; without even the implied warranty of
10-
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11-
* Server Side Public License for more details.
8+
* http://www.apache.org/licenses/LICENSE-2.0
129
*
13-
* You should have received a copy of the Server Side Public License
14-
* along with this program. If not, see
15-
* <http://www.mongodb.com/licensing/server-side-public-license>.
16-
*
17-
* As a special exception, the copyright holders give permission to link the
18-
* code of portions of this program with the OpenSSL library under certain
19-
* conditions as described in each individual source file and distribute
20-
* linked combinations including the program with the OpenSSL library. You
21-
* must comply with the Server Side Public License in all respects for
22-
* all of the code used other than as permitted herein. If you modify file(s)
23-
* with this exception, you may extend this exception to your version of the
24-
* file(s), but you are not obligated to do so. If you do not wish to do so,
25-
* delete this exception statement from your version. If you delete this
26-
* exception statement from all source files in the program, then also delete
27-
* it in the license file.
10+
* Unless required by applicable law or agreed to in writing, software
11+
* distributed under the License is distributed on an "AS IS" BASIS,
12+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13+
* See the License for the specific language governing permissions and
14+
* limitations under the License.
2815
*
2916
* THIS IS A GENERATED FILE, DO NOT MODIFY.
3017
*/

‎src/unicode/diacritic-fold-map.c‎

Lines changed: 11 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -1,30 +1,17 @@
1-
/**
2-
* Copyright (C) 2025-present MongoDB, Inc.
1+
/*
2+
* Copyright 2019-present MongoDB, Inc.
33
*
4-
* This program is free software: you can redistribute it and/or modify
5-
* it under the terms of the Server Side Public License, version 1,
6-
* as published by MongoDB, Inc.
4+
* Licensed under the Apache License, Version 2.0 (the "License");
5+
* you may not use this file except in compliance with the License.
6+
* You may obtain a copy of the License at
77
*
8-
* This program is distributed in the hope that it will be useful,
9-
* but WITHOUT ANY WARRANTY; without even the implied warranty of
10-
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11-
* Server Side Public License for more details.
8+
* http://www.apache.org/licenses/LICENSE-2.0
129
*
13-
* You should have received a copy of the Server Side Public License
14-
* along with this program. If not, see
15-
* <http://www.mongodb.com/licensing/server-side-public-license>.
16-
*
17-
* As a special exception, the copyright holders give permission to link the
18-
* code of portions of this program with the OpenSSL library under certain
19-
* conditions as described in each individual source file and distribute
20-
* linked combinations including the program with the OpenSSL library. You
21-
* must comply with the Server Side Public License in all respects for
22-
* all of the code used other than as permitted herein. If you modify file(s)
23-
* with this exception, you may extend this exception to your version of the
24-
* file(s), but you are not obligated to do so. If you do not wish to do so,
25-
* delete this exception statement from your version. If you delete this
26-
* exception statement from all source files in the program, then also delete
27-
* it in the license file.
10+
* Unless required by applicable law or agreed to in writing, software
11+
* distributed under the License is distributed on an "AS IS" BASIS,
12+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13+
* See the License for the specific language governing permissions and
14+
* limitations under the License.
2815
*
2916
* THIS IS A GENERATED FILE, DO NOT MODIFY.
3017
*/

‎src/unicode/fold.c‎

Lines changed: 11 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -1,32 +1,17 @@
1-
/**
2-
* Copyright (C) 2025-present MongoDB, Inc.
1+
/*
2+
* Copyright 2019-present MongoDB, Inc.
33
*
4-
* This program is free software: you can redistribute it and/or modify
5-
* it under the terms of the Server Side Public License, version 1,
6-
* as published by MongoDB, Inc.
4+
* Licensed under the Apache License, Version 2.0 (the "License");
5+
* you may not use this file except in compliance with the License.
6+
* You may obtain a copy of the License at
77
*
8-
* This program is distributed in the hope that it will be useful,
9-
* but WITHOUT ANY WARRANTY; without even the implied warranty of
10-
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11-
* Server Side Public License for more details.
8+
* http://www.apache.org/licenses/LICENSE-2.0
129
*
13-
* You should have received a copy of the Server Side Public License
14-
* along with this program. If not, see
15-
* <http://www.mongodb.com/licensing/server-side-public-license>.
16-
*
17-
* As a special exception, the copyright holders give permission to link the
18-
* code of portions of this program with the OpenSSL library under certain
19-
* conditions as described in each individual source file and distribute
20-
* linked combinations including the program with the OpenSSL library. You
21-
* must comply with the Server Side Public License in all respects for
22-
* all of the code used other than as permitted herein. If you modify file(s)
23-
* with this exception, you may extend this exception to your version of the
24-
* file(s), but you are not obligated to do so. If you do not wish to do so,
25-
* delete this exception statement from your version. If you delete this
26-
* exception statement from all source files in the program, then also delete
27-
* it in the license file.
28-
*
29-
* THIS IS A GENERATED FILE, DO NOT MODIFY.
10+
* Unless required by applicable law or agreed to in writing, software
11+
* distributed under the License is distributed on an "AS IS" BASIS,
12+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13+
* See the License for the specific language governing permissions and
14+
* limitations under the License.
3015
*/
3116

3217
#include "fold.h"

‎src/unicode/fold.h‎

Lines changed: 11 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -1,30 +1,17 @@
1-
/**
2-
* Copyright (C) 2025-present MongoDB, Inc.
1+
/*
2+
* Copyright 2019-present MongoDB, Inc.
33
*
4-
* This program is free software: you can redistribute it and/or modify
5-
* it under the terms of the Server Side Public License, version 1,
6-
* as published by MongoDB, Inc.
4+
* Licensed under the Apache License, Version 2.0 (the "License");
5+
* you may not use this file except in compliance with the License.
6+
* You may obtain a copy of the License at
77
*
8-
* This program is distributed in the hope that it will be useful,
9-
* but WITHOUT ANY WARRANTY; without even the implied warranty of
10-
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11-
* Server Side Public License for more details.
8+
* http://www.apache.org/licenses/LICENSE-2.0
129
*
13-
* You should have received a copy of the Server Side Public License
14-
* along with this program. If not, see
15-
* <http://www.mongodb.com/licensing/server-side-public-license>.
16-
*
17-
* As a special exception, the copyright holders give permission to link the
18-
* code of portions of this program with the OpenSSL library under certain
19-
* conditions as described in each individual source file and distribute
20-
* linked combinations including the program with the OpenSSL library. You
21-
* must comply with the Server Side Public License in all respects for
22-
* all of the code used other than as permitted herein. If you modify file(s)
23-
* with this exception, you may extend this exception to your version of the
24-
* file(s), but you are not obligated to do so. If you do not wish to do so,
25-
* delete this exception statement from your version. If you delete this
26-
* exception statement from all source files in the program, then also delete
27-
* it in the license file.
10+
* Unless required by applicable law or agreed to in writing, software
11+
* distributed under the License is distributed on an "AS IS" BASIS,
12+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13+
* See the License for the specific language governing permissions and
14+
* limitations under the License.
2815
*/
2916

3017
#ifndef UNICODE_FOLD_H

0 commit comments

Comments
 (0)