florian c926b187c1 [package] ddns-scripts: add https support to ddns-scripts
adds a "use_https" and "cacert" option to the ddns-scripts package.

when use_https is enabled, then curl is required to perform the update.

the cacert option can be set to either a single file containing a trust
signing authority certificate or a directory containing certificates
which has been prepared with the usual c_rehash method.

Signed-off-by: Matthew William Cox <matt@mattcox.ca>

git-svn-id: svn://svn.openwrt.org/openwrt/packages@25578 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-02-19 12:44:03 +00:00

42 lines
668 B
Makefile

include $(TOPDIR)/rules.mk
PKG_NAME:=ddns-scripts
PKG_VERSION:=1.0.0
PKG_RELEASE:=13
PKG_BUILD_DIR := $(BUILD_DIR)/$(PKG_NAME)
include $(INCLUDE_DIR)/package.mk
define Package/ddns-scripts
SECTION:=net
CATEGORY:=Network
TITLE:=Dynamic DNS Scripts
PKGARCH:=all
endef
define Package/ddns-scripts/description
A highly configurable set of scripts for doing
dynamic dns updates
endef
define Build/Prepare
endef
define Build/Configure
endef
define Build/Compile
endef
define Package/ddns-scripts/conffiles
/etc/config/ddns
endef
define Package/ddns-scripts/install
$(INSTALL_DIR) $(1)
$(CP) ./files/* $(1)/
endef
$(eval $(call BuildPackage,ddns-scripts))