Browse Source

libmicrohttpd: Revert to Named no-ssl Version

Maintainer: Alexander Couzens lynxis@fe80.eu

Compile Tested: Snapshot SDK

Run Tested: target - ath79, hardware - gl-ar300m16, package - nodogsplash v3.2.1 and nodogsplash v3.3.1-beta, Openwrt Snapshot.

Description: Fix for issue #8180 and resubmitted PR #8563 - Any package with a dependency on the non-ssl version of libmicrohttpd ends up with the ssl version along with libgcrypt, libgnutls, .. This fix reverts the no-ssl version name from libmicrohttpd back to libmicrohttpd-no-ssl as it was in previous versions.
The two package names will now be libmicrohttpd-no-ssl and libmicrohttpd-ssl.

Signed-off-by: Rob White <rob@blue-wave.net>
lilik-openwrt-22.03
Rob White 6 years ago
committed by GitHub
parent
commit
edec5b104e
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 6 additions and 3 deletions
  1. +6
    -3
      libs/libmicrohttpd/Makefile

+ 6
- 3
libs/libmicrohttpd/Makefile View File

@ -30,10 +30,12 @@ define Package/libmicrohttpd/default
URL:=http://www.gnu.org/software/libmicrohttpd/ URL:=http://www.gnu.org/software/libmicrohttpd/
endef endef
define Package/libmicrohttpd
define Package/libmicrohttpd-no-ssl
$(call Package/libmicrohttpd/default) $(call Package/libmicrohttpd/default)
VARIANT:=nossl VARIANT:=nossl
DEFAULT_VARIANT:=1
CONFLICTS:=libmicrohttpd-ssl CONFLICTS:=libmicrohttpd-ssl
PROVIDES:=libmicrohttpd
endef endef
define Package/libmicrohttpd-ssl define Package/libmicrohttpd-ssl
@ -41,6 +43,7 @@ $(call Package/libmicrohttpd/default)
TITLE+= with SSL support TITLE+= with SSL support
VARIANT:=ssl VARIANT:=ssl
DEPENDS:=+libgcrypt +libgnutls +libgpg-error DEPENDS:=+libgcrypt +libgnutls +libgpg-error
CONFLICTS:=libmicrohttpd-no-ssl
PROVIDES:=libmicrohttpd PROVIDES:=libmicrohttpd
endef endef
@ -76,7 +79,7 @@ define Build/InstallDev
$(INSTALL_DATA) $(PKG_INSTALL_DIR)/usr/lib/pkgconfig/libmicrohttpd.pc $(1)/usr/lib/pkgconfig/ $(INSTALL_DATA) $(PKG_INSTALL_DIR)/usr/lib/pkgconfig/libmicrohttpd.pc $(1)/usr/lib/pkgconfig/
endef endef
define Package/libmicrohttpd/install
define Package/libmicrohttpd-no-ssl/install
$(INSTALL_DIR) $(1)/usr/lib/ $(INSTALL_DIR) $(1)/usr/lib/
$(CP) $(PKG_INSTALL_DIR)/usr/lib/libmicrohttpd.so* $(1)/usr/lib/ $(CP) $(PKG_INSTALL_DIR)/usr/lib/libmicrohttpd.so* $(1)/usr/lib/
endef endef
@ -86,5 +89,5 @@ define Package/libmicrohttpd-ssl/install
$(CP) $(PKG_INSTALL_DIR)/usr/lib/libmicrohttpd.so* $(1)/usr/lib/ $(CP) $(PKG_INSTALL_DIR)/usr/lib/libmicrohttpd.so* $(1)/usr/lib/
endef endef
$(eval $(call BuildPackage,libmicrohttpd))
$(eval $(call BuildPackage,libmicrohttpd-no-ssl))
$(eval $(call BuildPackage,libmicrohttpd-ssl)) $(eval $(call BuildPackage,libmicrohttpd-ssl))

Loading…
Cancel
Save