All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v3] openntpd: Add recipe for building OpenNTPD
@ 2014-03-02 22:03 Sam Nelson
  2014-03-04  3:08 ` Denys Dmytriyenko
  0 siblings, 1 reply; 3+ messages in thread
From: Sam Nelson @ 2014-03-02 22:03 UTC (permalink / raw)
  To: meta-arago

- OpenNTPD is a open source implementation of Network time protocol

Signed-off-by: Sam Nelson <sam.nelson@ti.com>

---
Changes from previous patch
* Remove kernel dependency
* removed Flags depending on staging  kernel
---
---
 .../openntpd/openntpd_3.9p1.bb                     |   22 ++++++++++++++++++++
 1 file changed, 22 insertions(+)
 create mode 100755 meta-arago-extras/recipes-connectivity/openntpd/openntpd_3.9p1.bb

diff --git a/meta-arago-extras/recipes-connectivity/openntpd/openntpd_3.9p1.bb b/meta-arago-extras/recipes-connectivity/openntpd/openntpd_3.9p1.bb
new file mode 100755
index 0000000..9b5e6ce
--- /dev/null
+++ b/meta-arago-extras/recipes-connectivity/openntpd/openntpd_3.9p1.bb
@@ -0,0 +1,22 @@
+DESCRIPTION = "OpenNTPD is a FREE, easy to use implementation of the \
+Network Time Protocol."
+HOMEPAGE = "http://www.openntpd.org/"
+SECTION = "console/network"
+LICENSE = "BSD ISC"
+LIC_FILES_CHKSUM = "file://LICENCE;md5=4b4f5158007cc97e6b0e2325bb99854a"
+
+PR = "r0"
+
+SRC_URI = "http://mirror.ece.vt.edu/pub/OpenBSD/OpenNTPD/${P}.tar.gz"
+
+S = "${WORKDIR}/openntpd-${PV}"
+EXTRA_OECONF = "--disable-strip"
+inherit autotools
+
+LDFLAGS += "-lrt"
+CFLAGS += "-DTI_ADD_SUPPORT_HW_TIMESTAMPING"
+EXTRA_OECONF += "LDFLAGS="${LDFLAGS}" CFLAGS="${CFLAGS}"\
+                 --with-privsep-user=root --with-privsep-path=/${prefix}"
+
+SRC_URI[md5sum] = "afc34175f38d08867c1403d9008600b3"
+SRC_URI[sha256sum] = "83dd7c1e8ec8b4567afe49af539271b5a73562fb7a3ca51df73eccba89ec8c49"
-- 
1.7.9.5



^ permalink raw reply related	[flat|nested] 3+ messages in thread

* Re: [PATCH v3] openntpd: Add recipe for building OpenNTPD
  2014-03-02 22:03 [PATCH v3] openntpd: Add recipe for building OpenNTPD Sam Nelson
@ 2014-03-04  3:08 ` Denys Dmytriyenko
  2014-03-04  3:38   ` Nelson, Sam
  0 siblings, 1 reply; 3+ messages in thread
From: Denys Dmytriyenko @ 2014-03-04  3:08 UTC (permalink / raw)
  To: Sam Nelson; +Cc: meta-arago

On Sun, Mar 02, 2014 at 05:03:33PM -0500, Sam Nelson wrote:
> - OpenNTPD is a open source implementation of Network time protocol
> 
> Signed-off-by: Sam Nelson <sam.nelson@ti.com>

The patch looks good, just one question below.


> ---
> Changes from previous patch
> * Remove kernel dependency
> * removed Flags depending on staging  kernel
> ---
> ---
>  .../openntpd/openntpd_3.9p1.bb                     |   22 ++++++++++++++++++++
>  1 file changed, 22 insertions(+)
>  create mode 100755 meta-arago-extras/recipes-connectivity/openntpd/openntpd_3.9p1.bb
> 
> diff --git a/meta-arago-extras/recipes-connectivity/openntpd/openntpd_3.9p1.bb b/meta-arago-extras/recipes-connectivity/openntpd/openntpd_3.9p1.bb
> new file mode 100755
> index 0000000..9b5e6ce
> --- /dev/null
> +++ b/meta-arago-extras/recipes-connectivity/openntpd/openntpd_3.9p1.bb
> @@ -0,0 +1,22 @@
> +DESCRIPTION = "OpenNTPD is a FREE, easy to use implementation of the \
> +Network Time Protocol."
> +HOMEPAGE = "http://www.openntpd.org/"
> +SECTION = "console/network"
> +LICENSE = "BSD ISC"
> +LIC_FILES_CHKSUM = "file://LICENCE;md5=4b4f5158007cc97e6b0e2325bb99854a"
> +
> +PR = "r0"
> +
> +SRC_URI = "http://mirror.ece.vt.edu/pub/OpenBSD/OpenNTPD/${P}.tar.gz"
> +
> +S = "${WORKDIR}/openntpd-${PV}"
> +EXTRA_OECONF = "--disable-strip"
> +inherit autotools
> +
> +LDFLAGS += "-lrt"
> +CFLAGS += "-DTI_ADD_SUPPORT_HW_TIMESTAMPING"

I cannot find any reference for the above define inside OpenNTPD source code.


> +EXTRA_OECONF += "LDFLAGS="${LDFLAGS}" CFLAGS="${CFLAGS}"\
> +                 --with-privsep-user=root --with-privsep-path=/${prefix}"
> +
> +SRC_URI[md5sum] = "afc34175f38d08867c1403d9008600b3"
> +SRC_URI[sha256sum] = "83dd7c1e8ec8b4567afe49af539271b5a73562fb7a3ca51df73eccba89ec8c49"
> -- 
> 1.7.9.5
> 
> _______________________________________________
> meta-arago mailing list
> meta-arago@arago-project.org
> http://arago-project.org/cgi-bin/mailman/listinfo/meta-arago


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH v3] openntpd: Add recipe for building OpenNTPD
  2014-03-04  3:08 ` Denys Dmytriyenko
@ 2014-03-04  3:38   ` Nelson, Sam
  0 siblings, 0 replies; 3+ messages in thread
From: Nelson, Sam @ 2014-03-04  3:38 UTC (permalink / raw)
  To: Dmytriyenko, Denys; +Cc: meta-arago



> -----Original Message-----
> From: Dmytriyenko, Denys
> Sent: Monday, March 03, 2014 10:08 PM
> To: Nelson, Sam
> Cc: meta-arago@arago-project.org
> Subject: Re: [meta-arago] [PATCH v3] openntpd: Add recipe for building
> OpenNTPD
> 
> On Sun, Mar 02, 2014 at 05:03:33PM -0500, Sam Nelson wrote:
> > - OpenNTPD is a open source implementation of Network time protocol
> >
> > Signed-off-by: Sam Nelson <sam.nelson@ti.com>
> 
> The patch looks good, just one question below.
> 
> 
> > ---
> > Changes from previous patch
> > * Remove kernel dependency
> > * removed Flags depending on staging  kernel
> > ---
> > ---
> >  .../openntpd/openntpd_3.9p1.bb                     |   22 ++++++++++++++++++++
> >  1 file changed, 22 insertions(+)
> >  create mode 100755 meta-arago-extras/recipes-
> connectivity/openntpd/openntpd_3.9p1.bb
> >
> > diff --git a/meta-arago-extras/recipes-
> connectivity/openntpd/openntpd_3.9p1.bb b/meta-arago-extras/recipes-
> connectivity/openntpd/openntpd_3.9p1.bb
> > new file mode 100755
> > index 0000000..9b5e6ce
> > --- /dev/null
> > +++ b/meta-arago-extras/recipes-
> connectivity/openntpd/openntpd_3.9p1.bb
> > @@ -0,0 +1,22 @@
> > +DESCRIPTION = "OpenNTPD is a FREE, easy to use implementation of the \
> > +Network Time Protocol."
> > +HOMEPAGE = "http://www.openntpd.org/"
> > +SECTION = "console/network"
> > +LICENSE = "BSD ISC"
> > +LIC_FILES_CHKSUM =
> "file://LICENCE;md5=4b4f5158007cc97e6b0e2325bb99854a"
> > +
> > +PR = "r0"
> > +
> > +SRC_URI =
> "http://mirror.ece.vt.edu/pub/OpenBSD/OpenNTPD/${P}.tar.gz"
> > +
> > +S = "${WORKDIR}/openntpd-${PV}"
> > +EXTRA_OECONF = "--disable-strip"
> > +inherit autotools
> > +
> > +LDFLAGS += "-lrt"
> > +CFLAGS += "-DTI_ADD_SUPPORT_HW_TIMESTAMPING"
> 
> I cannot find any reference for the above define inside OpenNTPD source
> code.
[Sam] I think this is not needed. Previously we were having a patch on top of openntpd. This is not needed anymore without the patch. I will send updated patch.
> 
> 
> > +EXTRA_OECONF += "LDFLAGS="${LDFLAGS}" CFLAGS="${CFLAGS}"\
> > +                 --with-privsep-user=root --with-privsep-path=/${prefix}"
> > +
> > +SRC_URI[md5sum] = "afc34175f38d08867c1403d9008600b3"
> > +SRC_URI[sha256sum] =
> "83dd7c1e8ec8b4567afe49af539271b5a73562fb7a3ca51df73eccba89ec8c49
> "
> > --
> > 1.7.9.5
> >
> > _______________________________________________
> > meta-arago mailing list
> > meta-arago@arago-project.org
> > http://arago-project.org/cgi-bin/mailman/listinfo/meta-arago


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2014-03-04  3:38 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-03-02 22:03 [PATCH v3] openntpd: Add recipe for building OpenNTPD Sam Nelson
2014-03-04  3:08 ` Denys Dmytriyenko
2014-03-04  3:38   ` Nelson, Sam

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.