The NetBSD Project

CVS log for pkgsrc/sysutils/file/Makefile

[BACK] Up to [cvs.NetBSD.org] / pkgsrc / sysutils / file

Request diff between arbitrary revisions


Default branch: MAIN


Revision 1.51 / (download) - annotate - [select for diffs], Tue Aug 16 12:46:39 2022 UTC (15 months, 2 weeks ago) by wiz
Branch: MAIN
CVS Tags: pkgsrc-2023Q3-base, pkgsrc-2023Q3, pkgsrc-2023Q2-base, pkgsrc-2023Q2, pkgsrc-2023Q1-base, pkgsrc-2023Q1, pkgsrc-2022Q4-base, pkgsrc-2022Q4, pkgsrc-2022Q3-base, pkgsrc-2022Q3, HEAD
Changes since 1.50: +2 -2 lines
Diff to previous 1.50 (colored)

file: update to 5.42.

2022-06-10   9:40  Christos Zoulas <christos@zoulas.com>

	* release 5.42

2022-05-31  14:50   Christos Zoulas <christos@zoulas.com>

	* PR/348: add missing cases to prevent file from aborting on
	  random magic files.

2022-05-27  21:05   Christos Zoulas <christos@zoulas.com>

	* PR/351: octalify filenames when not raw before printing.

2022-04-18  17:51   Christos Zoulas <christos@zoulas.com>

	* fix regex cacheing bug (Dirk Mueller)
	* merge file_regcomp and file_regerror() to simplify the code
	  and reduce memory requirements for storing regexes (Dirk Mueller)

2022-03-19  12:56   Christos Zoulas <christos@zoulas.com>

	* cache regex (Dirk Mueller)
	* detect filesystem full by flushing output (Dirk Mueller)

2021-11-19  12:36   Christos Zoulas <christos@zoulas.com>

	* implement running decompressor programs using
	  posix_spawnp(2) instead of vfork(2)

2021-10-24  11:51   Christos Zoulas <christos@zoulas.com>

	* Add support for msdos dates and times

2021-10-20   9:55   Christos Zoulas <christos@zoulas.com>

	* use the system byte swapping functions if available (Werner Fink)

2021-10-18  11:57  Christos Zoulas <christos@zoulas.com>

	* release 5.41

2021-09-23  03:51  Christos Zoulas <christos@zoulas.com>

	* Avinash Sonawane: Fix tzname detection

2021-09-03  09:17  Christos Zoulas <christos@zoulas.com>

	* Fix relationship tests with "search" magic, don't short circuit
	  logic

2021-07-13  01:06  Christos Zoulas <christos@zoulas.com>

	* Fix memory leak in compile mode

2021-07-01  03:51  Christos Zoulas <christos@zoulas.com>

	* PR/272: kiefermat: Only set returnval = 1 when we printed something
	  (in all cases print or !print). This simplifies the logic and fixes
	  the issue in the PR with -k and --mime-type there was no continuation
	  printed before the default case.

2021-06-30  13:07  Christos Zoulas <christos@zoulas.com>

	* PR/270: Don't translate unprintable characters in %s magic formats
	  when -r
	* PR/269: Avoid undefined behavior with clang (adding offset to NULL)

2021-05-09  18:38  Christos Zoulas <christos@zoulas.com>

	* Add a new flag (f) that requires that the match is a full word,
	   not a partial word match.
	* Add varint types (unused)

2021-04-19  17:17  Christos Zoulas <christos@zoulas.com>

	* PR/256: mutableVoid: If the file is less than 3 bytes, use the file
	  length to determine type
	* PR/259: aleksandr.v.novichkov: mime printing through indirect magic
	  is not taken into account, use match directly so that it does.

2021-04-04  17:02  Christos Zoulas <christos@zoulas.com>

	* count the total bytes found not the total byte positions
	  in order to determine encoding (Anatol Belski)

Revision 1.50 / (download) - annotate - [select for diffs], Mon Dec 27 23:25:08 2021 UTC (23 months ago) by schmonz
Branch: MAIN
CVS Tags: pkgsrc-2022Q2-base, pkgsrc-2022Q2, pkgsrc-2022Q1-base, pkgsrc-2022Q1, pkgsrc-2021Q4-base, pkgsrc-2021Q4
Changes since 1.49: +6 -1 lines
Diff to previous 1.49 (colored)

Adjust previous use of LD_PRELOAD to fix Solaris 11 build, hoping it'll
fix the SmartOS bulk build (which gave similar errors, but which I
couldn't reproduce on my SmartOS or Tribblix systems).

Does not break:
- macOS 12.1
- NetBSD 9.2 and -current
- OpenBSD 7.0
- FreeBSD 13.0
- Tribblix m25.1
- CentOS 7 and 8
- Debian 9, 10, and 11
- Devuan 4
- Ubuntu 14, 16, 18, and 20
- Void

Revision 1.49 / (download) - annotate - [select for diffs], Thu Apr 8 10:40:43 2021 UTC (2 years, 7 months ago) by nia
Branch: MAIN
CVS Tags: pkgsrc-2021Q3-base, pkgsrc-2021Q3, pkgsrc-2021Q2-base, pkgsrc-2021Q2
Changes since 1.48: +2 -2 lines
Diff to previous 1.48 (colored)

file: update to 5.40

2021-03-30  20:21  Christos Zoulas <christos@zoulas.com>

	* release 5.40

2021-02-05  16:31  Christos Zoulas <christos@zoulas.com>

	* PR/234: Add limit to the number of bytes to scan for encoding
	* PR/230: Fix /T (trim flag) for regex

2021-02-01  12:31  Christos Zoulas <christos@zoulas.com>
	* PR/77: Trim trailing separator.

2020-12-17  15:44  Christos Zoulas <christos@zoulas.com>

	* PR/211: Convert system read errors from corrupt ELF
	  files into human readable error messages

2020-12-08  16:24  Christos Zoulas <christos@zoulas.com>

	* fix multithreaded decompression file descriptor issue
	  by using close-on-exec (Denys Vlasenko)

2020-06-27  11:58  Christos Zoulas <christos@zoulas.com>

	* Exclude surrogate pairs from utf-8 detection (Michael Liu)

2020-06-25  12:53  Christos Zoulas <christos@zoulas.com>

	* Include # to the list of ignored format chars (Werner Fink)

Revision 1.48 / (download) - annotate - [select for diffs], Mon Nov 23 13:16:19 2020 UTC (3 years ago) by nia
Branch: MAIN
CVS Tags: pkgsrc-2021Q1-base, pkgsrc-2021Q1, pkgsrc-2020Q4-base, pkgsrc-2020Q4
Changes since 1.47: +3 -3 lines
Diff to previous 1.47 (colored)

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

Revision 1.47 / (download) - annotate - [select for diffs], Sun Jan 26 17:32:09 2020 UTC (3 years, 10 months ago) by rillig
Branch: MAIN
CVS Tags: pkgsrc-2020Q3-base, pkgsrc-2020Q3, pkgsrc-2020Q2-base, pkgsrc-2020Q2, pkgsrc-2020Q1-base, pkgsrc-2020Q1
Changes since 1.46: +2 -2 lines
Diff to previous 1.46 (colored)

all: migrate homepages from http to https

pkglint -r --network --only "migrate"

As a side-effect of migrating the homepages, pkglint also fixed a few
indentations in unrelated lines. These and the new homepages have been
checked manually.

Revision 1.46 / (download) - annotate - [select for diffs], Tue Dec 31 13:24:05 2019 UTC (3 years, 11 months ago) by mef
Branch: MAIN
Changes since 1.45: +2 -2 lines
Diff to previous 1.45 (colored)

(sysutils/file) Updated to 5.38

2019-12-16  21:11  Christos Zoulas <christos@zoulas.com>

	* release 5.38

2019-12-15  22:13  Christos Zoulas <christos@zoulas.com>
    Document changes since the previous release:
	- Always accept -S (no sandbox) even if we don't support sandboxing
	- More syscalls elided for sandboxiing
	- For ELF dynamic means having an interpreter not just PT_DYNAMIC
	- Check for large ELF session header offset
	- When saving and restoring a locale, keep the locale name in our
	  own storage.
	- Add a flag to disable CSV file detection.
	- Don't pass NULL/0 to memset to appease sanitizers.
	- Avoid spurious prints when looks for extensions or apple strings
	  in fsmagic.
	- Add builtin decompressors for xz and and bzip.
	- Add a limit for the number of CDF elements.
	- More checks for overflow in CDF.

Revision 1.45 / (download) - annotate - [select for diffs], Sat Sep 7 10:47:20 2019 UTC (4 years, 2 months ago) by nia
Branch: MAIN
CVS Tags: pkgsrc-2019Q4-base, pkgsrc-2019Q4, pkgsrc-2019Q3-base, pkgsrc-2019Q3
Changes since 1.44: +2 -2 lines
Diff to previous 1.44 (colored)

file: Update to 5.37

2019-05-09  22:27  Christos Zoulas <christos@zoulas.com>

	* Make sure that continuation separators are printed
	  with -k within softmagic

2019-05-06  22:27  Christos Zoulas <christos@zoulas.com>

	* Change SIGPIPE saving and restoring during compression to use
	  sigaction(2) instead of signal(3) and cache it. (Denys Vlasenko)
	* Cache stat(2) calls more to reduce number of calls (Denys Vlasenko)

2019-05-06  17:25  Christos Zoulas <christos@zoulas.com>

	* PR/77: Handle --mime-type and -k correctly.

2019-05-03  15:26  Christos Zoulas <christos@zoulas.com>

	* Switch decompression code to use vfork() because
	  tools like rpmdiff and rpmbuild call libmagic
	  with large process footprints (Denys Vlasenko)

2019-04-07  14:05  Christos Zoulas <christos@zoulas.com>

	* PR/75: --enable-zlib, did not work.

2019-02-27  11:54  Christos Zoulas <christos@zoulas.com>

	* Improve regex efficiency (Michael Schroeder) by:
		1. Prefixing regex searches with regular search
		   for keywords where possible
		2. Using memmem(3) where available

Revision 1.44 / (download) - annotate - [select for diffs], Sat Mar 16 10:50:31 2019 UTC (4 years, 8 months ago) by leot
Branch: MAIN
CVS Tags: pkgsrc-2019Q2-base, pkgsrc-2019Q2, pkgsrc-2019Q1-base, pkgsrc-2019Q1
Changes since 1.43: +2 -3 lines
Diff to previous 1.43 (colored)

file: Update to 5.36

pkgsrc changes:
 - Remove patches no longer needed (security backport of upstream changes)

Changes:
5.36
----
 * release 5.36
 * Fix cast to use cast macros
 * Add UCS-32 builtin detection (PR/61) reported by tmc
 * Fix stack read (PR/62) and write (PR/64) stack overflows
   reported by spinpx

Revision 1.43 / (download) - annotate - [select for diffs], Sat Mar 16 09:02:41 2019 UTC (4 years, 8 months ago) by bsiegert
Branch: MAIN
Changes since 1.42: +2 -2 lines
Diff to previous 1.42 (colored)

file: fix security issues, bump revision.

Fixes CVE-2019-8906, CVE-2019-8904 (not sure about CVE-2019-8905,
CVE-2019-8907).
Patch by Matthias Ferdinand via email to pkgsrc-users.

Revision 1.42 / (download) - annotate - [select for diffs], Sat Jun 30 09:27:02 2018 UTC (5 years, 5 months ago) by bsiegert
Branch: MAIN
CVS Tags: pkgsrc-2018Q4-base, pkgsrc-2018Q4, pkgsrc-2018Q3-base, pkgsrc-2018Q3, pkgsrc-2018Q2-base, pkgsrc-2018Q2
Changes since 1.41: +2 -2 lines
Diff to previous 1.41 (colored)

Patch file for CVE-2018-10360.

Patch from Matthias Ferdinand on pkgsrc-users.

The do_core_note function in readelf.c in libmagic.a in file
5.33 allows remote attackers to cause a denial of service
(out-of-bounds read and application crash) via a crafted ELF
file.

Revision 1.41 / (download) - annotate - [select for diffs], Tue Dec 12 03:11:51 2017 UTC (5 years, 11 months ago) by ryoon
Branch: MAIN
CVS Tags: pkgsrc-2018Q1-base, pkgsrc-2018Q1, pkgsrc-2017Q4-base, pkgsrc-2017Q4
Changes since 1.40: +2 -1 lines
Diff to previous 1.40 (colored)

Fix functionality under NetBSD-current. Taken from NetBSD src

Bump PKGREVISION

Revision 1.40 / (download) - annotate - [select for diffs], Mon Sep 4 12:13:28 2017 UTC (6 years, 2 months ago) by wiz
Branch: MAIN
CVS Tags: pkgsrc-2017Q3-base, pkgsrc-2017Q3
Changes since 1.39: +4 -6 lines
Diff to previous 1.39 (colored)

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.

Revision 1.39 / (download) - annotate - [select for diffs], Thu Jun 16 15:27:49 2016 UTC (7 years, 5 months ago) by fhajny
Branch: MAIN
CVS Tags: pkgsrc-2017Q2-base, pkgsrc-2017Q2, pkgsrc-2017Q1-base, pkgsrc-2017Q1, pkgsrc-2016Q4-base, pkgsrc-2016Q4, pkgsrc-2016Q3-base, pkgsrc-2016Q3, pkgsrc-2016Q2-base, pkgsrc-2016Q2
Changes since 1.38: +3 -3 lines
Diff to previous 1.38 (colored)

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.

Revision 1.38 / (download) - annotate - [select for diffs], Sun Jun 5 13:57:37 2016 UTC (7 years, 5 months ago) by mef
Branch: MAIN
Changes since 1.37: +2 -2 lines
Diff to previous 1.37 (colored)

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)

Revision 1.37 / (download) - annotate - [select for diffs], Sat Mar 5 15:44:36 2016 UTC (7 years, 8 months ago) by bsiegert
Branch: MAIN
CVS Tags: pkgsrc-2016Q1-base, pkgsrc-2016Q1
Changes since 1.36: +2 -3 lines
Diff to previous 1.36 (colored)

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.

Revision 1.36 / (download) - annotate - [select for diffs], Fri Feb 26 10:24:12 2016 UTC (7 years, 9 months ago) by jperkin
Branch: MAIN
Changes since 1.35: +2 -4 lines
Diff to previous 1.35 (colored)

Use OPSYSVARS.

Revision 1.34.2.1 / (download) - annotate - [select for diffs], Sun May 31 13:27:32 2015 UTC (8 years, 6 months ago) by tron
Branch: pkgsrc-2015Q1
Changes since 1.34: +2 -1 lines
Diff to previous 1.34 (colored) next main 1.35 (colored)

Pullup ticket #4734 - requested by bsiegert
sysutils/file: security patch

Revisions pulled up:
- sysutils/file/Makefile                                        1.35
- sysutils/file/distinfo                                        1.23
- sysutils/file/patches/patch-src_softmagic.c                   1.1

---
   Module Name:    pkgsrc
   Committed By:   bsiegert
   Date:           Sat May 23 13:11:07 UTC 2015

   Modified Files:
           pkgsrc/sysutils/file: Makefile distinfo
   Added Files:
           pkgsrc/sysutils/file/patches: patch-src_softmagic.c

   Log Message:
   SECURITY: add patch for denial-of-service vulnerability. From Matthias
   Ferdinand via pkgsrc-users. Bump PKGREVISION.

Revision 1.35 / (download) - annotate - [select for diffs], Sat May 23 13:11:07 2015 UTC (8 years, 6 months ago) by bsiegert
Branch: MAIN
CVS Tags: pkgsrc-2015Q4-base, pkgsrc-2015Q4, pkgsrc-2015Q3-base, pkgsrc-2015Q3, pkgsrc-2015Q2-base, pkgsrc-2015Q2
Changes since 1.34: +2 -1 lines
Diff to previous 1.34 (colored)

SECURITY: add patch for denial-of-service vulnerability. From Matthias
Ferdinand via pkgsrc-users. Bump PKGREVISION.

Revision 1.33.2.1 / (download) - annotate - [select for diffs], Wed Apr 1 19:30:43 2015 UTC (8 years, 8 months ago) by hiramatsu
Branch: pkgsrc-2014Q4
Changes since 1.33: +2 -2 lines
Diff to previous 1.33 (colored) next main 1.34 (colored)

Pullup ticket #4650 - requested by bsiegert
sysutils/file: security update

Revisions pulled up:
- sysutils/file/Makefile                                        1.34
- sysutils/file/distinfo                                        1.21
- sysutils/file/patches/patch-config.h.in                       deleted
- sysutils/file/patches/patch-configure                         deleted
- sysutils/file/patches/patch-configure.ac                      deleted
- sysutils/file/patches/patch-src_file.c                        deleted
- sysutils/file/patches/patch-src_file.h                        deleted
- sysutils/file/patches/patch-src_getline.c                     deleted

---
   Module Name:    pkgsrc
   Committed By:   bsiegert
   Date:           Sun Mar 22 09:48:52 UTC 2015

   Modified Files:
           pkgsrc/sysutils/file: Makefile distinfo
   Removed Files:
           pkgsrc/sysutils/file/patches: patch-config.h.in patch-configure
               patch-configure.ac patch-src_file.c patch-src_file.h
               patch-src_getline.c

   Log Message:
   SECURITY: Update file to 5.22.

   Bugs fixed:
           * restructure elf note printing to avoid repeated messages
           * add note limit, suggested by Alexander Cherepanov
           * Bail out on partial pread()'s (Alexander Cherepanov)
           * Fix incorrect bounds check in file_printable (Alexander Cherepanov)
           * PR/405: ignore SIGPIPE from uncompress programs
           * change printable -> file_printable and use it in
             more places for safety
           * Fix for CVE-2014-9620.

Revision 1.34 / (download) - annotate - [select for diffs], Sun Mar 22 09:48:51 2015 UTC (8 years, 8 months ago) by bsiegert
Branch: MAIN
CVS Tags: pkgsrc-2015Q1-base
Branch point for: pkgsrc-2015Q1
Changes since 1.33: +2 -2 lines
Diff to previous 1.33 (colored)

SECURITY: Update file to 5.22.

Bugs fixed:
	* restructure elf note printing to avoid repeated messages
	* add note limit, suggested by Alexander Cherepanov
	* Bail out on partial pread()'s (Alexander Cherepanov)
	* Fix incorrect bounds check in file_printable (Alexander Cherepanov)
	* PR/405: ignore SIGPIPE from uncompress programs
	* change printable -> file_printable and use it in
	  more places for safety
	* Fix for CVE-2014-9620.

Revision 1.33 / (download) - annotate - [select for diffs], Mon Dec 15 11:46:36 2014 UTC (8 years, 11 months ago) by jperkin
Branch: MAIN
CVS Tags: pkgsrc-2014Q4-base
Branch point for: pkgsrc-2014Q4
Changes since 1.32: +2 -2 lines
Diff to previous 1.32 (colored)

The "rename" rule is a published synonym for the "opt" transform rule, however
only the latter is supported by cwrappers.  Change them all to "opt" rules for
consistency and to gain compatibility with cwrappers.

Revision 1.32 / (download) - annotate - [select for diffs], Sun Oct 26 06:04:34 2014 UTC (9 years, 1 month ago) by ryoon
Branch: MAIN
Changes since 1.31: +2 -2 lines
Diff to previous 1.31 (colored)

Update to 5.20

* Fix CVE-2014-3710

Changelog:
2014-10-10  15:01  Christos Zoulas <christos@zoulas.com>

        * release 5.20

2014-08-17  10:01  Christos Zoulas <christos@zoulas.com>

        * recognize encrypted CDF documents

2014-08-04   9:18  Christos Zoulas <christos@zoulas.com>

        * add magic_load_buffers from Brooks Davis

2014-07-24  16:40  Christos Zoulas <christos@zoulas.com>

        * add thumbs.db support

Revision 1.31 / (download) - annotate - [select for diffs], Sun Jul 13 03:38:42 2014 UTC (9 years, 4 months ago) by ryoon
Branch: MAIN
CVS Tags: pkgsrc-2014Q3-base, pkgsrc-2014Q3
Changes since 1.30: +2 -2 lines
Diff to previous 1.30 (colored)

Update to 5.19

* Fix CVE-2014-3478, CVE-2014-3479, CVE-2014-3480, CVE-2014-3487

Changelog:
2014-06-12  12:28  Christos Zoulas <christos@zoulas.com>

	* release 5.19

2014-06-09   9:04  Christos Zoulas <christos@zoulas.com>

	* Misc buffer overruns and missing buffer size tests in cdf parsing
	  (Francisco Alonso, Jan Kaluza)

2014-06-02  14:50  Christos Zoulas <christos@zoulas.com>

	* Enforce limit of 8K on regex searches that have no limits
	* Allow the l modifier for regex to mean line count. Default
	  to byte count. If line count is specified, assume a max
	  of 80 characters per line to limit the byte count.
	* Don't allow conversions to be used for dates, allowing
	  the mask field to be used as an offset.

2014-05-30  12:51  Christos Zoulas <christos@zoulas.com>

	* Make the range operator limit the length of the
	  regex search.

2014-05-14  19:23  Christos Zoulas <christos@zoulas.com>

	* 347: Windows fixes
	* 352: Hangul word processor recognition
	* 354: Encoding irregularities in text files

2014-05-06  6:12  Christos Zoulas <christos@zoulas.com>

	* Fix uninitialized title in CDF files (Jan Kaluza)

2014-05-04  14:55  Christos Zoulas <christos@zoulas.com>

	* 351: Fix compilation of empty files

2014-04-30  17:39  Christos Zoulas <christos@zoulas.com>

	* Fix integer formats: We don't specify 'l' or
	  'h' and 'hh' specifiers anymore, only 'll' for
	  quads and nothing for the rest. This is so that
	  magic writing is simpler.

2014-04-01  15:25  Christos Zoulas <christos@zoulas.com>

	* 341: Jan Kaluza, fix memory leak
	* 342: Jan Kaluza, fix out of bounds read

2014-03-28  15:25  Christos Zoulas <christos@zoulas.com>

	* Fix issue with long formats not matching fmtcheck

Revision 1.30 / (download) - annotate - [select for diffs], Fri Apr 4 21:38:38 2014 UTC (9 years, 8 months ago) by ryoon
Branch: MAIN
CVS Tags: pkgsrc-2014Q2-base, pkgsrc-2014Q2
Changes since 1.29: +2 -2 lines
Diff to previous 1.29 (colored)

Update to 5.18

Changelog:
2014-03-26  11:25  Christos Zoulas <christos@zoulas.com>

	* release 5.18

2014-03-15  17:45  Christos Zoulas <christos@zoulas.com>

        * add fmtcheck(3) for those who don't have it

2014-03-14  15:12  Christos Zoulas <christos@zoulas.com>

	* prevent mime entries from being attached to magic
	  entries with no descriptions

	* adjust magic strength for regex type

	* remove superfluous ascmagic with encoding test

2014-03-06  12:01  Christos Zoulas <christos@zoulas.com>

	* fix regression fix echo -ne "\012\013\014" | file -i -
	  which printed "binary" instead of "application/octet-stream"

	* add size_t overflow check for magic file size

2014-02-27  16:01  Christos Zoulas <christos@zoulas.com>

	* experimental support for matching with CFD CLSID

2014-02-18  13:04  Kimmo Suominen (kimmo@suominen.com)

	* Cache old LC_CTYPE locale before setting it to "C", so
	  we can use it to restore LC_CTYPE instead of asking
	  setlocale() to scan the environment variables.

Revision 1.29 / (download) - annotate - [select for diffs], Wed Mar 12 18:35:48 2014 UTC (9 years, 8 months ago) by wiz
Branch: MAIN
CVS Tags: pkgsrc-2014Q1-base, pkgsrc-2014Q1
Changes since 1.28: +2 -2 lines
Diff to previous 1.28 (colored)

Update to 5.17, based on patch provided by Matthias
<mf+ml.pkgsrc-users@netzwerkagentursaarland.de> on pkgsrc-users.

Changes:

2014-02-12  18:21  Christos Zoulas <christos@zoulas.com>

	* Count recursion levels through indirect magic

2014-02-11  10:40  Christos Zoulas <christos@zoulas.com>

	* Prevent infinite recursion on files with indirect offsets of 0

2014-01-30  21:00  Christos Zoulas <christos@zoulas.com>

	* Add -E flag that makes file print filesystem errors to stderr
	  and exit.

2014-01-08  17:20  Christos Zoulas <christos@zoulas.com>

	* mime printing could print results from multiple magic entries
	  if there were multiple matches.
	* in some cases overflow was not detected when computing offsets
	  in softmagic.

2013-12-05  12:00  Christos Zoulas <christos@zoulas.com>

	* use strcasestr() to for cdf strings
	* reset to the "C" locale while doing regex operations, or case
	  insensitive comparisons; this is provisional

2013-11-19  20:10  Christos Zoulas <christos@zoulas.com>

	* always leave magic file loaded, don't unload for magic_check, etc.
	* fix default encoding to binary instead of unknown which broke recently
	* handle empty and one byte files, less specially so that
	  --mime-encoding does not break completely.
		`
2013-11-06  14:40  Christos Zoulas <christos@zoulas.com>

	* fix erroneous non-zero exit code from non-existant file and message

2013-10-29  14:25  Christos Zoulas <christos@zoulas.com>

	* add CDF MSI file detection (Guy Helmer)

2013-09-03  11:56  Christos Zoulas <christos@zoulas.com>

	* Don't mix errors and regular output if there was an error
	* in magic_descriptor() don't close the file and try to restore
	  its position

2013-05-30  17:25  Christos Zoulas <christos@zoulas.com>

	* Don't treat magic as an error if offset was past EOF (Christoph Biedl)

2013-05-28  17:25  Christos Zoulas <christos@zoulas.com>

	* Fix spacing issues in softmagic and elf (Jan Kaluza)

2013-05-02  18:00  Christos Zoulas <christos@zoulas.com>

	* Fix segmentation fault with multiple magic_load commands.

2013-04-22  11:20  Christos Zoulas <christos@zoulas.com>

	* The way "default" was implemented was not very useful
	  because the "if something was printed at that level"
	  was not easily controlled by the user, and the format
	  was bound to a string which is too restrictive. Add
	  a "clear" for that level keyword and make "default"
	  void. This way one can do:

		>>13	clear	x
		>>13	lelong	1	foo
		>>13	lelong	2	bar
		>>13	default	x
		>>>13	lelong	x	unknown %x

2013-03-25  13:20  Christos Zoulas <christos@zoulas.com>

	* disallow strength setting in "name" entries

2013-03-06  21:24  Christos Zoulas <christos@zoulas.com>

	* fix recursive magic separator printing

2013-02-26  19:28  Christos Zoulas <christos@zoulas.com>

	* limit recursion level for mget
	* fix pread() related breakage in cdf
	* handle offsets properly in recursive "use"

2013-02-18  10:39  Christos Zoulas <christos@zoulas.com>

	* add elf reading of debug info to determine if file is stripped
	  (Jan Kaluza)
	* use pread()

2013-01-25  18:05  Christos Zoulas <christos@zoulas.com>

	* change mime description size from 64 to 80 to accommodate OOXML.

2013-01-11  14:50  Christos Zoulas <christos@zoulas.com>

	* Warn about inconsistent continuation levels.
	* Change fsmagic to add a space after it prints.

2013-01-10  21:00  Christos Zoulas <christos@zoulas.com>

	* Make getline public so that file can link against it.
	  Perhaps it is better to rename it, or hide it differently.
	  Fixes builds on platforms that do not provide it.

2013-01-07  16:30  Christos Zoulas <christos@zoulas.com>

	* Add SuS d{,1,2,4,8}, u{,1,2,4,8} and document
	  what long, int, short, etc is (Guy Harris)

2013-01-06  11:20  Christos Zoulas <christos@zoulas.com>

	* add magic_version function and constant
	* Redo memory allocation and de-allocation.
	  (prevents double frees on non mmap platforms)
	* Fix bug with name/use having to do with passing
	  found state from the parent to the child and back.

2012-12-19   8:47  Christos Zoulas <christos@zoulas.com>

	* Only print elf capabilities for archs we know (Jan Kaluza)

2012-10-30  19:14  Christos Zoulas <christos@zoulas.com>

	* Add "name" and "use" file types in order to look
	  inside mach-o files.

2012-09-06  10:40  Christos Zoulas <christos@zoulas.com>

	* make --version exit 0 (Matthew Schultz)
	* add string/T (Jan Kaluza)

2012-08-09  2:15  Christos Zoulas <christos@zoulas.com>

	* add z and t modifiers for our own vasprintf
	* search for $HOME/.magic.mgc if it is there first
	* fix reads from a pipe, and preserve errno

2012-05-15  13:12  Christos Zoulas <christos@zoulas.com>

	* use ctime_r, asctime_r

2012-04-06  17:18  Christos Zoulas <christos@zoulas.com>

	* Fixes for indirect offsets to handle apple disk formats

2012-04-03  18:26  Christos Zoulas <christos@zoulas.com>

	* Add windows date field types
	* More info for windows shortcuts (incomplete)

Revision 1.28 / (download) - annotate - [select for diffs], Tue Oct 23 19:51:01 2012 UTC (11 years, 1 month ago) by asau
Branch: MAIN
CVS Tags: pkgsrc-2013Q4-base, pkgsrc-2013Q4, pkgsrc-2013Q3-base, pkgsrc-2013Q3, pkgsrc-2013Q2-base, pkgsrc-2013Q2, pkgsrc-2013Q1-base, pkgsrc-2013Q1, pkgsrc-2012Q4-base, pkgsrc-2012Q4
Changes since 1.27: +1 -3 lines
Diff to previous 1.27 (colored)

Drop superfluous PKG_DESTDIR_SUPPORT, "user-destdir" is default these days.

Revision 1.27 / (download) - annotate - [select for diffs], Wed Jul 11 19:01:00 2012 UTC (11 years, 4 months ago) by wiz
Branch: MAIN
CVS Tags: pkgsrc-2012Q3-base, pkgsrc-2012Q3
Changes since 1.26: +2 -2 lines
Diff to previous 1.26 (colored)

Fill in HOMEPAGE. From Bug Hunting.

Revision 1.26 / (download) - annotate - [select for diffs], Fri Mar 30 03:53:54 2012 UTC (11 years, 8 months ago) by taca
Branch: MAIN
CVS Tags: pkgsrc-2012Q2-base, pkgsrc-2012Q2, pkgsrc-2012Q1-base, pkgsrc-2012Q1
Changes since 1.25: +3 -3 lines
Diff to previous 1.25 (colored)

Update file from 5.03 to 5.11.

Changes are too may to write here but includes security fix CVE-2012-1571.

Add LICENSE, too.

Revision 1.25 / (download) - annotate - [select for diffs], Mon Jan 23 20:54:09 2012 UTC (11 years, 10 months ago) by joerg
Branch: MAIN
Changes since 1.24: +2 -1 lines
Diff to previous 1.24 (colored)

Add a missing argument to -width. Bump revision.

Revision 1.24 / (download) - annotate - [select for diffs], Fri Mar 18 20:38:37 2011 UTC (12 years, 8 months ago) by zafer
Branch: MAIN
CVS Tags: pkgsrc-2011Q4-base, pkgsrc-2011Q4, pkgsrc-2011Q3-base, pkgsrc-2011Q3, pkgsrc-2011Q2-base, pkgsrc-2011Q2, pkgsrc-2011Q1-base, pkgsrc-2011Q1
Changes since 1.23: +2 -3 lines
Diff to previous 1.23 (colored)

remove dead mirror.

Revision 1.23 / (download) - annotate - [select for diffs], Wed Dec 30 11:00:24 2009 UTC (13 years, 11 months ago) by abs
Branch: MAIN
CVS Tags: pkgsrc-2010Q4-base, pkgsrc-2010Q4, pkgsrc-2010Q3-base, pkgsrc-2010Q3, pkgsrc-2010Q2-base, pkgsrc-2010Q2, pkgsrc-2010Q1-base, pkgsrc-2010Q1, pkgsrc-2009Q4-base, pkgsrc-2009Q4
Changes since 1.22: +5 -1 lines
Diff to previous 1.22 (colored)

Avoid errors on gcc2

Revision 1.22 / (download) - annotate - [select for diffs], Thu May 21 15:58:17 2009 UTC (14 years, 6 months ago) by sno
Branch: MAIN
CVS Tags: pkgsrc-2009Q3-base, pkgsrc-2009Q3, pkgsrc-2009Q2-base, pkgsrc-2009Q2
Changes since 1.21: +2 -2 lines
Diff to previous 1.21 (colored)

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.

Revision 1.21 / (download) - annotate - [select for diffs], Sat Mar 21 20:55:58 2009 UTC (14 years, 8 months ago) by sno
Branch: MAIN
CVS Tags: pkgsrc-2009Q1-base, pkgsrc-2009Q1
Changes since 1.20: +5 -1 lines
Diff to previous 1.20 (colored)

Adding a patch to allow compiling with gcc incompatible compilers
and enabling LINUX_COMPAT on AIX (file-5.00 requires it, because it
allocates 0 bytes)

Oked by he@

Revision 1.20 / (download) - annotate - [select for diffs], Tue Mar 10 23:30:00 2009 UTC (14 years, 8 months ago) by he
Branch: MAIN
Changes since 1.19: +2 -2 lines
Diff to previous 1.19 (colored)

Update from version 4.26 to 5.00.

Pkgsrc changes:
 o Adapt patch-aa to new file

Upstream changes:

2008-12-12 15:50  Christos Zoulas <christos@zoulas.com>

       * fix initial offset calculation for non 4K sector files

       * add loop limits to avoid DoS attacks by constructing
         looping sector references.

2008-12-03 13:05  Christos Zoulas <christos@zoulas.com>

       * fix memory botches on cdf file parsing.

       * exit with non-zero value for any error, not just for the last
         file processed.

2008-11-09 20:42  Charles Longeau <chl@tuxfamily.org>

       * Replace all str{cpy,cat} functions with strl{cpy,cat}
       * Ensure that strl{cpy,cat} are included in libmagic,
         as needed.

2008-11-06 18:18  Christos Zoulas <christos@zoulas.com>

       * Handle ID3 format files.

2008-11-06 23:00  Reuben Thomas <rrt@sc3d.org>

       * Fix --mime, --mime-type and --mime-encoding under new scheme.

       * Rename "ascii" to "text" and add "encoding" test.

       * Return a precise ("utf-16le" or "utf-16be") MIME charset for
         UTF-16.

       * Fix error in comment caused by automatic indentation adding
         words!

2008-11-06 10:35  Christos Zoulas <christos@astron.com>

       * use memchr instead of strchr because the string
         might not be NUL terminated (Scott MacVicar)

2008-11-03 07:31  Reuben Thomas <rrt@sc3d.org>

       * Fix a printf with a non-literal format string.

       * Fix formatting and punctuation of help for "--apple".

2008-10-30 11:00  Reuben Thomas <rrt@sc3d.org>

       * Correct words counts in comments of struct magic.

       * Fix handle_annotation to allow both Apple and MIME types to be
         printed, and to return correct code if MIME type is
         printed (1, not 0) or if there's an error (-1 not 1).

       * Fix output of charset for MIME type (precede with semi-colon;
         fixes Debian bug #501460).

       * Fix potential attacks via conversion specifications in magic
         strings.

       * Add a FIXME for Debian bug #488562 (magic files should be
         read in a defined order, by sorting the names).

2008-10-18 16:45  Christos Zoulas <christos@astron.com>

       * Added APPLE file creator/type

2008-10-12 10:20  Christos Zoulas <christos@astron.com>

       * Added CDF parsing

2008-10-09 16:40  Christos Zoulas <christos@astron.com>

       * filesystem and msdos patches (Joerg Jenderek)

2008-10-09 13:20  Christos Zoulas <christos@astron.com>

       * correct --exclude documentation issues: remove troff and fortran
         and rename "token" to "tokens". (Randy McMurchy)

2008-10-01 10:30  Christos Zoulas <christos@astron.com>

       * Read ~/.magic in addition to the default magic file not instead
         of, as documented in the man page.

2008-09-10 21:30  Reuben Thomas  <rrt@sc3d.org>

       * Comment out graphviz patterns, as they match too many files.

2008-08-25 23:56  Reuben Thomas  <rrt@sc3d.org>

       * Add text/x-lua MIME type for Lua scripts.

       * Escape { in regex in graphviz patterns.

Revision 1.19 / (download) - annotate - [select for diffs], Sun Jan 25 12:30:47 2009 UTC (14 years, 10 months ago) by obache
Branch: MAIN
Changes since 1.18: +9 -1 lines
Diff to previous 1.18 (colored)

Rename -Wextra with -W if gcc-{2,3}, workaround of PR 40123.

Revision 1.18 / (download) - annotate - [select for diffs], Sun Jan 25 05:33:17 2009 UTC (14 years, 10 months ago) by obache
Branch: MAIN
Changes since 1.17: +5 -1 lines
Diff to previous 1.17 (colored)

* let to use pkgsrc's libtool
* define test target.

Revision 1.17 / (download) - annotate - [select for diffs], Wed Oct 29 20:50:16 2008 UTC (15 years, 1 month ago) by christos
Branch: MAIN
CVS Tags: pkgsrc-2008Q4-base, pkgsrc-2008Q4
Changes since 1.16: +2 -2 lines
Diff to previous 1.16 (colored)

PR/39596: Jwens Rehsack: Update to file-4.26 (4.21 is gone) and add built-in
version detection.

Revision 1.16 / (download) - annotate - [select for diffs], Thu Jun 12 02:14:46 2008 UTC (15 years, 5 months ago) by joerg
Branch: MAIN
CVS Tags: pkgsrc-2008Q3-base, pkgsrc-2008Q3, pkgsrc-2008Q2-base, pkgsrc-2008Q2, cwrapper, cube-native-xorg-base, cube-native-xorg
Changes since 1.15: +3 -1 lines
Diff to previous 1.15 (colored)

Add DESTDIR support.

Revision 1.14.2.1 / (download) - annotate - [select for diffs], Thu Jun 14 23:52:22 2007 UTC (16 years, 5 months ago) by salo
Branch: pkgsrc-2007Q1
Changes since 1.14: +2 -2 lines
Diff to previous 1.14 (colored) next main 1.15 (colored)

Pullup ticket 2114 - requested by adrianp
security update for file

Revisions pulled up:
- pkgsrc/sysutils/file/Makefile				1.15
- pkgsrc/sysutils/file/distinfo				1.8

   Module Name:		pkgsrc
   Committed By:	adrianp
   Date:		Thu Jun 14 16:29:42 UTC 2007

   Modified Files:
   	pkgsrc/sysutils/file: Makefile distinfo

   Log Message:
   Update to 4.21
   +2007-05-24 10:00 Christos Zoulas <christos@zoulas.com>
   +
   +       * Fix another integer overflow (Colin Percival)
   +
   +2007-03-26 13:58 Christos Zoulas <christos@zoulas.com>
   +
   +       * make sure that all of struct magic_set is initialized
   appropriately
   +         (Brett)
   +
   +2007-03-25 17:44 Christos Zoulas <christos@zoulas.com>
   +
   +       * reset left bytes in the buffer (Dmitry V. Levin)
   +
   +       * compilation failed with COMPILE_ONLY and ENABLE_CONDITIONALS
   +         (Peter Avalos)
   +
   +2007-03-15 10:51 Christos Zoulas <christos@zoulas.com>
   +
   +       * fix fortran and nroff reversed tests (Dmitry V. Levin)
   +
   +       * fix exclude option (Dmitry V. Levin)

Revision 1.15 / (download) - annotate - [select for diffs], Thu Jun 14 16:29:42 2007 UTC (16 years, 5 months ago) by adrianp
Branch: MAIN
CVS Tags: pkgsrc-2008Q1-base, pkgsrc-2008Q1, pkgsrc-2007Q4-base, pkgsrc-2007Q4, pkgsrc-2007Q3-base, pkgsrc-2007Q3, pkgsrc-2007Q2-base, pkgsrc-2007Q2
Changes since 1.14: +2 -2 lines
Diff to previous 1.14 (colored)

Update to 4.21
+2007-05-24 10:00 Christos Zoulas <christos@zoulas.com>
+
+       * Fix another integer overflow (Colin Percival)
+
+2007-03-26 13:58 Christos Zoulas <christos@zoulas.com>
+
+       * make sure that all of struct magic_set is initialized appropriately
+         (Brett)
+
+2007-03-25 17:44 Christos Zoulas <christos@zoulas.com>
+
+       * reset left bytes in the buffer (Dmitry V. Levin)
+
+       * compilation failed with COMPILE_ONLY and ENABLE_CONDITIONALS
+         (Peter Avalos)
+
+2007-03-15 10:51 Christos Zoulas <christos@zoulas.com>
+
+       * fix fortran and nroff reversed tests (Dmitry V. Levin)
+
+       * fix exclude option (Dmitry V. Levin)

Revision 1.14 / (download) - annotate - [select for diffs], Sun Mar 25 11:28:12 2007 UTC (16 years, 8 months ago) by adrianp
Branch: MAIN
CVS Tags: pkgsrc-2007Q1-base
Branch point for: pkgsrc-2007Q1
Changes since 1.13: +2 -2 lines
Diff to previous 1.13 (colored)

Update to file 4.20:
New in this release is a BNF file that shows the syntax of magic
files.  Many more checks have been added to the magic parser and
badly formatted magic entries have been fixed. There is now a
"default" statement in the magic entires. Finally a exploitable
flaw in the print buffer management has been fixed.

Revision 1.13 / (download) - annotate - [select for diffs], Wed Jan 17 17:36:12 2007 UTC (16 years, 10 months ago) by tonio
Branch: MAIN
Changes since 1.12: +2 -2 lines
Diff to previous 1.12 (colored)

Update sysutils/file to 4.18

Recent changes include:

2006-10-31 15:14 Christos Zoulas <christos@zoulas.com>
	* Check offset before copying (Mike Frysinger)
	* merge duplicated code
	* add quad date support
	* make sure that we nul terminate desc (Ryoji Kanai)
	* don't process elf notes multiple times
	* allow -z to report empty compressed files
	* use calloc to initialize the ascii buffers (Jos van den Oever)
2006-06-08 11:11 Christos Zoulas <christos@zoulas.com>
	* QNX fixes (Mike Gorchak)
	* Add quad support.
	* FIFO checks (Dr. Werner Fink)
	* Linux ELF fixes (Dr. Werner Fink)
	* Magic format checks (Dr. Werner Fink)
	* Magic format function improvent (Karl Chen)
2006-05-03 11:11 Christos Zoulas <christos@zoulas.com>
	* Pick up some elf changes and some constant fixes from SUSE
	* Identify gnu tar vs. posix tar
	* When keep going, don't print spurious newlines (Radek Vokál)
2006-04-01 12:02 Christos Zoulas <christos@zoulas.com>
	* Use calloc instead of malloc (Mike Frysinger)
	* Fix configure script to detect wctypes.h (Mike Frysinger)

Revision 1.12 / (download) - annotate - [select for diffs], Sat Oct 7 19:46:06 2006 UTC (17 years, 1 month ago) by reed
Branch: MAIN
CVS Tags: pkgsrc-2006Q4-base, pkgsrc-2006Q4
Changes since 1.11: +2 -2 lines
Diff to previous 1.11 (colored)

Update to 4.17. This is for PR 34337.

Recent changes include:

2006-03-02 16:06 Christos Zoulas <christos@zoulas.com>

	* Print empty if the file is (Mike Frysinger)

	* Don't try to read past the end of the buffer (Mike Frysinger)

	* Sort magic entries by strength [experimental]

2005-11-29 13:26 Christos Zoulas <christos@zoulas.com>

	* Use iswprint() to convert the output string.
	    (Bastien Nocera)

2005-10-31 8:54 Christos Zoulas <christos@zoulas.com>

	* Fix regression where the core info was not completely processed
	    (Radek Vokál)

2005-10-20 11:15 Christos Zoulas <christos@zoulas.com>

	* Middle Endian magic (Diomidis Spinellis)

2005-10-17 11:15 Christos Zoulas <christos@zoulas.com>

	* Open with O_BINARY for CYGWIN (Corinna Vinschen)

	* Don't close stdin (Arkadiusz Miskiewicz)

	* Look for note sections in non executables.

2005-09-20 13:33 Christos Zoulas <christos@zoulas.com>

	* Don't print SVR4 Style in core files multiple times
	    (Radek Vokál)

2005-08-27 04:09 Christos Zoulas <christos@zoulas.com>

	* Cygwin changes Corinna Vinschen

2005-08-18 09:53 Christos Zoulas <christos@zoulas.com>

	* Remove erroreous mention of /etc/magic in the file man page
	  This is gentoo bug 101639. (Mike Frysinger)

	* Cross-compile support and detection (Mike Frysinger)

2005-08-12 10:17 Christos Zoulas <christos@zoulas.com>

	* Add -h flag and dereference symlinks if POSIXLY_CORRECT
	  is set.

2005-07-29 13:57 Christos Zoulas <christos@zoulas.com>

	* Avoid search and regex buffer overflows (Kelledin)

2005-07-12 11:48 Christos Zoulas <christos@zoulas.com>

	* Provide stub implementations for {v,}nsprintf() for older
	  OS's that don't have them.
	* Change mbstate_t autoconf detection macro from AC_MBSTATE_T
	  to AC_TYPE_MBSTATE_T.

2005-06-25 11:48 Christos Zoulas <christos@zoulas.com>

	* Dynamically allocate the string buffers and make the
	  default read size 256K.

2005-06-01 00:00 Joerg Sonnenberger <joerg@britannica.bec.de>

	* Dragonfly ELF note support

2005-03-14 00:00 Giuliano Bertoletti <gb@symbolic.it>

	* Avoid NULL pointer dereference in time conversion.

2005-03-06 00:00  Joerg Walter <jwalt@mail.garni.ch>

	* Add indirect magic offset support, and search mode.

Revision 1.11 / (download) - annotate - [select for diffs], Sat Mar 4 21:30:41 2006 UTC (17 years, 9 months ago) by jlam
Branch: MAIN
CVS Tags: pkgsrc-2006Q3-base, pkgsrc-2006Q3, pkgsrc-2006Q2-base, pkgsrc-2006Q2, pkgsrc-2006Q1-base, pkgsrc-2006Q1
Changes since 1.10: +2 -2 lines
Diff to previous 1.10 (colored)

Point MAINTAINER to pkgsrc-users@NetBSD.org in the case where no
developer is officially maintaining the package.

The rationale for changing this from "tech-pkg" to "pkgsrc-users" is
that it implies that any user can try to maintain the package (by
submitting patches to the mailing list).  Since the folks most likely
to care about the package are the folks that want to use it or are
already using it, this would leverage the energy of users who aren't
developers.

Revision 1.10 / (download) - annotate - [select for diffs], Mon Dec 5 23:55:19 2005 UTC (18 years ago) by rillig
Branch: MAIN
CVS Tags: pkgsrc-2005Q4-base, pkgsrc-2005Q4
Changes since 1.9: +2 -2 lines
Diff to previous 1.9 (colored)

Ran "pkglint --autofix", which corrected some of the quoting issues in
CONFIGURE_ARGS.

Revision 1.9 / (download) - annotate - [select for diffs], Mon Apr 11 21:47:23 2005 UTC (18 years, 7 months ago) by tv
Branch: MAIN
CVS Tags: pkgsrc-2005Q3-base, pkgsrc-2005Q3, pkgsrc-2005Q2-base, pkgsrc-2005Q2
Changes since 1.8: +1 -2 lines
Diff to previous 1.8 (colored)

Remove USE_BUILDLINK3 and NO_BUILDLINK; these are no longer used.

Revision 1.8 / (download) - annotate - [select for diffs], Fri Feb 18 19:39:26 2005 UTC (18 years, 9 months ago) by reed
Branch: MAIN
CVS Tags: pkgsrc-2005Q1-base, pkgsrc-2005Q1
Changes since 1.7: +2 -3 lines
Diff to previous 1.7 (colored)

Update to 4.13.

I updated this because old version I was using had false-positive
with "Macintosh HFS data" -- file(1) saw a postscript file wrong
and broke some printing tasks. The distfile was no longer on MASTER_SITES
so updated. This fixed my Poscript problem.

Changes include:
2005-01-12 00:00  Stepan Kasal  <kasal@ucw.cz>
        * src/ascmagic.c (file_ascmagic): Fix three bugs about text files:
          If a CRLF text file happens to have CR at offset HOWMANY - 1
          (currently 0xffff), it should not be counted as CR line
          terminator.
          If a line has length exactly MAXLINELEN, it should not yet be
          treated as a ``very long line'', as MAXLINELEN is ``longest sane
          line length''.
          With CRLF, the line length was not computed correctly, and even
          lines of length MAXLINELEN - 1 were treated as ``very long''.
2004-12-07 14:15  Christos Zoulas  <christos@zoulas.com>
        * bzip2 needs a lot of input buffer space on some files
          before it can begin uncompressing. This makes file -z
          fail on some bz2 files. Fix it by giving it a copy of
          the file descriptor to read as much as it wants if we
          have access to it. <christos@zoulas.com>
2004-11-24 12:39  Christos Zoulas  <christos@zoulas.com>
        * Stack smash fix, and ELF more conservative reading.
          Jakub Bogusz <qboosh@pld-linux.org>
2004-11-20 18:50  Christos Zoulas  <christos@zoulas.com>
        * New FreeBSD version parsing code:
          Jon Noack <noackjr@alumni.rice.edu>
        * Hackish support for ucs16 strings <christos@zoulas.com>
2004-11-13 03:07  Christos Zoulas  <christos@zoulas.com>
        * print the file name and line number in syntax errors.
2004 10-12 10:50  Christos Zoulas  <christos@zoulas.com>
        * Fix stack overwriting on 0 length strings: Tim Waugh
            <twaugh@redhat.com> Ned Ludd <solar@gentoo.org>
2004-09-27 11:30  Christos Zoulas  <christos@zoulas.com>
        * Remove 3rd and 4th copyright clause; approved by Ian Darwin.
        * Fix small memory leaks; caught by: Tamas Sarlos
            <stamas@csillag.ilab.sztaki.hu>
2004-07-24 16:33  Christos Zoulas  <christos@zoulas.com>
        * magic.mime update Danny Milosavljevic <danny.milo@gmx.net>
        * FreeBSD version update Oliver Eikemeier <eikemeier@fillmore-labs.com>
        * utime/utimes detection Ian Lance Taylor <ian@wasabisystems.com>
        * errors reading elf magic Jakub Bogusz <qboosh@pld-linux.org>
2004-04-12 10:55  Christos Zoulas  <christos@zoulas.com>
        * make sure that magic formats match magic types during compilation
        * fix broken sgi magic file
2004-04-06 20:36  Christos Zoulas  <christos@zoulas.com>
        * detect present of mbstate_t Petter Reinholdtsen <pere@hungry.com>
        * magic fixes

Revision 1.7 / (download) - annotate - [select for diffs], Sun Oct 3 00:18:14 2004 UTC (19 years, 2 months ago) by tv
Branch: MAIN
CVS Tags: pkgsrc-2004Q4-base, pkgsrc-2004Q4
Changes since 1.6: +2 -1 lines
Diff to previous 1.6 (colored)

Libtool fix for PR pkg/26633, and other issues.  Update libtool to 1.5.10
in the process.  (More information on tech-pkg.)

Bump PKGREVISION and BUILDLINK_DEPENDS of all packages using libtool and
installing .la files.

Bump PKGREVISION (only) of all packages depending directly on the above
via a buildlink3 include.

Revision 1.6 / (download) - annotate - [select for diffs], Tue Jun 22 13:45:31 2004 UTC (19 years, 5 months ago) by grant
Branch: MAIN
CVS Tags: pkgsrc-2004Q3-base, pkgsrc-2004Q3
Changes since 1.5: +2 -2 lines
Diff to previous 1.5 (colored)

Updated file to 4.09:

changes since 4.02:

2004-04-06 20:36  Christos Zoulas  <christos@zoulas.com>

	* detect present of mbstate_t Petter Reinholdtsen <pere@hungry.com>

	* magic fixes

2004-03-22 15:25  Christos Zoulas  <christos@zoulas.com>

	* Lots of mime fixes
	  (Joerg Ostertag) <ostertag@rechengilde.de>

	* FreeBSD ELF version handling
	  (Edwin Groothuis) <edwin@mavetju.org>

	* correct cleanup in all cases; don't just close the file.
	  (Christos Zoulas) <christos@zoulas.com>

	* add gettext message catalogue support
	  (Michael Piefel) <piefel@debian.org>

	* better printout for unreadable files
	  (Michael Piefel) <piefel@debian.org>

	* compensate for missing MAXPATHLEN
	  (Michael Piefel) <piefel@debian.org>

	* add wide character string length computation
	  (Michael Piefel) <piefel@debian.org>

	* Avoid infinite loops caused by bad elf alignments
	  or name and description note sizes. Reported by
	  (Mikael Magnusson) <mmikael@comhem.se>

2004-03-09 13:55  Christos Zoulas  <christos@zoulas.com>

	* Fix possible memory leak on error and add missing regfree
	  (Dmitry V. Levin) <ldv@altlinux.org>

2003-12-23 12:12  Christos Zoulas  <christos@zoulas.com>

	* fix -k flag (Maciej W. Rozycki)

2003-11-18 14:10  Christos Zoulas  <christos@zoulas.com>

	* Try to give us much info as possible on corrupt elf files.
	  (Willy Tarreau) <willy@w.ods.org>
	* Updated python bindings (Brett Funderburg)
	   <brettf@deepfile.com>

2003-11-11 15:03  Christos Zoulas  <christos@zoulas.com>

	* Include file.h first, because it includes config.h
	  breaks largefile test macros otherwise.
	  (Paul Eggert <eggert@CS.UCLA.EDU> via
	   Lars Hecking <lhecking@nmrc.ie>)

2003-10-14 21:39  Christos Zoulas  <christos@zoulas.com>

	* Python bindings (Brett Funderburg) <brettf@deepfile.com>
	* Don't lookup past the end of the buffer
	  (Chad Hanson) <chanson@tcs-sec.com>
	* Add MAGIC_ERROR and api on magic_errno()

2003-10-08 12:40  Christos Zoulas  <christos@zoulas.com>

	* handle error conditions from compile as fatal
	  (Antti Kantee) <pooka@netbsd.org>
	* handle magic filename parsing sanely
	* more magic fixes.
	* fix a memory leak (Illes Marton) <illes.marton@balabit.hu>
	* describe magic file handling
	  (Bryan Henderson) <bryanh@giraffe-data.com>

2003-09-12 15:09  Christos Zoulas  <christos@zoulas.com>

	* update magic files.
	* remove largefile support from file.h; it breaks things on most OS's

2003-08-10 10:25  Christos Zoulas  <christos@zoulas.com>

	* fix unmapping'ing of mmaped files.

2003-07-10 12:03  Christos Zoulas  <christos@zoulas.com>

	* don't exit with -1 on error; always exit 1 (Marty Leisner)
	* restore utimes code.

2003-06-10 17:03  Christos Zoulas  <christos@zoulas.com>

	* make sure we don't access uninitialized memory.
	* pass lint
	* #ifdef __cplusplus in magic.h

2003-05-25 19:23  Christos Zoulas  <christos@zoulas.com>

	* rename cvs magic file to revision to deal with
	  case insensitive filesystems.

2003-05-23 17:03  Christos Zoulas  <christos@zoulas.com>

	* documentation fixes from Michael Piefel <piefel@debian.org>
	* magic fixes (various)
	* revert basename magic in .mgc name determination
	* buffer protection in uncompress,
	  signness issues,
	  close files
	  Maciej W. Rozycki <macro@ds2.pg.gda.pl

2003-04-21 20:12  Christos Zoulas  <christos@zoulas.com>

	* fix zsh magic

2003-04-04 16:59  Christos Zoulas  <christos@zoulas.com>

	* fix operand sort order in string.

2003-04-02 17:30  Christos Zoulas  <christos@zoulas.com>

	* cleanup namespace in magic.h

Revision 1.5 / (download) - annotate - [select for diffs], Thu Feb 5 02:10:39 2004 UTC (19 years, 10 months ago) by reed
Branch: MAIN
CVS Tags: pkgsrc-2004Q2-base, pkgsrc-2004Q2, pkgsrc-2004Q1-base, pkgsrc-2004Q1
Changes since 1.4: +4 -1 lines
Diff to previous 1.4 (colored)

file uses libz.so. So add buildlink3.mk for zlib.

Revision 1.4 / (download) - annotate - [select for diffs], Mon Jul 21 17:24:14 2003 UTC (20 years, 4 months ago) by martti
Branch: MAIN
CVS Tags: pkgsrc-2003Q4-base, pkgsrc-2003Q4
Changes since 1.3: +2 -2 lines
Diff to previous 1.3 (colored)

COMMENT should start with a capital letter.

Revision 1.3 / (download) - annotate - [select for diffs], Thu Jul 17 22:53:34 2003 UTC (20 years, 4 months ago) by grant
Branch: MAIN
Changes since 1.2: +2 -2 lines
Diff to previous 1.2 (colored)

s/netbsd.org/NetBSD.org/

Revision 1.2 / (download) - annotate - [select for diffs], Mon Jun 2 01:16:55 2003 UTC (20 years, 6 months ago) by jschauma
Branch: MAIN
Changes since 1.1: +2 -2 lines
Diff to previous 1.1 (colored)

Use tech-pkg@ in favor of packages@ as MAINTAINER for orphaned packages.
Should anybody feel like they could be the maintainer for any of thewe packages,
please adjust.

Revision 1.1.1.1 / (download) - annotate - [select for diffs] (vendor branch), Sun Apr 13 10:24:27 2003 UTC (20 years, 7 months ago) by cjep
Branch: TNF
CVS Tags: pkgsrc-base
Changes since 1.1: +0 -0 lines
Diff to previous 1.1 (colored)

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.

Revision 1.1 / (download) - annotate - [select for diffs], Sun Apr 13 10:24:27 2003 UTC (20 years, 7 months ago) by cjep
Branch: MAIN

Initial revision

This form allows you to request diff's between any two revisions of a file. You may select a symbolic revision name using the selection box or you may type in a numeric name using the type-in text box.




CVSweb <webmaster@jp.NetBSD.org>