aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSergey Poznyakoff <gray@gnu.org>2020-09-09 18:06:10 +0300
committerSergey Poznyakoff <gray@gnu.org>2020-09-09 18:06:10 +0300
commitf0bf6afbea81979ce51103a3e499f89305afbf8b (patch)
treeadfd7fabe35917864fd0d93552fe8340e6d0eca9
parentfb0f0c9767831a373ab6a46781fad52987191c12 (diff)
downloadgenrc-f0bf6afbea81979ce51103a3e499f89305afbf8b.tar.gz
genrc-f0bf6afbea81979ce51103a3e499f89305afbf8b.tar.bz2
Version 1.2v1.2
-rw-r--r--NEWS1
-rw-r--r--configure.ac4
-rw-r--r--src/genrc.c2
3 files changed, 4 insertions, 3 deletions
diff --git a/NEWS b/NEWS
index 153fad6..98e673e 100644
--- a/NEWS
+++ b/NEWS
@@ -1,17 +1,18 @@
1genrc NEWS -- history of user-visible changes. 2020-09-09 1genrc NEWS -- history of user-visible changes. 2020-09-09
2See the end of file for copying conditions. 2See the end of file for copying conditions.
3 3
4Please send genrc bug reports to <gray@gnu.org> or <gray@gnu.org.ua> 4Please send genrc bug reports to <gray@gnu.org> or <gray@gnu.org.ua>
5 5
6Version 1.2, 2020-09-09
6 7
7* Verbose diagnostics 8* Verbose diagnostics
8 9
9Verbose diagnostics is enabled by the -v,--verbose option. 10Verbose diagnostics is enabled by the -v,--verbose option.
10 11
11* Shell selection 12* Shell selection
12 13
13By default, the program is started using "/bin/sh -c". Two options 14By default, the program is started using "/bin/sh -c". Two options
14are provided to alter this behavior: 15are 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
17AC_PREREQ([2.69]) 17AC_PREREQ([2.69])
18AC_INIT([genrc], [1.1], [gray@gnu.org]) 18AC_INIT([genrc], [1.2], [gray@gnu.org])
19AC_CONFIG_SRCDIR([src/genrc.c]) 19AC_CONFIG_SRCDIR([src/genrc.c])
20AC_CONFIG_HEADERS([config.h]) 20AC_CONFIG_HEADERS([config.h])
21AM_INIT_AUTOMAKE([1.11 foreign silent-rules]) 21AM_INIT_AUTOMAKE([1.11 foreign silent-rules])
22AC_CONFIG_MACRO_DIR(grecs/am) 22AC_CONFIG_MACRO_DIR(grecs/am)
23 23
24# Enable silent rules by default 24# Enable silent rules by default
25AM_SILENT_RULES([yes]) 25AM_SILENT_RULES([yes])
26 26
27# Checks for programs. 27# Checks for programs.
28AC_PROG_CC 28AC_PROG_CC
29AC_PROG_RANLIB 29AC_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
493static const char gplv3[] = 493static 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
499void 499void
500version(void) 500version(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
507static struct facility_def { 507static 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 },

Return to:

Send suggestions and report system problems to the System administrator.