Mailinglist Archive: opensuse-commit (1192 mails)

< Previous Next >
commit mgetty
  • From: root@xxxxxxxxxxxxxxx (h_root)
  • Date: Fri, 08 Aug 2008 02:11:24 +0200
  • Message-id: <20080808001125.229E867816D@xxxxxxxxxxxxxxx>

Hello community,

here is the log from the commit of package mgetty
checked in at Fri Aug 8 02:11:24 CEST 2008.

--- mgetty/mgetty.changes 2007-07-09 08:40:39.000000000 +0200
+++ /mounts/work_src_done/STABLE/mgetty/mgetty.changes 2008-08-07
14:20:53.000000000 +0200
@@ -1,0 +2,82 @@
+Thu Aug 7 14:18:36 CEST 2008 - prusnak@xxxxxxx
+- updated to 1.1.36
+ * faxsend.c: (optionally) insert 100 0-bytes at start of page, to
+ help modems that have problems with the before-EOL timing (new USRs)
+ * fax_lib.c: add new MQ_ bit for 0-padding
+ * fax/ make wait() interruptible, avoid queue stalls
+ if only one modem active and this modem has a very long job.
+ Additionally, detect hung sendfax processes, and kill()' em.
+ * faxlib.c: recognize modem ID for Blatzheim ISDN/hybrid modems
+ * fax/ add functionality to run external scripts if
+ the fax queue reaches a "high water mark" length, and if a given
+ modem has more than <x> consecutive errors
+ * doc/faxrunqd.8in: document new options
+ * fax/ add @S@ for faxheader (replace with job id)
+ * sendfax.c: for "failed transmitting", log #of pages successfully
+ sent + #of retries (important for judging significance of errors)
+ * conf_sf.c: add new sendfax option "-R <n>" to set "max_tries" value
+ * doc/sendfax.8in: document -R
+ * tools/README: update documentation, add "microcom"
+ * class1lib.c: in fax1_send_frame(): make logging more uniform and
+ easier to read. Handle case of "NO CARRIER" after
+ frame has been sent, and check for internal
+ consistency regarding "we have carrier" vs. "use
+ existing carrier" (ugly)
+ * class1.c: on reception, don't try to send DIS when CSI frame
+ couldn't be sent. Log # of current re-try.
+ * add exim4 documentation to frontends/mail2fax06/README
+ * class1lib.c: check all fax_send() return values (in case flow
+ control gets stuck, we might have a timeout in there)
+ * class1.c: properly implement scan line time handling / byte padding
+ * class1.c: implement re-training on TCF/FTT, including stepdown
+ * class1lib.c: implement fax1_st_table[] for scan line time
+ handling (bit ordering in DCS/DIS frames is just weird).
+ Add scan time parameter to fax1_send_dcs()
+ * fax/faxspool.rules: add conversion rules for .jpg and .doc
+ * fax/ fix write combining bug with partially-sent jobs
+ * voice/libvoice/*: sparc64 compatibility fixes (*int vs. *p_int)
+ * voice/Makefile: pull in new object files (hyla_nsf.o, g3file.o)
+ * g3file.c: implement first draft of generic G3 I/O module,
+ including EOL padding
+ * t/t_g3f_c.c, t/ test routines for g3file.c
+ * class1.c: change fax1_send_page() to use g3_send_file()
+ * fax/ netpbm calls "giftoppm" now "giftopnm" -> adapt
+ * frontends/mail2fax06/: implement new mail to fax conversion tool,
+ in perl, using MIME::Parser, which will properly handle attachments
+ * tools/microcom.c: add <stdlib.h> to fix missing prototype warnings
+ * config.c: insert {} to silence over-eager compiler warnings
+ * tio.c: change "static char[] tio_compilation_type" into "#ident"
+ (get rid of "unused variable" warning, save a few bytes .data)
+ * locks.c: get rid of "unused variable tries" compiler warning
+ * hyla_nsf.c: add mgetty T.35 vendor code to table
+ * mgetty has its own ITU T.35 vendor code now! [0x04 0x81 0x0e]
+ * tools/mid.c: implement "-Q" (quick query)
+ * faxlib.c: handle USR reporting format for NSF frames
+ * fax/ fix quoting bug in `date` call (Klaus Weglehner)
+ * hyla_nsf.c: import new set of tables from Hylafax NSF.c++
+ * hyla_nsf.c, class1.c, class1.h: silence compiler complaints
+ * config.h: cast return value of c_bool() to (boolean)
+ * class1.c: hand off incoming NSF frames to decoder
+ * faxlib.c: convert incoming NSF frames to binary, hand off to decoder
+ * hyla_nsf.c: import NSF vendor tables + decoder from Hylafax
+ * class1.c: fax1_send_page(): fix end-of-page handling, reorder
+ sending of TSI and DCS to correctly handle RTP/RTN
+ * class1.c: fax1_send_page(): properly use fax_send_swaptable[]
+ (page sending works now, if receiver doesn't need padding)
+ * class1.c: fax1_send_page(): fix first and last chunk of page data
+ (digifax header wasn't skipped, and last chunk was lost)
+ * class1.c: handle DCN in fax1_dial_and_phase_AB()
+ * class1.c: add receive torture test (to sender), more logging
+ * fax_lib.h: define CAN character (cancel, ctrl-x)
+ * class1lib.c: fax1_receive_frame(): if waiting for start-of-frame
+ already runs into timeout, don't even try to read
+ end-of-frame modem response (robustness)
+ * class1lib.c: tell modem (send CAN character) when we timeout
+ after AT+FRH=n, to make sure recovering works
+ * class1lib.c: don't query AT+FRH=?/+FTH=? carriers
+ * */Makefile: move all "fullclean" extras into "clean" target,
+ remove "make fullclean"
+ * Makefile: for "make fullclean" or "distclean", just do "clean"




Other differences:
++++++ mgetty.spec ++++++
--- /var/tmp/diff_new_pack.y24058/_old 2008-08-08 02:11:03.000000000 +0200
+++ /var/tmp/diff_new_pack.y24058/_new 2008-08-08 02:11:03.000000000 +0200
@@ -1,29 +1,38 @@
-# spec file for package mgetty (Version 1.1.35)
+# spec file for package mgetty (Version 1.1.36)
-# Copyright (c) 2007 SUSE LINUX Products GmbH, Nuernberg, Germany.
-# This file and all modifications and additions to the pristine
-# package are under the same license as the package itself.
+# Copyright (c) 2008 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# All modifications and additions to the file contributed by third parties
+# remain the property of their copyright owners, unless otherwise agreed
+# upon. The license for this file, and modifications and additions to the
+# file, is the same license as for the pristine package itself (unless the
+# license for the pristine package is not an Open Source License, in which
+# case the license is the MIT License). An "Open Source License" is a
+# license that conforms to the Open Source Definition (Version 1.9)
+# published by the Open Source Initiative.
# Please submit bugfixes or comments via

# norootforbuild

Name: mgetty
BuildRequires: netpbm texlive
# allow postinst script to succeed
BuildRequires: pwdutils
-Version: 1.1.35
-Release: 41
+Version: 1.1.36
+Release: 1
PreReq: %install_info_prereq filesystem
Requires: g3utils
-Autoreqprov: on
+Recommends: logrotate
+AutoReqProv: on
Group: Hardware/Fax
-License: Any permissive, GPL v2 or later
+License: Any permissive; GPL v2 or later
Summary: Mgetty Listens for Data, Fax, or Voice Calls on a Serial Line
-Source0: %{name}%{version}-Feb22.tar.bz2
+Source0: %{name}%{version}-Jun15.tar.bz2
Source2: logrotate
Patch0: %{name}-%{version}-makefile.diff
Patch1: %{name}-%{version}-local.diff
@@ -48,16 +57,17 @@

- Gert D�ring <gert@xxxxxxxxxxxxxx>
+ Gert Doring <gert@xxxxxxxxxxxxxx>

%package -n sendfax
+License: GPL v2 or later
Conflicts: hylafax
Requires: mgetty g3utils
Summary: A Tool for Sending Fax Documents
Group: Hardware/Fax
Provides: fax_daemon
-PreReq: /usr/sbin/useradd permissions
-Autoreqprov: on
+PreReq: pwdutils permissions
+AutoReqProv: on

%description -n sendfax
The sendfax part of mgetty. You can use it instead of hylafax for
@@ -67,12 +77,13 @@

- Gert D�ring <gert@xxxxxxxxxxxxxx>
+ Gert Doring <gert@xxxxxxxxxxxxxx>

%package -n g3utils
+License: GPL v2 or later
Summary: Tools for the G3 (Fax) Graphics Format
Group: Productivity/Graphics/Convertors
-Autoreqprov: on
+AutoReqProv: on

%description -n g3utils
These utilities convert graphics files from the G3 format into the
@@ -85,7 +96,7 @@

- Gert D�ring <gert@xxxxxxxxxxxxxx>
+ Gert Doring <gert@xxxxxxxxxxxxxx>

%setup -q
@@ -101,13 +112,13 @@

-/usr/sbin/useradd -r -o -g uucp -u 33 -s /bin/bash -c "Facsimile agent" -d
/var/spool/fax fax 2> /dev/null || :
+%{_sbindir}/useradd -r -o -g uucp -u 33 -s /bin/bash -c "Facsimile agent" -d
%{_localstatedir}/spool/fax fax 2> /dev/null || :
-install samples/new_fax.mail $RPM_BUILD_ROOT/etc/mgetty+sendfax/new_fax
-ln -sf ../../../etc/mgetty+sendfax/new_fax
+install samples/new_fax.mail
+ln -sf ../../..%{_sysconfdir}/mgetty+sendfax/new_fax
make install -C voice DESTDIR=$RPM_BUILD_ROOT
-install -m 644 voice/voice.conf-dist
-mkdir -p $RPM_BUILD_ROOT/var/spool/voice/{incoming,messages}
+install -m 644 voice/voice.conf-dist
+mkdir -p $RPM_BUILD_ROOT%{_localstatedir}/spool/voice/{incoming,messages}
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
@@ -116,21 +127,20 @@
install -m 644 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 /usr/X11R6/bin/pbmtext $RPM_BUILD_ROOT/usr/bin/
-mkdir -p $RPM_BUILD_ROOT/etc/logrotate.d
-install -m 644 %{S:2} $RPM_BUILD_ROOT/etc/logrotate.d/mgetty
+#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

%pre -n sendfax
-/usr/sbin/useradd -r -o -g uucp -u 33 -s /bin/bash -c "Facsimile agent" -d
/var/spool/fax fax 2> /dev/null || :
-/bin/touch /var/log/sendfax.log
-chown fax:uucp /var/log/sendfax.log
-chmod 664 /var/log/sendfax.log
+%{_sbindir}/useradd -r -o -g uucp -u 33 -s /bin/bash -c "Facsimile agent" -d
%{_localstatedir}/spool/fax fax 2> /dev/null || :
+/bin/touch %{_localstatedir}/log/sendfax.log
+chown fax:uucp %{_localstatedir}/log/sendfax.log
+chmod 664 %{_localstatedir}/log/sendfax.log

%post -n sendfax
%verifyscript -n sendfax
-%verify_permissions -e /var/spool/fax/outgoing
+%verify_permissions -e %{_localstatedir}/spool/fax/outgoing

%install_info --info-dir=%{_infodir} %{_infodir}/%{name}.info.gz
@@ -140,44 +150,44 @@

%defattr(-, root, root)
-%dir /etc/mgetty+sendfax
+%dir %{_sysconfdir}/mgetty+sendfax
%doc %{_docdir}/mgetty
-%dir /var/spool/voice
-%dir /var/spool/voice/incoming
-%dir /var/spool/voice/messages
-%config(noreplace) /etc/logrotate.d/mgetty
-%config(noreplace) /etc/mgetty+sendfax/dialin.config
-%config(noreplace) /etc/mgetty+sendfax/login.config
-%config(noreplace) /etc/mgetty+sendfax/mgetty.config
-%config(noreplace) /etc/mgetty+sendfax/voice.conf
-%config(noreplace) /etc/mgetty+sendfax/callback.config
+%dir %{_localstatedir}/spool/voice
+%dir %{_localstatedir}/spool/voice/incoming
+%dir %{_localstatedir}/spool/voice/messages
+%config(noreplace) %{_sysconfdir}/logrotate.d/mgetty
+%config(noreplace) %{_sysconfdir}/mgetty+sendfax/dialin.config
+%config(noreplace) %{_sysconfdir}/mgetty+sendfax/login.config
+%config(noreplace) %{_sysconfdir}/mgetty+sendfax/mgetty.config
+%config(noreplace) %{_sysconfdir}/mgetty+sendfax/voice.conf
+%config(noreplace) %{_sysconfdir}/mgetty+sendfax/callback.config
%doc %{_infodir}/*.gz
%doc %{_mandir}/man1/autopvf.1.gz
%doc %{_mandir}/man1/basictopvf.1.gz
@@ -211,46 +221,46 @@
%doc %{_mandir}/man8/faxq-helper.8.gz
%doc %{_mandir}/man8/mgetty.8.gz
%doc %{_mandir}/man8/vgetty.8.gz
# Note: This was erroneously in sendfax subpackage and the %config was missing
-%config(noreplace) /etc/mgetty+sendfax/new_fax
-%config /usr/lib/mgetty+sendfax/new_fax
+%config(noreplace) %{_sysconfdir}/mgetty+sendfax/new_fax
+%config %{_prefix}/lib/mgetty+sendfax/new_fax

%files -n g3utils
%defattr(-, root, root)
%doc %{_mandir}/man1/g32pbm.1.gz
%doc %{_mandir}/man1/g3cat.1.gz
%doc %{_mandir}/man1/pbm2g3.1.gz

%files -n sendfax
%defattr(-, root, root)
-%dir /etc/mgetty+sendfax
-%dir /usr/lib/mgetty+sendfax
-%attr(755,fax,root) %dir /var/spool/fax
-%dir /var/spool/fax/incoming
-%attr(755,fax,root) %verify(not mode) %dir /var/spool/fax/outgoing
-#%dir /var/spool/fax/outgoing/locks
-%config(noreplace) /etc/mgetty+sendfax/faxheader
-%config(noreplace) /etc/mgetty+sendfax/faxrunq.config
-%config(noreplace) /etc/mgetty+sendfax/sendfax.config
-%config /etc/mgetty+sendfax/faxspool.rules.sample
-%attr(4711,fax,root) /usr/lib/mgetty+sendfax/faxq-helper
+%dir %{_sysconfdir}/mgetty+sendfax
+%dir %{_prefix}/lib/mgetty+sendfax
+%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
+%config %{_sysconfdir}/mgetty+sendfax/faxspool.rules.sample
+%attr(4711,fax,root) %{_prefix}/lib/mgetty+sendfax/faxq-helper
%doc %{_mandir}/man1/fax.1.gz
%doc %{_mandir}/man1/faxq.1.gz
%doc %{_mandir}/man1/faxrm.1.gz

++++++ mgetty-1.1.35-callback.diff -> mgetty-1.1.36-callback.diff ++++++

++++++ mgetty-1.1.35-local.diff -> mgetty-1.1.36-local.diff ++++++

++++++ mgetty-1.1.35-makefile.diff -> mgetty-1.1.36-makefile.diff ++++++

++++++ mgetty-1.1.35-specialdigits.diff -> mgetty-1.1.36-specialdigits.diff

++++++ mgetty-1.1.35-tempfile.diff -> mgetty-1.1.36-tempfile.diff ++++++


Remember to have fun...

To unsubscribe, e-mail: opensuse-commit+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse-commit+help@xxxxxxxxxxxx

< Previous Next >
This Thread
  • No further messages