Hello community,

here is the log from the commit of package mgetty for openSUSE:Factory checked 
in at 2017-06-12 15:34:21
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/mgetty (Old)
 and      /work/SRC/openSUSE:Factory/.mgetty.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "mgetty"

Mon Jun 12 15:34:21 2017 rev:33 rq:502806 version:1.1.37

Changes:
--------
--- /work/SRC/openSUSE:Factory/mgetty/mgetty.changes    2017-03-12 
20:04:33.225055569 +0100
+++ /work/SRC/openSUSE:Factory/.mgetty.new/mgetty.changes       2017-06-12 
15:34:26.795310292 +0200
@@ -1,0 +2,29 @@
+Wed Jun  7 16:23:52 CEST 2017 - [email protected]
+
+- Update to version 1.1.37:
+ * faxspool: implement "-t hh:mm-hh:mm" time-range syntax, add
+   @DATE +<format>@ to faxheader processing
+ * faxq: properly display queued jobs with time-range field
+ * faxrunqd: correctly handle jobs running out of the end of their
+   sent-time window.
+   INCOMPATIBLE CHANGE: Changes handling of "-t hh:mm" to
+   "from hh:mm to midnight"
+ * microcom: improve read-from-device exception handling
+ * sendfax: send NSF frame on reception,
+   new option reset-after-fail
+ * faxrunqd: enhance and clarify per-modem statistics
+- New build fixes (mgetty-noroot.patch, mgetty-mkdir-p.patch).
+- Update patches
+  (mgetty-1.1.36-callback.patch -> mgetty-1.1.37-callback.patch,
+   mgetty-1.1.36-makefile.patch -> mgetty-1.1.37-makefile.patch).
+
+-------------------------------------------------------------------
+Mon Jun  5 08:45:15 UTC 2017 - [email protected]
+
+- Cleanup a bit with spec-cleaner
+- Remove few rpmlint warnings and reduce the deps to contain only
+  what is needed
+- Add patch to build with gcc7 0001-Fix-build-failure-with-gcc-7.patch
+  bsc#1041290
+
+-------------------------------------------------------------------

Old:
----
  mgetty-1.1.36-callback.patch
  mgetty-1.1.36-makefile.patch
  mgetty1.1.36-Jun15.tar.bz2

New:
----
  0001-Fix-build-failure-with-gcc-7.patch
  mgetty-1.1.37-callback.patch
  mgetty-1.1.37-makefile.patch
  mgetty-mkdir-p.patch
  mgetty-noroot.patch
  mgetty1.1.37-Jun05.tar.gz

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

Other differences:
------------------
++++++ mgetty.spec ++++++
--- /var/tmp/diff_new_pack.rwNdup/_old  2017-06-12 15:34:27.955146707 +0200
+++ /var/tmp/diff_new_pack.rwNdup/_new  2017-06-12 15:34:27.959146143 +0200
@@ -17,40 +17,39 @@
 
 
 Name:           mgetty
-BuildRequires:  netpbm
-BuildRequires:  texlive
-# allow postinst script to succeed
-BuildRequires:  pwdutils
-%if 0%{suse_version} > 1220
-BuildRequires:  makeinfo
-BuildRequires:  systemd-rpm-macros
-%systemd_requires
-%endif
-Version:        1.1.36
+Version:        1.1.37
 Release:        0
-PreReq:         %install_info_prereq filesystem
-Requires:       g3utils
-Recommends:     logrotate
-Url:            http://mgetty.greenie.net/
 Summary:        Mgetty Listens for Data, Fax, or Voice Calls on a Serial Line
 License:        GPL-2.0+
 Group:          Hardware/Fax
-Source0:        %{name}%{version}-Jun15.tar.bz2
+Url:            http://mgetty.greenie.net/
+Source0:        
ftp://mgetty.greenie.net/pub/mgetty/source/1.1/%{name}%{version}-Jun05.tar.gz
 Source2:        logrotate
 Source3:        [email protected]
 Source4:        [email protected]
-Patch0:         %{name}-%{version}-makefile.patch
-Patch1:         %{name}-%{version}-local.patch
-Patch2:         %{name}-%{version}-tempfile.patch
-Patch3:         %{name}-%{version}-callback.patch
-Patch4:         %{name}-%{version}-specialdigits.patch
-Patch5:         %{name}-%{version}-implicit-fortify-decl.patch
+Patch0:         mgetty-1.1.37-makefile.patch
+Patch1:         mgetty-1.1.36-local.patch
+Patch2:         mgetty-1.1.36-tempfile.patch
+Patch3:         mgetty-1.1.37-callback.patch
+Patch4:         mgetty-1.1.36-specialdigits.patch
+Patch5:         mgetty-1.1.36-implicit-fortify-decl.patch
 Patch6:         mgetty-1.1.36-no-date-time.patch
 Patch7:         bug646280.patch
 Patch8:         fixpie.patch
 Patch9:         lp64.patch
-Patch10:        %{name}-1.1.36-fix-bashisms.patch
-BuildRoot:      %{_tmppath}/%{name}-%{version}-build
+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
+BuildRequires:  makeinfo
+BuildRequires:  netpbm
+BuildRequires:  systemd-rpm-macros
+Requires:       g3utils
+Requires(post): %{install_info_prereq}
+Requires(postun): %{install_info_prereq}
+Recommends:     logrotate
+%systemd_requires
 
 %description
 This package turns your computer into a fax machine. With some voice
@@ -60,18 +59,20 @@
 Mgetty recognizes what kind of call it is receiving and does everything
 else automatically. It is able to accept data (login/PPP), fax, and
 (depending on your modem) voice calls. Find the documentation in
-/usr/share/doc/packages/mgetty and TeX Info files in /usr/share/info.
+%{_docdir}/mgetty and TeX Info files in %{_datadir}/info.
 
-The configuration files are in /etc/mgetty+sendfax.
+The configuration files are in %{_sysconfdir}/mgetty+sendfax.
 
 %package -n sendfax
-Conflicts:      hylafax
-Requires:       g3utils
-Requires:       mgetty
 Summary:        A Tool for Sending Fax Documents
 Group:          Hardware/Fax
+Requires:       g3utils
+Requires:       mgetty
+Requires(pre):  group(uucp)
+Requires(pre):  permissions
+Requires(pre):  shadow
+Conflicts:      hylafax
 Provides:       fax_daemon
-Requires(pre):  shadow permissions group(uucp)
 
 %description -n sendfax
 The sendfax part of mgetty. You can use it instead of hylafax for
@@ -88,7 +89,6 @@
 
 The g3utils are included in the mgetty source package.
 
-
 %prep
 %setup -q
 %patch0
@@ -102,40 +102,37 @@
 %patch8 -p1
 %patch9 -p1
 %patch10 -p1
+%patch11 -p1
+%patch12 -p1
+%patch13 -p1
 
 %build
 ln -s policy.h-dist policy.h
-make CFLAGS="$RPM_OPT_FLAGS -fPIE" LDFLAGS="-pie" CC="%__cc"
-make -C voice CFLAGS="$RPM_OPT_FLAGS -fPIE -DAUTO_PPP" LDFLAGS="-pie" 
CC="%__cc"
+make -j1 CFLAGS="%{optflags} -fPIE" LDFLAGS="-pie" CC="gcc"
+make -j1 -C voice CFLAGS="%{optflags} -fPIE -DAUTO_PPP" LDFLAGS="-pie" CC="gcc"
 
 %install
-%{_sbindir}/useradd -r -o -g uucp -u 33 -s /bin/bash -c "Facsimile agent" -d 
%{_localstatedir}/spool/fax fax 2> /dev/null || :
-make install DESTDIR=$RPM_BUILD_ROOT
-install samples/new_fax.mail 
$RPM_BUILD_ROOT%{_sysconfdir}/mgetty+sendfax/new_fax
-ln -sf ../../..%{_sysconfdir}/mgetty+sendfax/new_fax 
$RPM_BUILD_ROOT%{_prefix}/lib/mgetty+sendfax/
-make install -C voice DESTDIR=$RPM_BUILD_ROOT
-install -m 644 voice/voice.conf-dist 
$RPM_BUILD_ROOT%{_sysconfdir}/mgetty+sendfax/voice.conf
-mkdir -p $RPM_BUILD_ROOT%{_localstatedir}/spool/voice/{incoming,messages} 
$RPM_BUILD_ROOT%{_docdir}/mgetty/voice
-install -m 644 [BFRT]* doc/ttyS-cua.txt $RPM_BUILD_ROOT%{_docdir}/mgetty/
-install -m 644 voice/[ART]* voice/doc/* $RPM_BUILD_ROOT%{_docdir}/mgetty/voice/
-mkdir -p $RPM_BUILD_ROOT%{_docdir}/mgetty/samples
-for name in samples/*; do if test ! -d $name; then install -m644 $name 
$RPM_BUILD_ROOT%{_docdir}/mgetty/samples; fi; done
-mkdir -p $RPM_BUILD_ROOT%{_docdir}/mgetty/samples/new_fax.all
-install -m 644 samples/new_fax.all/* 
$RPM_BUILD_ROOT%{_docdir}/mgetty/samples/new_fax.all/
-cd voice && cp -R scripts $RPM_BUILD_ROOT%{_docdir}/mgetty/voice/
-chmod 755 $RPM_BUILD_ROOT%{_docdir}/mgetty/voice/scripts/*
-#cp -pf %{_prefix}/X11R6/bin/pbmtext $RPM_BUILD_ROOT%{_bindir}/
-mkdir -p $RPM_BUILD_ROOT%{_sysconfdir}/logrotate.d
-install -m 644 %{S:2} $RPM_BUILD_ROOT%{_sysconfdir}/logrotate.d/mgetty
-%if 0%{?suse_version} > 1220
+%make_install
+install samples/new_fax.mail %{buildroot}%{_sysconfdir}/mgetty+sendfax/new_fax
+ln -sf ../../..%{_sysconfdir}/mgetty+sendfax/new_fax 
%{buildroot}%{_prefix}/lib/mgetty+sendfax/
+make install -C voice DESTDIR=%{buildroot}
+install -m 644 voice/voice.conf-dist 
%{buildroot}%{_sysconfdir}/mgetty+sendfax/voice.conf
+mkdir -p %{buildroot}%{_localstatedir}/spool/voice/{incoming,messages} 
%{buildroot}%{_docdir}/mgetty/voice
+install -m 644 [BFRT]* doc/ttyS-cua.txt %{buildroot}%{_docdir}/mgetty/
+install -m 644 voice/[ART]* voice/doc/* %{buildroot}%{_docdir}/mgetty/voice/
+mkdir -p %{buildroot}%{_docdir}/mgetty/samples
+for name in samples/*; do if test ! -d $name; then install -m644 $name 
%{buildroot}%{_docdir}/mgetty/samples; fi; done
+mkdir -p %{buildroot}%{_docdir}/mgetty/samples/new_fax.all
+install -m 644 samples/new_fax.all/* 
%{buildroot}%{_docdir}/mgetty/samples/new_fax.all/
+cd voice && cp -R scripts %{buildroot}%{_docdir}/mgetty/voice/
+chmod 644 %{buildroot}%{_docdir}/mgetty/voice/scripts/*
+mkdir -p %{buildroot}%{_sysconfdir}/logrotate.d
+install -m 644 %{SOURCE2} %{buildroot}%{_sysconfdir}/logrotate.d/mgetty
 install -D -m 0644  %{SOURCE3} %{buildroot}/%{_unitdir}/[email protected]
 install -D -m 0644  %{SOURCE4} %{buildroot}/%{_unitdir}/[email protected]
-%endif
 
 %pre
-%if 0%{?suse_version} > 1220
 %service_add_pre [email protected] [email protected]
-%endif
 
 %pre -n sendfax
 %{_sbindir}/useradd -r -o -g uucp -u 33 -s /bin/bash -c "Facsimile agent" -d 
%{_localstatedir}/spool/fax fax 2> /dev/null || :
@@ -145,25 +142,20 @@
 
 %post -n sendfax
 %set_permissions  %{_localstatedir}/spool/fax/outgoing
+
 %verifyscript -n sendfax
 %verify_permissions -e %{_localstatedir}/spool/fax/outgoing
 
 %post
-%install_info --info-dir=%{_infodir} %{_infodir}/%{name}.info.gz
-%if 0%{?suse_version} > 1220
+%install_info --info-dir=%{_infodir} %{_infodir}/%{name}.info%{ext_info}
 %service_add_post [email protected] [email protected]
-%endif
 
 %preun
-%if 0%{?suse_version} > 1220
 %service_del_preun [email protected] [email protected]
-%endif
 
 %postun
-%install_info_delete --info-dir=%{_infodir} %{_infodir}/%{name}.info.gz
-%if 0%{?suse_version} > 1220
+%install_info_delete --info-dir=%{_infodir} %{_infodir}/%{name}.info%{ext_info}
 %service_del_postun [email protected] [email protected]
-%endif
 
 %files
 %defattr(-, root, root)
@@ -172,10 +164,8 @@
 %dir %{_localstatedir}/spool/voice
 %dir %{_localstatedir}/spool/voice/incoming
 %dir %{_localstatedir}/spool/voice/messages
-%if 0%{?suse_version} > 1220
 %{_unitdir}/[email protected]
 %{_unitdir}/[email protected]
-%endif
 %config(noreplace) %{_sysconfdir}/logrotate.d/mgetty
 %config(noreplace) %{_sysconfdir}/mgetty+sendfax/dialin.config
 %config(noreplace) %{_sysconfdir}/mgetty+sendfax/login.config
@@ -209,39 +199,39 @@
 %{_bindir}/vm
 %{_bindir}/voctopvf
 %{_bindir}/wavtopvf
-%doc %{_infodir}/mgetty.info*.gz
-%doc %{_mandir}/man1/autopvf.1.gz
-%doc %{_mandir}/man1/basictopvf.1.gz
-%doc %{_mandir}/man1/lintopvf.1.gz
-%doc %{_mandir}/man1/pvf.1.gz
-%doc %{_mandir}/man1/pvfamp.1.gz
-%doc %{_mandir}/man1/pvfcut.1.gz
-%doc %{_mandir}/man1/pvfecho.1.gz
-%doc %{_mandir}/man1/pvffft.1.gz
-%doc %{_mandir}/man1/pvffile.1.gz
-%doc %{_mandir}/man1/pvffilter.1.gz
-%doc %{_mandir}/man1/pvfmix.1.gz
-%doc %{_mandir}/man1/pvfnoise.1.gz
-%doc %{_mandir}/man1/pvfreverse.1.gz
-%doc %{_mandir}/man1/pvfsine.1.gz
-%doc %{_mandir}/man1/pvfspeed.1.gz
-%doc %{_mandir}/man1/pvftoau.1.gz
-%doc %{_mandir}/man1/pvftobasic.1.gz
-%doc %{_mandir}/man1/pvftolin.1.gz
-%doc %{_mandir}/man1/pvftormd.1.gz
-%doc %{_mandir}/man1/pvftovoc.1.gz
-%doc %{_mandir}/man1/pvftowav.1.gz
-%doc %{_mandir}/man1/sff2g3.1.gz
-%doc %{_mandir}/man1/rmdfile.1.gz
-%doc %{_mandir}/man1/rmdtopvf.1.gz
-%doc %{_mandir}/man1/voctopvf.1.gz
-%doc %{_mandir}/man1/wavtopvf.1.gz
-%doc %{_mandir}/man1/zplay.1.gz
-%doc %{_mandir}/man4/mgettydefs.4.gz
-%doc %{_mandir}/man8/callback.8.gz
-%doc %{_mandir}/man8/faxq-helper.8.gz
-%doc %{_mandir}/man8/mgetty.8.gz
-%doc %{_mandir}/man8/vgetty.8.gz
+%{_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}
 %{_sbindir}/mgetty
 %{_sbindir}/vgetty
 %{_sbindir}/callback
@@ -255,9 +245,9 @@
 %{_bindir}/g3cat
 %{_bindir}/g3topbm
 %{_bindir}/pbm2g3
-%doc %{_mandir}/man1/g32pbm.1.gz
-%doc %{_mandir}/man1/g3cat.1.gz
-%doc %{_mandir}/man1/pbm2g3.1.gz
+%{_mandir}/man1/g32pbm.1%{ext_man}
+%{_mandir}/man1/g3cat.1%{ext_man}
+%{_mandir}/man1/pbm2g3.1%{ext_man}
 
 %files -n sendfax
 %defattr(-, root, root)
@@ -266,7 +256,6 @@
 %attr(755,fax,root) %dir %{_localstatedir}/spool/fax
 %dir %{_localstatedir}/spool/fax/incoming
 %attr(755,fax,root) %verify(not mode) %dir %{_localstatedir}/spool/fax/outgoing
-#%dir %{_localstatedir}/spool/fax/outgoing/locks
 %config(noreplace) %{_sysconfdir}/mgetty+sendfax/faxheader
 %config(noreplace) %{_sysconfdir}/mgetty+sendfax/faxrunq.config
 %config(noreplace) %{_sysconfdir}/mgetty+sendfax/sendfax.config
@@ -275,20 +264,19 @@
 %{_bindir}/faxrm
 %{_bindir}/faxrunq
 %{_bindir}/faxspool
-#%{_bindir}/pbmtext
 %{_sbindir}/faxrunqd
 %{_sbindir}/sendfax
 %attr(4711,fax,root) %{_prefix}/lib/mgetty+sendfax/faxq-helper
 %{_prefix}/lib/mgetty+sendfax/cour25.pbm
 %{_prefix}/lib/mgetty+sendfax/cour25n.pbm
-%doc %{_mandir}/man1/fax.1.gz
-%doc %{_mandir}/man1/faxq.1.gz
-%doc %{_mandir}/man1/faxrm.1.gz
-%doc %{_mandir}/man1/faxrunq.1.gz
-%doc %{_mandir}/man1/faxspool.1.gz
-%doc %{_mandir}/man1/coverpg.1.gz
-%doc %{_mandir}/man5/faxqueue.5.gz
-%doc %{_mandir}/man8/faxrunqd.8.gz
-%doc %{_mandir}/man8/sendfax.8.gz
+%{_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

++++++ 0001-Fix-build-failure-with-gcc-7.patch ++++++
>From 09227cacda77d7785e864c0fec3854c22b3273f7 Mon Sep 17 00:00:00 2001
From: Michal Sekletar <[email protected]>
Date: Thu, 2 Mar 2017 09:25:45 +0100
Subject: [PATCH] Fix build failure with gcc-7

When function is declared inline but it is not static then compiler
assumes it could be potentially called from other translation
units. Hence it will inline the function within the translation unit and
at the same time it will generate object code for function with external
linkage. However both extern and inline variant *must* be the same and
therefore such function can not use any variables with static storage
duration. In our case functions in g3cat.c and pbm2g3.c are not called
from other translation units hence it is fine to mark then explicitly as
static and compiler won't generate other (problematic) extern variant.
---
 g3/g3cat.c  | 8 ++++----
 g3/pbm2g3.c | 8 ++++----
 2 files changed, 8 insertions(+), 8 deletions(-)

diff --git a/g3/g3cat.c b/g3/g3cat.c
index 8a4b708..1951210 100644
--- a/g3/g3cat.c
+++ b/g3/g3cat.c
@@ -44,7 +44,7 @@ static int b_written = 0;             /* bytes of a line 
already */
                                        /* written */
 
 #ifdef __GNUC__
-inline
+static inline
 #endif
 void putcode _P2( (code, len), int code, int len )
 {
@@ -67,7 +67,7 @@ void putcode _P2( (code, len), int code, int len )
 }
 
 #ifdef __GNUC__
-inline
+static inline
 #endif
 void putwhitespan _P1( (l), int l )
 {
@@ -98,7 +98,7 @@ void putwhitespan _P1( (l), int l )
 }
 
 #ifdef __GNUC__
-inline
+static inline
 #endif
 void putblackspan _P1( (l), int l )
 {
@@ -129,7 +129,7 @@ void putblackspan _P1( (l), int l )
 }
 
 #ifdef __GNUC__
-inline
+static inline
 #endif
 void puteol _P0( void )                        /* write byte-aligned EOL */
 {
diff --git a/g3/pbm2g3.c b/g3/pbm2g3.c
index 283a728..57cb69a 100644
--- a/g3/pbm2g3.c
+++ b/g3/pbm2g3.c
@@ -40,7 +40,7 @@ static unsigned int out_hibit = 0;
 static int out_byte_tab[ 256 ];                        /* for g3 byte reversal 
*/
 
 #ifdef __GNUC__
-inline
+static inline
 #endif
 void putcode _P2( (code, len), int code, int len )
 {
@@ -60,7 +60,7 @@ void putcode _P2( (code, len), int code, int len )
 }
 
 #ifdef __GNUC__
-inline
+static inline
 #endif
 void puteol _P0( void )                        /* write byte-aligned EOL */
 {
@@ -69,7 +69,7 @@ void puteol _P0( void )                       /* write 
byte-aligned EOL */
 }
 
 #ifdef __GNUC__
-inline
+static inline
 #endif
 void putwhitespan _P1( (l), int l )
 {
@@ -100,7 +100,7 @@ void putwhitespan _P1( (l), int l )
 }
 
 #ifdef __GNUC__
-inline
+static inline
 #endif
 void putblackspan _P1( (l), int l )
 {
-- 
2.9.3

++++++ mgetty-1.1.36-callback.patch -> mgetty-1.1.37-callback.patch ++++++
--- /work/SRC/openSUSE:Factory/mgetty/mgetty-1.1.36-callback.patch      
2011-09-23 02:13:00.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.mgetty.new/mgetty-1.1.37-callback.patch 
2017-06-12 15:34:26.423362752 +0200
@@ -1,8 +1,8 @@
-Index: mgetty-1.1.35/callback/callback.config
-================================================================================
---- mgetty-1.1.36/Makefile
-+++ mgetty-1.1.36/Makefile
-@@ -578,7 +578,7 @@
+Index: mgetty-1.1.37/Makefile
+===================================================================
+--- mgetty-1.1.37.orig/Makefile
++++ mgetty-1.1.37/Makefile
+@@ -590,7 +590,7 @@ bindist: all doc-all sedscript
  install: install.bin install.doc
  
  install.bin: mgetty sendfax newslock \
@@ -11,27 +11,23 @@
  #
  # binaries
  #
-@@ -590,6 +590,9 @@
-       -mv -f $(DESTDIR)$(SBINDIR)/sendfax $(DESTDIR)$(SBINDIR)/sendfax.old
-       $(INSTALL) -m 700 mgetty $(DESTDIR)$(SBINDIR)
-       $(INSTALL) -m 755 sendfax $(DESTDIR)$(SBINDIR)
-+
-+      -mv -f $(DESTDIR)$(SBINDIR)/callback $(DESTDIR)$(SBINDIR)/callback.old
-+      $(INSTALL) -m 755 callback/callback $(DESTDIR)$(SBINDIR)
+@@ -602,8 +602,15 @@ install.bin: mgetty sendfax newslock \
+               mv -f $(DESTDIR)$(SBINDIR)/mgetty 
$(DESTDIR)$(SBINDIR)/mgetty.old ; fi
+       if [ -f $(DESTDIR)$(SBINDIR)/sendfax ] ; then \
+               mv -f $(DESTDIR)$(SBINDIR)/sendfax 
$(DESTDIR)$(SBINDIR)/sendfax.old ; fi
++      if [ -f $(DESTDIR)$(SBINDIR)/callback ] ; then \
++              mv -f $(DESTDIR)$(SBINDIR)/callback 
$(DESTDIR)$(SBINDIR)/callback.old ; fi
++      if [ -f $(DESTDIR)$(CONFDIR)/callback.config ] ; then \
++              mv -f $(DESTDIR)$(CONFDIR)/callback.config 
$(DESTDIR)$(CONFDIR)/callback.config.old ; fi
+       $(INSTALL) -s -m 700 mgetty $(DESTDIR)$(SBINDIR)
+       $(INSTALL) -s -m 755 sendfax $(DESTDIR)$(SBINDIR)
++      $(INSTALL) -s -m 755 callback/callback $(DESTDIR)$(SBINDIR)
++      $(INSTALL) -d $(DESTDIR)$(CONFDIR)
++      $(INSTALL) -m 755 callback/callback.config $(DESTDIR)$(CONFDIR)
  #
  # data files + directories
  #
-@@ -607,6 +610,9 @@
-               $(INSTALL) -m 600 dialin.config $(DESTDIR)$(CONFDIR)/
-       test -f $(DESTDIR)$(CONFDIR)/faxrunq.config || \
-               $(INSTALL) -m 644 faxrunq.config $(DESTDIR)$(CONFDIR)/
-+
-+      test -f $(DESTDIR)$(CONFDIR)/callback.config || \
-+              $(INSTALL) -m 644 callback/callback.config $(DESTDIR)$(CONFDIR)/
- #
- # test for outdated stuff
- #
-@@ -644,6 +650,15 @@
+@@ -660,6 +667,15 @@ install.bin: mgetty sendfax newslock \
                                BINDIR=$(BINDIR) SBINDIR=$(SBINDIR) \
                                LIBDIR=$(LIBDIR) CONFDIR=$(CONFDIR)
  #
@@ -47,9 +43,11 @@
  # compatibility
  #
        if [ ! -z "$(INSTALL_MECHO)" ] ; then \
---- mgetty-1.1.36/callback/Makefile
-+++ mgetty-1.1.36/callback/Makefile
-@@ -37,7 +37,7 @@
+Index: mgetty-1.1.37/callback/Makefile
+===================================================================
+--- mgetty-1.1.37.orig/callback/Makefile
++++ mgetty-1.1.37/callback/Makefile
+@@ -37,7 +37,7 @@ clean:
  # install programs
  #
  install: all
@@ -59,9 +57,11 @@
 +      #$(INSTALL) -m 4755 ct $(DESTDIR)$(BINDIR)
  
  # source modules
---- mgetty-1.1.36/callback/callback.config
-+++ mgetty-1.1.36/callback/callback.config
-@@ -8,3 +8,15 @@
+Index: mgetty-1.1.37/callback/callback.config
+===================================================================
+--- mgetty-1.1.37.orig/callback/callback.config
++++ mgetty-1.1.37/callback/callback.config
+@@ -8,3 +8,15 @@ retry-time 30
  max-time 90
  debug 9
  dial-prefix ATX3D

++++++ mgetty-1.1.36-makefile.patch -> mgetty-1.1.37-makefile.patch ++++++
--- /work/SRC/openSUSE:Factory/mgetty/mgetty-1.1.36-makefile.patch      
2011-09-23 02:13:00.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.mgetty.new/mgetty-1.1.37-makefile.patch 
2017-06-12 15:34:26.531347522 +0200
@@ -1,16 +1,18 @@
---- Makefile
+Index: Makefile
+===================================================================
+--- Makefile.orig
 +++ Makefile
-@@ -102,7 +102,8 @@
+@@ -109,7 +109,8 @@ HOSTCC=$(CC)
  #         USTAT         - ustat(), no statfs etc.
  #
  #CFLAGS=-Wall -O2 -pipe -DSECUREWARE -DUSE_POLL
 -CFLAGS=-O2 -Wall -pipe
-+OPTFLAGS=-O2 
++OPTFLAGS=-O2
 +CFLAGS=-Wall $(OPTFLAGS) -pipe -DAUTO_PPP
  #CFLAGS=-O -DSVR4
  #CFLAGS=-O -DSVR4 -DSVR42
  #CFLAGS=-O -DUSE_POLL
-@@ -116,6 +117,7 @@
+@@ -123,6 +124,7 @@ CFLAGS=-O2 -Wall -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
  
@@ -18,7 +20,7 @@
  
  #
  # LDFLAGS specify flags to pass to the linker. You could specify
-@@ -164,7 +166,7 @@
+@@ -171,7 +173,7 @@ LIBS=
  #
  # if your systems doesn't have one, use the shell script that I provide
  # in "inst.sh" (taken from X11R5). Needed on IRIX5.2
@@ -27,7 +29,7 @@
  #INSTALL=install -c -o root -g wheel          # NeXT/BSD
  #INSTALL=/usr/ucb/install -c -o bin -g bin    # AIX, Solaris 2.x
  #INSTALL=installbsd -c -o bin -g bin          # OSF/1, AIX 4.1, 4.2
-@@ -172,7 +174,7 @@
+@@ -179,7 +181,7 @@ INSTALL=install -c -o bin -g bin
  #
  # prefix, where most (all?) of the stuff lives, usually /usr/local or /usr
  #
@@ -36,7 +38,7 @@
  #
  # prefix for all the spool directories (usually /usr/spool or /var/spool)
  #
-@@ -192,7 +194,7 @@
+@@ -199,7 +201,7 @@ LIBDIR=$(prefix)/lib/mgetty+sendfax
  #
  # where the configuration files (*.config, aliases, fax.allow/deny) go to
  #
@@ -45,7 +47,7 @@
  #CONFDIR=/etc/default/
  #
  #
-@@ -220,20 +222,20 @@
+@@ -227,20 +229,20 @@ FAX_OUT_USER=fax
  #
  #
  # Where section 1 manual pages should be placed
@@ -71,7 +73,7 @@
  #
  #
  # A shell that understands bourne-shell syntax
-@@ -275,7 +277,7 @@
+@@ -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
  #
@@ -80,7 +82,7 @@
  #
  # INSTALL_MECHO=mg.echo
  
-@@ -580,35 +582,35 @@
+@@ -592,37 +594,37 @@ install.bin: mgetty sendfax newslock \
  #
  # binaries
  #
@@ -90,15 +92,19 @@
 +      $(INSTALL) -m 755 newslock $(DESTDIR)$(BINDIR)
  
 -      -test -d $(SBINDIR) || ( ./mkidirs $(SBINDIR) ; chmod 755 $(SBINDIR) )
--      -mv -f $(SBINDIR)/mgetty $(SBINDIR)/mgetty.old
--      -mv -f $(SBINDIR)/sendfax $(SBINDIR)/sendfax.old
+-      if [ -f $(SBINDIR)/mgetty ] ; then \
+-              mv -f $(SBINDIR)/mgetty $(SBINDIR)/mgetty.old ; fi
+-      if [ -f $(SBINDIR)/sendfax ] ; then \
+-              mv -f $(SBINDIR)/sendfax $(SBINDIR)/sendfax.old ; fi
 -      $(INSTALL) -s -m 700 mgetty $(SBINDIR)
 -      $(INSTALL) -s -m 755 sendfax $(SBINDIR)
 +      -test -d $(DESTDIR)$(SBINDIR) || ( ./mkidirs $(DESTDIR)$(SBINDIR) ; 
chmod 755 $(DESTDIR)$(SBINDIR) )
-+      -mv -f $(DESTDIR)$(SBINDIR)/mgetty $(DESTDIR)$(SBINDIR)/mgetty.old
-+      -mv -f $(DESTDIR)$(SBINDIR)/sendfax $(DESTDIR)$(SBINDIR)/sendfax.old
-+      $(INSTALL) -m 700 mgetty $(DESTDIR)$(SBINDIR)
-+      $(INSTALL) -m 755 sendfax $(DESTDIR)$(SBINDIR)
++      if [ -f $(DESTDIR)$(SBINDIR)/mgetty ] ; then \
++              mv -f $(DESTDIR)$(SBINDIR)/mgetty 
$(DESTDIR)$(SBINDIR)/mgetty.old ; fi
++      if [ -f $(DESTDIR)$(SBINDIR)/sendfax ] ; then \
++              mv -f $(DESTDIR)$(SBINDIR)/sendfax 
$(DESTDIR)$(SBINDIR)/sendfax.old ; fi
++      $(INSTALL) -s -m 700 mgetty $(DESTDIR)$(SBINDIR)
++      $(INSTALL) -s -m 755 sendfax $(DESTDIR)$(SBINDIR)
  #
  # data files + directories
  #
@@ -121,15 +127,15 @@
 +      test -d $(DESTDIR)$(CONFDIR) || \
 +              ( ./mkidirs $(DESTDIR)$(CONFDIR) && chmod 755 
$(DESTDIR)$(CONFDIR))
 +      test -f $(DESTDIR)$(CONFDIR)/login.config || \
-+              $(INSTALL) -m 600 login.config $(DESTDIR)$(CONFDIR)/
++              $(INSTALL) -o root -m 600 login.config $(DESTDIR)$(CONFDIR)/
 +      test -f $(DESTDIR)$(CONFDIR)/mgetty.config || \
-+              $(INSTALL) -m 600 mgetty.config $(DESTDIR)$(CONFDIR)/
++              $(INSTALL) -o root -m 600 mgetty.config $(DESTDIR)$(CONFDIR)/
 +      test -f $(DESTDIR)$(CONFDIR)/sendfax.config || \
-+              $(INSTALL) -m 644 sendfax.config $(DESTDIR)$(CONFDIR)/
++              $(INSTALL) -o root -m 644 sendfax.config $(DESTDIR)$(CONFDIR)/
 +      test -f $(DESTDIR)$(CONFDIR)/dialin.config || \
-+              $(INSTALL) -m 600 dialin.config $(DESTDIR)$(CONFDIR)/
++              $(INSTALL) -o root -m 600 dialin.config $(DESTDIR)$(CONFDIR)/
 +      test -f $(DESTDIR)$(CONFDIR)/faxrunq.config || \
-+              $(INSTALL) -m 644 faxrunq.config $(DESTDIR)$(CONFDIR)/
++              $(INSTALL) -o root -m 644 faxrunq.config $(DESTDIR)$(CONFDIR)/
  #
  # test for outdated stuff
  #
@@ -138,7 +144,7 @@
        then \
            echo "WARNING: the format of $(LIBDIR)/mgetty.login has " ;\
            echo "been changed. Because of this, to avoid confusions, it's 
called " ;\
-@@ -618,29 +620,27 @@
+@@ -632,29 +634,29 @@ install.bin: mgetty sendfax newslock \
  #
  # fax spool directories
  #
@@ -155,32 +161,34 @@
 -      chown $(FAX_OUT_USER) $(FAX_SPOOL_OUT)
 -      chmod 755 $(FAX_SPOOL_OUT)
 +      test -d $(DESTDIR)$(spool) || \
-+              ( ./mkidirs $(DESTDIR)$(spool) && chmod 755 $(DESTDIR)$(spool) )
++              ( mkdir $(DESTDIR)$(spool) && chmod 755 $(DESTDIR)$(spool) )
 +      test -d $(DESTDIR)$(FAX_SPOOL) || \
-+              ( ./mkidirs $(DESTDIR)$(FAX_SPOOL) && \
++              ( mkdir $(DESTDIR)$(FAX_SPOOL) && \
++                chown $(FAX_OUT_USER) $(DESTDIR)$(FAX_SPOOL) && \
 +                chmod 755 $(DESTDIR)$(FAX_SPOOL) )
 +      test -d $(DESTDIR)$(FAX_SPOOL_IN) || \
-+              ( ./mkidirs $(DESTDIR)$(FAX_SPOOL_IN) && chmod 755 
$(DESTDIR)$(FAX_SPOOL_IN) )
++              ( mkdir $(DESTDIR)$(FAX_SPOOL_IN) && chmod 755 
$(DESTDIR)$(FAX_SPOOL_IN) )
 +      test -d $(DESTDIR)$(FAX_SPOOL_OUT) || \
-+                ./mkidirs $(DESTDIR)$(FAX_SPOOL_OUT)
++                mkdir $(DESTDIR)$(FAX_SPOOL_OUT)
++      chown $(FAX_OUT_USER) $(DESTDIR)$(FAX_SPOOL_OUT)
 +      chmod 755 $(DESTDIR)$(FAX_SPOOL_OUT)
  #
  # g3 tool programs
  #
-       cd g3 ; $(MAKE) install INSTALL="$(INSTALL)" \
+       cd g3 && $(MAKE) install INSTALL="$(INSTALL)" \
 -                              BINDIR=$(BINDIR) \
 +                              BINDIR=$(BINDIR) DESTDIR=$(DESTDIR) \
                                LIBDIR=$(LIBDIR) CONFDIR=$(CONFDIR)
  #
  # fax programs / scripts / font file
  #
-       cd fax ; $(MAKE) install INSTALL="$(INSTALL)" \
+       cd fax && $(MAKE) install INSTALL="$(INSTALL)" \
 -                              FAX_OUT_USER=$(FAX_OUT_USER) \
 +                              FAX_OUT_USER=$(FAX_OUT_USER) DESTDIR=$(DESTDIR) 
\
                                BINDIR=$(BINDIR) SBINDIR=$(SBINDIR) \
                                LIBDIR=$(LIBDIR) CONFDIR=$(CONFDIR)
  #
-@@ -649,7 +649,7 @@
+@@ -663,7 +665,7 @@ install.bin: mgetty sendfax newslock \
        if [ ! -z "$(INSTALL_MECHO)" ] ; then \
            cd compat ; \
            $(CC) $(CFLAGS) -o mg.echo mg.echo.c && \
@@ -189,7 +197,7 @@
        fi
  
  #
-@@ -657,19 +657,19 @@
+@@ -671,19 +673,19 @@ install.bin: mgetty sendfax newslock \
  #
  install.doc:
        cd doc ; $(MAKE) install INSTALL="$(INSTALL)" \
@@ -216,7 +224,7 @@
  #
  # voice extensions, consult the `voice' chapter in the documentation
  #
-@@ -678,7 +678,7 @@
+@@ -692,7 +694,7 @@ vgetty:
        @$(MAKE) mgetty
        cd voice; $(MAKE) CFLAGS="$(CFLAGS)" CC="$(CC)" LDFLAGS="$(LDFLAGS)" \
        LN="$(LN)" MV="$(MV)" RM="$(RM)" \
@@ -225,9 +233,11 @@
        FAX_SPOOL_IN="$(FAX_SPOOL_IN)" CONFDIR="$(CONFDIR)" \
        VARRUNDIR="$(VARRUNDIR)" \
        SHELL="$(SHELL)" vgetty-all
---- callback/Makefile
+Index: callback/Makefile
+===================================================================
+--- callback/Makefile.orig
 +++ callback/Makefile
-@@ -37,7 +37,7 @@
+@@ -37,7 +37,7 @@ clean:
  # install programs
  #
  install: all
@@ -237,18 +247,11 @@
 +      $(INSTALL) -m 4755 ct $(BINDIR)
  
  # source modules
---- doc/Makefile
+Index: doc/Makefile
+===================================================================
+--- doc/Makefile.orig
 +++ doc/Makefile
-@@ -63,7 +63,7 @@
-             *.man *.[1-9] mgetty.texi
- 
- install: $(MANSRC) mgetty.info
--      -mkdir `dirname $(MAN1DIR)` $(MAN1DIR) $(MAN4DIR) $(MAN5DIR) $(MAN8DIR) 
2>/dev/null
-+      -mkdir -p `dirname $(MAN1DIR)` $(MAN1DIR) $(MAN4DIR) $(MAN5DIR) 
$(MAN8DIR) 2>/dev/null
-       for i in $(MAN1PAGES) ; do \
-               $(INSTALL) -m 644 $$i $(MAN1DIR) ; \
-       done
-@@ -77,7 +77,7 @@
+@@ -79,7 +79,7 @@ install: $(MANSRC) mgetty.info
                $(INSTALL) -m 644 $$i $(MAN8DIR) ; \
        done
        if [ -f mgetty.info ] ; then\
@@ -257,9 +260,11 @@
            for i in mgetty.info* ; do \
                $(INSTALL) -m 644 $$i $(INFODIR) ; \
            done ; \
---- fax/Makefile
+Index: fax/Makefile
+===================================================================
+--- fax/Makefile.orig
 +++ fax/Makefile
-@@ -52,26 +52,29 @@
+@@ -52,26 +52,29 @@ install: all
  #
  # programs / scripts
  #
@@ -301,15 +306,17 @@
            else \
                echo "WARNING: no PBM magic (string P1) found in /etc/magic" ; \
                echo "         maybe you should append the definitions in 
\`\`fax/etc-magic''." ; \
-@@ -79,4 +82,4 @@
+@@ -79,4 +82,4 @@ install: all
  #
  # faxspool.rules sample file
  #
 -      $(INSTALL) -m 644 faxspool.rules $(CONFDIR)/faxspool.rules.sample
 +      $(INSTALL) -m 644 faxspool.rules 
$(DESTDIR)$(CONFDIR)/faxspool.rules.sample
---- g3/Makefile
+Index: g3/Makefile
+===================================================================
+--- g3/Makefile.orig
 +++ g3/Makefile
-@@ -37,12 +37,12 @@
+@@ -37,12 +37,12 @@ install: all
  # install programs
  #
        for f in $(G3_PROGRAMS) ; do \
@@ -324,7 +331,9 @@
        test -x g3topbm || ln -s g32pbm g3topbm
  
  
---- login.cfg.in
+Index: login.cfg.in
+===================================================================
+--- login.cfg.in.orig
 +++ login.cfg.in
 @@ -30,7 +30,7 @@
  #  (Big advantage: tuucp can use the same passwd file for serial dial-in 
@@ -344,7 +353,9 @@
  
  #
  #
---- policy.h-dist
+Index: policy.h-dist
+===================================================================
+--- policy.h-dist.orig
 +++ policy.h-dist
 @@ -114,7 +114,7 @@
  /* group id that the device is chown()ed to. If not defined, the
@@ -408,7 +419,9 @@
  
  /* default minimum space required on spooling partition for receiving a FAX
   * (in KILObytes)
---- samples/new_fax.mail
+Index: samples/new_fax.mail
+===================================================================
+--- samples/new_fax.mail.orig
 +++ samples/new_fax.mail
 @@ -10,8 +10,8 @@
  # Revision 1.2  2000/07/16 21:18:08  gert
@@ -421,7 +434,7 @@
  
  PATH=$PATH:/usr/local/bin
  G3TOPBM=g32pbm
-@@ -40,6 +40,7 @@
+@@ -40,6 +40,7 @@ do
            echo "Subject: fax from $SENDER, page $P of $PAGES"
            echo "To: $MAILTO"
            echo ""
@@ -429,7 +442,9 @@
            $G3TOPBM $STRETCH $FAX \
            | gzip -9 \
            | uuencode `basename $FAX`.pbm.gz
---- voice/Makefile
+Index: voice/Makefile
+===================================================================
+--- voice/Makefile.orig
 +++ voice/Makefile
 @@ -6,6 +6,8 @@
  # $Id: Makefile,v 1.9 2006/09/26 11:57:46 gert Exp $
@@ -440,7 +455,7 @@
  AR=ar
  ARFLAGS=rc
  RANLIB=ranlib
-@@ -83,35 +85,35 @@
+@@ -83,35 +85,35 @@ vgetty-install: vgetty-all
        @echo "  Installing the voice extensions"
        @echo "  -------------------------------"
        @echo ""

++++++ mgetty-mkdir-p.patch ++++++
Index: mgetty-1.1.37/Makefile
===================================================================
--- mgetty-1.1.37.orig/Makefile
+++ mgetty-1.1.37/Makefile
@@ -642,13 +642,13 @@ install.bin: mgetty sendfax newslock \
 # fax spool directories
 #
        test -d $(DESTDIR)$(spool) || \
-               ( mkdir $(DESTDIR)$(spool) && chmod 755 $(DESTDIR)$(spool) )
+               ( mkdir -p $(DESTDIR)$(spool) && chmod 755 $(DESTDIR)$(spool) )
        test -d $(DESTDIR)$(FAX_SPOOL) || \
-               ( mkdir $(DESTDIR)$(FAX_SPOOL) && chmod 755 
$(DESTDIR)$(FAX_SPOOL) )
+               ( mkdir -p $(DESTDIR)$(FAX_SPOOL) && chmod 755 
$(DESTDIR)$(FAX_SPOOL) )
        test -d $(DESTDIR)$(FAX_SPOOL_IN) || \
-               ( mkdir $(DESTDIR)$(FAX_SPOOL_IN) && chmod 755 
$(DESTDIR)$(FAX_SPOOL_IN) )
+               ( mkdir -p $(DESTDIR)$(FAX_SPOOL_IN) && chmod 755 
$(DESTDIR)$(FAX_SPOOL_IN) )
        test -d $(DESTDIR)$(FAX_SPOOL_OUT) || \
-                 mkdir $(DESTDIR)$(FAX_SPOOL_OUT)
+                 mkdir -p $(DESTDIR)$(FAX_SPOOL_OUT)
        chmod 755 $(DESTDIR)$(FAX_SPOOL_OUT)
 #
 # g3 tool programs
Index: mgetty-1.1.37/doc/Makefile
===================================================================
--- mgetty-1.1.37.orig/doc/Makefile
+++ mgetty-1.1.37/doc/Makefile
@@ -64,7 +64,7 @@ clean:
 
 install: $(MANSRC) mgetty.info
        for D in `dirname $(MAN1DIR)` $(MAN1DIR) $(MAN4DIR) $(MAN5DIR) 
$(MAN8DIR) ; do \
-               if [ ! -d $$D ] ; then mkdir $$D || exit 1 ; fi ; \
+               if [ ! -d $$D ] ; then mkdir -p $$D || exit 1 ; fi ; \
        done
        for i in $(MAN1PAGES) ; do \
                $(INSTALL) -m 644 $$i $(MAN1DIR) ; \
++++++ mgetty-noroot.patch ++++++
Index: mgetty-1.1.37/Makefile
===================================================================
--- mgetty-1.1.37.orig/Makefile
+++ mgetty-1.1.37/Makefile
@@ -174,7 +174,7 @@ LIBS=
 # if your systems doesn't have one, use the shell script that I provide
 # in "inst.sh" (taken from X11R5). Needed on IRIX5.2
 INSTALL=install -c
-#INSTALL=install -c -o root -g wheel           # NeXT/BSD
+#INSTALL=install -c -g wheel           # NeXT/BSD
 #INSTALL=/usr/ucb/install -c -o bin -g bin     # AIX, Solaris 2.x
 #INSTALL=installbsd -c -o bin -g bin           # OSF/1, AIX 4.1, 4.2
 #INSTALL=/usr/bin/X11/bsdinst -c -o bin        # IRIX
@@ -619,15 +619,15 @@ install.bin: mgetty sendfax newslock \
        test -d $(DESTDIR)$(CONFDIR) || \
                ( ./mkidirs $(DESTDIR)$(CONFDIR) && chmod 755 
$(DESTDIR)$(CONFDIR))
        test -f $(DESTDIR)$(CONFDIR)/login.config || \
-               $(INSTALL) -o root -m 600 login.config $(DESTDIR)$(CONFDIR)/
+               $(INSTALL) -m 600 login.config $(DESTDIR)$(CONFDIR)/
        test -f $(DESTDIR)$(CONFDIR)/mgetty.config || \
-               $(INSTALL) -o root -m 600 mgetty.config $(DESTDIR)$(CONFDIR)/
+               $(INSTALL) -m 600 mgetty.config $(DESTDIR)$(CONFDIR)/
        test -f $(DESTDIR)$(CONFDIR)/sendfax.config || \
-               $(INSTALL) -o root -m 644 sendfax.config $(DESTDIR)$(CONFDIR)/
+               $(INSTALL) -m 644 sendfax.config $(DESTDIR)$(CONFDIR)/
        test -f $(DESTDIR)$(CONFDIR)/dialin.config || \
-               $(INSTALL) -o root -m 600 dialin.config $(DESTDIR)$(CONFDIR)/
+               $(INSTALL) -m 600 dialin.config $(DESTDIR)$(CONFDIR)/
        test -f $(DESTDIR)$(CONFDIR)/faxrunq.config || \
-               $(INSTALL) -o root -m 644 faxrunq.config $(DESTDIR)$(CONFDIR)/
+               $(INSTALL) -m 644 faxrunq.config $(DESTDIR)$(CONFDIR)/
 #
 # test for outdated stuff
 #
@@ -644,14 +644,11 @@ install.bin: mgetty sendfax newslock \
        test -d $(DESTDIR)$(spool) || \
                ( mkdir $(DESTDIR)$(spool) && chmod 755 $(DESTDIR)$(spool) )
        test -d $(DESTDIR)$(FAX_SPOOL) || \
-               ( mkdir $(DESTDIR)$(FAX_SPOOL) && \
-                 chown $(FAX_OUT_USER) $(DESTDIR)$(FAX_SPOOL) && \
-                 chmod 755 $(DESTDIR)$(FAX_SPOOL) )
+               ( mkdir $(DESTDIR)$(FAX_SPOOL) && chmod 755 
$(DESTDIR)$(FAX_SPOOL) )
        test -d $(DESTDIR)$(FAX_SPOOL_IN) || \
                ( mkdir $(DESTDIR)$(FAX_SPOOL_IN) && chmod 755 
$(DESTDIR)$(FAX_SPOOL_IN) )
        test -d $(DESTDIR)$(FAX_SPOOL_OUT) || \
                  mkdir $(DESTDIR)$(FAX_SPOOL_OUT)
-       chown $(FAX_OUT_USER) $(DESTDIR)$(FAX_SPOOL_OUT)
        chmod 755 $(DESTDIR)$(FAX_SPOOL_OUT)
 #
 # g3 tool programs

Reply via email to