diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 0ed7b85..014cdd0 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -1,3 +1,6 @@ +# SPDX-FileCopyrightText: Estonian Information System Authority +# SPDX-License-Identifier: LGPL-2.1-or-later + name: CI on: [push, pull_request] env: @@ -28,3 +31,6 @@ jobs: with: name: deb path: ./*.deb + copyright: + name: Check copyright headers + uses: open-eid/.github/.github/workflows/copyright.yml@b2d87c7447ebcc01beb54c84f3978a81c1d64877 # master diff --git a/debian/copyright b/debian/copyright index 65669cf..415989b 100644 --- a/debian/copyright +++ b/debian/copyright @@ -1,15 +1,22 @@ -Copyright 2012 Estonian Information System's Authority +Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ +Upstream-Contact: info@ria.ee +Source: https://github.com/open-eid/linux-installer -This library is free software; you can redistribute it and/or -modify it under the terms of the GNU Lesser General Public -License as published by the Free Software Foundation; either -version 2.1 of the License, or (at your option) any later version. +Files: * +Copyright: Estonian Information System Authority +License: LGPL-2.1+ -This library 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 -Lesser General Public License for more details. - -You should have received a copy of the GNU Lesser General Public -License with your system, in /usr/share/common-licenses/LGPL-2.1 -If not, see . +License: LGPL-2.1+ + This library is free software; you can redistribute it and/or + modify it under the terms of the GNU Lesser General Public + License as published by the Free Software Foundation; either + version 2.1 of the License, or (at your option) any later version. + . + This library 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 + Lesser General Public License for more details. + . + You should have received a copy of the GNU Lesser General Public + License with your system, in /usr/share/common-licenses/LGPL-2.1 + If not, see . diff --git a/debian/rules b/debian/rules index 3b9f851..9a7d89f 100755 --- a/debian/rules +++ b/debian/rules @@ -1,4 +1,6 @@ #!/usr/bin/make -f +# SPDX-FileCopyrightText: Estonian Information System Authority +# SPDX-License-Identifier: LGPL-2.1-or-later %: dh $@ diff --git a/install-open-eid.sh b/install-open-eid.sh index 86a9e9a..06b3bc6 100755 --- a/install-open-eid.sh +++ b/install-open-eid.sh @@ -1,4 +1,7 @@ #!/bin/sh +# SPDX-FileCopyrightText: Estonian Information System Authority +# SPDX-License-Identifier: LGPL-2.1-or-later + # This script configures .deb based Linux repositories # License: public domain # Script https://github.com/open-eid/linux-installer diff --git a/uninstall-open-eid.sh b/uninstall-open-eid.sh index 6f00b1b..0f0090c 100755 --- a/uninstall-open-eid.sh +++ b/uninstall-open-eid.sh @@ -1,4 +1,7 @@ #!/bin/bash +# SPDX-FileCopyrightText: Estonian Information System Authority +# SPDX-License-Identifier: LGPL-2.1-or-later + # This script removes open-eid .deb packages sudo dpkg --purge \