History log of /freebsd-10.0-release/lib/libmagic/
Revision Date Author Comments
(<<< Hide modified files)
(Show modified files >>>)
259065 07-Dec-2013 gjb

- Copy stable/10 (r259064) to releng/10.0 as part of the
10.0-RELEASE cycle.
- Update __FreeBSD_version [1]
- Set branch name to -RC1

[1] 10.0-CURRENT __FreeBSD_version value ended at '55', so
start releng/10.0 at '100' so the branch is started with
a value ending in zero.

Approved by: re (implicit)
Sponsored by: The FreeBSD Foundation

256281 10-Oct-2013 gjb

Copy head (r256279) to stable/10 as part of the 10.0-RELEASE cycle.

Approved by: re (implicit)
Sponsored by: The FreeBSD Foundation


240377 11-Sep-2012 obrien

r235638 is not the clean way to add support for building on ancient FreeBSD
versions. Instead use Imp's good work on "legacy" and follow the outcome
of the previous TRB discussions on this topic.

Now use the libc getline() if it exists, and only where it doesn't
create a bootstraping version.


239348 17-Aug-2012 mckay

Correct a regression introduced during the import of file(1) 5.11.

Magic tests containing "search" or "regex" directives were incorrectly
compiled by "mkmagic" and were effectively ignored. This caused troff
files (for example) to be detected as simply "ASCII text" instead of
as "troff or preprocessor input, ASCII text".

PR: bin/170415
Approved by: consensus on developers@
MFC after: 3 days


235638 19-May-2012 marcel

Don't depend on getline being on the build machine. That's
not the case for FreeBSD 7.x machines.


234449 19-Apr-2012 obrien

Update file(1) to version 5.11.


210730 01-Aug-2010 rpaulo

Use CFLAGS and LDFLAGS when compiling mkmagic. This ensures that all the
correct flags are being used (esp. NO_WERROR wrt clang).

Submitted by: Dimitry Andric <dimitry at andric.com>
Reviewed by: ru


208342 20-May-2010 marius

With r208341 in place WARNS can be increased.


208341 20-May-2010 marius

Update to a config.h created by a file 5.03 configure script. This causes
file.1 to contain the correct version number and SIZEOF_LONG_LONG to be
defined as appropriate, which is crucial for 64-bit big-endian ELF files
to be handled correctly on big-endian systems.

PR: 146387
Reviewed by: delphij
MFC after: 3 days


201381 02-Jan-2010 ed

Build lib/ with WARNS=6 by default.

Similar to libexec/, do the same with lib/. Make WARNS=6 the norm and
lower it when needed.

I'm setting WARNS?=0 for secure/. It seems secure/ includes the
Makefile.inc provided by lib/. I'm not going to touch that directory.
Most of the code there is contributed anyway.


195767 19-Jul-2009 kensmith

Bump the version of all non-symbol-versioned shared libraries in
preparation for 8.0-RELEASE. Add the previous version of those
libraries to ObsoleteFiles.inc and bump __FreeBSD_Version.

Reviewed by: kib
Approved by: re (rwatson)


191771 04-May-2009 obrien

Merge vendor/file/dist@191739, bringing FILE 5.00 to 8-CURRENT.


186693 02-Jan-2009 obrien

Don't make the MIME magic any longer.


185777 08-Dec-2008 kib

Add strndup(3) prototype to string.h.

This change was erronously ommitted from the r185690, and attempt
to simply add the prototype to string.h has revealed that several
contributed programs defined local prototypes for strndup(), controlled
by autoconfed config.h. So, manually change #undef HAVE_STRNDUP to
#define HAVE_STRNDUP 1. Next import of the corresponding program would
regenerate config.h, overriding the changes in this commit.

No objections from: kan


175299 13-Jan-2008 obrien

Update for the 'file' 4.23 import.


169967 24-May-2007 obrien

FreeBSD has <limits.h>.


169965 24-May-2007 obrien

Update for the 'file' 4.21 import.


169946 24-May-2007 obrien

Update for the 'file' 4.19 import.


169807 21-May-2007 deischen

Bump library versions in preparation for 7.0.

Ok'd by: kan


159769 19-Jun-2006 obrien

Update for the 'file' 4.17 import.


152285 10-Nov-2005 ru

Add missing shared library interdependencies.


148297 22-Jul-2005 kensmith

Bump the shared library version number of all libraries that have not
been bumped since RELENG_5.

Reviewed by: ru
Approved by: re (not needed for commit check but in principle...)


140944 28-Jan-2005 ru

Clean up makefile.

- Remove all:. It's redundant, and ${LIB} in it is just a bug.
- Remove .ORDER:. *.mgc files can safely be built in parallel.
- Remove PITA. The mkmagic tool is smart to put the binary file
into the current directory (${.OBJDIR}) even if the source file
lives somewhere else, which is just what we need.


139371 28-Dec-2004 obrien

Catch up with file 4.12 import.


137887 19-Nov-2004 obrien

Install the header for libmagic.

PR: 73647
Submitted by: Uranus <uranus@it.muds.net>


136681 18-Oct-2004 ru

uniq(1) is not an install tool, and using it was causing
"uniq: not found" during the installworld.

Spotted by: Roman Neuhauser


133370 09-Aug-2004 obrien

Don't try to programatically support running file(1) w/in /usr/obj or other
non-standard install path.

Agreed with: ru


133365 09-Aug-2004 obrien

Uncomment the real paths and remove the local debugging paths.

Noticed by: ru (who's faster than 'make world' on my stock src test machine)


133362 09-Aug-2004 obrien

Bmake the library containing and processing the magic.