[oe-commits] org.oe.dev ntp: fixes
koen commit
openembedded-commits at lists.openembedded.org
Tue Oct 10 21:42:46 UTC 2006
ntp: fixes
* don't use PACKAGES = "foo", that breaks debug packages
* removed bogus looking nylon override
* we have an scm, so no need to comment lines
* please conform to the styleguide when adding recipes
Author: koen at openembedded.org
Branch: org.openembedded.dev
Revision: b416fffd595d13d7fc9d668cf4c7b2f8fc02e512
ViewMTN: http://monotone.openembedded.org/revision.psp?id=b416fffd595d13d7fc9d668cf4c7b2f8fc02e512
Files:
1
packages/ntp/ntp_4.2.2p3.bb
Diffs:
#
# mt diff -r3c8ee145eb2cb31869e99b5a929b23c00c28a298 -rb416fffd595d13d7fc9d668cf4c7b2f8fc02e512
#
#
#
# patch "packages/ntp/ntp_4.2.2p3.bb"
# from [9742f65f382d92a72f6d846c511a02322a4629c5]
# to [1bad7f21bdb33a60ce1b23a10db7505d19ae2c6a]
#
============================================================
--- packages/ntp/ntp_4.2.2p3.bb 9742f65f382d92a72f6d846c511a02322a4629c5
+++ packages/ntp/ntp_4.2.2p3.bb 1bad7f21bdb33a60ce1b23a10db7505d19ae2c6a
@@ -25,22 +25,19 @@ CFLAGS_append = " -DPTYS_ARE_GETPT -DPTY
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 ntp-tickadj"
+PACKAGES += "ntpdate ntp-bin ntp-tickadj ntp-utils"
# NOTE: you don't need ntpdate, use "ntpdc -q -g -x"
-PROVIDES = "ntpdate-${PV} ntpdate-${PV}-${PR} ntpdate"
# This should use rc.update
FILES_ntpdate = "${bindir}/ntpdate ${sysconfdir}/init.d/ntpdate"
-#This is too painful - perl is only needed for ntp-wait and ntptrace, which are
-#perl scripts, and installing perl is an enormous overhead for a user who only
-#needs ntpq
-#RDEPENDS_ntp-bin = perl
+
# 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"
+FILES_ntp-utils = "${bindir}/*"
do_install_append() {
install -d ${D}/${sysconfdir}/init.d
@@ -49,7 +46,7 @@ do_install_append() {
install -m 755 ${WORKDIR}/ntpd ${D}/${sysconfdir}/init.d
}
-pkg_postinst_ntpdate_nylon() {
+pkg_postinst_ntpdate() {
if test "x$D" != "x"; then
exit 1
else
More information about the Openembedded-commits
mailing list