From 79346022d01a73a8987298d82a2f0b749b63ac50 Mon Sep 17 00:00:00 2001 From: Daniel Mueller Date: Wed, 2 Sep 2020 21:40:32 -0700 Subject: Adjust copyright & license specification to comply with REUSE 3.0 With this change we switch to using a REUSE compliant way of specifying the copyright & license of the program. To be fully in conformance we also add additional license specifications for the remaining files in the project. Lastly, a new CI pipeline rule takes care of verifying compliance on an ongoing basis. --- src/tests/config.rs | 18 ++---------------- src/tests/encrypted.rs | 18 ++---------------- src/tests/hidden.rs | 18 ++---------------- src/tests/list.rs | 18 ++---------------- src/tests/lock.rs | 18 ++---------------- src/tests/mod.rs | 18 ++---------------- src/tests/otp.rs | 18 ++---------------- src/tests/pin.rs | 18 ++---------------- src/tests/pws.rs | 18 ++---------------- src/tests/reset.rs | 18 ++---------------- src/tests/run.rs | 18 ++---------------- src/tests/status.rs | 18 ++---------------- src/tests/unencrypted.rs | 18 ++---------------- 13 files changed, 26 insertions(+), 208 deletions(-) (limited to 'src/tests') diff --git a/src/tests/config.rs b/src/tests/config.rs index c4d412f..75ec983 100644 --- a/src/tests/config.rs +++ b/src/tests/config.rs @@ -1,21 +1,7 @@ // config.rs -// ************************************************************************* -// * Copyright (C) 2019-2020 The Nitrocli Developers * -// * * -// * This program is free software: you can redistribute it and/or modify * -// * it under the terms of the GNU General Public License as published by * -// * the Free Software Foundation, either version 3 of the License, or * -// * (at your option) any later version. * -// * * -// * This program is distributed in the hope that it will be useful, * -// * but WITHOUT ANY WARRANTY; without even the implied warranty of * -// * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * -// * GNU General Public License for more details. * -// * * -// * You should have received a copy of the GNU General Public License * -// * along with this program. If not, see . * -// ************************************************************************* +// Copyright (C) 2019-2020 The Nitrocli Developers +// SPDX-License-Identifier: GPL-3.0-or-later use super::*; diff --git a/src/tests/encrypted.rs b/src/tests/encrypted.rs index ec0fb51..485bb6e 100644 --- a/src/tests/encrypted.rs +++ b/src/tests/encrypted.rs @@ -1,21 +1,7 @@ // encrypted.rs -// ************************************************************************* -// * Copyright (C) 2019-2020 The Nitrocli Developers * -// * * -// * This program is free software: you can redistribute it and/or modify * -// * it under the terms of the GNU General Public License as published by * -// * the Free Software Foundation, either version 3 of the License, or * -// * (at your option) any later version. * -// * * -// * This program is distributed in the hope that it will be useful, * -// * but WITHOUT ANY WARRANTY; without even the implied warranty of * -// * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * -// * GNU General Public License for more details. * -// * * -// * You should have received a copy of the GNU General Public License * -// * along with this program. If not, see . * -// ************************************************************************* +// Copyright (C) 2019-2020 The Nitrocli Developers +// SPDX-License-Identifier: GPL-3.0-or-later use super::*; diff --git a/src/tests/hidden.rs b/src/tests/hidden.rs index e261a72..82a4630 100644 --- a/src/tests/hidden.rs +++ b/src/tests/hidden.rs @@ -1,21 +1,7 @@ // hidden.rs -// ************************************************************************* -// * Copyright (C) 2019-2020 The Nitrocli Developers * -// * * -// * This program is free software: you can redistribute it and/or modify * -// * it under the terms of the GNU General Public License as published by * -// * the Free Software Foundation, either version 3 of the License, or * -// * (at your option) any later version. * -// * * -// * This program is distributed in the hope that it will be useful, * -// * but WITHOUT ANY WARRANTY; without even the implied warranty of * -// * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * -// * GNU General Public License for more details. * -// * * -// * You should have received a copy of the GNU General Public License * -// * along with this program. If not, see . * -// ************************************************************************* +// Copyright (C) 2019-2020 The Nitrocli Developers +// SPDX-License-Identifier: GPL-3.0-or-later use super::*; diff --git a/src/tests/list.rs b/src/tests/list.rs index 63aeac1..7ff88a7 100644 --- a/src/tests/list.rs +++ b/src/tests/list.rs @@ -1,21 +1,7 @@ // list.rs -// ************************************************************************* -// * Copyright (C) 2020 The Nitrocli Developers * -// * * -// * This program is free software: you can redistribute it and/or modify * -// * it under the terms of the GNU General Public License as published by * -// * the Free Software Foundation, either version 3 of the License, or * -// * (at your option) any later version. * -// * * -// * This program is distributed in the hope that it will be useful, * -// * but WITHOUT ANY WARRANTY; without even the implied warranty of * -// * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * -// * GNU General Public License for more details. * -// * * -// * You should have received a copy of the GNU General Public License * -// * along with this program. If not, see . * -// ************************************************************************* +// Copyright (C) 2020 The Nitrocli Developers +// SPDX-License-Identifier: GPL-3.0-or-later use super::*; diff --git a/src/tests/lock.rs b/src/tests/lock.rs index 4a32c9c..e04e8eb 100644 --- a/src/tests/lock.rs +++ b/src/tests/lock.rs @@ -1,21 +1,7 @@ // lock.rs -// ************************************************************************* -// * Copyright (C) 2019-2020 The Nitrocli Developers * -// * * -// * This program is free software: you can redistribute it and/or modify * -// * it under the terms of the GNU General Public License as published by * -// * the Free Software Foundation, either version 3 of the License, or * -// * (at your option) any later version. * -// * * -// * This program is distributed in the hope that it will be useful, * -// * but WITHOUT ANY WARRANTY; without even the implied warranty of * -// * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * -// * GNU General Public License for more details. * -// * * -// * You should have received a copy of the GNU General Public License * -// * along with this program. If not, see . * -// ************************************************************************* +// Copyright (C) 2019-2020 The Nitrocli Developers +// SPDX-License-Identifier: GPL-3.0-or-later use super::*; diff --git a/src/tests/mod.rs b/src/tests/mod.rs index 298dde9..e1f93a9 100644 --- a/src/tests/mod.rs +++ b/src/tests/mod.rs @@ -1,21 +1,7 @@ // mod.rs -// ************************************************************************* -// * Copyright (C) 2019-2020 The Nitrocli Developers * -// * * -// * This program is free software: you can redistribute it and/or modify * -// * it under the terms of the GNU General Public License as published by * -// * the Free Software Foundation, either version 3 of the License, or * -// * (at your option) any later version. * -// * * -// * This program is distributed in the hope that it will be useful, * -// * but WITHOUT ANY WARRANTY; without even the implied warranty of * -// * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * -// * GNU General Public License for more details. * -// * * -// * You should have received a copy of the GNU General Public License * -// * along with this program. If not, see . * -// ************************************************************************* +// Copyright (C) 2019-2020 The Nitrocli Developers +// SPDX-License-Identifier: GPL-3.0-or-later use std::ffi; diff --git a/src/tests/otp.rs b/src/tests/otp.rs index 59fd319..d907f18 100644 --- a/src/tests/otp.rs +++ b/src/tests/otp.rs @@ -1,21 +1,7 @@ // otp.rs -// ************************************************************************* -// * Copyright (C) 2019-2020 The Nitrocli Developers * -// * * -// * This program is free software: you can redistribute it and/or modify * -// * it under the terms of the GNU General Public License as published by * -// * the Free Software Foundation, either version 3 of the License, or * -// * (at your option) any later version. * -// * * -// * This program is distributed in the hope that it will be useful, * -// * but WITHOUT ANY WARRANTY; without even the implied warranty of * -// * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * -// * GNU General Public License for more details. * -// * * -// * You should have received a copy of the GNU General Public License * -// * along with this program. If not, see . * -// ************************************************************************* +// Copyright (C) 2019-2020 The Nitrocli Developers +// SPDX-License-Identifier: GPL-3.0-or-later use super::*; diff --git a/src/tests/pin.rs b/src/tests/pin.rs index 416a7f8..551454c 100644 --- a/src/tests/pin.rs +++ b/src/tests/pin.rs @@ -1,21 +1,7 @@ // pin.rs -// ************************************************************************* -// * Copyright (C) 2019-2020 The Nitrocli Developers * -// * * -// * This program is free software: you can redistribute it and/or modify * -// * it under the terms of the GNU General Public License as published by * -// * the Free Software Foundation, either version 3 of the License, or * -// * (at your option) any later version. * -// * * -// * This program is distributed in the hope that it will be useful, * -// * but WITHOUT ANY WARRANTY; without even the implied warranty of * -// * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * -// * GNU General Public License for more details. * -// * * -// * You should have received a copy of the GNU General Public License * -// * along with this program. If not, see . * -// ************************************************************************* +// Copyright (C) 2019-2020 The Nitrocli Developers +// SPDX-License-Identifier: GPL-3.0-or-later use nitrokey::Authenticate; use nitrokey::Device; diff --git a/src/tests/pws.rs b/src/tests/pws.rs index d0e8907..45c4400 100644 --- a/src/tests/pws.rs +++ b/src/tests/pws.rs @@ -1,21 +1,7 @@ // pws.rs -// ************************************************************************* -// * Copyright (C) 2019-2020 The Nitrocli Developers * -// * * -// * This program is free software: you can redistribute it and/or modify * -// * it under the terms of the GNU General Public License as published by * -// * the Free Software Foundation, either version 3 of the License, or * -// * (at your option) any later version. * -// * * -// * This program is distributed in the hope that it will be useful, * -// * but WITHOUT ANY WARRANTY; without even the implied warranty of * -// * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * -// * GNU General Public License for more details. * -// * * -// * You should have received a copy of the GNU General Public License * -// * along with this program. If not, see . * -// ************************************************************************* +// Copyright (C) 2019-2020 The Nitrocli Developers +// SPDX-License-Identifier: GPL-3.0-or-later use super::*; diff --git a/src/tests/reset.rs b/src/tests/reset.rs index cbac676..a7b2097 100644 --- a/src/tests/reset.rs +++ b/src/tests/reset.rs @@ -1,21 +1,7 @@ // reset.rs -// ************************************************************************* -// * Copyright (C) 2019-2020 The Nitrocli Developers * -// * * -// * This program is free software: you can redistribute it and/or modify * -// * it under the terms of the GNU General Public License as published by * -// * the Free Software Foundation, either version 3 of the License, or * -// * (at your option) any later version. * -// * * -// * This program is distributed in the hope that it will be useful, * -// * but WITHOUT ANY WARRANTY; without even the implied warranty of * -// * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * -// * GNU General Public License for more details. * -// * * -// * You should have received a copy of the GNU General Public License * -// * along with this program. If not, see . * -// ************************************************************************* +// Copyright (C) 2019-2020 The Nitrocli Developers +// SPDX-License-Identifier: GPL-3.0-or-later use nitrokey::Authenticate; use nitrokey::GetPasswordSafe; diff --git a/src/tests/run.rs b/src/tests/run.rs index 90e3067..4d470f6 100644 --- a/src/tests/run.rs +++ b/src/tests/run.rs @@ -1,21 +1,7 @@ // run.rs -// ************************************************************************* -// * Copyright (C) 2019-2020 The Nitrocli Developers * -// * * -// * This program is free software: you can redistribute it and/or modify * -// * it under the terms of the GNU General Public License as published by * -// * the Free Software Foundation, either version 3 of the License, or * -// * (at your option) any later version. * -// * * -// * This program is distributed in the hope that it will be useful, * -// * but WITHOUT ANY WARRANTY; without even the implied warranty of * -// * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * -// * GNU General Public License for more details. * -// * * -// * You should have received a copy of the GNU General Public License * -// * along with this program. If not, see . * -// ************************************************************************* +// Copyright (C) 2019-2020 The Nitrocli Developers +// SPDX-License-Identifier: GPL-3.0-or-later use std::path; diff --git a/src/tests/status.rs b/src/tests/status.rs index 983afa7..0fd5b5b 100644 --- a/src/tests/status.rs +++ b/src/tests/status.rs @@ -1,21 +1,7 @@ // status.rs -// ************************************************************************* -// * Copyright (C) 2019-2020 The Nitrocli Developers * -// * * -// * This program is free software: you can redistribute it and/or modify * -// * it under the terms of the GNU General Public License as published by * -// * the Free Software Foundation, either version 3 of the License, or * -// * (at your option) any later version. * -// * * -// * This program is distributed in the hope that it will be useful, * -// * but WITHOUT ANY WARRANTY; without even the implied warranty of * -// * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * -// * GNU General Public License for more details. * -// * * -// * You should have received a copy of the GNU General Public License * -// * along with this program. If not, see . * -// ************************************************************************* +// Copyright (C) 2019-2020 The Nitrocli Developers +// SPDX-License-Identifier: GPL-3.0-or-later use super::*; diff --git a/src/tests/unencrypted.rs b/src/tests/unencrypted.rs index 574b53a..26c6604 100644 --- a/src/tests/unencrypted.rs +++ b/src/tests/unencrypted.rs @@ -1,21 +1,7 @@ // unencrypted.rs -// ************************************************************************* -// * Copyright (C) 2019-2020 The Nitrocli Developers * -// * * -// * This program is free software: you can redistribute it and/or modify * -// * it under the terms of the GNU General Public License as published by * -// * the Free Software Foundation, either version 3 of the License, or * -// * (at your option) any later version. * -// * * -// * This program is distributed in the hope that it will be useful, * -// * but WITHOUT ANY WARRANTY; without even the implied warranty of * -// * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * -// * GNU General Public License for more details. * -// * * -// * You should have received a copy of the GNU General Public License * -// * along with this program. If not, see . * -// ************************************************************************* +// Copyright (C) 2019-2020 The Nitrocli Developers +// SPDX-License-Identifier: GPL-3.0-or-later use super::*; -- cgit v1.2.3