Quellcode durchsuchen

package/hiawatha: remove package

We wanted to update hiawatha from 11.2 to the latest version 11.6, but
since its version 11.5, building with -DENABLE_TLS=OFF is broken. The
upstream project is also kind of dead/weird:

- The Gitlab repo at https://gitlab.com/hsleisink/hiawatha does not
  have real commit history, just one commit per release

- There is no bug tracker for the project, nor any mailing list to
  contact the author and report a bug

- The upstream website at https://hiawatha.leisink.net/support states
  "Due to lack of interest in this project, I no longer actively
  support and promote Hiawatha. I still use Hiawatha a lot myself, so
  development will continue, but likely very slow. New versions will
  still be released via this website.

Since I was the one who introduced this package, and nobody else seems
to use it, let's drop it.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
Signed-off-by: Julien Olivain <ju.o@free.fr>
Thomas Petazzoni vor 7 Monaten
Ursprung
Commit
61a0d5cb21
6 geänderte Dateien mit 8 neuen und 103 gelöschten Zeilen
  1. 8 0
      Config.in.legacy
  2. 0 1
      DEVELOPERS
  3. 0 1
      package/Config.in
  4. 0 37
      package/hiawatha/Config.in
  5. 0 3
      package/hiawatha/hiawatha.hash
  6. 0 61
      package/hiawatha/hiawatha.mk

+ 8 - 0
Config.in.legacy

@@ -146,6 +146,14 @@ endif
 
 comment "Legacy options removed in 2025.02"
 
+config BR2_PACKAGE_HIAWATHA
+	bool "hiwatha has been removed"
+	select BR2_LEGACY
+	help
+	  This package is no longer maintained upstream, has no bug
+	  tracker, and the latest versions cause build
+	  failures. Therefore, it has been removed.
+
 config BR2_PACKAGE_MONGODB
 	bool "mongodb has been removed"
 	select BR2_LEGACY

+ 0 - 1
DEVELOPERS

@@ -3149,7 +3149,6 @@ F:	package/genromfs/
 F:	package/getent/
 F:	package/gnu-efi/
 F:	package/heirloom-mailx/
-F:	package/hiawatha/
 F:	package/igh-ethercat/
 F:	package/intltool/
 F:	package/jh71xx-tools/

+ 0 - 1
package/Config.in

@@ -2488,7 +2488,6 @@ endif
 	source "package/gutenprint/Config.in"
 	source "package/hans/Config.in"
 	source "package/haproxy/Config.in"
-	source "package/hiawatha/Config.in"
 	source "package/hostapd/Config.in"
 	source "package/hplip/Config.in"
 	source "package/htpdate/Config.in"

+ 0 - 37
package/hiawatha/Config.in

@@ -1,37 +0,0 @@
-comment "hiawatha needs a toolchain w/ threads, dynamic library"
-	depends on BR2_USE_MMU
-	depends on BR2_TOOLCHAIN_HAS_SYNC_4
-	depends on !BR2_TOOLCHAIN_HAS_THREADS || BR2_STATIC_LIBS
-
-config BR2_PACKAGE_HIAWATHA
-	bool "hiawatha"
-	# needs fork()
-	depends on BR2_USE_MMU
-	depends on BR2_TOOLCHAIN_HAS_SYNC_4 # __sync_*_4 intrisics
-	depends on BR2_TOOLCHAIN_HAS_THREADS
-	depends on !BR2_STATIC_LIBS
-	select BR2_PACKAGE_LIBXCRYPT if BR2_TOOLCHAIN_USES_GLIBC
-	select BR2_PACKAGE_ZLIB
-	help
-	  Hiawatha is a webserver for Unix and has been built with
-	  security in mind. This resulted in a highly secure
-	  webserver, in both code and features.
-
-	  This webserver runs on Linux, BSD, MacOS X and
-	  Windows. Although it can run any kind of CGI / FastCGI
-	  application, it has been optimized for usage with PHP. Most
-	  well known PHP frameworks and CMS applications have been
-	  tested with Hiawatha and ran without a problem. Hiawatha
-	  supports many web and HTTP features such as CGI/FastCGI,
-	  HTTP authentication, virtual host support, request
-	  pipelining, keep alive connections, URL rewriting and many
-	  more.
-
-	  https://hiawatha.leisink.net/
-
-if BR2_PACKAGE_HIAWATHA
-
-config BR2_PACKAGE_HIAWATHA_SSL
-	bool "hiawatha TLS support"
-
-endif

+ 0 - 3
package/hiawatha/hiawatha.hash

@@ -1,3 +0,0 @@
-# Locally calculated
-sha256  99c64f76927f93469f062ab76b74eb79a397ea4be12da86bf746b2bb57cf1bc5  hiawatha-11.2.tar.gz
-sha256  ab15fd526bd8dd18a9e77ebc139656bf4d33e97fc7238cd11bf60e2b9b8666c6  LICENSE

+ 0 - 61
package/hiawatha/hiawatha.mk

@@ -1,61 +0,0 @@
-################################################################################
-#
-# hiawatha
-#
-################################################################################
-
-HIAWATHA_VERSION = 11.2
-HIAWATHA_SITE = https://hiawatha.leisink.net/files
-HIAWATHA_DEPENDENCIES = zlib
-HIAWATHA_LICENSE = GPL-2.0
-HIAWATHA_LICENSE_FILES = LICENSE
-HIAWATHA_CPE_ID_VENDOR = hiawatha-webserver
-
-# Disable system mbedtls as hiawatha needs mbedtls 3.x
-HIAWATHA_CONF_OPTS = \
-	-DINSTALL_MBEDTLS_HEADERS=OFF \
-	-DUSE_SYSTEM_MBEDTLS=OFF \
-	-DCMAKE_C_FLAGS="$(TARGET_CFLAGS) -std=c99" \
-	-DENABLE_TOOLKIT=OFF \
-	-DCONFIG_DIR=/etc/hiawatha \
-	-DLOG_DIR=/var/log \
-	-DPID_DIR=/var/run \
-	-DWEBROOT_DIR=/var/www/hiawatha \
-	-DWORK_DIR=/var/lib/hiawatha
-
-define HIAWATHA_MBEDTLS_DISABLE_ASM
-	$(SED) '/^#define MBEDTLS_AESNI_C/d' \
-		$(@D)/mbedtls/include/mbedtls/mbedtls_config.h
-	$(SED) '/^#define MBEDTLS_HAVE_ASM/d' \
-		$(@D)/mbedtls/include/mbedtls/mbedtls_config.h
-	$(SED) '/^#define MBEDTLS_PADLOCK_C/d' \
-		$(@D)/mbedtls/include/mbedtls/mbedtls_config.h
-endef
-
-# ARM in thumb mode breaks debugging with asm optimizations
-# Microblaze asm optimizations are broken in general
-# MIPS R6 asm is not yet supported
-ifeq ($(BR2_ENABLE_DEBUG)$(BR2_ARM_INSTRUCTIONS_THUMB)$(BR2_ARM_INSTRUCTIONS_THUMB2),yy)
-HIAWATHA_POST_CONFIGURE_HOOKS += HIAWATHA_MBEDTLS_DISABLE_ASM
-else ifeq ($(BR2_microblaze)$(BR2_MIPS_CPU_MIPS32R6)$(BR2_MIPS_CPU_MIPS64R6),y)
-HIAWATHA_POST_CONFIGURE_HOOKS += HIAWATHA_MBEDTLS_DISABLE_ASM
-endif
-
-ifeq ($(BR2_PACKAGE_HIAWATHA_SSL),y)
-HIAWATHA_CONF_OPTS += -DENABLE_TLS=ON
-else
-HIAWATHA_CONF_OPTS += -DENABLE_TLS=OFF
-endif
-
-ifeq ($(BR2_PACKAGE_LIBXCRYPT),y)
-HIAWATHA_DEPENDENCIES += libxcrypt
-endif
-
-ifeq ($(BR2_PACKAGE_LIBXSLT),y)
-HIAWATHA_CONF_OPTS += -DENABLE_XSLT=ON
-HIAWATHA_DEPENDENCIES += libxslt
-else
-HIAWATHA_CONF_OPTS += -DENABLE_XSLT=OFF
-endif
-
-$(eval $(cmake-package))