From f77eac6796e6346b1cbd808fd8e28930b973c0e3 Mon Sep 17 00:00:00 2001 From: "Jason A. Donenfeld" Date: Wed, 2 May 2018 21:40:01 +0200 Subject: [PATCH] global: fix up copyrights Signed-off-by: Jason A. Donenfeld --- .idea/copyright/Default.xml | 4 ++-- .idea/copyright/GPL_2_0_or_later.xml | 4 ++-- .../com/wireguard/android/Application.java | 1 + .../android/BootShutdownReceiver.java | 1 + .../wireguard/android/QuickTileService.java | 1 + .../android/activity/BaseActivity.java | 1 + .../android/activity/MainActivity.java | 1 + .../android/activity/SettingsActivity.java | 1 + .../activity/TunnelCreatorActivity.java | 1 + .../wireguard/android/backend/Backend.java | 1 + .../wireguard/android/backend/GoBackend.java | 1 + .../android/backend/WgQuickBackend.java | 1 + .../android/configStore/ConfigStore.java | 1 + .../android/configStore/FileConfigStore.java | 1 + .../android/databinding/BindingAdapters.java | 1 + .../databinding/ItemChangeListener.java | 1 + .../ObservableKeyedListAdapter.java | 1 + .../android/fragment/BaseFragment.java | 1 + .../android/fragment/TunnelController.java | 1 + .../fragment/TunnelDetailFragment.java | 1 + .../fragment/TunnelEditorFragment.java | 1 + .../android/fragment/TunnelListFragment.java | 1 + .../com/wireguard/android/model/Tunnel.java | 1 + .../android/model/TunnelManager.java | 1 + .../preference/ToolsInstallerPreference.java | 1 + .../preference/ZipExporterPreference.java | 1 + .../wireguard/android/util/AsyncWorker.java | 1 + .../android/util/ClipboardUtils.java | 1 + .../android/util/ExceptionLoggers.java | 1 + .../com/wireguard/android/util/Keyed.java | 1 + .../com/wireguard/android/util/KeyedList.java | 1 + .../util/ObservableKeyedArrayList.java | 1 + .../android/util/ObservableKeyedList.java | 1 + .../util/ObservableSortedKeyedArrayList.java | 1 + .../util/ObservableSortedKeyedList.java | 1 + .../com/wireguard/android/util/RootShell.java | 1 + .../android/util/SortedKeyedList.java | 1 + .../android/util/ToolsInstaller.java | 1 + .../android/widget/KeyInputFilter.java | 1 + .../android/widget/NameInputFilter.java | 1 + .../android/widget/ToggleSwitch.java | 15 ++----------- .../java/com/wireguard/config/Attribute.java | 1 + .../java/com/wireguard/config/Config.java | 1 + .../java/com/wireguard/config/IPCidr.java | 1 + .../java/com/wireguard/config/Interface.java | 1 + .../main/java/com/wireguard/config/Peer.java | 1 + .../java/com/wireguard/crypto/Curve25519.java | 21 ++----------------- .../com/wireguard/crypto/KeyEncoding.java | 2 +- .../java/com/wireguard/crypto/Keypair.java | 1 + app/tools/CMakeLists.txt | 4 ++++ app/tools/libwg-go/Makefile | 4 ++++ app/tools/libwg-go/api-android.go | 5 +++++ app/tools/libwg-go/jni.c | 5 +++++ app/tools/wg-quick.c | 2 +- 54 files changed, 72 insertions(+), 38 deletions(-) diff --git a/.idea/copyright/Default.xml b/.idea/copyright/Default.xml index 99ca836b..ff191ea7 100644 --- a/.idea/copyright/Default.xml +++ b/.idea/copyright/Default.xml @@ -1,6 +1,6 @@ - - \ No newline at end of file + diff --git a/.idea/copyright/GPL_2_0_or_later.xml b/.idea/copyright/GPL_2_0_or_later.xml index 607e7afc..f5c1b63c 100644 --- a/.idea/copyright/GPL_2_0_or_later.xml +++ b/.idea/copyright/GPL_2_0_or_later.xml @@ -1,6 +1,6 @@ - \ No newline at end of file + diff --git a/app/src/main/java/com/wireguard/android/Application.java b/app/src/main/java/com/wireguard/android/Application.java index 88e635f9..0066d930 100644 --- a/app/src/main/java/com/wireguard/android/Application.java +++ b/app/src/main/java/com/wireguard/android/Application.java @@ -1,5 +1,6 @@ /* * Copyright © 2018 Samuel Holland + * Copyright © 2018 Jason A. Donenfeld . All Rights Reserved. * SPDX-License-Identifier: GPL-2.0-or-later */ diff --git a/app/src/main/java/com/wireguard/android/BootShutdownReceiver.java b/app/src/main/java/com/wireguard/android/BootShutdownReceiver.java index c26a34d6..eddfac9e 100644 --- a/app/src/main/java/com/wireguard/android/BootShutdownReceiver.java +++ b/app/src/main/java/com/wireguard/android/BootShutdownReceiver.java @@ -1,5 +1,6 @@ /* * Copyright © 2018 Samuel Holland + * Copyright © 2018 Jason A. Donenfeld . All Rights Reserved. * SPDX-License-Identifier: GPL-2.0-or-later */ diff --git a/app/src/main/java/com/wireguard/android/QuickTileService.java b/app/src/main/java/com/wireguard/android/QuickTileService.java index 2f8359f2..3bf4d90e 100644 --- a/app/src/main/java/com/wireguard/android/QuickTileService.java +++ b/app/src/main/java/com/wireguard/android/QuickTileService.java @@ -1,5 +1,6 @@ /* * Copyright © 2018 Samuel Holland + * Copyright © 2018 Jason A. Donenfeld . All Rights Reserved. * SPDX-License-Identifier: GPL-2.0-or-later */ diff --git a/app/src/main/java/com/wireguard/android/activity/BaseActivity.java b/app/src/main/java/com/wireguard/android/activity/BaseActivity.java index 23607e99..a0f3c32f 100644 --- a/app/src/main/java/com/wireguard/android/activity/BaseActivity.java +++ b/app/src/main/java/com/wireguard/android/activity/BaseActivity.java @@ -1,5 +1,6 @@ /* * Copyright © 2018 Samuel Holland + * Copyright © 2018 Jason A. Donenfeld . All Rights Reserved. * SPDX-License-Identifier: GPL-2.0-or-later */ diff --git a/app/src/main/java/com/wireguard/android/activity/MainActivity.java b/app/src/main/java/com/wireguard/android/activity/MainActivity.java index 053d72af..9494dd22 100644 --- a/app/src/main/java/com/wireguard/android/activity/MainActivity.java +++ b/app/src/main/java/com/wireguard/android/activity/MainActivity.java @@ -1,5 +1,6 @@ /* * Copyright © 2018 Samuel Holland + * Copyright © 2018 Jason A. Donenfeld . All Rights Reserved. * SPDX-License-Identifier: GPL-2.0-or-later */ diff --git a/app/src/main/java/com/wireguard/android/activity/SettingsActivity.java b/app/src/main/java/com/wireguard/android/activity/SettingsActivity.java index 4be7f2b7..3d85e30b 100644 --- a/app/src/main/java/com/wireguard/android/activity/SettingsActivity.java +++ b/app/src/main/java/com/wireguard/android/activity/SettingsActivity.java @@ -1,5 +1,6 @@ /* * Copyright © 2018 Samuel Holland + * Copyright © 2018 Jason A. Donenfeld . All Rights Reserved. * SPDX-License-Identifier: GPL-2.0-or-later */ diff --git a/app/src/main/java/com/wireguard/android/activity/TunnelCreatorActivity.java b/app/src/main/java/com/wireguard/android/activity/TunnelCreatorActivity.java index c91cf119..b1cd5646 100644 --- a/app/src/main/java/com/wireguard/android/activity/TunnelCreatorActivity.java +++ b/app/src/main/java/com/wireguard/android/activity/TunnelCreatorActivity.java @@ -1,5 +1,6 @@ /* * Copyright © 2018 Samuel Holland + * Copyright © 2018 Jason A. Donenfeld . All Rights Reserved. * SPDX-License-Identifier: GPL-2.0-or-later */ diff --git a/app/src/main/java/com/wireguard/android/backend/Backend.java b/app/src/main/java/com/wireguard/android/backend/Backend.java index 13de33f2..9a88550c 100644 --- a/app/src/main/java/com/wireguard/android/backend/Backend.java +++ b/app/src/main/java/com/wireguard/android/backend/Backend.java @@ -1,5 +1,6 @@ /* * Copyright © 2018 Samuel Holland + * Copyright © 2018 Jason A. Donenfeld . All Rights Reserved. * SPDX-License-Identifier: GPL-2.0-or-later */ diff --git a/app/src/main/java/com/wireguard/android/backend/GoBackend.java b/app/src/main/java/com/wireguard/android/backend/GoBackend.java index 4f32297a..d11802f3 100644 --- a/app/src/main/java/com/wireguard/android/backend/GoBackend.java +++ b/app/src/main/java/com/wireguard/android/backend/GoBackend.java @@ -1,5 +1,6 @@ /* * Copyright © 2018 Samuel Holland + * Copyright © 2018 Jason A. Donenfeld . All Rights Reserved. * SPDX-License-Identifier: GPL-2.0-or-later */ diff --git a/app/src/main/java/com/wireguard/android/backend/WgQuickBackend.java b/app/src/main/java/com/wireguard/android/backend/WgQuickBackend.java index b656ba71..39deaeb2 100644 --- a/app/src/main/java/com/wireguard/android/backend/WgQuickBackend.java +++ b/app/src/main/java/com/wireguard/android/backend/WgQuickBackend.java @@ -1,5 +1,6 @@ /* * Copyright © 2018 Samuel Holland + * Copyright © 2018 Jason A. Donenfeld . All Rights Reserved. * SPDX-License-Identifier: GPL-2.0-or-later */ diff --git a/app/src/main/java/com/wireguard/android/configStore/ConfigStore.java b/app/src/main/java/com/wireguard/android/configStore/ConfigStore.java index 6cd9c917..5d82f50a 100644 --- a/app/src/main/java/com/wireguard/android/configStore/ConfigStore.java +++ b/app/src/main/java/com/wireguard/android/configStore/ConfigStore.java @@ -1,5 +1,6 @@ /* * Copyright © 2018 Samuel Holland + * Copyright © 2018 Jason A. Donenfeld . All Rights Reserved. * SPDX-License-Identifier: GPL-2.0-or-later */ diff --git a/app/src/main/java/com/wireguard/android/configStore/FileConfigStore.java b/app/src/main/java/com/wireguard/android/configStore/FileConfigStore.java index da16e7b2..ab801640 100644 --- a/app/src/main/java/com/wireguard/android/configStore/FileConfigStore.java +++ b/app/src/main/java/com/wireguard/android/configStore/FileConfigStore.java @@ -1,5 +1,6 @@ /* * Copyright © 2018 Samuel Holland + * Copyright © 2018 Jason A. Donenfeld . All Rights Reserved. * SPDX-License-Identifier: GPL-2.0-or-later */ diff --git a/app/src/main/java/com/wireguard/android/databinding/BindingAdapters.java b/app/src/main/java/com/wireguard/android/databinding/BindingAdapters.java index 5a1bec1b..bd8d6efd 100644 --- a/app/src/main/java/com/wireguard/android/databinding/BindingAdapters.java +++ b/app/src/main/java/com/wireguard/android/databinding/BindingAdapters.java @@ -1,5 +1,6 @@ /* * Copyright © 2018 Samuel Holland + * Copyright © 2018 Jason A. Donenfeld . All Rights Reserved. * SPDX-License-Identifier: GPL-2.0-or-later */ diff --git a/app/src/main/java/com/wireguard/android/databinding/ItemChangeListener.java b/app/src/main/java/com/wireguard/android/databinding/ItemChangeListener.java index ef607650..fc37917f 100644 --- a/app/src/main/java/com/wireguard/android/databinding/ItemChangeListener.java +++ b/app/src/main/java/com/wireguard/android/databinding/ItemChangeListener.java @@ -1,5 +1,6 @@ /* * Copyright © 2018 Samuel Holland + * Copyright © 2018 Jason A. Donenfeld . All Rights Reserved. * SPDX-License-Identifier: GPL-2.0-or-later */ diff --git a/app/src/main/java/com/wireguard/android/databinding/ObservableKeyedListAdapter.java b/app/src/main/java/com/wireguard/android/databinding/ObservableKeyedListAdapter.java index b444e151..90c85582 100644 --- a/app/src/main/java/com/wireguard/android/databinding/ObservableKeyedListAdapter.java +++ b/app/src/main/java/com/wireguard/android/databinding/ObservableKeyedListAdapter.java @@ -1,5 +1,6 @@ /* * Copyright © 2018 Samuel Holland + * Copyright © 2018 Jason A. Donenfeld . All Rights Reserved. * SPDX-License-Identifier: GPL-2.0-or-later */ diff --git a/app/src/main/java/com/wireguard/android/fragment/BaseFragment.java b/app/src/main/java/com/wireguard/android/fragment/BaseFragment.java index 4505d212..5383e77f 100644 --- a/app/src/main/java/com/wireguard/android/fragment/BaseFragment.java +++ b/app/src/main/java/com/wireguard/android/fragment/BaseFragment.java @@ -1,5 +1,6 @@ /* * Copyright © 2018 Samuel Holland + * Copyright © 2018 Jason A. Donenfeld . All Rights Reserved. * SPDX-License-Identifier: GPL-2.0-or-later */ diff --git a/app/src/main/java/com/wireguard/android/fragment/TunnelController.java b/app/src/main/java/com/wireguard/android/fragment/TunnelController.java index 03c82b1b..86cf7fa1 100644 --- a/app/src/main/java/com/wireguard/android/fragment/TunnelController.java +++ b/app/src/main/java/com/wireguard/android/fragment/TunnelController.java @@ -1,5 +1,6 @@ /* * Copyright © 2018 Samuel Holland + * Copyright © 2018 Jason A. Donenfeld . All Rights Reserved. * SPDX-License-Identifier: GPL-2.0-or-later */ diff --git a/app/src/main/java/com/wireguard/android/fragment/TunnelDetailFragment.java b/app/src/main/java/com/wireguard/android/fragment/TunnelDetailFragment.java index d5cbfd4b..d09e2d02 100644 --- a/app/src/main/java/com/wireguard/android/fragment/TunnelDetailFragment.java +++ b/app/src/main/java/com/wireguard/android/fragment/TunnelDetailFragment.java @@ -1,5 +1,6 @@ /* * Copyright © 2018 Samuel Holland + * Copyright © 2018 Jason A. Donenfeld . All Rights Reserved. * SPDX-License-Identifier: GPL-2.0-or-later */ diff --git a/app/src/main/java/com/wireguard/android/fragment/TunnelEditorFragment.java b/app/src/main/java/com/wireguard/android/fragment/TunnelEditorFragment.java index 5d9f6b62..482ab616 100644 --- a/app/src/main/java/com/wireguard/android/fragment/TunnelEditorFragment.java +++ b/app/src/main/java/com/wireguard/android/fragment/TunnelEditorFragment.java @@ -1,5 +1,6 @@ /* * Copyright © 2018 Samuel Holland + * Copyright © 2018 Jason A. Donenfeld . All Rights Reserved. * SPDX-License-Identifier: GPL-2.0-or-later */ diff --git a/app/src/main/java/com/wireguard/android/fragment/TunnelListFragment.java b/app/src/main/java/com/wireguard/android/fragment/TunnelListFragment.java index 89f1b893..f7c5ddb5 100644 --- a/app/src/main/java/com/wireguard/android/fragment/TunnelListFragment.java +++ b/app/src/main/java/com/wireguard/android/fragment/TunnelListFragment.java @@ -1,5 +1,6 @@ /* * Copyright © 2018 Samuel Holland + * Copyright © 2018 Jason A. Donenfeld . All Rights Reserved. * SPDX-License-Identifier: GPL-2.0-or-later */ diff --git a/app/src/main/java/com/wireguard/android/model/Tunnel.java b/app/src/main/java/com/wireguard/android/model/Tunnel.java index 934b3018..bdfa0dbc 100644 --- a/app/src/main/java/com/wireguard/android/model/Tunnel.java +++ b/app/src/main/java/com/wireguard/android/model/Tunnel.java @@ -1,5 +1,6 @@ /* * Copyright © 2018 Samuel Holland + * Copyright © 2018 Jason A. Donenfeld . All Rights Reserved. * SPDX-License-Identifier: GPL-2.0-or-later */ diff --git a/app/src/main/java/com/wireguard/android/model/TunnelManager.java b/app/src/main/java/com/wireguard/android/model/TunnelManager.java index f8e69e84..92c1d99b 100644 --- a/app/src/main/java/com/wireguard/android/model/TunnelManager.java +++ b/app/src/main/java/com/wireguard/android/model/TunnelManager.java @@ -1,5 +1,6 @@ /* * Copyright © 2018 Samuel Holland + * Copyright © 2018 Jason A. Donenfeld . All Rights Reserved. * SPDX-License-Identifier: GPL-2.0-or-later */ diff --git a/app/src/main/java/com/wireguard/android/preference/ToolsInstallerPreference.java b/app/src/main/java/com/wireguard/android/preference/ToolsInstallerPreference.java index 9fab78a4..437d05e3 100644 --- a/app/src/main/java/com/wireguard/android/preference/ToolsInstallerPreference.java +++ b/app/src/main/java/com/wireguard/android/preference/ToolsInstallerPreference.java @@ -1,5 +1,6 @@ /* * Copyright © 2018 Samuel Holland + * Copyright © 2018 Jason A. Donenfeld . All Rights Reserved. * SPDX-License-Identifier: GPL-2.0-or-later */ diff --git a/app/src/main/java/com/wireguard/android/preference/ZipExporterPreference.java b/app/src/main/java/com/wireguard/android/preference/ZipExporterPreference.java index 6077b0d5..3c065d63 100644 --- a/app/src/main/java/com/wireguard/android/preference/ZipExporterPreference.java +++ b/app/src/main/java/com/wireguard/android/preference/ZipExporterPreference.java @@ -1,5 +1,6 @@ /* * Copyright © 2018 Samuel Holland + * Copyright © 2018 Jason A. Donenfeld . All Rights Reserved. * SPDX-License-Identifier: GPL-2.0-or-later */ diff --git a/app/src/main/java/com/wireguard/android/util/AsyncWorker.java b/app/src/main/java/com/wireguard/android/util/AsyncWorker.java index 85d2a407..16eda82e 100644 --- a/app/src/main/java/com/wireguard/android/util/AsyncWorker.java +++ b/app/src/main/java/com/wireguard/android/util/AsyncWorker.java @@ -1,5 +1,6 @@ /* * Copyright © 2018 Samuel Holland + * Copyright © 2018 Jason A. Donenfeld . All Rights Reserved. * SPDX-License-Identifier: GPL-2.0-or-later */ diff --git a/app/src/main/java/com/wireguard/android/util/ClipboardUtils.java b/app/src/main/java/com/wireguard/android/util/ClipboardUtils.java index 313c7f0e..04a5fe47 100644 --- a/app/src/main/java/com/wireguard/android/util/ClipboardUtils.java +++ b/app/src/main/java/com/wireguard/android/util/ClipboardUtils.java @@ -1,5 +1,6 @@ /* * Copyright © 2018 Samuel Holland + * Copyright © 2018 Jason A. Donenfeld . All Rights Reserved. * SPDX-License-Identifier: GPL-2.0-or-later */ diff --git a/app/src/main/java/com/wireguard/android/util/ExceptionLoggers.java b/app/src/main/java/com/wireguard/android/util/ExceptionLoggers.java index 332c168c..dbc41ff1 100644 --- a/app/src/main/java/com/wireguard/android/util/ExceptionLoggers.java +++ b/app/src/main/java/com/wireguard/android/util/ExceptionLoggers.java @@ -1,5 +1,6 @@ /* * Copyright © 2018 Samuel Holland + * Copyright © 2018 Jason A. Donenfeld . All Rights Reserved. * SPDX-License-Identifier: GPL-2.0-or-later */ diff --git a/app/src/main/java/com/wireguard/android/util/Keyed.java b/app/src/main/java/com/wireguard/android/util/Keyed.java index 7b8e9be9..ca8c142a 100644 --- a/app/src/main/java/com/wireguard/android/util/Keyed.java +++ b/app/src/main/java/com/wireguard/android/util/Keyed.java @@ -1,5 +1,6 @@ /* * Copyright © 2018 Samuel Holland + * Copyright © 2018 Jason A. Donenfeld . All Rights Reserved. * SPDX-License-Identifier: GPL-2.0-or-later */ diff --git a/app/src/main/java/com/wireguard/android/util/KeyedList.java b/app/src/main/java/com/wireguard/android/util/KeyedList.java index 5fb7a0a6..9518758e 100644 --- a/app/src/main/java/com/wireguard/android/util/KeyedList.java +++ b/app/src/main/java/com/wireguard/android/util/KeyedList.java @@ -1,5 +1,6 @@ /* * Copyright © 2018 Samuel Holland + * Copyright © 2018 Jason A. Donenfeld . All Rights Reserved. * SPDX-License-Identifier: GPL-2.0-or-later */ diff --git a/app/src/main/java/com/wireguard/android/util/ObservableKeyedArrayList.java b/app/src/main/java/com/wireguard/android/util/ObservableKeyedArrayList.java index 0bfbe929..731af20d 100644 --- a/app/src/main/java/com/wireguard/android/util/ObservableKeyedArrayList.java +++ b/app/src/main/java/com/wireguard/android/util/ObservableKeyedArrayList.java @@ -1,5 +1,6 @@ /* * Copyright © 2018 Samuel Holland + * Copyright © 2018 Jason A. Donenfeld . All Rights Reserved. * SPDX-License-Identifier: GPL-2.0-or-later */ diff --git a/app/src/main/java/com/wireguard/android/util/ObservableKeyedList.java b/app/src/main/java/com/wireguard/android/util/ObservableKeyedList.java index 5305872d..d810b703 100644 --- a/app/src/main/java/com/wireguard/android/util/ObservableKeyedList.java +++ b/app/src/main/java/com/wireguard/android/util/ObservableKeyedList.java @@ -1,5 +1,6 @@ /* * Copyright © 2018 Samuel Holland + * Copyright © 2018 Jason A. Donenfeld . All Rights Reserved. * SPDX-License-Identifier: GPL-2.0-or-later */ diff --git a/app/src/main/java/com/wireguard/android/util/ObservableSortedKeyedArrayList.java b/app/src/main/java/com/wireguard/android/util/ObservableSortedKeyedArrayList.java index 222422ff..7e41a696 100644 --- a/app/src/main/java/com/wireguard/android/util/ObservableSortedKeyedArrayList.java +++ b/app/src/main/java/com/wireguard/android/util/ObservableSortedKeyedArrayList.java @@ -1,5 +1,6 @@ /* * Copyright © 2018 Samuel Holland + * Copyright © 2018 Jason A. Donenfeld . All Rights Reserved. * SPDX-License-Identifier: GPL-2.0-or-later */ diff --git a/app/src/main/java/com/wireguard/android/util/ObservableSortedKeyedList.java b/app/src/main/java/com/wireguard/android/util/ObservableSortedKeyedList.java index cf19966d..5a821689 100644 --- a/app/src/main/java/com/wireguard/android/util/ObservableSortedKeyedList.java +++ b/app/src/main/java/com/wireguard/android/util/ObservableSortedKeyedList.java @@ -1,5 +1,6 @@ /* * Copyright © 2018 Samuel Holland + * Copyright © 2018 Jason A. Donenfeld . All Rights Reserved. * SPDX-License-Identifier: GPL-2.0-or-later */ diff --git a/app/src/main/java/com/wireguard/android/util/RootShell.java b/app/src/main/java/com/wireguard/android/util/RootShell.java index ac436975..a260c55f 100644 --- a/app/src/main/java/com/wireguard/android/util/RootShell.java +++ b/app/src/main/java/com/wireguard/android/util/RootShell.java @@ -1,5 +1,6 @@ /* * Copyright © 2018 Samuel Holland + * Copyright © 2018 Jason A. Donenfeld . All Rights Reserved. * SPDX-License-Identifier: GPL-2.0-or-later */ diff --git a/app/src/main/java/com/wireguard/android/util/SortedKeyedList.java b/app/src/main/java/com/wireguard/android/util/SortedKeyedList.java index 66864040..cca6d017 100644 --- a/app/src/main/java/com/wireguard/android/util/SortedKeyedList.java +++ b/app/src/main/java/com/wireguard/android/util/SortedKeyedList.java @@ -1,5 +1,6 @@ /* * Copyright © 2018 Samuel Holland + * Copyright © 2018 Jason A. Donenfeld . All Rights Reserved. * SPDX-License-Identifier: GPL-2.0-or-later */ diff --git a/app/src/main/java/com/wireguard/android/util/ToolsInstaller.java b/app/src/main/java/com/wireguard/android/util/ToolsInstaller.java index c22d6ee9..5b1e1341 100644 --- a/app/src/main/java/com/wireguard/android/util/ToolsInstaller.java +++ b/app/src/main/java/com/wireguard/android/util/ToolsInstaller.java @@ -1,5 +1,6 @@ /* * Copyright © 2018 Samuel Holland + * Copyright © 2018 Jason A. Donenfeld . All Rights Reserved. * SPDX-License-Identifier: GPL-2.0-or-later */ diff --git a/app/src/main/java/com/wireguard/android/widget/KeyInputFilter.java b/app/src/main/java/com/wireguard/android/widget/KeyInputFilter.java index 853c5e8b..4e4519e4 100644 --- a/app/src/main/java/com/wireguard/android/widget/KeyInputFilter.java +++ b/app/src/main/java/com/wireguard/android/widget/KeyInputFilter.java @@ -1,5 +1,6 @@ /* * Copyright © 2018 Samuel Holland + * Copyright © 2018 Jason A. Donenfeld . All Rights Reserved. * SPDX-License-Identifier: GPL-2.0-or-later */ diff --git a/app/src/main/java/com/wireguard/android/widget/NameInputFilter.java b/app/src/main/java/com/wireguard/android/widget/NameInputFilter.java index d38e34e2..c7b57a61 100644 --- a/app/src/main/java/com/wireguard/android/widget/NameInputFilter.java +++ b/app/src/main/java/com/wireguard/android/widget/NameInputFilter.java @@ -1,5 +1,6 @@ /* * Copyright © 2018 Samuel Holland + * Copyright © 2018 Jason A. Donenfeld . All Rights Reserved. * SPDX-License-Identifier: GPL-2.0-or-later */ diff --git a/app/src/main/java/com/wireguard/android/widget/ToggleSwitch.java b/app/src/main/java/com/wireguard/android/widget/ToggleSwitch.java index 83bf5274..b71ad447 100644 --- a/app/src/main/java/com/wireguard/android/widget/ToggleSwitch.java +++ b/app/src/main/java/com/wireguard/android/widget/ToggleSwitch.java @@ -1,17 +1,6 @@ /* - * Copyright (C) 2013 The Android Open Source Project - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Copyright © 2013 The Android Open Source Project + * SPDX-License-Identifier: Apache-2.0 */ package com.wireguard.android.widget; diff --git a/app/src/main/java/com/wireguard/config/Attribute.java b/app/src/main/java/com/wireguard/config/Attribute.java index 7a256c69..2caa9fb2 100644 --- a/app/src/main/java/com/wireguard/config/Attribute.java +++ b/app/src/main/java/com/wireguard/config/Attribute.java @@ -1,5 +1,6 @@ /* * Copyright © 2018 Samuel Holland + * Copyright © 2018 Jason A. Donenfeld . All Rights Reserved. * SPDX-License-Identifier: GPL-2.0-or-later */ diff --git a/app/src/main/java/com/wireguard/config/Config.java b/app/src/main/java/com/wireguard/config/Config.java index 97e71ce9..f2bcd2fe 100644 --- a/app/src/main/java/com/wireguard/config/Config.java +++ b/app/src/main/java/com/wireguard/config/Config.java @@ -1,5 +1,6 @@ /* * Copyright © 2018 Samuel Holland + * Copyright © 2018 Jason A. Donenfeld . All Rights Reserved. * SPDX-License-Identifier: GPL-2.0-or-later */ diff --git a/app/src/main/java/com/wireguard/config/IPCidr.java b/app/src/main/java/com/wireguard/config/IPCidr.java index 89892061..dd649fc5 100644 --- a/app/src/main/java/com/wireguard/config/IPCidr.java +++ b/app/src/main/java/com/wireguard/config/IPCidr.java @@ -1,5 +1,6 @@ /* * Copyright © 2018 Samuel Holland + * Copyright © 2018 Jason A. Donenfeld . All Rights Reserved. * SPDX-License-Identifier: GPL-2.0-or-later */ diff --git a/app/src/main/java/com/wireguard/config/Interface.java b/app/src/main/java/com/wireguard/config/Interface.java index e43b7637..e9423518 100644 --- a/app/src/main/java/com/wireguard/config/Interface.java +++ b/app/src/main/java/com/wireguard/config/Interface.java @@ -1,5 +1,6 @@ /* * Copyright © 2018 Samuel Holland + * Copyright © 2018 Jason A. Donenfeld . All Rights Reserved. * SPDX-License-Identifier: GPL-2.0-or-later */ diff --git a/app/src/main/java/com/wireguard/config/Peer.java b/app/src/main/java/com/wireguard/config/Peer.java index 34fae0b1..17ad7b29 100644 --- a/app/src/main/java/com/wireguard/config/Peer.java +++ b/app/src/main/java/com/wireguard/config/Peer.java @@ -1,5 +1,6 @@ /* * Copyright © 2018 Samuel Holland + * Copyright © 2018 Jason A. Donenfeld . All Rights Reserved. * SPDX-License-Identifier: GPL-2.0-or-later */ diff --git a/app/src/main/java/com/wireguard/crypto/Curve25519.java b/app/src/main/java/com/wireguard/crypto/Curve25519.java index 0956c4fb..694f557b 100644 --- a/app/src/main/java/com/wireguard/crypto/Curve25519.java +++ b/app/src/main/java/com/wireguard/crypto/Curve25519.java @@ -1,23 +1,6 @@ /* - * Copyright (C) 2016 Southern Storm Software, Pty Ltd. - * - * Permission is hereby granted, free of charge, to any person obtaining a - * copy of this software and associated documentation files (the "Software"), - * to deal in the Software without restriction, including without limitation - * the rights to use, copy, modify, merge, publish, distribute, sublicense, - * and/or sell copies of the Software, and to permit persons to whom the - * Software is furnished to do so, subject to the following conditions: - * - * The above copyright notice and this permission notice shall be included - * in all copies or substantial portions of the Software. - * - * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS - * OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, - * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE - * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER - * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING - * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER - * DEALINGS IN THE SOFTWARE. + * Copyright © 2016 Southern Storm Software, Pty Ltd. + * SPDX-License-Identifier: MIT */ package com.wireguard.crypto; diff --git a/app/src/main/java/com/wireguard/crypto/KeyEncoding.java b/app/src/main/java/com/wireguard/crypto/KeyEncoding.java index 0c42acb0..ec86da37 100644 --- a/app/src/main/java/com/wireguard/crypto/KeyEncoding.java +++ b/app/src/main/java/com/wireguard/crypto/KeyEncoding.java @@ -1,5 +1,5 @@ /* - * Copyright (C) 2015-2017 Jason A. Donenfeld . All Rights Reserved. + * Copyright © 2015-2018 Jason A. Donenfeld . All Rights Reserved. * SPDX-License-Identifier: GPL-2.0-or-later */ diff --git a/app/src/main/java/com/wireguard/crypto/Keypair.java b/app/src/main/java/com/wireguard/crypto/Keypair.java index 3866efbf..c2f2654b 100644 --- a/app/src/main/java/com/wireguard/crypto/Keypair.java +++ b/app/src/main/java/com/wireguard/crypto/Keypair.java @@ -1,5 +1,6 @@ /* * Copyright © 2018 Samuel Holland + * Copyright © 2018 Jason A. Donenfeld . All Rights Reserved. * SPDX-License-Identifier: GPL-2.0-or-later */ diff --git a/app/tools/CMakeLists.txt b/app/tools/CMakeLists.txt index 4cf030bf..986ca61a 100644 --- a/app/tools/CMakeLists.txt +++ b/app/tools/CMakeLists.txt @@ -1,3 +1,7 @@ +# SPDX-License-Identifier: GPL-2.0-or-later +# +# Copyright © 2018 Jason A. Donenfeld . All Rights Reserved. + cmake_minimum_required(VERSION 3.4.1) set(CMAKE_RUNTIME_OUTPUT_DIRECTORY "${CMAKE_LIBRARY_OUTPUT_DIRECTORY}") diff --git a/app/tools/libwg-go/Makefile b/app/tools/libwg-go/Makefile index 8c397bc2..8c97b9d0 100644 --- a/app/tools/libwg-go/Makefile +++ b/app/tools/libwg-go/Makefile @@ -1,3 +1,7 @@ +# SPDX-License-Identifier: GPL-2.0 +# +# Copyright © 2018 Jason A. Donenfeld . All Rights Reserved. + containing = $(foreach v,$2,$(if $(findstring $1,$v),$v)) FILES := $(wildcard ../wireguard-go/*/*.go) $(wildcard ../wireguard-go/*.go) FILES := $(filter-out %/main.go $(filter-out %_linux.go,$(call containing,_,$(FILES))),$(FILES)) diff --git a/app/tools/libwg-go/api-android.go b/app/tools/libwg-go/api-android.go index 2e20884d..63551512 100644 --- a/app/tools/libwg-go/api-android.go +++ b/app/tools/libwg-go/api-android.go @@ -1,3 +1,8 @@ +/* SPDX-License-Identifier: GPL-2.0-or-later + * + * Copyright (C) 2017-2018 Jason A. Donenfeld . All Rights Reserved. + */ + package main // #cgo LDFLAGS: -llog diff --git a/app/tools/libwg-go/jni.c b/app/tools/libwg-go/jni.c index 1476dab7..a0f3d0ba 100644 --- a/app/tools/libwg-go/jni.c +++ b/app/tools/libwg-go/jni.c @@ -1,3 +1,8 @@ +/* SPDX-License-Identifier: GPL-2.0-or-later + * + * Copyright © 2017-2018 Jason A. Donenfeld . All Rights Reserved. + */ + #include struct go_string { const char *str; long n; }; diff --git a/app/tools/wg-quick.c b/app/tools/wg-quick.c index 0610d12f..745f5ee6 100644 --- a/app/tools/wg-quick.c +++ b/app/tools/wg-quick.c @@ -1,6 +1,6 @@ /* SPDX-License-Identifier: GPL-2.0 * - * Copyright (C) 2015-2017 Jason A. Donenfeld . All Rights Reserved. + * Copyright © 2015-2018 Jason A. Donenfeld . All Rights Reserved. * * This is a shell script written in C. It very intentionally still functions like * a shell script, calling out to external executables such as ip(8).