summaryrefslogtreecommitdiff
path: root/sysutils/file
AgeCommit message (Collapse)AuthorFilesLines
2016-03-05Update file to 5.25.bsiegert3-29/+7
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-26Use OPSYSVARS.jperkin1-4/+2
2015-11-04Add SHA512 digests for distfiles for sysutils categoryagc1-1/+2
Problems found with existing digests: Package memconf distfile memconf-2.16/memconf.gz b6f4b736cac388dddc5070670351cf7262aba048 [recorded] 95748686a5ad8144232f4d4abc9bf052721a196f [calculated] Problems found locating distfiles: Package dc-tools: missing distfile dc-tools/abs0-dc-burn-netbsd-1.5-0-gae55ec9 Package ipw-firmware: missing distfile ipw2100-fw-1.2.tgz Package iwi-firmware: missing distfile ipw2200-fw-2.3.tgz Package nvnet: missing distfile nvnet-netbsd-src-20050620.tgz Package syslog-ng: missing distfile syslog-ng-3.7.2.tar.gz Otherwise, existing SHA1 digests verified and found to be the same on the machine holding the existing distfiles (morden). All existing SHA1 digests retained for now as an audit trail.
2015-05-23SECURITY: add patch for denial-of-service vulnerability. From Matthiasbsiegert3-2/+24
Ferdinand via pkgsrc-users. Bump PKGREVISION.
2015-03-27Patches to fix compilation on SunOS. From Richard PALO in private mail.bsiegert3-1/+32
2015-03-22SECURITY: Update file to 5.22.bsiegert8-133/+6
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.
2014-12-15The "rename" rule is a published synonym for the "opt" transform rule, howeverjperkin1-2/+2
only the latter is supported by cwrappers. Change them all to "opt" rules for consistency and to gain compatibility with cwrappers.
2014-11-07Some OSes have locale_t in xlocale.h (patch from upstream).schmonz6-1/+112
2014-10-26Update to 5.20ryoon2-6/+6
* 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
2014-07-13Update to 5.19ryoon2-6/+6
* 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
2014-04-04Update to 5.18ryoon2-6/+6
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.
2014-03-12Export getline. Needed for build on NetBSD-5.wiz2-1/+17
Reported by Matthias Ferdinand <mf+ml.pkgsrc-users@netzwerkagentursaarland.de> on pkgsrc-users.
2014-03-12Update to 5.17, based on patch provided by Matthiaswiz3-12/+12
<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)
2013-11-23Use find-headers instead of find-files to detect builtin header files.obache1-4/+5
2012-10-23Drop superfluous PKG_DESTDIR_SUPPORT, "user-destdir" is default these days.asau1-3/+1
2012-07-11Update DESCR (based on homepage). From Bug Hunting.wiz1-3/+4
2012-07-11Fill in HOMEPAGE. From Bug Hunting.wiz1-2/+2
2012-03-30Update file from 5.03 to 5.11.taca6-85/+12
Changes are too may to write here but includes security fix CVE-2012-1571. Add LICENSE, too.
2012-01-23Add a missing argument to -width. Bump revision.joerg3-3/+17
2011-03-18remove dead mirror.zafer1-3/+2
2009-12-30Avoid errors on gcc2abs1-1/+5
2009-05-21pkgsrc changes:sno5-15/+43
- 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.
2009-03-21Adding a patch to allow compiling with gcc incompatible compilerssno3-2/+37
and enabling LINUX_COMPAT on AIX (file-5.00 requires it, because it allocates 0 bytes) Oked by he@
2009-03-20Simply and speed up buildlink3.mk files and processing.joerg1-14/+6
This changes the buildlink3.mk files to use an include guard for the recursive include. The use of BUILDLINK_DEPTH, BUILDLINK_DEPENDS, BUILDLINK_PACKAGES and BUILDLINK_ORDER is handled by a single new variable BUILDLINK_TREE. Each buildlink3.mk file adds a pair of enter/exit marker, which can be used to reconstruct the tree and to determine first level includes. Avoiding := for large variables (BUILDLINK_ORDER) speeds up parse time as += has linear complexity. The include guard reduces system time by avoiding reading files over and over again. For complex packages this reduces both %user and %sys time to half of the former time.
2009-03-10Update from version 4.26 to 5.00.he3-12/+14
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.
2009-03-09Look for a file binary in /bin or /usr/bin, instead of relying on PATH.cube1-3/+10
After the barrier, the builtin.mk file is parsed with a PATH that includes LOCALBASE in front, which gives wrong results if file is installed in LOCALBASE.
2009-01-25Rename -Wextra with -W if gcc-{2,3}, workaround of PR 40123.obache1-1/+9
2009-01-25* let to use pkgsrc's libtoolobache1-1/+5
* define test target.
2008-10-29PR/39596: Jwens Rehsack: Update to file-4.26 (4.21 is gone) and add built-inchristos6-23/+29
version detection.
2008-06-12Add DESTDIR support.joerg1-1/+3
2007-06-14Update to 4.21adrianp2-6/+6
+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)
2007-03-25Update to file 4.20:adrianp2-6/+6
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.
2007-01-17Update sysutils/file to 4.18tonio2-6/+6
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)
2006-10-07Update to 4.17. This is for PR 34337.reed3-18/+15
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.
2006-07-08Change the format of BUILDLINK_ORDER to contain depth information as well,jlam1-2/+2
and add a new helper target and script, "show-buildlink3", that outputs a listing of the buildlink3.mk files included as well as the depth at which they are included. For example, "make show-buildlink3" in fonts/Xft2 displays: zlib fontconfig iconv zlib freetype2 expat freetype2 Xrender renderproto
2006-07-08Track information in a new variable BUILDLINK_ORDER that informs usjlam1-1/+2
of the order in which buildlink3.mk files are (recursively) included by a package Makefile.
2006-04-12Aligned the last line of the buildlink3.mk files with the first line, sorillig1-2/+2
that they look nicer.
2006-04-06Over 1200 files touched but no revisions bumped :)reed2-5/+5
RECOMMENDED is removed. It becomes ABI_DEPENDS. BUILDLINK_RECOMMENDED.foo becomes BUILDLINK_ABI_DEPENDS.foo. BUILDLINK_DEPENDS.foo becomes BUILDLINK_API_DEPENDS.foo. BUILDLINK_DEPENDS does not change. IGNORE_RECOMMENDED (which defaulted to "no") becomes USE_ABI_DEPENDS which defaults to "yes". Added to obsolete.mk checking for IGNORE_RECOMMENDED. I did not manually go through and fix any aesthetic tab/spacing issues. I have tested the above patch on DragonFly building and packaging subversion and pkglint and their many dependencies. I have also tested USE_ABI_DEPENDS=no on my NetBSD workstation (where I have used IGNORE_RECOMMENDED for a long time). I have been an active user of IGNORE_RECOMMENDED since it was available. As suggested, I removed the documentation sentences suggesting bumping for "security" issues. As discussed on tech-pkg. I will commit to revbump, pkglint, pkg_install, createbuildlink separately. Note that if you use wip, it will fail! I will commit to pkgsrc-wip later (within day).
2006-03-30Avoid extra stat() calls by not repeatedly checking whether a filejlam1-2/+2
exists on the disk -- we can just check whether a variable defined by find-files.mk is "__nonexistent__" or not.
2006-03-04Point MAINTAINER to pkgsrc-users@NetBSD.org in the case where nojlam1-2/+2
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.
2005-12-05Ran "pkglint --autofix", which corrected some of the quoting issues inrillig1-2/+2
CONFIGURE_ARGS.
2005-06-01Massive cleanup of buildlink3.mk and builtin.mk files in pkgsrc.jlam1-15/+41
Several changes are involved since they are all interrelated. These changes affect about 1000 files. The first major change is rewriting bsd.builtin.mk as well as all of the builtin.mk files to follow the new example in bsd.builtin.mk. The loop to include all of the builtin.mk files needed by the package is moved from bsd.builtin.mk and into bsd.buildlink3.mk. bsd.builtin.mk is now included by each of the individual builtin.mk files and provides some common logic for all of the builtin.mk files. Currently, this includes the computation for whether the native or pkgsrc version of the package is preferred. This causes USE_BUILTIN.* to be correctly set when one builtin.mk file includes another. The second major change is teach the builtin.mk files to consider files under ${LOCALBASE} to be from pkgsrc-controlled packages. Most of the builtin.mk files test for the presence of built-in software by checking for the existence of certain files, e.g. <pthread.h>, and we now assume that if that file is under ${LOCALBASE}, then it must be from pkgsrc. This modification is a nod toward LOCALBASE=/usr. The exceptions to this new check are the X11 distribution packages, which are handled specially as noted below. The third major change is providing builtin.mk and version.mk files for each of the X11 distribution packages in pkgsrc. The builtin.mk file can detect whether the native X11 distribution is the same as the one provided by pkgsrc, and the version.mk file computes the version of the X11 distribution package, whether it's built-in or not. The fourth major change is that the buildlink3.mk files for X11 packages that install parts which are part of X11 distribution packages, e.g. Xpm, Xcursor, etc., now use imake to query the X11 distribution for whether the software is already provided by the X11 distribution. This is more accurate than grepping for a symbol name in the imake config files. Using imake required sprinkling various builtin-imake.mk helper files into pkgsrc directories. These files are used as input to imake since imake can't use stdin for that purpose. The fifth major change is in how packages note that they use X11. Instead of setting USE_X11, package Makefiles should now include x11.buildlink3.mk instead. This causes the X11 package buildlink3 and builtin logic to be executed at the correct place for buildlink3.mk and builtin.mk files that previously set USE_X11, and fixes packages that relied on buildlink3.mk files to implicitly note that X11 is needed. Package buildlink3.mk should also include x11.buildlink3.mk when linking against the package libraries requires also linking against the X11 libraries. Where it was obvious, redundant inclusions of x11.buildlink3.mk have been removed.
2005-04-11Remove USE_BUILDLINK3 and NO_BUILDLINK; these are no longer used.tv1-2/+1
2005-02-24Add RMD160 digests.agc1-1/+2
2005-02-18Update to 4.13.reed3-14/+14
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
2004-10-03Libtool fix for PR pkg/26633, and other issues. Update libtool to 1.5.10tv2-2/+4
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.
2004-09-22Mechanical changes to package PLISTs to make use of LIBTOOLIZE_PLIST.jlam1-5/+1
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".
2004-07-31Add buildlink3.mk and builtin.mk files, for software using libmagic.salo2-0/+41
2004-06-22Updated file to 4.09:grant2-5/+5
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
2004-02-05file uses libz.so. So add buildlink3.mk for zlib.reed1-1/+4