The 3.9p1 version is really old, and we ran into compile issues with the
latest upstream testing.  Take this opportunity to upgrade to the latest
version.

Signed-off-by: Ryan Eatmon <[email protected]>
---
 .../openntpd/openntpd_3.9p1.bb                | 21 ---------------
 .../openntpd/openntpd_6.8p1.bb                | 26 +++++++++++++++++++
 2 files changed, 26 insertions(+), 21 deletions(-)
 delete mode 100644 
meta-arago-extras/recipes-connectivity/openntpd/openntpd_3.9p1.bb
 create mode 100644 
meta-arago-extras/recipes-connectivity/openntpd/openntpd_6.8p1.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
deleted file mode 100644
index 008d4d33..00000000
--- a/meta-arago-extras/recipes-connectivity/openntpd/openntpd_3.9p1.bb
+++ /dev/null
@@ -1,21 +0,0 @@
-DESCRIPTION = "OpenNTPD is a FREE, easy to use implementation of the \
-Network Time Protocol."
-HOMEPAGE = "http://www.openntpd.org/";
-SECTION = "console/network"
-LICENSE = "BSD-3-Clause & 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"
-EXTRA_OECONF += "LDFLAGS="${LDFLAGS}" CFLAGS="${CFLAGS}"\
-                 --with-privsep-user=root --with-privsep-path=/${prefix}"
-
-SRC_URI[md5sum] = "afc34175f38d08867c1403d9008600b3"
-SRC_URI[sha256sum] = 
"83dd7c1e8ec8b4567afe49af539271b5a73562fb7a3ca51df73eccba89ec8c49"
diff --git a/meta-arago-extras/recipes-connectivity/openntpd/openntpd_6.8p1.bb 
b/meta-arago-extras/recipes-connectivity/openntpd/openntpd_6.8p1.bb
new file mode 100644
index 00000000..e4aa27fc
--- /dev/null
+++ b/meta-arago-extras/recipes-connectivity/openntpd/openntpd_6.8p1.bb
@@ -0,0 +1,26 @@
+DESCRIPTION = "OpenNTPD is a FREE, easy to use implementation of the \
+Network Time Protocol."
+HOMEPAGE = "http://www.openntpd.org/";
+SECTION = "console/network"
+LICENSE = "BSD-3-Clause & ISC"
+LIC_FILES_CHKSUM = "file://COPYING;md5=fe922aad2b6ad1c359cf2adfdaaab1b6"
+
+PR = "r0"
+
+SRC_URI = "https://cdn.openbsd.org/pub/OpenBSD/OpenNTPD/${P}.tar.gz";
+SRC_URI[md5sum] = "7c68ce2627b2ea13f2b95db1ef4fcfc5"
+SRC_URI[sha256sum] = 
"8582db838a399153d4a17f2a76518b638cc3020f58028575bf54127518f55a46"
+
+S = "${WORKDIR}/openntpd-${PV}"
+inherit autotools
+
+LDFLAGS += "-lrt"
+EXTRA_OECONF += "LDFLAGS="${LDFLAGS}" CFLAGS="${CFLAGS}"\
+                 --with-privsep-user=root"
+
+do_install:append() {
+    # don't install empty /var/run and /run to avoid conflict with base-files
+    rm -rf ${D}${localstatedir}/run
+    rm -rf ${D}/run
+}
+
-- 
2.17.1



-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#14857): 
https://lists.yoctoproject.org/g/meta-arago/message/14857
Mute This Topic: https://lists.yoctoproject.org/mt/100829255/21656
Group Owner: [email protected]
Unsubscribe: 
https://lists.yoctoproject.org/g/meta-arago/leave/10763299/21656/89520264/xyzzy 
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-


Reply via email to