summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--packages/dropbear/dropbear-0.44/use-urandom.patch0
-rw-r--r--packages/dropbear/dropbear_0.44.bb59
-rw-r--r--packages/gdb/gdb-6.3/uclibc.patch0
-rw-r--r--packages/gdb/gdb_6.3.bb0
-rw-r--r--packages/netbase/netbase/interfaces19
-rw-r--r--packages/netbase/netbase_4.19.bb37
6 files changed, 115 insertions, 0 deletions
diff --git a/packages/dropbear/dropbear-0.44/use-urandom.patch b/packages/dropbear/dropbear-0.44/use-urandom.patch
new file mode 100644
index 0000000000..e69de29bb2
--- /dev/null
+++ b/packages/dropbear/dropbear-0.44/use-urandom.patch
diff --git a/packages/dropbear/dropbear_0.44.bb b/packages/dropbear/dropbear_0.44.bb
index e69de29bb2..64ee5aa40e 100644
--- a/packages/dropbear/dropbear_0.44.bb
+++ b/packages/dropbear/dropbear_0.44.bb
@@ -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
index 0000000000..e69de29bb2
--- /dev/null
+++ b/packages/gdb/gdb-6.3/uclibc.patch
diff --git a/packages/gdb/gdb_6.3.bb b/packages/gdb/gdb_6.3.bb
new file mode 100644
index 0000000000..e69de29bb2
--- /dev/null
+++ b/packages/gdb/gdb_6.3.bb
diff --git a/packages/netbase/netbase/interfaces b/packages/netbase/netbase/interfaces
index e69de29bb2..7768ea298a 100644
--- a/packages/netbase/netbase/interfaces
+++ b/packages/netbase/netbase/interfaces
@@ -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
+
diff --git a/packages/netbase/netbase_4.19.bb b/packages/netbase/netbase_4.19.bb
index e69de29bb2..3e59ab5c55 100644
--- a/packages/netbase/netbase_4.19.bb
+++ b/packages/netbase/netbase_4.19.bb
@@ -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"