From 8aead91532b116f40649ae7e9c1b7d15fbd67a4f Mon Sep 17 00:00:00 2001 From: Hristo Venev Date: Mon, 30 Sep 2019 15:21:19 +0300 Subject: Add SPDX-License-Identifier. --- src/config.rs | 4 ++-- src/fileutil.rs | 4 ++++ src/main.rs | 4 ++-- src/manager/builder.rs | 4 ++-- src/manager/mod.rs | 4 ++-- src/manager/updater.rs | 4 ++-- src/model.rs | 4 ++-- src/model/ip.rs | 4 ++-- src/proto.rs | 4 ++-- src/wg.rs | 4 ++-- 10 files changed, 22 insertions(+), 18 deletions(-) (limited to 'src') diff --git a/src/config.rs b/src/config.rs index 95e80a8..b755739 100644 --- a/src/config.rs +++ b/src/config.rs @@ -1,6 +1,6 @@ -// Copyright 2019 Hristo Venev +// SPDX-License-Identifier: LGPL-3.0-or-later // -// See COPYING. +// Copyright 2019 Hristo Venev use crate::model::{Ipv4Set, Ipv6Set, Key}; use serde_derive; diff --git a/src/fileutil.rs b/src/fileutil.rs index 0bbafc0..0d76dfe 100644 --- a/src/fileutil.rs +++ b/src/fileutil.rs @@ -1,3 +1,7 @@ +// SPDX-License-Identifier: LGPL-3.0-or-later +// +// Copyright 2019 Hristo Venev + use std::ffi::OsString; #[cfg(unix)] use std::os::unix::fs::OpenOptionsExt; diff --git a/src/main.rs b/src/main.rs index 731357f..0a6e356 100644 --- a/src/main.rs +++ b/src/main.rs @@ -1,6 +1,6 @@ -// Copyright 2019 Hristo Venev +// SPDX-License-Identifier: LGPL-3.0-or-later // -// See COPYING. +// Copyright 2019 Hristo Venev #![deny(rust_2018_idioms)] diff --git a/src/manager/builder.rs b/src/manager/builder.rs index a5f04f2..037d2a9 100644 --- a/src/manager/builder.rs +++ b/src/manager/builder.rs @@ -1,6 +1,6 @@ -// Copyright 2019 Hristo Venev +// SPDX-License-Identifier: LGPL-3.0-or-later // -// See COPYING. +// Copyright 2019 Hristo Venev use super::Source; use crate::{config, model, proto}; diff --git a/src/manager/mod.rs b/src/manager/mod.rs index 9afce72..0d180a6 100644 --- a/src/manager/mod.rs +++ b/src/manager/mod.rs @@ -1,6 +1,6 @@ -// Copyright 2019 Hristo Venev +// SPDX-License-Identifier: LGPL-3.0-or-later // -// See COPYING. +// Copyright 2019 Hristo Venev use crate::{config, fileutil, model, proto, wg}; use std::ffi::OsString; diff --git a/src/manager/updater.rs b/src/manager/updater.rs index 67ed953..0245e95 100644 --- a/src/manager/updater.rs +++ b/src/manager/updater.rs @@ -1,6 +1,6 @@ -// Copyright 2019 Hristo Venev +// SPDX-License-Identifier: LGPL-3.0-or-later // -// See COPYING. +// Copyright 2019 Hristo Venev use super::Source; use crate::{config, fileutil, proto}; diff --git a/src/model.rs b/src/model.rs index 90f9b44..8ae4f6a 100644 --- a/src/model.rs +++ b/src/model.rs @@ -1,6 +1,6 @@ -// Copyright 2019 Hristo Venev +// SPDX-License-Identifier: LGPL-3.0-or-later // -// See COPYING. +// Copyright 2019 Hristo Venev // FIXME: arrayref needs to silence this per-expression #![allow(clippy::eval_order_dependence)] diff --git a/src/model/ip.rs b/src/model/ip.rs index 490dada..602c1aa 100644 --- a/src/model/ip.rs +++ b/src/model/ip.rs @@ -1,6 +1,6 @@ -// Copyright 2019 Hristo Venev +// SPDX-License-Identifier: LGPL-3.0-or-later // -// See COPYING. +// Copyright 2019 Hristo Venev use serde; use std::iter::{FromIterator, IntoIterator}; diff --git a/src/proto.rs b/src/proto.rs index 07717b7..9421e53 100644 --- a/src/proto.rs +++ b/src/proto.rs @@ -1,6 +1,6 @@ -// Copyright 2019 Hristo Venev +// SPDX-License-Identifier: LGPL-3.0-or-later // -// See COPYING. +// Copyright 2019 Hristo Venev use crate::model::{Endpoint, Ipv4Net, Ipv6Net, Key}; use serde_derive; diff --git a/src/wg.rs b/src/wg.rs index 004e6d8..c210974 100644 --- a/src/wg.rs +++ b/src/wg.rs @@ -1,6 +1,6 @@ -// Copyright 2019 Hristo Venev +// SPDX-License-Identifier: LGPL-3.0-or-later // -// See COPYING. +// Copyright 2019 Hristo Venev use crate::{fileutil, model}; use std::ffi::{OsStr, OsString}; -- cgit