Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH 1/1] package/sslh: bump to version 1.22c
@ 2021-12-30 22:52 Fabrice Fontaine
  2022-01-01 11:05 ` Yann E. MORIN
  0 siblings, 1 reply; 2+ messages in thread
From: Fabrice Fontaine @ 2021-12-30 22:52 UTC (permalink / raw)
  To: buildroot; +Cc: David Bachelart, Fabrice Fontaine

- pcre2 is mandatory since version 1.22b and
  https://github.com/yrutschle/sslh/commit/37d275670345bc177d4081d7d348c0943f743132
- Drop patch (not needed anymore)

https://github.com/yrutschle/sslh/blob/v1.22c/ChangeLog

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
---
 ...akefile-fix-static-linking-with-pcre.patch | 41 -------------------
 package/sslh/Config.in                        |  1 +
 package/sslh/sslh.hash                        |  2 +-
 package/sslh/sslh.mk                          | 10 +----
 4 files changed, 4 insertions(+), 50 deletions(-)
 delete mode 100644 package/sslh/0001-Makefile-fix-static-linking-with-pcre.patch

diff --git a/package/sslh/0001-Makefile-fix-static-linking-with-pcre.patch b/package/sslh/0001-Makefile-fix-static-linking-with-pcre.patch
deleted file mode 100644
index 5fc3296da5..0000000000
--- a/package/sslh/0001-Makefile-fix-static-linking-with-pcre.patch
+++ /dev/null
@@ -1,41 +0,0 @@
-From 0d9e004d324cc030c173de04c40db51a0f22bb5c Mon Sep 17 00:00:00 2001
-From: Fabrice Fontaine <fontaine.fabrice@gmail.com>
-Date: Thu, 15 Oct 2020 07:58:05 +0200
-Subject: [PATCH] Makefile: fix static linking with pcre
-
-Static build with pcre is broken since version 1.19b and
-https://github.com/yrutschle/sslh/commit/cb90cc97ae64a445242e517847c6e44b7003eda4
-because -lpcre has been replaced by -lpcreposix which will result in
-the following static build failure:
-
-/srv/storage/autobuild/run/instance-1/output-1/host/bin/mipsel-linux-gcc -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64  -Os   -static -static -o echosrv echosrv.o probe.o common.o tls.o  -lpcreposix -lconfig -lcap
-/srv/storage/autobuild/run/instance-1/output-1/host/opt/ext-toolchain/bin/../lib/gcc/mipsel-buildroot-linux-uclibc/8.3.0/../../../../mipsel-buildroot-linux-uclibc/bin/ld: /srv/storage/autobuild/run/instance-1/output-1/host/mipsel-buildroot-linux-uclibc/sysroot/usr/lib/libpcreposix.a(libpcreposix_la-pcreposix.o): in function `regfree':
-pcreposix.c:(.text+0x120): undefined reference to `pcre_free'
-
-So append -lpcre after -lpcreposix
-
-Fixes:
- - http://autobuild.buildroot.org/results/a601824fc0c205a6a940e0f9f079ce2c39840605
-
-Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
-[Upstream status: https://github.com/yrutschle/sslh/pull/280]
----
- Makefile | 2 +-
- 1 file changed, 1 insertion(+), 1 deletion(-)
-
-diff --git a/Makefile b/Makefile
-index 986cf1c..ecadc22 100644
---- a/Makefile
-+++ b/Makefile
-@@ -43,7 +43,7 @@ endif
- 
- ifneq ($(strip $(USELIBPCRE)),)
- 	CPPFLAGS+=-DLIBPCRE
--	LIBS:=$(LIBS) -lpcreposix
-+	LIBS:=$(LIBS) -lpcreposix -lpcre
- endif
- 
- ifneq ($(strip $(USELIBCONFIG)),)
--- 
-2.28.0
-
diff --git a/package/sslh/Config.in b/package/sslh/Config.in
index f6b46f3218..a1d5211851 100644
--- a/package/sslh/Config.in
+++ b/package/sslh/Config.in
@@ -2,6 +2,7 @@ config BR2_PACKAGE_SSLH
 	bool "sslh"
 	depends on BR2_USE_MMU # fork()
 	select BR2_PACKAGE_LIBCONFIG if BR2_PACKAGE_SYSTEMD
+	select BR2_PACKAGE_PCRE2
 	help
 	  Applicative protocol multiplexer
 
diff --git a/package/sslh/sslh.hash b/package/sslh/sslh.hash
index 00e5c12d77..ae678563da 100644
--- a/package/sslh/sslh.hash
+++ b/package/sslh/sslh.hash
@@ -1,3 +1,3 @@
 # Locally calculated
-sha256  3bfe783726f82c1f5a4be630ddc494ebb08dbb69980662cd7ffdeb7bc9e1e706  sslh-v1.21c.tar.gz
+sha256  8e3742d14edf4119350cfdc7bb96b89134d9218eb6d2a6e1f70891ca18a649b1  sslh-v1.22c.tar.gz
 sha256  8177f97513213526df2cf6184d8ff986c675afb514d4e68a404010521b880643  COPYING
diff --git a/package/sslh/sslh.mk b/package/sslh/sslh.mk
index 4bde143cd8..99fb6bf922 100644
--- a/package/sslh/sslh.mk
+++ b/package/sslh/sslh.mk
@@ -4,11 +4,12 @@
 #
 ################################################################################
 
-SSLH_VERSION = 1.21c
+SSLH_VERSION = 1.22c
 SSLH_SOURCE = sslh-v$(SSLH_VERSION).tar.gz
 SSLH_SITE = http://www.rutschle.net/tech/sslh
 SSLH_LICENSE = GPL-2.0+
 SSLH_LICENSE_FILES = COPYING
+SSLH_DEPENDENCIES = pcre2
 
 SSLH_MAKE_OPTS = $(TARGET_CONFIGURE_OPTS)
 
@@ -33,13 +34,6 @@ else
 SSLH_MAKE_OPTS += USELIBCONFIG=
 endif
 
-ifeq ($(BR2_PACKAGE_PCRE),y)
-SSLH_DEPENDENCIES += pcre
-SSLH_MAKE_OPTS += USELIBPCRE=1
-else
-SSLH_MAKE_OPTS += USELIBPCRE=
-endif
-
 ifeq ($(BR2_PACKAGE_SYSTEMD),y)
 SSLH_DEPENDENCIES += systemd
 SSLH_MAKE_OPTS += USESYSTEMD=1
-- 
2.33.0

_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

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

* Re: [Buildroot] [PATCH 1/1] package/sslh: bump to version 1.22c
  2021-12-30 22:52 [Buildroot] [PATCH 1/1] package/sslh: bump to version 1.22c Fabrice Fontaine
@ 2022-01-01 11:05 ` Yann E. MORIN
  0 siblings, 0 replies; 2+ messages in thread
From: Yann E. MORIN @ 2022-01-01 11:05 UTC (permalink / raw)
  To: Fabrice Fontaine; +Cc: David Bachelart, buildroot

Fabrice, All,

On 2021-12-30 23:52 +0100, Fabrice Fontaine spake thusly:
> - pcre2 is mandatory since version 1.22b and
>   https://github.com/yrutschle/sslh/commit/37d275670345bc177d4081d7d348c0943f743132
> - Drop patch (not needed anymore)
> 
> https://github.com/yrutschle/sslh/blob/v1.22c/ChangeLog
> 
> Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>

Applied to master, thanks.

Regards,
Yann E. MORIN.

> ---
>  ...akefile-fix-static-linking-with-pcre.patch | 41 -------------------
>  package/sslh/Config.in                        |  1 +
>  package/sslh/sslh.hash                        |  2 +-
>  package/sslh/sslh.mk                          | 10 +----
>  4 files changed, 4 insertions(+), 50 deletions(-)
>  delete mode 100644 package/sslh/0001-Makefile-fix-static-linking-with-pcre.patch
> 
> diff --git a/package/sslh/0001-Makefile-fix-static-linking-with-pcre.patch b/package/sslh/0001-Makefile-fix-static-linking-with-pcre.patch
> deleted file mode 100644
> index 5fc3296da5..0000000000
> --- a/package/sslh/0001-Makefile-fix-static-linking-with-pcre.patch
> +++ /dev/null
> @@ -1,41 +0,0 @@
> -From 0d9e004d324cc030c173de04c40db51a0f22bb5c Mon Sep 17 00:00:00 2001
> -From: Fabrice Fontaine <fontaine.fabrice@gmail.com>
> -Date: Thu, 15 Oct 2020 07:58:05 +0200
> -Subject: [PATCH] Makefile: fix static linking with pcre
> -
> -Static build with pcre is broken since version 1.19b and
> -https://github.com/yrutschle/sslh/commit/cb90cc97ae64a445242e517847c6e44b7003eda4
> -because -lpcre has been replaced by -lpcreposix which will result in
> -the following static build failure:
> -
> -/srv/storage/autobuild/run/instance-1/output-1/host/bin/mipsel-linux-gcc -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64  -Os   -static -static -o echosrv echosrv.o probe.o common.o tls.o  -lpcreposix -lconfig -lcap
> -/srv/storage/autobuild/run/instance-1/output-1/host/opt/ext-toolchain/bin/../lib/gcc/mipsel-buildroot-linux-uclibc/8.3.0/../../../../mipsel-buildroot-linux-uclibc/bin/ld: /srv/storage/autobuild/run/instance-1/output-1/host/mipsel-buildroot-linux-uclibc/sysroot/usr/lib/libpcreposix.a(libpcreposix_la-pcreposix.o): in function `regfree':
> -pcreposix.c:(.text+0x120): undefined reference to `pcre_free'
> -
> -So append -lpcre after -lpcreposix
> -
> -Fixes:
> - - http://autobuild.buildroot.org/results/a601824fc0c205a6a940e0f9f079ce2c39840605
> -
> -Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
> -[Upstream status: https://github.com/yrutschle/sslh/pull/280]
> ----
> - Makefile | 2 +-
> - 1 file changed, 1 insertion(+), 1 deletion(-)
> -
> -diff --git a/Makefile b/Makefile
> -index 986cf1c..ecadc22 100644
> ---- a/Makefile
> -+++ b/Makefile
> -@@ -43,7 +43,7 @@ endif
> - 
> - ifneq ($(strip $(USELIBPCRE)),)
> - 	CPPFLAGS+=-DLIBPCRE
> --	LIBS:=$(LIBS) -lpcreposix
> -+	LIBS:=$(LIBS) -lpcreposix -lpcre
> - endif
> - 
> - ifneq ($(strip $(USELIBCONFIG)),)
> --- 
> -2.28.0
> -
> diff --git a/package/sslh/Config.in b/package/sslh/Config.in
> index f6b46f3218..a1d5211851 100644
> --- a/package/sslh/Config.in
> +++ b/package/sslh/Config.in
> @@ -2,6 +2,7 @@ config BR2_PACKAGE_SSLH
>  	bool "sslh"
>  	depends on BR2_USE_MMU # fork()
>  	select BR2_PACKAGE_LIBCONFIG if BR2_PACKAGE_SYSTEMD
> +	select BR2_PACKAGE_PCRE2
>  	help
>  	  Applicative protocol multiplexer
>  
> diff --git a/package/sslh/sslh.hash b/package/sslh/sslh.hash
> index 00e5c12d77..ae678563da 100644
> --- a/package/sslh/sslh.hash
> +++ b/package/sslh/sslh.hash
> @@ -1,3 +1,3 @@
>  # Locally calculated
> -sha256  3bfe783726f82c1f5a4be630ddc494ebb08dbb69980662cd7ffdeb7bc9e1e706  sslh-v1.21c.tar.gz
> +sha256  8e3742d14edf4119350cfdc7bb96b89134d9218eb6d2a6e1f70891ca18a649b1  sslh-v1.22c.tar.gz
>  sha256  8177f97513213526df2cf6184d8ff986c675afb514d4e68a404010521b880643  COPYING
> diff --git a/package/sslh/sslh.mk b/package/sslh/sslh.mk
> index 4bde143cd8..99fb6bf922 100644
> --- a/package/sslh/sslh.mk
> +++ b/package/sslh/sslh.mk
> @@ -4,11 +4,12 @@
>  #
>  ################################################################################
>  
> -SSLH_VERSION = 1.21c
> +SSLH_VERSION = 1.22c
>  SSLH_SOURCE = sslh-v$(SSLH_VERSION).tar.gz
>  SSLH_SITE = http://www.rutschle.net/tech/sslh
>  SSLH_LICENSE = GPL-2.0+
>  SSLH_LICENSE_FILES = COPYING
> +SSLH_DEPENDENCIES = pcre2
>  
>  SSLH_MAKE_OPTS = $(TARGET_CONFIGURE_OPTS)
>  
> @@ -33,13 +34,6 @@ else
>  SSLH_MAKE_OPTS += USELIBCONFIG=
>  endif
>  
> -ifeq ($(BR2_PACKAGE_PCRE),y)
> -SSLH_DEPENDENCIES += pcre
> -SSLH_MAKE_OPTS += USELIBPCRE=1
> -else
> -SSLH_MAKE_OPTS += USELIBPCRE=
> -endif
> -
>  ifeq ($(BR2_PACKAGE_SYSTEMD),y)
>  SSLH_DEPENDENCIES += systemd
>  SSLH_MAKE_OPTS += USESYSTEMD=1
> -- 
> 2.33.0
> 
> _______________________________________________
> buildroot mailing list
> buildroot@buildroot.org
> https://lists.buildroot.org/mailman/listinfo/buildroot

-- 
.-----------------.--------------------.------------------.--------------------.
|  Yann E. MORIN  | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: |
| +33 662 376 056 | Software  Designer | \ / CAMPAIGN     |  ___               |
| +33 561 099 427 `------------.-------:  X  AGAINST      |  \e/  There is no  |
| http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL    |   v   conspiracy.  |
'------------------------------^-------^------------------^--------------------'
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

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

end of thread, other threads:[~2022-01-01 11:05 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-12-30 22:52 [Buildroot] [PATCH 1/1] package/sslh: bump to version 1.22c Fabrice Fontaine
2022-01-01 11:05 ` Yann E. MORIN

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