Skip to content

Commit 01e4987

Browse files
Add SPDX header
Signed-off-by: Andy Scherzinger <[email protected]>
1 parent b4c46cb commit 01e4987

12 files changed

+208
-614
lines changed

LICENSES/BSD-2-Clause.txt

+9
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
Copyright (c) <year> <owner>
2+
3+
Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:
4+
5+
1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.
6+
7+
2. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution.
8+
9+
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

LICENSES/LGPL-2.1-or-later.txt

+175
Large diffs are not rendered by default.

app/src/main/java/third_parties/daveKoeller/AlphanumComparator.java

+6-16
Original file line numberDiff line numberDiff line change
@@ -1,25 +1,15 @@
11
/*
2+
* SPDX-FileCopyrightText: 2017 Tobias Kaminsky <[email protected]>
3+
* SPDX-FileCopyrightText: 2012 Daniel Migowski
4+
* SPDX-FileCopyrightText: 2012 Andre Bogus
5+
* SPDX-FileCopyrightText: 2012 David Koelle
6+
* SPDX-License-Identifier: LGPL-2.1-or-later
7+
*
28
* The Alphanum Algorithm is an improved sorting algorithm for strings
39
* containing numbers. Instead of sorting numbers in ASCII order like
410
* a standard sort, this algorithm sorts numbers in numeric order.
511
*
612
* The Alphanum Algorithm is discussed at http://www.DaveKoelle.com
7-
*
8-
*
9-
* This library is free software; you can redistribute it and/or
10-
* modify it under the terms of the GNU Lesser General Public
11-
* License as published by the Free Software Foundation; either
12-
* version 2.1 of the License, or any later version.
13-
*
14-
* This library is distributed in the hope that it will be useful,
15-
* but WITHOUT ANY WARRANTY; without even the implied warranty of
16-
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
17-
* Lesser General Public License for more details.
18-
*
19-
* You should have received a copy of the GNU Lesser General Public
20-
* License along with this library; if not, write to the Free Software
21-
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
22-
*
2313
*/
2414

2515
package third_parties.daveKoeller;

app/src/main/java/third_parties/daveKoeller/lgpl-2.1.txt

-502
This file was deleted.

app/src/main/java/third_parties/ezvcard_android/AndroidCustomField.java

+4-29
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
/*
2+
* SPDX-FileCopyrightText: 2014-2015, Michael Angstadt, All rights reserved
3+
* SPDX-License-Identifier: BSD-2-Clause
4+
*/
15
package third_parties.ezvcard_android;
26

37
import java.util.ArrayList;
@@ -6,35 +10,6 @@
610

711
import ezvcard.property.VCardProperty;
812

9-
/*
10-
Copyright (c) 2014-2015, Michael Angstadt
11-
All rights reserved.
12-
13-
Redistribution and use in source and binary forms, with or without
14-
modification, are permitted provided that the following conditions are met:
15-
16-
1. Redistributions of source code must retain the above copyright notice, this
17-
list of conditions and the following disclaimer.
18-
2. Redistributions in binary form must reproduce the above copyright notice,
19-
this list of conditions and the following disclaimer in the documentation
20-
and/or other materials provided with the distribution.
21-
22-
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
23-
ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
24-
WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
25-
DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR
26-
ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
27-
(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
28-
LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
29-
ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
30-
(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
31-
SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
32-
33-
The views and conclusions contained in the software and documentation are those
34-
of the authors and should not be interpreted as representing official policies,
35-
either expressed or implied, of the FreeBSD Project.
36-
*/
37-
3813
/**
3914
* Represents an "X-ANDROID-CUSTOM" property.
4015
* @author Michael Angstadt

app/src/main/java/third_parties/ezvcard_android/ContactOperations.java

+4-29
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
/*
2+
* SPDX-FileCopyrightText: 2014-2015, Michael Angstadt, All rights reserved
3+
* SPDX-License-Identifier: BSD-2-Clause
4+
*/
15
package third_parties.ezvcard_android;
26

37
import android.annotation.SuppressLint;
@@ -41,35 +45,6 @@
4145

4246
import static android.text.TextUtils.isEmpty;
4347

44-
/*
45-
Copyright (c) 2014-2015, Michael Angstadt
46-
All rights reserved.
47-
48-
Redistribution and use in source and binary forms, with or without
49-
modification, are permitted provided that the following conditions are met:
50-
51-
1. Redistributions of source code must retain the above copyright notice, this
52-
list of conditions and the following disclaimer.
53-
2. Redistributions in binary form must reproduce the above copyright notice,
54-
this list of conditions and the following disclaimer in the documentation
55-
and/or other materials provided with the distribution.
56-
57-
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
58-
ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
59-
WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
60-
DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR
61-
ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
62-
(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
63-
LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
64-
ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
65-
(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
66-
SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
67-
68-
The views and conclusions contained in the software and documentation are those
69-
of the authors and should not be interpreted as representing official policies,
70-
either expressed or implied, of the FreeBSD Project.
71-
*/
72-
7348
/**
7449
* Inserts a {@link VCard} into an Android database.
7550
*

app/src/main/java/third_parties/ezvcard_android/DataMappings.java

+4-29
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
/*
2+
* SPDX-FileCopyrightText: 2014-2015, Michael Angstadt, All rights reserved
3+
* SPDX-License-Identifier: BSD-2-Clause
4+
*/
15
package third_parties.ezvcard_android;
26

37
import android.provider.ContactsContract;
@@ -15,35 +19,6 @@
1519
import ezvcard.property.Impp;
1620
import ezvcard.property.Telephone;
1721

18-
/*
19-
Copyright (c) 2014-2015, Michael Angstadt
20-
All rights reserved.
21-
22-
Redistribution and use in source and binary forms, with or without
23-
modification, are permitted provided that the following conditions are met:
24-
25-
1. Redistributions of source code must retain the above copyright notice, this
26-
list of conditions and the following disclaimer.
27-
2. Redistributions in binary form must reproduce the above copyright notice,
28-
this list of conditions and the following disclaimer in the documentation
29-
and/or other materials provided with the distribution.
30-
31-
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
32-
ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
33-
WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
34-
DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR
35-
ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
36-
(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
37-
LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
38-
ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
39-
(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
40-
SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
41-
42-
The views and conclusions contained in the software and documentation are those
43-
of the authors and should not be interpreted as representing official policies,
44-
either expressed or implied, of the FreeBSD Project.
45-
*/
46-
4722
/**
4823
* Maps between vCard contact data types and Android {@link ContactsContract}
4924
* data types.

app/src/main/java/third_parties/sufficientlysecure/AndroidCalendar.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
*
44
* SPDX-FileCopyrightText: 2021 Tobias Kaminsky <[email protected]>
55
* SPDX-FileCopyrightText: 2021 Nextcloud GmbH
6-
* SPDX-License-Identifier: AGPL-3.0-or-later
6+
* SPDX-License-Identifier: GPL-3.0-or-later
77
*/
88
package third_parties.sufficientlysecure;
99

app/src/main/java/third_parties/sufficientlysecure/CalendarSource.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
*
44
* SPDX-FileCopyrightText: 2021 Tobias Kaminsky <[email protected]>
55
* SPDX-FileCopyrightText: 2021 Nextcloud GmbH
6-
* SPDX-License-Identifier: AGPL-3.0-or-later
6+
* SPDX-License-Identifier: GPL-3.0-or-later
77
*/
88
package third_parties.sufficientlysecure;
99

app/src/main/java/third_parties/sufficientlysecure/DuplicateHandlingEnum.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
*
44
* SPDX-FileCopyrightText: 2021 Tobias Kaminsky <[email protected]>
55
* SPDX-FileCopyrightText: 2021 Nextcloud GmbH
6-
* SPDX-License-Identifier: AGPL-3.0-or-later
6+
* SPDX-License-Identifier: GPL-3.0-or-later
77
*/
88
package third_parties.sufficientlysecure;
99

jacoco.gradle

-6
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,3 @@
1-
# SPDX-FileCopyrightText: 2023 Nextcloud GmbH and Nextcloud contributors
2-
# SPDX-FileCopyrightText: 2023 Jarrod Robins
3-
# SPDX-License-Identifier: CC0-1.0
4-
#
5-
# see https://github.com/arturdm/jacoco-android-gradle-plugin/issues/102#issuecomment-1529324972
6-
71
apply plugin: 'jacoco'
82

93
jacoco {

jacoco.gradle.license

+3
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
SPDX-FileCopyrightText: 2023 Nextcloud GmbH and Nextcloud contributors
2+
SPDX-FileCopyrightText: 2023 Jarrod Robins
3+
SPDX-License-Identifier: CC0-1.0

0 commit comments

Comments
 (0)