All of lore.kernel.org
 help / color / mirror / Atom feed
From: Martin Jansa <martin.jansa@gmail.com>
To: Joe MacDonald <Joe_MacDonald@mentor.com>
Cc: openembedded-devel@lists.openembedded.org
Subject: Re: [PATCH] [meta-networking] ddclient: new package
Date: Wed, 22 Feb 2017 14:02:08 +0100	[thread overview]
Message-ID: <20170222130208.GB3283@jama> (raw)
In-Reply-To: <20170221172236.GT8436@mentor.com>

[-- Attachment #1: Type: text/plain, Size: 4716 bytes --]

On Tue, Feb 21, 2017 at 12:22:37PM -0500, Joe MacDonald wrote:
> [[oe] [PATCH]  [meta-networking] ddclient: new package] On 17.02.21 (Tue 17:13) Ray Kinsella wrote:
> 
> > 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.
> > 
> > Signed-off-by: Ray Kinsella <ray.kinsella@intel.com>
> > ---
> >  .../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
> > 
> > diff --git a/meta-networking/recipes-daemons/ddclient/ddclient_3.8.3.bb b/meta-networking/recipes-daemons/ddclient/ddclient_3.8.3.bb
> > new file mode 100644
> > index 0000000..723eb67
> > --- /dev/null
> > +++ b/meta-networking/recipes-daemons/ddclient/ddclient_3.8.3.bb
> > @@ -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.
> 
> > +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"

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)

> 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"
> 
> > +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"
> > diff --git a/meta-networking/recipes-daemons/ddclient/files/ip-up b/meta-networking/recipes-daemons/ddclient/files/ip-up
> > new file mode 100644
> > index 0000000..52a44f8
> > --- /dev/null
> > +++ b/meta-networking/recipes-daemons/ddclient/files/ip-up
> > @@ -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.
> 
> -- 
> -Joe MacDonald.
> :wq



> -- 
> _______________________________________________
> Openembedded-devel mailing list
> Openembedded-devel@lists.openembedded.org
> http://lists.openembedded.org/mailman/listinfo/openembedded-devel


-- 
Martin 'JaMa' Jansa     jabber: Martin.Jansa@gmail.com

[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 201 bytes --]

  reply	other threads:[~2017-02-22 13:02 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-02-21 17:13 [PATCH] [meta-networking] ddclient: new package Ray Kinsella
2017-02-21 17:22 ` Joe MacDonald
2017-02-22 13:02   ` Martin Jansa [this message]
2017-02-23  2:00     ` Kinsella, Ray
2017-02-23  2:02   ` Kinsella, Ray

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20170222130208.GB3283@jama \
    --to=martin.jansa@gmail.com \
    --cc=Joe_MacDonald@mentor.com \
    --cc=openembedded-devel@lists.openembedded.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.