ez-ipzpdate.bb: Address flaw in syslog handling
[openembedded.git] / recipes / ez-ipupdate / ez-ipupdate_3.0.10.bb
1 # Angus Mackay's ez-ipupdate from www.ez-ipupdate.com
2 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."
3 HOMEPAGE = "http://www.ez-ipupdate.com/"
4 SECTION = "console/network"
5 PRIORITY = "optional"
6 LICENSE = "GPL"
7 PR = "r2"
8
9 SRC_URI = "http://www.ez-ipupdate.com/dist/ez-ipupdate-${PV}.tar.gz \
10            file://configure.patch;patch=1 \
11            file://conffile.patch;patch=1 \
12            file://zoneedit.patch;patch=1 \
13            file://CVE-2004-0980.patch;patch=1;pnum=0 \
14            file://init \
15            file://ipupdate.conf \
16           "
17
18 INITSCRIPT_NAME = "ipupdate"
19 # No dependencies, so just go in at the standard level (20)
20 INITSCRIPT_PARAMS = "defaults"
21
22 # The configuration file must be editted...
23 CONFFILES_${PN} = "${sysconfdir}/ipupdate.conf"
24
25 inherit autotools update-rc.d
26
27 do_install_append() {
28         install -d "${D}${sysconfdir}/init.d"
29         install -c -m 755 ${WORKDIR}/init "${D}${sysconfdir}/init.d/ipupdate"
30         install -c -m 644 ${WORKDIR}/ipupdate.conf "${D}${sysconfdir}/ipupdate.conf"
31 }