* [PATCH] ntimed: add recipe to meta-networking (git version)
@ 2015-05-31 0:31 Christopher Larson
2015-06-01 18:05 ` Khem Raj
0 siblings, 1 reply; 5+ messages in thread
From: Christopher Larson @ 2015-05-31 0:31 UTC (permalink / raw)
To: openembedded-devel
Ntimed is an unreleased ntpd replacement being sponsored by the Linux
Foundation. Currently it only includes a work-in-progress client, but for
future use this recipe emits an ntimed-client package and an ntimed meta
package which will pull in client and server.
Signed-off-by: Christopher Larson <kergoth@gmail.com>
---
.../ntimed/ntimed/use-ldflags.patch | 16 +++++++++
.../recipes-support/ntimed/ntimed_git.bb | 41 ++++++++++++++++++++++
2 files changed, 57 insertions(+)
create mode 100644 meta-networking/recipes-support/ntimed/ntimed/use-ldflags.patch
create mode 100644 meta-networking/recipes-support/ntimed/ntimed_git.bb
diff --git a/meta-networking/recipes-support/ntimed/ntimed/use-ldflags.patch b/meta-networking/recipes-support/ntimed/ntimed/use-ldflags.patch
new file mode 100644
index 0000000..87a7778
--- /dev/null
+++ b/meta-networking/recipes-support/ntimed/ntimed/use-ldflags.patch
@@ -0,0 +1,16 @@
+Obey LDFLAGS.
+
+Signed-off-by: Christopher Larson <kergoth@gmail.com>
+Upstream-Status: Pending
+
+--- Ntimed.orig/configure 2015-05-30 11:57:59.927796993 -0700
++++ Ntimed/configure 2015-05-30 11:58:26.143948894 -0700
+@@ -142,7 +142,7 @@
+
+ echo
+ echo "ntimed-client: ${l}"
+- echo " \${CC} \${CFLAGS} -o ntimed-client ${l} -lm"
++ echo " \${CC} \${CFLAGS} -o ntimed-client ${l} \${LDFLAGS} -lm"
+ echo
+ echo "clean:"
+ echo " rm -f ${l} ntimed-client"
diff --git a/meta-networking/recipes-support/ntimed/ntimed_git.bb b/meta-networking/recipes-support/ntimed/ntimed_git.bb
new file mode 100644
index 0000000..0990541
--- /dev/null
+++ b/meta-networking/recipes-support/ntimed/ntimed_git.bb
@@ -0,0 +1,41 @@
+SUMMARY = "Network time synchronization software, NTPD replacement"
+DESCRIPTION = "This is a preview/early-access/alpha/buzzword-of-the-times \
+release of a new FOSS project written to gradually take over the world of \
+networked timekeeping."
+HOMEPAGE = "https://github.com/bsdphk/Ntimed"
+SECTION = "console/network"
+
+LICENSE = "BSD-2-Clause"
+LIC_FILES_CHKSUM = "file://main.c;startline=2;endline=24;md5=eda11d21005319bb76cbb6f911f0f66d"
+
+SRC_URI = "git://github.com/bsdphk/Ntimed \
+ file://use-ldflags.patch"
+
+PV = "0.0+git${SRCPV}"
+SRCREV = "db0abbb4c80f2ecef6bc5d9639bca5bea28532a2"
+
+S = "${WORKDIR}/git"
+
+EXTRA_OEMAKE = "\
+ 'CC=${CC}' \
+ 'CFLAGS=${CFLAGS}' \
+ 'LDFLAGS=${LDFLAGS}' \
+"
+
+do_configure () {
+ sh ./configure
+}
+
+do_compile () {
+ oe_runmake
+}
+
+do_install () {
+ install -D -m 0755 ntimed-client ${D}${sbindir}/ntimed-client
+}
+
+ALLOW_EMPTY_${PN} = "1"
+RDEPENDS_${PN} += "ntimed-client"
+
+PACKAGE_BEFORE_PN += "ntimed-client"
+FILES_ntimed-client = "${sbindir}/ntimed-client"
--
2.2.1
^ permalink raw reply related [flat|nested] 5+ messages in thread
* Re: [PATCH] ntimed: add recipe to meta-networking (git version)
2015-05-31 0:31 [PATCH] ntimed: add recipe to meta-networking (git version) Christopher Larson
@ 2015-06-01 18:05 ` Khem Raj
2015-06-09 2:38 ` Christopher Larson
0 siblings, 1 reply; 5+ messages in thread
From: Khem Raj @ 2015-06-01 18:05 UTC (permalink / raw)
To: openembeded-devel
On Sat, May 30, 2015 at 5:31 PM, Christopher Larson <kergoth@gmail.com> wrote:
> Ntimed is an unreleased ntpd replacement being sponsored by the Linux
> Foundation. Currently it only includes a work-in-progress client, but for
> future use this recipe emits an ntimed-client package and an ntimed meta
> package which will pull in client and server.
>
should it have RCONFLICTS with ntp ?
> Signed-off-by: Christopher Larson <kergoth@gmail.com>
> ---
> .../ntimed/ntimed/use-ldflags.patch | 16 +++++++++
> .../recipes-support/ntimed/ntimed_git.bb | 41 ++++++++++++++++++++++
> 2 files changed, 57 insertions(+)
> create mode 100644 meta-networking/recipes-support/ntimed/ntimed/use-ldflags.patch
> create mode 100644 meta-networking/recipes-support/ntimed/ntimed_git.bb
>
> diff --git a/meta-networking/recipes-support/ntimed/ntimed/use-ldflags.patch b/meta-networking/recipes-support/ntimed/ntimed/use-ldflags.patch
> new file mode 100644
> index 0000000..87a7778
> --- /dev/null
> +++ b/meta-networking/recipes-support/ntimed/ntimed/use-ldflags.patch
> @@ -0,0 +1,16 @@
> +Obey LDFLAGS.
> +
> +Signed-off-by: Christopher Larson <kergoth@gmail.com>
> +Upstream-Status: Pending
> +
> +--- Ntimed.orig/configure 2015-05-30 11:57:59.927796993 -0700
> ++++ Ntimed/configure 2015-05-30 11:58:26.143948894 -0700
> +@@ -142,7 +142,7 @@
> +
> + echo
> + echo "ntimed-client: ${l}"
> +- echo " \${CC} \${CFLAGS} -o ntimed-client ${l} -lm"
> ++ echo " \${CC} \${CFLAGS} -o ntimed-client ${l} \${LDFLAGS} -lm"
> + echo
> + echo "clean:"
> + echo " rm -f ${l} ntimed-client"
> diff --git a/meta-networking/recipes-support/ntimed/ntimed_git.bb b/meta-networking/recipes-support/ntimed/ntimed_git.bb
> new file mode 100644
> index 0000000..0990541
> --- /dev/null
> +++ b/meta-networking/recipes-support/ntimed/ntimed_git.bb
> @@ -0,0 +1,41 @@
> +SUMMARY = "Network time synchronization software, NTPD replacement"
> +DESCRIPTION = "This is a preview/early-access/alpha/buzzword-of-the-times \
> +release of a new FOSS project written to gradually take over the world of \
> +networked timekeeping."
> +HOMEPAGE = "https://github.com/bsdphk/Ntimed"
> +SECTION = "console/network"
> +
> +LICENSE = "BSD-2-Clause"
> +LIC_FILES_CHKSUM = "file://main.c;startline=2;endline=24;md5=eda11d21005319bb76cbb6f911f0f66d"
> +
> +SRC_URI = "git://github.com/bsdphk/Ntimed \
> + file://use-ldflags.patch"
> +
> +PV = "0.0+git${SRCPV}"
> +SRCREV = "db0abbb4c80f2ecef6bc5d9639bca5bea28532a2"
> +
> +S = "${WORKDIR}/git"
> +
> +EXTRA_OEMAKE = "\
> + 'CC=${CC}' \
> + 'CFLAGS=${CFLAGS}' \
> + 'LDFLAGS=${LDFLAGS}' \
> +"
> +
> +do_configure () {
> + sh ./configure
> +}
> +
> +do_compile () {
> + oe_runmake
> +}
> +
> +do_install () {
> + install -D -m 0755 ntimed-client ${D}${sbindir}/ntimed-client
> +}
> +
> +ALLOW_EMPTY_${PN} = "1"
> +RDEPENDS_${PN} += "ntimed-client"
> +
> +PACKAGE_BEFORE_PN += "ntimed-client"
> +FILES_ntimed-client = "${sbindir}/ntimed-client"
> --
> 2.2.1
>
> --
> _______________________________________________
> Openembedded-devel mailing list
> Openembedded-devel@lists.openembedded.org
> http://lists.openembedded.org/mailman/listinfo/openembedded-devel
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [PATCH] ntimed: add recipe to meta-networking (git version)
2015-06-01 18:05 ` Khem Raj
@ 2015-06-09 2:38 ` Christopher Larson
2015-06-09 3:03 ` Robert Yang
0 siblings, 1 reply; 5+ messages in thread
From: Christopher Larson @ 2015-06-09 2:38 UTC (permalink / raw)
To: openembedded-devel
On Mon, Jun 1, 2015 at 1:05 PM, Khem Raj <raj.khem@gmail.com> wrote:
> On Sat, May 30, 2015 at 5:31 PM, Christopher Larson <kergoth@gmail.com>
> wrote:
> > Ntimed is an unreleased ntpd replacement being sponsored by the Linux
> > Foundation. Currently it only includes a work-in-progress client, but for
> > future use this recipe emits an ntimed-client package and an ntimed meta
> > package which will pull in client and server.
> >
>
> should it have RCONFLICTS with ntp ?
Probably, I’ll look into that as well as see about adding a service file &
startup script, and re-submit after testing that. Thanks.
--
Christopher Larson
clarson at kergoth dot com
Founder - BitBake, OpenEmbedded, OpenZaurus
Maintainer - Tslib
Senior Software Engineer, Mentor Graphics
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [PATCH] ntimed: add recipe to meta-networking (git version)
2015-06-09 2:38 ` Christopher Larson
@ 2015-06-09 3:03 ` Robert Yang
2015-06-14 15:44 ` Khem Raj
0 siblings, 1 reply; 5+ messages in thread
From: Robert Yang @ 2015-06-09 3:03 UTC (permalink / raw)
To: openembedded-devel
On 06/09/2015 10:38 AM, Christopher Larson wrote:
> On Mon, Jun 1, 2015 at 1:05 PM, Khem Raj <raj.khem@gmail.com> wrote:
>
>> On Sat, May 30, 2015 at 5:31 PM, Christopher Larson <kergoth@gmail.com>
>> wrote:
>>> Ntimed is an unreleased ntpd replacement being sponsored by the Linux
>>> Foundation. Currently it only includes a work-in-progress client, but for
>>> future use this recipe emits an ntimed-client package and an ntimed meta
>>> package which will pull in client and server.
>>>
>>
>> should it have RCONFLICTS with ntp ?
>
>
> Probably, I’ll look into that as well as see about adding a service file &
> startup script, and re-submit after testing that. Thanks.
FYI, it had been merged.
// Robert
>
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [PATCH] ntimed: add recipe to meta-networking (git version)
2015-06-09 3:03 ` Robert Yang
@ 2015-06-14 15:44 ` Khem Raj
0 siblings, 0 replies; 5+ messages in thread
From: Khem Raj @ 2015-06-14 15:44 UTC (permalink / raw)
To: openembeded-devel
On Mon, Jun 8, 2015 at 11:03 PM, Robert Yang <liezhi.yang@windriver.com> wrote:
>
>
> On 06/09/2015 10:38 AM, Christopher Larson wrote:
>>
>> On Mon, Jun 1, 2015 at 1:05 PM, Khem Raj <raj.khem@gmail.com> wrote:
>>
>>> On Sat, May 30, 2015 at 5:31 PM, Christopher Larson <kergoth@gmail.com>
>>> wrote:
>>>>
>>>> Ntimed is an unreleased ntpd replacement being sponsored by the Linux
>>>> Foundation. Currently it only includes a work-in-progress client, but
>>>> for
>>>> future use this recipe emits an ntimed-client package and an ntimed meta
>>>> package which will pull in client and server.
>>>>
>>>
>>> should it have RCONFLICTS with ntp ?
>>
>>
>>
>> Probably, I’ll look into that as well as see about adding a service file &
>> startup script, and re-submit after testing that. Thanks.
>
>
> FYI, it had been merged.
Still a followup would be nice if its needed.
>
> // Robert
>
>
>>
> --
> _______________________________________________
> Openembedded-devel mailing list
> Openembedded-devel@lists.openembedded.org
> http://lists.openembedded.org/mailman/listinfo/openembedded-devel
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2015-06-14 15:44 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-05-31 0:31 [PATCH] ntimed: add recipe to meta-networking (git version) Christopher Larson
2015-06-01 18:05 ` Khem Raj
2015-06-09 2:38 ` Christopher Larson
2015-06-09 3:03 ` Robert Yang
2015-06-14 15:44 ` Khem Raj
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.