Skip to contentSkip to conversation

openntpd: Add recipe for building OpenNTPD

PATCH Superseded Sam Nelson 2 participants 3 messages Mar 2, 2014 – Mar 4, 2014

v3 of 4 Superseded Latest is v4 →

lore
Share & tools
lore

Sam Nelson

author
#0 lore raw

PATCH v3 1/1 openntpd: Add recipe for building OpenNTPD

- OpenNTPD is a open source implementation of Network time protocol

---
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
meta-arago-extras/recipes-connectivity/openntpd/openntpd_3.9p1.bb new file +22 -0
new file mode 100755
index 0000000..9b5e6ce
@@ -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"
Signature · 1 line
1.7.9.5
#1 lore raw
Quoted 3 lines · Sam Nelson

- OpenNTPD is a open source implementation of Network time protocol

The patch looks good, just one question below.

Quoted 23 lines

---
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
meta-arago-extras/recipes-connectivity/openntpd/openntpd_3.9p1.bb new file +7 -0
new file mode 100755
index 0000000..9b5e6ce
@@ -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"
+

meta-arago-extras/recipes-connectivity/openntpd/openntpd_3.9p1.bb line 17

Quoted 10 lines
meta-arago-extras/recipes-connectivity/openntpd/openntpd_3.9p1.bb new file +10 -0
+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.

Quoted 12 lines
meta-arago-extras/recipes-connectivity/openntpd/openntpd_3.9p1.bb new file +5 -0
+EXTRA_OECONF += "LDFLAGS="${LDFLAGS}" CFLAGS="${CFLAGS}"\
+                 --with-privsep-user=root --with-privsep-path=/${prefix}"
+
+SRC_URI[md5sum] = "afc34175f38d08867c1403d9008600b3"
+SRC_URI[sha256sum] = "83dd7c1e8ec8b4567afe49af539271b5a73562fb7a3ca51df73eccba89ec8c49"
Signature · 6 lines
1.7.9.5

_______________________________________________
meta-arago mailing list
[email protected]
http://arago-project.org/cgi-bin/mailman/listinfo/meta-arago
#2 lore raw
Quoted 50 lines

-----Original Message-----
From: Dmytriyenko, Denys
Sent: Monday, March 03, 2014 10:08 PM
To: Nelson, Sam
Cc: [email protected]
Subject: Re: [meta-arago] [PATCH v3] openntpd: Add recipe for building OpenNTPD

Quoted 3 lines · Sam Nelson

- OpenNTPD is a open source implementation of Network time protocol

The patch looks good, just one question below.

Quoted 9 lines

---
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

Review

Quoted 2 lines
(quoted diff) +0 -0

connectivity/openntpd/openntpd_3.9p1.bb b/meta-arago-extras/recipes- connectivity/openntpd/openntpd_3.9p1.bb

meta-arago-extras/recipes-

Quoted 4 lines

new file mode 100755
index 0000000..9b5e6ce

meta-arago-extras/recipes- new file +0 -0

connectivity/openntpd/openntpd_3.9p1.bb

meta-arago-extras/recipes- line 6

Quoted 7 lines
meta-arago-extras/recipes- new file +6 -0
@@ -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"

meta-arago-extras/recipes- line 10

Quoted 4 lines
meta-arago-extras/recipes- new file +4 -0
+
+PR = "r0"
+
+SRC_URI =

"http://mirror.ece.vt.edu/pub/OpenBSD/OpenNTPD/${P}.tar.gz"

Quoted 10 lines

meta-arago-extras/recipes- line 17

Quoted 7 lines
meta-arago-extras/recipes- new file +7 -0
+
+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.

Quoted 16 lines

meta-arago-extras/recipes- line 22

Quoted 7 lines
meta-arago-extras/recipes- new file +5 -0
+EXTRA_OECONF += "LDFLAGS="${LDFLAGS}" CFLAGS="${CFLAGS}"\
+                 --with-privsep-user=root --with-privsep-path=/${prefix}"
+
+SRC_URI[md5sum] = "afc34175f38d08867c1403d9008600b3"
+SRC_URI[sha256sum] =

"83dd7c1e8ec8b4567afe49af539271b5a73562fb7a3ca51df73eccba89ec8c49 "

Quoted 7 lines

--
1.7.9.5

_______________________________________________
meta-arago mailing list
[email protected]
http://arago-project.org/cgi-bin/mailman/listinfo/meta-arago