Summary: An archiving and compression utility for LHarc format archives. Name: lha Version: 1.14i Release: 19a License: freeware Group: Applications/Archiving Source: http://www2m.biglobe.ne.jp/~dolphin/lha/prog/lha-114i.tar.gz Patch: lha-114i-symlink.patch Patch1: lha-114i-malloc.patch Patch2: lha-114i-sec.patch Patch3: lha-dir_length_bounds_check.patch Patch4: lha-114i-sec2.patch Patch5: lha-114i-malloc-macosx.patch BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root %description LHA is an archiving and compression utility for LHarc format archives. LHA is mostly used in the DOS world, but can be used under Linux to extract DOS files from LHA archives. Install the lha package if you need to extract DOS files from LHA archives. %prep %setup -q -n lha-114i %patch -p1 -b .symlink %ifnos darwin %patch1 -p1 -b .malloc %else %patch5 -p1 -b .malloc %endif # security fixes %patch2 -p1 -b .sec %patch3 -p1 -b .sec %patch4 -p1 -b .sec %build make %install rm -rf %{buildroot} mkdir -p %{buildroot}%{_bindir} mkdir -p %{buildroot}%{_mandir}/ja/man1 make INSTALL='install -c' BINDIR=%{buildroot}%{_bindir} MANDIR=%{buildroot}%{_mandir}/ja MANSECT=1 install %clean rm -rf %{buildroot} %files %ifnos darwin %defattr(-,root,root) %else %defattr(-,root,wheel) %endif %doc PROBLEMS.euc README.euc MACHINES* %{_bindir}/lha %{_mandir}/ja/man1/lha.1* %changelog * Wed May 25 2005 Keisuke Fujii 1.14i-19a - 1st build on MacOS X 10.4. * Sat Mar 05 2005 Than Ngo 1.14i-19 - rebuilt * Wed Feb 09 2005 Than Ngo 1.14i-18 - rebuilt * Fri Sep 10 2004 Than Ngo 1.14i-17 - security vulnerabilities CAN-2004-0769, CAN-2004-0771, CAN-2004-0694, CAN-2004-0745 * Tue Jun 15 2004 Elliot Lee - rebuilt * Fri May 21 2004 Than Ngo 1.14i-15 - fix segmentation fault on ia64 * Wed May 05 2004 Than Ngo 1.14i-14 - fix security vulnerabilities, CAN-2004-0234, CAN-2004-0235 * Fri Feb 13 2004 Elliot Lee - rebuilt * Wed Jun 04 2003 Elliot Lee - rebuilt * Tue May 20 2003 Than Ngo 1.14i-11 - add patch file from Matt Wilson, bug #91206 * Wed Jan 22 2003 Tim Powers - rebuilt * Wed Dec 11 2002 Tim Powers 1.14i-8 - rebuild on all arches * Fri Jun 21 2002 Tim Powers - automated rebuild * Wed Jun 19 2002 Than Ngo 1.14i-6 - don't forcibly strip binaries * Thu May 23 2002 Tim Powers - automated rebuild * Wed Feb 27 2002 Than Ngo 1.14i-4 - rebuild * Tue Jan 29 2002 Than Ngo 1.14i-3 - rebuild in rawhide * Tue Sep 25 2001 Than Ngo 1.14i-1 - update to 1.14i (bug #52779) * Mon May 21 2001 Tim Powers - rebuilt for the distro * Mon Jul 24 2000 Prospector - rebuilt * Wed Jul 12 2000 Than Ngo - rebuilt * Mon Jul 03 2000 Prospector - automatic rebuild * Fri May 12 2000 Tim Powers - rebuilt for Powertools-7.0 * Wed Jan 19 2000 Bill Nottingham - add some more docs * Sun Mar 21 1999 Cristian Gafton - auto rebuild in the new build environment (release 11) * Tue Jan 24 1999 Michael Maher - this package will never change. - changed groups * Thu Dec 17 1998 Michael Maher - built package for 6.0 * Wed Sep 23 1998 Jeff Johnson - add english doco. * Sat Aug 15 1998 Jeff Johnson - build root * Mon Apr 27 1998 Prospector System - translations modified for de, fr, tr * Tue Oct 21 1997 Donnie Barnes - removed man page, wasn't ASCII and caused more harm than good - spec file cleanups * Thu Jul 10 1997 Erik Troan - built against glibc