Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package os-update for openSUSE:Factory checked in at 2022-11-08 10:53:59 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/os-update (Old) and /work/SRC/openSUSE:Factory/.os-update.new.1597 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "os-update" Tue Nov 8 10:53:59 2022 rev:4 rq:1034264 version:1.4 Changes: -------- --- /work/SRC/openSUSE:Factory/os-update/os-update.changes 2022-11-04 17:41:25.114833269 +0100 +++ /work/SRC/openSUSE:Factory/.os-update.new.1597/os-update.changes 2022-11-08 10:54:13.385666532 +0100 @@ -1,0 +2,6 @@ +Mon Nov 7 13:25:43 UTC 2022 - Thorsten Kukuk <ku...@suse.com> + +- Update to version 1.4 + - Provide service to send mails about systemd service status + +------------------------------------------------------------------- Old: ---- os-update-1.3.tar.xz New: ---- os-update-1.4.tar.xz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ os-update.spec ++++++ --- /var/tmp/diff_new_pack.M9kNci/_old 2022-11-08 10:54:13.893667727 +0100 +++ /var/tmp/diff_new_pack.M9kNci/_new 2022-11-08 10:54:13.897667736 +0100 @@ -17,11 +17,11 @@ %if ! %{defined _distconfdir} - %define _distconfdir %{_datadir} + %define _distconfdir %{_sysconfdir} %endif Name: os-update -Version: 1.3 +Version: 1.4 Release: 0 Summary: Updates the system regular to stay current and safe License: GPL-2.0-or-later @@ -32,13 +32,25 @@ BuildRequires: pkgconfig(systemd) Requires: zypper-needs-restarting Recommends: rebootmgr +Recommends: systemd-status-mail BuildArch: noarch %description -Service to keep an OS update to date and secure. It's run by a +Service to keep an OS update to date and secure. It is run by a systemd.timer daily and can inform rebootmgrd that the update requires a reboot. +%package -n systemd-status-mail +Summary: Send a mail if a systemd.timer fails and/or succeeds +Requires: (/usr/sbin/sendmail or mailx) + +%description -n systemd-status-mail +systemd-mail-status is called by systemd-status-mail@.service if the +service is configured for the OnFailure and/or OnSuccess case of a +systemd unit. It sends an email to a configureable address with the name +of the service, the hostname and the output of +"systemctl status --full <service>". + %prep %setup -q @@ -48,6 +60,7 @@ %install %make_install +install -m 644 -D etc/default/systemd-status-mail %{buildroot}%{_distconfdir}/default/systemd-status-mail %pre %service_add_pre os-update.timer @@ -70,4 +83,13 @@ %{_prefix}/lib/systemd/system/os-update.timer %{_mandir}/man8/os-update.8%{?ext_man} +%files -n systemd-status-mail +%license COPYING +%{_distconfdir}/default/systemd-status-mail +%{_libexecdir}/systemd-status-mail +%{_prefix}/lib/systemd/system/systemd-status-mail@.service +%{_mandir}/man8/systemd-status-mail.8%{?ext_man} +%dir %{_datadir}/systemd-status-mail +%{_datadir}/systemd-status-mail/status-mail.conf + %changelog ++++++ os-update-1.3.tar.xz -> os-update-1.4.tar.xz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/os-update-1.3/Makefile.am new/os-update-1.4/Makefile.am --- old/os-update-1.3/Makefile.am 2020-09-23 17:01:09.000000000 +0200 +++ new/os-update-1.4/Makefile.am 2022-11-07 15:26:11.000000000 +0100 @@ -4,4 +4,4 @@ CLEANFILES = *~ -EXTRA_DIST = README.md COPYING +EXTRA_DIST = README.md COPYING etc/default/systemd-status-mail diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/os-update-1.3/Makefile.in new/os-update-1.4/Makefile.in --- old/os-update-1.3/Makefile.in 2022-11-04 07:24:43.000000000 +0100 +++ new/os-update-1.4/Makefile.in 2022-11-07 15:31:37.000000000 +0100 @@ -281,7 +281,7 @@ AUTOMAKE_OPTIONS = 1.6 foreign check-news dist-xz SUBDIRS = src systemd CLEANFILES = *~ -EXTRA_DIST = README.md COPYING +EXTRA_DIST = README.md COPYING etc/default/systemd-status-mail all: all-recursive .SUFFIXES: diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/os-update-1.3/NEWS new/os-update-1.4/NEWS --- old/os-update-1.3/NEWS 2022-11-04 07:24:35.000000000 +0100 +++ new/os-update-1.4/NEWS 2022-11-07 15:26:30.000000000 +0100 @@ -1,3 +1,6 @@ +Version 1.4 + - Provide service to send mails about systemd service status + Version 1.3 - Don't restart os-update service itself diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/os-update-1.3/configure new/os-update-1.4/configure --- old/os-update-1.3/configure 2022-11-04 07:24:43.000000000 +0100 +++ new/os-update-1.4/configure 2022-11-07 15:31:37.000000000 +0100 @@ -1,6 +1,6 @@ #! /bin/sh # Guess values for system-dependent variables and create Makefiles. -# Generated by GNU Autoconf 2.69 for os-update 1.3. +# Generated by GNU Autoconf 2.69 for os-update 1.4. # # # Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc. @@ -576,8 +576,8 @@ # Identity of this package. PACKAGE_NAME='os-update' PACKAGE_TARNAME='os-update' -PACKAGE_VERSION='1.3' -PACKAGE_STRING='os-update 1.3' +PACKAGE_VERSION='1.4' +PACKAGE_STRING='os-update 1.4' PACKAGE_BUGREPORT='' PACKAGE_URL='' @@ -1214,7 +1214,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 os-update 1.3 to adapt to many kinds of systems. +\`configure' configures os-update 1.4 to adapt to many kinds of systems. Usage: $0 [OPTION]... [VAR=VALUE]... @@ -1280,7 +1280,7 @@ if test -n "$ac_init_help"; then case $ac_init_help in - short | recursive ) echo "Configuration of os-update 1.3:";; + short | recursive ) echo "Configuration of os-update 1.4:";; esac cat <<\_ACEOF @@ -1370,7 +1370,7 @@ test -n "$ac_init_help" && exit $ac_status if $ac_init_version; then cat <<\_ACEOF -os-update configure 1.3 +os-update configure 1.4 generated by GNU Autoconf 2.69 Copyright (C) 2012 Free Software Foundation, Inc. @@ -1387,7 +1387,7 @@ This file contains any messages produced by compilers while running configure, to aid debugging if configure makes a mistake. -It was created by os-update $as_me 1.3, which was +It was created by os-update $as_me 1.4, which was generated by GNU Autoconf 2.69. Invocation command line was $ $0 $@ @@ -2250,7 +2250,7 @@ # Define the identity of the package. PACKAGE='os-update' - VERSION='1.3' + VERSION='1.4' cat >>confdefs.h <<_ACEOF @@ -3124,7 +3124,7 @@ # report actual input values of CONFIG_FILES etc. instead of their # values after options handling. ac_log=" -This file was extended by os-update $as_me 1.3, which was +This file was extended by os-update $as_me 1.4, which was generated by GNU Autoconf 2.69. Invocation command line was CONFIG_FILES = $CONFIG_FILES @@ -3177,7 +3177,7 @@ cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`" ac_cs_version="\\ -os-update config.status 1.3 +os-update config.status 1.4 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/os-update-1.3/configure.ac new/os-update-1.4/configure.ac --- old/os-update-1.3/configure.ac 2022-11-04 07:24:10.000000000 +0100 +++ new/os-update-1.4/configure.ac 2022-11-07 15:26:35.000000000 +0100 @@ -1,5 +1,5 @@ dnl Process this file with autoconf to produce a configure script. -AC_INIT(os-update, 1.3) +AC_INIT(os-update, 1.4) AM_INIT_AUTOMAKE AC_PREFIX_DEFAULT(/usr) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/os-update-1.3/etc/default/systemd-status-mail new/os-update-1.4/etc/default/systemd-status-mail --- old/os-update-1.3/etc/default/systemd-status-mail 1970-01-01 01:00:00.000000000 +0100 +++ new/os-update-1.4/etc/default/systemd-status-mail 2022-11-06 20:56:14.000000000 +0100 @@ -0,0 +1,12 @@ +# ADDRESS is the mail account to which the status mails should be send +ADDRESS=root@localhost + +# Set HOSTNAME if the system does not set it or if you need to override +# the system default +#HOSTNAME=myhostname + +# Valid values for MAILER: "sendmail" or "mailx" +#MAILER=mailx + +# RELAYHOST specifies the mail relay used by mailx if specified +#RELAYHOST=relay.example.com diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/os-update-1.3/src/Makefile.am new/os-update-1.4/src/Makefile.am --- old/os-update-1.3/src/Makefile.am 2020-10-08 11:16:50.000000000 +0200 +++ new/os-update-1.4/src/Makefile.am 2022-11-07 15:26:11.000000000 +0100 @@ -1,7 +1,7 @@ -libexec_SCRIPTS = os-update +libexec_SCRIPTS = os-update systemd-status-mail -man_MANS = os-update.8 +man_MANS = os-update.8 systemd-status-mail.8 if HAVE_VENDORDIR configdir=@vendordir@ @@ -11,7 +11,8 @@ config_DATA = os-update.conf -EXTRA_DIST = $(DATA) $(MANS) os-update.8.md os-update.in +EXTRA_DIST = $(DATA) $(MANS) os-update.8.md os-update.in \ + systemd-status-mail systemd-status-mail.8.md %.8: %.8.md pandoc -s -f markdown -t man $< --output $@ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/os-update-1.3/src/Makefile.in new/os-update-1.4/src/Makefile.in --- old/os-update-1.3/src/Makefile.in 2022-11-04 07:24:43.000000000 +0100 +++ new/os-update-1.4/src/Makefile.in 2022-11-07 15:31:37.000000000 +0100 @@ -233,12 +233,14 @@ top_builddir = @top_builddir@ top_srcdir = @top_srcdir@ vendordir = @vendordir@ -libexec_SCRIPTS = os-update -man_MANS = os-update.8 +libexec_SCRIPTS = os-update systemd-status-mail +man_MANS = os-update.8 systemd-status-mail.8 @HAVE_VENDORDIR_FALSE@configdir = ${sysconfdir} @HAVE_VENDORDIR_TRUE@configdir = @vendordir@ config_DATA = os-update.conf -EXTRA_DIST = $(DATA) $(MANS) os-update.8.md os-update.in +EXTRA_DIST = $(DATA) $(MANS) os-update.8.md os-update.in \ + systemd-status-mail systemd-status-mail.8.md + all: all-am .SUFFIXES: diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/os-update-1.3/src/os-update.8 new/os-update-1.4/src/os-update.8 --- old/os-update-1.3/src/os-update.8 2022-10-31 10:46:55.000000000 +0100 +++ new/os-update-1.4/src/os-update.8 2022-11-07 11:40:35.000000000 +0100 @@ -1,6 +1,6 @@ .\" Automatically generated by Pandoc 2.9.2.1 .\" -.TH "os-update" "1" "" "" "" +.TH "os-update" "8" "" "" "" .hy .SH NAME .PP @@ -66,6 +66,6 @@ configuration file. .SH SEE ALSO .PP -systemd.timer(5) +systemd.timer(5), systemd-status-mail(8) .SH AUTHORS Thorsten Kukuk \f[C]<kukuk\[at]thkukuk.de>\f[R]. diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/os-update-1.3/src/os-update.8.md new/os-update-1.4/src/os-update.8.md --- old/os-update-1.3/src/os-update.8.md 2022-10-31 10:46:50.000000000 +0100 +++ new/os-update-1.4/src/os-update.8.md 2022-11-07 10:42:02.000000000 +0100 @@ -1,4 +1,4 @@ -% os-update(1) +% os-update(8) % Thorsten Kukuk `<ku...@thkukuk.de>` # NAME @@ -55,4 +55,4 @@ file. # SEE ALSO -systemd.timer(5) +systemd.timer(5), systemd-status-mail(8) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/os-update-1.3/src/systemd-status-mail new/os-update-1.4/src/systemd-status-mail --- old/os-update-1.3/src/systemd-status-mail 1970-01-01 01:00:00.000000000 +0100 +++ new/os-update-1.4/src/systemd-status-mail 2022-11-07 10:41:12.000000000 +0100 @@ -0,0 +1,52 @@ +#!/bin/sh + +if [ "$#" -ne 2 ]; then + echo "Usage: $0 <mail address> <systemd unit>" >&2 + exit 1 +fi + +if [ -z "$1" ]; then + echo "$0: <mail address> is empty!" >&2 + exit 1 +fi + +include () { + test -f "$1" && . "$1" +} + +include /usr/etc/default/systemd-status-mail +include /etc/default/systemd-status-mail + +HOSTNAME=${HOSTNAME:-$(hostname)} + +if [ -z "${MAILER}" ]; then + if [ -x /usr/sbin/sendmail ]; then + MAILER="sendmail" + elif [ -x /usr/bin/mailx ]; then + MAILER="mailx" + else + echo "ERROR: $0 - no mail program found!" >&2 + fi +fi + +case $MAILER in + sendmail) + /usr/sbin/sendmail -t <<EOF +To: $1 +From: systemd <root@$HOSTNAME> +Subject: $2 ($HOSTNAME) +Content-Transfer-Encoding: 8bit +Content-Type: text/plain; charset=UTF-8 + +$(systemctl status --full "$2") +EOF + ;; + mailx) + if [ -n "${RELAYHOST}" ]; then + RELAY="-Ssmtp=${RELAYHOST}" + fi + mailx -Ssendwait -s "$2 ($HOSTNAME)" -r "systemd <root@$HOSTNAME>" "$RELAY" "$1" <<EOF +$(systemctl status --full "$2") +EOF + ;; +esac diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/os-update-1.3/src/systemd-status-mail.8 new/os-update-1.4/src/systemd-status-mail.8 --- old/os-update-1.3/src/systemd-status-mail.8 1970-01-01 01:00:00.000000000 +0100 +++ new/os-update-1.4/src/systemd-status-mail.8 2022-11-07 11:54:14.000000000 +0100 @@ -0,0 +1,68 @@ +.\" Automatically generated by Pandoc 2.9.2.1 +.\" +.TH "systemd-status-mail" "8" "" "" "" +.hy +.SH NAME +.PP +\f[B]systemd-status-mail\f[R] - Send a mail if a systemd.timer fails # +SYNOPSIS +.PP +\f[B]/usr/libexec/systemd-status-mail\f[R] +.PD 0 +.P +.PD +\f[B]/usr/lib/systemd/system/systemd-status-mail\[at].service\f[R] +.SH DESCRIPTION +.PP +\f[C]systemd-mail-status\f[R] is called by +\f[C]systemd-status-mail\[at].service\f[R] if the service is configured +for the \f[B]OnFailure\f[R] and/or \f[B]OnSuccess\f[R] case of a systemd +unit. +It sends an email to a configureable address with the name of the +service, the hostname and the output of +\f[C]systemctl status --full <service>\f[R]. +.SH CONFIGURATION OPTIONS +.TP +ADDRESS=\[lq]root\[at]localhost\[rq] +Address to which the status mail should be send. +.TP +HOSTNAME=\[lq]\[rq] +Name of the host used as domain for the from address +(root\[at]$HOSTNAME) +.TP +MAILER=\[lq]sendmail\[rq] +Name of the mail client to send the status mail. +Valid values are \[lq]sendmail\[rq] and \[lq]mailx\[rq], by default +\[lq]sendmail\[rq] is used. +.TP +RELAYHOST=\[dq]\[dq] +Mail relay used by mailx if specified and not empty. +.SH CONFIGURATION FILES +.TP +/usr/etc/default/systemd-status-mail +Vendor provided configuration file, contains the defaults. +.TP +/etc/default/systemd-status-mail +Admin provided configuration file, should only contain the variables +which were changed by the system administrator compared to the vendor +configuration file. +.SH Example +.PP +To get informed if os-update(8) failed, create a file +\f[C]status-mail.conf\f[R] in the +\f[C]/etc/systemd/system/os-update.service.d/\f[R] directory with the +content: +.IP +.nf +\f[C] +[Unit] +OnFailure=systemd-status-mail\[at]%n.service +\f[R] +.fi +.PP +Everytime the os-update.service fails, a mail is send. +.SH SEE ALSO +.PP +os-update(8) +.SH AUTHORS +Thorsten Kukuk \f[C]<kukuk\[at]thkukuk.de>\f[R]. diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/os-update-1.3/src/systemd-status-mail.8.md new/os-update-1.4/src/systemd-status-mail.8.md --- old/os-update-1.3/src/systemd-status-mail.8.md 1970-01-01 01:00:00.000000000 +0100 +++ new/os-update-1.4/src/systemd-status-mail.8.md 2022-11-07 11:54:10.000000000 +0100 @@ -0,0 +1,59 @@ +% systemd-status-mail(8) +% Thorsten Kukuk `<ku...@thkukuk.de>` + +# NAME + +**systemd-status-mail** - Send a mail if a systemd.timer fails +# SYNOPSIS + +| **/usr/libexec/systemd-status-mail** +| **/usr/lib/systemd/system/systemd-status-mail@.service** + +# DESCRIPTION + +`systemd-mail-status` is called by `systemd-status-mail@.service` +if the service is configured for the **OnFailure** and/or **OnSuccess** +case of a systemd unit. +It sends an email to a configureable address with the name of the service, the +hostname and the output of `systemctl status --full <service>`. + +# CONFIGURATION OPTIONS + +ADDRESS="root@localhost" +: Address to which the status mail should be send. + +HOSTNAME="<hostname>" +: Name of the host used as domain for the from address (root@$HOSTNAME) + +MAILER="sendmail" +: Name of the mail client to send the status mail. Valid values are "sendmail" +and "mailx", by default "sendmail" is used. + +RELAYHOST="" +: Mail relay used by mailx if specified and not empty. + +# CONFIGURATION FILES + +/usr/etc/default/systemd-status-mail +: Vendor provided configuration file, contains the defaults. + +/etc/default/systemd-status-mail +: Admin provided configuration file, should only contain the variables which +were changed by the system administrator compared to the vendor configuration +file. + +# Example + +To get informed if os-update(8) failed, create a file +`status-mail.conf` in the `/etc/systemd/system/os-update.service.d/` directory +with the content: + +``` +[Unit] +OnFailure=systemd-status-mail@%n.service +``` + +Everytime the os-update.service fails, a mail is send. + +# SEE ALSO +os-update(8) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/os-update-1.3/systemd/Makefile.am new/os-update-1.4/systemd/Makefile.am --- old/os-update-1.3/systemd/Makefile.am 2020-09-25 14:27:51.000000000 +0200 +++ new/os-update-1.4/systemd/Makefile.am 2022-11-07 15:26:11.000000000 +0100 @@ -1,7 +1,14 @@ -systemdsystemunit_DATA = os-update.timer os-update.service +systemdsystemunit_DATA = os-update.timer os-update.service \ + systemd-status-mail@.service -EXTRA_DIST = os-update.timer os-update.service.in +maildatadir=${datadir}/systemd-status-mail + + +maildata_DATA = status-mail.conf + +EXTRA_DIST = os-update.timer os-update.service.in status-mail.conf \ + systemd-status-mail@.service CLEANFILES = os-update.service diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/os-update-1.3/systemd/Makefile.in new/os-update-1.4/systemd/Makefile.in --- old/os-update-1.3/systemd/Makefile.in 2022-11-04 07:24:43.000000000 +0100 +++ new/os-update-1.4/systemd/Makefile.in 2022-11-07 15:31:37.000000000 +0100 @@ -141,8 +141,9 @@ || { echo " ( cd '$$dir' && rm -f" $$files ")"; \ $(am__cd) "$$dir" && rm -f $$files; }; \ } -am__installdirs = "$(DESTDIR)$(systemdsystemunitdir)" -DATA = $(systemdsystemunit_DATA) +am__installdirs = "$(DESTDIR)$(maildatadir)" \ + "$(DESTDIR)$(systemdsystemunitdir)" +DATA = $(maildata_DATA) $(systemdsystemunit_DATA) am__tagged_files = $(HEADERS) $(SOURCES) $(TAGS_FILES) $(LISP) am__DIST_COMMON = $(srcdir)/Makefile.in DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) @@ -227,8 +228,14 @@ top_builddir = @top_builddir@ top_srcdir = @top_srcdir@ vendordir = @vendordir@ -systemdsystemunit_DATA = os-update.timer os-update.service -EXTRA_DIST = os-update.timer os-update.service.in +systemdsystemunit_DATA = os-update.timer os-update.service \ + systemd-status-mail@.service + +maildatadir = ${datadir}/systemd-status-mail +maildata_DATA = status-mail.conf +EXTRA_DIST = os-update.timer os-update.service.in status-mail.conf \ + systemd-status-mail@.service + CLEANFILES = os-update.service all: all-am @@ -262,6 +269,27 @@ $(ACLOCAL_M4): $(am__aclocal_m4_deps) cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh $(am__aclocal_m4_deps): +install-maildataDATA: $(maildata_DATA) + @$(NORMAL_INSTALL) + @list='$(maildata_DATA)'; test -n "$(maildatadir)" || list=; \ + if test -n "$$list"; then \ + echo " $(MKDIR_P) '$(DESTDIR)$(maildatadir)'"; \ + $(MKDIR_P) "$(DESTDIR)$(maildatadir)" || exit 1; \ + fi; \ + for p in $$list; do \ + if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \ + echo "$$d$$p"; \ + done | $(am__base_list) | \ + while read files; do \ + echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(maildatadir)'"; \ + $(INSTALL_DATA) $$files "$(DESTDIR)$(maildatadir)" || exit $$?; \ + done + +uninstall-maildataDATA: + @$(NORMAL_UNINSTALL) + @list='$(maildata_DATA)'; test -n "$(maildatadir)" || list=; \ + files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \ + dir='$(DESTDIR)$(maildatadir)'; $(am__uninstall_files_from_dir) install-systemdsystemunitDATA: $(systemdsystemunit_DATA) @$(NORMAL_INSTALL) @list='$(systemdsystemunit_DATA)'; test -n "$(systemdsystemunitdir)" || list=; \ @@ -324,7 +352,7 @@ check: check-am all-am: Makefile $(DATA) installdirs: - for dir in "$(DESTDIR)$(systemdsystemunitdir)"; do \ + for dir in "$(DESTDIR)$(maildatadir)" "$(DESTDIR)$(systemdsystemunitdir)"; do \ test -z "$$dir" || $(MKDIR_P) "$$dir"; \ done install: install-am @@ -378,7 +406,7 @@ info-am: -install-data-am: install-systemdsystemunitDATA +install-data-am: install-maildataDATA install-systemdsystemunitDATA install-dvi: install-dvi-am @@ -422,7 +450,7 @@ ps-am: -uninstall-am: uninstall-systemdsystemunitDATA +uninstall-am: uninstall-maildataDATA uninstall-systemdsystemunitDATA .MAKE: install-am install-strip @@ -431,12 +459,13 @@ html-am info info-am install install-am install-data \ install-data-am install-dvi install-dvi-am install-exec \ install-exec-am install-html install-html-am install-info \ - install-info-am install-man install-pdf install-pdf-am \ - install-ps install-ps-am install-strip \ + install-info-am install-maildataDATA install-man install-pdf \ + install-pdf-am install-ps install-ps-am install-strip \ install-systemdsystemunitDATA installcheck installcheck-am \ installdirs maintainer-clean maintainer-clean-generic \ mostlyclean mostlyclean-generic pdf pdf-am ps ps-am tags-am \ - uninstall uninstall-am uninstall-systemdsystemunitDATA + uninstall uninstall-am uninstall-maildataDATA \ + uninstall-systemdsystemunitDATA .PRECIOUS: Makefile diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/os-update-1.3/systemd/status-mail.conf new/os-update-1.4/systemd/status-mail.conf --- old/os-update-1.3/systemd/status-mail.conf 1970-01-01 01:00:00.000000000 +0100 +++ new/os-update-1.4/systemd/status-mail.conf 2022-11-07 15:26:11.000000000 +0100 @@ -0,0 +1,2 @@ +[Unit] +OnFailure=systemd-status-mail@%n.service diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/os-update-1.3/systemd/systemd-status-mail@.service new/os-update-1.4/systemd/systemd-status-mail@.service --- old/os-update-1.3/systemd/systemd-status-mail@.service 1970-01-01 01:00:00.000000000 +0100 +++ new/os-update-1.4/systemd/systemd-status-mail@.service 2022-11-06 21:14:28.000000000 +0100 @@ -0,0 +1,11 @@ +[Unit] +Description=Send status mail for %i +Documentation=https://wiki.archlinux.org/title/Systemd/Timers#MAILTO + +[Service] +Type=oneshot +EnvironmentFile=-/usr/etc/default/systemd-status-mail +EnvironmentFile=-/etc/default/systemd-status-mail +ExecStart=/usr/libexec/systemd-status-mail ${ADDRESS} %i +User=nobody +Group=systemd-journal