Up to [cvs.NetBSD.org] / pkgsrc / sysutils / file
Request diff between arbitrary revisions
Keyword substitution: kv
Default branch: MAIN
file: Update to 5.39 2020-06-14 20:02 Christos Zoulas <christos@zoulas.com> * release 5.39 2020-06-07 20:00 Christos Zoulas <christos@zoulas.com> * Remove unused subtype_mime (Steve Grubb) * Remove unused check in okstat (Steve Grubb) * Fix mime-type in elf binaries by making sure $x is set * Fix indirect negative offsets broken by OFFNEGATIVE * Fix GUID equality check * PR/165: Handle empty array and strings in JSON * PR/162: Add --exclude-quiet 2020-06-06 15:33 Christos Zoulas <christos@zoulas.com> * Fix memory leak in ascmagic (Steve Grubb) 2020-06-04 00:21 Christos Zoulas <christos@zoulas.com> * Fix string comparison length with ignore whitespace 2020-05-31 00:11 Christos Zoulas <christos@zoulas.com> * Fix mingwin 64 compilation 2020-05-30 23:56 Christos Zoulas <christos@zoulas.com> * PR/159: whitelist getpid needed for file_pipe2file() 2020-05-09 18:57 Christos Zoulas <christos@zoulas.com> * Indicate negative offsets with a flag OFFNEGATIVE so that -0 works. * Introduce "offset" magic type that can be used to detect the file size, and bail on short files. * document DER better in the magic man page. 2020-03-11 21:53 Christos Zoulas <christos@zoulas.com> * fix memory leaks (SonarQube) 2020-03-08 21:33 Christos Zoulas <christos@zoulas.com> * fix memory leaks (SonarQube) * rewrite confusing loops (SonarQube) * fix bogus test (SonarQube) * pass a sized buffer to file_fmttime() (SonarQube) * fix memory leaks (SonarQube) 2020-02-20 15:50 Christos Zoulas <christos@zoulas.com> * Don't allow * in printf formats, or the code itself (Christoph Biedl) * Introduce a printf output size checker to avoid DoS attacks 2020-02-17 17:22 Christos Zoulas <christos@zoulas.com> * Avoid memory leak on error (oss-fuzz) * Check length of string on DER before derefercing and add new types * Add missing DER string (oss-fuzz) 2020-02-16 20:45 Christos Zoulas <christos@zoulas.com> * Add missing DER types, and debugging 2020-02-13 13:10 Christos Zoulas <christos@zoulas.com> * PR/140: Avoid abort with hand-crafted magic file (gockelhahn) * PR/139 Avoid DoS in printf with hand-crafted magic file (gockelhahn) * PR/138: Avoid crash with hand-crafted magic file (gockelhahn) 2020-02-12 17:30 Christos Zoulas <christos@zoulas.com> * PR/136: Fix static build by adding a libmagic.pc (Fabrice Fontaine) 2019-12-24 14:16 Christos Zoulas <christos@zoulas.com> * add guid support
pkgsrc changes:
- Updating package for file from 5.00 to 5.03
- Adding/updating patch which prevents non-gcc is invoked
with gcc's warning options
Upstream changes:
2009-05-06 10:25 Christos Zoulas <christos@zoulas.com>
* Avoid null dereference in cdf code (Drew Yao)
* More cdf bounds checks and overflow checks
2009-05-01 18:37 Christos Zoulas <christos@zoulas.com>
* Buffer overflow fixes from Drew Yao
2009-04-30 17:10 Christos Zoulas <christos@zoulas.com>
* Fix more cdf lossage. All the documents I have
right now print the correct information.
2009-03-27 18:43 Christos Zoulas <christos@zoulas.com>
* don't print \012- separators in the same magic entry
if it consists of multiple magic printing lines.
2009-03-23 10:20 Christos Zoulas <christos@zoulas.com>
* Avoid file descriptor leak in compress code from
(Daniel Novotny)
2009-03-18 16:50 Christos Zoulas <christos@zoulas.com>
* Allow escaping of relation characters, so that we can say \^[A-Z]
and the ^ is not eaten as a relation char.
* Fix troff and fortran to their previous glory using
regex. This was broken since their removel from ascmagic.
2009-03-10 16:50 Christos Zoulas <christos@zoulas.com>
* don't use strlen in strndup() (Toby Peterson)
2009-03-10 7:45 Christos Zoulas <christos@zoulas.com>
* avoid c99 syntax.
2009-02-23 15:45 Christos Zoulas <christos@zoulas.com>
* make the cdf code use the buffer first if available,
and then the fd code.
PR/39596: Jwens Rehsack: Update to file-4.26 (4.21 is gone) and add built-in version detection.
Mechanical changes to package PLISTs to make use of LIBTOOLIZE_PLIST. All library names listed by *.la files no longer need to be listed in the PLIST, e.g., instead of: lib/libfoo.a lib/libfoo.la lib/libfoo.so lib/libfoo.so.0 lib/libfoo.so.0.1 one simply needs: lib/libfoo.la and bsd.pkg.mk will automatically ensure that the additional library names are listed in the installed package +CONTENTS file. Also make LIBTOOLIZE_PLIST default to "yes".
Initial import of file 4.02 into the NetBSD packages collection as sysutils/file. File is a file classification program. This version is the standard "file" command for Linux, *BSD, and other systems. This is Ian Darwin's file(1) command. It is maintained by Christos Zoulas. Package supplied by Jeremy C. Reed in PR#20774 and also in pkgsrc-wip. Thanks Jeremy.
Initial revision