aboutsummaryrefslogtreecommitdiffstats
path: root/recipes/gzip
diff options
context:
space:
mode:
authorHolger Hans Peter Freyther <zecke@selfish.org>2010-03-15 13:22:23 +0800
committerHolger Hans Peter Freyther <zecke@selfish.org>2010-03-15 13:24:32 +0800
commitdceac37e28932a99894c7e5e1d061635da9be118 (patch)
tree408f21028a52ada21e0019bf075a4d03e1cfc60b /recipes/gzip
parent727ac89c81f9284667acd6e820204e2bad8ccc73 (diff)
downloadopenembedded-dceac37e28932a99894c7e5e1d061635da9be118.tar.gz
openembedded-dceac37e28932a99894c7e5e1d061635da9be118.tar.bz2
openembedded-dceac37e28932a99894c7e5e1d061635da9be118.zip
gzip: Upgrade to 1.3.13 to address multiple issues
CVE-2006-4334, CVE-2006-4335, CVE-2006-4336, CVE-2006-4337, CVE-2006-4338
Diffstat (limited to 'recipes/gzip')
-rw-r--r--recipes/gzip/gzip-1.3.13/configure.patch15
-rw-r--r--recipes/gzip/gzip-1.3.5/configure.patch30
-rw-r--r--recipes/gzip/gzip_1.3.13.bb (renamed from recipes/gzip/gzip_1.3.5.bb)4
3 files changed, 18 insertions, 31 deletions
diff --git a/recipes/gzip/gzip-1.3.13/configure.patch b/recipes/gzip/gzip-1.3.13/configure.patch
new file mode 100644
index 0000000000..55e8c77345
--- /dev/null
+++ b/recipes/gzip/gzip-1.3.13/configure.patch
@@ -0,0 +1,15 @@
+Index: gzip-1.3.13/configure.ac
+===================================================================
+--- gzip-1.3.13.orig/configure.ac 2010-03-15 13:15:37.457912205 +0800
++++ gzip-1.3.13/configure.ac 2010-03-15 13:17:46.497912101 +0800
+@@ -27,8 +27,8 @@
+ AC_CONFIG_SRCDIR(gzip.c)
+ AC_CONFIG_AUX_DIR(build-aux)
+ AC_CONFIG_HEADERS([lib/config.h:lib/config.hin])
+-AM_INIT_AUTOMAKE([1.11 dist-xz])
+-AM_SILENT_RULES([yes]) # make --enable-silent-rules the default.
++AM_INIT_AUTOMAKE([1.10])
++m4_ifdef([AM_SILENT_RULES], [AM_SILENT_RULES([yes])])
+
+ AC_PROG_CC_STDC
+ AM_PROG_CC_C_O
diff --git a/recipes/gzip/gzip-1.3.5/configure.patch b/recipes/gzip/gzip-1.3.5/configure.patch
deleted file mode 100644
index 64e901a9a4..0000000000
--- a/recipes/gzip/gzip-1.3.5/configure.patch
+++ /dev/null
@@ -1,30 +0,0 @@
-
-#
-# Patch managed by http://www.mn-logistik.de/unsupported/pxa250/patcher
-#
-
---- gzip-1.3.5/./configure.in~configure
-+++ gzip-1.3.5/./configure.in
-@@ -18,8 +18,8 @@
- # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
- # 02111-1307, USA.
-
--AC_PREREQ(2.54)
--AC_INIT(gzip, 1.3.5, bug-gzip@gnu.org)
-+AC_PREREQ(2.57)
-+AC_INIT([gzip],[1.3.5],[bug-gzip@gnu.org])
- AC_CONFIG_SRCDIR(gzip.c)
- AM_INIT_AUTOMAKE
-
-@@ -39,9 +39,8 @@
-
- AC_CACHE_CHECK([for underline in external names], [gzip_cv_underline],
- [gzip_cv_underline=yes
-- AC_TRY_COMPILE([int foo() {return 0;}], [],
-- [nm conftest.$OBJEXT | grep _foo >/dev/null 2>&1 ||
-- gzip_cv_underline=no])])
-+ AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[int foo() {return 0;}]], [[]])],[nm conftest.$OBJEXT | grep _foo >/dev/null 2>&1 ||
-+ gzip_cv_underline=no],[])])
- if test $gzip_cv_underline = no; then
- ASCPP="${ASCPP} -DNO_UNDERLINE"
- fi
diff --git a/recipes/gzip/gzip_1.3.5.bb b/recipes/gzip/gzip_1.3.13.bb
index a0c49864b4..86c1abede6 100644
--- a/recipes/gzip/gzip_1.3.5.bb
+++ b/recipes/gzip/gzip_1.3.13.bb
@@ -6,8 +6,10 @@ to be a replacement for 'compress'. The GNU Project uses it as \
the standard compression program for its system."
PR = "r1"
-SRC_URI = "${DEBIAN_MIRROR}/main/g/gzip/gzip_${PV}.orig.tar.gz \
+SRC_URI = "${GNU_MIRROR}/gzip/gzip-${PV}.tar.gz;name=src \
file://configure.patch;patch=1"
+SRC_URI[src.md5sum] = "c54a31b93e865f6a4410b2dc64662706"
+SRC_URI[src.sha256sum] = "1d06ff9f5c523651bed3dcde6e6aa8118eee48b22534a157a2588705fa517ca3"
S = "${WORKDIR}/gzip-${PV}"