aboutsummaryrefslogtreecommitdiff
path: root/lib/util
diff options
context:
space:
mode:
authorDavid Oberhollenzer <david.oberhollenzer@tele2.at>2018-11-23 13:13:23 +0100
committerDavid Oberhollenzer <david.oberhollenzer@tele2.at>2018-11-23 13:16:08 +0100
commitc14c3c0173d7bebeb3ccac687e49909164845d57 (patch)
tree53ee00f96ddd0b3d048019b4776d7a9f44fd83a4 /lib/util
parentd983a282ed14405a954ab88bba3389e0549d85ec (diff)
Relicense what is left of the init system under OpenBSD style ISC license
Signed-off-by: David Oberhollenzer <david.oberhollenzer@tele2.at>
Diffstat (limited to 'lib/util')
-rw-r--r--lib/util/argv_exec.c18
-rw-r--r--lib/util/enum_by_name.c18
-rw-r--r--lib/util/enum_to_name.c18
-rw-r--r--lib/util/fopenat.c18
-rw-r--r--lib/util/print_version.c21
5 files changed, 5 insertions, 88 deletions
diff --git a/lib/util/argv_exec.c b/lib/util/argv_exec.c
index 384a64d..d39b35a 100644
--- a/lib/util/argv_exec.c
+++ b/lib/util/argv_exec.c
@@ -1,20 +1,4 @@
-/* SPDX-License-Identifier: GPL-3.0-or-later */
-/*
- * Copyright (C) 2018 - David Oberhollenzer
- *
- * 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 <https://www.gnu.org/licenses/>.
- */
+/* SPDX-License-Identifier: ISC */
#include "service.h"
#include <stdlib.h>
diff --git a/lib/util/enum_by_name.c b/lib/util/enum_by_name.c
index 95f306f..fa0131b 100644
--- a/lib/util/enum_by_name.c
+++ b/lib/util/enum_by_name.c
@@ -1,20 +1,4 @@
-/* SPDX-License-Identifier: GPL-3.0-or-later */
-/*
- * Copyright (C) 2018 - David Oberhollenzer
- *
- * 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 <https://www.gnu.org/licenses/>.
- */
+/* SPDX-License-Identifier: ISC */
#include <string.h>
#include "util.h"
diff --git a/lib/util/enum_to_name.c b/lib/util/enum_to_name.c
index 43fd4dc..70e3c2f 100644
--- a/lib/util/enum_to_name.c
+++ b/lib/util/enum_to_name.c
@@ -1,20 +1,4 @@
-/* SPDX-License-Identifier: GPL-3.0-or-later */
-/*
- * Copyright (C) 2018 - David Oberhollenzer
- *
- * 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 <https://www.gnu.org/licenses/>.
- */
+/* SPDX-License-Identifier: ISC */
#include <string.h>
#include "util.h"
diff --git a/lib/util/fopenat.c b/lib/util/fopenat.c
index 6bb9dd8..d47c002 100644
--- a/lib/util/fopenat.c
+++ b/lib/util/fopenat.c
@@ -1,20 +1,4 @@
-/* SPDX-License-Identifier: GPL-3.0-or-later */
-/*
- * Copyright (C) 2018 - David Oberhollenzer
- *
- * 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 <https://www.gnu.org/licenses/>.
- */
+/* SPDX-License-Identifier: ISC */
#include <sys/types.h>
#include <sys/stat.h>
#include <unistd.h>
diff --git a/lib/util/print_version.c b/lib/util/print_version.c
index cda2742..47508b5 100644
--- a/lib/util/print_version.c
+++ b/lib/util/print_version.c
@@ -1,32 +1,13 @@
-/* SPDX-License-Identifier: GPL-3.0-or-later */
-/*
- * Copyright (C) 2018 - David Oberhollenzer
- *
- * 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 <https://www.gnu.org/licenses/>.
- */
+/* SPDX-License-Identifier: ISC */
#include <stdlib.h>
#include <stdio.h>
#include "config.h"
#include "util.h"
-#define GPL_URL "https://gnu.org/licenses/gpl.html"
-
static const char *version_string =
"%s (pygos init) " PACKAGE_VERSION "\n"
"Copyright (C) 2018 David Oberhollenzer\n\n"
-"License GPLv3+: GNU GPL version 3 or later <" GPL_URL ">.\n"
"This is free software: you are free to change and redistribute it.\n"
"There is NO WARRANTY, to the extent permitted by law.\n";