From f3c7e436f5aac9d64cb033b0e0b68706ea423441 Mon Sep 17 00:00:00 2001 From: Ian Jackson Date: Wed, 29 Dec 2021 12:51:23 +0000 Subject: [PATCH] copyright: Simplify notices (automatic part) Remove dates and list of authors from most file headings. $ cat >b * userv is copyright Ian Jackson and other contributors. * See README for full authorship information. $ cat >a * userv is * Copyright 1996-2017 Ian Jackson . * Copyright 2000 Ben Harris * Copyright 2016-2017 Peter Benie $ git-grep -l 'Copyright 1996-2017 Ian Jackson' | A=$(cat a) B=$(cat b) xargs perl -i~ -pe 'BEGIN { $/=undef; }; s/\Q$ENV{A}\E/$ENV{B}/' $ Signed-off-by: Ian Jackson --- acconfig.h | 6 ++---- both.c | 6 ++---- both.h | 6 ++---- client.c | 6 ++---- common.h | 6 ++---- config.h.in | 6 ++---- daemon.h | 6 ++---- debug.c | 6 ++---- lib.c | 6 ++---- lib.h | 6 ++---- overlord.c | 6 ++---- parser.c | 6 ++---- process.c | 6 ++---- servexec.c | 6 ++---- tokens.h | 6 ++---- tokens.h.m4 | 6 ++---- 16 files changed, 32 insertions(+), 64 deletions(-) diff --git a/acconfig.h b/acconfig.h index 7438cfe..aad2cd5 100644 --- a/acconfig.h +++ b/acconfig.h @@ -2,10 +2,8 @@ * userv - acconfig.h * extra stuff for config.h.in (autoconf) * - * userv is - * Copyright 1996-2017 Ian Jackson . - * Copyright 2000 Ben Harris - * Copyright 2016-2017 Peter Benie + * userv is copyright Ian Jackson and other contributors. + * See README for full authorship information. * * This is free software; you can redistribute it and/or modify it * under the terms of the GNU General Public License as published by diff --git a/both.c b/both.c index 75e6b12..eed2389 100644 --- a/both.c +++ b/both.c @@ -4,10 +4,8 @@ * These do not (and cannot) depend on infrastructure eg syscallerror, * because these are not the same. * - * userv is - * Copyright 1996-2017 Ian Jackson . - * Copyright 2000 Ben Harris - * Copyright 2016-2017 Peter Benie + * userv is copyright Ian Jackson and other contributors. + * See README for full authorship information. * * This is free software; you can redistribute it and/or modify it * under the terms of the GNU General Public License as published by diff --git a/both.h b/both.h index ad5f208..c3bb99b 100644 --- a/both.h +++ b/both.h @@ -3,10 +3,8 @@ * Useful very-low-level utility routines' declarations, * for both client and daemon. * - * userv is - * Copyright 1996-2017 Ian Jackson . - * Copyright 2000 Ben Harris - * Copyright 2016-2017 Peter Benie + * userv is copyright Ian Jackson and other contributors. + * See README for full authorship information. * * This is free software; you can redistribute it and/or modify it * under the terms of the GNU General Public License as published by diff --git a/client.c b/client.c index 3e43cf2..17fa6ce 100644 --- a/client.c +++ b/client.c @@ -2,10 +2,8 @@ * userv - client.c * client code * - * userv is - * Copyright 1996-2017 Ian Jackson . - * Copyright 2000 Ben Harris - * Copyright 2016-2017 Peter Benie + * userv is copyright Ian Jackson and other contributors. + * See README for full authorship information. * * This is free software; you can redistribute it and/or modify it * under the terms of the GNU General Public License as published by diff --git a/common.h b/common.h index bf60046..bb36bbe 100644 --- a/common.h +++ b/common.h @@ -2,10 +2,8 @@ * userv - common.h * definitions shared between client and daemon * - * userv is - * Copyright 1996-2017 Ian Jackson . - * Copyright 2000 Ben Harris - * Copyright 2016-2017 Peter Benie + * userv is copyright Ian Jackson and other contributors. + * See README for full authorship information. * * This is free software; you can redistribute it and/or modify it * under the terms of the GNU General Public License as published by diff --git a/config.h.in b/config.h.in index 083d82e..fcce9d9 100644 --- a/config.h.in +++ b/config.h.in @@ -3,10 +3,8 @@ * userv - acconfig.h * extra stuff for config.h.in (autoconf) * - * userv is - * Copyright 1996-2017 Ian Jackson . - * Copyright 2000 Ben Harris - * Copyright 2016-2017 Peter Benie + * userv is copyright Ian Jackson and other contributors. + * See README for full authorship information. * * This is free software; you can redistribute it and/or modify it * under the terms of the GNU General Public License as published by diff --git a/daemon.h b/daemon.h index b41812d..53da538 100644 --- a/daemon.h +++ b/daemon.h @@ -2,10 +2,8 @@ * userv - daemon.h * definitions used in the daemon's source code * - * userv is - * Copyright 1996-2017 Ian Jackson . - * Copyright 2000 Ben Harris - * Copyright 2016-2017 Peter Benie + * userv is copyright Ian Jackson and other contributors. + * See README for full authorship information. * * This is free software; you can redistribute it and/or modify it * under the terms of the GNU General Public License as published by diff --git a/debug.c b/debug.c index 2008fa8..ad1205e 100644 --- a/debug.c +++ b/debug.c @@ -2,10 +2,8 @@ * userv - ddebug.c * routines which are different for -DDEBUG * - * userv is - * Copyright 1996-2017 Ian Jackson . - * Copyright 2000 Ben Harris - * Copyright 2016-2017 Peter Benie + * userv is copyright Ian Jackson and other contributors. + * See README for full authorship information. * * This is free software; you can redistribute it and/or modify it * under the terms of the GNU General Public License as published by diff --git a/lib.c b/lib.c index a4b6f15..8b31ec9 100644 --- a/lib.c +++ b/lib.c @@ -2,10 +2,8 @@ * userv - lib.c * useful utility routines, used in daemon, but not very dependent on it * - * userv is - * Copyright 1996-2017 Ian Jackson . - * Copyright 2000 Ben Harris - * Copyright 2016-2017 Peter Benie + * userv is copyright Ian Jackson and other contributors. + * See README for full authorship information. * * This is free software; you can redistribute it and/or modify it * under the terms of the GNU General Public License as published by diff --git a/lib.h b/lib.h index 4f3cf32..f9a17e0 100644 --- a/lib.h +++ b/lib.h @@ -2,10 +2,8 @@ * userv - lib.c * useful utility routines' imports and exports, used in daemon * - * userv is - * Copyright 1996-2017 Ian Jackson . - * Copyright 2000 Ben Harris - * Copyright 2016-2017 Peter Benie + * userv is copyright Ian Jackson and other contributors. + * See README for full authorship information. * * This is free software; you can redistribute it and/or modify it * under the terms of the GNU General Public License as published by diff --git a/overlord.c b/overlord.c index bb3cc40..756c5ab 100644 --- a/overlord.c +++ b/overlord.c @@ -2,10 +2,8 @@ * userv - overlord.c * daemon main program, collects request and forks handlers * - * userv is - * Copyright 1996-2017 Ian Jackson . - * Copyright 2000 Ben Harris - * Copyright 2016-2017 Peter Benie + * userv is copyright Ian Jackson and other contributors. + * See README for full authorship information. * * This is free software; you can redistribute it and/or modify it * under the terms of the GNU General Public License as published by diff --git a/parser.c b/parser.c index e65ff79..ade124e 100644 --- a/parser.c +++ b/parser.c @@ -6,10 +6,8 @@ * about m4 quoting &c., but we have to #include it so that the C * objects from the lexer are available. * - * userv is - * Copyright 1996-2017 Ian Jackson . - * Copyright 2000 Ben Harris - * Copyright 2016-2017 Peter Benie + * userv is copyright Ian Jackson and other contributors. + * See README for full authorship information. * * This is free software; you can redistribute it and/or modify it * under the terms of the GNU General Public License as published by diff --git a/process.c b/process.c index fa8302f..2a2955e 100644 --- a/process.c +++ b/process.c @@ -2,10 +2,8 @@ * userv - process.c * daemon code to process one request (is parent of service process) * - * userv is - * Copyright 1996-2017 Ian Jackson . - * Copyright 2000 Ben Harris - * Copyright 2016-2017 Peter Benie + * userv is copyright Ian Jackson and other contributors. + * See README for full authorship information. * * This is free software; you can redistribute it and/or modify it * under the terms of the GNU General Public License as published by diff --git a/servexec.c b/servexec.c index 71c63cf..80b754c 100644 --- a/servexec.c +++ b/servexec.c @@ -2,10 +2,8 @@ * userv - execserv.c * daemon code which executes actual service (ie child process) * - * userv is - * Copyright 1996-2017 Ian Jackson . - * Copyright 2000 Ben Harris - * Copyright 2016-2017 Peter Benie + * userv is copyright Ian Jackson and other contributors. + * See README for full authorship information. * * This is free software; you can redistribute it and/or modify it * under the terms of the GNU General Public License as published by diff --git a/tokens.h b/tokens.h index 16a3e41..d9e4ecd 100644 --- a/tokens.h +++ b/tokens.h @@ -1,8 +1,6 @@ /* - * userv is - * Copyright 1996-2017 Ian Jackson . - * Copyright 2000 Ben Harris - * Copyright 2016-2017 Peter Benie + * userv is copyright Ian Jackson and other contributors. + * See README for full authorship information. * * This is free software; you can redistribute it and/or modify it * under the terms of the GNU General Public License as published by diff --git a/tokens.h.m4 b/tokens.h.m4 index 4887682..ec01e9a 100644 --- a/tokens.h.m4 +++ b/tokens.h.m4 @@ -1,10 +1,8 @@ dnl userv - tokens.h.m4 dnl token values, passed through m4 with defs from langauge.i4 /* - * userv is - * Copyright 1996-2017 Ian Jackson . - * Copyright 2000 Ben Harris - * Copyright 2016-2017 Peter Benie + * userv is copyright Ian Jackson and other contributors. + * See README for full authorship information. * * This is free software; you can redistribute it and/or modify it * under the terms of the GNU General Public License as published by -- 2.30.2