source: packages/net/dudders/Makefile @ 22754

Last change on this file since 22754 was 22754, checked in by dingo, 6 years ago

[patchteam] dudders needs to be started after time synchronisation, because
if the time is not correct then the DNS update fails.

File size: 1.7 KB
Line 
1#
2# Copyright (C) 2010 OpenWrt.org
3#
4# This is free software, licensed under the GNU General Public License v2.
5# See /LICENSE for more information.
6#
7
8include $(TOPDIR)/rules.mk
9
10PKG_NAME:=dudders
11PKG_VERSION:=1.04
12PKG_RELEASE:=2
13
14PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2
15PKG_SOURCE_URL:=@SF/$(PKG_NAME)
16PKG_MD5SUM:=1d368a86f3c284e95d260a94767a8ded
17
18PKG_BUILD_DEPENDS:=+libopenssl +libgcrypt
19PKG_FIXUP:=libtool
20PKG_INSTALL:=1
21
22include $(INCLUDE_DIR)/package.mk
23
24define Package/dudders
25  SECTION:=net
26  CATEGORY:=Network
27  SUBMENU:=DNS
28  TITLE:=DNS Update SIG(0) client
29  MAINTAINER:=Dean Scarff <dos@scarff.id.au>
30  URL:=http://dudders.sourceforge.net/
31endef
32
33define 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.
38
39  You must have either libopenssl or libgcrypt installed to
40  use this package.
41endef
42
43define Package/dudders/conffiles
44/etc/config/dudders
45endef
46
47EXTRA_CFLAGS:= -DNDEBUG -std=gnu99
48
49CONFIGURE_ARGS+= \
50        --with-libgcrypt-prefix="$(STAGING_DIR)/usr"
51
52define 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 \
57                       $(1)/usr/lib/dudders/
58        $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/lib/dudders/crypt_openssl.so \
59                       $(1)/usr/lib/dudders/
60        $(INSTALL_DIR) $(1)/etc/config
61        $(INSTALL_CONF) ./files/dudders.conf $(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
64endef
65
66$(eval $(call BuildPackage,dudders))
Note: See TracBrowser for help on using the repository browser.