summaryrefslogtreecommitdiff
path: root/recipes/ez-ipupdate/ez-ipupdate_3.0.10.bb
blob: 5a6482e7f0896d0c254f404fa9d0197cde6646fc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
# Angus Mackay's ez-ipupdate from www.ez-ipupdate.com
DESCRIPTION = "A client for automatically updating your EZ-IP.net, justlinux.com, dhs.org, dyndns.org, ods.org, gnudip.cheapnet.net, tzo.com, easydns.com dynamic hostname parameters. Includes daemon support that only sends updates if your IP address changes."
HOMEPAGE = "http://www.ez-ipupdate.com/"
SECTION = "console/network"
PRIORITY = "optional"
LICENSE = "GPL"
PR = "r2"

SRC_URI = "http://www.ez-ipupdate.com/dist/ez-ipupdate-${PV}.tar.gz \
	   file://configure.patch;apply=yes \
	   file://conffile.patch;apply=yes \
	   file://zoneedit.patch;apply=yes \
	   file://CVE-2004-0980.patch;apply=yes;striplevel=0 \
	   file://init \
	   file://ipupdate.conf \
	  "

INITSCRIPT_NAME = "ipupdate"
# No dependencies, so just go in at the standard level (20)
INITSCRIPT_PARAMS = "defaults"

# The configuration file must be editted...
CONFFILES_${PN} = "${sysconfdir}/ipupdate.conf"

inherit autotools update-rc.d

do_install_append() {
	install -d "${D}${sysconfdir}/init.d"
	install -c -m 755 ${WORKDIR}/init "${D}${sysconfdir}/init.d/ipupdate"
	install -c -m 644 ${WORKDIR}/ipupdate.conf "${D}${sysconfdir}/ipupdate.conf"
}

SRC_URI[md5sum] = "6505c9d18ef6b5ce13fe2a668eb5724b"
SRC_URI[sha256sum] = "f7ff9bf972139b303616018a6937aa4c6df4e93c935ffd004b30845e2ad41ea6"