Merge bk://oe-devel.bkbits.net/openembedded
authornslu2-linux.adm@bkbits.net <nslu2-linux.adm@bkbits.net>
Sat, 1 Jan 2005 00:40:07 +0000 (00:40 +0000)
committernslu2-linux.adm@bkbits.net <nslu2-linux.adm@bkbits.net>
Sat, 1 Jan 2005 00:40:07 +0000 (00:40 +0000)
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 [new file with mode: 0644]
packages/ntp/ntp-ssl_4.1.2.bb
packages/ntp/ntp_4.1.2.bb
packages/pcmcia-cs/pcmcia-cs_3.2.8.bb

diff --git a/packages/ntp/files/readline.patch b/packages/ntp/files/readline.patch
new file mode 100644 (file)
index 0000000..e69de29
index e69de29..937a0e2 100644 (file)
@@ -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
+}
index e69de29..97bd23b 100644 (file)
@@ -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
+}
index 4e51de5..320bbca 100644 (file)
@@ -3,7 +3,12 @@ SECTION = "base"
 PRIORITY = "required"
 LICENSE = "GPL"
 DEPENDS = "virtual/kernel"
-PR = "r10"
+PR = "r11"
+
+PACKAGES =+ "${PN}-ftl ${PN}-pcinitrd"
+
+FILES_${PN}-ftl = "/sbin/ftl_format /sbin/ftl_check /etc/pcmcia/ftl*"
+FILES_${PN}-pcinitrd = "/sbin/pcinitrd"
 
 SRC_URI = "${SOURCEFORGE_MIRROR}/pcmcia-cs/pcmcia-cs-${PV}.tar.gz \
           file://busybox.patch;patch=1 \