Hi. I updated the mgetty package and added a patch so that I (or someone else) later can package the cool answering machine found at: http://VOCPsystem.com/
I also rediffed one patch, removed one obsolete and made some spec file changes as seen in the (unpacked) spec file patch. All patches are attached to this mail plus as a source rpm package (built on klama) availible at my site: http://www.deserve-it.com/Cooker/SRPMS/mgetty-1.1.30-1mdk.src.rpm GnuPG file here: http://www.deserve-it.com/Cooker/.oden.eriksson.gpg Chears. -- Regards // Oden Eriksson, Deserve-IT.com
mgetty-1.1.30-noroot.patch.bz2
Description: BZip2 compressed data
force_detect.patch.bz2
Description: BZip2 compressed data
--- mgetty.spec 2003-01-16 14:37:29.000000000 +0100
+++ mgetty.spec.oden 2003-02-10 21:30:48.000000000 +0100
@@ -1,12 +1,13 @@
%define name mgetty
-%define version 1.1.28
-%define release 4mdk
+%define version 1.1.30
+%define release 1mdk
Summary: A getty replacement for use with data and fax modems.
Name: %{name}
Version: %{version}
Release: %{release}
-Source: ftp://alpha.greenie.net:/pub/mgetty/source/1.1/%{name}%{version}-Jan10.tar.bz2
+Source0: ftp://alpha.greenie.net:/pub/mgetty/source/1.1/%{name}%{version}-Dec16.tar.gz
+Source1: ftp://alpha.greenie.net:/pub/mgetty/source/1.1/%{name}%{version}-Dec16.tar.gz.asc
URL: http://alpha.greenie.net/mgetty/
Patch0: mgetty-1.1.14-config.patch.bz2
Patch1: mgetty-1.1.5-makekvg.patch.bz2
@@ -15,11 +16,12 @@
Patch4: mgetty-1.1.14-echo.patch.bz2
Patch5: mgetty-1.1.14-logrotate.patch.bz2
Patch6: mgetty-1.1.24-imakefile.patch.bz2
-Patch8: mgetty-1.1.21-noroot.patch.bz2
+Patch8: mgetty-1.1.30-noroot.patch.bz2
Patch9: mgetty-1.1.21-linkman.patch.bz2
-Patch10: mgetty-1.1.28-x86_64.patch.bz2
+
Patch11: mgetty-1.1.28-includes.patch.bz2
Patch12: mgetty-1.1.28-64bit-fixes.patch.bz2
+Patch13: force_detect.patch.bz2
Requires: libgr-progs
License: GPL
Group: Communications
@@ -30,6 +32,7 @@
Summary: Provides support for sending faxes over a modem.
Requires: mgetty = %{version}-%{release}
Conflicts: hylafax
+PreReq: rpm-helper
Group: Communications
%package voice
@@ -100,9 +103,10 @@
# new texinfo much stricter about xrefs
%patch8 -p1
%patch9 -p1
-%patch10 -p1 -b .x86_64
+
%patch11 -p1 -b .includes
%patch12 -p1 -b .64bit-fixes
+%patch13 -p1
%build
%make
@@ -177,12 +181,15 @@
fi
%_remove_install_info %{name}.info
+%pre sendfax
+%_pre_useradd fax %{_var}/spool/fax /bin/sh
+
%postun sendfax
+%_postun_userdel fax
if [ $1 = 0 ]; then
%{__rm} -fr /var/log/sendfax.log*
fi
-
%files
%defattr(-,root,root)
%doc ChangeLog README.1st THANKS TODO Recommend FTP samples/*
@@ -204,10 +211,10 @@
%files sendfax
%defattr(-,root,root)
-%dir %{_var}/spool/fax
-%dir %{_var}/spool/fax/incoming
-%dir %{_var}/spool/fax/outgoing
-%dir %{_var}/spool/fax/outgoing/locks
+%attr(755,fax,fax) %dir %{_var}/spool/fax
+%attr(755,fax,fax) %dir %{_var}/spool/fax/incoming
+%attr(755,fax,fax) %dir %{_var}/spool/fax/outgoing
+#%attr(755,fax,fax) %dir %{_var}/spool/fax/outgoing/locks
%{_bindir}/kvg
%{_bindir}/newslock
@@ -226,6 +233,7 @@
%dir %{_prefix}/lib/mgetty+sendfax
%{_prefix}/lib/mgetty+sendfax/cour25.pbm
%{_prefix}/lib/mgetty+sendfax/cour25n.pbm
+%attr(4711,fax,fax) %{_prefix}/lib/mgetty+sendfax/faxq-helper
%{_mandir}/man1/g32pbm.1*
%{_mandir}/man1/pbm2g3.1*
%{_mandir}/man1/g3cat.1*
@@ -315,8 +323,14 @@
%defattr(644,root,root,755)
%doc contrib/*
-
%changelog
+* Mon Feb 10 2003 Oden Eriksson <[EMAIL PROTECTED]> 1.1.30-1mdk
+- 1.1.30
+- rediffed P8
+- removed P10 (included upstream)
+- added P13 (for VOCP)
+- add the fax user in %%pre
+
* Thu Jan 16 2003 Damien Chaumette <[EMAIL PROTECTED]> 1.1.28-4mdk
- fix login.config perms
@@ -442,3 +456,4 @@
* Mon Aug 25 1997 Erik Troan <[EMAIL PROTECTED]>
- built against glibc
+
