diff options
author | David Oberhollenzer <david.oberhollenzer@tele2.at> | 2018-11-23 13:13:23 +0100 |
---|---|---|
committer | David Oberhollenzer <david.oberhollenzer@tele2.at> | 2018-11-23 13:16:08 +0100 |
commit | c14c3c0173d7bebeb3ccac687e49909164845d57 (patch) | |
tree | 53ee00f96ddd0b3d048019b4776d7a9f44fd83a4 /cmd | |
parent | d983a282ed14405a954ab88bba3389e0549d85ec (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 'cmd')
-rw-r--r-- | cmd/killall5.c | 18 | ||||
-rw-r--r-- | cmd/runsvc/env.c | 18 | ||||
-rw-r--r-- | cmd/runsvc/runsvc.c | 18 | ||||
-rw-r--r-- | cmd/runsvc/runsvc.h | 18 | ||||
-rw-r--r-- | cmd/service/disable.c | 18 | ||||
-rw-r--r-- | cmd/service/dumpscript.c | 20 | ||||
-rw-r--r-- | cmd/service/enable.c | 18 | ||||
-rw-r--r-- | cmd/service/help.c | 18 | ||||
-rw-r--r-- | cmd/service/list.c | 18 | ||||
-rw-r--r-- | cmd/service/service.8 | 2 | ||||
-rw-r--r-- | cmd/service/servicecmd.c | 18 | ||||
-rw-r--r-- | cmd/service/servicecmd.h | 19 | ||||
-rw-r--r-- | cmd/shutdown.8 | 2 | ||||
-rw-r--r-- | cmd/shutdown.c | 18 |
14 files changed, 15 insertions, 208 deletions
diff --git a/cmd/killall5.c b/cmd/killall5.c index 9453d33..ccab429 100644 --- a/cmd/killall5.c +++ b/cmd/killall5.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 <dirent.h> #include <signal.h> diff --git a/cmd/runsvc/env.c b/cmd/runsvc/env.c index e58d803..4442e05 100644 --- a/cmd/runsvc/env.c +++ b/cmd/runsvc/env.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 "runsvc.h" struct entry { diff --git a/cmd/runsvc/runsvc.c b/cmd/runsvc/runsvc.c index e36010b..fdece64 100644 --- a/cmd/runsvc/runsvc.c +++ b/cmd/runsvc/runsvc.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 "runsvc.h" static int runlst_wait(exec_t *list) diff --git a/cmd/runsvc/runsvc.h b/cmd/runsvc/runsvc.h index 7061eca..9f1a946 100644 --- a/cmd/runsvc/runsvc.h +++ b/cmd/runsvc/runsvc.h @@ -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 */ #ifndef RUNSVC_H #define RUNSVC_H diff --git a/cmd/service/disable.c b/cmd/service/disable.c index 8a6f9f3..6210a8c 100644 --- a/cmd/service/disable.c +++ b/cmd/service/disable.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 <stdlib.h> diff --git a/cmd/service/dumpscript.c b/cmd/service/dumpscript.c index eaff509..1822aa9 100644 --- a/cmd/service/dumpscript.c +++ b/cmd/service/dumpscript.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> @@ -160,7 +144,7 @@ static int cmd_dumpscript(int argc, char **argv) print_str(ptr); ptr += strlen(ptr) + 1; } - + putchar('\n'); } diff --git a/cmd/service/enable.c b/cmd/service/enable.c index 5d4195e..67cf0aa 100644 --- a/cmd/service/enable.c +++ b/cmd/service/enable.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 <stdlib.h> diff --git a/cmd/service/help.c b/cmd/service/help.c index 4fa9951..30698d1 100644 --- a/cmd/service/help.c +++ b/cmd/service/help.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 "servicecmd.h" extern char *__progname; diff --git a/cmd/service/list.c b/cmd/service/list.c index 6ba22f0..23f59fb 100644 --- a/cmd/service/list.c +++ b/cmd/service/list.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 "servicecmd.h" #include "service.h" #include "config.h" diff --git a/cmd/service/service.8 b/cmd/service/service.8 index 139bdb5..86036a3 100644 --- a/cmd/service/service.8 +++ b/cmd/service/service.8 @@ -43,7 +43,7 @@ This program is part of the Pygos init system. .SH COPYRIGHT Copyright \(co 2018 David Oberhollenzer .br -License: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>. +License: ISC <https://www.gnu.org/licenses/license-list.html#ISC>. .br This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. diff --git a/cmd/service/servicecmd.c b/cmd/service/servicecmd.c index 84e6a32..799a6f1 100644 --- a/cmd/service/servicecmd.c +++ b/cmd/service/servicecmd.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 <stdlib.h> #include <stdio.h> diff --git a/cmd/service/servicecmd.h b/cmd/service/servicecmd.h index b839799..a8d3b2a 100644 --- a/cmd/service/servicecmd.h +++ b/cmd/service/servicecmd.h @@ -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 */ #ifndef SERVICECMD_H #define SERVICECMD_H @@ -90,4 +74,3 @@ int check_arguments(const char *cmd, int argc, int minc, int maxc); } #endif /* SERVICECMD_H */ - diff --git a/cmd/shutdown.8 b/cmd/shutdown.8 index 1e0d921..8a3a16c 100644 --- a/cmd/shutdown.8 +++ b/cmd/shutdown.8 @@ -39,7 +39,7 @@ This program is part of the Pygos init system. .SH COPYRIGHT Copyright \(co 2018 David Oberhollenzer .br -License: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>. +License: ISC <https://www.gnu.org/licenses/license-list.html#ISC>. .br This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. diff --git a/cmd/shutdown.c b/cmd/shutdown.c index 9baaef2..cc14e61 100644 --- a/cmd/shutdown.c +++ b/cmd/shutdown.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 <getopt.h> #include <stdlib.h> #include <string.h> |