summaryrefslogtreecommitdiffstats
path: root/lib/libmagic
Commit message (Collapse)AuthorAgeFilesLines
* Convert libraries to use LIBADDbapt2014-11-251-2/+1
| | | | While here reduce a bit overlinking
* MFV r267843: update file/libmagic to 5.19.delphij2014-06-262-62/+127
| | | | MFC after: 2 weeks
* Sort .ALLSRC before concatenating files together. This makes sure that thedelphij2014-05-061-1/+1
| | | | | | | | | | file are always built the same. (Note that Header and Localstuff must appear first and in that order, the sorting does not affect as a coincident effect). Submitted by: sjg MFC after: 3 days
* r235638 is not the clean way to add support for building on ancient FreeBSDobrien2012-09-112-5/+3
| | | | | | | | 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.
* Correct a regression introduced during the import of file(1) 5.11.mckay2012-08-171-1/+1
| | | | | | | | | | | 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
* Don't depend on getline being on the build machine. That'smarcel2012-05-192-2/+5
| | | | not the case for FreeBSD 7.x machines.
* Update file(1) to version 5.11.obrien2012-04-192-13/+67
|
* Use CFLAGS and LDFLAGS when compiling mkmagic. This ensures that all therpaulo2010-08-011-2/+1
| | | | | | | correct flags are being used (esp. NO_WERROR wrt clang). Submitted by: Dimitry Andric <dimitry at andric.com> Reviewed by: ru
* With r208341 in place WARNS can be increased.marius2010-05-201-1/+1
|
* Update to a config.h created by a file 5.03 configure script. This causesmarius2010-05-201-38/+57
| | | | | | | | | | 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
* Build lib/ with WARNS=6 by default.ed2010-01-021-0/+2
| | | | | | | | | 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.
* Bump the version of all non-symbol-versioned shared libraries inkensmith2009-07-191-1/+1
| | | | | | | | 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)
* Merge vendor/file/dist@191739, bringing FILE 5.00 to 8-CURRENT.obrien2009-05-042-35/+50
|
* Don't make the MIME magic any longer.obrien2009-01-021-5/+2
|
* Add strndup(3) prototype to string.h.kib2008-12-081-1/+1
| | | | | | | | | | | 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
* Update for the 'file' 4.23 import.obrien2008-01-131-4/+23
|
* FreeBSD has <limits.h>.obrien2007-05-241-0/+3
|
* Update for the 'file' 4.21 import.obrien2007-05-241-1/+1
|
* Update for the 'file' 4.19 import.obrien2007-05-241-1/+10
|
* Bump library versions in preparation for 7.0.deischen2007-05-211-1/+1
| | | | Ok'd by: kan
* Update for the 'file' 4.17 import.obrien2006-06-192-55/+49
|
* Add missing shared library interdependencies.ru2005-11-101-0/+2
|
* Bump the shared library version number of all libraries that have notkensmith2005-07-221-1/+1
| | | | | | | been bumped since RELENG_5. Reviewed by: ru Approved by: re (not needed for commit check but in principle...)
* Clean up makefile.ru2005-01-281-7/+2
| | | | | | | | - 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.
* Catch up with file 4.12 import.obrien2004-12-281-2/+2
|
* Install the header for libmagic.obrien2004-11-191-0/+1
| | | | | PR: 73647 Submitted by: Uranus <uranus@it.muds.net>
* uniq(1) is not an install tool, and using it was causingru2004-10-181-2/+2
| | | | | | "uniq: not found" during the installworld. Spotted by: Roman Neuhauser
* Don't try to programatically support running file(1) w/in /usr/obj or otherobrien2004-08-091-1/+1
| | | | | | non-standard install path. Agreed with: ru
* Uncomment the real paths and remove the local debugging paths.obrien2004-08-091-2/+1
| | | | Noticed by: ru (who's faster than 'make world' on my stock src test machine)
* Bmake the library containing and processing the magic.obrien2004-08-092-0/+274
OpenPOWER on IntegriCloud