Return-Path: Received: from arroyo.ext.ti.com (arroyo.ext.ti.com [192.94.94.40]) by arago-project.org (Postfix) with ESMTPS id 3C1C752998 for ; Fri, 7 Feb 2014 15:00:51 +0000 (UTC) Received: from dlelxv90.itg.ti.com ([172.17.2.17]) by arroyo.ext.ti.com (8.13.7/8.13.7) with ESMTP id s17F0oWj012686 for ; Fri, 7 Feb 2014 09:00:50 -0600 Received: from DFLE72.ent.ti.com (dfle72.ent.ti.com [128.247.5.109]) by dlelxv90.itg.ti.com (8.14.3/8.13.8) with ESMTP id s17F0ntl022493 for ; Fri, 7 Feb 2014 09:00:50 -0600 Received: from dlep32.itg.ti.com (157.170.170.100) by DFLE72.ent.ti.com (128.247.5.109) with Microsoft SMTP Server id 14.2.342.3; Fri, 7 Feb 2014 09:00:49 -0600 Received: from udb0862859.am.dhcp.ti.com (ileax41-snat.itg.ti.com [10.172.224.153]) by dlep32.itg.ti.com (8.14.3/8.13.8) with ESMTP id s17F0nHj024375; Fri, 7 Feb 2014 09:00:49 -0600 From: Sam Nelson To: Date: Fri, 7 Feb 2014 10:00:46 -0500 Message-ID: <1391785246-19688-1-git-send-email-sam.nelson@ti.com> X-Mailer: git-send-email 1.7.9.5 MIME-Version: 1.0 Subject: [PATCH] openntpd: Add recipe for building OpenNTPD X-BeenThere: meta-arago@arago-project.org X-Mailman-Version: 2.1.12 Precedence: list List-Id: Arago metadata layer for TI SDKs - OE-Core/Yocto compatible List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 07 Feb 2014 15:00:51 -0000 Content-Type: text/plain - OpenNTPD is a open source implementation of Network time protocol Signed-off-by: Sam Nelson --- .../recipes-bsp/openntpd/openntpd_3.9p1.bb | 27 ++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100755 meta-arago-extras/recipes-bsp/openntpd/openntpd_3.9p1.bb diff --git a/meta-arago-extras/recipes-bsp/openntpd/openntpd_3.9p1.bb b/meta-arago-extras/recipes-bsp/openntpd/openntpd_3.9p1.bb new file mode 100755 index 0000000..b4e3402 --- /dev/null +++ b/meta-arago-extras/recipes-bsp/openntpd/openntpd_3.9p1.bb @@ -0,0 +1,27 @@ +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" + +DEPENDS += "virtual/kernel" +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" +STAGING_KERNEL_DIR = "${STAGING_DIR}/${MACHINE_ARCH}${TARGET_VENDOR}-${TARGET_OS}/kernel" +CPPFLAGS = "-I${STAGING_KERNEL_DIR}/include" +CPPFLAGS += "-I${STAGING_KERNEL_DIR}/arch/arm/include" + +EXTRA_OECONF += "CPPFLAGS="${CPPFLAGS}" LDFLAGS="${LDFLAGS}" CFLAGS="${CFLAGS}" \ + --with-privsep-user=root --with-privsep-path=/${prefix}" + +SRC_URI[md5sum] = "afc34175f38d08867c1403d9008600b3" +SRC_URI[sha256sum] = "83dd7c1e8ec8b4567afe49af539271b5a73562fb7a3ca51df73eccba89ec8c49" -- 1.7.9.5