Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package minicom for openSUSE:Factory checked in at 2022-05-24 20:31:32 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/minicom (Old) and /work/SRC/openSUSE:Factory/.minicom.new.2254 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "minicom" Tue May 24 20:31:32 2022 rev:42 rq:978955 version:2.8 Changes: -------- --- /work/SRC/openSUSE:Factory/minicom/minicom.changes 2020-06-10 00:48:43.338993040 +0200 +++ /work/SRC/openSUSE:Factory/.minicom.new.2254/minicom.changes 2022-05-24 20:32:02.358955411 +0200 @@ -1,0 +2,37 @@ +Tue May 24 09:12:51 UTC 2022 - Dominique Leuenberger <dims...@opensuse.org> + +- Do not recommend lang package: the lang package has smarter + supplements in place (working with zypper locales). + +------------------------------------------------------------------- +Mon May 23 09:52:00 UTC 2022 - Ferdinand Thiessen <r...@fthiessen.de> + +- Replace dead URL with current upstream +- Update to version 2.8 + * New timestamp mode: Delta to previous line. + * Add HPA ESC sequence + * Add alternative window support (ti/te) + * Fix file name of non-global configuration settings. + * Update translations: Indonesian, French, Swedish, Spanish, + German, Brazilian Portuguese, Vietnamese, Polish, Danish, + Norwegian, and Serbian + * New translation: Serbian, Simplified chinese + * Fix F10 macro key used in current setups + * Add F11 and F12 for macro use + * Fixed DTR for recent systems + * Add support for RS485. + * Add --capturefile-buffer-mode option + * Bug fixes +- Drop upstream resolved patches + * fix-upstream-gcc10-build2.patch + * fix-upstream-gcc10-build3.patch + * fix-upstream-gcc10-build1.patch +- Drop minicom-2.3-no-build-date.patch, GCC now uses SOURCE_DATE_EPOCH +- Rebased minicom-2.2-defaults.diff as openSUSE-defaults.patch +- Rebased minicom-2.4-norootsetup.diff as openSUSE-no-root-setup.patch +- Add patch from upstream minicom-2.8-replace-sigrelse.patch, + replace deprecated sigrelse +- Add patch to fix undefined reference to external symbols + minicom-2.8-fix-undefined-reference.patch + +------------------------------------------------------------------- Old: ---- fix-upstream-gcc10-build1.patch fix-upstream-gcc10-build2.patch fix-upstream-gcc10-build3.patch minicom-2.2-defaults.diff minicom-2.3-no-build-date.patch minicom-2.4-norootsetup.diff minicom-2.7.1.tar.gz New: ---- minicom-2.8-fix-undefined-reference.patch minicom-2.8-replace-sigrelse.patch minicom-2.8.tar.bz2 openSUSE-defaults.patch openSUSE-no-root-setup.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ minicom.spec ++++++ --- /var/tmp/diff_new_pack.9X3EpZ/_old 2022-05-24 20:32:03.090956064 +0200 +++ /var/tmp/diff_new_pack.9X3EpZ/_new 2022-05-24 20:32:03.098956071 +0200 @@ -1,7 +1,7 @@ # # spec file for package minicom # -# Copyright (c) 2020 SUSE LLC +# Copyright (c) 2022 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -17,22 +17,24 @@ Name: minicom -Version: 2.7.1 +Version: 2.8 Release: 0 Summary: A Terminal Program License: GPL-2.0-or-later Group: Hardware/Modem -URL: http://alioth.debian.org/projects/minicom/ -Source0: https://alioth.debian.org/frs/download.php/latestfile/3/%{name}-%{version}.tar.gz -Patch0: minicom-2.2-defaults.diff +URL: https://salsa.debian.org/minicom-team/minicom +Source0: https://salsa.debian.org/minicom-team/minicom/-/archive/%{version}/minicom-%{version}.tar.bz2 +# PATCH-FIX-OPENSUSE openSUSE-defaults.patch -- Fix default settings for *SUSE +Patch0: openSUSE-defaults.patch +# PATCH-FIX-OPENSUSE openSUSE-no-root-setup.patch +Patch1: openSUSE-no-root-setup.patch Patch2: 03norzsz.diff -Patch4: minicom-2.3-no-build-date.patch -Patch5: minicom-2.4-norootsetup.diff -# PATCH-FIX-UPSTREAM increase permitted length of serial device (bnc#707860) -Patch6: minicom-2.5-serial_device_path_length.patch -Patch7: fix-upstream-gcc10-build1.patch -Patch8: fix-upstream-gcc10-build2.patch -Patch9: fix-upstream-gcc10-build3.patch +# PATCH-FIX-UPSTREAM minicom-2.5-serial_device_path_length.patch -- increase permitted length of serial device (boo#707860) +Patch3: minicom-2.5-serial_device_path_length.patch +# PATCH-FIX-UPSTREAM minicom-2.8-replace-sigrelse.patch -- Replace deprecated sigrelse https://salsa.debian.org/minicom-team/minicom/-/commit/c43a18c25b09f6968219f3ecbaec7215e804838d +Patch4: minicom-2.8-replace-sigrelse.patch +# PATCH-FIX-UPSTREAM fix-undefined-reference.patch -- Fix undefined reference to external COLS and LINES +Patch5: minicom-2.8-fix-undefined-reference.patch BuildRequires: ckermit BuildRequires: gettext-devel BuildRequires: lockdev-devel @@ -41,7 +43,6 @@ Requires: ckermit Requires: rzsz Requires(pre): group(uucp) -Recommends: %{name}-lang BuildRoot: %{_tmppath}/%{name}-%{version}-build %description @@ -54,15 +55,7 @@ %lang_package %prep -%setup -q -%patch0 -%patch2 -p1 -%patch4 -%patch5 -p1 -%patch6 -p1 -%patch7 -p1 -%patch8 -p1 -%patch9 -p1 +%autosetup -p1 %build export CFLAGS="%{optflags} $(ncursesw6-config --cflags)" @@ -74,15 +67,15 @@ --enable-dfl-port=/dev/modem \ --enable-socket \ --enable-cfg-dir=%{_sysconfdir} -make %{?_smp_mflags} +%make_build %install -make DESTDIR=%{buildroot} install %{?_smp_mflags} +%make_install %find_lang %{name} %files -%defattr(644,root,root,755) -%doc doc/minicom.FAQ AUTHORS COPYING NEWS README +%license COPYING +%doc doc/minicom.FAQ AUTHORS NEWS README %attr(0755,root,root) %{_bindir}/ascii-xfr %attr(0755,root,uucp) %{_bindir}/minicom %attr(0755,root,root) %{_bindir}/runscript @@ -93,6 +86,5 @@ %{_mandir}/man1/runscript.1.gz %files lang -f %{name}.lang -%defattr(-,root,root) %changelog ++++++ 03norzsz.diff ++++++ --- /var/tmp/diff_new_pack.9X3EpZ/_old 2022-05-24 20:32:03.122956093 +0200 +++ /var/tmp/diff_new_pack.9X3EpZ/_new 2022-05-24 20:32:03.126956096 +0200 @@ -1,6 +1,9 @@ ---- minicom-2.2.orig/src/updown.c 2005-08-14 22:39:30.000000000 +0200 -+++ minicom-2.2/src/updown.c 2006-10-18 16:48:34.000000000 +0200 -@@ -355,6 +355,22 @@ +https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=111060 + +diff -Nur minicom-2.8/src/updown.c new/src/updown.c +--- minicom-2.8/src/updown.c 2021-01-01 18:45:55.000000000 +0100 ++++ new/src/updown.c 2022-05-23 15:41:51.964337441 +0200 +@@ -427,6 +427,22 @@ mcd(""); timer_update(); ++++++ minicom-2.5-serial_device_path_length.patch ++++++ --- /var/tmp/diff_new_pack.9X3EpZ/_old 2022-05-24 20:32:03.138956107 +0200 +++ /var/tmp/diff_new_pack.9X3EpZ/_new 2022-05-24 20:32:03.142956110 +0200 @@ -1,7 +1,8 @@ -Index: minicom-2.6.2/src/configsym.h -=================================================================== ---- minicom-2.6.2.orig/src/configsym.h -+++ minicom-2.6.2/src/configsym.h +https://bugzilla.opensuse.org/show_bug.cgi?id=707860 + +diff -Nur minicom-2.8/src/configsym.h new/src/configsym.h +--- minicom-2.8/src/configsym.h 2021-01-01 18:45:55.000000000 +0100 ++++ new/src/configsym.h 2022-05-23 15:33:17.417821951 +0200 @@ -35,7 +35,7 @@ * jl 10.02.2000 parameter P_STOPB */ @@ -11,17 +12,4 @@ struct pars { /* value is first, so that (char *)mpars[0] == mpars[0].value */ -Index: minicom-2.6.2/src/config.c -=================================================================== ---- minicom-2.6.2.orig/src/config.c -+++ minicom-2.6.2/src/config.c -@@ -567,7 +567,7 @@ static void doserial(void) - mc_wclose(w, 1); - return; - case 'A': -- pgets(w, mbslen (serial_device) + 1, 0, P_PORT, 64, 64, 1); -+ pgets(w, mbslen (serial_device) + 1, 0, P_PORT, PARS_VAL_LEN, PARS_VAL_LEN, 1); - break; - #if !HAVE_LOCKDEV - case 'B': ++++++ minicom-2.8-fix-undefined-reference.patch ++++++ diff -Nur minicom-2.8/src/window.c new/src/window.c --- minicom-2.8/src/window.c 2021-01-01 18:45:55.000000000 +0100 +++ new/src/window.c 2022-05-23 15:02:34.468812231 +0200 @@ -58,6 +58,8 @@ #define swap(x, y) { int d = (x); (x) = (y); (y) = d; } +int COLS = 0; +int LINES = 0; /* Terminal capabilities */ static const char *CM, *IS, *RS, *AC, *EA; static const char *ME, *SE, *UE, *AE; ++++++ minicom-2.8-replace-sigrelse.patch ++++++ diff -Nur minicom-2.8/src/minicom.c new/src/minicom.c --- minicom-2.8/src/minicom.c 2021-01-01 18:45:55.000000000 +0100 +++ new/src/minicom.c 2022-05-23 15:26:20.715784798 +0200 @@ -1544,7 +1544,10 @@ #endif /* On some Linux systems SIGALRM is masked by default. Unmask it */ - sigrelse(SIGALRM); + sigset_t ss; + sigemptyset(&ss); + sigaddset(&ss, SIGALRM); + sigprocmask(SIG_UNBLOCK, &ss, NULL); keyboard(KINSTALL, 0); diff -Nur minicom-2.8/src/script.c new/src/script.c --- minicom-2.8/src/script.c 2021-01-01 18:45:55.000000000 +0100 +++ new/src/script.c 2022-05-23 15:26:56.547959973 +0200 @@ -1092,8 +1092,11 @@ #if 0 /* Shouldn't need this.. */ signal(SIGHUP, SIG_IGN); #endif - /* On some Linux systems SIGALRM is masked by default. Unmask it */ - sigrelse(SIGALRM); + /* On some Linux systems SIGALRM is masked by default. Unmask it */ + sigset_t ss; + sigemptyset(&ss); + sigaddset(&ss, SIGALRM); + sigprocmask(SIG_UNBLOCK, &ss, NULL); /* initialize locale support */ setlocale(LC_ALL, ""); ++++++ minicom-2.7.1.tar.gz -> minicom-2.8.tar.bz2 ++++++ ++++ 64034 lines of diff (skipped) ++++++ openSUSE-defaults.patch ++++++ diff -Nur minicom-2.8/src/rwconf.c new/src/rwconf.c --- minicom-2.8/src/rwconf.c 2021-01-01 18:45:55.000000000 +0100 +++ new/src/rwconf.c 2022-05-23 15:15:30.440605764 +0200 @@ -80,8 +80,8 @@ { "", 0, "pname12" }, { "sz -vv -b", 0, "pprog1" }, { "sb -vv", 0, "pprog2" }, - { "sx -vv", 0, "pprog3" }, - { "rz -vv -b -E", 0, "pprog4" }, + { "sz -X -vv", 0, "pprog3" }, + { "rz -vv -b", 0, "pprog4" }, { "rb -vv", 0, "pprog5" }, { "rx -vv", 0, "pprog6" }, { "kermit -i -l %l -b %b -s", 0, "pprog7" }, @@ -135,7 +135,7 @@ { "BS", 0, "backspace" }, { N_("enabled"), 0, "statusline" }, { N_("Yes"), 0, "hasdcd" }, - { N_("Yes"), 0, "rtscts" }, + { N_("No"), 0, "rtscts" }, { N_("No"), 0, "xonxoff" }, { "D", 0, "zauto" }, ++++++ openSUSE-no-root-setup.patch ++++++ diff -Nur minicom-2.8/src/config.c new/src/config.c --- minicom-2.8/src/config.c 2021-01-01 18:45:55.000000000 +0100 +++ new/src/config.c 2022-05-23 15:22:59.218799729 +0200 @@ -1372,7 +1372,7 @@ int dodflsave(void) { FILE *fp; - char *fname = dosetup ? parfile : pparfile; + char *fname = getuid() == 0 ? parfile : pparfile; if ((fp = fopen(fname, "w")) == NULL) { werror(_("Cannot write to %s"), fname); @@ -1427,7 +1427,7 @@ s = input(_("Give name to save this configuration?"), ifile, sizeof(ifile)); if (s != (char *)0 && *s != 0) { if (dosetup) { - snprintf(parfile, sizeof(parfile), "%s/minirc.%s", CONFDIR, s); + snprintf(pparfile, sizeof(pparfile), "%s/.minirc.%s", homedir, s); } else { snprintf(pparfile, sizeof(pparfile), "%s/.minirc.%s", homedir, s); }