Skip to contentSkip to conversation

08/69: ddclient: new package

oe-commits Martin Jansa 1 participant 1 message Dec 11, 2017 2 messages not in the archive

lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): [email protected]

A message that is not in the archive (sent off-list or not yet received): [email protected]

#2 lore raw

Doesn't it still depend on meta-perl? As reported in:

http://lists.openembedded.org/pipermail/openembedded-devel/2017-February/111447.html
https://www.mail-archive.com/[email protected]/msg55906.html

Quoted 124 lines · On Mon, Dec 11, 2017 at 12:27 PM, <[email protected]> wrote:

This is an automated email from the git hooks/post-receive script.

armin_kuster pushed a commit to branch master-next in repository meta-openembedded.

commit 24bc1c00734b76838ac4e894e065982400971596
Author: Kinsella, Ray <[email protected]>
AuthorDate: Wed Nov 1 09:23:37 2017 -0400

ddclient: new package

Adding the package ddclient. DDClient updates Dynamic DNS servers with
an IP address.
Recipe is based on the original OE recipe found here.

http://cgit.openembedded.org/openembedded/tree/recipes/
ddclient/ddclient_3.6.3.bb

with modifications based on the recipe at:

https://github.com/cshoredaniel/meta-cshored/blob/master/recipes-
connectivity/ddclient/ddclient_3.8.3.bb

DDClient version has been updated to 3.8.3.

---
 .../recipes-daemons/ddclient/ddclient_3.8.3.bb     | 45
++++++++++++++++++++++
 .../recipes-daemons/ddclient/files/ip-up           |  4 ++
 .../recipes-daemons/ddclient/files/persistent      |  1 +
 3 files changed, 50 insertions(+)
meta-networking/recipes-daemons/ddclient/ddclient_3.8.3.bb new file +2 -0
new file mode 100644
index 0000000..f4ef536
@@ -0,0 +1,45 @@
+SECTION = "net/misc"
+DESCRIPTION = "Ddclient is a Perl client used to update dynamic DNS

entries for accounts on Dynamic DNS Network Services"

meta-networking/recipes-daemons/ddclient/ddclient_3.8.3.bb new file +27 -0
+HOMEPAGE = "http://ddclient.sourceforge.net/"
+LICENSE = "GPLv2"
+
+SRC_URI = "\
+    ${SOURCEFORGE_MIRROR}/ddclient/ddclient-${PV}.tar.bz2 \
+    file://ip-up"
+
+LIC_FILES_CHKSUM = "file://COPYING;md5=0636e73ff0215e8d672dc4c32c317bb3"
+
+RDEPENDS_${PN} = "\
+    perl-module-getopt-long \
+    perl-module-sys-hostname \
+    perl-module-io-socket \
+    perl-module-vars \
+    perl-module-overload \
+    perl-module-overloading \
+    perl-module-config \
+    perl-module-integer \
+    perl-module-exporter-heavy \
+    perl-module-symbol \
+    perl-module-selectsaver \
+    bash \
+    perl \
+    libio-socket-ssl-perl"
+
+do_install() {
+    install -d ${D}${sbindir} ${D}${sysconfdir}/ddclient

${D}${sysconfdir}/init.d ${D}${sysconfdir}/default/persistent
+ install -d ${D}${sysconfdir}/ppp/ip-up.d/ install -d
${D}${docdir}/ddclient

meta-networking/recipes-daemons/ddclient/ddclient_3.8.3.bb new file +2 -0
+    install -m 755 ${S}/ddclient ${D}${sbindir}
+    install ${S}/sample-etc_ddclient.conf ${D}${sysconfdir}/ddclient/

ddclient.conf
+ install -m 755 ${WORKDIR}/ip-up ${D}${sysconfdir}/ppp/ip-up.d/
ddclient
+ install -m 0644 ${WORKDIR}/persistent ${D}/${sysconfdir}/default/
persistent/50_ddclient
+ sed -e 's|/etc/ddclient.conf|/etc/ddclient/ddclient.conf|g'
${S}/sample-etc_rc.d_init.d_ddclient > ${S}/rc_init

meta-networking/recipes-daemons/ddclient/ddclient_3.8.3.bb new file +10 -0
+    install -m 755 ${S}/rc_init ${D}${sysconfdir}/init.d/ddclient
+    install ${S}/README* ${D}${docdir}/ddclient
+    install ${S}/COPY* ${D}${docdir}/ddclient
+    install ${S}/sample* ${D}${docdir}/ddclient
+}
+
+CONFFILES_${PN} = "${sysconfdir}/ddclient/ddclient.conf"
+
+SRC_URI[md5sum] = "3b426ae52d509e463b42eeb08fb89e0b"
+SRC_URI[sha256sum] = "d40e2f1fd3f4bff386d27bbdf4b864

5199b1995d27605a886b8c71e44d819591"

meta-networking/recipes-daemons/ddclient/files/ip-up new file +4 -0
new file mode 100644
index 0000000..4411db9
@@ -0,0 +1,4 @@
+#!/bin/sh
+
+logger -t ddclient $PPP_IFACE $PPP_LOCAL
+ddclient -daemon=0 -syslog -use=if -if=$PPP_IFACE >/dev/null 2>&1
meta-networking/recipes-daemons/ddclient/files/persistent new file +1 -1
new file mode 100644
index 0000000..b721272
@@ -0,0 +1 @@
+l root root 0644 /etc/ddclient.conf /var/persistent/etc/ddclient.conf
 
--

To stop receiving notification emails like this one, please contact the administrator of this repository.
--
_______________________________________________
Openembedded-commits mailing list [email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-commits