aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/config.rs4
-rw-r--r--src/fileutil.rs4
-rw-r--r--src/main.rs4
-rw-r--r--src/manager/builder.rs4
-rw-r--r--src/manager/mod.rs4
-rw-r--r--src/manager/updater.rs4
-rw-r--r--src/model.rs4
-rw-r--r--src/model/ip.rs4
-rw-r--r--src/proto.rs4
-rw-r--r--src/wg.rs4
10 files changed, 22 insertions, 18 deletions
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};