Merge bk://oe-devel.bkbits.net/openembedded
authornslu2-linux.adm@bkbits.net <nslu2-linux.adm@bkbits.net>
Wed, 5 Jan 2005 19:40:08 +0000 (19:40 +0000)
committernslu2-linux.adm@bkbits.net <nslu2-linux.adm@bkbits.net>
Wed, 5 Jan 2005 19:40:08 +0000 (19:40 +0000)
into bkbits.net:/repos/n/nslu2-linux/openembedded

2005/01/05 19:36:45+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/05 19:36:34+00:00 nexus.co.uk!pb
update gdb to 6.3

2005/01/05 20:09:24+01:00 uni-frankfurt.de!mickeyl
Merge bk://oe-devel@oe-devel.bkbits.net/openembedded
into r2d2.tm.informatik.uni-frankfurt.de:/local/pkg/oe/packages

2005/01/05 20:08:55+01:00 uni-frankfurt.de!mickeyl
switch dropbear 0.44 back to using /dev/urandom. It's less secure, but faster

2005/01/05 10:54:32-08:00 (none)!ggilbert
netbase_4.19.bb:
  netbase: Bump pr for interfaces file change
interfaces:
  netbase: Addess essid=any to interfaces file.
  Wireless Access points should now auto associate
  when using hostap

BKrev: 41dc4298tJ4DowLLlgompjeJuNGu0Q

packages/dropbear/dropbear-0.44/use-urandom.patch [new file with mode: 0644]
packages/dropbear/dropbear_0.44.bb
packages/gdb/gdb-6.3/uclibc.patch [new file with mode: 0644]
packages/gdb/gdb_6.3.bb [new file with mode: 0644]
packages/netbase/netbase/interfaces
packages/netbase/netbase_4.19.bb

diff --git a/packages/dropbear/dropbear-0.44/use-urandom.patch b/packages/dropbear/dropbear-0.44/use-urandom.patch
new file mode 100644 (file)
index 0000000..e69de29
index e69de29..64ee5aa 100644 (file)
@@ -0,0 +1,59 @@
+DESCRIPTION = "Dropbear is a lightweight SSH and SCP Implementation"
+SECTION = "console/network"
+LICENSE = "MIT"
+DEPENDS = "zlib"
+PR = "r1"
+
+SRC_URI = "http://matt.ucc.asn.au/dropbear/releases/dropbear-${PV}.tar.bz2 \
+          file://use-urandom.patch;patch=1 \
+          file://configure.patch;patch=1 \
+          file://allow-nopw.patch;patch=1 \
+          file://xauth-path.patch;patch=1 \
+          file://init"
+
+inherit autotools update-rc.d
+
+INITSCRIPT_NAME = "dropbear"
+INITSCRIPT_PARAMS = "defaults 10"
+
+CFLAGS_prepend = "-I. "
+LD = "${CC}"
+
+SBINCOMMANDS = "dropbear dropbearkey dropbearconvert"
+BINCOMMANDS = "dbclient ssh scp"
+EXTRA_OEMAKE = 'MULTI=1 SCPPROGRESS=1 PROGRAMS="${SBINCOMMANDS} ${BINCOMMANDS}"'
+
+do_install() {
+       install -d ${D}/${sysconfdir} \
+                  ${D}/${sysconfdir}/init.d \
+                  ${D}/${sysconfdir}/default \
+                  ${D}/${sysconfdir}/dropbear \
+                   ${D}/${bindir} \
+                  ${D}/${sbindir} \
+                  ${D}/${localstatedir}
+
+       install -m 0755 dropbearmulti ${D}/${sbindir}/
+       for i in ${BINCOMMANDS}
+       do
+               ln -s ${sbindir}/dropbearmulti ${D}/${bindir}/$i
+       done
+       for i in ${SBINCOMMANDS}
+       do
+               ln -s ./dropbearmulti ${D}/${sbindir}/$i
+       done
+       cat ${WORKDIR}/init | sed -e 's,/etc,${sysconfdir},g' \
+                                 -e 's,/usr/sbin,${sbindir},g' \
+                                 -e 's,/var,${localstatedir},g' \
+                                 -e 's,/usr/bin,${bindir},g' \
+                                 -e 's,/usr,${prefix},g' > ${D}/${sysconfdir}/init.d/dropbear
+       chmod 755 ${D}/${sysconfdir}/init.d/dropbear
+}
+
+pkg_postrm_append () {
+  if [ -f "${sysconfdir}/dropbear/dropbear_rsa_host_key" ]; then
+        rm ${sysconfdir}/dropbear/dropbear_rsa_host_key
+  fi
+  if [ -f "${sysconfdir}/dropbear/dropbear_dss_host_key" ]; then
+        rm ${sysconfdir}/dropbear/dropbear_dss_host_key
+  fi
+}
diff --git a/packages/gdb/gdb-6.3/uclibc.patch b/packages/gdb/gdb-6.3/uclibc.patch
new file mode 100644 (file)
index 0000000..e69de29
diff --git a/packages/gdb/gdb_6.3.bb b/packages/gdb/gdb_6.3.bb
new file mode 100644 (file)
index 0000000..e69de29
index e69de29..7768ea2 100644 (file)
@@ -0,0 +1,19 @@
+# /etc/network/interfaces -- configuration file for ifup(8), ifdown(8)
+# The loopback interface
+auto lo
+iface lo inet loopback
+
+# Wireless interfaces
+iface wlan0 inet dhcp
+wireless_mode managed
+wireless_essid any
+iface atml0 inet dhcp
+
+# Wired or wireless interfaces
+iface eth0 inet dhcp
+iface eth1 inet dhcp
+
+# Zaurus usbnet
+iface usbd0 inet dhcp
+
index e69de29..3e59ab5 100644 (file)
@@ -0,0 +1,37 @@
+SECTION = "base"
+DESCRIPTION = "This package provides the necessary \
+infrastructure for basic TCP/IP based networking."
+LICENSE = "GPL"
+PR = "r3"
+
+inherit update-rc.d
+
+INITSCRIPT_NAME = "networking"
+INITSCRIPT_PARAMS = "start 40 S . stop 40 0 6 1 ."
+
+SRC_URI = "${DEBIAN_MIRROR}/main/n/netbase/netbase_${PV}.tar.gz \
+           file://options \
+           file://init \
+           file://hosts \
+           file://interfaces"
+
+do_install () {
+       install -d ${D}/${sysconfdir}/init.d \
+                  ${D}/${sbindir} \
+                  ${D}/${mandir}/man8 \
+                  ${D}/${sysconfdir}/network/if-pre-up.d \
+                  ${D}/${sysconfdir}/network/if-up.d \
+                  ${D}/${sysconfdir}/network/if-down.d \
+                  ${D}/${sysconfdir}/network/if-post-down.d
+       install -m 0644 ${WORKDIR}/options ${D}/${sysconfdir}/network/options
+       install -m 0755 ${WORKDIR}/init ${D}/${sysconfdir}/init.d/networking
+       install -m 0644 ${WORKDIR}/hosts ${D}/${sysconfdir}/hosts
+       install -m 0644 etc-rpc ${D}/${sysconfdir}/rpc
+       install -m 0644 etc-protocols ${D}/${sysconfdir}/protocols
+       install -m 0644 etc-services ${D}/${sysconfdir}/services
+       install -m 0755 update-inetd ${D}/${sbindir}/
+       install -m 0644 update-inetd.8 ${D}/${mandir}/man8/
+       install -m 0644 ${WORKDIR}/interfaces ${D}/${sysconfdir}/network/interfaces
+}
+
+CONFFILES_${PN}_nylon = "${sysconfdir}/network/options ${sysconfdir}/hosts ${sysconfdir}/network/interfaces"