summaryrefslogtreecommitdiff
path: root/pkgtools/pkgdiff/files
AgeCommit message (Collapse)AuthorFilesLines
2019-08-21Properly preserve patch comments when working with a readonly pkgsrc tree.hauke1-5/+14
Do not prefix an absolute path argument with $cwd. Declare a handful of variables, and 'use warnings'. Fixes PR pkg/54485
2016-02-10pkgdiff: move automatic cleanup of unnecessary patches from patchdiff(1)wiz4-31/+46
to mkpatches(1). Requested by jperkin. Update man pages. Bump version.
2015-09-15Handle Makefile parse errors better.wiz1-11/+17
Bump version. Requested by joerg@ Reviewed by leot@
2015-02-03Updated pkgtools/pkgdiff to 1.6abs2-13/+13
1.6: Correctly handle filenames with whitespace in pkgdiff and mkpatches
2014-03-12Do not rely on path search when invoking pkgdiff.asau1-2/+2
2013-07-20Use Mt for email addresses.wiz2-4/+4
2012-09-16Drop back to diff without -p before giving up because of rcsids appearingdholland1-2/+17
in the diff output. Also, improve the error message that occurs if this also fails. Fixes PR 46962.
2011-08-23Updated pkgtools/pkgdiff to 1.3abs1-5/+5
1.3: Handle whitespace in filenames a little better in pkgvi plus: a light sprinkle of pkglint
2011-06-26Add -w flag to mkpatches(1), which makes it look in WRKDIR instead ofwiz2-8/+19
WRKSRC. Needed for some ruby packages, requested by taca@ Bump version to 1.2.
2011-03-04Add "-D"/"-d dir" options to mkpatches and patchdiff.wiz4-23/+97
-D provides the previous behaviour of creating patches in $WRKDIR/.newpatches -d dir specifies the directory where the patches will be created. Requested by Aleksey Cheusov for read-only pkgsrc checkouts. Fix minor bugs while here. Bump version.
2011-02-16mdoclint cleanup.wiz3-19/+21
2011-02-02Add proper license for files by dillo and myself.wiz2-4/+47
Ok dillo.
2011-02-02Fix wording in my licencse.wiz3-9/+9
2011-02-02Sign over copyright to TNFhubertf4-25/+104
2011-02-02Clarify my license.wiz3-6/+71
2011-02-02Update to 1.0.wiz10-123/+190
Smarter pkgdiff, doesn't create chunks that are added automatically by the pkgsrc infrastructure (configure:exit instead of regenerate, Makefile: localedir). mkpatches: patch file names now contain the path to the file and its name per discussion on tech-pkg June 2010. Also, the files are created directly in the patches/ directory; backups are saved as patches/patch-foo.orig. patchdiff: now compares patches/patch-foo with patches/patch-foo.orig; if they only differ in non-essential parts, patchdiff reinstates the original patch to keep commits less noisy.
2010-07-04Use a single pattern to match changes in the diff header so that a change tosbd1-6/+7
the input timestamp/name _and_/or output timestamp _and_/or line numbers changes handled. update version number to 0.123
2010-07-041) Add a space to the second white-space block, when matching filenames as somesbd1-7/+7
diff version must uses spaces to separate the filename and timestamp (that or somepeople do cut-n-pasting of patches). 2) add the comma "," to the pattern used to match line numbers, to match POSIX.
2009-12-10Updated pkgtools/pkgdiff to 0.122abs1-1/+4
Set TZ=UTC before calling diff to ensure everyone uses the same timezone to avoid spurious diffs in metadata, such as: < clock/clock.c.orig 1993-06-29 01:11:39.000000000 -0400 --- > clock/clock.c.orig 1993-06-29 03:11:39.000000000 -0200
2008-11-05Ignore more uninteresting output.wiz1-3/+18
Tries to address PR 39291. Welcome to 0.121.
2008-02-16In both mkpatches.pl and patchdiff.pl, ignore a leading "./" whenapb2-2/+4
parsing a file name from the "+++" line in an old patch file. (New patch files created by mkpatches do not have "./" in the file name in the "+++" line, but some old patches currently in pkgsrc do have "./" there.) Bump version to 0.120.
2007-10-07fix obsolete URLs for www.NetBSD.orgkano1-1/+1
close PR pkg/37071 reviewd by xtraeme@
2007-07-12Workaround too aggressive RCS ID find, so that +BUILD_VERSION andjoerg1-2/+2
ident agree.
2006-08-01Ensure that the file that is opened in the editor is writable by the user.bad3-7/+13
Approved by wiz@.
2005-12-13NetBSD capitalization police.wiz4-9/+9
2005-08-02Update to version 0.118: pkgdiff fix and tuning.seb1-4/+9
Fix the automagic tuning of the number of unified diff context lines. It was broken since previous commit to files/pkgdiff. Also arguments '-u' and '-U NUM' to GNU diffutils 2.8.1, as seen in NetBSD 2.0_STABLE and current, are not intended to be used together. Hence only '-U NUM' is now specified. I did not reverted to the '-u -NUM' form used before as it seems undesirable. Please note that if PKGDIFF_FMT is specified in the environment, for testing or debugging purposes, we skip the automagic tuning of the number of unified diff context lines. The user probably wants to try another diff format, as suggested in the commit log of revision 1.12 of files/pkgdiff. So there is no point in adding '-U NUM' to PKGDIFF_FMT: it may just not work. See: $ diff -c -U 1 /dev/null /dev/null diff: conflicting output style options diff: Try `diff --help' for more information. While here save a few basename(1) runs.
2005-05-21Use -U $lines instead of -$lines to avoid conflicts with the threeway diffrh1-5/+5
option.
2004-11-23Update to rev. 0.116.hubertf3-0/+231
Add feedback-patches, a script to ... feedback patches: The feedback-patches script is intended to help sending back patches in the NetBSD Packages Collection, pkgsrc, back to the maintainers of the original package, for inclusion into future releases. The given category/pkg is either a path relative to the pkgsrc base directory, or an absolute patch, which will be stripped the base directory. A pathname of . will be expanded to the current directory, which is useful when the current working directory is in a package's directory in pkgsrc. If an email address is given, the patches will be sent to that address, with some nice words. If no email address is given, the mail will only be displayed instead of sent. See feedback-patches(1) for the full enchilada.
2004-10-10Welcome to 0.115dillo1-15/+67
- fix errors in extracting patched file's name from old patch files - keep header (RCS Id and comment) from old patch files - silence perl -w
2004-08-15mkpatches: if a patch for a file exists, give the new patch the same namedillo1-4/+26
bump version to 0.114 okayed by wiz
2004-05-23print "can't strip away rcs ids" message to stderr, not stdoutdanw1-2/+2
2004-04-11Add pre-generated .0 manpages; only regen under SunOS or AIX.jschauma4-0/+109
2004-01-10Put the correct path to perl into the scripts. This fixes using thisjlam2-4/+4
package with pkgviews.
2003-08-23Update to version 0.113.seb1-5/+8
Pkgvi fix: deal with pathnames like `dir-with.a-dot/file-without-dot' for which the temporary file pathname hold in $tmp ended up as `dir-with.a-dot/file-without-dot.$$.a-dot/file-without-dot'.
2003-07-16pkgvi: create temp files with the same extension as the original, sogrant1-1/+7
editors can pick the right syntax. bump PKGREVISION to 0.112.
2003-07-07Use '@SH@' for pkgdiff's interpreter and substitute for it.seb1-2/+2
SH is /bin/ksh on Solaris, this gives us a working pkgdiff on Solaris.
2003-06-14Add support to pkgdiff for the environment variable PKGDIFF_FMT. Thisatatat2-6/+20
allows you to get context style or plain diffs from mkpatches or pkgdiff, instead of the default unified format. Sometimes it's very nice to be able to look at a different diff format.
2003-06-10Update to 1.110: make grep only match closed CVS tags (including thewiz1-2/+2
second $).
2003-05-28Update to version 0.109.seb1-2/+11
Belatedly document pkgvi's '+command' option per zuntum@ request. As textproc/groff now brings in a lot of dependencies don't make it a build dependency for this package on Solaris. XXX Hence do not install any man pages on Solaris. This is a temporary stopgap measure. Do people really want a somewhat important number of dependencies installed just to be able to do 'man mkpatches'? I surely don't... A better solution has to be devised. But as added bonus this package now handles gracefully MANINSTALL setting. See you have not lost everything!
2003-04-09Update to version 0.108.seb1-2/+2
Newer diffutils' (>=2.8, as seen in pkgsrc and -current) diff had seen the regexp syntax of its -I and -F options changed from Emacs syntax to grep syntax. Hence fix pkgdiff's diff invocation so diffs on configure scripts are kept to a minimum.
2002-12-30fix error message: s/one arguments/one argument/sommerfeld1-2/+2
2002-11-04Update to 0.107: Do not exit when pkgdiff fails on one file, just reportwiz1-3/+2
an error.
2002-08-14Make patchdiff following package's PATCHDIR setting: useful when dealing withseb1-2/+4
packages sharing patch files directory. Increment the package version. Approved by wiz.
2002-07-21Add \n in an error message. Doesn't warrant version bump.wiz1-2/+2
2002-06-27add -p to the diff arguments; it's useful to know which function alukem1-4/+4
patch applies to when updating a package
2002-04-02Use basename in dodiff() so `pkgdiff /path/to/configure' works as expected.seb1-2/+2
Bump to 0.105
2002-03-10Make pkgdiff smarter re: configure patches: avoid most parts that onlywiz1-4/+14
change the line number in the configure script. Mostly by Stoned Elipot, with slight changes by me. Bump to 0.104.
2001-12-04Fix the manpage by quoting .Nd because 'mdoc macros with the current groffzuntum1-2/+2
only take 9 arguments' Fix by wiz@netbsd.org (thanks! Thanks for Thomas Klausner for the idea!
2001-12-03Miscellaneous man page fixes.wiz4-39/+50
2001-12-03Update to 0.103: pkgvi now support +cmd as first argument, it is passed downseb1-3/+7
as first argument to the editor.