>> On a small system with only 4MByte Flash dudders with openssl as dependency 
>> is huge - libgcrypt
>> is sufficient.

> Shouldn't you also add a configure switch which explicitly disables
> openssl? Merely relying on it not being there will not work if other
> packages enable libopenssl.

sorry forgotten - is this patch ok?

cu Peter
--- Makefile.orig	2012-06-19 08:17:50.685829652 +0200
+++ Makefile	2012-06-19 08:24:04.220327463 +0200
@@ -15,7 +15,7 @@
 PKG_SOURCE_URL:=@SF/$(PKG_NAME)
 PKG_MD5SUM:=1d368a86f3c284e95d260a94767a8ded
 
-PKG_BUILD_DEPENDS:=+libopenssl +libgcrypt
+PKG_BUILD_DEPENDS:=+libgcrypt
 PKG_FIXUP:=autoreconf
 PKG_INSTALL:=1
 
@@ -25,7 +25,7 @@
   SECTION:=net
   CATEGORY:=Network
   SUBMENU:=IP Addresses and Names
-  DEPENDS:=+libopenssl +libgcrypt +libgpg-error
+  DEPENDS:=+libgcrypt +libgpg-error
   TITLE:=DNS Update SIG(0) client
   MAINTAINER:=Dean Scarff <d...@scarff.id.au>
   URL:=http://dudders.sourceforge.net/
@@ -48,7 +48,8 @@
 EXTRA_CFLAGS:= -DNDEBUG -std=gnu99
 
 CONFIGURE_ARGS+= \
-	--with-libgcrypt-prefix="$(STAGING_DIR)/usr"
+	--with-libgcrypt-prefix="$(STAGING_DIR)/usr" \
+	--with-dlcrypto=gcrypt
 
 define Package/dudders/install
 	$(INSTALL_DIR) $(1)/usr/bin
@@ -56,8 +57,6 @@
 	$(INSTALL_DIR) $(1)/usr/lib/dudders
 	$(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/lib/dudders/crypt_gcrypt.so \
 		       $(1)/usr/lib/dudders/
-	$(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/lib/dudders/crypt_openssl.so \
-		       $(1)/usr/lib/dudders/
 	$(INSTALL_DIR) $(1)/etc/config
 	$(INSTALL_CONF) ./files/dudders.config $(1)/etc/config/dudders
 	$(INSTALL_DIR) $(1)/etc/hotplug.d/iface
_______________________________________________
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/mailman/listinfo/openwrt-devel

Reply via email to