Skip to contentSkip to conversation

ddclient: new package

PATCH In review Ray Kinsella 3 participants 5 messages Feb 21, 2017 – Feb 23, 2017

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 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

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 ++
 2 files changed, 49 insertions(+)
 create mode 100644 meta-networking/recipes-daemons/ddclient/ddclient_3.8.3.bb
 create mode 100644 meta-networking/recipes-daemons/ddclient/files/ip-up
meta-networking/recipes-daemons/ddclient/ddclient_3.8.3.bb new file +45 -0
new file mode 100644
index 0000000..723eb67
@@ -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"
+HOMEPAGE = "http://ddclient.sourceforge.net/"
+LICENSE = "GPLv2"
+PR = "r4"
+
+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
+    install -d ${D}${sysconfdir}/ppp/ip-up.d/ install -d ${D}${docdir}/ddclient
+    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
+    sed -e 's|/etc/ddclient.conf|/etc/ddclient/ddclient.conf|g' ${S}/sample-etc_rc.d_init.d_ddclient > ${S}/rc_init
+    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] = "d40e2f1fd3f4bff386d27bbdf4b8645199b1995d27605a886b8c71e44d819591"
meta-networking/recipes-daemons/ddclient/files/ip-up new file +4 -0
new file mode 100644
index 0000000..52a44f8
@@ -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
\ No newline at end of file
Signature · 1 line
1.9.1
#1 lore raw
Quoted 21 lines · [[oe] [PATCH] [meta-networking] ddclient: new package] On 17.02.21 (Tue…

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

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 ++
 2 files changed, 49 insertions(+)
 create mode 100644 meta-networking/recipes-daemons/ddclient/ddclient_3.8.3.bb
 create mode 100644 meta-networking/recipes-daemons/ddclient/files/ip-up
meta-networking/recipes-daemons/ddclient/ddclient_3.8.3.bb new file +0 -0
new file mode 100644
index 0000000..723eb67

meta-networking/recipes-daemons/ddclient/ddclient_3.8.3.bb line 5

Quoted 5 lines
meta-networking/recipes-daemons/ddclient/ddclient_3.8.3.bb new file +5 -0
@@ -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"
+HOMEPAGE = "http://ddclient.sourceforge.net/"
+LICENSE = "GPLv2"
+PR = "r4"

We don't need explicit PRs anymore.

Quoted 11 lines
meta-networking/recipes-daemons/ddclient/ddclient_3.8.3.bb new file +11 -0
+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 \

meta-networking/recipes-daemons/ddclient/ddclient_3.8.3.bb line 27

Quoted 10 lines
meta-networking/recipes-daemons/ddclient/ddclient_3.8.3.bb new file +10 -0
+    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"

I haven't looked at the download, but I did briefly read the SF documentation and it seems like maybe these would be appropriate as well:

do_configure[noexec] = "1"
do_compile[noexec] = "1"

Quoted 23 lines
meta-networking/recipes-daemons/ddclient/ddclient_3.8.3.bb new file +17 -0
+do_install() {
+    install -d ${D}${sbindir} ${D}${sysconfdir}/ddclient ${D}${sysconfdir}/init.d
+    install -d ${D}${sysconfdir}/ppp/ip-up.d/ install -d ${D}${docdir}/ddclient
+    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
+    sed -e 's|/etc/ddclient.conf|/etc/ddclient/ddclient.conf|g' ${S}/sample-etc_rc.d_init.d_ddclient > ${S}/rc_init
+    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] = "d40e2f1fd3f4bff386d27bbdf4b8645199b1995d27605a886b8c71e44d819591"
meta-networking/recipes-daemons/ddclient/files/ip-up new file +0 -0
new file mode 100644
index 0000000..52a44f8

meta-networking/recipes-daemons/ddclient/files/ip-up line 4

Quoted 5 lines
meta-networking/recipes-daemons/ddclient/files/ip-up new file +4 -0
@@ -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
\ No newline at end of file

That's odd. :-)

Anyway, I'll have a look at this in more detail when it loops through master-next.

Signature · 2 lines
-Joe MacDonald.
:wq
#2 lore raw
Quoted 44 lines · Joe MacDonald
Quoted 21 lines · [[oe] [PATCH] [meta-networking] ddclient: new package] On 17.02.21 (Tue…

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

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 ++
 2 files changed, 49 insertions(+)
 create mode 100644 meta-networking/recipes-daemons/ddclient/ddclient_3.8.3.bb
 create mode 100644 meta-networking/recipes-daemons/ddclient/files/ip-up
meta-networking/recipes-daemons/ddclient/ddclient_3.8.3.bb new file +0 -0
new file mode 100644
index 0000000..723eb67

meta-networking/recipes-daemons/ddclient/ddclient_3.8.3.bb line 5

Quoted 5 lines
meta-networking/recipes-daemons/ddclient/ddclient_3.8.3.bb new file +5 -0
@@ -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"
+HOMEPAGE = "http://ddclient.sourceforge.net/"
+LICENSE = "GPLv2"
+PR = "r4"

We don't need explicit PRs anymore.

Quoted 13 lines
meta-networking/recipes-daemons/ddclient/ddclient_3.8.3.bb new file +13 -0
+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 \
Quoted 8 lines

meta-networking/recipes-daemons/ddclient/ddclient_3.8.3.bb line 27

Quoted 8 lines
meta-networking/recipes-daemons/ddclient/ddclient_3.8.3.bb new file +8 -0
+    perl-module-config \
+    perl-module-integer \
+    perl-module-exporter-heavy \
+    perl-module-symbol \
+    perl-module-selectsaver \
+    bash \
+    perl \
+    libio-socket-ssl-perl"

I've added it to master-next, but now I'll drop it again, because it creates dependency on meta-perl and meta-networking doesn't depend on meta-perl (at least not yet - good luck with OEDAM plan to separate meta-perl, meta-python, meta-networking to separate layers).

ERROR: Nothing RPROVIDES 'libio-socket-ssl-perl' (but meta-oe/meta-networking/recipes-daemons/ddclient/ddclient_3.8.3.bb RDEPENDS on or otherwise requires it)

Quoted 51 lines

I haven't looked at the download, but I did briefly read the SF documentation and it seems like maybe these would be appropriate as well:

do_configure[noexec] = "1"
do_compile[noexec] = "1"

Quoted 23 lines
meta-networking/recipes-daemons/ddclient/ddclient_3.8.3.bb new file +17 -0
+do_install() {
+    install -d ${D}${sbindir} ${D}${sysconfdir}/ddclient ${D}${sysconfdir}/init.d
+    install -d ${D}${sysconfdir}/ppp/ip-up.d/ install -d ${D}${docdir}/ddclient
+    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
+    sed -e 's|/etc/ddclient.conf|/etc/ddclient/ddclient.conf|g' ${S}/sample-etc_rc.d_init.d_ddclient > ${S}/rc_init
+    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] = "d40e2f1fd3f4bff386d27bbdf4b8645199b1995d27605a886b8c71e44d819591"
meta-networking/recipes-daemons/ddclient/files/ip-up new file +0 -0
new file mode 100644
index 0000000..52a44f8

meta-networking/recipes-daemons/ddclient/files/ip-up line 4

Quoted 5 lines
meta-networking/recipes-daemons/ddclient/files/ip-up new file +4 -0
@@ -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
\ No newline at end of file

That's odd. :-)

Anyway, I'll have a look at this in more detail when it loops through master-next.

Signature · 10 lines
-Joe MacDonald.
:wq



-- 
_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-devel
Signature · 1 line
Martin 'JaMa' Jansa     jabber: [email protected]
#3 lore raw

inline

Quoted 6 lines · Martin Jansa

On Tue, Feb 21, 2017 at 12:22:37PM -0500, Joe MacDonald wrote:

I've added it to master-next, but now I'll drop it again, because it creates dependency on meta-perl and meta-networking doesn't depend on meta-perl (at least not yet - good luck with OEDAM plan to separate meta-perl, meta-python, meta-networking to separate layers).

ok then - your saying that meta-networking isn't the right home for it. meta-perl doesn't look right either as it is not a perl extension. any advice as to where it belongs?

Quoted 2 lines

ERROR: Nothing RPROVIDES 'libio-socket-ssl-perl' (but meta-oe/meta-networking/recipes-daemons/ddclient/ddclient_3.8.3.bb RDEPENDS on or otherwise requires it)

did you get a build error?

Quoted 28 lines
Quoted 28 lines

I haven't looked at the download, but I did briefly read the SF documentation and it seems like maybe these would be appropriate as well:

do_configure[noexec] = "1"
do_compile[noexec] = "1"

Quoted 22 lines
meta-networking/recipes-daemons/ddclient/ddclient_3.8.3.bb new file +17 -0
+do_install() {
+    install -d ${D}${sbindir} ${D}${sysconfdir}/ddclient ${D}${sysconfdir}/init.d
+    install -d ${D}${sysconfdir}/ppp/ip-up.d/ install -d ${D}${docdir}/ddclient
+    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
+    sed -e 's|/etc/ddclient.conf|/etc/ddclient/ddclient.conf|g' ${S}/sample-etc_rc.d_init.d_ddclient > ${S}/rc_init
+    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] = "d40e2f1fd3f4bff386d27bbdf4b8645199b1995d27605a886b8c71e44d819591"
meta-networking/recipes-daemons/ddclient/files/ip-up new file +0 -0
new file mode 100644
index 0000000..52a44f8
Quoted 8 lines
Quoted 8 lines

meta-networking/recipes-daemons/ddclient/files/ip-up line 4

Quoted 6 lines
meta-networking/recipes-daemons/ddclient/files/ip-up new file +4 -0
@@ -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
\ No newline at end of file

That's odd. :-)

I will take a look

Quoted 16 lines
Quoted 14 lines

Anyway, I'll have a look at this in more detail when it loops through master-next.

--
-Joe MacDonald.
:wq

--
_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-devel

#4 lore raw
In reply to Joe MacDonald
Quoted 17 lines · Joe MacDonald
Quoted 15 lines · [[oe] [PATCH] [meta-networking] ddclient: new package] On 17.02.21 (Tue…

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

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 ++
 2 files changed, 49 insertions(+)
 create mode 100644 meta-networking/recipes-daemons/ddclient/ddclient_3.8.3.bb
 create mode 100644 meta-networking/recipes-daemons/ddclient/files/ip-up
Quoted 13 lines

meta-networking/recipes-daemons/ddclient/ddclient_3.8.3.bb line 5

Quoted 11 lines
meta-networking/recipes-daemons/ddclient/ddclient_3.8.3.bb new file +5 -0
new file mode 100644
index 0000000..723eb67
@@ -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"
+HOMEPAGE = "http://ddclient.sourceforge.net/"
+LICENSE = "GPLv2"
+PR = "r4"

We don't need explicit PRs anymore.

ACK - will fix.

Quoted 26 lines
Quoted 12 lines
meta-networking/recipes-daemons/ddclient/ddclient_3.8.3.bb new file +11 -0
+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 \

meta-networking/recipes-daemons/ddclient/ddclient_3.8.3.bb line 27

Quoted 10 lines
meta-networking/recipes-daemons/ddclient/ddclient_3.8.3.bb new file +10 -0
+    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"

I haven't looked at the download, but I did briefly read the SF documentation and it seems like maybe these would be appropriate as well:

Quoted 2 lines

do_configure[noexec] = "1"
do_compile[noexec] = "1"

yup - you are correct, I will add these.

Quoted 35 lines
Quoted 24 lines
meta-networking/recipes-daemons/ddclient/ddclient_3.8.3.bb new file +17 -0
+do_install() {
+    install -d ${D}${sbindir} ${D}${sysconfdir}/ddclient ${D}${sysconfdir}/init.d
+    install -d ${D}${sysconfdir}/ppp/ip-up.d/ install -d ${D}${docdir}/ddclient
+    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
+    sed -e 's|/etc/ddclient.conf|/etc/ddclient/ddclient.conf|g' ${S}/sample-etc_rc.d_init.d_ddclient > ${S}/rc_init
+    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] = "d40e2f1fd3f4bff386d27bbdf4b8645199b1995d27605a886b8c71e44d819591"
meta-networking/recipes-daemons/ddclient/files/ip-up new file +0 -0
new file mode 100644
index 0000000..52a44f8

meta-networking/recipes-daemons/ddclient/files/ip-up line 4

Quoted 5 lines
meta-networking/recipes-daemons/ddclient/files/ip-up new file +4 -0
@@ -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
\ No newline at end of file

That's odd. :-)

Anyway, I'll have a look at this in more detail when it loops through master-next.