aboutsummaryrefslogtreecommitdiff
path: root/lib/libmagic
Commit message (Collapse)AuthorAgeFilesLines
...
| * | | Merge from headSimon J. Gerraty2014-05-081-1/+1
| |\ \ \ | | | | | | | | | | | | | | | Notes: svn path=/projects/bmake/; revision=265720
| * | | | Updated dependenciesSimon J. Gerraty2013-03-111-0/+1
| | | | | | | | | | | | | | | | | | | | Notes: svn path=/projects/bmake/; revision=248169
| * | | | Updated dependenciesSimon J. Gerraty2013-02-161-2/+0
| | | | | | | | | | | | | | | | | | | | Notes: svn path=/projects/bmake/; revision=246868
| * | | | Updated/new Makefile.dependSimon J. Gerraty2012-11-081-0/+4
| | | | | | | | | | | | | | | | | | | | Notes: svn path=/projects/bmake/; revision=242788
| * | | | Sync from headSimon J. Gerraty2012-11-042-5/+3
| |\ \ \ \ | | | | | | | | | | | | | | | | | | Notes: svn path=/projects/bmake/; revision=242545
| * | | | | Sync FreeBSD's bmake branch with Juniper's internal bmake branch.Marcel Moolenaar2012-08-221-0/+16
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Requested by: Simon Gerraty <sjg@juniper.net> Notes: svn path=/projects/bmake/; revision=239572
* | | | | | MFV r284234:Xin LI2015-06-101-3/+15
| |_|_|_|/ |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Update file to 5.23. MFC after: 2 weeks Notes: svn path=/head/; revision=284237
* | | | | Since the merge of file 5.21 in r276415 and r276416, stable/9 andDimitry Andric2015-01-131-0/+16
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | stable/10 cannot be built from FreeBSD 8.x. This is because the build-tools stage requires libmagic, but lib/libmagic/config.h was generated on head, and it now enables using the xlocale.h APIs, which are not supported on 8.x (and on 9.x before __FreeBSD_version 900506). See also the start of this thread on -stable: https://lists.freebsd.org/pipermail/freebsd-stable/2015-January/081521.html To fix this, conditionalize the use of xlocale.h APIs to make bootstrapping from older FreeBSD versions work correctly. Reviewed by: delphij MFC after: 3 days Differential Revision: https://reviews.freebsd.org/D1518 Notes: svn path=/head/; revision=277147
* | | | | MFV r276568:Xin LI2015-01-021-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Update file to 5.22. MFC after: 2 weeks Notes: svn path=/head/; revision=276577
* | | | | MFV r275696: file 5.21.Xin LI2014-12-111-3/+18
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | MFC after: 2 weeks Notes: svn path=/head/; revision=275698
* | | | | Convert libraries to use LIBADDBaptiste Daroussin2014-11-251-2/+1
| |_|_|/ |/| | | | | | | | | | | | | | | | | | | | | | | While here reduce a bit overlinking Notes: svn path=/head/; revision=275024
* | | | MFV r267843: update file/libmagic to 5.19.Xin LI2014-06-262-62/+127
| |_|/ |/| | | | | | | | | | | | | | | | | MFC after: 2 weeks Notes: svn path=/head/; revision=267897
* | | Sort .ALLSRC before concatenating files together. This makes sure that theXin LI2014-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 Notes: svn path=/head/; revision=265464
* | r235638 is not the clean way to add support for building on ancient FreeBSDDavid E. O'Brien2012-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. Notes: svn path=/head/; revision=240377
* | Correct a regression introduced during the import of file(1) 5.11.Stephen 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 Notes: svn path=/head/; revision=239348
* Don't depend on getline being on the build machine. That'sMarcel Moolenaar2012-05-192-2/+5
| | | | | | | not the case for FreeBSD 7.x machines. Notes: svn path=/head/; revision=235638
* Update file(1) to version 5.11.David E. O'Brien2012-04-192-13/+67
| | | | Notes: svn path=/head/; revision=234449
* Use CFLAGS and LDFLAGS when compiling mkmagic. This ensures that all theRui Paulo2010-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 Notes: svn path=/head/; revision=210730
* With r208341 in place WARNS can be increased.Marius Strobl2010-05-201-1/+1
| | | | Notes: svn path=/head/; revision=208342
* Update to a config.h created by a file 5.03 configure script. This causesMarius Strobl2010-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 Notes: svn path=/head/; revision=208341
* Build lib/ with WARNS=6 by default.Ed Schouten2010-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. Notes: svn path=/head/; revision=201381
* Bump the version of all non-symbol-versioned shared libraries inKen Smith2009-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) Notes: svn path=/head/; revision=195767
* Merge vendor/file/dist@191739, bringing FILE 5.00 to 8-CURRENT.David E. O'Brien2009-05-042-35/+50
| | | | Notes: svn path=/head/; revision=191771
* Don't make the MIME magic any longer.David E. O'Brien2009-01-021-5/+2
| | | | Notes: svn path=/head/; revision=186693
* Add strndup(3) prototype to string.h.Konstantin Belousov2008-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 Notes: svn path=/head/; revision=185777
* Update for the 'file' 4.23 import.David E. O'Brien2008-01-131-4/+23
| | | | Notes: svn path=/head/; revision=175299
* FreeBSD has <limits.h>.David E. O'Brien2007-05-241-0/+3
| | | | Notes: svn path=/head/; revision=169967
* Update for the 'file' 4.21 import.David E. O'Brien2007-05-241-1/+1
| | | | Notes: svn path=/head/; revision=169965
* Update for the 'file' 4.19 import.David E. O'Brien2007-05-241-1/+10
| | | | Notes: svn path=/head/; revision=169946
* Bump library versions in preparation for 7.0.Daniel Eischen2007-05-211-1/+1
| | | | | | | Ok'd by: kan Notes: svn path=/head/; revision=169807
* Update for the 'file' 4.17 import.David E. O'Brien2006-06-192-55/+49
| | | | Notes: svn path=/head/; revision=159769
* Add missing shared library interdependencies.Ruslan Ermilov2005-11-101-0/+2
| | | | Notes: svn path=/head/; revision=152285
* Bump the shared library version number of all libraries that have notKen Smith2005-07-221-1/+1
| | | | | | | | | | been bumped since RELENG_5. Reviewed by: ru Approved by: re (not needed for commit check but in principle...) Notes: svn path=/head/; revision=148297
* Clean up makefile.Ruslan Ermilov2005-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. Notes: svn path=/head/; revision=140944
* Catch up with file 4.12 import.David E. O'Brien2004-12-281-2/+2
| | | | Notes: svn path=/head/; revision=139371
* Install the header for libmagic.David E. O'Brien2004-11-191-0/+1
| | | | | | | | PR: 73647 Submitted by: Uranus <uranus@it.muds.net> Notes: svn path=/head/; revision=137887
* uniq(1) is not an install tool, and using it was causingRuslan Ermilov2004-10-181-2/+2
| | | | | | | | | "uniq: not found" during the installworld. Spotted by: Roman Neuhauser Notes: svn path=/head/; revision=136681
* Don't try to programatically support running file(1) w/in /usr/obj or otherDavid E. O'Brien2004-08-091-1/+1
| | | | | | | | | non-standard install path. Agreed with: ru Notes: svn path=/head/; revision=133370
* Uncomment the real paths and remove the local debugging paths.David E. O'Brien2004-08-091-2/+1
| | | | | | | Noticed by: ru (who's faster than 'make world' on my stock src test machine) Notes: svn path=/head/; revision=133365
* Bmake the library containing and processing the magic.David E. O'Brien2004-08-092-0/+274
Notes: svn path=/head/; revision=133362