diff --git a/.cvsignore b/.cvsignore index b77e4d3..1a43886 100644 --- a/.cvsignore +++ b/.cvsignore @@ -1 +1 @@ -file-4.02.tar.gz +file-4.07.tar.gz diff --git a/file-selinux.patch b/file-selinux.patch new file mode 100644 index 0000000..0e54bd8 --- /dev/null +++ b/file-selinux.patch @@ -0,0 +1,19 @@ +--- file-4.02/magic/Magdir/policy.selinux 2003-08-28 14:36:54.000000000 -0400 ++++ file-4.02/magic/Magdir/policy 2003-08-28 14:39:35.000000000 -0400 +@@ -0,0 +1,6 @@ ++# SE Linux policy database ++0 lelong 0xf97cff8c SE Linux policy ++>16 lelong x v%d ++>20 lelong 1 MLS ++>24 lelong x %d symbols ++>28 lelong x %d ocons +--- file-4.02/magic/Makefile.am.selinux 2003-08-28 14:41:58.000000000 -0400 ++++ file-4.02/magic/Makefile.am 2003-08-28 14:45:15.000000000 -0400 +@@ -135,6 +135,7 @@ + Magdir/pgp \ + Magdir/pkgadd \ + Magdir/plus5 \ ++Magdir/policy \ + Magdir/printer \ + Magdir/project \ + Magdir/psdbms \ diff --git a/file.spec b/file.spec index a66173a..012e5d8 100644 --- a/file.spec +++ b/file.spec @@ -2,12 +2,16 @@ Summary: A utility for determining file types. Name: file -Version: 4.02 -Release: 2 +Version: 4.07 +Release: 1 License: distributable Group: Applications/File Source0: ftp://ftp.astron.com/pub/file/file-%{version}.tar.gz Patch0: file-4.02-rh.patch +Patch1: file-4.02-zlib.patch +Patch2: file-offset.patch +Patch3: file-4.07-debian.patch +Patch4: file-selinux.patch BuildRoot: %{_tmppath}/%{name}-%{version}-root %description @@ -22,6 +26,10 @@ useful utility. %prep %setup -q %patch0 -p1 -b .rh +%patch1 -p1 -b .zlib +%patch2 -p1 -b .offset +%patch3 -p1 -b .debian +%patch4 -p1 -b .selinux %build CFLAGS="%{optflags} -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE" \ @@ -62,6 +70,26 @@ rm -rf $RPM_BUILD_ROOT %{_libdir}/libmagic.* %changelog +* Sun Jan 18 2004 Jeff Johnson 4.07-1 +- upgrade to 4.07. +- deal gracefully with unreadable files (#113207). +- detect PO files (from Debian). + +* Tue Dec 16 2003 Jeff Johnson 4.06-1 +- upgrade to file-4.06. + +* Mon Nov 10 2003 Tim Waugh 4.02-4 +- Minimal fix for busy loop problem (bug #109495). + +* Mon Oct 13 2003 Jeff Johnson 4.05-1 +- upgrade to 4.05. + +* Thu Oct 9 2003 Jeff Johnson 4.02-3 +- use zlib rather than exec'ing gzip. + +-* Thu Aug 28 2003 Dan Walsh +-- Add Selinux support. + * Wed Jun 04 2003 Elliot Lee - rebuilt diff --git a/sources b/sources index 329d6ea..06f348f 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -5a853ecdf3b440915bda1d1a03240a5f file-4.02.tar.gz +ecfbf092c2c19119d9386e668f890954 file-4.07.tar.gz