• R/O
  • HTTP
  • SSH
  • HTTPS

packages: Commit

Community maintained packages for ImmortalWrt.


Commit MetaInfo

Révision2d291763df4fc538699a2978800203aa4b14b4cd (tree)
l'heure2022-05-25 22:06:13
AuteurPeter van Dijk <peter.van.dijk@powe...>
CommiterTianling Shen

Message de Log

h2o: remove useless ruby dependency

h2o is the library dnsdist uses to offer DNS over HTTPS to clients. dnsdist is the only user of h2o in this tree.

While h2o can depend on Ruby (to build mruby support), this is disabled in the OpenWRT build of h2o. Hence, the Ruby dependency is unnecessary, and removing it saves a few megabytes of disk space.

Signed-off-by: Peter van Dijk <peter.van.dijk@powerdns.com>
(cherry picked from commit 6ffe955dccc1016031c3e2f60a5a37556645451a)

Change Summary

Modification

--- a/libs/h2o/Makefile
+++ b/libs/h2o/Makefile
@@ -2,7 +2,7 @@ include $(TOPDIR)/rules.mk
22
33 PKG_NAME:=h2o
44 PKG_VERSION:=2.2.6
5-PKG_RELEASE:=7
5+PKG_RELEASE:=8
66
77 PKG_SOURCE_URL:=https://codeload.github.com/h2o/h2o/tar.gz/v${PKG_VERSION}?
88 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
@@ -15,10 +15,9 @@ PKG_LICENSE_FILES:=LICENSE
1515 include $(INCLUDE_DIR)/package.mk
1616 include $(INCLUDE_DIR)/cmake.mk
1717
18-PKG_BUILD_DEPENDS:=ruby/host libwslay
19-PKG_BUILD_PARALLEL:=1
18+PKG_BUILD_DEPENDS:=libwslay
2019
21-CMAKE_OPTIONS:= \
20+CMAKE_OPTIONS += \
2221 -DBUILD_SHARED_LIBS=ON \
2322 -DWITH_MRUBY=OFF
2423
@@ -27,7 +26,7 @@ define Package/libh2o-evloop
2726 CATEGORY:=Libraries
2827 TITLE:=H2O Library compiled with its own event loop
2928 URL:=https://h2o.examp1e.net/
30- DEPENDS:=+libopenssl +zlib +libyaml +ruby
29+ DEPENDS:=+libopenssl +zlib +libyaml
3130 endef
3231
3332 define Package/libh2o
@@ -35,7 +34,7 @@ define Package/libh2o
3534 CATEGORY:=Libraries
3635 TITLE:=H2O Library compiled with libuv
3736 URL:=https://h2o.examp1e.net/
38- DEPENDS:=+libuv +libopenssl +zlib +libyaml +ruby
37+ DEPENDS:=+libuv +libopenssl +zlib +libyaml
3938 endef
4039
4140 define Build/InstallDev
Afficher sur ancien navigateur de dépôt.