summaryrefslogtreecommitdiffstats
path: root/lib/libmagic
Commit message (Collapse)AuthorAgeFilesLines
* MFC r312452-r312512:ngie2017-02-101-1/+1
| | | | | | | | | | r312452-r312512: - Use SRCTOP-relative paths to other directories instead of .CURDIR-relative ones This simplifies pathing in make/displayed output - Use .CURDIR:H instead of .CURDIR to simplify pathing in output, etc
* MFC r308420: MFV r308392: file 5.29.delphij2016-12-111-3/+3
|
* Fix build: explicitly reference the generated magic.h as dependencydelphij2016-06-271-3/+3
| | | | | | | | | | of mkmagic and point its location. Reported by: jenkins Pointy hat to: delphij MFC after: 2 weeks X-MFC-With: 302221 Approved by: re (kib)
* MFV r302218: file 5.28.delphij2016-06-272-3/+12
| | | | | | Relnotes: yes MFC after: 2 weeks Approved by: re (gjb)
* MFV r299716: file 5.27delphij2016-05-141-3/+3
| | | | | MFC after: 2 weeks Relnotes: yes
* DIRDEPS_BUILD: Run the staged bootstrap-tools version of build-tools.bdrewery2016-05-091-1/+1
| | | | | | This avoids running target binaries. Sponsored by: EMC / Isilon Storage Division
* MFV r298178:delphij2016-04-182-4/+7
| | | | | | | Update file to 5.26. MFC after: 2 weeks Relnotes: yes
* MFHgjb2016-04-161-1/+1
|\ | | | | | | Sponsored by: The FreeBSD Foundation
| * META_MODE: Don't rebuild build-tools targets during normal build.bdrewery2016-04-141-1/+1
| | | | | | | | | | | | | | | | | | This avoids 'build command changed' due to CFLAGS/CC changes during the normal build. Without this the build-tools targets end up rebuilding for the *target* rather than keeping the native versions built in build-tools. Sponsored by: EMC / Isilon Storage Division
* | First pass through library packaging.gjb2016-02-041-0/+1
|/ | | | Sponsored by: The FreeBSD Foundation
* META MODE: Prefer INSTALL=tools/install.sh to lessen the need for xinstall.host.bdrewery2015-11-251-1/+0
| | | | | | | | This both avoids some dependencies on xinstall.host and allows bootstrapping on older releases to work due to lack of at least 'install -l' support. Sponsored by: EMC / Isilon Storage Division
* MFV r288140: update file to 5.25.delphij2015-09-231-3/+3
| | | | MFC after: 1 month
* MFV r287451 + 287452: file 5.24 + fix for bin/181436.delphij2015-09-041-3/+3
| | | | | PR: 181436 MFC after: 2 weeks
* new dependssjg2015-06-161-1/+0
|
* Add META_MODE support.sjg2015-06-131-0/+21
|\ | | | | | | | | | | | | | | | | | | | | Off by default, build behaves normally. WITH_META_MODE we get auto objdir creation, the ability to start build from anywhere in the tree. Still need to add real targets under targets/ to build packages. Differential Revision: D2796 Reviewed by: brooks imp
| * dirdeps.mk now sets DEP_RELDIRsjg2015-06-081-2/+0
| |
| * Merge sync of headsjg2015-05-272-5/+35
| |\
| * \ Merge head from 7/28sjg2014-08-193-62/+128
| |\ \
| * | | Updated dependenciessjg2014-05-161-1/+1
| | | |
| * | | Updated dependenciessjg2014-05-101-0/+2
| | | |
| * | | Merge from headsjg2014-05-081-1/+1
| |\ \ \
| * | | | Updated dependenciessjg2013-03-111-0/+1
| | | | |
| * | | | Updated dependenciessjg2013-02-161-2/+0
| | | | |
| * | | | Updated/new Makefile.dependsjg2012-11-081-0/+4
| | | | |
| | | | |
| | \ \ \
| *-. \ \ \ Sync from headsjg2012-11-042-5/+3
| |\ \ \ \ \
| * | | | | | Sync FreeBSD's bmake branch with Juniper's internal bmake branch.marcel2012-08-221-0/+16
| | |/ / / / | |/| | | | | | | | | | | | | | | | Requested by: Simon Gerraty <sjg@juniper.net>
* | | | | | MFV r284234:delphij2015-06-101-3/+15
| |_|_|_|/ |/| | | | | | | | | | | | | | | | | | | | | | | | Update file to 5.23. MFC after: 2 weeks
* | | | | Since the merge of file 5.21 in r276415 and r276416, stable/9 anddim2015-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
* | | | | MFV r276568:delphij2015-01-021-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Update file to 5.22. MFC after: 2 weeks
* | | | | MFV r275696: file 5.21.delphij2014-12-111-3/+18
| | | | | | | | | | | | | | | | | | | | MFC after: 2 weeks
* | | | | 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
OpenPOWER on IntegriCloud