f9ec415
Summary: A program for faxing using a Class 1, 2 or 2.0 fax modem
cvsdist ee65da8
Name: efax
1eb1a58
Version: 0.9a
05fdcc3
Release: 35.001114%{?dist}
01f1685
License: GPLv2+
00d60ac
Url: http://www.cce.com/efax/
ad165d9
Source: http://www.cce.com/efax/download/%{name}-%{version}-001114.tar.gz
f9ec415
Source1: logrotate-efax
cvsdist 9c985fa
Patch0: efax-0.9-config.patch
cvsdist 9c985fa
Patch1: efax-0.9-numlines.patch
cvsdist ee65da8
Patch2: efax08a-time.patch
cvsdist f87f877
Patch3: efax-0.9-manpage.patch
cvsdist ee65da8
Patch5: efax-0.9-nullptr.patch
cvsdist d599094
Patch6: efax-0.9-misc.patch
f9f7780
Patch7: efax-0.9-viewcmd.patch
c3fdc73
Patch8: efax-0.9-quote.patch
6d6832f
Patch9: efax-0.9-msg-va_list.patch
d1f6ec0
Patch10: efax-0.9a-001114-crash.patch
8b82b22
Patch11: efax-0.9-pdf.patch
010351c
Patch12: efax-0.9a-001114-format-security.patch
8537424
Patch13: efax-0.9a-001114-multiple-definition.patch
f9f7780
cvsdist bf86761
ExcludeArch: s390 s390x
f8864cc
f9ec415
BuildRequires: make
f8864cc
BuildRequires: gcc
f8864cc
f9f7780
Requires: netpbm-progs
cvsdist ee65da8
cvsdist ee65da8
%description
cvsdist ee65da8
Efax is a small ANSI C/POSIX program that sends and receives faxes
cvsdist ee65da8
using any Class 1, 2 or 2.0 fax modem.
cvsdist ee65da8
cvsdist ee65da8
You need to install efax if you want to send faxes and you have a
cvsdist ee65da8
Class 1, 2 or 2.0 fax modem.
cvsdist ee65da8
cvsdist ee65da8
%prep
1eb1a58
%setup -q -n %{name}-%{version}-001114
1eb1a58
cvsdist ee65da8
%patch0 -p1 -b .config
cvsdist 9c985fa
%patch1 -p1 -b .numlines
cvsdist ee65da8
%patch2 -p1 -b .time
cvsdist f87f877
%patch3 -p0 -b .manpage
cvsdist ee65da8
%patch5 -p1 -b .nullptr
cvsdist d599094
%patch6 -p1 -b .misc
f9f7780
%patch7 -p1 -b .viewcmd
6677708
%patch8 -p1 -b .quote
6d6832f
%patch9 -p1 -b .msg-va_list
d1f6ec0
%patch10 -p1 -b .crash
f6b72c0
%patch11 -p0 -b .pdf
010351c
%patch12 -p1 -b .format-security
8537424
%patch13 -p1 -b .multiple-definition
cvsdist ee65da8
cvsdist ee65da8
%build
f4ebc61
make %{?_smp_mflags} RPM_OPT_FLAGS="-ansi $RPM_OPT_FLAGS -fno-strict-aliasing"
cvsdist ee65da8
cvsdist ee65da8
%install
cvsdist ee65da8
rm -rf %{buildroot}
cvsdist ee65da8
mkdir -p %{buildroot}%{_bindir}
cvsdist ee65da8
mkdir -p %{buildroot}%{_mandir}/man1
cvsdist ee65da8
mkdir -p %{buildroot}%{_localstatedir}/spool/fax
cvsdist ee65da8
mkdir -p %{buildroot}%{_localstatedir}/log/fax
cvsdist ee65da8
cvsdist ee65da8
make BINDIR=%{buildroot}%{_bindir} MANDIR=%{buildroot}%{_mandir} install
f9ec415
mkdir -p %{buildroot}/etc/logrotate.d/
f9ec415
install -c -m 644 %{SOURCE1} %{buildroot}/etc/logrotate.d/efax
cvsdist ee65da8
cvsdist ee65da8
%files
cvsdist ee65da8
%doc README COPYING
f9ec415
%config(noreplace) /etc/logrotate.d/efax
cvsdist ee65da8
%{_bindir}/*
cvsdist ee65da8
%{_mandir}/*/*
cvsdist ee65da8
%dir %{_localstatedir}/spool/fax
cvsdist ee65da8
%dir %{_localstatedir}/log/fax
cvsdist ee65da8
cvsdist ee65da8
%changelog
05fdcc3
* Tue Jan 26 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0.9a-35.001114
05fdcc3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
05fdcc3
355f74b
* Mon Jul 27 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.9a-34.001114
355f74b
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
355f74b
51ef44b
* Thu Jan 30 2020 Than Ngo <than@redhat.com> - 0.9a-33.001114
8537424
- fix compile issue for multiple definition
8537424
52abdfe
* Tue Jan 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.9a-32.001114
52abdfe
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
52abdfe
c7e39bf
* Wed Jul 24 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.9a-31.001114
c7e39bf
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
c7e39bf
d769de3
* Thu Jan 31 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.9a-30.001114
d769de3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
d769de3
f8864cc
* Mon Jul 23 2018 Than Ngo <than@redhat.com> - 0.9a-29.001114
f8864cc
- fixed FTBFS
f8864cc
0ef0090
* Thu Jul 12 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.9a-28.001114
0ef0090
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
0ef0090
50ef4c0
* Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.9a-27.001114
50ef4c0
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
50ef4c0
d7f24ee
* Wed Aug 02 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.9a-26.001114
d7f24ee
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
d7f24ee
3a40e9a
* Wed Jul 26 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.9a-25.001114
3a40e9a
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
3a40e9a
7be432b
* Fri Feb 10 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.9a-24.001114
7be432b
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
7be432b
32af605
* Wed Feb 03 2016 Fedora Release Engineering <releng@fedoraproject.org> - 0.9a-23.001114
32af605
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
32af605
4bd64d3
* Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.9a-22.001114
4bd64d3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
4bd64d3
69d3cdd
* Sat Aug 16 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.9a-21.001114
69d3cdd
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
69d3cdd
9178057
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.9a-20.001114
9178057
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
9178057
010351c
* Mon May 12 2014 Than Ngo <than@redhat.com> - 0.9a-19.001114
010351c
- fix format-security flaws bz#1037050
010351c
f6b72c0
* Tue Aug 13 2013 Ralf Cors├ępius <corsepiu@fedoraproject.org> - 0.9a-18.001114
f6b72c0
- Reformat efax-0.9-pdf.patch (Fix FTBFS RHBZ#992182).
f6b72c0
7ce0ad0
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.9a-17.001114
7ce0ad0
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
7ce0ad0
89df11b
* Thu May 02 2013 Than Ngo <than@redhat.com> - 0.9a-16.001114
89df11b
- apply the patch
89df11b
8b82b22
* Thu May 02 2013 Than Ngo <than@redhat.com> - 0.9a-15.001114
8b82b22
- bz#958485, support pdf
8b82b22
f4ebc61
* Wed Mar 06 2013 Than Ngo <than@redhat.com> - 0.9a-14.001114
f4ebc61
- add -fno-strict-aliasing into RPM_OPT_FLAGS
f4ebc61
200ff39
* Wed Feb 13 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.9a-13.001114
200ff39
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
200ff39
72d59f1
* Thu Nov 22 2012 Than Ngo <than@redhat.com> - 0.9a-12.001114
72d59f1
- drop Red Hat trademarks
72d59f1
062ba7f
* Wed Jul 18 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.9a-11.001114
062ba7f
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
062ba7f
a01913e
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.9a-10.001114
a01913e
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
a01913e
2fe5828
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.9a-9.001114
2fe5828
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
2fe5828
f9ec415
* Wed Sep 29 2010 Than Ngo <than@redhat.com> - 0.9a-8.001114
f9ec415
- bz#225719, review
f9ec415
ad165d9
* Mon Dec 07 2009 Than Ngo <than@redhat.com> - 0.9a-7.001114
ad165d9
- fix url
ad165d9
d1f6ec0
* Mon Sep 07 2009 Than Ngo <than@redhat.com> - 0.9a-6.001114
d1f6ec0
- fix a crash in efix
d1f6ec0
a48ea19
* Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.9a-5.001114
a48ea19
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
a48ea19
25c227b
* Tue Feb 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.9a-4.001114
25c227b
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
25c227b
6d6832f
* Fri Oct 24 2008 Than Ngo <than@redhat.com> 0.9a-3.001114
6d6832f
- fix efax segfaults while sending fax, thanks to Jeff Bastian
6d6832f
01f1685
* Thu Jul 17 2008 Tom "spot" Callaway <tcallawa@redhat.com> 0.9a-2.001114
01f1685
- fix license tag
01f1685
1eb1a58
* Fri Feb 15 2008 Than Ngo <than@redhat.com> 0.9a-1.001114
1eb1a58
- 0.9a-001114
1eb1a58
447fe39
* Wed Jul 12 2006 Jesse Keating <jkeating@redhat.com> - 0.9-27.2.1
447fe39
- rebuild
447fe39
34f1133
* Fri Feb 10 2006 Jesse Keating <jkeating@redhat.com> - 0.9-27.2
34f1133
- bump again for double-long bug on ppc(64)
34f1133
ad1f12c
* Tue Feb 07 2006 Jesse Keating <jkeating@redhat.com> - 0.9-27.1
ad1f12c
- rebuilt for new gcc4.1 snapshot and glibc changes
ad1f12c
c3fdc73
* Tue Jan 17 2006 Than Ngo <than@redhat.com> 0.9-27
c3fdc73
- apply patch to fix #177892
c3fdc73
a11562e
* Fri Dec 09 2005 Jesse Keating <jkeating@redhat.com>
a11562e
- rebuilt
a11562e
d85ba02
* Wed Nov 23 2005 Than Ngo <than@redhat.com> 0.9-26
d85ba02
- fix for modular X #173707
d85ba02
f9f7780
* Mon Oct 10 2005 Than Ngo <than@redhat.com> 0.9-25
f9f7780
- use pnmtoxwd instead xloadimage which is not in the core anymore #169413
f9f7780
  
a49dc98
* Sat Mar 05 2005 Than Ngo <than@redhat.com> 0.9-24
a49dc98
- rebuilt
a49dc98
00d60ac
* Wed Feb 09 2005 Than Ngo <than@redhat.com> 0.9-23
00d60ac
- rebuilt
00d60ac
cvsdist 60cdeff
* Tue Jun 15 2004 Elliot Lee <sopwith@redhat.com>
cvsdist 60cdeff
- rebuilt
cvsdist 60cdeff
cvsdist dce9468
* Fri Feb 13 2004 Elliot Lee <sopwith@redhat.com>
cvsdist dce9468
- rebuilt
cvsdist dce9468
cvsdist d599094
* Wed Jun 04 2003 Elliot Lee <sopwith@redhat.com>
cvsdist bf86761
- rebuilt
cvsdist bf86761
cvsdist d599094
* Tue May 20 2003 Than Ngo <than@redhat.com> 0.9-19
cvsdist d599094
- fix bug #79635
cvsdist d599094
cvsdist bf86761
* Wed Nov 20 2002 Florian La Roche <Florian.LaRoche@redhat.de>
cvsdist bf86761
- do not build on mainframe
cvsdist bf86761
cvsdist f87f877
* Wed Aug  7 2002 Than Ngo <than@redhat.com> 0.9-16
cvsdist f87f877
- Fixed a bug in manpage (bug #70935)
cvsdist f87f877
cvsdist d24b3b2
* Fri Jun 21 2002 Tim Powers <timp@redhat.com>
cvsdist d24b3b2
- automated rebuild
cvsdist f87f877
- Copyright->License
cvsdist d24b3b2
cvsdist d24b3b2
* Tue Jun 18 2002 Than Ngo <than@redhat.com> 0.9-14
cvsdist d24b3b2
- don't forcibly strip binaries
cvsdist d24b3b2
- add valid Url
cvsdist d24b3b2
cvsdist d24b3b2
* Thu May 23 2002 Tim Powers <timp@redhat.com>
cvsdist d24b3b2
- automated rebuild
cvsdist d24b3b2
cvsdist 88aed27
* Tue Feb 26 2002 Than Ngo <than@redhat.com> 0.9-12
cvsdist 88aed27
- rebuild in new enviroment
cvsdist 88aed27
cvsdist 88aed27
* Wed Jan 09 2002 Tim Powers <timp@redhat.com>
cvsdist 88aed27
- automated rebuild
cvsdist 88aed27
cvsdist c14ec5d
* Sun Jun 24 2001 Elliot Lee <sopwith@redhat.com>
cvsdist c14ec5d
- Bump release + rebuild.
cvsdist c14ec5d
cvsdist 9c985fa
* Wed Aug 30 2000 Preston Brown <pbrown@redhat.com>
cvsdist 9c985fa
- fix -l option for efix (#16898)
cvsdist 9c985fa
cvsdist ee65da8
* Wed Jul 12 2000 Prospector <bugzilla@redhat.com>
cvsdist ee65da8
- automatic rebuild
cvsdist ee65da8
cvsdist ee65da8
* Mon Jun 12 2000 Preston Brown <pbrown@redhat.com>
cvsdist ee65da8
- FHS paths
cvsdist ee65da8
cvsdist ee65da8
* Thu May 11 2000 Nalin Dahyabhai <nalin@redhat.com>
cvsdist ee65da8
- add dependency on make (bug #11268)
cvsdist ee65da8
cvsdist ee65da8
* Thu Feb 03 2000 Preston Brown <pbrown@redhat.com>
cvsdist ee65da8
- add /var/spool/fax and /var/log/fax
cvsdist ee65da8
- /usr/bin/fax not a config file.  Use .efaxrc instead.
cvsdist ee65da8
cvsdist ee65da8
* Wed Feb 02 2000 Cristian Gafton <gafton@redhat.com>
cvsdist ee65da8
- fix description. Oops about the last one.
cvsdist ee65da8
cvsdist ee65da8
* Wed Jan 12 2000 Preston Brown <pbrown@redhat.com>
cvsdist ee65da8
- no you didn't Cristian.  You said you did but didn't. :) I did. Now.
cvsdist ee65da8
cvsdist ee65da8
* Tue Jun 29 1999 Cristian Gafton <gafton@redhat.com>
cvsdist ee65da8
- updated to 0.9 (#3808)
cvsdist ee65da8
cvsdist ee65da8
* Sun Mar 21 1999 Cristian Gafton <gafton@redhat.com> 
cvsdist ee65da8
- auto rebuild in the new build environment (release 11)
cvsdist ee65da8
cvsdist ee65da8
* Wed Feb 24 1999 Preston Brown <pbrown@redhat.com>
cvsdist ee65da8
- Injected new description and group.
cvsdist ee65da8
cvsdist ee65da8
* Tue Feb 02 1999 Preston Brown <pbrown@redhat.com>
cvsdist ee65da8
- patch to fix null ptr dereference
cvsdist ee65da8
- added -ansi flag; fixes efix problem (produced bad tiff files)
cvsdist ee65da8
cvsdist ee65da8
* Fri Dec 18 1998 Preston Brown <pbrown@redhat.com>
cvsdist ee65da8
- bumped spec number for initial rh 6.0 build
cvsdist ee65da8
cvsdist ee65da8
* Tue Aug 11 1998 Jeff Johnson <jbj@redhat.com>
cvsdist ee65da8
- build root
cvsdist ee65da8
cvsdist ee65da8
* Mon Apr 27 1998 Prospector System <bugs@redhat.com>
cvsdist ee65da8
- translations modified for de, fr, tr
cvsdist ee65da8
cvsdist ee65da8
* Wed Oct 22 1997 Michael Fulbright <msf@redhat.com>
cvsdist ee65da8
- cleaned spec file to new standard, confirmed package is up to date
cvsdist ee65da8
cvsdist ee65da8
* Tue Mar 25 1997 Erik Troan <ewt@redhat.com>
cvsdist ee65da8
- Added efax-08a-64bit.patch from David Mosberger