Hello community,

here is the log from the commit of package mgetty for openSUSE:Factory checked 
in at 2020-02-27 14:37:13
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/mgetty (Old)
 and      /work/SRC/openSUSE:Factory/.mgetty.new.26092 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "mgetty"

Thu Feb 27 14:37:13 2020 rev:35 rq:779522 version:1.2.1

Changes:
--------
--- /work/SRC/openSUSE:Factory/mgetty/mgetty.changes    2020-01-27 
20:17:49.432536675 +0100
+++ /work/SRC/openSUSE:Factory/.mgetty.new.26092/mgetty.changes 2020-02-27 
14:37:28.810049892 +0100
@@ -1,0 +2,25 @@
+Wed Feb 26 11:58:28 UTC 2020 - Marketa Calabkova <[email protected]>
+
+- Update to version 1.2.1
+  Changes from 1.1.37 to 1.2.0:
+  * policy.h: default MAILER to "/usr/sbin/sendmail"
+  * conf_mg.c, conf_mg.h, mgetty.c: new option "open-delay <msec>"
+  * utmp.c, mg_utmp.h: apply FreeBSD port patches to adjust to 9.x
+  * bug fixes based on static code analysis (mem leaks, buffer overruns)
+  * mgetty.c: make "dialout!" logging more useful (log dialout command)
+  * more bugfixes, features and code improvements
+  * see 
ftp://mgetty.greenie.net/pub/mgetty/source/1.2/mgetty-1.1.37-1.2.0.diff.gz
+  Changes from 1.2.0 to 1.2.1:
+  * fax/faxrunq.in, fax/faxq.in: properly quote input from JOB files,
+    avoid attack with shell metacharacters (CVE-2018-16741, bsc#1108752)
+  * contrib/scrtsc.c: remove from distribution (CVE-2018-16742, bsc#1108762)
+  * contrib/next-login/next-login.c: fix buffer overflow on username
+    (CVE-2018-16743, bsc#1108761)
+  * faxrec.c, policy.h: rework mail handling, avoid potential buffer
+    overrun by means of "mail-to" config variable (CVE-2018-16744, bsc#1108757)
+  * more bugfixes
+  * see 
ftp://mgetty.greenie.net/pub/mgetty/source/1.2/mgetty-1.2.0-1.2.1.diff.gz
+- Drop upstreamed patch 0001-Fix-build-failure-with-gcc-7.patch
+- Reapplied patch mgetty-1.1.37-makefile.patch
+
+-------------------------------------------------------------------

Old:
----
  0001-Fix-build-failure-with-gcc-7.patch
  mgetty1.1.37-Jun05.tar.gz

New:
----
  mgetty-1.2.1.tar.gz

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ mgetty.spec ++++++
--- /var/tmp/diff_new_pack.yvC91F/_old  2020-02-27 14:37:31.282054993 +0100
+++ /var/tmp/diff_new_pack.yvC91F/_new  2020-02-27 14:37:31.290055008 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package mgetty
 #
-# Copyright (c) 2020 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2020 SUSE LLC
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -17,13 +17,13 @@
 
 
 Name:           mgetty
-Version:        1.1.37
+Version:        1.2.1
 Release:        0
 Summary:        Mgetty Listens for Data, Fax, or Voice Calls on a Serial Line
 License:        GPL-2.0-or-later
 Group:          Hardware/Fax
-Url:            http://mgetty.greenie.net/
-Source0:        
ftp://mgetty.greenie.net/pub/mgetty/source/1.1/%{name}%{version}-Jun05.tar.gz
+URL:            http://mgetty.greenie.net/
+Source0:        
ftp://mgetty.greenie.net/pub/mgetty/source/1.2/mgetty-%{version}.tar.gz
 Source2:        logrotate
 Source3:        [email protected]
 Source4:        [email protected]
@@ -38,7 +38,6 @@
 Patch8:         fixpie.patch
 Patch9:         lp64.patch
 Patch10:        mgetty-1.1.36-fix-bashisms.patch
-Patch11:        0001-Fix-build-failure-with-gcc-7.patch
 Patch12:        mgetty-noroot.patch
 Patch13:        mgetty-mkdir-p.patch
 BuildRequires:  groff
@@ -102,14 +101,14 @@
 %patch8 -p1
 %patch9 -p1
 %patch10 -p1
-%patch11 -p1
 %patch12 -p1
 %patch13 -p1
+chmod +x mkidirs
 
 %build
 ln -s policy.h-dist policy.h
-make -j1 CFLAGS="%{optflags} -fPIE" LDFLAGS="-pie" CC="gcc"
-make -j1 -C voice CFLAGS="%{optflags} -fPIE -DAUTO_PPP" LDFLAGS="-pie" CC="gcc"
+%make_build -j1 CFLAGS="%{optflags} -fPIE" LDFLAGS="-pie" CC="gcc"
+%make_build -j1 -C voice CFLAGS="%{optflags} -fPIE -DAUTO_PPP" LDFLAGS="-pie" 
CC="gcc"
 
 %install
 %make_install
@@ -158,7 +157,6 @@
 %service_del_postun [email protected] [email protected]
 
 %files
-%defattr(-, root, root)
 %dir %{_sysconfdir}/mgetty+sendfax
 %doc %{_docdir}/mgetty
 %dir %{_localstatedir}/spool/voice
@@ -200,38 +198,38 @@
 %{_bindir}/voctopvf
 %{_bindir}/wavtopvf
 %{_infodir}/mgetty.info*%{ext_info}
-%{_mandir}/man1/autopvf.1%{ext_man}
-%{_mandir}/man1/basictopvf.1%{ext_man}
-%{_mandir}/man1/lintopvf.1%{ext_man}
-%{_mandir}/man1/pvf.1%{ext_man}
-%{_mandir}/man1/pvfamp.1%{ext_man}
-%{_mandir}/man1/pvfcut.1%{ext_man}
-%{_mandir}/man1/pvfecho.1%{ext_man}
-%{_mandir}/man1/pvffft.1%{ext_man}
-%{_mandir}/man1/pvffile.1%{ext_man}
-%{_mandir}/man1/pvffilter.1%{ext_man}
-%{_mandir}/man1/pvfmix.1%{ext_man}
-%{_mandir}/man1/pvfnoise.1%{ext_man}
-%{_mandir}/man1/pvfreverse.1%{ext_man}
-%{_mandir}/man1/pvfsine.1%{ext_man}
-%{_mandir}/man1/pvfspeed.1%{ext_man}
-%{_mandir}/man1/pvftoau.1%{ext_man}
-%{_mandir}/man1/pvftobasic.1%{ext_man}
-%{_mandir}/man1/pvftolin.1%{ext_man}
-%{_mandir}/man1/pvftormd.1%{ext_man}
-%{_mandir}/man1/pvftovoc.1%{ext_man}
-%{_mandir}/man1/pvftowav.1%{ext_man}
-%{_mandir}/man1/sff2g3.1%{ext_man}
-%{_mandir}/man1/rmdfile.1%{ext_man}
-%{_mandir}/man1/rmdtopvf.1%{ext_man}
-%{_mandir}/man1/voctopvf.1%{ext_man}
-%{_mandir}/man1/wavtopvf.1%{ext_man}
-%{_mandir}/man1/zplay.1%{ext_man}
-%{_mandir}/man4/mgettydefs.4%{ext_man}
-%{_mandir}/man8/callback.8%{ext_man}
-%{_mandir}/man8/faxq-helper.8%{ext_man}
-%{_mandir}/man8/mgetty.8%{ext_man}
-%{_mandir}/man8/vgetty.8%{ext_man}
+%{_mandir}/man1/autopvf.1%{?ext_man}
+%{_mandir}/man1/basictopvf.1%{?ext_man}
+%{_mandir}/man1/lintopvf.1%{?ext_man}
+%{_mandir}/man1/pvf.1%{?ext_man}
+%{_mandir}/man1/pvfamp.1%{?ext_man}
+%{_mandir}/man1/pvfcut.1%{?ext_man}
+%{_mandir}/man1/pvfecho.1%{?ext_man}
+%{_mandir}/man1/pvffft.1%{?ext_man}
+%{_mandir}/man1/pvffile.1%{?ext_man}
+%{_mandir}/man1/pvffilter.1%{?ext_man}
+%{_mandir}/man1/pvfmix.1%{?ext_man}
+%{_mandir}/man1/pvfnoise.1%{?ext_man}
+%{_mandir}/man1/pvfreverse.1%{?ext_man}
+%{_mandir}/man1/pvfsine.1%{?ext_man}
+%{_mandir}/man1/pvfspeed.1%{?ext_man}
+%{_mandir}/man1/pvftoau.1%{?ext_man}
+%{_mandir}/man1/pvftobasic.1%{?ext_man}
+%{_mandir}/man1/pvftolin.1%{?ext_man}
+%{_mandir}/man1/pvftormd.1%{?ext_man}
+%{_mandir}/man1/pvftovoc.1%{?ext_man}
+%{_mandir}/man1/pvftowav.1%{?ext_man}
+%{_mandir}/man1/sff2g3.1%{?ext_man}
+%{_mandir}/man1/rmdfile.1%{?ext_man}
+%{_mandir}/man1/rmdtopvf.1%{?ext_man}
+%{_mandir}/man1/voctopvf.1%{?ext_man}
+%{_mandir}/man1/wavtopvf.1%{?ext_man}
+%{_mandir}/man1/zplay.1%{?ext_man}
+%{_mandir}/man4/mgettydefs.4%{?ext_man}
+%{_mandir}/man8/callback.8%{?ext_man}
+%{_mandir}/man8/faxq-helper.8%{?ext_man}
+%{_mandir}/man8/mgetty.8%{?ext_man}
+%{_mandir}/man8/vgetty.8%{?ext_man}
 %{_sbindir}/mgetty
 %{_sbindir}/vgetty
 %{_sbindir}/callback
@@ -240,17 +238,15 @@
 %config %{_prefix}/lib/mgetty+sendfax/new_fax
 
 %files -n g3utils
-%defattr(-, root, root)
 %{_bindir}/g32pbm
 %{_bindir}/g3cat
 %{_bindir}/g3topbm
 %{_bindir}/pbm2g3
-%{_mandir}/man1/g32pbm.1%{ext_man}
-%{_mandir}/man1/g3cat.1%{ext_man}
-%{_mandir}/man1/pbm2g3.1%{ext_man}
+%{_mandir}/man1/g32pbm.1%{?ext_man}
+%{_mandir}/man1/g3cat.1%{?ext_man}
+%{_mandir}/man1/pbm2g3.1%{?ext_man}
 
 %files -n sendfax
-%defattr(-, root, root)
 %dir %{_sysconfdir}/mgetty+sendfax
 %dir %{_prefix}/lib/mgetty+sendfax
 %attr(755,fax,root) %dir %{_localstatedir}/spool/fax
@@ -269,14 +265,14 @@
 %attr(4750,fax,trusted) %verify(not mode group) 
%{_prefix}/lib/mgetty+sendfax/faxq-helper
 %{_prefix}/lib/mgetty+sendfax/cour25.pbm
 %{_prefix}/lib/mgetty+sendfax/cour25n.pbm
-%{_mandir}/man1/fax.1%{ext_man}
-%{_mandir}/man1/faxq.1%{ext_man}
-%{_mandir}/man1/faxrm.1%{ext_man}
-%{_mandir}/man1/faxrunq.1%{ext_man}
-%{_mandir}/man1/faxspool.1%{ext_man}
-%{_mandir}/man1/coverpg.1%{ext_man}
-%{_mandir}/man5/faxqueue.5%{ext_man}
-%{_mandir}/man8/faxrunqd.8%{ext_man}
-%{_mandir}/man8/sendfax.8%{ext_man}
+%{_mandir}/man1/fax.1%{?ext_man}
+%{_mandir}/man1/faxq.1%{?ext_man}
+%{_mandir}/man1/faxrm.1%{?ext_man}
+%{_mandir}/man1/faxrunq.1%{?ext_man}
+%{_mandir}/man1/faxspool.1%{?ext_man}
+%{_mandir}/man1/coverpg.1%{?ext_man}
+%{_mandir}/man5/faxqueue.5%{?ext_man}
+%{_mandir}/man8/faxrunqd.8%{?ext_man}
+%{_mandir}/man8/sendfax.8%{?ext_man}
 
 %changelog

++++++ mgetty-1.1.37-makefile.patch ++++++
--- /var/tmp/diff_new_pack.yvC91F/_old  2020-02-27 14:37:31.366055166 +0100
+++ /var/tmp/diff_new_pack.yvC91F/_new  2020-02-27 14:37:31.366055166 +0100
@@ -6,13 +6,13 @@
  #         USTAT         - ustat(), no statfs etc.
  #
  #CFLAGS=-Wall -O2 -pipe -DSECUREWARE -DUSE_POLL
--CFLAGS=-O2 -Wall -pipe
+-CFLAGS=-Wall -O2 -pipe
 +OPTFLAGS=-O2
 +CFLAGS=-Wall $(OPTFLAGS) -pipe -DAUTO_PPP
  #CFLAGS=-O -DSVR4
  #CFLAGS=-O -DSVR4 -DSVR42
  #CFLAGS=-O -DUSE_POLL
-@@ -123,6 +124,7 @@ CFLAGS=-O2 -Wall -pipe
+@@ -123,6 +124,7 @@ CFLAGS=-Wall -O2 -pipe
  #CFLAGS=-D_HPUX_SOURCE -Aa -DBSDSTATFS                # for HP-UX 9.x
  #CFLAGS=-cckr -D__STDC__ -O -DUSE_READ                # for IRIX 5.2 and up
  
@@ -20,7 +20,7 @@
  
  #
  # LDFLAGS specify flags to pass to the linker. You could specify
-@@ -171,7 +173,7 @@ LIBS=
+@@ -171,7 +173,7 @@ LIBS=-lutil                                        # 
FreeBSD or Linux/GNU l
  #
  # if your systems doesn't have one, use the shell script that I provide
  # in "inst.sh" (taken from X11R5). Needed on IRIX5.2
@@ -73,15 +73,6 @@
  #
  #
  # A shell that understands bourne-shell syntax
-@@ -282,7 +284,7 @@ TKPERL=/usr/bin/tkperl
- # please use the "mg.echo" program provided in the compat/ subdirectory.
- # Set ECHO="mg.echo" and INSTALL_MECHO to mg.echo
- #
--ECHO="echo"
-+ECHO="echo -e"
- #
- # INSTALL_MECHO=mg.echo
- 
 @@ -592,37 +594,37 @@ install.bin: mgetty sendfax newslock \
  #
  # binaries
@@ -357,7 +348,7 @@
 ===================================================================
 --- policy.h-dist.orig
 +++ policy.h-dist
-@@ -114,7 +114,7 @@
+@@ -123,7 +123,7 @@
  /* group id that the device is chown()ed to. If not defined, the
   * primary group of "DEVICE_OWNER" is used.
   */
@@ -366,7 +357,7 @@
  
  /* access mode for the line while getty has it - it should be accessible
   * by uucp / uucp, but not by others (imagine someone dialing into your
-@@ -256,7 +256,7 @@
+@@ -266,7 +266,7 @@
  
  /* if your system isn't listed above, change that line here */
  #ifndef LOCK
@@ -375,7 +366,7 @@
  #endif
    
  /* Set this to "1" if your system uses binary lock files (i.e., the pid
-@@ -370,7 +370,7 @@
+@@ -380,7 +380,7 @@
  /* incoming faxes will be chown()ed to this uid and gid.
   * if FAX_IN_GROUP is undefined, the group of ...OWNER is used.
   */
@@ -384,7 +375,7 @@
  /* #define FAX_IN_GROUP       "root" */
  
  /* incoming faxes will be chmod()ed to this mode
-@@ -528,7 +528,7 @@
+@@ -538,7 +538,7 @@
   * If you don't adapt this for your needs, sendfax won't run (you can
   * set it from the sendfax.config file, though)!
   */
@@ -393,15 +384,7 @@
  
  /* Xon or not?
   *
-@@ -564,14 +564,14 @@
- #endif
- 
- #ifndef MAILER
--# define MAILER               "/usr/lib/sendmail"
-+# define MAILER               "/usr/sbin/sendmail"
- # define NEED_MAIL_HEADERS
- #endif
- 
+@@ -573,7 +573,7 @@
  /* where to send notify mail about incoming faxes to
   * (remember to create an mail alias if no such user exists!)
   */
@@ -410,7 +393,7 @@
  
  /* after a fax has arrived, mgetty can call a program for further
   * processing of this fax.
-@@ -586,7 +586,7 @@
+@@ -588,7 +588,7 @@
   * If you don't want this type of service, do not define it at all
   * Absolute path name has to be used here!
   */
@@ -447,7 +430,7 @@
 --- voice/Makefile.orig
 +++ voice/Makefile
 @@ -6,6 +6,8 @@
- # $Id: Makefile,v 1.9 2006/09/26 11:57:46 gert Exp $
+ # $Id: Makefile,v 1.10 2018/03/04 19:39:56 gert Exp $
  #
  
 +DESTDIR=


Reply via email to