• R/O
  • HTTP
  • SSH
  • HTTPS

packages: Commit

Community maintained packages for ImmortalWrt.


Commit MetaInfo

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

Message de Log

h2o: only install one copy of the .so

I noticed that the package contained 3 identical copies of the lib:

root@52170cbc2408:/# ls -ali /usr/lib/libh2o*

162653 -rwxr-xr-x 1 root root 348857 Apr 25 11:50 /usr/lib/libh2o-evloop.so
162660 -rwxr-xr-x 1 root root 348857 Apr 25 11:50 /usr/lib/libh2o-evloop.so.0.13
162661 -rwxr-xr-x 1 root root 348857 Apr 25 11:50 /usr/lib/libh2o-evloop.so.0.13.6

so this commit fixes that:

root@472ad3a8404e:/# ls -ali /usr/lib/libh2o*

289858 lrwxrwxrwx 1 root root 21 Apr 25 12:43 /usr/lib/libh2o-evloop.so -> libh2o-evloop.so.0.13
289859 lrwxrwxrwx 1 root root 23 Apr 25 12:43 /usr/lib/libh2o-evloop.so.0.13 -> libh2o-evloop.so.0.13.6
289860 -rw-r--r-- 1 root root 348857 Apr 25 12:41 /usr/lib/libh2o-evloop.so.0.1

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

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:=8
5+PKG_RELEASE:=9
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
@@ -47,12 +47,12 @@ endef
4747
4848 define Package/libh2o-evloop/install
4949 $(INSTALL_DIR) $(1)/usr/lib
50- $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/lib/libh2o-evloop.so* $(1)/usr/lib/
50+ $(CP) $(PKG_INSTALL_DIR)/usr/lib/libh2o-evloop.so* $(1)/usr/lib/
5151 endef
5252
5353 define Package/libh2o/install
5454 $(INSTALL_DIR) $(1)/usr/lib
55- $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/lib/libh2o.so* $(1)/usr/lib/
55+ $(CP) $(PKG_INSTALL_DIR)/usr/lib/libh2o.so* $(1)/usr/lib/
5656 endef
5757
5858 $(eval $(call BuildPackage,libh2o-evloop))
Afficher sur ancien navigateur de dépôt.