Skip to content

Commit

Permalink
Merge pull request #47 from Foundation-Devices/mit-licence
Browse files Browse the repository at this point in the history
Relicense to MIT
  • Loading branch information
icota authored Aug 30, 2024
2 parents 8e770d4 + 5b31df8 commit 05f2d57
Show file tree
Hide file tree
Showing 268 changed files with 714 additions and 830 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/check.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# SPDX-FileCopyrightText: 2022 Foundation Devices Inc.
#
# SPDX-License-Identifier: GPL-3.0-or-later
# SPDX-License-Identifier: MIT

name: Check

Expand Down
4 changes: 4 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
# SPDX-FileCopyrightText: 2024 Foundation Devices Inc.
#
# SPDX-License-Identifier: MIT

# Miscellaneous
*.class
*.log
Expand Down
3 changes: 0 additions & 3 deletions .gitignore.license

This file was deleted.

6 changes: 3 additions & 3 deletions .reuse/dep5
Original file line number Diff line number Diff line change
Expand Up @@ -9,12 +9,12 @@ License: MIT

Files: lib/generated*
Copyright: 2024 Foundation Devices Inc.
License: GPL-3.0-or-later
License: MIT

Files: rust/target/*
Copyright: 2024 Foundation Devices Inc.
License: GPL-3.0-or-later
License: MIT

Files: CHANGELOG.md
Copyright: 2024 Foundation Devices Inc.
License: GPL-3.0-or-later
License: MIT
10 changes: 10 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,13 @@
<!--
SPDX-FileCopyrightText: 2024 Foundation Devices Inc.
SPDX-License-Identifier: MIT
-->

## 0.0.7

* Relicensed to MIT

## 0.0.6

* Pinned 'time' to a specific version
Expand Down
233 changes: 5 additions & 228 deletions LICENSE

Large diffs are not rendered by default.

3 changes: 3 additions & 0 deletions LICENSE.license
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
SPDX-FileCopyrightText: 2024 Foundation Devices Inc.

SPDX-License-Identifier: MIT
232 changes: 0 additions & 232 deletions LICENSES/GPL-3.0-or-later.txt

This file was deleted.

2 changes: 1 addition & 1 deletion LICENSES/MIT.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
MIT License

Copyright (c) <year> <copyright holders>
Copyright (c) 2024 Foundation Devices Inc.

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:

Expand Down
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
<!--
SPDX-FileCopyrightText: 2022-2023 Foundation Devices Inc.
SPDX-FileCopyrightText: 2024 Foundation Devices Inc.
SPDX-License-Identifier: GPL-3.0-or-later
SPDX-License-Identifier: MIT
-->

# tor
Expand Down
3 changes: 0 additions & 3 deletions README.md.license

This file was deleted.

4 changes: 3 additions & 1 deletion analysis_options.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
# SPDX-FileCopyrightText: 2022 Foundation Devices Inc.
# SPDX-FileCopyrightText: 2024 Foundation Devices Inc.
#
# SPDX-License-Identifier: GPL-3.0-or-later
# SPDX-License-Identifier: MIT

include: package:flutter_lints/flutter.yaml

analyzer:
Expand Down
4 changes: 4 additions & 0 deletions android/.gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
# SPDX-FileCopyrightText: 2024 Foundation Devices Inc.
#
# SPDX-License-Identifier: MIT

*.iml
.gradle
/local.properties
Expand Down
3 changes: 0 additions & 3 deletions android/.gitignore.license

This file was deleted.

4 changes: 4 additions & 0 deletions android/build.gradle
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
// SPDX-FileCopyrightText: 2024 Foundation Devices Inc.
//
// SPDX-License-Identifier: MIT

// The Android Gradle Plugin builds the native code with the Android NDK.

group 'com.foundationdevices.tor'
Expand Down
3 changes: 0 additions & 3 deletions android/build.gradle.license

This file was deleted.

4 changes: 4 additions & 0 deletions android/settings.gradle
Original file line number Diff line number Diff line change
@@ -1 +1,5 @@
// SPDX-FileCopyrightText: 2024 Foundation Devices Inc.
//
// SPDX-License-Identifier: MIT

rootProject.name = 'tor'
3 changes: 0 additions & 3 deletions android/settings.gradle.license

This file was deleted.

6 changes: 6 additions & 0 deletions android/src/main/AndroidManifest.xml
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
<!--
SPDX-FileCopyrightText: 2024 Foundation Devices Inc.
SPDX-License-Identifier: MIT
-->

<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="com.foundationdevices.tor">
</manifest>
3 changes: 0 additions & 3 deletions android/src/main/AndroidManifest.xml.license

This file was deleted.

4 changes: 4 additions & 0 deletions cargokit/.github/workflows/check_and_lint.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
# SPDX-FileCopyrightText: 2024 Foundation Devices Inc.
#
# SPDX-License-Identifier: MIT

on:
pull_request:
push:
Expand Down
4 changes: 4 additions & 0 deletions cargokit/.github/workflows/test_example_plugin_build.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
# SPDX-FileCopyrightText: 2024 Foundation Devices Inc.
#
# SPDX-License-Identifier: MIT

on:
pull_request:
push:
Expand Down
4 changes: 4 additions & 0 deletions cargokit/.gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
# SPDX-FileCopyrightText: 2024 Foundation Devices Inc.
#
# SPDX-License-Identifier: MIT

target
.dart_tool
*.iml
Expand Down
3 changes: 3 additions & 0 deletions cargokit/README.license
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
SPDX-FileCopyrightText: 2024 Foundation Devices Inc.

SPDX-License-Identifier: MIT
5 changes: 5 additions & 0 deletions cargokit/build_pod.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,9 @@
#!/bin/sh

# SPDX-FileCopyrightText: 2024 Foundation Devices Inc.
#
# SPDX-License-Identifier: MIT

set -e

BASEDIR=$(dirname "$0")
Expand Down
6 changes: 6 additions & 0 deletions cargokit/build_tool/README.md
Original file line number Diff line number Diff line change
@@ -1,2 +1,8 @@
<!--
SPDX-FileCopyrightText: 2024 Foundation Devices Inc.
SPDX-License-Identifier: MIT
-->

A sample command-line application with an entrypoint in `bin/`, library code
in `lib/`, and example unit test in `test/`.
4 changes: 4 additions & 0 deletions cargokit/build_tool/analysis_options.yaml
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
# SPDX-FileCopyrightText: 2024 Foundation Devices Inc.
#
# SPDX-License-Identifier: MIT

# This file configures the static analysis results for your project (errors,
# warnings, and lints).
#
Expand Down
4 changes: 4 additions & 0 deletions cargokit/build_tool/bin/build_tool.dart
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
// SPDX-FileCopyrightText: 2024 Foundation Devices Inc.
//
// SPDX-License-Identifier: MIT

import 'package:build_tool/build_tool.dart' as build_tool;

void main(List<String> arguments) {
Expand Down
4 changes: 4 additions & 0 deletions cargokit/build_tool/lib/build_tool.dart
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
// SPDX-FileCopyrightText: 2024 Foundation Devices Inc.
//
// SPDX-License-Identifier: MIT

import 'src/build_tool.dart' as build_tool;

Future<void> runMain(List<String> args) async {
Expand Down
4 changes: 4 additions & 0 deletions cargokit/build_tool/lib/src/android_environment.dart
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
// SPDX-FileCopyrightText: 2024 Foundation Devices Inc.
//
// SPDX-License-Identifier: MIT

import 'dart:io';
import 'dart:isolate';
import 'dart:math' as math;
Expand Down
4 changes: 4 additions & 0 deletions cargokit/build_tool/lib/src/artifacts_provider.dart
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
// SPDX-FileCopyrightText: 2024 Foundation Devices Inc.
//
// SPDX-License-Identifier: MIT

import 'dart:io';

import 'package:ed25519_edwards/ed25519_edwards.dart';
Expand Down
4 changes: 4 additions & 0 deletions cargokit/build_tool/lib/src/build_cmake.dart
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
// SPDX-FileCopyrightText: 2024 Foundation Devices Inc.
//
// SPDX-License-Identifier: MIT

import 'dart:io';

import 'package:path/path.dart' as path;
Expand Down
4 changes: 4 additions & 0 deletions cargokit/build_tool/lib/src/build_gradle.dart
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
// SPDX-FileCopyrightText: 2024 Foundation Devices Inc.
//
// SPDX-License-Identifier: MIT

import 'dart:io';

import 'package:logging/logging.dart';
Expand Down
4 changes: 4 additions & 0 deletions cargokit/build_tool/lib/src/build_pod.dart
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
// SPDX-FileCopyrightText: 2024 Foundation Devices Inc.
//
// SPDX-License-Identifier: MIT

import 'dart:io';

import 'package:path/path.dart' as path;
Expand Down
4 changes: 4 additions & 0 deletions cargokit/build_tool/lib/src/build_tool.dart
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
// SPDX-FileCopyrightText: 2024 Foundation Devices Inc.
//
// SPDX-License-Identifier: MIT

import 'dart:io';

import 'package:args/command_runner.dart';
Expand Down
4 changes: 4 additions & 0 deletions cargokit/build_tool/lib/src/builder.dart
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
// SPDX-FileCopyrightText: 2024 Foundation Devices Inc.
//
// SPDX-License-Identifier: MIT

import 'package:collection/collection.dart';
import 'package:logging/logging.dart';
import 'package:path/path.dart' as path;
Expand Down
4 changes: 4 additions & 0 deletions cargokit/build_tool/lib/src/cargo.dart
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
// SPDX-FileCopyrightText: 2024 Foundation Devices Inc.
//
// SPDX-License-Identifier: MIT

import 'dart:io';

import 'package:path/path.dart' as path;
Expand Down
4 changes: 4 additions & 0 deletions cargokit/build_tool/lib/src/crate_hash.dart
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
// SPDX-FileCopyrightText: 2024 Foundation Devices Inc.
//
// SPDX-License-Identifier: MIT

import 'dart:convert';
import 'dart:io';
import 'dart:typed_data';
Expand Down
4 changes: 4 additions & 0 deletions cargokit/build_tool/lib/src/environment.dart
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
// SPDX-FileCopyrightText: 2024 Foundation Devices Inc.
//
// SPDX-License-Identifier: MIT

import 'dart:io';

extension on String {
Expand Down
4 changes: 4 additions & 0 deletions cargokit/build_tool/lib/src/logging.dart
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
// SPDX-FileCopyrightText: 2024 Foundation Devices Inc.
//
// SPDX-License-Identifier: MIT

import 'dart:io';

import 'package:logging/logging.dart';
Expand Down
4 changes: 4 additions & 0 deletions cargokit/build_tool/lib/src/options.dart
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
// SPDX-FileCopyrightText: 2024 Foundation Devices Inc.
//
// SPDX-License-Identifier: MIT

import 'dart:io';

import 'package:collection/collection.dart';
Expand Down
4 changes: 4 additions & 0 deletions cargokit/build_tool/lib/src/precompile_binaries.dart
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
// SPDX-FileCopyrightText: 2024 Foundation Devices Inc.
//
// SPDX-License-Identifier: MIT

import 'dart:io';

import 'package:ed25519_edwards/ed25519_edwards.dart';
Expand Down
4 changes: 4 additions & 0 deletions cargokit/build_tool/lib/src/rustup.dart
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
// SPDX-FileCopyrightText: 2024 Foundation Devices Inc.
//
// SPDX-License-Identifier: MIT

import 'dart:io';

import 'package:collection/collection.dart';
Expand Down
4 changes: 4 additions & 0 deletions cargokit/build_tool/lib/src/target.dart
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
// SPDX-FileCopyrightText: 2024 Foundation Devices Inc.
//
// SPDX-License-Identifier: MIT

import 'dart:io';

import 'package:collection/collection.dart';
Expand Down
4 changes: 4 additions & 0 deletions cargokit/build_tool/lib/src/util.dart
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
// SPDX-FileCopyrightText: 2024 Foundation Devices Inc.
//
// SPDX-License-Identifier: MIT

import 'dart:convert';
import 'dart:io';

Expand Down
4 changes: 4 additions & 0 deletions cargokit/build_tool/lib/src/verify_binaries.dart
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
// SPDX-FileCopyrightText: 2024 Foundation Devices Inc.
//
// SPDX-License-Identifier: MIT

import 'dart:io';

import 'package:ed25519_edwards/ed25519_edwards.dart';
Expand Down
3 changes: 3 additions & 0 deletions cargokit/build_tool/pubspec.lock.license
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
SPDX-FileCopyrightText: 2024 Foundation Devices Inc.

SPDX-License-Identifier: MIT
4 changes: 4 additions & 0 deletions cargokit/build_tool/pubspec.yaml
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
# SPDX-FileCopyrightText: 2024 Foundation Devices Inc.
#
# SPDX-License-Identifier: MIT

name: build_tool
description: Cargokit build_tool. Facilitates the build of Rust crate during Flutter application build.
publish_to: none
Expand Down
4 changes: 4 additions & 0 deletions cargokit/build_tool/test/builder_test.dart
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
// SPDX-FileCopyrightText: 2024 Foundation Devices Inc.
//
// SPDX-License-Identifier: MIT

import 'package:build_tool/src/builder.dart';
import 'package:test/test.dart';

Expand Down
4 changes: 4 additions & 0 deletions cargokit/build_tool/test/cargo_test.dart
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
// SPDX-FileCopyrightText: 2024 Foundation Devices Inc.
//
// SPDX-License-Identifier: MIT

import 'package:build_tool/src/cargo.dart';
import 'package:test/test.dart';

Expand Down
4 changes: 4 additions & 0 deletions cargokit/build_tool/test/options_test.dart
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
// SPDX-FileCopyrightText: 2024 Foundation Devices Inc.
//
// SPDX-License-Identifier: MIT

import 'package:build_tool/src/builder.dart';
import 'package:build_tool/src/options.dart';
import 'package:hex/hex.dart';
Expand Down
4 changes: 4 additions & 0 deletions cargokit/cmake/cargokit.cmake
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
# SPDX-FileCopyrightText: 2024 Foundation Devices Inc.
#
# SPDX-License-Identifier: MIT

SET(cargokit_cmake_root "${CMAKE_CURRENT_LIST_DIR}/..")

# Workaround for https://github.com/dart-lang/pub/issues/4010
Expand Down
4 changes: 4 additions & 0 deletions cargokit/cmake/resolve_symlinks.ps1
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
# SPDX-FileCopyrightText: 2024 Foundation Devices Inc.
#
# SPDX-License-Identifier: MIT

function Resolve-Symlinks {
[CmdletBinding()]
[OutputType([string])]
Expand Down
Loading

0 comments on commit 05f2d57

Please sign in to comment.