mailarchive of the ptxdist mailing list
 help / color / mirror / Atom feed
* [ptxdist] [PATCH] ncurses: Version bump. 6.3 -> 6.4
@ 2023-01-02 19:18 Christian Melki
  2023-01-06 16:01 ` [ptxdist] [APPLIED] " Michael Olbrich
  0 siblings, 1 reply; 2+ messages in thread
From: Christian Melki @ 2023-01-02 19:18 UTC (permalink / raw)
  To: ptxdist

Mostly a bugfix release.
https://lists.gnu.org/archive/html/info-gnu/2022-12/msg00010.html
Fixes CVE-2022-29458.

A side note. The .make could use a cleanup of the options.
Maybe try to revisit this at a later date.

* License file copyright timestamp changed.
* Make colors dependent on wide chars (configure warning).

Signed-off-by: Christian Melki <christian.melki@t2data.com>
---
 ...01-teach-ncurses-config-about-sysroot.patch | 18 +++++++++++-------
 patches/{ncurses-6.3 => ncurses-6.4}/series    |  0
 rules/ncurses.make                             |  8 ++++----
 3 files changed, 15 insertions(+), 11 deletions(-)
 rename patches/{ncurses-6.3 => ncurses-6.4}/0001-teach-ncurses-config-about-sysroot.patch (65%)
 rename patches/{ncurses-6.3 => ncurses-6.4}/series (100%)

diff --git a/patches/ncurses-6.3/0001-teach-ncurses-config-about-sysroot.patch b/patches/ncurses-6.4/0001-teach-ncurses-config-about-sysroot.patch
similarity index 65%
rename from patches/ncurses-6.3/0001-teach-ncurses-config-about-sysroot.patch
rename to patches/ncurses-6.4/0001-teach-ncurses-config-about-sysroot.patch
index 707b5a49c..4a8ee40a9 100644
--- a/patches/ncurses-6.3/0001-teach-ncurses-config-about-sysroot.patch
+++ b/patches/ncurses-6.4/0001-teach-ncurses-config-about-sysroot.patch
@@ -7,13 +7,17 @@ This patch teaches ncurses-config about sysroot
 Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
 [ported from ncurses 6.1 to 6.2]
 Signed-off-by: Robert Schwebel <rsc@pengutronix.de>
+[ported from ncurses 6.3 to 6.4]
+Signed-off-by: Christian Melki <christian.melki@t2data.com>
 ---
- misc/ncurses-config.in |   12 ++++++------
- 1 files changed, 6 insertions(+), 6 deletions(-)
+ misc/ncurses-config.in | 6 +++---
+ 1 file changed, 3 insertions(+), 3 deletions(-)
 
---- ncurses-6.2/misc/ncurses-config.in	2020-02-03 00:34:34.000000000 +0100
-+++ ncurses-6.2-ptx/misc/ncurses-config.in	2020-07-25 23:28:48.123350040 +0200
-@@ -149,10 +149,10 @@
+diff --git a/misc/ncurses-config.in b/misc/ncurses-config.in
+index c9f1cf809843..af37d68c022c 100644
+--- a/misc/ncurses-config.in
++++ b/misc/ncurses-config.in
+@@ -188,10 +188,10 @@ while [ $# -gt 0 ]; do
  	--cflags)
  		INCS="@PKG_CFLAGS@"
  		if [ "x@WITH_OVERWRITE@" = xno ]; then
@@ -26,8 +30,8 @@ Signed-off-by: Robert Schwebel <rsc@pengutronix.de>
  		fi
  		sed -e 's,^[ ]*,,' -e 's, [ ]*, ,g' -e 's,[ ]*$,,' <<-ENDECHO
  			$INCS
-@@ -235,7 +235,7 @@
- 		echo $INCS
+@@ -274,7 +274,7 @@ ENDECHO
+ 		echo "$INCS"
  		;;
  	--libdir)
 -		echo "${libdir}"
diff --git a/patches/ncurses-6.3/series b/patches/ncurses-6.4/series
similarity index 100%
rename from patches/ncurses-6.3/series
rename to patches/ncurses-6.4/series
diff --git a/rules/ncurses.make b/rules/ncurses.make
index 688160325..8d29ff936 100644
--- a/rules/ncurses.make
+++ b/rules/ncurses.make
@@ -13,16 +13,16 @@ PACKAGES-$(PTXCONF_NCURSES) += ncurses
 #
 # Paths and names
 #
-NCURSES_VERSION	:= 6.3
+NCURSES_VERSION	:= 6.4
 NCURSES_MAJOR	:= $(word 1,$(subst ., ,$(NCURSES_VERSION)))
-NCURSES_MD5	:= a2736befde5fee7d2b7eb45eb281cdbe
+NCURSES_MD5	:= 5a62487b5d4ac6b132fe2bf9f8fad29b
 NCURSES		:= ncurses-$(NCURSES_VERSION)
 NCURSES_SUFFIX	:= tar.gz
 NCURSES_URL	:= $(call ptx/mirror, GNU, ncurses/$(NCURSES).$(NCURSES_SUFFIX))
 NCURSES_SOURCE	:= $(SRCDIR)/$(NCURSES).$(NCURSES_SUFFIX)
 NCURSES_DIR	:= $(BUILDDIR)/$(NCURSES)
 NCURSES_LICENSE	:= MIT
-NCURSES_LICENSE_FILES := file://COPYING;md5=f852913c5d988a5f5a2f1df7ba7ee893
+NCURSES_LICENSE_FILES := file://COPYING;md5=afd8d0a6ec9c24941eb06bc5e4017918
 
 # ----------------------------------------------------------------------------
 # Prepare
@@ -70,12 +70,12 @@ NCURSES_AUTOCONF_SHARED = \
 	--$(call ptx/endis,PTXCONF_NCURSES_BIG_CORE)-big-core \
 	--disable-big-strings \
 	--$(call ptx/endis,PTXCONF_NCURSES_WIDE_CHAR)-widec \
+	--$(call ptx/endis,PTXCONF_NCURSES_WIDE_CHAR)-ext-colors \
 	$(GLOBAL_LARGE_FILE_OPTION) \
 	--enable-ext-funcs \
 	--enable-sp-funcs \
 	--disable-term-driver \
 	--enable-const \
-	--enable-ext-colors \
 	--disable-ext-mouse \
 	--disable-ext-putwin \
 	--disable-no-padding \
-- 
2.34.1




^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [ptxdist] [APPLIED] ncurses: Version bump. 6.3 -> 6.4
  2023-01-02 19:18 [ptxdist] [PATCH] ncurses: Version bump. 6.3 -> 6.4 Christian Melki
@ 2023-01-06 16:01 ` Michael Olbrich
  0 siblings, 0 replies; 2+ messages in thread
From: Michael Olbrich @ 2023-01-06 16:01 UTC (permalink / raw)
  To: ptxdist; +Cc: Christian Melki

Thanks, applied as abcb87941bad21706d1c6f4a1c6b92a01514c460.

Michael

[sent from post-receive hook]

On Fri, 06 Jan 2023 17:01:24 +0100, Christian Melki <christian.melki@t2data.com> wrote:
> Mostly a bugfix release.
> https://lists.gnu.org/archive/html/info-gnu/2022-12/msg00010.html
> Fixes CVE-2022-29458.
> 
> A side note. The .make could use a cleanup of the options.
> Maybe try to revisit this at a later date.
> 
> * License file copyright timestamp changed.
> * Make colors dependent on wide chars (configure warning).
> 
> Signed-off-by: Christian Melki <christian.melki@t2data.com>
> Message-Id: <20230102191830.88693-1-christian.melki@t2data.com>
> Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
> 
> diff --git a/patches/ncurses-6.3/0001-teach-ncurses-config-about-sysroot.patch b/patches/ncurses-6.4/0001-teach-ncurses-config-about-sysroot.patch
> similarity index 65%
> rename from patches/ncurses-6.3/0001-teach-ncurses-config-about-sysroot.patch
> rename to patches/ncurses-6.4/0001-teach-ncurses-config-about-sysroot.patch
> index 707b5a49c065..4a8ee40a994d 100644
> --- a/patches/ncurses-6.3/0001-teach-ncurses-config-about-sysroot.patch
> +++ b/patches/ncurses-6.4/0001-teach-ncurses-config-about-sysroot.patch
> @@ -7,13 +7,17 @@ This patch teaches ncurses-config about sysroot
>  Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
>  [ported from ncurses 6.1 to 6.2]
>  Signed-off-by: Robert Schwebel <rsc@pengutronix.de>
> +[ported from ncurses 6.3 to 6.4]
> +Signed-off-by: Christian Melki <christian.melki@t2data.com>
>  ---
> - misc/ncurses-config.in |   12 ++++++------
> - 1 files changed, 6 insertions(+), 6 deletions(-)
> + misc/ncurses-config.in | 6 +++---
> + 1 file changed, 3 insertions(+), 3 deletions(-)
>  
> ---- ncurses-6.2/misc/ncurses-config.in	2020-02-03 00:34:34.000000000 +0100
> -+++ ncurses-6.2-ptx/misc/ncurses-config.in	2020-07-25 23:28:48.123350040 +0200
> -@@ -149,10 +149,10 @@
> +diff --git a/misc/ncurses-config.in b/misc/ncurses-config.in
> +index c9f1cf809843..af37d68c022c 100644
> +--- a/misc/ncurses-config.in
> ++++ b/misc/ncurses-config.in
> +@@ -188,10 +188,10 @@ while [ $# -gt 0 ]; do
>   	--cflags)
>   		INCS="@PKG_CFLAGS@"
>   		if [ "x@WITH_OVERWRITE@" = xno ]; then
> @@ -26,8 +30,8 @@ Signed-off-by: Robert Schwebel <rsc@pengutronix.de>
>   		fi
>   		sed -e 's,^[ ]*,,' -e 's, [ ]*, ,g' -e 's,[ ]*$,,' <<-ENDECHO
>   			$INCS
> -@@ -235,7 +235,7 @@
> - 		echo $INCS
> +@@ -274,7 +274,7 @@ ENDECHO
> + 		echo "$INCS"
>   		;;
>   	--libdir)
>  -		echo "${libdir}"
> diff --git a/patches/ncurses-6.3/series b/patches/ncurses-6.4/series
> similarity index 100%
> rename from patches/ncurses-6.3/series
> rename to patches/ncurses-6.4/series
> diff --git a/rules/ncurses.make b/rules/ncurses.make
> index 6881603256ee..8d29ff9368af 100644
> --- a/rules/ncurses.make
> +++ b/rules/ncurses.make
> @@ -13,16 +13,16 @@ PACKAGES-$(PTXCONF_NCURSES) += ncurses
>  #
>  # Paths and names
>  #
> -NCURSES_VERSION	:= 6.3
> +NCURSES_VERSION	:= 6.4
>  NCURSES_MAJOR	:= $(word 1,$(subst ., ,$(NCURSES_VERSION)))
> -NCURSES_MD5	:= a2736befde5fee7d2b7eb45eb281cdbe
> +NCURSES_MD5	:= 5a62487b5d4ac6b132fe2bf9f8fad29b
>  NCURSES		:= ncurses-$(NCURSES_VERSION)
>  NCURSES_SUFFIX	:= tar.gz
>  NCURSES_URL	:= $(call ptx/mirror, GNU, ncurses/$(NCURSES).$(NCURSES_SUFFIX))
>  NCURSES_SOURCE	:= $(SRCDIR)/$(NCURSES).$(NCURSES_SUFFIX)
>  NCURSES_DIR	:= $(BUILDDIR)/$(NCURSES)
>  NCURSES_LICENSE	:= MIT
> -NCURSES_LICENSE_FILES := file://COPYING;md5=f852913c5d988a5f5a2f1df7ba7ee893
> +NCURSES_LICENSE_FILES := file://COPYING;md5=afd8d0a6ec9c24941eb06bc5e4017918
>  
>  # ----------------------------------------------------------------------------
>  # Prepare
> @@ -70,12 +70,12 @@ NCURSES_AUTOCONF_SHARED = \
>  	--$(call ptx/endis,PTXCONF_NCURSES_BIG_CORE)-big-core \
>  	--disable-big-strings \
>  	--$(call ptx/endis,PTXCONF_NCURSES_WIDE_CHAR)-widec \
> +	--$(call ptx/endis,PTXCONF_NCURSES_WIDE_CHAR)-ext-colors \
>  	$(GLOBAL_LARGE_FILE_OPTION) \
>  	--enable-ext-funcs \
>  	--enable-sp-funcs \
>  	--disable-term-driver \
>  	--enable-const \
> -	--enable-ext-colors \
>  	--disable-ext-mouse \
>  	--disable-ext-putwin \
>  	--disable-no-padding \



^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2023-01-06 16:02 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-01-02 19:18 [ptxdist] [PATCH] ncurses: Version bump. 6.3 -> 6.4 Christian Melki
2023-01-06 16:01 ` [ptxdist] [APPLIED] " Michael Olbrich

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox