[OpenWrt-Devel] [PATCH] [tools] patch: bump GNU patch to 2.7.5

Hannu Nyman hannu.nyman at iki.fi
Sat Mar 14 06:05:49 EDT 2015


Bump GNU patch in tools from 2.7.1 to 2.7.5.
Change download URL to use @GNU alias.

Signed-off-by: Hannu Nyman <hannu.nyman at iki.fi>

-----------

Changes between 2.7.1 and 2.7.5:
http://git.savannah.gnu.org/cgit/patch.git/tree/NEWS

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.

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.

-------------- next part --------------
Index: tools/patch/Makefile
===================================================================
--- tools/patch/Makefile	(revision 44752)
+++ tools/patch/Makefile	(working copy)
@@ -7,11 +7,11 @@
 include $(TOPDIR)/rules.mk
 
 PKG_NAME:=patch
-PKG_VERSION:=2.7.1
+PKG_VERSION:=2.7.5
 
 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.xz
-PKG_SOURCE_URL:=ftp://ftp.gnu.org/gnu/patch
-PKG_MD5SUM:=e9ae5393426d3ad783a300a338c09b72
+PKG_SOURCE_URL:=@GNU/patch
+PKG_MD5SUM:=e3da7940431633fb65a01b91d3b7a27a
 
 include $(INCLUDE_DIR)/host-build.mk
 
-------------- next part --------------
_______________________________________________
openwrt-devel mailing list
openwrt-devel at lists.openwrt.org
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel


More information about the openwrt-devel mailing list