From af8ec74a677aa9e7e5411ecc341a82480622ee74 Mon Sep 17 00:00:00 2001 From: John Bowler Date: Mon, 28 Nov 2005 07:17:55 +0000 Subject: nslu2-kernel: bug fix release 2.6.14.3 --- conf/distro/slugos.conf | 2 +- packages/linux/nslu2-kernel_2.6.14.2.bb | 40 --------------------------------- packages/linux/nslu2-kernel_2.6.14.3.bb | 40 +++++++++++++++++++++++++++++++++ 3 files changed, 41 insertions(+), 41 deletions(-) delete mode 100644 packages/linux/nslu2-kernel_2.6.14.2.bb create mode 100644 packages/linux/nslu2-kernel_2.6.14.3.bb diff --git a/conf/distro/slugos.conf b/conf/distro/slugos.conf index 6ea39e67b6..ff4be92a8c 100644 --- a/conf/distro/slugos.conf +++ b/conf/distro/slugos.conf @@ -164,7 +164,7 @@ PREFERRED_VERSION_glibc ?= "2.3.5+cvs20050627" # Select the correct versions of the kernel and modules (these are the # defaults, override in the conf/distro top-level distro file). PREFERRED_PROVIDER_virtual/kernel ?= "nslu2-kernel" -PREFERRED_VERSION_nslu2-kernel ?= "2.6.14.2" +PREFERRED_VERSION_nslu2-kernel ?= "2.6.14.3" # Built-in ethernet modules PREFERRED_PROVIDER_virtual/ixp-eth ?= "ixp400-eth" diff --git a/packages/linux/nslu2-kernel_2.6.14.2.bb b/packages/linux/nslu2-kernel_2.6.14.2.bb deleted file mode 100644 index 12b4bc7cb5..0000000000 --- a/packages/linux/nslu2-kernel_2.6.14.2.bb +++ /dev/null @@ -1,40 +0,0 @@ -# Kernel for NSLU2 -# -# Increment PR_CONFIG for changes to the nslu2-kernel specific -# defconfig (do *NOT* increment anything in here for changes -# to other kernel configs!) -PR_CONFIG = "0" -# -# Increment the number below (i.e. the digits after PR) when -# making changes within this file or for changes to the patches -# applied to the kernel. -PR = "r1.${PR_CONFIG}" - -include nslu2-kernel.inc - -# N2K_PATCHES - full list of patches to apply -N2K_PATCHES = "\ - file://90-ixp4xx-pci-le.patch;patch=1 \ - file://10-ixp4xx-copy-from.patch;patch=1 \ - file://10-ixp4xx-le.patch;patch=1 \ - file://10-mtdpart-redboot-fis-byteswap.patch;patch=1 \ - file://15-ixp4xx-writesb-l-w.patch;patch=1 \ - file://18-ixp4xx-io-h-addr.patch;patch=1 \ - file://19-jffs2-force-be.patch;patch=1 \ - file://29-ipv4-route-c-spinlock.patch;patch=1 \ - file://30-i2c-x1205.patch;patch=1 \ - file://50-nslu2-arch.patch;patch=1 \ - file://55-nslu2-rtc.patch;patch=1 \ - file://60-nslu2-beeper.patch;patch=1 \ - file://70-nslu2-io.patch;patch=1 \ - file://75-nslu2-leds.patch;patch=1 \ - file://90-pegasus.patch;patch=1 \ - file://20-timer.patch;patch=1 \ - file://anonymiser.patch;patch=1 \ -" - -# These options get added to the kernel command line, only put things -# specific to the bootstrap of *this* kernel in here - DISTRO specfic -# config must be in CMDLINE_ROOT (see the full definition of CMDLINE -# in nslu2-kernel.inc) -CMDLINE_KERNEL_OPTIONS = "x1205.hctosys=1" diff --git a/packages/linux/nslu2-kernel_2.6.14.3.bb b/packages/linux/nslu2-kernel_2.6.14.3.bb new file mode 100644 index 0000000000..eca0862724 --- /dev/null +++ b/packages/linux/nslu2-kernel_2.6.14.3.bb @@ -0,0 +1,40 @@ +# Kernel for NSLU2 +# +# Increment PR_CONFIG for changes to the nslu2-kernel specific +# defconfig (do *NOT* increment anything in here for changes +# to other kernel configs!) +PR_CONFIG = "0" +# +# Increment the number below (i.e. the digits after PR) when +# making changes within this file or for changes to the patches +# applied to the kernel. +PR = "r0.${PR_CONFIG}" + +include nslu2-kernel.inc + +# N2K_PATCHES - full list of patches to apply +N2K_PATCHES = "\ + file://90-ixp4xx-pci-le.patch;patch=1 \ + file://10-ixp4xx-copy-from.patch;patch=1 \ + file://10-ixp4xx-le.patch;patch=1 \ + file://10-mtdpart-redboot-fis-byteswap.patch;patch=1 \ + file://15-ixp4xx-writesb-l-w.patch;patch=1 \ + file://18-ixp4xx-io-h-addr.patch;patch=1 \ + file://19-jffs2-force-be.patch;patch=1 \ + file://29-ipv4-route-c-spinlock.patch;patch=1 \ + file://30-i2c-x1205.patch;patch=1 \ + file://50-nslu2-arch.patch;patch=1 \ + file://55-nslu2-rtc.patch;patch=1 \ + file://60-nslu2-beeper.patch;patch=1 \ + file://70-nslu2-io.patch;patch=1 \ + file://75-nslu2-leds.patch;patch=1 \ + file://90-pegasus.patch;patch=1 \ + file://20-timer.patch;patch=1 \ + file://anonymiser.patch;patch=1 \ +" + +# These options get added to the kernel command line, only put things +# specific to the bootstrap of *this* kernel in here - DISTRO specfic +# config must be in CMDLINE_ROOT (see the full definition of CMDLINE +# in nslu2-kernel.inc) +CMDLINE_KERNEL_OPTIONS = "x1205.hctosys=1" -- cgit v1.2.3 From 872ed8f1882bc54a002b836aa6b136cde76eb229 Mon Sep 17 00:00:00 2001 From: John Bowler Date: Mon, 28 Nov 2005 07:19:35 +0000 Subject: ez-ipupdate: release 3.0.10 - fully tested release with startup script and prototype config - file. This package will update a wide range of dynamic IP services. - Tested on zoneedit. --- packages/ez-ipupdate/.mtn2git_empty | 0 packages/ez-ipupdate/ez-ipupdate_3.0.10.bb | 32 ++++++++++++++++++++++ packages/ez-ipupdate/files/.mtn2git_empty | 0 packages/ez-ipupdate/files/conffile.patch | 10 +++++++ packages/ez-ipupdate/files/configure.patch | 11 ++++++++ packages/ez-ipupdate/files/init | 44 ++++++++++++++++++++++++++++++ packages/ez-ipupdate/files/ipupdate.conf | 36 ++++++++++++++++++++++++ packages/ez-ipupdate/files/zoneedit.patch | 11 ++++++++ 8 files changed, 144 insertions(+) create mode 100644 packages/ez-ipupdate/.mtn2git_empty create mode 100644 packages/ez-ipupdate/ez-ipupdate_3.0.10.bb create mode 100644 packages/ez-ipupdate/files/.mtn2git_empty create mode 100644 packages/ez-ipupdate/files/conffile.patch create mode 100644 packages/ez-ipupdate/files/configure.patch create mode 100644 packages/ez-ipupdate/files/init create mode 100644 packages/ez-ipupdate/files/ipupdate.conf create mode 100644 packages/ez-ipupdate/files/zoneedit.patch diff --git a/packages/ez-ipupdate/.mtn2git_empty b/packages/ez-ipupdate/.mtn2git_empty new file mode 100644 index 0000000000..e69de29bb2 diff --git a/packages/ez-ipupdate/ez-ipupdate_3.0.10.bb b/packages/ez-ipupdate/ez-ipupdate_3.0.10.bb new file mode 100644 index 0000000000..62cd506d9f --- /dev/null +++ b/packages/ez-ipupdate/ez-ipupdate_3.0.10.bb @@ -0,0 +1,32 @@ +# Angus Mackay's ez-ipupdate from www.ez-ipupdate.com +DESCRIPTION = "A client for automatically updating your EZ-IP.net, justlinux.com, dhs.org, dyndns.org, ods.org, gnudip.cheapnet.net, tzo.com, easydns.com dynamic hostname parameters. Includes daemon support that only sends updates if your IP address changes." +HOMEPAGE = "http://www.ez-ipupdate.com/" +MAINTAINER = "John Bowler " +SECTION = "console/network" +PRIORITY = "optional" +LICENSE = "GPL" +PR = "r0" + +SRC_URI = "http://www.ez-ipupdate.com/dist/ez-ipupdate-${PV}.tar.gz" +SRC_URI += "file://configure.patch;patch=1" +SRC_URI += "file://conffile.patch;patch=1" +SRC_URI += "file://zoneedit.patch;patch=1" +SRC_URI += "file://init" +SRC_URI += "file://ipupdate.conf" + +INITSCRIPT_NAME = "ipupdate" +# No dependencies, so just go in at the standard level (20) +INITSCRIPT_PARAMS = "defaults" + +# The configuration file must be editted... +CONFFILES_${PN} = "${sysconfdir}/ipupdate.conf" + +inherit autotools update-rc.d + +PACKAGES = "ez-ipupdate" + +do_install_append() { + install -d "${D}${sysconfdir}/init.d" + install -c -m 755 ${WORKDIR}/init "${D}${sysconfdir}/init.d/ipupdate" + install -c -m 644 ${WORKDIR}/ipupdate.conf "${D}${sysconfdir}/ipupdate.conf" +} diff --git a/packages/ez-ipupdate/files/.mtn2git_empty b/packages/ez-ipupdate/files/.mtn2git_empty new file mode 100644 index 0000000000..e69de29bb2 diff --git a/packages/ez-ipupdate/files/conffile.patch b/packages/ez-ipupdate/files/conffile.patch new file mode 100644 index 0000000000..41f8a0e73b --- /dev/null +++ b/packages/ez-ipupdate/files/conffile.patch @@ -0,0 +1,10 @@ +--- ez-ipupdate-3.0.10/conf_file.c.orig 2005-11-27 20:03:46.557322517 -0800 ++++ ez-ipupdate-3.0.10/conf_file.c 2005-11-27 20:03:15.519369422 -0800 +@@ -34,6 +34,7 @@ + #include + #include + #include ++#include + + #include + diff --git a/packages/ez-ipupdate/files/configure.patch b/packages/ez-ipupdate/files/configure.patch new file mode 100644 index 0000000000..e6a945e4b2 --- /dev/null +++ b/packages/ez-ipupdate/files/configure.patch @@ -0,0 +1,11 @@ +--- ez-ipupdate-3.0.10/Makefile.am.orig 2005-11-27 15:24:05.857379643 -0800 ++++ ez-ipupdate-3.0.10/Makefile.am 2005-11-27 19:35:58.832379202 -0800 +@@ -1,7 +1,6 @@ + + bin_PROGRAMS = ez-ipupdate +-ez_ipupdate_SOURCES = ez-ipupdate.c conf_file.c conf_file.h md5.c md5.h cache_file.c cache_file.h error.h pid_file.c pid_file.h dprintf.h @EXTRASRC@ +-ez_ipupdate_LDADD = @EXTRAOBJ@ ++ez_ipupdate_SOURCES = ez-ipupdate.c conf_file.c conf_file.h md5.c md5.h cache_file.c cache_file.h error.h pid_file.c pid_file.h dprintf.h + + EXTRA_DIST = getpass.c ez-ipupdate.lsm example.conf example-pgpow.conf example-dhs.conf example-dyndns.conf example-ods.conf example-tzo.conf example-gnudip.conf example-easydns.conf example-justlinux.conf example-dyns.conf CHANGELOG mkbinary + diff --git a/packages/ez-ipupdate/files/init b/packages/ez-ipupdate/files/init new file mode 100644 index 0000000000..031c33c79b --- /dev/null +++ b/packages/ez-ipupdate/files/init @@ -0,0 +1,44 @@ +#!/bin/sh +# +# ipupdate init.d script for ez-ipupdate +# +# You *must* create or update the /etc/ipupdate.conf file for +# this to work +CONF=/etc/ipupdate.conf +PIDFILE=/var/run/ipupdate.pid +test -x /usr/bin/ez-ipupdate -a -r "${CONF}" || exit 0 +if egrep '^service-type=$' "${CONF}" >/dev/null +then + # conf file not editted + exit 0 +fi + +case "$1" in + start) + echo -n "Starting ez-ipupdate: " + start-stop-daemon --start -x /usr/bin/ez-ipupdate -- -c "${CONF}" -d -F "${PIDFILE}" "$@" + echo "done" + ;; + stop) + echo -n "Stopping ez-ipupdate: " + start-stop-daemon --stop -s 3 -p "${PIDFILE}" + echo "done" + ;; + restart) + echo -n "Restarting ez-ipupdate: " + start-stop-daemon --stop -s 3 -p "${PIDFILE}" + start-stop-daemon --start -x /usr/bin/ez-ipupdate -- -c "${CONF}" -d -F "${PIDFILE}" "$@" + echo "done" + ;; + force-reload|reload) + # HUP causes a reload, a simple TERM causes the daemon + # to wake up and re-update the IP address + start-stop-daemon --stop -s 1 -p "${PIDFILE}" + ;; + *) + echo "Usage: ipupdate { start | stop | restart | reload }" >&2 + exit 1 + ;; +esac + +exit 0 diff --git a/packages/ez-ipupdate/files/ipupdate.conf b/packages/ez-ipupdate/files/ipupdate.conf new file mode 100644 index 0000000000..cbba491ef6 --- /dev/null +++ b/packages/ez-ipupdate/files/ipupdate.conf @@ -0,0 +1,36 @@ +#!/usr/bin/ez-ipupdate -c +# +# example config file for ez-ipupdate +# +# this file is actually executable! +# +#CHANGE this to the service name (ez-ipupdate --help for the list) +service-type= +#CHANGE this to the user name and password on the service +user=myuserid:mypassword +#CHANGE this to the domain name to update +host=mydomain.whatever.com +# +interface=eth0 +quiet +# +# other options: +#address= +#cache-file=/etc/ez-ipupdate.cache.eth1 +#daemon +#debug +#foreground +#host= +#interface= +#mx= +#retrys= +#run-as-user= +#server= +#timeout= +#max-interval=