Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package speech-dispatcher for openSUSE:Factory checked in at 2022-12-15 19:24:18 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/speech-dispatcher (Old) and /work/SRC/openSUSE:Factory/.speech-dispatcher.new.1835 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "speech-dispatcher" Thu Dec 15 19:24:18 2022 rev:42 rq:1042910 version:0.11.4 Changes: -------- --- /work/SRC/openSUSE:Factory/speech-dispatcher/speech-dispatcher.changes 2022-06-28 15:21:16.685844387 +0200 +++ /work/SRC/openSUSE:Factory/.speech-dispatcher.new.1835/speech-dispatcher.changes 2022-12-15 19:24:22.275771622 +0100 @@ -1,0 +2,63 @@ +Tue Dec 13 19:23:02 UTC 2022 - Michael Gorse <mgo...@suse.com> + +- Update to version 0.11.4: + - Update CLDR to version 42 and symbols from NVDA. + - Fix audio plugin loading with dlopen. + - Fix atomicity of getting reply in threaded mode. +- Changes from 0.11.3: + - Fix back DefaultModule configuration. + - pico: Avoid falling to english when passed a bogus voice name. + - espeak: Fix setting voice type. +- Changes from 0.11.2: + - Fix loading xx-yy locales. + - Various memory leaks fixes. + - Add mimic3 configuration file. + - pico: Fix setting language vs voice. + - Make sure that modules report a list of voices. + - Update CLDR to version 41, symbols from NVDA and orca. + - Allow building without ltdl. + - Re-enable SSML in espeak-ng-mbrola module. +- Changes from 0.11.1: + - Add SPEECHD_PLUGIN_DIR environment variable. + - Fix listing voices of the default module. +- Changes from 0.11 + - Support playing audio through the server. + - modules: Add support for loading from user's + .local/libexec/speech-dispatcher. + - symbols: Process symbols.dic before emojis.dic. + - symbols: Enable speechd symbols processing by default. + - modules: Moved speech dispatcher modules to + /usr/libexec/speech-dispatcher-modules + - espeak-ng: Add support for mbrola voices. + - mary: Add auto-detection. + - mary: Add newer voices. + - mary: Add volume, pitch, and rate support. + - ivona: Add auto-detection. + - festival: Strip head silence. + - generic: Add DefaultVoice option. + - es_ES: Add some gender neutral rules. + - Add SPEECHD_CMD environment variable. + - modules: Rewrite main functions with BSD licence, to let + proprietary modules easily reuse this as a basis. + - modules: Add skeletons ready for use as a basis for new + modules. + - Add script to run speechd from the build tree. + - Update CLDR to version 39, symbols from NVDA and orca. + - Add Esperanto translation. + - Sort modules by quality, let the best quality module be the + default. +- Rebase harden_speech-dispatcherd.service.patch. + +------------------------------------------------------------------- +Tue Dec 13 19:23:02 UTC 2022 - Stefan Schubert <sch...@suse.com> + +- Migration to /usr/etc: Saving user changed configuration files + in /etc and restoring them while an RPM update. + +------------------------------------------------------------------- +Tue Dec 13 19:23:02 UTC 2022 - Johannes Segitz <jseg...@suse.com> + +- Added hardening to systemd service(s) (bsc#1181400). Added patch(es): + * harden_speech-dispatcherd.service.patch + +------------------------------------------------------------------- Old: ---- speech-dispatcher-0.10.2.tar.gz New: ---- harden_speech-dispatcherd.service.patch speech-dispatcher-0.11.4.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ speech-dispatcher.spec ++++++ --- /var/tmp/diff_new_pack.WQc7XQ/_old 2022-12-15 19:24:23.455778336 +0100 +++ /var/tmp/diff_new_pack.WQc7XQ/_new 2022-12-15 19:24:23.459778359 +0100 @@ -24,7 +24,7 @@ %define espeakdev espeak-devel %endif Name: speech-dispatcher -Version: 0.10.2 +Version: 0.11.4 Release: 0 # FIXME missing backends: festival lite, ibmeci (ibm tts), dumbtts/ivona, nas # The API and bindings are LGPL-2.1-or-later, other parts are @@ -33,8 +33,8 @@ License: GPL-2.0-or-later AND LGPL-2.1-or-later Group: System/Daemons URL: https://devel.freebsoft.org/speechd -#Source0: https://download-mirror.savannah.gnu.org/releases/speechd/%%{name}-%%{version}.tar.gz Source0: https://github.com/brailcom/speechd/releases/download/%{version}/%{name}-%{version}.tar.gz +Patch0: harden_speech-dispatcherd.service.patch # Logrotate file taken from Debian Source2: speech-dispatcher.logrotate Source99: baselibs.conf @@ -173,6 +173,7 @@ # you must enable at least one module (except dummy), otherwise it will load # all available modules and may cause huge cpu usage! sed -i "s/#AddModule \"%{espeak}\"/AddModule \"%{espeak}\"/" -i config/speechd.conf +%patch0 -p1 %build %global optflags %{optflags} -fcommon @@ -204,7 +205,6 @@ # Remove config files for modules we don't support rm %{buildroot}%{_sysconfdir}/speech-dispatcher/modules/flite.conf rm -f %{buildroot}%{_sysconfdir}/speech-dispatcher/modules/ibmtts.conf -rm %{buildroot}%{_sysconfdir}/speech-dispatcher/modules/ivona.conf # Remove config files that we don't need a second time # but then user can not create its own configuration, because here is default, while in /etc is system-wide # %%{__rm} -r %%{buildroot}%%{_datadir}/speech-dispatcher/conf/ @@ -225,6 +225,12 @@ %pre %service_add_pre speech-dispatcherd.service +%if 0%{?suse_version} > 1500 +# Prepare for migration to /usr/etc; save any old .rpmsave +for i in logrotate.d/speech-dispatcher ; do + test -f %{_sysconfdir}/${i}.rpmsave && mv -v %{_sysconfdir}/${i}.rpmsave %{_sysconfdir}/${i}.rpmsave.old ||: +done +%endif %preun %service_del_preun speech-dispatcherd.service @@ -235,6 +241,14 @@ %install_info_delete --info-dir=%{_infodir} %{_infodir}/ssip.info.gz %service_del_postun speech-dispatcherd.service +%if 0%{?suse_version} > 1500 +%posttrans +# Migration to /usr/etc, restore just created .rpmsave +for i in logrotate.d/speech-dispatcher ; do + test -f %{_sysconfdir}/${i}.rpmsave && mv -v %{_sysconfdir}/${i}.rpmsave %{_sysconfdir}/${i} ||: +done +%endif + %post -n libspeechd2 -p /sbin/ldconfig %postun -n libspeechd2 -p /sbin/ldconfig @@ -255,11 +269,11 @@ %dir %{_libdir}/speech-dispatcher %{_libdir}/speech-dispatcher/spd_*.so # When adding a module, also stop removing its config file in %%install -%dir %{_libdir}/speech-dispatcher-modules -%{_libdir}/speech-dispatcher-modules/sd_cicero -%{_libdir}/speech-dispatcher-modules/sd_dummy -%{_libdir}/speech-dispatcher-modules/sd_festival -%{_libdir}/speech-dispatcher-modules/sd_generic +%dir %{_libexecdir}/speech-dispatcher-modules +%{_libexecdir}/speech-dispatcher-modules/sd_cicero +%{_libexecdir}/speech-dispatcher-modules/sd_dummy +%{_libexecdir}/speech-dispatcher-modules/sd_festival +%{_libexecdir}/speech-dispatcher-modules/sd_generic %{_infodir}/%{name}*.info.gz %{_infodir}/spd-say.info.gz %{_infodir}/ssip.info.gz @@ -281,7 +295,8 @@ %files module-espeak %config(noreplace) %{_sysconfdir}/speech-dispatcher/modules/espeak.conf -%{_libdir}/speech-dispatcher-modules/sd_%{espeak} +%{_libexecdir}/speech-dispatcher-modules/sd_%{espeak} +%{_libexecdir}/speech-dispatcher-modules/sd_%{espeak}-mbrola %files -n libspeechd2 %{_libdir}/libspeechd.so.* ++++++ harden_speech-dispatcherd.service.patch ++++++ diff -urp speech-dispatcher-0.11.4.orig/speech-dispatcherd.service.in speech-dispatcher-0.11.4/speech-dispatcherd.service.in --- speech-dispatcher-0.11.4.orig/speech-dispatcherd.service.in 2022-09-19 11:01:23.000000000 -0500 +++ speech-dispatcher-0.11.4/speech-dispatcherd.service.in 2022-12-13 13:30:58.425482368 -0600 @@ -17,6 +17,17 @@ Description=Speech-Dispatcher, common interface to speech synthesizers [Service] +# added automatically, for details please see +# https://en.opensuse.org/openSUSE:Security_Features#Systemd_hardening_effort +ProtectSystem=full +ProtectHome=true +ProtectHostname=true +ProtectKernelTunables=true +ProtectKernelModules=true +ProtectKernelLogs=true +ProtectControlGroups=true +RestrictRealtime=true +# end of automatic additions Type=forking ExecStart=@bindir@/speech-dispatcher -d -t 0 ExecReload=/bin/kill -HUP $MAINPID ++++++ speech-dispatcher-0.10.2.tar.gz -> speech-dispatcher-0.11.4.tar.gz ++++++ /work/SRC/openSUSE:Factory/speech-dispatcher/speech-dispatcher-0.10.2.tar.gz /work/SRC/openSUSE:Factory/.speech-dispatcher.new.1835/speech-dispatcher-0.11.4.tar.gz differ: char 13, line 1