2 # Copyright (C) 2010-2011 OpenWrt.org
4 # This is free software, licensed under the GNU General Public License v2.
5 # See /LICENSE for more information.
8 include $(TOPDIR
)/rules.mk
14 PKG_SOURCE
:=$(PKG_NAME
)-$(PKG_VERSION
).
tar.bz2
15 PKG_SOURCE_URL
:=@SF
/$(PKG_NAME
)
16 PKG_MD5SUM
:=1d368a86f3c284e95d260a94767a8ded
18 PKG_BUILD_DEPENDS
:=+libopenssl
+libgcrypt
22 include $(INCLUDE_DIR
)/package.mk
24 define Package
/dudders
27 SUBMENU
:=IP Addresses and Names
28 TITLE
:=DNS Update SIG
(0) client
29 MAINTAINER
:=Dean Scarff
<dos@scarff.id.au
>
30 URL
:=http
://dudders.sourceforge.net
/
33 define Package
/dudders
/description
34 Dudders is a utility for updating DNS records. It points
35 a domain name to a given IP address
, using the RFC2136 DNS
36 UPDATE protocol and a SIG
(0) signature. It is designed with
37 embedded systems in mind.
39 You must have either libopenssl or libgcrypt installed to
43 define Package
/dudders
/conffiles
47 EXTRA_CFLAGS
:= -DNDEBUG
-std
=gnu99
50 --with-libgcrypt-prefix
="$(STAGING_DIR)/usr"
52 define Package
/dudders
/install
53 $(INSTALL_DIR
) $(1)/usr
/bin
54 $(INSTALL_BIN
) $(PKG_INSTALL_DIR
)/usr
/bin
/dudders
$(1)/usr
/bin
/
55 $(INSTALL_DIR
) $(1)/usr
/lib
/dudders
56 $(INSTALL_BIN
) $(PKG_INSTALL_DIR
)/usr
/lib
/dudders
/crypt_gcrypt.so \
58 $(INSTALL_BIN
) $(PKG_INSTALL_DIR
)/usr
/lib
/dudders
/crypt_openssl.so \
60 $(INSTALL_DIR
) $(1)/etc
/config
61 $(INSTALL_CONF
) .
/files
/dudders.config
$(1)/etc
/config
/dudders
62 $(INSTALL_DIR
) $(1)/etc
/hotplug.d
/iface
63 $(INSTALL_BIN
) .
/files
/dudders.hotplug
$(1)/etc
/hotplug.d
/iface
/50-dudders
66 $(eval
$(call BuildPackage
,dudders
))