diff options
author | Koen Kooi <koen@openembedded.org> | 2007-05-27 16:15:53 +0000 |
---|---|---|
committer | Koen Kooi <koen@openembedded.org> | 2007-05-27 16:15:53 +0000 |
commit | 1bcd28884cdf8e17ae667db24117dfd757d7654c (patch) | |
tree | 51649b69ef8f394377b5676ce1137ee77c34fb4c | |
parent | b6ab1136421d7dfe3633b772a6eaeced601d839c (diff) | |
parent | 49cc9f5f34beec3014df78590d549632349fc2cf (diff) |
merge of '66eeab0bd9d407380c581368fae9d811bdf10157'
and '7e6a6b9438e8ed84e7dcabbf95517f9dba2ba6e6'
-rw-r--r-- | conf/bitbake.conf | 1 | ||||
-rw-r--r-- | packages/iana-etc/.mtn2git_empty | 0 | ||||
-rw-r--r-- | packages/iana-etc/iana-etc_2.20.bb | 15 | ||||
-rw-r--r-- | packages/mISDN/.mtn2git_empty | 0 | ||||
-rw-r--r-- | packages/mISDN/files/.mtn2git_empty | 0 | ||||
-rw-r--r-- | packages/mISDN/files/Makefile | 4 | ||||
-rw-r--r-- | packages/mISDN/files/hfcs_usb_endianchecks.diff | 58 | ||||
-rw-r--r-- | packages/mISDN/misdn_cvs.bb | 35 | ||||
-rw-r--r-- | packages/ntp/ntp-ssl_4.1.2.bb | 2 | ||||
-rw-r--r-- | packages/ntp/ntp.inc | 28 | ||||
-rw-r--r-- | packages/ntp/ntp_4.1.2.bb | 19 | ||||
-rw-r--r-- | packages/ntp/ntp_4.2.0.bb | 21 | ||||
-rw-r--r-- | packages/ntp/ntp_4.2.2p3.bb | 22 |
13 files changed, 146 insertions, 59 deletions
diff --git a/conf/bitbake.conf b/conf/bitbake.conf index cdca2b6383..a86e806fe1 100644 --- a/conf/bitbake.conf +++ b/conf/bitbake.conf @@ -348,7 +348,6 @@ KERNELORG_MIRROR = "http://kernel.org/" # You can use the mirror of your country to get faster downloads by putting # export DEBIAN_MIRROR = "ftp://ftp.de.debian.org/debian/pool" -# export SOURCEFORGE_MIRROR = "http://belnet.dl.sourceforge.net/sourceforge" # into your local.conf FETCHCOMMAND = "ERROR, this must be a BitBake bug" diff --git a/packages/iana-etc/.mtn2git_empty b/packages/iana-etc/.mtn2git_empty new file mode 100644 index 0000000000..e69de29bb2 --- /dev/null +++ b/packages/iana-etc/.mtn2git_empty diff --git a/packages/iana-etc/iana-etc_2.20.bb b/packages/iana-etc/iana-etc_2.20.bb new file mode 100644 index 0000000000..ccf0b8da8a --- /dev/null +++ b/packages/iana-etc/iana-etc_2.20.bb @@ -0,0 +1,15 @@ +DESCRIPTION = "The iana-etc package provides the Unix/Linux /etc/services and /etc/protocols files." +AUTHOR = "Seth W. Klein" +HOMEPAGE = "http://www.sethwklein.net/projects/iana-etc/" +SECTION = "base" +LICENSE = "OPL" + +SRC_URI = "http://www.sethwklein.net/projects/iana-etc/downloads/${P}.tar.bz2" + +do_make(){ + oe_runmake 'STRIP=yes' +} + +do_install(){ + oe_runmake 'DESTDIR=${D}' install +} diff --git a/packages/mISDN/.mtn2git_empty b/packages/mISDN/.mtn2git_empty new file mode 100644 index 0000000000..e69de29bb2 --- /dev/null +++ b/packages/mISDN/.mtn2git_empty diff --git a/packages/mISDN/files/.mtn2git_empty b/packages/mISDN/files/.mtn2git_empty new file mode 100644 index 0000000000..e69de29bb2 --- /dev/null +++ b/packages/mISDN/files/.mtn2git_empty diff --git a/packages/mISDN/files/Makefile b/packages/mISDN/files/Makefile new file mode 100644 index 0000000000..bed60110ea --- /dev/null +++ b/packages/mISDN/files/Makefile @@ -0,0 +1,4 @@ +PWD := $(shell pwd) +SELECTION := CONFIG_MISDN_DRV=m CONFIG_MISDN_DSP=m CONFIG_MISDN_HFCUSB=m +default modules: + $(MAKE) -C $(KDIR) SUBDIRS=${PWD}/drivers/isdn/hardware/mISDN/ EXTRA_CFLAGS=-I${PWD}/include modules ${SELECTION} diff --git a/packages/mISDN/files/hfcs_usb_endianchecks.diff b/packages/mISDN/files/hfcs_usb_endianchecks.diff new file mode 100644 index 0000000000..1f6ff3fcc8 --- /dev/null +++ b/packages/mISDN/files/hfcs_usb_endianchecks.diff @@ -0,0 +1,58 @@ +--- mISDN.org/drivers/isdn/hardware/mISDN/hfcs_usb.c 2005-06-23 18:43:36.000000000 +0200 ++++ mISDN/drivers/isdn/hardware/mISDN/hfcs_usb.c 2005-08-12 16:16:24.000000000 +0200 +@@ -2038,9 +2038,9 @@ + + vend_idx = 0xffff; + for (i = 0; hfcsusb_idtab[i].idVendor; i++) { +- if (dev->descriptor.idVendor == hfcsusb_idtab[i].idVendor ++ if (dev->descriptor.idVendor == le16_to_cpu(hfcsusb_idtab[i].idVendor) + && dev->descriptor.idProduct == +- hfcsusb_idtab[i].idProduct) { ++ le16_to_cpu(hfcsusb_idtab[i].idProduct)) { + vend_idx = i; + continue; + } +@@ -2160,8 +2160,8 @@ + usb_transfer_mode + = USB_INT; + packet_size = +- ep->desc. +- wMaxPacketSize; ++ le16_to_cpu(ep->desc. ++ wMaxPacketSize); + break; + case USB_ENDPOINT_XFER_BULK: + if (ep_addr & 0x80) +@@ -2189,8 +2189,8 @@ + usb_transfer_mode + = USB_BULK; + packet_size = +- ep->desc. +- wMaxPacketSize; ++ le16_to_cpu(ep->desc. ++ wMaxPacketSize); + break; + case USB_ENDPOINT_XFER_ISOC: + if (ep_addr & 0x80) +@@ -2218,8 +2218,8 @@ + usb_transfer_mode + = USB_ISOC; + iso_packet_size = +- ep->desc. +- wMaxPacketSize; ++ le16_to_cpu(ep->desc. ++ wMaxPacketSize); + break; + default: + card-> +@@ -2234,8 +2234,8 @@ + card; + card->fifos[cidx]. + usb_packet_maxlen = +- ep->desc. +- wMaxPacketSize; ++ le16_to_cpu(ep->desc. ++ wMaxPacketSize); + card->fifos[cidx]. + intervall = + ep->desc.bInterval; diff --git a/packages/mISDN/misdn_cvs.bb b/packages/mISDN/misdn_cvs.bb new file mode 100644 index 0000000000..865e41b2f9 --- /dev/null +++ b/packages/mISDN/misdn_cvs.bb @@ -0,0 +1,35 @@ +DESCRIPTION = "mISDN kernel packages" +PRIORITY = "optional" +SECTION = "kernel/modules" +LICENSE = "GPL" +PR = "r0" + +DEFAULT_PREFERENCE = "-1" + +# hfcs_usb_endianchecks.diff does not apply cleanly anymore (cf. bug 240) +# without it the package at least compiles. no guarantees about functionality. +SRC_URI = "cvs://anonymous:readonly@cvs.isdn4linux.de/i4ldev;module=mISDN;method=pserver \ +# file://hfcs_usb_endianchecks.diff;patch=1 \ + file://Makefile" + +S = "${WORKDIR}/mISDN/" + +inherit module + +do_compile_prepend() { + cp -f ${WORKDIR}/Makefile ${S}/ + cp ${S}/drivers/isdn/hardware/mISDN/Makefile.v2.6 ${S}/drivers/isdn/hardware/mISDN/Makefile +} + +do_compile () { + unset CFLAGS CPPFLAGS CXXFLAGS LDFLAGS + oe_runmake 'KDIR=${STAGING_KERNEL_DIR}' \ + 'CC=${KERNEL_CC}' \ + 'LD=${KERNEL_LD}' +} + +do_install() { + install -d ${D}${base_libdir}/modules/${KERNEL_VERSION}/kernel/drivers/isdn/hardware/mISDN/ + install -m 0644 ${S}/drivers/isdn/hardware/mISDN/*${KERNEL_OBJECT_SUFFIX} ${D}${base_libdir}/modules/${KERNEL_VERSION}/kernel/drivers/isdn/hardware/mISDN +} + diff --git a/packages/ntp/ntp-ssl_4.1.2.bb b/packages/ntp/ntp-ssl_4.1.2.bb index 4e499ea4b7..dd8ca66f25 100644 --- a/packages/ntp/ntp-ssl_4.1.2.bb +++ b/packages/ntp/ntp-ssl_4.1.2.bb @@ -1,4 +1,4 @@ -require ntp_4.1.2.bb +require ntp_${PV}.bb DEPENDS = "openssl" PR = "r2" diff --git a/packages/ntp/ntp.inc b/packages/ntp/ntp.inc new file mode 100644 index 0000000000..5e8c75b4cb --- /dev/null +++ b/packages/ntp/ntp.inc @@ -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" +RRECOMMENDS = "iana-etc" + +SRC_URI = "http://www.eecis.udel.edu/~ntp/ntp_spool/ntp4/ntp-4.2/${P}.tar.gz \ + file://ipv6only-workaround.patch;patch=1 \ + file://ntpd \ + file://ntp.conf \ + file://ntpdate" + +inherit autotools update-rc.d + +# The ac_cv_header_readline_history is to stop ntpdc depending on either +# readline or curses +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-tickadj ntp-utils" +# NOTE: you don't need ntpdate, use "ntpdc -q -g -x" + +# This should use rc.update +FILES_ntpdate = "${bindir}/ntpdate ${sysconfdir}/init.d/ntpdate" diff --git a/packages/ntp/ntp_4.1.2.bb b/packages/ntp/ntp_4.1.2.bb index dc2d203690..4300b5bbe6 100644 --- a/packages/ntp/ntp_4.1.2.bb +++ b/packages/ntp/ntp_4.1.2.bb @@ -1,11 +1,5 @@ -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" +require ntp.inc + PR = "r4" SRC_URI = "http://www.eecis.udel.edu/~ntp/ntp_spool/ntp4/ntp-4.1/ntp-${PV}.tar.gz \ @@ -14,15 +8,6 @@ SRC_URI = "http://www.eecis.udel.edu/~ntp/ntp_spool/ntp4/ntp-4.1/ntp-${PV}.tar.g file://ntpdate \ file://ntp" -inherit autotools - -EXTRA_OECONF = "--without-openssl" -CFLAGS_append = " -DPTYS_ARE_GETPT -DPTYS_ARE_SEARCHED" - -PACKAGES =+ "ntpdate" - -FILES_ntpdate = "${bindir}/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.2.0.bb b/packages/ntp/ntp_4.2.0.bb index 0ce7e10ac9..116fe582af 100644 --- a/packages/ntp/ntp_4.2.0.bb +++ b/packages/ntp/ntp_4.2.0.bb @@ -1,11 +1,5 @@ -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" +require ntp.inc + PR = "r8" SRC_URI = "http://www.eecis.udel.edu/~ntp/ntp_spool/ntp4/ntp-4.2/${P}.tar.gz \ @@ -21,19 +15,8 @@ INITSCRIPT_NAME = "ntpd" # No dependencies, so just go in at the standard level (20) INITSCRIPT_PARAMS = "defaults" -inherit autotools update-rc.d - -# The ac_cv_header_readline_history is to stop ntpdc depending on either -# readline or curses -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-tickadj" -# 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 diff --git a/packages/ntp/ntp_4.2.2p3.bb b/packages/ntp/ntp_4.2.2p3.bb index de755824c9..cc7c377717 100644 --- a/packages/ntp/ntp_4.2.2p3.bb +++ b/packages/ntp/ntp_4.2.2p3.bb @@ -1,11 +1,4 @@ -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" +require ntp.inc SRC_URI = "http://www.eecis.udel.edu/~ntp/ntp_spool/ntp4/ntp-4.2/${P}.tar.gz \ file://ipv6only-workaround.patch;patch=1 \ @@ -18,19 +11,6 @@ INITSCRIPT_NAME = "ntpd" # No dependencies, so just go in at the standard level (20) INITSCRIPT_PARAMS = "defaults" -inherit autotools update-rc.d - -# The ac_cv_header_readline_history is to stop ntpdc depending on either -# readline or curses -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-tickadj ntp-utils" -# NOTE: you don't need ntpdate, use "ntpdc -q -g -x" - -# This should use rc.update -FILES_ntpdate = "${bindir}/ntpdate ${sysconfdir}/init.d/ntpdate" - # 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" |