Wed Feb 18 17:57:12 2015 UTC ()
Pullup ticket #4616 - requested by sevan
devel/patch: security update

Revisions pulled up:
- devel/patch/Makefile                                          1.41
- devel/patch/distinfo                                          1.9

---
   Module Name:    pkgsrc
   Committed By:   mef
   Date:           Sun Feb  8 09:29:43 UTC 2015

   Modified Files:
           pkgsrc/devel/patch: Makefile distinfo

   Log Message:
   Update 2.7.1 to 2.7.4
   ---------------------
   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.


(tron)
diff -r1.40 -r1.40.2.1 pkgsrc/devel/patch/Makefile
diff -r1.8 -r1.8.8.1 pkgsrc/devel/patch/distinfo

cvs diff -r1.40 -r1.40.2.1 pkgsrc/devel/patch/Makefile (expand / switch to unified diff)

--- pkgsrc/devel/patch/Makefile 2014/10/09 14:06:30 1.40
+++ pkgsrc/devel/patch/Makefile 2015/02/18 17:57:12 1.40.2.1
@@ -1,16 +1,16 @@ @@ -1,16 +1,16 @@
1# $NetBSD: Makefile,v 1.40 2014/10/09 14:06:30 wiz Exp $ 1# $NetBSD: Makefile,v 1.40.2.1 2015/02/18 17:57:12 tron Exp $
2 2
3DISTNAME= patch-2.7.1 3DISTNAME= patch-2.7.4
4CATEGORIES= devel 4CATEGORIES= devel
5MASTER_SITES= ${MASTER_SITE_GNU:=patch/} 5MASTER_SITES= ${MASTER_SITE_GNU:=patch/}
6EXTRACT_SUFX= .tar.xz 6EXTRACT_SUFX= .tar.xz
7 7
8MAINTAINER= pkgsrc-users@NetBSD.org 8MAINTAINER= pkgsrc-users@NetBSD.org
9HOMEPAGE= http://www.gnu.org/software/patch/patch.html 9HOMEPAGE= http://www.gnu.org/software/patch/patch.html
10COMMENT= Patch files using diff output 10COMMENT= Patch files using diff output
11LICENSE= gnu-gpl-v3 11LICENSE= gnu-gpl-v3
12 12
13GNU_CONFIGURE= yes 13GNU_CONFIGURE= yes
14USE_TOOLS+= awk 14USE_TOOLS+= awk
15 15
16.include "../../mk/bsd.prefs.mk" 16.include "../../mk/bsd.prefs.mk"

cvs diff -r1.8 -r1.8.8.1 pkgsrc/devel/patch/distinfo (expand / switch to unified diff)

--- pkgsrc/devel/patch/distinfo 2014/01/03 14:55:47 1.8
+++ pkgsrc/devel/patch/distinfo 2015/02/18 17:57:12 1.8.8.1
@@ -1,5 +1,5 @@ @@ -1,5 +1,5 @@
1$NetBSD: distinfo,v 1.8 2014/01/03 14:55:47 joerg Exp $ 1$NetBSD: distinfo,v 1.8.8.1 2015/02/18 17:57:12 tron Exp $
2 2
3SHA1 (patch-2.7.1.tar.xz) = 433184d0ca43770f28b3de1d5e9da518a7ac7c50 3SHA1 (patch-2.7.4.tar.xz) = b2e29867263095e0f8bfd4b1319124b04102f2b0
4RMD160 (patch-2.7.1.tar.xz) = cc98b255bde6c322d7435db3ce377c476888359f 4RMD160 (patch-2.7.4.tar.xz) = 4531f6a4f9fbae08b831e3f289946f5d4e2bfb71
5Size (patch-2.7.1.tar.xz) = 675896 bytes 5Size (patch-2.7.4.tar.xz) = 714392 bytes