From 8da895599110003a11469d92c29074e4d21f4010 Mon Sep 17 00:00:00 2001 From: "nslu2-linux.adm@bkbits.net" Date: Sat, 1 Jan 2005 00:40:07 +0000 Subject: Merge bk://oe-devel.bkbits.net/openembedded into bkbits.net:/repos/n/nslu2-linux/openembedded 2005/01/01 00:25:17+00:00 nexus.co.uk!pb split out some esoteric pcmcia-cs stuff into separate packages 2005/01/01 00:22:26+00:00 nexus.co.uk!pb Merge bk://oe-devel@oe-devel.bkbits.net/openembedded into stealth.nexus.co.uk:/home/pb/oe/oe 2005/01/01 00:18:09+00:00 nexus.co.uk!pb patch ntp to only use -lreadline with executables that actually need it, so that ntpdate doesn't drag readline and ncurses into handheld rootfs. BKrev: 41d5f167yzLSvdvx8KMhVpa3w3BDXQ --- packages/ntp/files/readline.patch | 0 packages/ntp/ntp-ssl_4.1.2.bb | 30 ++++++++++++++++++++++++++++++ packages/ntp/ntp_4.1.2.bb | 28 ++++++++++++++++++++++++++++ 3 files changed, 58 insertions(+) create mode 100644 packages/ntp/files/readline.patch (limited to 'packages/ntp') diff --git a/packages/ntp/files/readline.patch b/packages/ntp/files/readline.patch new file mode 100644 index 0000000000..e69de29bb2 diff --git a/packages/ntp/ntp-ssl_4.1.2.bb b/packages/ntp/ntp-ssl_4.1.2.bb index e69de29bb2..937a0e20a4 100644 --- a/packages/ntp/ntp-ssl_4.1.2.bb +++ b/packages/ntp/ntp-ssl_4.1.2.bb @@ -0,0 +1,30 @@ +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" +LICENSE = "NTP" +PR = "r1" + +SRC_URI = "http://www.eecis.udel.edu/~ntp/ntp_spool/ntp4/ntp-${PV}.tar.gz \ + file://configure.patch;patch=1 \ + file://readline.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 +} diff --git a/packages/ntp/ntp_4.1.2.bb b/packages/ntp/ntp_4.1.2.bb index e69de29bb2..97bd23b196 100644 --- a/packages/ntp/ntp_4.1.2.bb +++ b/packages/ntp/ntp_4.1.2.bb @@ -0,0 +1,28 @@ +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." +HOMEPAGE = "http://ntp.isc.org/bin/view/Main/WebHome" +SECTION = "console/network" +PRIORITY = "optional" +LICENSE = "ntp" +PR = "r1" + +SRC_URI = "http://www.eecis.udel.edu/~ntp/ntp_spool/ntp4/ntp-${PV}.tar.gz \ + file://configure.patch;patch=1 \ + file://readline.patch;patch=1 \ + file://ntpdate" + +inherit autotools + +EXTRA_OECONF = "--without-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 +} -- cgit 1.2.3-korg