Summary: A program for faxing using a Class 1, 2 or 2.0 fax modem Name: efax Version: 0.9a Release: 44.001114%{?dist} License: GPL-2.0-or-later Url: http://www.cce.com/efax/ Source: http://www.cce.com/efax/download/%{name}-%{version}-001114.tar.gz Source1: logrotate-efax Patch0: efax-0.9-config.patch Patch1: efax-0.9-numlines.patch Patch2: efax08a-time.patch Patch3: efax-0.9-manpage.patch Patch5: efax-0.9-nullptr.patch Patch6: efax-0.9-misc.patch Patch7: efax-0.9-viewcmd.patch Patch8: efax-0.9-quote.patch Patch9: efax-0.9-msg-va_list.patch Patch10: efax-0.9a-001114-crash.patch Patch11: efax-0.9-pdf.patch Patch12: efax-0.9a-001114-format-security.patch Patch13: efax-0.9a-001114-multiple-definition.patch ExcludeArch: s390 s390x BuildRequires: make BuildRequires: gcc Requires: netpbm-progs %description Efax is a small ANSI C/POSIX program that sends and receives faxes using any Class 1, 2 or 2.0 fax modem. You need to install efax if you want to send faxes and you have a Class 1, 2 or 2.0 fax modem. %prep %setup -q -n %{name}-%{version}-001114 %patch -P0 -p1 -b .config %patch -P1 -p1 -b .numlines %patch -P2 -p1 -b .time %patch -P3 -p0 -b .manpage %patch -P5 -p1 -b .nullptr %patch -P6 -p1 -b .misc %patch -P7 -p1 -b .viewcmd %patch -P8 -p1 -b .quote %patch -P9 -p1 -b .msg-va_list %patch -P10 -p1 -b .crash %patch -P11 -p0 -b .pdf %patch -P12 -p1 -b .format-security %patch -P13 -p1 -b .multiple-definition %build make %{?_smp_mflags} RPM_OPT_FLAGS="-ansi $RPM_OPT_FLAGS -fno-strict-aliasing" %install rm -rf %{buildroot} mkdir -p %{buildroot}%{_bindir} mkdir -p %{buildroot}%{_mandir}/man1 mkdir -p %{buildroot}%{_localstatedir}/spool/fax mkdir -p %{buildroot}%{_localstatedir}/log/fax make BINDIR=%{buildroot}%{_bindir} MANDIR=%{buildroot}%{_mandir} install mkdir -p %{buildroot}/etc/logrotate.d/ install -c -m 644 %{SOURCE1} %{buildroot}/etc/logrotate.d/efax %files %doc README COPYING %config(noreplace) /etc/logrotate.d/efax %{_bindir}/* %{_mandir}/*/* %dir %{_localstatedir}/spool/fax %dir %{_localstatedir}/log/fax %changelog * Wed Jul 17 2024 Fedora Release Engineering - 0.9a-44.001114 - Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild * Wed Jan 24 2024 Fedora Release Engineering - 0.9a-43.001114 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild * Fri Jan 19 2024 Fedora Release Engineering - 0.9a-42.001114 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild * Wed Jul 19 2023 Fedora Release Engineering - 0.9a-41.001114 - Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild * Mon Jun 12 2023 Than Ngo - 0.9a-40.001114 - migrated to SPDX license * Thu Jan 19 2023 Fedora Release Engineering - 0.9a-39.001114 - Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild * Thu Jul 21 2022 Fedora Release Engineering - 0.9a-38.001114 - Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild * Thu Jan 20 2022 Fedora Release Engineering - 0.9a-37.001114 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild * Wed Jul 21 2021 Fedora Release Engineering - 0.9a-36.001114 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild * Tue Jan 26 2021 Fedora Release Engineering - 0.9a-35.001114 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild * Mon Jul 27 2020 Fedora Release Engineering - 0.9a-34.001114 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild * Thu Jan 30 2020 Than Ngo - 0.9a-33.001114 - fix compile issue for multiple definition * Tue Jan 28 2020 Fedora Release Engineering - 0.9a-32.001114 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild * Wed Jul 24 2019 Fedora Release Engineering - 0.9a-31.001114 - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild * Thu Jan 31 2019 Fedora Release Engineering - 0.9a-30.001114 - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild * Mon Jul 23 2018 Than Ngo - 0.9a-29.001114 - fixed FTBFS * Thu Jul 12 2018 Fedora Release Engineering - 0.9a-28.001114 - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild * Wed Feb 07 2018 Fedora Release Engineering - 0.9a-27.001114 - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild * Wed Aug 02 2017 Fedora Release Engineering - 0.9a-26.001114 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild * Wed Jul 26 2017 Fedora Release Engineering - 0.9a-25.001114 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild * Fri Feb 10 2017 Fedora Release Engineering - 0.9a-24.001114 - Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild * Wed Feb 03 2016 Fedora Release Engineering - 0.9a-23.001114 - Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild * Wed Jun 17 2015 Fedora Release Engineering - 0.9a-22.001114 - Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild * Sat Aug 16 2014 Fedora Release Engineering - 0.9a-21.001114 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild * Sat Jun 07 2014 Fedora Release Engineering - 0.9a-20.001114 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild * Mon May 12 2014 Than Ngo - 0.9a-19.001114 - fix format-security flaws bz#1037050 * Tue Aug 13 2013 Ralf Corsépius - 0.9a-18.001114 - Reformat efax-0.9-pdf.patch (Fix FTBFS RHBZ#992182). * Sat Aug 03 2013 Fedora Release Engineering - 0.9a-17.001114 - Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild * Thu May 02 2013 Than Ngo - 0.9a-16.001114 - apply the patch * Thu May 02 2013 Than Ngo - 0.9a-15.001114 - bz#958485, support pdf * Wed Mar 06 2013 Than Ngo - 0.9a-14.001114 - add -fno-strict-aliasing into RPM_OPT_FLAGS * Wed Feb 13 2013 Fedora Release Engineering - 0.9a-13.001114 - Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild * Thu Nov 22 2012 Than Ngo - 0.9a-12.001114 - drop Red Hat trademarks * Wed Jul 18 2012 Fedora Release Engineering - 0.9a-11.001114 - Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild * Fri Jan 13 2012 Fedora Release Engineering - 0.9a-10.001114 - Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild * Tue Feb 08 2011 Fedora Release Engineering - 0.9a-9.001114 - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild * Wed Sep 29 2010 Than Ngo - 0.9a-8.001114 - bz#225719, review * Mon Dec 07 2009 Than Ngo - 0.9a-7.001114 - fix url * Mon Sep 07 2009 Than Ngo - 0.9a-6.001114 - fix a crash in efix * Fri Jul 24 2009 Fedora Release Engineering - 0.9a-5.001114 - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild * Tue Feb 24 2009 Fedora Release Engineering - 0.9a-4.001114 - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild * Fri Oct 24 2008 Than Ngo 0.9a-3.001114 - fix efax segfaults while sending fax, thanks to Jeff Bastian * Thu Jul 17 2008 Tom "spot" Callaway 0.9a-2.001114 - fix license tag * Fri Feb 15 2008 Than Ngo 0.9a-1.001114 - 0.9a-001114 * Wed Jul 12 2006 Jesse Keating - 0.9-27.2.1 - rebuild * Fri Feb 10 2006 Jesse Keating - 0.9-27.2 - bump again for double-long bug on ppc(64) * Tue Feb 07 2006 Jesse Keating - 0.9-27.1 - rebuilt for new gcc4.1 snapshot and glibc changes * Tue Jan 17 2006 Than Ngo 0.9-27 - apply patch to fix #177892 * Fri Dec 09 2005 Jesse Keating - rebuilt * Wed Nov 23 2005 Than Ngo 0.9-26 - fix for modular X #173707 * Mon Oct 10 2005 Than Ngo 0.9-25 - use pnmtoxwd instead xloadimage which is not in the core anymore #169413 * Sat Mar 05 2005 Than Ngo 0.9-24 - rebuilt * Wed Feb 09 2005 Than Ngo 0.9-23 - rebuilt * Tue Jun 15 2004 Elliot Lee - rebuilt * Fri Feb 13 2004 Elliot Lee - rebuilt * Wed Jun 04 2003 Elliot Lee - rebuilt * Tue May 20 2003 Than Ngo 0.9-19 - fix bug #79635 * Wed Nov 20 2002 Florian La Roche - do not build on mainframe * Wed Aug 7 2002 Than Ngo 0.9-16 - Fixed a bug in manpage (bug #70935) * Fri Jun 21 2002 Tim Powers - automated rebuild - Copyright->License * Tue Jun 18 2002 Than Ngo 0.9-14 - don't forcibly strip binaries - add valid Url * Thu May 23 2002 Tim Powers - automated rebuild * Tue Feb 26 2002 Than Ngo 0.9-12 - rebuild in new enviroment * Wed Jan 09 2002 Tim Powers - automated rebuild * Sun Jun 24 2001 Elliot Lee - Bump release + rebuild. * Wed Aug 30 2000 Preston Brown - fix -l option for efix (#16898) * Wed Jul 12 2000 Prospector - automatic rebuild * Mon Jun 12 2000 Preston Brown - FHS paths * Thu May 11 2000 Nalin Dahyabhai - add dependency on make (bug #11268) * Thu Feb 03 2000 Preston Brown - add /var/spool/fax and /var/log/fax - /usr/bin/fax not a config file. Use .efaxrc instead. * Wed Feb 02 2000 Cristian Gafton - fix description. Oops about the last one. * Wed Jan 12 2000 Preston Brown - no you didn't Cristian. You said you did but didn't. :) I did. Now. * Tue Jun 29 1999 Cristian Gafton - updated to 0.9 (#3808) * Sun Mar 21 1999 Cristian Gafton - auto rebuild in the new build environment (release 11) * Wed Feb 24 1999 Preston Brown - Injected new description and group. * Tue Feb 02 1999 Preston Brown - patch to fix null ptr dereference - added -ansi flag; fixes efix problem (produced bad tiff files) * Fri Dec 18 1998 Preston Brown - bumped spec number for initial rh 6.0 build * Tue Aug 11 1998 Jeff Johnson - build root * Mon Apr 27 1998 Prospector System - translations modified for de, fr, tr * Wed Oct 22 1997 Michael Fulbright - cleaned spec file to new standard, confirmed package is up to date * Tue Mar 25 1997 Erik Troan - Added efax-08a-64bit.patch from David Mosberger