summaryrefslogtreecommitdiff
path: root/ntp
diff options
context:
space:
mode:
authorChris Larson <clarson@kergoth.com>2004-11-20 04:40:27 +0000
committerChris Larson <clarson@kergoth.com>2004-11-20 04:40:27 +0000
commit15cb4ac78b996aca373338b1da7a94174e312b28 (patch)
tree8ca8447b51f44a055043edef762ee3cd8fb2794e /ntp
parent8187bf71dcf0c1a7973de9c68dfa12501e1e95b8 (diff)
Another shot at unborking ntp-ss.
BKrev: 419ecabb-tQpuErhVfSRu7kn-R8HXA
Diffstat (limited to 'ntp')
-rw-r--r--ntp/ntp-ssl_4.1.2.oe27
1 files changed, 27 insertions, 0 deletions
diff --git a/ntp/ntp-ssl_4.1.2.oe b/ntp/ntp-ssl_4.1.2.oe
index e69de29bb2..a8c67254d5 100644
--- a/ntp/ntp-ssl_4.1.2.oe
+++ b/ntp/ntp-ssl_4.1.2.oe
@@ -0,0 +1,27 @@
+DESCRIPTION = "The Network Time Protocol (NTP) is used to \
+synchronize the time of a computer client or server to \
+another server or reference time source, such as a radio \
+or satellite receiver or modem."
+SECTION = "console/network"
+PRIORITY = "optional"
+DEPENDS = "openssl"
+
+SRC_URI = "http://www.eecis.udel.edu/~ntp/ntp_spool/ntp4/ntp-${PV}.tar.gz \
+ file://configure.patch;patch=1 \
+ file://ntpdate"
+S = "${WORKDIR}/ntp-${PV}"
+
+inherit autotools
+
+EXTRA_OECONF = "--with-openssl-libdir=${STAGING_LIBDIR} \
+ --with-openssl-incdir=${STAGING_INCDIR}/openssl"
+CFLAGS_append = " -DPTYS_ARE_GETPT -DPTYS_ARE_SEARCHED"
+
+PACKAGES = "ntpdate ntp"
+
+FILES_ntpdate = "/usr/bin/ntpdate /etc/init.d/ntpdate"
+
+do_install_append() {
+ install -d ${D}/${sysconfdir}/init.d
+ install -m 755 ${WORKDIR}/ntpdate ${D}/${sysconfdir}/init.d
+}