summaryrefslogtreecommitdiff
path: root/devel/patch
AgeCommit message (Collapse)AuthorFilesLines
2015-11-03Add SHA512 digests for distfiles for devel categoryagc1-1/+2
Issues found with existing distfiles: distfiles/eclipse-sourceBuild-srcIncluded-3.0.1.zip distfiles/fortran-utils-1.1.tar.gz distfiles/ivykis-0.39.tar.gz distfiles/enum-1.11.tar.gz distfiles/pvs-3.2-libraries.tgz distfiles/pvs-3.2-linux.tgz distfiles/pvs-3.2-solaris.tgz distfiles/pvs-3.2-system.tgz No changes made to these distinfo files. 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-04-23Update to 2.7.5:wiz2-9/+9
Changes in version 2.7.5: * There are users which expect patch to follow symbolic links in the working directory, so patch now again follows symbolic links as long as they do not leave the working directory.
2015-02-20PR pkg/49672: OSX build fix (already reported and fixed upstream)tnn1-8/+7
While here simplify Interix fix by overriding autoconf test instead of manually patching the sources.
2015-02-08Update 2.7.1 to 2.7.4mef2-6/+6
--------------------- Changes until version 2.7.4: * When a file isn't being deleted because the file contents don't match the patch, the resulting message is now "Not deleting file ... as content differs from patch" instead of "File ... is not empty after patch; not deleting". * Function names in hunks (from diff -p) are now preserved in reject files. * Patch no longer follows symbolic links to input and output files. This ensures that symbolic links created by git-style patches cannot cause patch to write outside the working directory (CVE-2015-1196). * Various fixes.
2014-10-09Remove pkgviews: don't set PKG_INSTALLATION_TYPES in Makefiles.wiz1-3/+1
2014-01-03Switch to xz version from upstream and remove outdated comment aboutjoerg2-13/+7
dependency cycles.
2014-01-01Update to 2.7.1ryoon2-14/+11
Changelog: Changes in version 2.7.1: * Two critical bug fixes in the "diff --git" format support. * Clarify the message printed when a patch is expected to empty out and delete a file, but the file does not become empty. * Various improvements to messages when applying a patch to a file of different type (regular file vs. symlink), when there are line ending differences (LF vs. CRLF), and when in --dry-run mode. * When in the root directory, allow file names that are absolute or that contain a component of "..". * New --follow-symlinks option to allow to treat symlinks as files: this was patch's behavior before version 2.7. * Ignore when extended attributes cannot be preserved because they are unsupported or because permission to set them is denied. * License clarifications in NEWS and README. * Portability bug fixes. Changes in version 2.7: * Patch no longer gets a failed assertion for certain mangled patches. * Ignore destination file names that are absolute or that contain a component of "..". This addresses CVE-2010-4651. * Support for most features of the "diff --git" format, including renames and copies, permission changes, and symlink diffs. Binary diffs are not supported yet; patch will complain and skip them. * Support for double-quoted filenames: when a filename starts with a double quote, it is interpreted as a C string literal. The escape sequences \\, \", \a, \b, \f, \n, \r, \t, \v, and \ooo (a three-digit octal number between 0 and 255) are recognized. * Refuse to apply a normal patch to a symlink. (Previous versions of patch were replacing the symlink with a regular file.) * When trying to modify a read-only file, warn about the potential problem by default. The --read-only command line option allows to change this behavior. * Files to be deleted are deleted once the entire input has been processed, not immediately. This fixes a bug with numbered backup files. * When a timestamp specifies a time zone, honor that instead of assuming the local time zone (--set-date) or Universal Coordinated Time (--set-utc). * Support for nanosecond precision timestamps. * Many portability and bug fixes. Changes in version 2.6.1: * Support for diff3(1) style merges which show the old, original, and new lines of a conflict has been added (--merge=diff3). The default still is the merge(1) format (--merge or --merge=merge). * Bug and portability fixes. Changes in version 2.6: * A regression test suite has been added ("make check"). * A --merge option has been added which will merge a patch file into the original files similar to merge(1). See the patch(1) manual page for documentation. * Unless a filename has been specified on the command line, look only for filenames in the patch until one has been found. This prevents patch from tripping over garbage that isn't a patch. When conforming to POSIX, this behavior is turned off and patch will ask for a filename if none is found. * All reject files have file name headers, which allows them to be used as regular patches. * When a patch file modifies the same file more than once, patch makes sure it backs up the original version of the file rather than any intermediary versions. * In the above situation, if there are rejects in more than one of those patches, they all go into the same reject file. * When the file to be patched is specified on the command line, all patches are applied to that file. (Previously, the first patch was applied to the file specified on the command line, and the names of additional files to patch were taken from header lines in the patch file.) * The -r option now works correctly even if there are rejects in more than one file. Use the - argument to discard rejects. * Rejected hunks come out in unified diff format if the input patch was of that format, otherwise in ordinary context diff form. Use the --reject-format option to enforce either "context" or "unified" format. Timestamps and the "diff -p" (--show-c-function) output are preserved. Changed lines in context format reject files are correctly indicated with '!' markers as the format defines. Added and removed lines are still marked with '+' and '-', respectively. * The file permissions of reject files are no longer set to match the files they modify. Instead, they retain the default permissions. This is consistent with reject files produced with the -r option. * The --binary option disables the heuristic for stripping CRs from line endings in patches. This allows to preserve CRs even in mangled patches, or in patches generated on non-POSIX systems and without the --binary option. * Backup files for nonexisting files are now created with default permissions rather than with mode 0: backup files with mode 0 were causing problems with applications which do not expect unreadable files. * The -B, -Y, and -z options (--prefix, --basename-prefix, --suffix) now imply the simple version control mode, and can be combined. * Patch rejects more malformed normal format commands and checks for trailing garbage. It now recognizes ed commands without addresses. * Change the default value of PATCH_GET to 0. (Previously, the default was 0 under POSIXLY_CORRECT and negative otherwise; this is causing problems particularly with Perforce.) * Handle missing timestamps better. * Various bug fixes. * Switch to GNU General Public License version 3.
2012-12-31Use ${PKGGNUDIR} and ${PKGMANDIR} in INSTALLATION_DIRS.sbd1-2/+2
2012-12-06Add PKGGNUDIR support.jperkin1-3/+3
2012-10-31Drop superfluous PKG_DESTDIR_SUPPORT, "user-destdir" is default these days.asau1-2/+1
2012-06-01Add gnu/man/man1/patch.1cheusov2-6/+11
++pkgrevision
2012-05-29Remove GNU_PROGRAM_PREFIX variable (discussed in pkgsrc-users@).cheusov2-19/+10
All utilities are installed with a prefix 'g'. Symlinks with original names are created in ${PREFIX}/gnu/bin. ++pkgrevision
2011-07-09Update "patch" package to version 2.5.9. Changes since version 2.5.4:tron2-10/+8
- patch -D now outputs preprocessor lines without comments, as required by POSIX 1003.1-2001. - File names in context patches may now contain spaces, so long as the context patch headers use a tab to separate the file name from the time stamp. - Perforce is now supported. - Patch lines beginning with "#" are comments and are ignored. - The bug reporting address is now <bug-patch@gnu.org>. - bug fixes
2009-11-30LICENSE is gnu-gpl-v2heinz1-1/+2
2008-09-10Clarify that devel/patch is the GPL-patch from the FSF.joerg1-0/+2
2008-06-12Add DESTDIR support.joerg1-2/+6
2008-04-12Convert to use PLIST_VARS instead of manually passing "@comment "jlam2-6/+6
through PLIST_SUBST to the plist module.
2006-06-17Fixed pkglint warnings.rillig1-3/+2
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-12-05Fixed pkglint warnings. The warnings are mostly quoting issues, forrillig1-2/+2
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-05-22Remove the old tools framework and references to _USE_NEW_TOOLS.jlam1-8/+1
2005-05-16Use an uncompressed tar archive of the sources from ${MASTER_SITE_LOCAL}.jlam2-6/+14
This ensures that we won't need gzcat to extract the sources, which could potentially cause a circular dependency on archivers/gzip-base.
2005-05-16We only need the evil hack with the old tools framework.jlam1-1/+3
2005-02-23Add RMD160 digests.agc1-1/+2
2004-05-19Follow Grant's advice: use _OPSYS_GPATCH_REQD to influence _NEED_PATCHjschauma1-5/+1
and let tools.mk take care of the rest.
2004-05-19We have a variable _OPSYS_GPATCH_REQD, but it doesn't do anything.jschauma1-1/+5
Change that: if it's set to YES, require devel/patch. If building devel/patch, set _OPSYS_GPATCH_REQD to NO, as otherwise we have a circular dependency.
2004-05-18Enable pkgviews installation.recht1-1/+3
2004-04-16Make compile on Interix. It doesn't #define BSD, but it also needs thetv1-2/+2
"avoid MS-DOS setmode()" treatment.
2003-07-17s/netbsd.org/NetBSD.org/grant1-2/+2
2003-06-02Use tech-pkg@ in favor of packages@ as MAINTAINER for orphaned packages.jschauma1-2/+2
Should anybody feel like they could be the maintainer for any of thewe packages, please adjust.
2003-05-06Drop trailing whitespace. Ok'ed by wiz.jmmv1-1/+1
2003-04-22Use ${LN} -sf to create symlinks.wiz1-2/+2
Closes PR 21263 by Jeremy C. Reed.
2003-01-07Really install the symlink.wiz1-1/+6
2003-01-07always install bin/gpatch (thanks wiz).grant2-3/+10
bump PKGREVISION.
2003-01-06Correctly honour GNU_PROGRAM_PREFIX on non-NetBSD platforms forgrant1-2/+3
consistency (hi wiz!) bump PKGREVISION.
2002-12-22Also add GNU_PROGRAM_PREFIX to BUILD_DEFS.wiz1-2/+2
2002-12-22Use GNU_PROGRAM_PREFIX, patch by Jeremy C. Reed.wiz2-10/+7
2002-03-24Use AWK instead of SED to do the patching, now it works on Solaris.seb1-5/+6
While here put the patching in target do-patch an remove NO_PATCH. This should fix PR 16035.
2001-12-04Allow this package to be compiled and installed on any platform:seb2-6/+18
- prefix program and manpage by `g' if platform is NetBSD - "manual" patch for BSD systems (setmode() conflict)
2001-11-01Move pkg/ files into package's toplevel directoryzuntum3-3/+3
2001-04-21Move to sha1 digests, and/or add distfile sizes.wiz1-1/+1
2001-04-18Move to sha1 digest, and add distfile sizeagc1-2/+3
2001-04-17+ move the distfile digest/checksum value from files/md5 to distinfoagc1-1/+1
+ move the patch digest/checksum values from files/patch-sum to distinfo
2001-03-24Recontruct bootstrap hack obviously required for strange experimentstron1-1/+6
performed by the dark side of the force.
2001-03-23Remove hack required for boot strapping Zoularis before "tar" wastron1-6/+1
included.
2001-02-16Update to new COMMENT style: COMMENT var in Makefile instead of pkg/COMMENT.wiz2-2/+2
2000-10-24Resolve chicken & egg problem when bootstrapping:hubertf1-1/+6
chicken == archivers/gtar-base (wants to apply patches) egg == devel/patch (wants gtar to unpack) Break out by using /usr/bin/tar if $GTAR is not installed. Might be better in bsd.pkg.mk ...
2000-08-21Update IGNORE-messages for recent changes: add ${PKGNAME} wherehubertf1-2/+2
appropriate.
2000-01-05Strip trailing '.', and/or leading '(a|an) 'abs1-1/+1