Skip to contentSkip to conversation

package/dillo: bump version to 3.1.0

PATCH New Peter Seiderer via buildroot 1 participant 1 message May 13, 2024

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 package/dillo: bump version to 3.1.0

- bump version to 3.1.0 (for details see [1])
- change download URL to github
- change home page URL to github
- remove 0001-usr-local-include.patch
(no longer needed since upstream commit [2])
- remove 0002-Fix-openssl-detection.patch
(no longer applicable)
- remove 0003-Support-OpenSSL-1.1.0.patch (original from upstream, no longer applicable)
- remove 0004-fix-build-with-gcc-10.patch
(no longer applicable)
- adjust autreconf comment
- determine all autoconf options (with default values)

[1] https://github.com/dillo-browser/dillo/releases/tag/v3.1.0
[2] https://github.com/dillo-browser/dillo/commit/3ac33673869b6f1ae1a29a329e5fa5c100bdd562

---
 package/dillo/0001-usr-local-include.patch    |  27 ----
 .../dillo/0002-Fix-openssl-detection.patch    |  29 ----
 .../dillo/0003-Support-OpenSSL-1.1.0.patch    |  33 -----
 .../dillo/0004-fix-build-with-gcc-10.patch    | 124 ------------------
 package/dillo/Config.in                       |   2 +-
 package/dillo/dillo.hash                      |   2 +-
 package/dillo/dillo.mk                        |  23 +++-
 7 files changed, 19 insertions(+), 221 deletions(-)
 delete mode 100644 package/dillo/0001-usr-local-include.patch
 delete mode 100644 package/dillo/0002-Fix-openssl-detection.patch
 delete mode 100644 package/dillo/0003-Support-OpenSSL-1.1.0.patch
 delete mode 100644 package/dillo/0004-fix-build-with-gcc-10.patch
package/dillo/0001-usr-local-include.patch deleted +0 -27
deleted file mode 100644
index 0c3fed2bfa..0000000000
@@ -1,27 +0,0 @@
-Do not add (possibly poisoned) /usr/local/include and /usr/local/lib
-to gcc and ld search paths in configure.
-
-With BR2_COMPILER_PARANOID_UNSAFE_PATH enabled, poisoned paths result
-in hard errors, failing affected configure tests.
-
-Signed-off-by: Alex Suykov <[email protected]>
-
---- a/configure.ac
-+++ b/configure.ac
-@@ -57,16 +57,6 @@
- AC_TYPE_INT32_T
- AC_TYPE_UINT32_T
- 
--dnl --------------------------------------
--dnl Check whether to add /usr/local or not
--dnl (this is somewhat a religious problem)
--dnl --------------------------------------
--dnl
--if test "`$CPP -v < /dev/null 2>&1 | grep '/usr/local/include' 2>&1`" = ""; then
--  CPPFLAGS="$CPPFLAGS -I/usr/local/include"
--  LDFLAGS="$LDFLAGS -L/usr/local/lib"
--fi
--
- dnl ------------------------------------
- dnl Check for socket libs (AIX, Solaris)
- dnl ------------------------------------
package/dillo/0002-Fix-openssl-detection.patch deleted +0 -29
deleted file mode 100644
index 6e5f1d021f..0000000000
@@ -1,29 +0,0 @@
-From 96dde9dedf806256cdc6cbf5cacbd5c8d74e6288 Mon Sep 17 00:00:00 2001
-From: Jonathan Kimmitt <[email protected]>
-Date: Thu, 9 Jan 2020 22:01:42 +0100
-Subject: [PATCH] Fix openssl detection
-
-SSL_library_init is now a define, use OPENSSL_init_ssl instead.
-
-Signed-off-by: Jonathan Kimmitt <[email protected]>
-Signed-off-by: Peter Seiderer <[email protected]>
----
- configure.ac | 2 +-
- 1 file changed, 1 insertion(+), 1 deletion(-)
-
-diff --git a/configure.ac b/configure.ac
-index 66b5e9f..206fd53 100644
---- a/configure.ac
-+++ b/configure.ac
-@@ -276,7 +276,7 @@ if test "x$enable_ssl" = "xyes"; then
- 
-   if test "x$ssl_ok" = "xyes"; then
-     old_libs="$LIBS"
--    AC_CHECK_LIB(ssl, SSL_library_init, ssl_ok=yes, ssl_ok=no, -lcrypto)
-+    AC_CHECK_LIB(ssl, OPENSSL_init_ssl, ssl_ok=yes, ssl_ok=no, -lcrypto)
-     LIBS="$old_libs"
-   fi
- 
--- 
-2.24.1
-
package/dillo/0003-Support-OpenSSL-1.1.0.patch deleted +0 -33
deleted file mode 100644
index 87b9d0dce3..0000000000
@@ -1,33 +0,0 @@
-From ff44d8b2d5211a502afdb3e612dae0e8133b5124 Mon Sep 17 00:00:00 2001
-From: Johannes Hofmann <[email protected]>
-Date: Thu, 9 Jan 2020 22:07:15 +0100
-Subject: [PATCH] Support OpenSSL 1.1.0
-
-taken-from: pkgsrc (Ryo ONODERA)
-submitted-by: Jun Ebihara <[email protected]>
-
-Upstream: https://hg.dillo.org/dillo/rev/b171b8610400
-Signed-off-by: Peter Seiderer <[email protected]>
----
- dpi/https.c | 4 ++++
- 1 file changed, 4 insertions(+)
-
-diff --git a/dpi/https.c b/dpi/https.c
-index 766b3af..025cfc4 100644
---- a/dpi/https.c
-+++ b/dpi/https.c
-@@ -476,7 +476,11 @@ static int handle_certificate_problem(SSL * ssl_connection)
-       case X509_V_ERR_DEPTH_ZERO_SELF_SIGNED_CERT:
-          /*Either self signed and untrusted*/
-          /*Extract CN from certificate name information*/
-+#if OPENSSL_VERSION_NUMBER < 0x10100000L
-          if ((cn = strstr(remote_cert->name, "/CN=")) == NULL) {
-+#else
-+         if ((cn = strstr(X509_get_subject_name(remote_cert), "/CN=")) == NULL) {
-+#endif
-             strcpy(buf, "(no CN given)");
-          } else {
-             char *cn_end;
--- 
-2.24.1
-
package/dillo/0004-fix-build-with-gcc-10.patch deleted +0 -124

124 lines not on this page · raw message

package/dillo/Config.in +1 -1
index d06f2d1f51..3aa831ae02 100644
@@ -12,7 +12,7 @@ config BR2_PACKAGE_DILLO
 
 	  Enable openssl package to gain https support.
 
-	  http://www.dillo.org
+	  https://github.com/dillo-browser/dillo
 
 comment "dillo needs a toolchain w/ C++"
 	depends on BR2_PACKAGE_XORG7 && BR2_USE_MMU
package/dillo/dillo.hash +1 -1
index fa46702a63..0a524530e7 100644
@@ -1,3 +1,3 @@
 # Locally calculated
-sha256  db1be16c1c5842ebe07b419aa7c6ef11a45603a75df2877f99635f4f8345148b  dillo-3.0.5.tar.bz2
+sha256  3aa2a686648b383417a0c1f575c3d5431d6a2d53f35c2e11bf579cb25b2b45e7  dillo-3.1.0.tar.gz
 sha256  8ceb4b9ee5adedde47b31e975c1d90c73ad27b6b165a1dcd80c7c545eb65b903  COPYING
package/dillo/dillo.mk +17 -6
index a6885f5c14..52708ed8ab 100644
@@ -4,22 +4,33 @@
 #
 ################################################################################
 
-DILLO_VERSION = 3.0.5
-DILLO_SOURCE = dillo-$(DILLO_VERSION).tar.bz2
-DILLO_SITE = http://www.dillo.org/download
+DILLO_VERSION = 3.1.0
+DILLO_SITE = $(call github,dillo-browser,dillo,v$(DILLO_VERSION))
 DILLO_LICENSE = GPL-3.0+
 DILLO_LICENSE_FILES = COPYING
-# configure.ac gets patched, so autoreconf is necessary
+# no configure file, so autoreconf is necessary
 DILLO_AUTORECONF = YES
 DILLO_DEPENDENCIES = fltk zlib \
 	$(if $(BR2_PACKAGE_LIBICONV),libiconv)
 DILLO_CONF_ENV = ac_cv_path_FLTK_CONFIG=$(STAGING_DIR)/usr/bin/fltk-config
 
+DILLO_CONF_OPTS = \
+	--disable-efence \
+	--disable-mbedtls \
+	--disable-gprof \
+	--disable-insure \
+	--enable-ipv6 \
+	--enable-cookies \
+	--enable-gif \
+	--disable-rtfl \
+	--enable-xembed \
+	--disable-html-tests
+
 ifeq ($(BR2_PACKAGE_OPENSSL),y)
-DILLO_CONF_OPTS += --enable-ssl
+DILLO_CONF_OPTS += --enable-tls --enable-openssl
 DILLO_DEPENDENCIES += openssl
 else
-DILLO_CONF_OPTS += --disable-ssl
+DILLO_CONF_OPTS += --disable-tls --disable-openssl
 endif
 
 ifeq ($(BR2_PACKAGE_LIBPNG),y)
Signature · 6 lines
2.45.0

_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot