Browse Source

Bump pcre to 7.9

Closes #763.

[Peter: Only remove pcre-config from target if !BR2_HAVE_DEVFILES]
Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
Gustavo Zacarias 15 years ago
parent
commit
9f17728fb5
2 changed files with 7 additions and 4 deletions
  1. 2 1
      CHANGES
  2. 5 3
      package/pcre/pcre.mk

+ 2 - 1
CHANGES

@@ -1,12 +1,13 @@
 2010.02, Not yet released:
 2010.02, Not yet released:
 
 
-	Updated/fixed packages: autoconf, binutils, busybox, lighttpd
+	Updated/fixed packages: autoconf, binutils, busybox, lighttpd, pcre
 
 
 	Issues resolved (http://bugs.uclibc.org):
 	Issues resolved (http://bugs.uclibc.org):
 
 
 	#751: Kernel 2.6 snapshot fetch fail
 	#751: Kernel 2.6 snapshot fetch fail
 	#753: Bump lighttpd package to 1.4.25
 	#753: Bump lighttpd package to 1.4.25
 	#761: Add binutils 2.20 to toolchain options
 	#761: Add binutils 2.20 to toolchain options
+	#763: [SECURITY] Update pcre to 7.9
 
 
 2009.11, Released December 1st, 2009:
 2009.11, Released December 1st, 2009:
 
 

+ 5 - 3
package/pcre/pcre.mk

@@ -3,11 +3,10 @@
 # PCRE
 # PCRE
 #
 #
 #############################################################
 #############################################################
-PCRE_VERSION = 7.7
-PCRE_SOURCE = pcre-$(PCRE_VERSION).tar.bz2
+
+PCRE_VERSION = 7.9
 PCRE_SITE = ftp://ftp.csx.cam.ac.uk/pub/software/programming/pcre
 PCRE_SITE = ftp://ftp.csx.cam.ac.uk/pub/software/programming/pcre
 PCRE_INSTALL_STAGING = YES
 PCRE_INSTALL_STAGING = YES
-PCRE_INSTALL_TARGET = YES
 
 
 ifneq ($(BR2_INSTALL_LIBSTDCPP),y)
 ifneq ($(BR2_INSTALL_LIBSTDCPP),y)
 # pcre will use the host g++ if a cross version isn't available
 # pcre will use the host g++ if a cross version isn't available
@@ -21,4 +20,7 @@ $(PCRE_HOOK_POST_INSTALL): $(PCRE_TARGET_INSTALL_TARGET)
 		-e 's,^exec_prefix=.*,exec_prefix=$(STAGING_DIR)/usr,' \
 		-e 's,^exec_prefix=.*,exec_prefix=$(STAGING_DIR)/usr,' \
 		$(STAGING_DIR)/usr/bin/pcre-config
 		$(STAGING_DIR)/usr/bin/pcre-config
 	rm -rf $(TARGET_DIR)/usr/share/doc/pcre
 	rm -rf $(TARGET_DIR)/usr/share/doc/pcre
+ifneq ($(BR2_HAVE_DEVFILES),y)
+	rm -f $(TARGET_DIR)/usr/bin/pcre-config
+endif
 	touch $@
 	touch $@