./sysutils/file, Tool for determining file type

[ CVSweb ] [ Homepage ] [ RSS ] [ Required by ] [ Add to tracker ]

Branch: CURRENT, Version: 5.32nb1, Package name: file-5.32nb1, Maintainer: pkgsrc-users

File tests each argument in an attempt to classify it. There are
three sets of tests, performed in this order: file system tests,
magic number tests, and language tests.

This package also includes the magic number recognition libraries.

This implementation of file(1) is the standard "file" command for
Linux, *BSD, and other systems. It (as well as the magic file)
was originally written by Ian Darwin and is now maintained by a
group of developers lead by Christos Zoulas.

Required to build:

Master sites:

SHA1: c2858a8043387d1229d8768ad42762a803d017db
RMD160: b7d41a4c6b2c28d9f202d740e353416e2036c1ef
Filesize: 778.345 KB

Version history: (Expand)

CVS history: (Expand)

   2018-01-07 14:04:44 by Roland Illig | Files touched by this commit (583)
Log message:
Fix indentation in buildlink3.mk files.

The actual fix as been done by "pkglint -F */*/buildlink3.mk", and was
reviewed manually.

There are some .include lines that still are indented with zero spaces
although the surrounding .if is indented. This is existing practice.
   2017-12-12 04:11:51 by Ryo ONODERA | Files touched by this commit (3) | Package updated
Log message:
Fix functionality under NetBSD-current. Taken from NetBSD src

   2017-09-04 14:13:28 by Thomas Klausner | Files touched by this commit (3) | Package updated
Log message:
Updated file to 5.32.

	* release 5.32
	* Always reset state in {file,buffer}_apprentice (Krzysztof Wilczynski)
	* Fix always true condition (Thomas Jarosch)
	* pickier parsing of numeric values in magic files.
	* PR/615 add magic_getflags()
	* release 5.31
	* remove trailing spaces from magic files
	* refactor is_tar
	* better bounds checks for cdf
	* release 5.30
	* If we exceeded the offset in a search return no match
	  (Christoph Biedl)
	* Be more lenient on corrupt CDF files (Christoph Biedl)
	* pacify ubsan sign extension (oss-fuzz/524)
	* off by one in cdf parsing (PR/593)
	* report debugging sections in elf (PR/591)
	* Allow @@@ in extensions
	* Add missing overflow check in der magic (Jonas Wagner)
	* release 5.29
	* der getlength overflow (Jonas Wagner)
	* multiple magic file load failure (Christoph Biedl)
	* CDF parsing improvements (Guy Helmer)
	* Add support for signed indirect offsets
	* cat /dev/null | file - should print empty (Christoph Biedl)
	* Bump string size from 64 to 96.
	* PR/556: Fix separators on annotations.
   2016-06-16 18:16:45 by Filip Hajny | Files touched by this commit (2)
Log message:
Make note of upstream bug report
   2016-06-16 17:27:49 by Filip Hajny | Files touched by this commit (2) | Package updated
Log message:
Update sysutils/file to 5.28.
Fix unbalanced regex (fixes build with some sed flavors).

file 5.28
* PR/555: Avoid overflow for offset > nbytes
* PR/550: Segv on DER parsing:
    - use the correct variable for length
    - set offset to 0 on failure.
   2016-06-05 15:57:37 by Makoto Fujiwara | Files touched by this commit (3) | Package updated
Log message:
Updated sysutils/file to 5.27
2016-05-13  12:00  Christos Zoulas <christos@zoulas.com>

        * release 5.27

2016-04-18   9:35  Christos Zoulas <christos@zoulas.com>

        * Errors comparing DER entries or computing offsets
          are just indications of malformed non-DER files.
          Don't print them.
        * Offset comparison was off-by-one.
        * Fix compression code (Werner Fink)
        * Put new bytes constant in the right file (not the generated one)
   2016-03-05 16:44:36 by Benny Siegert | Files touched by this commit (3) | Package updated
Log message:
Update file to 5.25.

2015-09-16   9:50  Christos Zoulas <christos@zoulas.com>

	* release 5.25

2015-09-11  13:25  Christos Zoulas <christos@zoulas.com>

	* add a limit to the length of regex searches

2015-09-08   9:50  Christos Zoulas <christos@zoulas.com>

	* fix problems with --parameter (Christoph Biedl)

2015-07-11  10:35  Christos Zoulas <christos@zoulas.com>

	* Windows fixes PR#466 (Jason Hood)

2015-07-09  10:35  Christos Zoulas <christos@zoulas.com>

	* release 5.24

2015-06-11   8:52  Christos Zoulas <christos@zoulas.com>

	* redo long option encoding to fix off-by-one in 5.23

2015-06-10  13:50  Christos Zoulas <christos@zoulas.com>

	* release 5.23

2015-06-09  16:10  Christos Zoulas <christos@zoulas.com>

	* Fix issue with regex range for magic with offset
	* Always return true from mget with USE (success to mget not match
	  indication). Fixes mime evaluation after USE magic
	* PR#459: Don't insert magic entries to the list if there are parsing
	  errors for them.

2015-06-03  16:00  Christos Zoulas <christos@zoulas.com>

	* PR#455: Add utf-7 encoding

2015-06-03  14:30  Christos Zoulas <christos@zoulas.com>

	* PR#455: Implement -Z, look inside, but don't report on compression
	* PR#454: Fix allocation error on bad magic.

2015-05-29  10:30  Christos Zoulas <christos@zoulas.com>

	* handle MAGIC_CONTINUE everywhere, not just in softmagic

2015-05-21  14:30  Christos Zoulas <christos@zoulas.com>

	* don't print descriptions for NAME types when mime.

2015-04-09  15:59  Christos Zoulas <christos@zoulas.com>

	* Add --extension to list the known extensions for this file type
	  Idea by Andrew J Roazen

2015-02-14  12:23  Christos Zoulas <christos@zoulas.com>

	* Bump file search buffer size to 1M.

2015-01-09  14:35  Christos Zoulas <christos@zoulas.com>

	* Fix multiple issues with date formats reported by Christoph Biedl:
		- T_LOCAL meaning was reversed
		- Arithmetic did not work
	  Also stop adjusting daylight savings for gmt printing.

2015-01-05  13:00  Christos Zoulas <christos@zoulas.com>

	* PR#411: Fix memory corruption from corrupt cdf file.
   2016-02-26 11:24:14 by Jonathan Perkin | Files touched by this commit (44)
Log message: