Hello community, here is the log from the commit of package issue-generator for openSUSE:Factory checked in at 2020-10-23 12:20:25 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/issue-generator (Old) and /work/SRC/openSUSE:Factory/.issue-generator.new.3463 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "issue-generator" Fri Oct 23 12:20:25 2020 rev:16 rq:843161 version:1.12 Changes: -------- --- /work/SRC/openSUSE:Factory/issue-generator/issue-generator.changes 2020-10-10 19:02:54.340440060 +0200 +++ /work/SRC/openSUSE:Factory/.issue-generator.new.3463/issue-generator.changes 2020-10-23 12:21:05.388629871 +0200 @@ -1,0 +2,16 @@ +Wed Oct 21 08:53:39 UTC 2020 - Thorsten Kukuk <ku...@suse.com> + +- Update to version 1.12 + - Update manual page + - Use python3 instead of python 2.x + +------------------------------------------------------------------- +Mon Oct 19 14:26:58 UTC 2020 - Thorsten Kukuk <ku...@suse.com> + +- Update to version 1.11 + - Don't display issue.d/*.issue files, agetty will do that [bsc#1177891] + - Ignore /run/issue.d in issue-generator.path, else issue-generator will + be called too fast too often [bsc#1177865] + - Ignore *.bak, *~ and *.rpm* files [bsc#1118862] + +------------------------------------------------------------------- Old: ---- issue-generator-1.10.tar.xz New: ---- issue-generator-1.12.tar.xz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ issue-generator.spec ++++++ --- /var/tmp/diff_new_pack.7OrCmn/_old 2020-10-23 12:21:07.988631704 +0200 +++ /var/tmp/diff_new_pack.7OrCmn/_new 2020-10-23 12:21:07.992631707 +0200 @@ -17,7 +17,7 @@ Name: issue-generator -Version: 1.10 +Version: 1.12 Release: 0 Summary: Generates an issue files from different snippets License: GPL-2.0-or-later ++++++ issue-generator-1.10.tar.xz -> issue-generator-1.12.tar.xz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/issue-generator-1.10/NEWS new/issue-generator-1.12/NEWS --- old/issue-generator-1.10/NEWS 2020-07-07 09:57:48.000000000 +0200 +++ new/issue-generator-1.12/NEWS 2020-10-21 10:48:09.000000000 +0200 @@ -2,6 +2,15 @@ Copyright (C) 2016-2020 Thorsten Kukuk +Version 1.12 +* Document changes about handling of issue.d/* files + +Version 1.11 +* Don't display issue.d/*.issue files, agetty will do that [bsc#1177891] +* Ignore /run/issue.d in issue-generator.path, else issue-generator will + be called too fast too often [bsc#1177865] +* Ignore *.bak, *~ and *.rpm* files [bsc#1118862] + Version 1.10 * Display wlan interfaces, too [bsc#1169070] diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/issue-generator-1.10/configure new/issue-generator-1.12/configure --- old/issue-generator-1.10/configure 2020-07-07 09:57:52.000000000 +0200 +++ new/issue-generator-1.12/configure 2020-10-21 10:48:15.000000000 +0200 @@ -1,6 +1,6 @@ #! /bin/sh # Guess values for system-dependent variables and create Makefiles. -# Generated by GNU Autoconf 2.69 for issue-generator 1.10. +# Generated by GNU Autoconf 2.69 for issue-generator 1.12. # # # Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc. @@ -576,8 +576,8 @@ # Identity of this package. PACKAGE_NAME='issue-generator' PACKAGE_TARNAME='issue-generator' -PACKAGE_VERSION='1.10' -PACKAGE_STRING='issue-generator 1.10' +PACKAGE_VERSION='1.12' +PACKAGE_STRING='issue-generator 1.12' PACKAGE_BUGREPORT='' PACKAGE_URL='' @@ -1210,7 +1210,7 @@ # Omit some internal or obsolete options to make the list less imposing. # This message is too long to be a string in the A/UX 3.1 sh. cat <<_ACEOF -\`configure' configures issue-generator 1.10 to adapt to many kinds of systems. +\`configure' configures issue-generator 1.12 to adapt to many kinds of systems. Usage: $0 [OPTION]... [VAR=VALUE]... @@ -1276,7 +1276,7 @@ if test -n "$ac_init_help"; then case $ac_init_help in - short | recursive ) echo "Configuration of issue-generator 1.10:";; + short | recursive ) echo "Configuration of issue-generator 1.12:";; esac cat <<\_ACEOF @@ -1356,7 +1356,7 @@ test -n "$ac_init_help" && exit $ac_status if $ac_init_version; then cat <<\_ACEOF -issue-generator configure 1.10 +issue-generator configure 1.12 generated by GNU Autoconf 2.69 Copyright (C) 2012 Free Software Foundation, Inc. @@ -1373,7 +1373,7 @@ This file contains any messages produced by compilers while running configure, to aid debugging if configure makes a mistake. -It was created by issue-generator $as_me 1.10, which was +It was created by issue-generator $as_me 1.12, which was generated by GNU Autoconf 2.69. Invocation command line was $ $0 $@ @@ -2236,7 +2236,7 @@ # Define the identity of the package. PACKAGE='issue-generator' - VERSION='1.10' + VERSION='1.12' cat >>confdefs.h <<_ACEOF @@ -3126,7 +3126,7 @@ # report actual input values of CONFIG_FILES etc. instead of their # values after options handling. ac_log=" -This file was extended by issue-generator $as_me 1.10, which was +This file was extended by issue-generator $as_me 1.12, which was generated by GNU Autoconf 2.69. Invocation command line was CONFIG_FILES = $CONFIG_FILES @@ -3179,7 +3179,7 @@ cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`" ac_cs_version="\\ -issue-generator config.status 1.10 +issue-generator config.status 1.12 configured by $0, generated by GNU Autoconf 2.69, with options \\"\$ac_cs_config\\" diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/issue-generator-1.10/configure.ac new/issue-generator-1.12/configure.ac --- old/issue-generator-1.10/configure.ac 2020-07-07 09:56:47.000000000 +0200 +++ new/issue-generator-1.12/configure.ac 2020-10-21 10:47:33.000000000 +0200 @@ -1,5 +1,5 @@ dnl Process this file with autoconf to produce a configure script. -AC_INIT(issue-generator, 1.10) +AC_INIT(issue-generator, 1.12) AM_INIT_AUTOMAKE AC_CONFIG_SRCDIR([sbin/issue-generator.in]) AC_PREFIX_DEFAULT(/usr) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/issue-generator-1.10/man/90-issue-generator.rules.8.html new/issue-generator-1.12/man/90-issue-generator.rules.8.html --- old/issue-generator-1.10/man/90-issue-generator.rules.8.html 2020-04-30 14:48:37.000000000 +0200 +++ new/issue-generator-1.12/man/90-issue-generator.rules.8.html 2020-10-21 10:46:06.000000000 +0200 @@ -15,15 +15,20 @@ h1:hover > a.headerlink, h2:hover > a.headerlink, h3:hover > a.headerlink, dt:hover > a.headerlink { visibility: visible; } - </style><a href="issue-generator.index.html">Index </a><span style="float:right">issue-generator 1.9</span><hr><div class="refentry"><a name="issue-generator.8"></a><div class="titlepage"></div><div class="refnamediv"><a name="name"></a><h2>Name</h2><p>issue-generator, issue-add-ssh-keys.service, issue-generator.service, 90-issue-generator.rules, issue-generator.conf — Creates a volatile and temporary issue file</p></div><div class="refsynopsisdiv"><a name="synopsis"></a><h2>Synopsis</h2><div class="cmdsynopsis"><p><code class="command">/usr/sbin/issue-generator</code> [--prefix <em class="replaceable"><code>path</code></em>] [--help]</p></div><div class="cmdsynopsis"><p><code class="command">/usr/sbin/issue-generator</code> network add | remove + </style><a href="issue-generator.index.html">Index </a><span style="float:right">issue-generator 1.11</span><hr><div class="refentry"><a name="issue-generator.8"></a><div class="titlepage"></div><div class="refnamediv"><a name="name"></a><h2>Name</h2><p>issue-generator, issue-add-ssh-keys.service, issue-generator.service, 90-issue-generator.rules, issue-generator.conf — Creates a volatile and temporary issue file</p></div><div class="refsynopsisdiv"><a name="synopsis"></a><h2>Synopsis</h2><div class="cmdsynopsis"><p><code class="command">/usr/sbin/issue-generator</code> [--prefix <em class="replaceable"><code>path</code></em>] [--help]</p></div><div class="cmdsynopsis"><p><code class="command">/usr/sbin/issue-generator</code> network add | remove <em class="replaceable"><code>interface</code></em> </p></div><div class="cmdsynopsis"><p><code class="command">/usr/sbin/issue-generator</code> ssh add | remove </p></div><div class="cmdsynopsis"><p><code class="command">/usr/sbin/issue-generator</code> --version </p></div><p><code class="filename">issue-add-ssh-keys.service</code></p><p><code class="filename">issue-generator.service</code></p></div><div class="refsect1"><a name="description"></a><h2 id="DESCRIPTION">DESCRIPTION<a class="headerlink" title="Permalink to this headline" href="#DESCRIPTION">¶</a></h2><p><span class="emphasis"><em>issue-generator</em></span> creates a volatile and temporary <a href="issue.5.html"><span class="citerefentry"><span class="refentrytitle">issue</span>(5)</span></a> file based on the input files and location specified in <a href="issue.d.5.html"><span class="citerefentry"><span class="refentrytitle">issue.d</span>(5)</span></a>. -</p><p>If invoked with no arguments, it applies all input files and creates a -temporary <code class="filename">issue</code> file as <code class="filename">/run/issue</code>. -<code class="filename">/etc/issue</code> should be symlink to this file.</p></div><div class="refsect1"><a name="options"></a><h2 id="OPTIONS">OPTIONS<a class="headerlink" title="Permalink to this headline" href="#OPTIONS">¶</a></h2><div class="variablelist"><dl class="variablelist"><dt id="--prefix path"><span class="term"><code class="option">--prefix</code> <em class="replaceable"><code>path</code></em></span><a class="headerlink" title="Permalink to this term" href="#--prefix%20path">¶</a></dt><dd><p>Add the prefix <code class="filename">path</code> to all used directories and files.</p></dd><dt id="network add|remove interface"><span class="term"><code class="option">network add|remove</code> <em class="replaceable"><code>interface</code></em></span><a class="headerlink" title="Permalink to this term" href="#network%20add%7Cremove%20interface">¶</a></dt><dd><p>Creates a deletes files of the format +</p><p>If invoked with no arguments, it applies all valid input files and +creates a temporary <code class="filename">issue</code> file as +<code class="filename">/run/issue</code>. +<code class="filename">/etc/issue</code> should be symlink to this file.</p><p>Backup files ending on <code class="filename">*.bak</code>, +<code class="filename">*~</code> or <code class="filename">*.rpm*</code> will be ignored. Like +files ending on <code class="filename">*.issue</code>, as this are directly shown by +<a href="agetty.8.html"><span class="citerefentry"><span class="refentrytitle">agetty</span>(8)</span></a>. +</p></div><div class="refsect1"><a name="options"></a><h2 id="OPTIONS">OPTIONS<a class="headerlink" title="Permalink to this headline" href="#OPTIONS">¶</a></h2><div class="variablelist"><dl class="variablelist"><dt id="--prefix path"><span class="term"><code class="option">--prefix</code> <em class="replaceable"><code>path</code></em></span><a class="headerlink" title="Permalink to this term" href="#--prefix%20path">¶</a></dt><dd><p>Add the prefix <code class="filename">path</code> to all used directories and files.</p></dd><dt id="network add|remove interface"><span class="term"><code class="option">network add|remove</code> <em class="replaceable"><code>interface</code></em></span><a class="headerlink" title="Permalink to this term" href="#network%20add%7Cremove%20interface">¶</a></dt><dd><p>Creates a deletes files of the format <code class="filename">/run/issue.d/70-<em class="replaceable"><code>interface</code></em>.conf</code>. This files contains the name of the <em class="replaceable"><code>interface</code></em> and the escape codes for diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/issue-generator-1.10/man/Makefile.am new/issue-generator-1.12/man/Makefile.am --- old/issue-generator-1.10/man/Makefile.am 2020-04-30 13:51:39.000000000 +0200 +++ new/issue-generator-1.12/man/Makefile.am 2020-10-21 10:50:53.000000000 +0200 @@ -34,7 +34,7 @@ endef issue-generator.index.xml: make-man-index.py $(XMLS) - python $(srcdir)/make-man-index.py $(srcdir)/$@ $(XMLS) + python3 $(srcdir)/make-man-index.py $(srcdir)/$@ $(XMLS) issue.d.5: issue.d.5.xml $(XSLTPROC) -o $(srcdir)/$@ --path $(srcdir) --xinclude --nonet http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl $< diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/issue-generator-1.10/man/Makefile.in new/issue-generator-1.12/man/Makefile.in --- old/issue-generator-1.10/man/Makefile.in 2020-07-07 09:57:52.000000000 +0200 +++ new/issue-generator-1.12/man/Makefile.in 2020-10-21 10:50:56.000000000 +0200 @@ -544,7 +544,7 @@ @ENABLE_REGENERATE_MAN_TRUE@endef @enable_regenerate_man_t...@issue-generator.index.xml: make-man-index.py $(XMLS) -@ENABLE_REGENERATE_MAN_TRUE@ python $(srcdir)/make-man-index.py $(srcdir)/$@ $(XMLS) +@ENABLE_REGENERATE_MAN_TRUE@ python3 $(srcdir)/make-man-index.py $(srcdir)/$@ $(XMLS) @ENABLE_REGENERATE_MAN_TRUE@issue.d.5: issue.d.5.xml @ENABLE_REGENERATE_MAN_TRUE@ $(XSLTPROC) -o $(srcdir)/$@ --path $(srcdir) --xinclude --nonet http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl $< diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/issue-generator-1.10/man/issue-add-ssh-keys.service.8.html new/issue-generator-1.12/man/issue-add-ssh-keys.service.8.html --- old/issue-generator-1.10/man/issue-add-ssh-keys.service.8.html 2020-04-30 14:48:37.000000000 +0200 +++ new/issue-generator-1.12/man/issue-add-ssh-keys.service.8.html 2020-10-21 10:46:06.000000000 +0200 @@ -15,15 +15,20 @@ h1:hover > a.headerlink, h2:hover > a.headerlink, h3:hover > a.headerlink, dt:hover > a.headerlink { visibility: visible; } - </style><a href="issue-generator.index.html">Index </a><span style="float:right">issue-generator 1.9</span><hr><div class="refentry"><a name="issue-generator.8"></a><div class="titlepage"></div><div class="refnamediv"><a name="name"></a><h2>Name</h2><p>issue-generator, issue-add-ssh-keys.service, issue-generator.service, 90-issue-generator.rules, issue-generator.conf — Creates a volatile and temporary issue file</p></div><div class="refsynopsisdiv"><a name="synopsis"></a><h2>Synopsis</h2><div class="cmdsynopsis"><p><code class="command">/usr/sbin/issue-generator</code> [--prefix <em class="replaceable"><code>path</code></em>] [--help]</p></div><div class="cmdsynopsis"><p><code class="command">/usr/sbin/issue-generator</code> network add | remove + </style><a href="issue-generator.index.html">Index </a><span style="float:right">issue-generator 1.11</span><hr><div class="refentry"><a name="issue-generator.8"></a><div class="titlepage"></div><div class="refnamediv"><a name="name"></a><h2>Name</h2><p>issue-generator, issue-add-ssh-keys.service, issue-generator.service, 90-issue-generator.rules, issue-generator.conf — Creates a volatile and temporary issue file</p></div><div class="refsynopsisdiv"><a name="synopsis"></a><h2>Synopsis</h2><div class="cmdsynopsis"><p><code class="command">/usr/sbin/issue-generator</code> [--prefix <em class="replaceable"><code>path</code></em>] [--help]</p></div><div class="cmdsynopsis"><p><code class="command">/usr/sbin/issue-generator</code> network add | remove <em class="replaceable"><code>interface</code></em> </p></div><div class="cmdsynopsis"><p><code class="command">/usr/sbin/issue-generator</code> ssh add | remove </p></div><div class="cmdsynopsis"><p><code class="command">/usr/sbin/issue-generator</code> --version </p></div><p><code class="filename">issue-add-ssh-keys.service</code></p><p><code class="filename">issue-generator.service</code></p></div><div class="refsect1"><a name="description"></a><h2 id="DESCRIPTION">DESCRIPTION<a class="headerlink" title="Permalink to this headline" href="#DESCRIPTION">¶</a></h2><p><span class="emphasis"><em>issue-generator</em></span> creates a volatile and temporary <a href="issue.5.html"><span class="citerefentry"><span class="refentrytitle">issue</span>(5)</span></a> file based on the input files and location specified in <a href="issue.d.5.html"><span class="citerefentry"><span class="refentrytitle">issue.d</span>(5)</span></a>. -</p><p>If invoked with no arguments, it applies all input files and creates a -temporary <code class="filename">issue</code> file as <code class="filename">/run/issue</code>. -<code class="filename">/etc/issue</code> should be symlink to this file.</p></div><div class="refsect1"><a name="options"></a><h2 id="OPTIONS">OPTIONS<a class="headerlink" title="Permalink to this headline" href="#OPTIONS">¶</a></h2><div class="variablelist"><dl class="variablelist"><dt id="--prefix path"><span class="term"><code class="option">--prefix</code> <em class="replaceable"><code>path</code></em></span><a class="headerlink" title="Permalink to this term" href="#--prefix%20path">¶</a></dt><dd><p>Add the prefix <code class="filename">path</code> to all used directories and files.</p></dd><dt id="network add|remove interface"><span class="term"><code class="option">network add|remove</code> <em class="replaceable"><code>interface</code></em></span><a class="headerlink" title="Permalink to this term" href="#network%20add%7Cremove%20interface">¶</a></dt><dd><p>Creates a deletes files of the format +</p><p>If invoked with no arguments, it applies all valid input files and +creates a temporary <code class="filename">issue</code> file as +<code class="filename">/run/issue</code>. +<code class="filename">/etc/issue</code> should be symlink to this file.</p><p>Backup files ending on <code class="filename">*.bak</code>, +<code class="filename">*~</code> or <code class="filename">*.rpm*</code> will be ignored. Like +files ending on <code class="filename">*.issue</code>, as this are directly shown by +<a href="agetty.8.html"><span class="citerefentry"><span class="refentrytitle">agetty</span>(8)</span></a>. +</p></div><div class="refsect1"><a name="options"></a><h2 id="OPTIONS">OPTIONS<a class="headerlink" title="Permalink to this headline" href="#OPTIONS">¶</a></h2><div class="variablelist"><dl class="variablelist"><dt id="--prefix path"><span class="term"><code class="option">--prefix</code> <em class="replaceable"><code>path</code></em></span><a class="headerlink" title="Permalink to this term" href="#--prefix%20path">¶</a></dt><dd><p>Add the prefix <code class="filename">path</code> to all used directories and files.</p></dd><dt id="network add|remove interface"><span class="term"><code class="option">network add|remove</code> <em class="replaceable"><code>interface</code></em></span><a class="headerlink" title="Permalink to this term" href="#network%20add%7Cremove%20interface">¶</a></dt><dd><p>Creates a deletes files of the format <code class="filename">/run/issue.d/70-<em class="replaceable"><code>interface</code></em>.conf</code>. This files contains the name of the <em class="replaceable"><code>interface</code></em> and the escape codes for diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/issue-generator-1.10/man/issue-generator.8 new/issue-generator-1.12/man/issue-generator.8 --- old/issue-generator-1.10/man/issue-generator.8 2020-04-30 14:48:36.000000000 +0200 +++ new/issue-generator-1.12/man/issue-generator.8 2020-10-21 10:46:06.000000000 +0200 @@ -2,12 +2,12 @@ .\" Title: issue-generator .\" Author: Thorsten Kukuk <ku...@suse.de> .\" Generator: DocBook XSL Stylesheets vsnapshot <http://docbook.sf.net/> -.\" Date: 04/30/2020 +.\" Date: 10/21/2020 .\" Manual: issue-generator .\" Source: issue-generator .\" Language: English .\" -.TH "ISSUE\-GENERATOR" "8" "04/30/2020" "issue-generator" "issue-generator" +.TH "ISSUE\-GENERATOR" "8" "10/21/2020" "issue-generator" "issue-generator" .\" ----------------------------------------------------------------- .\" * Define some portability stuff .\" ----------------------------------------------------------------- @@ -50,12 +50,21 @@ file based on the input files and location specified in \fBissue.d\fR(5)\&. .PP -If invoked with no arguments, it applies all input files and creates a temporary +If invoked with no arguments, it applies all valid input files and creates a temporary issue file as /run/issue\&. /etc/issue should be symlink to this file\&. +.PP +Backup files ending on +*\&.bak, +*~ +or +*\&.rpm* +will be ignored\&. Like files ending on +*\&.issue, as this are directly shown by +\fBagetty\fR(8)\&. .SH "OPTIONS" .PP \fB\-\-prefix\fR \fIpath\fR diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/issue-generator-1.10/man/issue-generator.8.html new/issue-generator-1.12/man/issue-generator.8.html --- old/issue-generator-1.10/man/issue-generator.8.html 2020-04-30 14:48:37.000000000 +0200 +++ new/issue-generator-1.12/man/issue-generator.8.html 2020-10-21 10:46:06.000000000 +0200 @@ -15,15 +15,20 @@ h1:hover > a.headerlink, h2:hover > a.headerlink, h3:hover > a.headerlink, dt:hover > a.headerlink { visibility: visible; } - </style><a href="issue-generator.index.html">Index </a><span style="float:right">issue-generator 1.9</span><hr><div class="refentry"><a name="issue-generator.8"></a><div class="titlepage"></div><div class="refnamediv"><a name="name"></a><h2>Name</h2><p>issue-generator, issue-add-ssh-keys.service, issue-generator.service, 90-issue-generator.rules, issue-generator.conf — Creates a volatile and temporary issue file</p></div><div class="refsynopsisdiv"><a name="synopsis"></a><h2>Synopsis</h2><div class="cmdsynopsis"><p><code class="command">/usr/sbin/issue-generator</code> [--prefix <em class="replaceable"><code>path</code></em>] [--help]</p></div><div class="cmdsynopsis"><p><code class="command">/usr/sbin/issue-generator</code> network add | remove + </style><a href="issue-generator.index.html">Index </a><span style="float:right">issue-generator 1.11</span><hr><div class="refentry"><a name="issue-generator.8"></a><div class="titlepage"></div><div class="refnamediv"><a name="name"></a><h2>Name</h2><p>issue-generator, issue-add-ssh-keys.service, issue-generator.service, 90-issue-generator.rules, issue-generator.conf — Creates a volatile and temporary issue file</p></div><div class="refsynopsisdiv"><a name="synopsis"></a><h2>Synopsis</h2><div class="cmdsynopsis"><p><code class="command">/usr/sbin/issue-generator</code> [--prefix <em class="replaceable"><code>path</code></em>] [--help]</p></div><div class="cmdsynopsis"><p><code class="command">/usr/sbin/issue-generator</code> network add | remove <em class="replaceable"><code>interface</code></em> </p></div><div class="cmdsynopsis"><p><code class="command">/usr/sbin/issue-generator</code> ssh add | remove </p></div><div class="cmdsynopsis"><p><code class="command">/usr/sbin/issue-generator</code> --version </p></div><p><code class="filename">issue-add-ssh-keys.service</code></p><p><code class="filename">issue-generator.service</code></p></div><div class="refsect1"><a name="description"></a><h2 id="DESCRIPTION">DESCRIPTION<a class="headerlink" title="Permalink to this headline" href="#DESCRIPTION">¶</a></h2><p><span class="emphasis"><em>issue-generator</em></span> creates a volatile and temporary <a href="issue.5.html"><span class="citerefentry"><span class="refentrytitle">issue</span>(5)</span></a> file based on the input files and location specified in <a href="issue.d.5.html"><span class="citerefentry"><span class="refentrytitle">issue.d</span>(5)</span></a>. -</p><p>If invoked with no arguments, it applies all input files and creates a -temporary <code class="filename">issue</code> file as <code class="filename">/run/issue</code>. -<code class="filename">/etc/issue</code> should be symlink to this file.</p></div><div class="refsect1"><a name="options"></a><h2 id="OPTIONS">OPTIONS<a class="headerlink" title="Permalink to this headline" href="#OPTIONS">¶</a></h2><div class="variablelist"><dl class="variablelist"><dt id="--prefix path"><span class="term"><code class="option">--prefix</code> <em class="replaceable"><code>path</code></em></span><a class="headerlink" title="Permalink to this term" href="#--prefix%20path">¶</a></dt><dd><p>Add the prefix <code class="filename">path</code> to all used directories and files.</p></dd><dt id="network add|remove interface"><span class="term"><code class="option">network add|remove</code> <em class="replaceable"><code>interface</code></em></span><a class="headerlink" title="Permalink to this term" href="#network%20add%7Cremove%20interface">¶</a></dt><dd><p>Creates a deletes files of the format +</p><p>If invoked with no arguments, it applies all valid input files and +creates a temporary <code class="filename">issue</code> file as +<code class="filename">/run/issue</code>. +<code class="filename">/etc/issue</code> should be symlink to this file.</p><p>Backup files ending on <code class="filename">*.bak</code>, +<code class="filename">*~</code> or <code class="filename">*.rpm*</code> will be ignored. Like +files ending on <code class="filename">*.issue</code>, as this are directly shown by +<a href="agetty.8.html"><span class="citerefentry"><span class="refentrytitle">agetty</span>(8)</span></a>. +</p></div><div class="refsect1"><a name="options"></a><h2 id="OPTIONS">OPTIONS<a class="headerlink" title="Permalink to this headline" href="#OPTIONS">¶</a></h2><div class="variablelist"><dl class="variablelist"><dt id="--prefix path"><span class="term"><code class="option">--prefix</code> <em class="replaceable"><code>path</code></em></span><a class="headerlink" title="Permalink to this term" href="#--prefix%20path">¶</a></dt><dd><p>Add the prefix <code class="filename">path</code> to all used directories and files.</p></dd><dt id="network add|remove interface"><span class="term"><code class="option">network add|remove</code> <em class="replaceable"><code>interface</code></em></span><a class="headerlink" title="Permalink to this term" href="#network%20add%7Cremove%20interface">¶</a></dt><dd><p>Creates a deletes files of the format <code class="filename">/run/issue.d/70-<em class="replaceable"><code>interface</code></em>.conf</code>. This files contains the name of the <em class="replaceable"><code>interface</code></em> and the escape codes for diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/issue-generator-1.10/man/issue-generator.8.xml new/issue-generator-1.12/man/issue-generator.8.xml --- old/issue-generator-1.10/man/issue-generator.8.xml 2020-04-30 13:51:39.000000000 +0200 +++ new/issue-generator-1.12/man/issue-generator.8.xml 2020-10-21 10:46:04.000000000 +0200 @@ -3,7 +3,7 @@ "http://www.oasis-open.org/docbook/xml/4.4/docbookx.dtd"> <!-- \-*\- nroff \-*\- --> -<!-- Copyright 2016, 2017 Thorsten Kukuk <ku...@suse.de> --> +<!-- Copyright 2016, 2017, 2020 Thorsten Kukuk <ku...@suse.de> --> <!-- This file is part of issue\-generator. --> @@ -84,9 +84,15 @@ file based on the input files and location specified in <citerefentry><refentrytitle>issue.d</refentrytitle><manvolnum>5</manvolnum></citerefentry>. </para> -<para>If invoked with no arguments, it applies all input files and creates a -temporary <filename>issue</filename> file as <filename>/run/issue</filename>. +<para>If invoked with no arguments, it applies all valid input files and +creates a temporary <filename>issue</filename> file as +<filename>/run/issue</filename>. <filename>/etc/issue</filename> should be symlink to this file.</para> +<para>Backup files ending on <filename>*.bak</filename>, +<filename>*~</filename> or <filename>*.rpm*</filename> will be ignored. Like +files ending on <filename>*.issue</filename>, as this are directly shown by +<citerefentry><refentrytitle>agetty</refentrytitle><manvolnum>8</manvolnum></citerefentry>. +</para> </refsect1> <refsect1 id='options'><title>OPTIONS</title> diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/issue-generator-1.10/man/issue-generator.conf.8.html new/issue-generator-1.12/man/issue-generator.conf.8.html --- old/issue-generator-1.10/man/issue-generator.conf.8.html 2020-04-30 14:48:37.000000000 +0200 +++ new/issue-generator-1.12/man/issue-generator.conf.8.html 2020-10-21 10:46:06.000000000 +0200 @@ -15,15 +15,20 @@ h1:hover > a.headerlink, h2:hover > a.headerlink, h3:hover > a.headerlink, dt:hover > a.headerlink { visibility: visible; } - </style><a href="issue-generator.index.html">Index </a><span style="float:right">issue-generator 1.9</span><hr><div class="refentry"><a name="issue-generator.8"></a><div class="titlepage"></div><div class="refnamediv"><a name="name"></a><h2>Name</h2><p>issue-generator, issue-add-ssh-keys.service, issue-generator.service, 90-issue-generator.rules, issue-generator.conf — Creates a volatile and temporary issue file</p></div><div class="refsynopsisdiv"><a name="synopsis"></a><h2>Synopsis</h2><div class="cmdsynopsis"><p><code class="command">/usr/sbin/issue-generator</code> [--prefix <em class="replaceable"><code>path</code></em>] [--help]</p></div><div class="cmdsynopsis"><p><code class="command">/usr/sbin/issue-generator</code> network add | remove + </style><a href="issue-generator.index.html">Index </a><span style="float:right">issue-generator 1.11</span><hr><div class="refentry"><a name="issue-generator.8"></a><div class="titlepage"></div><div class="refnamediv"><a name="name"></a><h2>Name</h2><p>issue-generator, issue-add-ssh-keys.service, issue-generator.service, 90-issue-generator.rules, issue-generator.conf — Creates a volatile and temporary issue file</p></div><div class="refsynopsisdiv"><a name="synopsis"></a><h2>Synopsis</h2><div class="cmdsynopsis"><p><code class="command">/usr/sbin/issue-generator</code> [--prefix <em class="replaceable"><code>path</code></em>] [--help]</p></div><div class="cmdsynopsis"><p><code class="command">/usr/sbin/issue-generator</code> network add | remove <em class="replaceable"><code>interface</code></em> </p></div><div class="cmdsynopsis"><p><code class="command">/usr/sbin/issue-generator</code> ssh add | remove </p></div><div class="cmdsynopsis"><p><code class="command">/usr/sbin/issue-generator</code> --version </p></div><p><code class="filename">issue-add-ssh-keys.service</code></p><p><code class="filename">issue-generator.service</code></p></div><div class="refsect1"><a name="description"></a><h2 id="DESCRIPTION">DESCRIPTION<a class="headerlink" title="Permalink to this headline" href="#DESCRIPTION">¶</a></h2><p><span class="emphasis"><em>issue-generator</em></span> creates a volatile and temporary <a href="issue.5.html"><span class="citerefentry"><span class="refentrytitle">issue</span>(5)</span></a> file based on the input files and location specified in <a href="issue.d.5.html"><span class="citerefentry"><span class="refentrytitle">issue.d</span>(5)</span></a>. -</p><p>If invoked with no arguments, it applies all input files and creates a -temporary <code class="filename">issue</code> file as <code class="filename">/run/issue</code>. -<code class="filename">/etc/issue</code> should be symlink to this file.</p></div><div class="refsect1"><a name="options"></a><h2 id="OPTIONS">OPTIONS<a class="headerlink" title="Permalink to this headline" href="#OPTIONS">¶</a></h2><div class="variablelist"><dl class="variablelist"><dt id="--prefix path"><span class="term"><code class="option">--prefix</code> <em class="replaceable"><code>path</code></em></span><a class="headerlink" title="Permalink to this term" href="#--prefix%20path">¶</a></dt><dd><p>Add the prefix <code class="filename">path</code> to all used directories and files.</p></dd><dt id="network add|remove interface"><span class="term"><code class="option">network add|remove</code> <em class="replaceable"><code>interface</code></em></span><a class="headerlink" title="Permalink to this term" href="#network%20add%7Cremove%20interface">¶</a></dt><dd><p>Creates a deletes files of the format +</p><p>If invoked with no arguments, it applies all valid input files and +creates a temporary <code class="filename">issue</code> file as +<code class="filename">/run/issue</code>. +<code class="filename">/etc/issue</code> should be symlink to this file.</p><p>Backup files ending on <code class="filename">*.bak</code>, +<code class="filename">*~</code> or <code class="filename">*.rpm*</code> will be ignored. Like +files ending on <code class="filename">*.issue</code>, as this are directly shown by +<a href="agetty.8.html"><span class="citerefentry"><span class="refentrytitle">agetty</span>(8)</span></a>. +</p></div><div class="refsect1"><a name="options"></a><h2 id="OPTIONS">OPTIONS<a class="headerlink" title="Permalink to this headline" href="#OPTIONS">¶</a></h2><div class="variablelist"><dl class="variablelist"><dt id="--prefix path"><span class="term"><code class="option">--prefix</code> <em class="replaceable"><code>path</code></em></span><a class="headerlink" title="Permalink to this term" href="#--prefix%20path">¶</a></dt><dd><p>Add the prefix <code class="filename">path</code> to all used directories and files.</p></dd><dt id="network add|remove interface"><span class="term"><code class="option">network add|remove</code> <em class="replaceable"><code>interface</code></em></span><a class="headerlink" title="Permalink to this term" href="#network%20add%7Cremove%20interface">¶</a></dt><dd><p>Creates a deletes files of the format <code class="filename">/run/issue.d/70-<em class="replaceable"><code>interface</code></em>.conf</code>. This files contains the name of the <em class="replaceable"><code>interface</code></em> and the escape codes for diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/issue-generator-1.10/man/issue-generator.index.xml new/issue-generator-1.12/man/issue-generator.index.xml --- old/issue-generator-1.10/man/issue-generator.index.xml 2020-04-30 15:01:59.000000000 +0200 +++ new/issue-generator-1.12/man/issue-generator.index.xml 2020-10-21 10:50:56.000000000 +0200 @@ -14,6 +14,6 @@ <refname>issue-generator.index</refname> <refpurpose>List all manpages from the issue-generator project</refpurpose> </refnamediv> -<refsect1><title>9</title><para><citerefentry><refentrytitle>90-issue-generator.rules</refentrytitle><manvolnum>8</manvolnum></citerefentry> -- Creates a volatile and temporary issue file<sbr/></para></refsect1><refsect1><title>I</title><para><citerefentry><refentrytitle>issue-add-ssh-keys.service</refentrytitle><manvolnum>8</manvolnum></citerefentry> -- Creates a volatile and temporary issue file<sbr/><citerefentry><refentrytitle>issue-generator</refentrytitle><manvolnum>8</manvolnum></citerefentry> -- Creates a volatile and temporary issue file<sbr/><citerefentry><refentrytitle>issue-generator.conf</refentrytitle><manvolnum>8</manvolnum></citerefentry> -- Creates a volatile and temporary issue file<sbr/><citerefentry><refentrytitle>issue-generator.service</refentrytitle><manvolnum>8</manvolnum></citerefentry> -- Creates a volatile and temporary issue file<sbr/><citerefentry><refentrytitle>issue.d</refentrytitle><manvolnum>5</manvolnum></citerefentry> -- Configuration for creating an issue file<sbr/></para></refsect1><refsect1> +<refsect1><title>9</title><para><citerefentry><refentrytitle>90-issue-generator.rules</refentrytitle><manvolnum>8</manvolnum></citerefentry> — Creates a volatile and temporary issue file<sbr/></para></refsect1><refsect1><title>I</title><para><citerefentry><refentrytitle>issue-add-ssh-keys.service</refentrytitle><manvolnum>8</manvolnum></citerefentry> — Creates a volatile and temporary issue file<sbr/><citerefentry><refentrytitle>issue-generator</refentrytitle><manvolnum>8</manvolnum></citerefentry> — Creates a volatile and temporary issue file<sbr/><citerefentry><refentrytitle>issue-generator.conf</refentrytitle><manvolnum>8</manvolnum></citerefentry> — Creates a volatile and temporary issue file<sbr/><citerefentry><refentrytitle>issue-generator.service</refentrytitle><manvolnum>8</manvolnum></citerefentry> — Creates a volatile and temporary issue file<sbr/><citerefentry><refentrytitle>issue.d</refentrytitle><manvolnum>5</manvolnum></citerefentry> — Configuration for creating an issue file<sbr/></para></refsect1><refsect1> <para id="counts">This index contains 6 entries, referring to 2 individual manual pages.</para> </refsect1></refentry> diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/issue-generator-1.10/man/issue-generator.service.8.html new/issue-generator-1.12/man/issue-generator.service.8.html --- old/issue-generator-1.10/man/issue-generator.service.8.html 2020-04-30 14:48:37.000000000 +0200 +++ new/issue-generator-1.12/man/issue-generator.service.8.html 2020-10-21 10:46:06.000000000 +0200 @@ -15,15 +15,20 @@ h1:hover > a.headerlink, h2:hover > a.headerlink, h3:hover > a.headerlink, dt:hover > a.headerlink { visibility: visible; } - </style><a href="issue-generator.index.html">Index </a><span style="float:right">issue-generator 1.9</span><hr><div class="refentry"><a name="issue-generator.8"></a><div class="titlepage"></div><div class="refnamediv"><a name="name"></a><h2>Name</h2><p>issue-generator, issue-add-ssh-keys.service, issue-generator.service, 90-issue-generator.rules, issue-generator.conf — Creates a volatile and temporary issue file</p></div><div class="refsynopsisdiv"><a name="synopsis"></a><h2>Synopsis</h2><div class="cmdsynopsis"><p><code class="command">/usr/sbin/issue-generator</code> [--prefix <em class="replaceable"><code>path</code></em>] [--help]</p></div><div class="cmdsynopsis"><p><code class="command">/usr/sbin/issue-generator</code> network add | remove + </style><a href="issue-generator.index.html">Index </a><span style="float:right">issue-generator 1.11</span><hr><div class="refentry"><a name="issue-generator.8"></a><div class="titlepage"></div><div class="refnamediv"><a name="name"></a><h2>Name</h2><p>issue-generator, issue-add-ssh-keys.service, issue-generator.service, 90-issue-generator.rules, issue-generator.conf — Creates a volatile and temporary issue file</p></div><div class="refsynopsisdiv"><a name="synopsis"></a><h2>Synopsis</h2><div class="cmdsynopsis"><p><code class="command">/usr/sbin/issue-generator</code> [--prefix <em class="replaceable"><code>path</code></em>] [--help]</p></div><div class="cmdsynopsis"><p><code class="command">/usr/sbin/issue-generator</code> network add | remove <em class="replaceable"><code>interface</code></em> </p></div><div class="cmdsynopsis"><p><code class="command">/usr/sbin/issue-generator</code> ssh add | remove </p></div><div class="cmdsynopsis"><p><code class="command">/usr/sbin/issue-generator</code> --version </p></div><p><code class="filename">issue-add-ssh-keys.service</code></p><p><code class="filename">issue-generator.service</code></p></div><div class="refsect1"><a name="description"></a><h2 id="DESCRIPTION">DESCRIPTION<a class="headerlink" title="Permalink to this headline" href="#DESCRIPTION">¶</a></h2><p><span class="emphasis"><em>issue-generator</em></span> creates a volatile and temporary <a href="issue.5.html"><span class="citerefentry"><span class="refentrytitle">issue</span>(5)</span></a> file based on the input files and location specified in <a href="issue.d.5.html"><span class="citerefentry"><span class="refentrytitle">issue.d</span>(5)</span></a>. -</p><p>If invoked with no arguments, it applies all input files and creates a -temporary <code class="filename">issue</code> file as <code class="filename">/run/issue</code>. -<code class="filename">/etc/issue</code> should be symlink to this file.</p></div><div class="refsect1"><a name="options"></a><h2 id="OPTIONS">OPTIONS<a class="headerlink" title="Permalink to this headline" href="#OPTIONS">¶</a></h2><div class="variablelist"><dl class="variablelist"><dt id="--prefix path"><span class="term"><code class="option">--prefix</code> <em class="replaceable"><code>path</code></em></span><a class="headerlink" title="Permalink to this term" href="#--prefix%20path">¶</a></dt><dd><p>Add the prefix <code class="filename">path</code> to all used directories and files.</p></dd><dt id="network add|remove interface"><span class="term"><code class="option">network add|remove</code> <em class="replaceable"><code>interface</code></em></span><a class="headerlink" title="Permalink to this term" href="#network%20add%7Cremove%20interface">¶</a></dt><dd><p>Creates a deletes files of the format +</p><p>If invoked with no arguments, it applies all valid input files and +creates a temporary <code class="filename">issue</code> file as +<code class="filename">/run/issue</code>. +<code class="filename">/etc/issue</code> should be symlink to this file.</p><p>Backup files ending on <code class="filename">*.bak</code>, +<code class="filename">*~</code> or <code class="filename">*.rpm*</code> will be ignored. Like +files ending on <code class="filename">*.issue</code>, as this are directly shown by +<a href="agetty.8.html"><span class="citerefentry"><span class="refentrytitle">agetty</span>(8)</span></a>. +</p></div><div class="refsect1"><a name="options"></a><h2 id="OPTIONS">OPTIONS<a class="headerlink" title="Permalink to this headline" href="#OPTIONS">¶</a></h2><div class="variablelist"><dl class="variablelist"><dt id="--prefix path"><span class="term"><code class="option">--prefix</code> <em class="replaceable"><code>path</code></em></span><a class="headerlink" title="Permalink to this term" href="#--prefix%20path">¶</a></dt><dd><p>Add the prefix <code class="filename">path</code> to all used directories and files.</p></dd><dt id="network add|remove interface"><span class="term"><code class="option">network add|remove</code> <em class="replaceable"><code>interface</code></em></span><a class="headerlink" title="Permalink to this term" href="#network%20add%7Cremove%20interface">¶</a></dt><dd><p>Creates a deletes files of the format <code class="filename">/run/issue.d/70-<em class="replaceable"><code>interface</code></em>.conf</code>. This files contains the name of the <em class="replaceable"><code>interface</code></em> and the escape codes for diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/issue-generator-1.10/sbin/issue-generator.in new/issue-generator-1.12/sbin/issue-generator.in --- old/issue-generator-1.10/sbin/issue-generator.in 2020-04-30 13:51:39.000000000 +0200 +++ new/issue-generator-1.12/sbin/issue-generator.in 2020-10-16 17:50:26.000000000 +0200 @@ -13,9 +13,19 @@ declare -A FILES find_files() { - for f in ${PREFIX}/usr/lib/issue.d/* ${PREFIX}/run/issue.d/* ${PREFIX}/etc/issue.d/* ; do + for f in "${PREFIX}"/usr/lib/issue.d/* "${PREFIX}"/run/issue.d/* "${PREFIX}"/etc/issue.d/* ; do test -f "$f" || continue - T=`basename "$f"` + case "$f" in + *.bak|*~|*.rpmsave|*.rpmnew) + echo "$f ignored" + continue + ;; + *.issue) + echo "$f ignored, printed by agetty" + continue + ;; + esac + T=$(basename "$f") FILES[${T}]="$f" done } @@ -24,7 +34,7 @@ for key in "${!FILES[@]}"; do keys="${keys}\n${key}"; done - for key in `echo -e ${keys} | sort -u`; do + for key in $(echo -e ${keys} | sort -u); do cat "${FILES[$key]}" done } @@ -41,7 +51,7 @@ exit 0; } -while [ 1 ]; do +while true; do if [ $# -eq 0 ]; then break fi @@ -69,7 +79,7 @@ case "$2" in add) - mkdir -p ${PREFIX}/run/issue.d + mkdir -p "${PREFIX}"/run/issue.d echo "${ifname}: \\4{$ifname} \\6{$ifname}" > "${PREFIX}/run/issue.d/70-$ifname.conf" ;; del|delete|rm|remove) @@ -85,13 +95,13 @@ case "$2" in add) - mkdir -p ${PREFIX}/run/issue.d + mkdir -p "${PREFIX}"/run/issue.d for KEY_FILE in $(find /etc/ssh -name 'ssh_host_*_key') ; do - ssh-keygen -l -f ${KEY_FILE}; - done | awk '{print "SSH host key: " $2 " " $4}' > ${PREFIX}/run/issue.d/60-ssh_host_keys.conf + ssh-keygen -l -f "${KEY_FILE}"; + done | awk '{print "SSH host key: " $2 " " $4}' > "${PREFIX}"/run/issue.d/60-ssh_host_keys.conf ;; del|delete|rm|remove) - rm -f ${PREFIX}/run/issue.d/60-ssh_host_keys.conf + rm -f "${PREFIX}"/run/issue.d/60-ssh_host_keys.conf ;; esac shift 2; @@ -117,21 +127,21 @@ find_files # We should only create a new /run/issue file, if something has # really changed. And reload only in this case -BACKUPFILE=`mktemp -q ${PREFIX}/run/issue.XXXXXXXXXX` +BACKUPFILE=$(mktemp -q "${PREFIX}"/run/issue.XXXXXXXXXX) if [ $? -ne 0 ]; then echo "issue-generator: Can't create temp file..." # Safe fallback: generate new file and reload - generate_issue > ${PREFIX}/run/issue + generate_issue > "${PREFIX}"/run/issue RELOAD=1 else - generate_issue > ${BACKUPFILE} - cmp -s ${BACKUPFILE} ${PREFIX}/run/issue + generate_issue > "${BACKUPFILE}" + cmp -s "${BACKUPFILE}" "${PREFIX}"/run/issue if [ $? -ne 0 ]; then - chmod 644 ${BACKUPFILE} - mv ${BACKUPFILE} ${PREFIX}/run/issue + chmod 644 "${BACKUPFILE}" + mv "${BACKUPFILE}" "${PREFIX}"/run/issue RELOAD=1 else - rm -f ${BACKUPFILE} + rm -f "${BACKUPFILE}" RELOAD=0 fi fi diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/issue-generator-1.10/systemd/issue-generator.path new/issue-generator-1.12/systemd/issue-generator.path --- old/issue-generator-1.10/systemd/issue-generator.path 2020-04-30 13:51:39.000000000 +0200 +++ new/issue-generator-1.12/systemd/issue-generator.path 2020-10-19 14:09:00.000000000 +0200 @@ -6,7 +6,7 @@ Unit=issue-generator.service PathChanged=/etc/issue.d PathChanged=/usr/lib/issue.d -PathChanged=/run/issue.d +#PathChanged=/run/issue.d [Install] WantedBy=default.target