summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOyvind Repvik <nail@nslu2-linux.org>2005-08-05 13:58:06 +0000
committerOpenEmbedded Project <openembedded-devel@lists.openembedded.org>2005-08-05 13:58:06 +0000
commit98b651e759db327d8308eb7505f2201b60dd065d (patch)
tree31abc476cdb92256603dac4236c15af26e15c2a7
parent3801493a4c9a2f09bed30fad0b1209bd50f5c642 (diff)
parent563289bea1ac6965e3cabcb59e2a80b6f11ed206 (diff)
propagate from branch 'org.openembedded.dev' (head 354126a72c55235d0954846f3a20d7176a0d0823)
to branch 'org.openembedded.nslu2-linux' (head 746a5402012c5e160469061339fc8ebe2f339340)
-rw-r--r--packages/ntp/ntp_4.2.0.bb12
1 files changed, 8 insertions, 4 deletions
diff --git a/packages/ntp/ntp_4.2.0.bb b/packages/ntp/ntp_4.2.0.bb
index ee1794de44..752fd1f266 100644
--- a/packages/ntp/ntp_4.2.0.bb
+++ b/packages/ntp/ntp_4.2.0.bb
@@ -6,7 +6,7 @@ HOMEPAGE = "http://ntp.isc.org/bin/view/Main/WebHome"
SECTION = "console/network"
PRIORITY = "optional"
LICENSE = "ntp"
-PR = "r3"
+PR = "r4"
# OE core: this is here to prevent this version of ntp from
# changing OE distros other than openslug. This code has
# only been tested on openslug. Feel free to remove these lines!
@@ -31,7 +31,7 @@ inherit autotools update-rc.d
EXTRA_OECONF = "--without-openssl --without-crypto ac_cv_header_readline_history_h=no"
CFLAGS_append = " -DPTYS_ARE_GETPT -DPTYS_ARE_SEARCHED"
-PACKAGES = "ntpdate ntp-bin ntp"
+PACKAGES = "ntpdate ntp-bin ntp ntp-tickadj"
# NOTE: you don't need ntpdate, use "ntpdc -q -g -x"
PROVIDES = "ntpdate-${PV} ntpdate-${PV}-${PR} ntpdate"
@@ -41,8 +41,12 @@ FILES_ntpdate = "${bindir}/ntpdate ${sysconfdir}/init.d/ntpdate"
#perl scripts, and installing perl is an enormous overhead for a user who only
#needs ntpq
#RDEPENDS_ntp-bin = perl
-FILES_ntp-bin = "${bindir}/ntp-wait ${bindir}/ntpdc ${bindir}/ntpq ${bindir}/ntptime ${bindir}/ntptrace"
-FILES_ntp = "${bindir}/ntpd ${bindir}/tickadj ${sysconfdir}/ntp.conf ${sysconfdir}/init.d/ntpd"
+# ntp originally includes tickadj. It's split off for inclusion in small firmware images on platforms
+# with wonky clocks (e.g. OpenSlug)
+RDEPENDS_${PN} = ${PN}-tickadj
+FILES_${PN}-bin = "${bindir}/ntp-wait ${bindir}/ntpdc ${bindir}/ntpq ${bindir}/ntptime ${bindir}/ntptrace"
+FILES_${PN} = "${bindir}/ntpd ${sysconfdir}/ntp.conf ${sysconfdir}/init.d/ntpd"
+FILES_${PN}-tickadj = "${bindir}/tickadj"
do_install_append() {
install -d ${D}/${sysconfdir}/init.d