summaryrefslogtreecommitdiff
path: root/sysutils/coreutils
AgeCommit message (Collapse)AuthorFilesLines
2009-12-20Add a fix for coreutils' CVE-2009-4135. Instead of using /tmp/coreutilstonnerre3-3/+36
as temporary directory, use a directory in the builddir.
2009-08-12Conflicts with gnuls (misc/gnuls), as noted by Mihkel Ader in PR 41876.asau1-3/+3
Bump revision.
2009-06-12Fix build on DragonFly. From YONETANI Tomokazu in PR 41366.joerg2-1/+24
2009-05-17Hack around misuse of math.h. From Heath Caldwell in PR 41350.dholland3-2/+20
Nominally a build fix, but bump PKGREVISION as a precaution.
2008-12-02Add build fix for Solaris taken fromtron2-1/+24
http://www.nabble.com/coreutils-6.12-fails-to-build-on-Solaris-td20137586.html as suggested by Tim Zingelman in private e-mail.
2008-10-29Update "coreutils" package to version 6.12. Changes since version 6.11:tron4-25/+9
- chcon, runcon: --help output now includes the bug-reporting address - cp -p copies permissions more portably. For example, on MacOS X 10.5, "cp -p some-fifo some-file" no longer fails while trying to copy the permissions from the some-fifo argument. - id with no options now prints the SELinux context only when invoked with no USERNAME argument. - id and groups once again print the AFS-specific nameless group-ID (PAG). Printing of such large-numbered, kernel-only (not in /etc/group) group-IDs was suppressed in 6.11 due to ignorance that they are useful. - uniq: avoid subtle field-skipping malfunction due to isblank misuse. In some locales on some systems, isblank(240) (aka &nbsp) is nonzero. On such systems, uniq --skip-fields=N would fail to skip the proper number of fields for some inputs. - tac: avoid segfault with --regex (-r) and multiple files, e.g., "echo > x; tac -r x x". - install once again sets SELinux context, when possible
2008-05-15Reach over from misc/gnuls to sysutils/coreutils for common logic andtnn2-48/+65
patches. Updates gnuls to 6.11 and makes it track coreutils.
2008-05-13Update "coreutils" package to version 6.11. Changes since version 6.10:tron3-14/+9
- "cp -fR fifo E" now succeeds with an existing E. Before this fix, using -fR to copy a fifo or "special" file onto an existing file would fail with EEXIST. Now, it once again unlinks the destination before trying to create the destination file. [bug introduced in coreutils-5.90] - dd once again works with unnecessary options like if=/dev/stdin and of=/dev/stdout. [bug introduced in fileutils-4.0h] - id now uses getgrouplist, when possible. This results in much better performance when there are many users and/or groups. - ls no longer segfaults on files in /proc when linked with an older version of libselinux. E.g., ls -l /proc/sys would dereference a NULL pointer. - md5sum would segfault for invalid BSD-style input, e.g., echo 'MD5 (' | md5sum -c - Now, md5sum ignores that line. sha1sum, sha224sum, sha384sum, and sha512sum are affected, too. [bug introduced in coreutils-5.1.0] - md5sum -c would accept a NUL-containing checksum string like "abcd\0..." and would unnecessarily read and compute the checksum of the named file, and then compare that checksum to the invalid one: guaranteed to fail. Now, it recognizes that the line is not valid and skips it. sha1sum, sha224sum, sha384sum, and sha512sum are affected, too. [bug present in the original version, in coreutils-4.5.1, 1995] - "mkdir -Z x dir" no longer segfaults when diagnosing invalid context "x" mkfifo and mknod would fail similarly. Now they're fixed. - mv would mistakenly unlink a destination file before calling rename, when the destination had two or more hard links. It no longer does that. [bug introduced in coreutils-5.3.0] - "paste -d'\' file" no longer overruns memory (heap since coreutils-5.1.2, stack before then) [bug present in the original version, in 1992] - "pr -e" with a mix of backspaces and TABs no longer corrupts the heap [bug present in the original version, in 1992] - "ptx -F'\' long-file-name" would overrun a malloc'd buffer and corrupt the heap. That was triggered by a lone backslash (or odd number of them) at the end of the option argument to --flag-truncation=STRING (-F), --word-regexp=REGEXP (-W), or --sentence-regexp=REGEXP (-S). - "rm -r DIR" would mistakenly declare to be "write protected" -- and prompt about -- full DIR-relative names longer than MIN (PATH_MAX, 8192). - "rmdir --ignore-fail-on-non-empty" detects and ignores the failure in more cases when a directory is empty. - "seq -f % 1" would issue the erroneous diagnostic "seq: memory exhausted" rather than reporting the invalid string format. [bug introduced in coreutils-6.0] - join now verifies that the inputs are in sorted order. This check can be turned off with the --nocheck-order option. - sort accepts the new option --sort=WORD, where WORD can be one of general-numeric, month, numeric or random. These are equivalent to the options --general-numeric-sort/-g, --month-sort/-M, --numeric-sort/-n and --random-sort/-R, resp. - id and groups work around an AFS-related bug whereby those programs would print an invalid group number, when given no user-name argument. - ls --color no longer outputs unnecessary escape sequences - seq gives better diagnostics for invalid formats. - install, mkdir, rmdir and split now write --verbose output to stdout, not to stderr.
2008-04-12Convert to use PLIST_VARS instead of manually passing "@comment "jlam2-7/+6
through PLIST_SUBST to the plist module.
2008-03-08Conflict with sysutils/mktemp iff ${GNU_PROGRAM_PREFIX} == ""tnn1-2/+3
2008-03-08Update to coreutils-6.10.tnn6-43/+41
New tools: * gmktemp - GNU implementation of mktemp(1) * gchcon - change the SELinux security context of a file * gruncon - run a program in a different SELinux security context Programs now default disabled by upstream (thus not installed): * ghostname * gsu (XXX: could make this a PKG_OPTION if requested) Also assorted bugfixes.
2007-12-02Standardize statvfs test. From Sergey Svishchev.wiz3-7/+7
2007-11-26Don't try to use ACLs under Mac OS X Leopard. acl_get_fd(3) return ENOENTtron1-2/+5
all the time which causes "gcp" and "gmv" to complain a lot. Bump package revision because of this fix.
2007-11-26Simply check for Mac OS X Leopard.tron1-2/+2
2007-11-26Use work around from "bug-gnulib" mailing list to fix build problemtron1-1/+5
under Mac OS X Leopard.
2007-07-19Override the auto detection of a "thread-safe mkdir -p" (whatever that is)tron1-1/+2
to "${MKDIR}". "configure" will otherwise decide to use "gmkdir -p" if an older version of the "coreutils" package is already installed. But during the install stage the old "gmkdir" binary will have been removed by "pkg_delete" and the installation fails.
2007-07-18Update to coreutils-6.9 and reset maintainer to tech-pkg@tnn18-315/+89
This is a major update from 5.2.1 and the ChangeLog is far too long to include here. The update includes many bugfixes, POSIX.1 conformance fixes, various GNU extensions to command line syntax, translations and some new tools: gbase64, gsha224sum, gsha256sum, gsha384sum, gsha512sum, gshuf.
2007-02-22Whitespace cleanup, courtesy of pkglint.wiz1-2/+2
Patch provided by Sergey Svishchev in private mail.
2006-08-14Some teTeX2-removal cleanup.wiz1-2/+2
2006-05-13Remove references to teTeX1.minskim1-2/+2
2006-04-17Strip ${PKGLOCALEDIR} from PLISTs of packages that already obeyjlam1-65/+65
PKGLOCALEDIR and which install their locale files directly under ${PREFIX}/${PKGLOCALEDIR} and sort the PLIST file entries. From now on, pkgsrc/mk/plist/plist-locale.awk will automatically handle transforming the PLIST to refer to the correct locale directory.
2006-04-13BUILD_USE_MSGFMT and USE_MSGFMT_PLURALS are obsolete. Replace withjlam1-4/+2
USE_TOOLS+=msgfmt.
2006-04-07List info files directly in the PLIST and honor PKG{INFO,MAN}DIR.jlam2-3/+4
2006-03-12pkglint cleanup. Fix CONFLICTS pattern to include [0-9] at the end.wiz1-4/+4
2006-03-12Fix graphviz CONFLICTS line -- gpr was renamed towiz1-2/+2
gvpr in 1.12. Closes PR 33093 by Joern Clausen.
2006-02-05Recursive revision bump / recommended bump for gettext ABI change.joerg1-2/+2
2006-01-09In ls.c, use d_type field only, if DTTOIF is defined as well.joerg4-5/+101
In paste.c, do real boundary checks and consider NULL FILE pointers as closed files. This replaces use of global dummy FILEs, which is not possible on DragonFly, since FILE is incompletly. In configure, include stdio.h when checking for __fpending, since the prototype is defined there on DragonFly.
2005-12-05Fixed pkglint warnings. The warnings are mostly quoting issues, forrillig2-5/+5
example MAKE_ENV+=FOO=${BAR} is changed to MAKE_ENV+=FOO=${BAR:Q}. Some other changes are outlined in http://mail-index.netbsd.org/tech-pkg/2005/12/02/0034.html
2005-08-28Change version check to figure out whether NetBSD supports the statvfs(2)tron4-8/+10
systen call. We now assumes that it only exists in NetBSD 2.99.x and newer. This will avoid build problems under the upcoming NetBSD 2.1 release. Mark this package as unusable for NetBSD-2.0[D-H]-* (a few very old NetBSD-current versions which have statvfs(2) but a version number smaller than 2.99.x).
2005-07-16Get rid of USE_PERL5. The new way to express needing the Perl executablejlam1-2/+2
around at either build-time or at run-time is: USE_TOOLS+= perl # build-time USE_TOOLS+= perl:run # run-time Also remove some places where perl5/buildlink3.mk was being included by a package Makefile, but all that the package wanted was the Perl executable.
2005-04-11Remove USE_BUILDLINK3 and NO_BUILDLINK; these are no longer used.tv1-2/+1
2005-04-02The 'readlink' conflict is only in teTeX 1 & 2, not in 3 ("kpsereadlink").hubertf1-4/+4
Adjust CONFLICTS.
2005-03-21Make build and run on Interix:tv15-15/+315
* Add check for sync(2) and setgroups(3), and don't use these if they don't exist on the host. * Interix has a ... Special ... way of doing the "su" thing. * Implement Interix-specific portion of mountlist.c.
2005-02-24Add RMD160 digests.agc1-1/+2
2004-12-28Use ROOT_USER instead of hardcoding root.minskim1-1/+7
2004-12-06Fixed PLIST to include localeadam2-2/+67
2004-10-03Libtool fix for PR pkg/26633, and other issues. Update libtool to 1.5.10tv1-1/+2
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-05-18Make this build under NetBSD 2.0D and above with statvfs(2).tron3-1/+35
This fixes PR pkg/25475 Kibum Han.
2004-04-25Convert to buildlink3.snj1-4/+4
2004-03-29update to 5.2.1recht3-10/+10
** Bug fixes mv could mistakenly fail to preserve hard links when moving two or more arguments between partitions. `cp --sparse=always F /dev/hdx' no longer tries to use lseek to create holes in the destination. nohup now sets the close-on-exec flag for its copy of the stderr file descriptor. This avoids some nohup-induced hangs. For example, before this change, if you ran `ssh localhost', then `nohup sleep 600 </dev/null &', and then exited that remote shell, the ssh session would hang until the 10-minute sleep terminated. With the fixed nohup, the ssh session terminates immediately. `expr' now conforms to POSIX better: Integers like -0 and 00 are now treated as zero. The `|' operator now returns 0, not its first argument, if both arguments are null or zero. E.g., `expr "" \| ""' now returns 0, not the empty string. The `|' and `&' operators now use short-circuit evaluation, e.g., `expr 1 \| 1 / 0' no longer reports a division by zero. ** New features `chown user.group file' now has its traditional meaning even when conforming to POSIX 1003.1-2001, so long as no user has a name containing `.' that happens to equal `user.group'.
2004-03-07Add a comment why coreutils conflicts with databases/geneweb.recht1-8/+6
While at it combine all GNU_PROGRAM_PREFIX conflicts in a single if.
2004-02-24conflict with graphics/graphviz, which installs a program named 'gpr'.grant1-1/+7
2004-02-22Add a conflict on databases/geneweb if GNU_PROGRAM_PREFIX == "g".recht1-1/+2
Addresses PR 23941 by Chris Pinnock.
2004-02-22update to 5.2.0recht6-910/+13
many fixes/new features, among them: - nohup now always exits with status 127 when it finds an error, as POSIX requires; formerly it sometimes exited with status 1. - Several programs (including cut, date, dd, env, hostname, nl, pr, stty, and tr) now always exit with status 1 when they find an error; formerly they sometimes exited with status 2. - chgrp and chown now accept POSIX-mandated -L, -H, and -P options - du now accepts -P (--no-dereference), for compatibility with du of NetBSD and for consistency with e.g., chown and chgrp - date accepts a new option --rfc-2822, an alias for --rfc-822. - `sha1sum --check' now accepts the BSD format for SHA1 message digests in addition to the BSD format for MD5 ones. - md5sum --check now accepts the output of the BSD md5sum program, e.g., MD5 (f) = d41d8cd98f00b204e9800998ecf8427e - date -d DATE can now parse a DATE string like May-23-2003 - chown: `.' is no longer recognized as a separator in the OWNER:GROUP specifier on POSIX 1003.1-2001 systems. If chown *was not* compiled on such a system, then it still accepts `.', by default. If chown was compiled on a POSIX 1003.1-2001 system, then you may enable the old behavior by setting _POSIX2_VERSION=199209 in your environment. (see NEWS for a complete list)
2004-02-11Conflict with linuxls; and sort entries in variable.jmmv1-2/+2
2004-01-17Don't install (g)su with the setuid bit on NetBSD, FreeBSD and OpenBSD.recht2-2/+16
Bump PKGREVISION.
2003-11-22Recreate patch because Mac OS X's patch refuses to apply it.tron2-14/+13
2003-11-05Don't use "stdbool.h" because NetBSD 1.6 and 1.6.x (and probably othertron3-13/+12
platforms) don't have it.
2003-11-05Fix two security issues:recht4-3/+901
1.) An integer overflow in ls in the fileutils or coreutils packages may allow local users to cause a denial of service or execute arbitrary code via a large -w value, which could be remotely exploited via applications that use ls, such as wu-ftpd. 2.) ls in the fileutils or coreutils packages allows local users to consume a large amount of memory via a large -w value, which can be remotely exploited via applications that use ls, such as wu-ftpd. See http://cve.mitre.org/cgi-bin/cvename.cgi?name=CAN-2003-0853 http://cve.mitre.org/cgi-bin/cvename.cgi?name=CAN-2003-0854 and the original report http://www.guninski.com/binls.html for details. Patches taken from Red Hat's Security Advisory RHSA-2003:309-01. reported by reed@ bump PKGREVISION
2003-09-14Use my NetBSD.org email address.recht1-2/+2