diff options
author | nslu2-linux.adm@bkbits.net <nslu2-linux.adm@bkbits.net> | 2005-01-05 19:40:08 +0000 |
---|---|---|
committer | nslu2-linux.adm@bkbits.net <nslu2-linux.adm@bkbits.net> | 2005-01-05 19:40:08 +0000 |
commit | b112c1a8bc7dbb4d87c4d0c0a9dc305733fd3533 (patch) | |
tree | 5cbd4def504e8c4621ef53622a654dc75321f7e8 /packages | |
parent | 7c45869b0e91e9fe7da13619d197d164dad61ae3 (diff) |
Merge bk://oe-devel.bkbits.net/openembedded
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
Diffstat (limited to 'packages')
-rw-r--r-- | packages/dropbear/dropbear-0.44/use-urandom.patch | 0 | ||||
-rw-r--r-- | packages/dropbear/dropbear_0.44.bb | 59 | ||||
-rw-r--r-- | packages/gdb/gdb-6.3/uclibc.patch | 0 | ||||
-rw-r--r-- | packages/gdb/gdb_6.3.bb | 0 | ||||
-rw-r--r-- | packages/netbase/netbase/interfaces | 19 | ||||
-rw-r--r-- | packages/netbase/netbase_4.19.bb | 37 |
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" |