File patch.changes of Package patch (Revision 60cd4051244fc8a6c884eeef69e672bf)
Currently displaying revision 60cd4051244fc8a6c884eeef69e672bf , Show latest
xxxxxxxxxx
1
-------------------------------------------------------------------
2
Tue May 10 16:41:54 UTC 2022 - Jean Delvare <jdelvare@suse.de>
3
4
- fix-swapping-fake-lines-in-pch_swap.patch: Fix swapping fake
5
lines in pch_swap. This bug was causing a double free leading to
6
a crash (boo#1080985 CVE-2018-6952).
7
- abort-when-cleaning-up-fails.patch: Abort when cleaning up fails.
8
This bug could cause an infinite loop when a patch wouldn't
9
apply, leading to a segmentation fault (boo#1111572).
10
- dont-follow-symlinks-unless-asked.patch: Don't follow symlinks
11
unless --follow-symlinks is given. This increases the security
12
against malicious patches (boo#1142041 CVE-2019-13636).
13
- pass-the-correct-stat-to-backup-files.patch: Pass the correct
14
stat to backup files. This bug would occasionally cause backup
15
files to be missing when all hunks failed to apply (boo#1198106).
16
17
-------------------------------------------------------------------
18
Wed May 9 09:52:04 UTC 2018 - jdelvare@suse.de
19
20
- ed-style-07-dont-leak-tmp-file.patch,
21
ed-style-08-dont-leak-tmp-file-multi.patch: Fix temporary file
22
leak when applying ed-style patches (bsc#1092500,
23
savannah#53820).
24
25
-------------------------------------------------------------------
26
Wed Apr 18 11:16:34 CEST 2018 - jdelvare@suse.de
27
28
- Add ed as BuildRequires so ed-style patches can be checked by
29
the test suite.
30
31
-------------------------------------------------------------------
32
Wed Apr 18 08:53:00 UTC 2018 - jdelvare@suse.de
33
34
Fix CVE-2018-1000156 (bsc#1088420, savannah#53566).
35
- ed-style-01-missing-input-files.patch: Allow input files to be
36
missing for ed-style patches.
37
- ed-style-02-fix-arbitrary-command-execution.patch,
38
ed-style-03-update-test-Makefile.patch: Fix arbitrary command
39
execution in ed-style patches.
40
- ed-style-04-invoke-ed-directly.patch: Invoke ed directly instead
41
of using the shell.
42
- ed-style-05-minor-cleanups.patch: Minor cleanups in do_ed_script.
43
- ed-style-06-fix-test-failure.patch: Fix 'ed-style' test failure.
44
45
-------------------------------------------------------------------
46
Thu Mar 22 09:43:43 CET 2018 - jdelvare@suse.de
47
48
- Move COPYING from %doc to %license.
49
50
-------------------------------------------------------------------
51
Wed Mar 21 16:44:09 CET 2018 - jdelvare@suse.de
52
53
- Add AUTHORS and COPYING to %doc.
54
- fix-segfault-mangled-rename.patch: Fix segfault with mangled
55
rename patch (bsc#1080951, CVE-2018-6951, savannah#53132).
56
57
-------------------------------------------------------------------
58
Wed Feb 7 18:43:51 UTC 2018 - astieger@suse.com
59
60
- patch 2.7.6:
61
* Files specified on the command line are no longer verified to
62
be inside the current working directory, so commands like
63
"patch -i foo.diff ../foo" will work again
64
* Fixes CVE-2016-10713 (Out-of-bounds access within
65
pch_write_line() in pch.c could possibly lead to DoS via a
66
crafted input file; bsc#1080918)
67
* Various fixes
68
69
-------------------------------------------------------------------
70
Sat Mar 7 10:42:46 CET 2015 - jdelvare@suse.de
71
72
- patch 2.7.5
73
Fixes a functional regression introduced by the previous update.
74
+ Patching through symbolic links works again, as long as the
75
target is within the working tree.
76
77
-------------------------------------------------------------------
78
Mon Feb 16 11:51:58 CET 2015 - jdelvare@suse.de
79
80
- patch 2.7.4
81
Fixes a functional regression introduced by the previous security
82
fix. The security fix would forbid legitimate use cases of
83
relative symbolic links.
84
[boo#918058]
85
+ Allow arbitrary symlink targets again.
86
+ Do not change permissions if there isn't an explicit mode
87
change.
88
+ Fix indentation heuristic for context diffs.
89
- Please also note that the previous update fixed security bugs
90
boo#915328 and boo#915329 even though it did not say so.
91
92
-------------------------------------------------------------------
93
Fri Jan 23 00:58:35 UTC 2015 - andreas.stieger@gmx.de
94
95
- patch 2.7.3
96
Contains a security fix for a directory traversal flaw when
97
handling git-style patches. This could allow an attacker to
98
overwrite arbitrary files by applying a specially crafted patch.
99
[boo#913678] [CVE-2015-1196]
100
+ With git-style patches, symlinks that point outside the working
101
directory will no longer be created (CVE-2015-1196).
102
+ When a file isn't being deleted because the file contents don't
103
match the patch, the resulting message is now "Not deleting
104
file ... as content differs from patch" instead of "File ...
105
is not empty after patch; not deleting".
106
+ Function names in hunks (from diff -p) are now preserved in
107
reject files
108
This change was previously added as a patch. [boo#904519]
109
- Version 2.7.2 differed from the above only slightly.
110
- packaging changes:
111
+ Verify source signatures
112
+ Removed patches now upstream:
113
* error-report-crash.patch
114
* reject-print-function-01-drop-useless-test.patch
115
* reject-print-function-02-handle-unified-format.patch
116
+ run spec-cleaner
117
118
-------------------------------------------------------------------
119
Mon Nov 10 11:37:03 CET 2014 - jdelvare@suse.de
120
121
- reject-print-function-01-drop-useless-test.patch: Drop useless
122
test in another_hunk().
123
- reject-print-function-02-handle-unified-format.patch: Preserve C
124
function name in unified rejects (bnc#904519).
125
126
-------------------------------------------------------------------
127
Tue May 20 07:44:03 UTC 2014 - schwab@suse.de
128
129
- error-report-crash.patch: fix crash after reporting error during option
130
parsing
131
132
-------------------------------------------------------------------
133
Thu Dec 6 16:19:25 CET 2012 - jdelvare@suse.de
134
135
- Back to bz2 archive format as old products lack xz.
136
137
-------------------------------------------------------------------
138
Thu Dec 6 15:34:14 CET 2012 - jdelvare@suse.de
139
140
- Version 2.7.1
141
+ Patch no longer gets a failed assertion for certain mangled
142
patches.
143
+ Ignore destination file names that are absolute or that contain
144
a component of "..", except when working in the root directory.
145
This addresses CVE-2010-4651.
146
+ Support for most features of the "diff --git" format, including
147
renames and copies, permission changes, and symlink diffs.
148
Binary diffs are not supported yet; patch will complain and
149
skip them.
150
+ Support for double-quoted filenames: when a filename starts
151
with a double quote, it is interpreted as a C string literal.
152
The escape sequences \\, \", \a, \b, \f, \n, \r, \t, \v, and
153
\ooo (a three-digit octal number between 0 and 255) are
154
recognized.
155
+ Refuse to apply a normal patch to a symlink. (Previous versions
156
of patch were replacing the symlink with a regular file.)
157
+ New --follow-symlinks option to allow to treat symlinks as
158
files: this was patch's behavior before version 2.7.
159
+ When trying to modify a read-only file, warn about the
160
potential problem by default. The --read-only command line
161
option allows to change this behavior.
162
+ Files to be deleted are deleted once the entire input has been
163
processed, not immediately. This fixes a bug with numbered
164
backup files.
165
+ When a timestamp specifies a time zone, honor that instead of
166
assuming the local time zone (--set-date) or Universal
167
Coordinated Time (--set-utc).
168
+ Support for nanosecond precision timestamps.
169
+ Many bug fixes.
170
+ Clarify the message printed when a patch is expected to empty
171
out and delete a file, but the file does not become empty.
172
+ Various improvements to messages when applying a patch to a
173
file of different type (regular file vs. symlink), when there
174
are line ending differences (LF vs. CRLF), and when in
175
--dry-run mode.
176
+ Ignore when extended attributes cannot be preserved because
177
they are unsupported or because permission to set them is
178
denied.
179
- patch-revert-e0f70752.patch: Dropped, original bug fixed
180
upstream.
181
- patch-stdio.in.patch: Dropped, merged upstream.
182
183
-------------------------------------------------------------------
184
Tue Jul 17 08:40:27 UTC 2012 - aj@suse.de
185
186
- patch-stdio.in.patch:
187
Fix build with missing gets declaration (glibc 2.16)
188
189
-------------------------------------------------------------------
190
Fri Apr 6 14:22:12 CEST 2012 - jdelvare@suse.de
191
192
- patch-revert-e0f70752.patch: Revert broken upstream commit
193
(bnc#755136).
194
195
-------------------------------------------------------------------
196
Wed Apr 4 19:03:25 CEST 2012 - jdelvare@suse.de
197
198
- Version 2.6.1.136
199
200
-------------------------------------------------------------------
201
Wed Oct 5 12:33:53 UTC 2011 - uli@suse.com
202
203
- cross-build fix: use %configure macro
204
205
-------------------------------------------------------------------
206
Mon Apr 4 15:11:04 CEST 2011 - jdelvare@suse.de
207
208
- Version 2.6.1.116:
209
+ Patch now ignores destination file names that are absolute or
210
that contain a component of ".." (CVE-2010-4651, bnc#662957).
211
- Drop unified-reject-files-compat.diff. Compatibility has been
212
provided for the past 18 months, hopefully nobody is relying on
213
it any longer.
214
215
-------------------------------------------------------------------
216
Fri Jul 2 06:57:49 UTC 2010 - jengelh@medozas.de
217
218
- Use %_smp_mflags
219
220
-------------------------------------------------------------------
221
Wed May 5 01:28:12 CEST 2010 - agruen@suse.de
222
223
- Version 2.6.1.81:
224
+ Fix backup file detection for deleted files
225
+ Allow to create and delete empty files
226
+ Stick to the best name in the reversed-patch check
227
+ Various portability improvements
228
229
-------------------------------------------------------------------
230
Sun May 2 15:57:54 CEST 2010 - agruen@suse.de
231
232
- Fix the linker library order.
233
234
-------------------------------------------------------------------
235
Sun May 2 14:40:09 CEST 2010 - agruen@suse.de
236
237
- Be more verbose when %verbose is defined.
238
239
-------------------------------------------------------------------
240
Sun May 2 14:01:47 CEST 2010 - agruen@suse.de
241
242
- Version 2.6.1.64:
243
+ Support for most features of the "diff --git" format: renames
244
and copies, permission changes, symlink diffs. (Binary diffs
245
are not supported yet; patch will complain and skip them.)
246
+ Support for double-quoted filenames: when a filename in a
247
context diff starts with a double quote, it is interpreted as
248
a C string literal. The escape sequences \\, \", \a, \b, \f, \n,
249
\r, \t, \v, and \ooo (a three-digit octal number between 0 and
250
255) are recognized.
251
+ Refuse to patch read-only files by default, or at least warn
252
when patching such files with --force or --batch.
253
+ Refuse to apply a normal patch to a symlink. (Previous
254
versions of patch were wrongly replacing the symlink with a
255
regular file.)
256
+ When a timestamp specifies a time zone, honor that instead of
257
assuming the local time zone (--set-date) or Universal
258
Coordinated Time (--set-utc).
259
+ Support for nanosecond precision timestamps.
260
+ Many portability and bug fixes.
261
262
-------------------------------------------------------------------
263
Sun Jan 31 16:22:05 CET 2010 - agruen@suse.de
264
265
- Version 2.6.1.9:
266
+ Skip another ed-dependent test when ed isn't installed.
267
+ More portability fixes.
268
-------------------------------------------------------------------
269
Wed Dec 30 17:14:24 CET 2009 - agruen@suse.de
270
271
- Version 2.6.1:
272
+ Support for diff3(1) style merges which show the old, original,
273
and new lines of a conflict has been added (--merge=diff3).
274
The default still is the merge(1) format (--merge or
275
--merge=merge).
276
+ Bug and portability fixes.
277
278
-------------------------------------------------------------------
279
Sun Dec 6 17:32:57 CET 2009 - jengelh
280
281
- enable parallel building
282
283
-------------------------------------------------------------------
284
Fri Nov 13 15:45:06 CET 2009 - agruen@suse.de
285
286
- Version 2.6.
287
288
-------------------------------------------------------------------
289
Mon Sep 7 13:30:46 CEST 2009 - agruen@suse.de
290
291
- Version 2.5.9.122:
292
+ Try to preserve the owning group of patched files.
293
- Add --unified-reject-files backwards-compatibility patch to
294
older SUSE versions of patch.
295
296
-------------------------------------------------------------------
297
Mon Jul 20 10:12:48 CEST 2009 - agruen@suse.de
298
299
- Version 2.5.9.120:
300
+ When copying files, use full_write() from gnulib instead of
301
write().
302
+ The -m option hasn't been officially allocated yet. Use only
303
the long form for now (--merge).
304
305
-------------------------------------------------------------------
306
Fri Jun 19 08:33:32 CEST 2009 - agruen@suse.de
307
308
- Version 2.5.9.118:
309
+ Change the default value of PATCH_GET to 0.
310
+ When merging, make sure that hunks will not end up "out of order"
311
+ When the file to patch is specified on the command line,
312
apply all patches to that file
313
+ Some portability fixes/improvements
314
+ Don't fail when removing nonexistent files in move_file
315
316
-------------------------------------------------------------------
317
Wed Apr 8 16:47:49 CEST 2009 - agruen@suse.de
318
319
- Version 2.5.9.109:
320
+ Preserve timestamps in reject files.
321
+ Add support for sending output to standard output.
322
+ Allow special characters in filenames read interactively.
323
+ Don't forget to NUL terminate ptimestr in fetchname().
324
325
-------------------------------------------------------------------
326
Tue Apr 7 14:29:16 CEST 2009 - agruen@suse.de
327
328
- Version 2.5.9.104: timestamp parsing fix, 64-bit fix.
329
330
-------------------------------------------------------------------
331
Mon Apr 6 18:59:55 CEST 2009 - agruen@suse.de
332
333
- Version 2.5.9.97: Another bugfix.
334
335
-------------------------------------------------------------------
336
Mon Apr 6 15:04:50 CEST 2009 - agruen@suse.de
337
338
- Version 2.5.9.95: Gnulib update, bug fixes.
339
340
-------------------------------------------------------------------
341
Fri Apr 3 22:35:33 CEST 2009 - agruen@suse.de
342
343
- Update to version patch-2.5.9.77: updated manpage and NEWS, no
344
strict depenency on ed in the test suite anymore, and slightly
345
improved handling of asymmetric hunks.
346
347
-------------------------------------------------------------------
348
Thu Apr 2 16:21:14 CEST 2009 - agruen@suse.de
349
350
- Update to version patch-2.5.9.69 which has all our patches
351
merged in one form or anther, along with many other fixes and
352
improvements (see NEWS).
353
354
-------------------------------------------------------------------
355
Tue Feb 24 12:56:06 CET 2009 - agruen@suse.de
356
357
- Include patch headers in reject files so that they form proper
358
patches themselves.
359
- Rewrite the unified reject files patch; this is much cleaner
360
now.
361
- Add an improved strategy for locating merges.
362
363
-------------------------------------------------------------------
364
Tue Feb 3 06:10:49 CET 2009 - agruen@suse.de
365
366
- Implement diff3-style merges (including several fixes and
367
improvements).
368
369
-------------------------------------------------------------------
370
Wed Apr 23 10:53:19 CEST 2008 - agruen@suse.de
371
372
- remember-backup-files.diff: Fix bug when a file is touched by
373
the same patch more than twice. Move the test cases from the
374
patch header into separate files.
375
- patch-2.5.9-cat_if_device.diff: No need to remember the device
376
we write to as a backup file.
377
378
-------------------------------------------------------------------
379
Fri Nov 2 01:57:03 CET 2007 - agruen@suse.de
380
381
- Patch fails to apply hunks with asymmetric context correctly.
382
383
-------------------------------------------------------------------
384
Wed Jan 25 21:30:47 CET 2006 - mls@suse.de
385
386
- converted neededforbuild to BuildRequires
387
388
-------------------------------------------------------------------
389
Thu Jan 12 07:52:31 CET 2006 - agruen@suse.de
390
391
- remember-backup-files.diff: Fix case where a patch modifies a
392
read-only file more than once while --backup is used (test case
393
in the patch header).
394
395
-------------------------------------------------------------------
396
Thu Aug 18 18:09:59 CEST 2005 - mmj@suse.de
397
398
- --reject-unified is called --unified-reject-files [#105151]
399
400
-------------------------------------------------------------------
401
Wed Jun 29 13:50:06 CEST 2005 - mmj@suse.de
402
403
- Don't compile with -f-signed-char [#93883]
404
- Don't strip explicitly
405
406
-------------------------------------------------------------------
407
Tue Jan 4 21:11:54 CET 2005 - mmj@suse.de
408
409
- Add patch to make patch able to write reject files to devices,
410
named pipes and sockets [#45794]
411
412
-------------------------------------------------------------------
413
Sat Jan 25 02:30:00 CET 2004 - agruen@suse.de
414
415
- Add --reject-unified option to produce unified reject files:
416
Before, unified reject files were produced if the patch itself
417
was unified; this could sometimes have been annoying.
418
- If a patch with C function names (diff -p) has rejects, include
419
the function names in the reject files.
420
421
-------------------------------------------------------------------
422
Sun Jan 11 11:17:55 CET 2004 - adrian@suse.de
423
424
- add %defattr
425
426
-------------------------------------------------------------------
427
Tue Oct 7 15:03:22 CEST 2003 - agruen@suse.de
428
429
- remember-backup-files: Also include the file timestamps in the
430
hash table for non-POSIX-compliant systems that don't guarantee
431
that i_dev + i_ino uniquely identifies a file.
432
- #32031: Create --global-reject-file even if --dry-run is
433
specified. Add a missing '\n'.
434
435
-------------------------------------------------------------------
436
Wed Jul 16 15:21:44 CEST 2003 - agruen@suse.de
437
438
- Replace trailing-cr-fix.diff with official upstream version that
439
fixes this bug differently.
440
441
-------------------------------------------------------------------
442
Mon Jun 30 13:30:33 CEST 2003 - agruen@suse.de
443
444
- trailing-cr-fix.diff: Fix a bug in carriage return detection
445
(DOS files) in the unified diff path.
446
- Disable patch that adds comments to C preprocessor style
447
merges, as specified by POSIX.1-2001.
448
449
-------------------------------------------------------------------
450
Wed Jun 25 16:46:41 CEST 2003 - agruen@suse.de
451
452
- Fix bug introduced on June 5 that broke remember-backup-files.
453
454
-------------------------------------------------------------------
455
Tue Jun 24 17:35:09 CEST 2003 - agruen@suse.de
456
457
- smart-reject-file-format.diff: Work around a special case in
458
which patches are not terminated with a '^' in the internal
459
representation. The resulting error message was "internal error
460
in abort_hunk".
461
462
-------------------------------------------------------------------
463
Thu Jun 5 09:38:17 CEST 2003 - agruen@suse.de
464
465
- Temporary reject file logic: Ooops, now must only close the
466
temporary reject file after processing all patches, instead of
467
after each patch.
468
469
-------------------------------------------------------------------
470
Thu Jun 5 01:00:38 CEST 2003 - agruen@suse.de
471
472
- Upgrade to 2.5.9: Several fixes, obsoletes
473
rename-same-file.patch.
474
- Fix and adapt global-reject-file patch:
475
+ The global reject file included corrupted headers for each
476
rejected hunk, instead of one header for each file with
477
rejects.
478
+ Rename --global-reject to --global-reject-file.
479
+ Simplify temporary reject file logic.
480
+ Adapt to unified-reject-files patch (which has different
481
headers).
482
+ Add entry in man page.
483
- Fix a bug in smart-reject-file-format: Files that are created
484
are identified by `-0,0'; before the patch was generating
485
`-1,0' in reject files.
486
- Switch remember-backup-files.diff over to use gnulib's hash
487
tables instead of glibc's binary trees, requested from upstream
488
to ensure greater portability.
489
- Add /* SYM */ comment to #endif lines for patch -D SYM, too.
490
491
-------------------------------------------------------------------
492
Wed Apr 9 19:33:59 CEST 2003 - agruen@suse.de
493
494
- Fix another bug with hard links and backup file generation.
495
- Fix backup file generation if the same file appears in the
496
patch more than once.
497
498
-------------------------------------------------------------------
499
Wed Mar 26 14:00:55 CET 2003 - mmj@suse.de
500
501
- Update to 2.5.8:
502
+ Bugfixes
503
+ patch -D now outputs preprocessor lines without comments, as
504
required by POSIX 1003.1-2001
505
+ File names in context patches may now contain spaces, so long
506
as the context patch headers use a tab to separate the file name
507
from the time stamp
508
+ Perforce is now supported
509
+ Patch lines beginning with "#" are comments and are ignored
510
511
-------------------------------------------------------------------
512
Wed Jan 15 16:50:57 CET 2003 - agruen@suse.de
513
514
- Fix a bug with hardlinks (see rename-same-file.patch)
515
516
-------------------------------------------------------------------
517
Tue Sep 17 17:34:28 CEST 2002 - ro@suse.de
518
519
- removed bogus self-provides
520
521
-------------------------------------------------------------------
522
Wed Feb 6 12:05:34 CET 2002 - coolo@suse.de
523
524
- called suse_update_config
525
526
-------------------------------------------------------------------
527
Mon Jun 25 12:46:18 CEST 2001 - uli@suse.de
528
529
- added patch adding "--global-reject" option by ak@suse.de
530
- bzipped tarball
531
532
-------------------------------------------------------------------
533
Tue Mar 6 20:36:46 CET 2001 - bk@suse.de
534
535
- update to 2.5.4, added 2 patches from PLD and use buildroot
536
537
-------------------------------------------------------------------
538
Wed Nov 8 17:41:23 CET 2000 - uli@suse.de
539
540
- now builds with -D_GNU_SOURCE, should avoid miscompilation that
541
breaks LFS support
542
- added fix for offset output by Alessandro Rubini
543
- added fix and enhancement for --ifdef by Pete Buechler
544
545
-------------------------------------------------------------------
546
Sun Feb 27 20:16:11 CET 2000 - @suse.de
547
548
- added missing CFLAGS quotes.
549
550
-------------------------------------------------------------------
551
Sun Feb 27 19:07:58 CET 2000 - bk@suse.de
552
553
- added PPC fixes by Uli back again (-fsigned-char, CPPFLAGS)
554
555
-------------------------------------------------------------------
556
Fri Feb 25 17:44:41 CET 2000 - schwab@suse.de
557
558
- Specfile cleanup, get rid of Makefile.Linux
559
- /usr/man -> /usr/share/man
560
- Add group tag.
561
562
-------------------------------------------------------------------
563
Mon Sep 13 17:23:57 CEST 1999 - bs@suse.de
564
565
- ran old prepare_spec on spec file to switch to new prepare_spec.
566
567
-------------------------------------------------------------------
568
Wed Aug 18 12:13:35 MEST 1999 - uli@suse.de
569
570
- fixed for PPC (-fsigned-char, CPPFLAGS)
571
572
-------------------------------------------------------------------
573
Tue Mar 16 14:58:42 MET 1999 - ro@suse.de
574
575
- update to 2.5.3 using diff from jurix
576
577
-------------------------------------------------------------------
578
Wed Jan 13 15:45:28 MET 1999 - bs@suse.de
579
580
- applied patch from Egbert Eich (problems with non existing files fixed)
581
582
-------------------------------------------------------------------
583
Thu Nov 5 00:19:13 MET 1998 - ro@suse.de
584
585
- use libc's basename() for glibc
586
587