diff options
author | Sergey Poznyakoff <gray@gnu.org> | 2020-09-09 18:06:10 +0300 |
---|---|---|
committer | Sergey Poznyakoff <gray@gnu.org> | 2020-09-09 18:06:10 +0300 |
commit | f0bf6afbea81979ce51103a3e499f89305afbf8b (patch) | |
tree | adfd7fabe35917864fd0d93552fe8340e6d0eca9 | |
parent | fb0f0c9767831a373ab6a46781fad52987191c12 (diff) | |
download | genrc-f0bf6afbea81979ce51103a3e499f89305afbf8b.tar.gz genrc-f0bf6afbea81979ce51103a3e499f89305afbf8b.tar.bz2 |
Version 1.2v1.2
-rw-r--r-- | NEWS | 1 | ||||
-rw-r--r-- | configure.ac | 4 | ||||
-rw-r--r-- | src/genrc.c | 2 |
3 files changed, 4 insertions, 3 deletions
@@ -1,17 +1,18 @@ | |||
1 | genrc NEWS -- history of user-visible changes. 2020-09-09 | 1 | genrc NEWS -- history of user-visible changes. 2020-09-09 |
2 | See the end of file for copying conditions. | 2 | See the end of file for copying conditions. |
3 | 3 | ||
4 | Please send genrc bug reports to <gray@gnu.org> or <gray@gnu.org.ua> | 4 | Please send genrc bug reports to <gray@gnu.org> or <gray@gnu.org.ua> |
5 | 5 | ||
6 | Version 1.2, 2020-09-09 | ||
6 | 7 | ||
7 | * Verbose diagnostics | 8 | * Verbose diagnostics |
8 | 9 | ||
9 | Verbose diagnostics is enabled by the -v,--verbose option. | 10 | Verbose diagnostics is enabled by the -v,--verbose option. |
10 | 11 | ||
11 | * Shell selection | 12 | * Shell selection |
12 | 13 | ||
13 | By default, the program is started using "/bin/sh -c". Two options | 14 | By default, the program is started using "/bin/sh -c". Two options |
14 | are provided to alter this behavior: | 15 | are provided to alter this behavior: |
15 | 16 | ||
16 | -s, --shell=SHELL | 17 | -s, --shell=SHELL |
17 | Use SHELL to start the program. Default is /bin/sh. | 18 | Use SHELL to start the program. Default is /bin/sh. |
diff --git a/configure.ac b/configure.ac index 2610762..35b5964 100644 --- a/configure.ac +++ b/configure.ac | |||
@@ -1,30 +1,30 @@ | |||
1 | # This file is part of genrc. -*- Autoconf -*- | 1 | # This file is part of genrc. -*- Autoconf -*- |
2 | # Copyright (C) 2018 Sergey Poznyakoff. | 2 | # Copyright (C) 2018-2020 Sergey Poznyakoff. |
3 | # | 3 | # |
4 | # Genrc is free software; you can redistribute it and/or modify | 4 | # Genrc is free software; you can redistribute it and/or modify |
5 | # it under the terms of the GNU General Public License as published by | 5 | # it under the terms of the GNU General Public License as published by |
6 | # the Free Software Foundation; either version 3, or (at your option) | 6 | # the Free Software Foundation; either version 3, or (at your option) |
7 | # any later version. | 7 | # any later version. |
8 | # | 8 | # |
9 | # Genrc is distributed in the hope that it will be useful, | 9 | # Genrc is distributed in the hope that it will be useful, |
10 | # but WITHOUT ANY WARRANTY; without even the implied warranty of | 10 | # but WITHOUT ANY WARRANTY; without even the implied warranty of |
11 | # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | 11 | # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
12 | # GNU General Public License for more details. | 12 | # GNU General Public License for more details. |
13 | # | 13 | # |
14 | # You should have received a copy of the GNU General Public License | 14 | # You should have received a copy of the GNU General Public License |
15 | # along with genrc. If not, see <http://www.gnu.org/licenses/>. | 15 | # along with genrc. If not, see <http://www.gnu.org/licenses/>. |
16 | 16 | ||
17 | AC_PREREQ([2.69]) | 17 | AC_PREREQ([2.69]) |
18 | AC_INIT([genrc], [1.1], [gray@gnu.org]) | 18 | AC_INIT([genrc], [1.2], [gray@gnu.org]) |
19 | AC_CONFIG_SRCDIR([src/genrc.c]) | 19 | AC_CONFIG_SRCDIR([src/genrc.c]) |
20 | AC_CONFIG_HEADERS([config.h]) | 20 | AC_CONFIG_HEADERS([config.h]) |
21 | AM_INIT_AUTOMAKE([1.11 foreign silent-rules]) | 21 | AM_INIT_AUTOMAKE([1.11 foreign silent-rules]) |
22 | AC_CONFIG_MACRO_DIR(grecs/am) | 22 | AC_CONFIG_MACRO_DIR(grecs/am) |
23 | 23 | ||
24 | # Enable silent rules by default | 24 | # Enable silent rules by default |
25 | AM_SILENT_RULES([yes]) | 25 | AM_SILENT_RULES([yes]) |
26 | 26 | ||
27 | # Checks for programs. | 27 | # Checks for programs. |
28 | AC_PROG_CC | 28 | AC_PROG_CC |
29 | AC_PROG_RANLIB | 29 | AC_PROG_RANLIB |
30 | 30 | ||
diff --git a/src/genrc.c b/src/genrc.c index 04845d0..868dfb0 100644 --- a/src/genrc.c +++ b/src/genrc.c | |||
@@ -491,25 +491,25 @@ usage(void) | |||
491 | } | 491 | } |
492 | 492 | ||
493 | static const char gplv3[] = | 493 | static const char gplv3[] = |
494 | "License GPLv3+: GNU GPL version 3 or later " | 494 | "License GPLv3+: GNU GPL version 3 or later " |
495 | "<http://gnu.org/licenses/gpl.html>\n" | 495 | "<http://gnu.org/licenses/gpl.html>\n" |
496 | "This is free software: you are free to change and redistribute it.\n" | 496 | "This is free software: you are free to change and redistribute it.\n" |
497 | "There is NO WARRANTY, to the extent permitted by law.\n\n"; | 497 | "There is NO WARRANTY, to the extent permitted by law.\n\n"; |
498 | 498 | ||
499 | void | 499 | void |
500 | version(void) | 500 | version(void) |
501 | { | 501 | { |
502 | printf("%s\n", PACKAGE_STRING); | 502 | printf("%s\n", PACKAGE_STRING); |
503 | printf("Copyryght (C) 2018--2020 Sergey Poznyakoff\n"); | 503 | printf("Copyryght (C) 2018-2020 Sergey Poznyakoff\n"); |
504 | printf("%s", gplv3); | 504 | printf("%s", gplv3); |
505 | } | 505 | } |
506 | 506 | ||
507 | static struct facility_def { | 507 | static struct facility_def { |
508 | char const *name; | 508 | char const *name; |
509 | int facility; | 509 | int facility; |
510 | } facility_tab[] = { | 510 | } facility_tab[] = { |
511 | { "auth", LOG_AUTH }, | 511 | { "auth", LOG_AUTH }, |
512 | { "authpriv",LOG_AUTHPRIV }, | 512 | { "authpriv",LOG_AUTHPRIV }, |
513 | { "cron", LOG_CRON }, | 513 | { "cron", LOG_CRON }, |
514 | { "daemon", LOG_DAEMON }, | 514 | { "daemon", LOG_DAEMON }, |
515 | { "ftp", LOG_FTP }, | 515 | { "ftp", LOG_FTP }, |