SHA256
1
0
forked from pool/patch
Commit Graph

48 Commits

Author SHA256 Message Date
Jean Delvare
6f0d2bb9b0 Fix SLE_11_SP3 build
OBS-URL: https://build.opensuse.org/package/show/devel:tools/patch?expand=0&rev=49
2015-03-07 10:36:08 +00:00
Jean Delvare
652a1be131 - patch 2.7.5
Fixes a functional regression introduced by the previous update. 
  + Patching through symbolic links works again, as long as the
    target is within the working tree.

OBS-URL: https://build.opensuse.org/package/show/devel:tools/patch?expand=0&rev=48
2015-03-07 09:46:19 +00:00
Jean Delvare
aca5b2b799 - patch 2.7.4
Fixes a functional regression introduced by the previous security
  fix. The security fix would forbid legitimate use cases of
  relative symbolic links.
  [boo#918058]
  + Allow arbitrary symlink targets again.
  + Do not change permissions if there isn't an explicit mode
    change.
  + Fix indentation heuristic for context diffs.
- Please also note that the previous update fixed security bugs
  boo#915328 and boo#915329 even though it did not say so.

OBS-URL: https://build.opensuse.org/package/show/devel:tools/patch?expand=0&rev=46
2015-02-16 14:06:29 +00:00
Martin Pluskal
002b7f85d2 Update patch.keyring
OBS-URL: https://build.opensuse.org/package/show/devel:tools/patch?expand=0&rev=45
2015-01-26 19:50:19 +00:00
Martin Pluskal
8cbaa2a560 Accepting request 282506 from home:AndreasStieger:branches:devel:tools
patch 2.7.3 [boo#913678] [CVE-2015-1196]

OBS-URL: https://build.opensuse.org/request/show/282506
OBS-URL: https://build.opensuse.org/package/show/devel:tools/patch?expand=0&rev=44
2015-01-26 19:44:12 +00:00
Jean Delvare
cb63dc7adf Update upstream status.
OBS-URL: https://build.opensuse.org/package/show/devel:tools/patch?expand=0&rev=42
2014-11-10 11:45:21 +00:00
Jean Delvare
88d552055b - reject-print-function-01-drop-useless-test.patch: Drop useless
test in another_hunk().
- reject-print-function-02-handle-unified-format.patch: Preserve C
  function name in unified rejects (bnc#904519).

OBS-URL: https://build.opensuse.org/package/show/devel:tools/patch?expand=0&rev=41
2014-11-10 10:38:51 +00:00
Jean Delvare
3a734d31a8 Accepting request 234823 from home:Andreas_Schwab:Factory
- error-report-crash.patch: fix crash after reporting error during option
  parsing

OBS-URL: https://build.opensuse.org/request/show/234823
OBS-URL: https://build.opensuse.org/package/show/devel:tools/patch?expand=0&rev=39
2014-06-03 08:28:09 +00:00
Jean Delvare
0c36e4a3d8 - Back to bz2 archive format as old products lack xz.
OBS-URL: https://build.opensuse.org/package/show/devel:tools/patch?expand=0&rev=37
2012-12-06 15:20:24 +00:00
Jean Delvare
8f63ffa22d - Add missing build requirement: xz.
OBS-URL: https://build.opensuse.org/package/show/devel:tools/patch?expand=0&rev=36
2012-12-06 15:04:53 +00:00
Jean Delvare
89dd502416 - Version 2.7.1
+ Patch no longer gets a failed assertion for certain mangled
    patches.
  + Ignore destination file names that are absolute or that contain
    a component of "..", except when working in the root directory.
    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.)
  + New --follow-symlinks option to allow to treat symlinks as
    files: this was patch's behavior before version 2.7.
  + 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 bug fixes.
  + 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.
  + Ignore when extended attributes cannot be preserved because
    they are unsupported or because permission to set them is
    denied.
- patch-revert-e0f70752.patch: Dropped, original bug fixed
  upstream.
- patch-stdio.in.patch: Dropped, merged upstream.

OBS-URL: https://build.opensuse.org/package/show/devel:tools/patch?expand=0&rev=35
2012-12-06 14:43:28 +00:00
Stephan Kulow
2c113766b1 - patch-stdio.in.patch:
Fix build with missing gets declaration (glibc 2.16)

OBS-URL: https://build.opensuse.org/package/show/devel:tools/patch?expand=0&rev=33
2012-09-07 12:46:28 +00:00
d6b22c081d Accepting request 128103 from home:a_jaeger:FactoryFix
Fix build with missing gets declaration (glibc 2.16)

OBS-URL: https://build.opensuse.org/request/show/128103
OBS-URL: https://build.opensuse.org/package/show/devel:tools/patch?expand=0&rev=32
2012-08-07 07:30:43 +00:00
Jean Delvare
0a622f8d7f - patch-revert-e0f70752.patch: Revert broken upstream commit
(bnc#755136).

OBS-URL: https://build.opensuse.org/package/show/devel:tools/patch?expand=0&rev=30
2012-04-06 12:24:18 +00:00
Jean Delvare
32ed207b62 xz isn't available in SLE11 SP1 and older, so stick to bzip2 for now.
OBS-URL: https://build.opensuse.org/package/show/devel:tools/patch?expand=0&rev=29
2012-04-05 08:25:04 +00:00
Jean Delvare
edf8511579 Add missing BuildRequires.
OBS-URL: https://build.opensuse.org/package/show/devel:tools/patch?expand=0&rev=28
2012-04-04 18:41:46 +00:00
Jean Delvare
231fb6e34a - Version 2.6.1.136
OBS-URL: https://build.opensuse.org/package/show/devel:tools/patch?expand=0&rev=27
2012-04-04 17:17:36 +00:00
2c983da3bb Accepting request 86685 from home:uli_suse:branches:devel:tools
- cross-build fix: use %configure macro

OBS-URL: https://build.opensuse.org/request/show/86685
OBS-URL: https://build.opensuse.org/package/show/devel:tools/patch?expand=0&rev=25
2011-10-05 15:23:39 +00:00
OBS User buildservice-autocommit
8370b5d1b8 Updating link to change in openSUSE:Factory/patch revision 26.0
OBS-URL: https://build.opensuse.org/package/show/devel:tools/patch?expand=0&rev=d36540181dc7f1b623796d54ec610ff6
2011-04-07 08:07:32 +00:00
Jean Delvare
cffc447f94 Document the conflict with patchutils < 0.3.2.
OBS-URL: https://build.opensuse.org/package/show/devel:tools/patch?expand=0&rev=23
2011-04-04 15:31:57 +00:00
Jean Delvare
4a75e4b044 - Version 2.6.1.116:
+ Patch now ignores destination file names that are absolute or
    that contain a component of ".." (CVE-2010-4651, bnc#662957).
- Drop unified-reject-files-compat.diff. Compatibility has been
  provided for the past 18 months, hopefully nobody is relying on
  it any longer.

OBS-URL: https://build.opensuse.org/package/show/devel:tools/patch?expand=0&rev=22
2011-04-04 13:15:18 +00:00
OBS User autobuild
f47cd05101 Accepting request 49168 from devel:tools
checked in (request 49168)

OBS-URL: https://build.opensuse.org/request/show/49168
OBS-URL: https://build.opensuse.org/package/show/devel:tools/patch?expand=0&rev=21
2010-09-27 13:51:15 +00:00
Andreas Gruenbacher
873f1112d9 Accepting request 42404 from home:jengelh:smp
Copy from home:jengelh:smp/patch via accept of submit request 42404 revision 2.
Request was accepted with message:
reviewed ok.

OBS-URL: https://build.opensuse.org/request/show/42404
OBS-URL: https://build.opensuse.org/package/show/devel:tools/patch?expand=0&rev=20
2010-07-02 08:21:11 +00:00
OBS User buildservice-autocommit
1a4053bd8e Updating link to change in openSUSE:Factory/patch revision 20.0
OBS-URL: https://build.opensuse.org/package/show/devel:tools/patch?expand=0&rev=1fb07bfae10cb5cabf8c560f45b3402d
2010-05-05 20:51:18 +00:00
OBS User autobuild
fb3b41f19d Accepting request 39416 from devel:tools
checked in (request 39416)

OBS-URL: https://build.opensuse.org/request/show/39416
OBS-URL: https://build.opensuse.org/package/show/devel:tools/patch?expand=0&rev=19
2010-05-05 20:51:17 +00:00
Andreas Gruenbacher
e6cdd7d5c3 - Version 2.6.1.81:
+ Fix backup file detection for deleted files
  + Allow to create and delete empty files
  + Stick to the best name in the reversed-patch check
  + Various portability improvements

OBS-URL: https://build.opensuse.org/package/show/devel:tools/patch?expand=0&rev=18
2010-05-04 23:37:55 +00:00
OBS User buildservice-autocommit
7c1a299de1 Updating link to change in openSUSE:Factory/patch revision 19.0
OBS-URL: https://build.opensuse.org/package/show/devel:tools/patch?expand=0&rev=d8fc6c51ce681fb6c01e6f1d9cced28f
2010-05-03 19:39:00 +00:00
OBS User autobuild
c18f09dedd Accepting request 39270 from devel:tools
checked in (request 39270)

OBS-URL: https://build.opensuse.org/request/show/39270
OBS-URL: https://build.opensuse.org/package/show/devel:tools/patch?expand=0&rev=17
2010-05-03 19:38:59 +00:00
Andreas Gruenbacher
0a6686df2c - Fix the linker library order.
OBS-URL: https://build.opensuse.org/package/show/devel:tools/patch?expand=0&rev=16
2010-05-02 13:58:21 +00:00
Andreas Gruenbacher
34ab43d3ca - Be more verbose when %verbose is defined.
OBS-URL: https://build.opensuse.org/package/show/devel:tools/patch?expand=0&rev=15
2010-05-02 12:41:33 +00:00
Andreas Gruenbacher
3b8bf5d048 - Version 2.6.1.64:
+ Support for most features of the "diff --git" format: renames
    and copies, permission changes, symlink diffs.  (Binary diffs
    are not supported yet; patch will complain and skip them.)
  + Support for double-quoted filenames: when a filename in a
    context diff 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 patch read-only files by default, or at least warn
    when patching such files with --force or --batch.
  + Refuse to apply a normal patch to a symlink.  (Previous
    versions of patch were wrongly replacing the symlink with a
    regular file.)
  + 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.

OBS-URL: https://build.opensuse.org/package/show/devel:tools/patch?expand=0&rev=14
2010-05-02 12:11:50 +00:00
OBS User buildservice-autocommit
212b886518 Updating link to change in openSUSE:Factory/patch revision 18.0
OBS-URL: https://build.opensuse.org/package/show/devel:tools/patch?expand=0&rev=c3be1f47245ce36da5cdc505c399bb9e
2010-03-18 15:15:11 +00:00
OBS User autobuild
7581d29327 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/patch?expand=0&rev=18 2010-03-18 15:15:11 +00:00
OBS User autobuild
b9b24b06f2 Accepting request 30879 from devel:tools
Copy from devel:tools/patch based on submit request 30879 from user agruen

OBS-URL: https://build.opensuse.org/request/show/30879
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/patch?expand=0&rev=17
2010-02-04 08:11:00 +00:00
OBS User autobuild
fc7cf49875 Accepting request 27907 from devel:tools
Copy from devel:tools/patch based on submit request 27907 from user agruen

OBS-URL: https://build.opensuse.org/request/show/27907
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/patch?expand=0&rev=16
2010-01-08 16:31:55 +00:00
OBS User autobuild
2ff96b8001 Accepting request 27158 from devel:tools
Copy from devel:tools/patch based on submit request 27158 from user dirkmueller

OBS-URL: https://build.opensuse.org/request/show/27158
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/patch?expand=0&rev=15
2009-12-21 13:32:32 +00:00
OBS User autobuild
e15ff121e8 Accepting request 21490 from devel:tools
Copy from devel:tools/patch based on submit request 21490 from user agruen

OBS-URL: https://build.opensuse.org/request/show/21490
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/patch?expand=0&rev=13
2009-10-03 01:35:36 +00:00
OBS User unknown
4900247a4d OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/patch?expand=0&rev=12 2009-07-23 16:41:11 +00:00
OBS User unknown
085266c636 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/patch?expand=0&rev=11 2009-06-20 03:11:45 +00:00
OBS User unknown
13d7385c40 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/patch?expand=0&rev=10 2009-04-07 23:00:02 +00:00
OBS User unknown
20880fd984 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/patch?expand=0&rev=9 2009-04-07 09:58:41 +00:00
OBS User unknown
e2c9334e5c OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/patch?expand=0&rev=8 2009-04-06 08:32:20 +00:00
OBS User unknown
940f272444 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/patch?expand=0&rev=7 2009-04-02 16:49:52 +00:00
OBS User unknown
4031722516 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/patch?expand=0&rev=6 2009-02-26 17:17:05 +00:00
OBS User unknown
e553963af3 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/patch?expand=0&rev=5 2009-02-03 23:18:23 +00:00
OBS User unknown
ea52ba878c OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/patch?expand=0&rev=3 2008-04-23 23:49:14 +00:00
OBS User unknown
3aeedafe31 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/patch?expand=0&rev=2 2007-11-02 09:40:24 +00:00
OBS User unknown
eb1f8528c1 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/patch?expand=0&rev=1 2006-12-18 23:17:23 +00:00