From 70cf61304effae35faedc1030374be12e3727712 Mon Sep 17 00:00:00 2001 From: Marcin Juszkiewicz Date: Thu, 4 Jan 2007 07:50:23 +0000 Subject: syslinux: fix SRC_URI --- packages/syslinux/syslinux-native_3.11.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'packages') diff --git a/packages/syslinux/syslinux-native_3.11.bb b/packages/syslinux/syslinux-native_3.11.bb index 90395a7ab2..5a587f2921 100644 --- a/packages/syslinux/syslinux-native_3.11.bb +++ b/packages/syslinux/syslinux-native_3.11.bb @@ -8,7 +8,7 @@ LICENSE="GPL" PR="r1" -SRC_URI="${KERNELORG_MIRROR}/pub/linux/utils/boot/syslinux/syslinux-${PV}.tar.bz2 " +SRC_URI="${KERNELORG_MIRROR}/pub/linux/utils/boot/syslinux/Old/syslinux-${PV}.tar.bz2 " S="${WORKDIR}/syslinux-${PV}" -- cgit v1.2.3 From 0f9d542422a9a6367eac8c67381e8f12d407ec5d Mon Sep 17 00:00:00 2001 From: Marcin Juszkiewicz Date: Thu, 4 Jan 2007 07:55:52 +0000 Subject: syslinux: unify --- packages/syslinux/syslinux-native_2.11.bb | 36 ++----------------------------- packages/syslinux/syslinux-native_3.11.bb | 17 +-------------- packages/syslinux/syslinux.inc | 33 ++++++++++++++++++++++++++++ 3 files changed, 36 insertions(+), 50 deletions(-) create mode 100644 packages/syslinux/syslinux.inc (limited to 'packages') diff --git a/packages/syslinux/syslinux-native_2.11.bb b/packages/syslinux/syslinux-native_2.11.bb index 3d0c5e5ad8..fc41678dc6 100644 --- a/packages/syslinux/syslinux-native_2.11.bb +++ b/packages/syslinux/syslinux-native_2.11.bb @@ -1,38 +1,6 @@ -# syslinux-native OE build file -# Copyright (C) 2004-2006, Advanced Micro Devices, Inc. All Rights Reserved -# Released under the MIT license (see packages/COPYING) - -DESCRIPTION="A multi-purpose linux bootloader" -HOMEPAGE="http://syslinux.zytor.com/" -LICENSE="GPL" - PR="r1" SRC_URI="${KERNELORG_MIRROR}/pub/linux/utils/boot/syslinux/Old/syslinux-${PV}.tar.bz2 \ -file://edx_assume_zero.patch;patch=1" - -S="${WORKDIR}/syslinux-${PV}" - -# If you really want to run syslinux, you need mtools. We just want the -# ldlinux.* stuff for now, so skip mtools-native - -DEPENDS="nasm-native" - -inherit native - -do_compile() { - oe_runmake syslinux -} - -do_stage() { - install -d ${STAGING_BINDIR} - install -m 755 ${S}/syslinux ${STAGING_BINDIR} - - # When building media, the syslinux binary isn't nearly as useful - # as the DOS data files, so we copy those into a special location - # for usage during a image build stage + file://edx_assume_zero.patch;patch=1" - install -d ${STAGING_DATADIR}/syslinux - install -m 644 ${S}/ldlinux.sys ${STAGING_DATADIR}/syslinux/ldlinux.sys - install -m 644 ${S}/ldlinux.bss ${STAGING_DATADIR}/syslinux/ldlinux.bss -} +require syslinux.inc diff --git a/packages/syslinux/syslinux-native_3.11.bb b/packages/syslinux/syslinux-native_3.11.bb index 5a587f2921..a33ef75c9b 100644 --- a/packages/syslinux/syslinux-native_3.11.bb +++ b/packages/syslinux/syslinux-native_3.11.bb @@ -1,23 +1,8 @@ -# syslinux-native OE build file -# Copyright (C) 2004-2006, Advanced Micro Devices, Inc. All Rights Reserved -# Released under the MIT license (see packages/COPYING) - -DESCRIPTION="A multi-purpose linux bootloader" -HOMEPAGE="http://syslinux.zytor.com/" -LICENSE="GPL" - PR="r1" SRC_URI="${KERNELORG_MIRROR}/pub/linux/utils/boot/syslinux/Old/syslinux-${PV}.tar.bz2 " -S="${WORKDIR}/syslinux-${PV}" - -# If you really want to run syslinux, you need mtools. We just want the -# ldlinux.* stuff for now, so skip mtools-native - -DEPENDS="nasm-native" - -inherit native +require syslinux.inc STAGE_TEMP="${WORKDIR}/stage_temp" diff --git a/packages/syslinux/syslinux.inc b/packages/syslinux/syslinux.inc new file mode 100644 index 0000000000..2753f166cd --- /dev/null +++ b/packages/syslinux/syslinux.inc @@ -0,0 +1,33 @@ +# syslinux-native OE build file +# Copyright (C) 2004-2006, Advanced Micro Devices, Inc. All Rights Reserved +# Released under the MIT license (see packages/COPYING) + +DESCRIPTION="A multi-purpose linux bootloader" +HOMEPAGE="http://syslinux.zytor.com/" +LICENSE="GPL" + +# If you really want to run syslinux, you need mtools. We just want the +# ldlinux.* stuff for now, so skip mtools-native +DEPENDS="nasm-native" + +S="${WORKDIR}/syslinux-${PV}" + + +inherit native + +do_compile() { + oe_runmake syslinux +} + +do_stage() { + install -d ${STAGING_BINDIR} + install -m 755 ${S}/syslinux ${STAGING_BINDIR} + + # When building media, the syslinux binary isn't nearly as useful + # as the DOS data files, so we copy those into a special location + # for usage during a image build stage + + install -d ${STAGING_DATADIR}/syslinux + install -m 644 ${S}/ldlinux.sys ${STAGING_DATADIR}/syslinux/ldlinux.sys + install -m 644 ${S}/ldlinux.bss ${STAGING_DATADIR}/syslinux/ldlinux.bss +} -- cgit v1.2.3 From 842f7bcf3e851d855647fd63627653d1fcc09dae Mon Sep 17 00:00:00 2001 From: Marcin Juszkiewicz Date: Thu, 4 Jan 2007 08:09:31 +0000 Subject: syslinux: added 3.31, fixed previous commit, unified --- packages/syslinux/syslinux-native_2.11.bb | 4 ++++ packages/syslinux/syslinux-native_3.11.bb | 21 +-------------------- packages/syslinux/syslinux-native_3.31.bb | 3 +++ packages/syslinux/syslinux.inc | 4 ---- packages/syslinux/syslinux3.inc | 20 ++++++++++++++++++++ 5 files changed, 28 insertions(+), 24 deletions(-) create mode 100644 packages/syslinux/syslinux-native_3.31.bb create mode 100644 packages/syslinux/syslinux3.inc (limited to 'packages') diff --git a/packages/syslinux/syslinux-native_2.11.bb b/packages/syslinux/syslinux-native_2.11.bb index fc41678dc6..a05728f0a5 100644 --- a/packages/syslinux/syslinux-native_2.11.bb +++ b/packages/syslinux/syslinux-native_2.11.bb @@ -4,3 +4,7 @@ SRC_URI="${KERNELORG_MIRROR}/pub/linux/utils/boot/syslinux/Old/syslinux-${PV}.ta file://edx_assume_zero.patch;patch=1" require syslinux.inc + +do_compile() { + oe_runmake syslinux +} diff --git a/packages/syslinux/syslinux-native_3.11.bb b/packages/syslinux/syslinux-native_3.11.bb index a33ef75c9b..28d750aab5 100644 --- a/packages/syslinux/syslinux-native_3.11.bb +++ b/packages/syslinux/syslinux-native_3.11.bb @@ -2,23 +2,4 @@ PR="r1" SRC_URI="${KERNELORG_MIRROR}/pub/linux/utils/boot/syslinux/Old/syslinux-${PV}.tar.bz2 " -require syslinux.inc - -STAGE_TEMP="${WORKDIR}/stage_temp" - -do_stage() { - install -d ${STAGE_TEMP} - oe_runmake install INSTALLROOT="${STAGE_TEMP}" - - install -d ${STAGING_BINDIR} - install -m 755 ${STAGE_TEMP}/usr/bin/syslinux ${STAGING_BINDIR} - - # When building media, the syslinux binary isn't nearly as useful - # as the DOS data files, so we copy those into a special location - # for usage during a image build stage - - install -d ${STAGING_DATADIR}/syslinux - install -m 0644 ${STAGE_TEMP}/usr/lib/syslinux/isolinux.bin ${STAGING_DATADIR}/syslinux/isolinux.bin - install -m 644 ${S}/ldlinux.sys ${STAGING_DATADIR}/syslinux/ldlinux.sys - install -m 644 ${S}/ldlinux.bss ${STAGING_DATADIR}/syslinux/ldlinux.bss -} +require syslinux3.inc diff --git a/packages/syslinux/syslinux-native_3.31.bb b/packages/syslinux/syslinux-native_3.31.bb new file mode 100644 index 0000000000..6971874ea3 --- /dev/null +++ b/packages/syslinux/syslinux-native_3.31.bb @@ -0,0 +1,3 @@ +SRC_URI="${KERNELORG_MIRROR}/pub/linux/utils/boot/syslinux/syslinux-${PV}.tar.bz2 " + +require syslinux3.inc diff --git a/packages/syslinux/syslinux.inc b/packages/syslinux/syslinux.inc index 2753f166cd..41be168d12 100644 --- a/packages/syslinux/syslinux.inc +++ b/packages/syslinux/syslinux.inc @@ -15,10 +15,6 @@ S="${WORKDIR}/syslinux-${PV}" inherit native -do_compile() { - oe_runmake syslinux -} - do_stage() { install -d ${STAGING_BINDIR} install -m 755 ${S}/syslinux ${STAGING_BINDIR} diff --git a/packages/syslinux/syslinux3.inc b/packages/syslinux/syslinux3.inc new file mode 100644 index 0000000000..25942aab84 --- /dev/null +++ b/packages/syslinux/syslinux3.inc @@ -0,0 +1,20 @@ +require syslinux.inc + +STAGE_TEMP="${WORKDIR}/stage_temp" + +do_stage() { + install -d ${STAGE_TEMP} + oe_runmake install INSTALLROOT="${STAGE_TEMP}" + + install -d ${STAGING_BINDIR} + install -m 755 ${STAGE_TEMP}/usr/bin/syslinux ${STAGING_BINDIR} + + # When building media, the syslinux binary isn't nearly as useful + # as the DOS data files, so we copy those into a special location + # for usage during a image build stage + + install -d ${STAGING_DATADIR}/syslinux + install -m 0644 ${STAGE_TEMP}/usr/lib/syslinux/isolinux.bin ${STAGING_DATADIR}/syslinux/isolinux.bin + install -m 644 ${S}/ldlinux.sys ${STAGING_DATADIR}/syslinux/ldlinux.sys + install -m 644 ${S}/ldlinux.bss ${STAGING_DATADIR}/syslinux/ldlinux.bss +} -- cgit v1.2.3 From 72b1c191434a2aa522adc2861abcfc585687853b Mon Sep 17 00:00:00 2001 From: Marcin Juszkiewicz Date: Thu, 4 Jan 2007 08:19:31 +0000 Subject: ifupdown: updated to 0.6.8 (current Debian version) --- packages/ifupdown/ifupdown-0.6.4/.mtn2git_empty | 0 packages/ifupdown/ifupdown-0.6.4/busybox.patch | 20 ------------- packages/ifupdown/ifupdown-0.6.4/gcc34-fix.patch | 16 ----------- packages/ifupdown/ifupdown-0.6.4/head-tail.patch | 14 --------- packages/ifupdown/ifupdown-0.6.4/init | 13 --------- packages/ifupdown/ifupdown-0.6.4/interfaces | 2 -- packages/ifupdown/ifupdown-0.6.4/udhcpc.patch | 26 ----------------- packages/ifupdown/ifupdown-0.6.4/zeroconf.patch | 21 -------------- packages/ifupdown/ifupdown-0.6.8/.mtn2git_empty | 0 packages/ifupdown/ifupdown-0.6.8/busybox.patch | 20 +++++++++++++ packages/ifupdown/ifupdown-0.6.8/head-tail.patch | 14 +++++++++ packages/ifupdown/ifupdown-0.6.8/init | 13 +++++++++ packages/ifupdown/ifupdown-0.6.8/interfaces | 2 ++ packages/ifupdown/ifupdown-0.6.8/udhcpc.patch | 28 ++++++++++++++++++ packages/ifupdown/ifupdown-0.6.8/zeroconf.patch | 21 ++++++++++++++ packages/ifupdown/ifupdown_0.6.4.bb | 36 ------------------------ packages/ifupdown/ifupdown_0.6.8.bb | 36 ++++++++++++++++++++++++ 17 files changed, 134 insertions(+), 148 deletions(-) delete mode 100644 packages/ifupdown/ifupdown-0.6.4/.mtn2git_empty delete mode 100644 packages/ifupdown/ifupdown-0.6.4/busybox.patch delete mode 100644 packages/ifupdown/ifupdown-0.6.4/gcc34-fix.patch delete mode 100644 packages/ifupdown/ifupdown-0.6.4/head-tail.patch delete mode 100644 packages/ifupdown/ifupdown-0.6.4/init delete mode 100644 packages/ifupdown/ifupdown-0.6.4/interfaces delete mode 100644 packages/ifupdown/ifupdown-0.6.4/udhcpc.patch delete mode 100644 packages/ifupdown/ifupdown-0.6.4/zeroconf.patch create mode 100644 packages/ifupdown/ifupdown-0.6.8/.mtn2git_empty create mode 100644 packages/ifupdown/ifupdown-0.6.8/busybox.patch create mode 100644 packages/ifupdown/ifupdown-0.6.8/head-tail.patch create mode 100644 packages/ifupdown/ifupdown-0.6.8/init create mode 100644 packages/ifupdown/ifupdown-0.6.8/interfaces create mode 100644 packages/ifupdown/ifupdown-0.6.8/udhcpc.patch create mode 100644 packages/ifupdown/ifupdown-0.6.8/zeroconf.patch delete mode 100644 packages/ifupdown/ifupdown_0.6.4.bb create mode 100644 packages/ifupdown/ifupdown_0.6.8.bb (limited to 'packages') diff --git a/packages/ifupdown/ifupdown-0.6.4/.mtn2git_empty b/packages/ifupdown/ifupdown-0.6.4/.mtn2git_empty deleted file mode 100644 index e69de29bb2..0000000000 diff --git a/packages/ifupdown/ifupdown-0.6.4/busybox.patch b/packages/ifupdown/ifupdown-0.6.4/busybox.patch deleted file mode 100644 index 5619ab7c0a..0000000000 --- a/packages/ifupdown/ifupdown-0.6.4/busybox.patch +++ /dev/null @@ -1,20 +0,0 @@ - -# -# Patch managed by http://www.mn-logistik.de/unsupported/pxa250/patcher -# - ---- ifupdown-0.6.4/inet.defn~busybox -+++ ifupdown-0.6.4/inet.defn -@@ -116,8 +116,8 @@ - options - provider name -- Use /name/ as the provider (from /etc/ppp/peers). - up -- /sbin/start-stop-daemon --start -x /usr/bin/wvdial \ -- -p /var/run/wvdial.%iface% -b -m -- [[ %provider% ]] -+ /sbin/start-stop-daemon -S -x /usr/bin/wvdial \ -+ -p /var/run/wvdial.%iface% -- [[ %provider% ]] - down -- /sbin/start-stop-daemon --stop -x /usr/bin/wvdial \ -- -p /var/run/wvdial.%iface% -s 2 -+ /sbin/start-stop-daemon -X -x /usr/bin/wvdial \ -+ -p /var/run/wvdial.%iface% diff --git a/packages/ifupdown/ifupdown-0.6.4/gcc34-fix.patch b/packages/ifupdown/ifupdown-0.6.4/gcc34-fix.patch deleted file mode 100644 index f90e312694..0000000000 --- a/packages/ifupdown/ifupdown-0.6.4/gcc34-fix.patch +++ /dev/null @@ -1,16 +0,0 @@ - -# -# Patch managed by http://www.mn-logistik.de/unsupported/pxa250/patcher -# - ---- ifupdown-0.6.4/execute.c~gcc34-fix 2004-04-28 00:16:45.000000000 +0200 -+++ ifupdown-0.6.4/execute.c 2004-04-28 00:17:11.000000000 +0200 -@@ -167,7 +167,7 @@ - case 0: /* child */ - execle("/bin/sh", "/bin/sh", "-c", str, NULL, environ); - exit(127); -- default: /* parent */ -+ default:; /* parent */ - } - waitpid(child, &status, 0); - if (!WIFEXITED(status) || WEXITSTATUS(status) != 0) \ No newline at end of file diff --git a/packages/ifupdown/ifupdown-0.6.4/head-tail.patch b/packages/ifupdown/ifupdown-0.6.4/head-tail.patch deleted file mode 100644 index a86a25d2fb..0000000000 --- a/packages/ifupdown/ifupdown-0.6.4/head-tail.patch +++ /dev/null @@ -1,14 +0,0 @@ ---- ifupdown-0.6.4/Makefile~ 2000-11-18 07:12:01.000000000 +0000 -+++ ifupdown-0.6.4/Makefile 2004-04-24 11:06:58.000000000 +0100 -@@ -46,9 +46,9 @@ - LINE=$$(grep -n '^##ADDRESSFAM##$$' $< | sed 's/:.*//g'); \ - WC=`wc -l < $<`; \ - ( \ -- head -$$(($$LINE - 1)) $<; \ -+ head -n $$(($$LINE - 1)) $<; \ - cat $(MAN); \ -- tail -$$(($$WC - $$LINE)) $<; \ -+ tail -n $$(($$WC - $$LINE)) $<; \ - ) > $@ - - ifdown.8: ifup.8 diff --git a/packages/ifupdown/ifupdown-0.6.4/init b/packages/ifupdown/ifupdown-0.6.4/init deleted file mode 100644 index d258d51ff4..0000000000 --- a/packages/ifupdown/ifupdown-0.6.4/init +++ /dev/null @@ -1,13 +0,0 @@ -#!/bin/sh -e - -case "$1" in - start|restart) - if [ -e /etc/network/ifstate ]; then - echo -n "Cleaning: /etc/network/ifstate" - echo -n >/etc/network/ifstate - echo "." - fi - ;; - stop|reload|force-reload) - ;; -esac diff --git a/packages/ifupdown/ifupdown-0.6.4/interfaces b/packages/ifupdown/ifupdown-0.6.4/interfaces deleted file mode 100644 index f1bd92ed2b..0000000000 --- a/packages/ifupdown/ifupdown-0.6.4/interfaces +++ /dev/null @@ -1,2 +0,0 @@ -auto lo -iface lo inet loopback diff --git a/packages/ifupdown/ifupdown-0.6.4/udhcpc.patch b/packages/ifupdown/ifupdown-0.6.4/udhcpc.patch deleted file mode 100644 index 39a6b3349d..0000000000 --- a/packages/ifupdown/ifupdown-0.6.4/udhcpc.patch +++ /dev/null @@ -1,26 +0,0 @@ ---- ifupdown/inet.defn.orig 2004-04-29 20:16:07.000000000 +0200 -+++ ifupdown/inet.defn 2004-04-29 20:16:13.000000000 +0200 -@@ -81,8 +81,7 @@ - elsif (execable("/sbin/dhclient")) - pump -i %iface% [[-h %hostname%]] [[-l %leasehours%]] \ - elsif (execable("/sbin/pump") && mylinuxver() >= mylinux(2,1,100)) -- udhcpc -n -p /var/run/udhcpc.%iface%.pid -i %iface% [[-H %hostname%]] \ -- [[-c %clientid%]] \ -+ udhcpc -b -p /var/run/udhcpc.%iface%.pid -i %iface% -H `cat /etc/hostname` \ - elsif (execable("/sbin/udhcpc") && mylinuxver() >= mylinux(2,2,0)) - dhcpcd [[-h %hostname%]] [[-i %vendor%]] [[-I %clientid%]] \ - [[-l %leasetime%]] %iface% \ -@@ -91,11 +90,11 @@ - down - dhclient3 -r -pf /var/run/dhclient.%iface%.pid -lf /var/run/dhclient.%iface%.leases %iface% \ - if (execable("/sbin/dhclient3")) -- cat /var/run/dhclient.%iface%.pid | xargs -i kill -TERM {} \ -+ kill -TERM `cat /var/run/dhclient.%iface%.pid` \ - elsif (execable("/sbin/dhclient")) - pump -i %iface% -r \ - elsif (execable("/sbin/pump") && mylinuxver() >= mylinux(2,1,100)) -- cat /var/run/udhcpc.%iface%.pid | xargs -i kill -TERM {} \ -+ kill -TERM `cat /var/run/udhcpc.%iface%.pid` \ - elsif (execable("/sbin/udhcpc")) - dhcpcd -k %iface% \ - elsif (execable("/sbin/dhcpcd")) \ No newline at end of file diff --git a/packages/ifupdown/ifupdown-0.6.4/zeroconf.patch b/packages/ifupdown/ifupdown-0.6.4/zeroconf.patch deleted file mode 100644 index 33745db6ff..0000000000 --- a/packages/ifupdown/ifupdown-0.6.4/zeroconf.patch +++ /dev/null @@ -1,21 +0,0 @@ - -# -# Patch managed by http://www.mn-logistik.de/unsupported/pxa250/patcher -# - ---- ifupdown-0.6.4/inet.defn~zeroconf -+++ ifupdown-0.6.4/inet.defn -@@ -120,3 +120,13 @@ - down - /sbin/start-stop-daemon -X -x /usr/bin/wvdial \ - -p /var/run/wvdial.%iface% -+ -+method zeroconf -+ description -+ This method uses zeroconf to configure an interface. See the man page -+ for zcip for details. -+ up -+ /sbin/start-stop-daemon -S -x /usr/sbin/zcip -p /var/run/zcip.%iface% \ -+ -- -s -i %iface% -+ down -+ /sbin/start-stop-daemon -X -x /usr/sbin/zcip -p /var/run/zcip.%iface% diff --git a/packages/ifupdown/ifupdown-0.6.8/.mtn2git_empty b/packages/ifupdown/ifupdown-0.6.8/.mtn2git_empty new file mode 100644 index 0000000000..e69de29bb2 diff --git a/packages/ifupdown/ifupdown-0.6.8/busybox.patch b/packages/ifupdown/ifupdown-0.6.8/busybox.patch new file mode 100644 index 0000000000..5619ab7c0a --- /dev/null +++ b/packages/ifupdown/ifupdown-0.6.8/busybox.patch @@ -0,0 +1,20 @@ + +# +# Patch managed by http://www.mn-logistik.de/unsupported/pxa250/patcher +# + +--- ifupdown-0.6.4/inet.defn~busybox ++++ ifupdown-0.6.4/inet.defn +@@ -116,8 +116,8 @@ + options + provider name -- Use /name/ as the provider (from /etc/ppp/peers). + up +- /sbin/start-stop-daemon --start -x /usr/bin/wvdial \ +- -p /var/run/wvdial.%iface% -b -m -- [[ %provider% ]] ++ /sbin/start-stop-daemon -S -x /usr/bin/wvdial \ ++ -p /var/run/wvdial.%iface% -- [[ %provider% ]] + down +- /sbin/start-stop-daemon --stop -x /usr/bin/wvdial \ +- -p /var/run/wvdial.%iface% -s 2 ++ /sbin/start-stop-daemon -X -x /usr/bin/wvdial \ ++ -p /var/run/wvdial.%iface% diff --git a/packages/ifupdown/ifupdown-0.6.8/head-tail.patch b/packages/ifupdown/ifupdown-0.6.8/head-tail.patch new file mode 100644 index 0000000000..a86a25d2fb --- /dev/null +++ b/packages/ifupdown/ifupdown-0.6.8/head-tail.patch @@ -0,0 +1,14 @@ +--- ifupdown-0.6.4/Makefile~ 2000-11-18 07:12:01.000000000 +0000 ++++ ifupdown-0.6.4/Makefile 2004-04-24 11:06:58.000000000 +0100 +@@ -46,9 +46,9 @@ + LINE=$$(grep -n '^##ADDRESSFAM##$$' $< | sed 's/:.*//g'); \ + WC=`wc -l < $<`; \ + ( \ +- head -$$(($$LINE - 1)) $<; \ ++ head -n $$(($$LINE - 1)) $<; \ + cat $(MAN); \ +- tail -$$(($$WC - $$LINE)) $<; \ ++ tail -n $$(($$WC - $$LINE)) $<; \ + ) > $@ + + ifdown.8: ifup.8 diff --git a/packages/ifupdown/ifupdown-0.6.8/init b/packages/ifupdown/ifupdown-0.6.8/init new file mode 100644 index 0000000000..d258d51ff4 --- /dev/null +++ b/packages/ifupdown/ifupdown-0.6.8/init @@ -0,0 +1,13 @@ +#!/bin/sh -e + +case "$1" in + start|restart) + if [ -e /etc/network/ifstate ]; then + echo -n "Cleaning: /etc/network/ifstate" + echo -n >/etc/network/ifstate + echo "." + fi + ;; + stop|reload|force-reload) + ;; +esac diff --git a/packages/ifupdown/ifupdown-0.6.8/interfaces b/packages/ifupdown/ifupdown-0.6.8/interfaces new file mode 100644 index 0000000000..f1bd92ed2b --- /dev/null +++ b/packages/ifupdown/ifupdown-0.6.8/interfaces @@ -0,0 +1,2 @@ +auto lo +iface lo inet loopback diff --git a/packages/ifupdown/ifupdown-0.6.8/udhcpc.patch b/packages/ifupdown/ifupdown-0.6.8/udhcpc.patch new file mode 100644 index 0000000000..5b662e7988 --- /dev/null +++ b/packages/ifupdown/ifupdown-0.6.8/udhcpc.patch @@ -0,0 +1,28 @@ +Index: ifupdown-0.6.8/inet.defn +=================================================================== +--- ifupdown-0.6.8.orig/inet.defn 2007-01-04 09:11:43.000000000 +0100 ++++ ifupdown-0.6.8/inet.defn 2007-01-04 09:12:51.000000000 +0100 +@@ -81,8 +81,7 @@ + elsif (execable("/sbin/dhclient")) + pump -i %iface% [[-h %hostname%]] [[-l %leasehours%]] \ + elsif (execable("/sbin/pump") && mylinuxver() >= mylinux(2,1,100)) +- udhcpc -n -p /var/run/udhcpc.%iface%.pid -i %iface% [[-H %hostname%]] \ +- [[-c %client%]] \ ++ udhcpc -b -p /var/run/udhcpc.%iface%.pid -i %iface% -H `cat /etc/hostname` \ + elsif (execable("/sbin/udhcpc") && mylinuxver() >= mylinux(2,2,0)) + dhcpcd [[-h %hostname%]] [[-i %vendor%]] [[-I %client%]] \ + [[-l %leasetime%]] %iface% \ +@@ -91,11 +90,11 @@ + down + dhclient3 -r -pf /var/run/dhclient.%iface%.pid -lf /var/lib/dhcp3/dhclient.%iface%.leases %iface% \ + if (execable("/sbin/dhclient3")) +- cat /var/run/dhclient.%iface%.pid | xargs -i kill -TERM {} \ ++ kill -TERM `cat /var/run/dhclient.%iface%.pid` \ + elsif (execable("/sbin/dhclient")) + pump -i %iface% -r \ + elsif (execable("/sbin/pump") && mylinuxver() >= mylinux(2,1,100)) +- cat /var/run/udhcpc.%iface%.pid | xargs -i kill -TERM {} \ ++ kill -TERM `cat /var/run/udhcpc.%iface%.pid` \ + elsif (execable("/sbin/udhcpc")) + dhcpcd -k %iface% \ + elsif (execable("/sbin/dhcpcd")) diff --git a/packages/ifupdown/ifupdown-0.6.8/zeroconf.patch b/packages/ifupdown/ifupdown-0.6.8/zeroconf.patch new file mode 100644 index 0000000000..33745db6ff --- /dev/null +++ b/packages/ifupdown/ifupdown-0.6.8/zeroconf.patch @@ -0,0 +1,21 @@ + +# +# Patch managed by http://www.mn-logistik.de/unsupported/pxa250/patcher +# + +--- ifupdown-0.6.4/inet.defn~zeroconf ++++ ifupdown-0.6.4/inet.defn +@@ -120,3 +120,13 @@ + down + /sbin/start-stop-daemon -X -x /usr/bin/wvdial \ + -p /var/run/wvdial.%iface% ++ ++method zeroconf ++ description ++ This method uses zeroconf to configure an interface. See the man page ++ for zcip for details. ++ up ++ /sbin/start-stop-daemon -S -x /usr/sbin/zcip -p /var/run/zcip.%iface% \ ++ -- -s -i %iface% ++ down ++ /sbin/start-stop-daemon -X -x /usr/sbin/zcip -p /var/run/zcip.%iface% diff --git a/packages/ifupdown/ifupdown_0.6.4.bb b/packages/ifupdown/ifupdown_0.6.4.bb deleted file mode 100644 index bf0c82634f..0000000000 --- a/packages/ifupdown/ifupdown_0.6.4.bb +++ /dev/null @@ -1,36 +0,0 @@ -BROKEN = "1" -# Debian moved to 0.6.7 - -DESCRIPTION = "High level tools to configure network interfaces \ -This package provides the tools ifup and ifdown which may be used to \ -configure (or, respectively, deconfigure) network interfaces, based on \ -the file /etc/network/interfaces." -LICENSE = "GPL" - -SECTION = "base" - -SRC_URI = "${DEBIAN_MIRROR}/main/i/ifupdown/ifupdown_${PV}.orig.tar.gz \ - ${DEBIAN_MIRROR}/main/i/ifupdown/ifupdown_${PV}-4.8.diff.gz;patch=1 \ - file://busybox.patch;patch=1 \ - file://udhcpc.patch;patch=1 \ - file://zeroconf.patch;patch=1 \ - file://gcc34-fix.patch;patch=1 \ - file://init \ - file://interfaces" - -EXTRA_OEMAKE = "" - -do_compile () { - chmod a+rx *.pl *.sh - oe_runmake 'CC=${CC}' "CFLAGS=${CFLAGS} -Wall -W -D'IFUPDOWN_VERSION=\"${PV}\"'" -} - -do_install () { - install -d ${D}${sysconfdir}/init.d \ - ${D}${sysconfdir}/network \ - ${D}${base_sbindir} - install -m 0755 ifup ${D}${base_sbindir}/ - ln ${D}${base_sbindir}/ifup ${D}${base_sbindir}/ifdown - install -m 0644 ${WORKDIR}/init ${D}${sysconfdir}/init.d/networking - install -m 0644 ${WORKDIR}/interfaces ${D}${sysconfdir}/network/interfaces -} diff --git a/packages/ifupdown/ifupdown_0.6.8.bb b/packages/ifupdown/ifupdown_0.6.8.bb new file mode 100644 index 0000000000..53ccb5fe6c --- /dev/null +++ b/packages/ifupdown/ifupdown_0.6.8.bb @@ -0,0 +1,36 @@ +DESCRIPTION = "High level tools to configure network interfaces \ +This package provides the tools ifup and ifdown which may be used to \ +configure (or, respectively, deconfigure) network interfaces, based on \ +the file /etc/network/interfaces." +LICENSE = "GPL" + +SECTION = "base" + +SRC_URI = "${DEBIAN_MIRROR}/main/i/ifupdown/ifupdown_${PV}.tar.gz \ + file://busybox.patch;patch=1 \ + file://udhcpc.patch;patch=1 \ + file://zeroconf.patch;patch=1 \ + file://init \ + file://interfaces" + +EXTRA_OEMAKE = "" + +do_compile () { + chmod a+rx *.pl *.sh + oe_runmake 'CC=${CC}' "CFLAGS=${CFLAGS} -Wall -W -D'IFUPDOWN_VERSION=\"${PV}\"'" +} + +do_install () { + install -d ${D}${sysconfdir}/init.d \ + ${D}${sysconfdir}/network \ + ${D}${mandir}/man8 \ + ${D}${mandir}/man5 \ + ${D}${base_sbindir} + install -m 0755 ifup ${D}${base_sbindir}/ + ln ${D}${base_sbindir}/ifup ${D}${base_sbindir}/ifdown + install -m 0644 ${WORKDIR}/init ${D}${sysconfdir}/init.d/networking + install -m 0644 ${WORKDIR}/interfaces ${D}${sysconfdir}/network/interfaces + install -m 0644 ifup.8 ${D}${mandir}/man8 + install -m 0644 interfaces.5 ${D}${mandir}/man5 + cd ${D}${mandir}/man8 && ln -s ifup.8 ifdown.8 +} -- cgit v1.2.3 From 6bea8fb3de243a4485f109a54871f0ba9f03b6f7 Mon Sep 17 00:00:00 2001 From: Marcin Juszkiewicz Date: Thu, 4 Jan 2007 08:26:27 +0000 Subject: cvs 1.12.8: fix SRC_URI --- packages/cvs/cvs_1.12.8.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'packages') diff --git a/packages/cvs/cvs_1.12.8.bb b/packages/cvs/cvs_1.12.8.bb index 51aa9de2fb..b472a451eb 100644 --- a/packages/cvs/cvs_1.12.8.bb +++ b/packages/cvs/cvs_1.12.8.bb @@ -4,7 +4,7 @@ PRIORITY = "optional" DEPENDS = "" LICENSE = "GPL" -SRC_URI = "https://cvs.cvshome.org/files/documents/19/170/cvs-${PV}.tar.bz2 \ +SRC_URI = "http://musthave.sunbase.org/progs/ccvs/Old/cvs-${PV}/cvs-${PV}.tar.bz2 \ file://m4.patch;patch=1" inherit autotools gettext -- cgit v1.2.3 From f70952463b72e3174cc086af12cfaf2ecb9fb1d1 Mon Sep 17 00:00:00 2001 From: Marcin Juszkiewicz Date: Thu, 4 Jan 2007 08:42:05 +0000 Subject: lftp: fix SRC_URI for 3.5.1 --- packages/lftp/lftp_3.5.1.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'packages') diff --git a/packages/lftp/lftp_3.5.1.bb b/packages/lftp/lftp_3.5.1.bb index a45b75fe35..df184ae9ca 100644 --- a/packages/lftp/lftp_3.5.1.bb +++ b/packages/lftp/lftp_3.5.1.bb @@ -6,7 +6,7 @@ HOMEPAGE = "http://lftp.yar.ru" SECTION = "console/network" DEPENDS = "readline gnutls" -SRC_URI = "http://www.ibiblio.org/pub/Linux/system/network/file-transfer/lftp-3.5.1.tar.gz" +SRC_URI = "ftp://ftp.wiretapped.net/pub/mirrors/lftp/old/lftp-3.5.1.tar.bz2" EXTRA_OECONF = "--disable-largefile --disable-rpath --with-included-readline=no" -- cgit v1.2.3 From a85e0f18743428aa5b5d150ae08eb2c112813c6c Mon Sep 17 00:00:00 2001 From: Marcin Juszkiewicz Date: Thu, 4 Jan 2007 08:46:57 +0000 Subject: u-boot: dropped CVS version - upstream moved to git tree --- packages/uboot/uboot_cvs.bb | 31 ------------------------------- 1 file changed, 31 deletions(-) delete mode 100644 packages/uboot/uboot_cvs.bb (limited to 'packages') diff --git a/packages/uboot/uboot_cvs.bb b/packages/uboot/uboot_cvs.bb deleted file mode 100644 index 617babcf4a..0000000000 --- a/packages/uboot/uboot_cvs.bb +++ /dev/null @@ -1,31 +0,0 @@ -DESCRIPTION = "U-boot bootloader" -SECTION = "bootloader" -PRIORITY = "optional" -LICENSE = "GPL" -PV = "0.0+cvs${SRCDATE}" -PR = "r2" - -PROVIDES = "virtual/bootloader" - -S = "${WORKDIR}/u-boot" - -SRC_URI = "cvs://anonymous@u-boot.cvs.sourceforge.net/cvsroot/u-boot;module=u-boot \ - file://arm_flags.patch;patch=1" - -EXTRA_OEMAKE = "CROSS_COMPILE=${TARGET_PREFIX}" -TARGET_LDFLAGS = "" -UBOOT_MACHINE ?= "${MACHINE}" - -inherit base - -do_compile () { - oe_runmake ${UBOOT_MACHINE} - oe_runmake all -} - -do_deploy () { - install -d ${DEPLOY_DIR_IMAGE} - install ${S}/u-boot.bin ${DEPLOY_DIR_IMAGE}/u-boot-${MACHINE}-${DATETIME}.bin -} -do_deploy[dirs] = "${S}" -addtask deploy before do_build after do_compile -- cgit v1.2.3 From 7c0ae028585f7fc25b0851117a7576ffa6394e0f Mon Sep 17 00:00:00 2001 From: Marcin Juszkiewicz Date: Thu, 4 Jan 2007 08:48:12 +0000 Subject: u-boot: added GIT version with DEF_PREF = -1 to not select it automatically --- packages/uboot/u-boot_git.bb | 40 ++++++++++++++++++++++++++++++++++++++++ 1 file changed, 40 insertions(+) create mode 100644 packages/uboot/u-boot_git.bb (limited to 'packages') diff --git a/packages/uboot/u-boot_git.bb b/packages/uboot/u-boot_git.bb new file mode 100644 index 0000000000..fa59bab085 --- /dev/null +++ b/packages/uboot/u-boot_git.bb @@ -0,0 +1,40 @@ +DESCRIPTION = "U-boot bootloader" +PROVIDES = "virtual/bootloader" +SECTION = "bootloader" +PRIORITY = "optional" +LICENSE = "GPL" + +DEFAULT_PREFERENCE = "-1" + +SRC_URI = "git://www.denx.de/git/u-boot.git;protocol=git " + +S = "${WORKDIR}/git" + +#EXTRA_OEMAKE = "CROSS_COMPILE=${TARGET_PREFIX} CFLAGS="" CPPFLAGS="" LDFLAGS=""" +EXTRA_OEMAKE = "CROSS_COMPILE=${TARGET_PREFIX}" + +UBOOT_MACHINE ?= "${MACHINE}_config" +UBOOT_IMAGE = "u-boot-${MACHINE}-${PV}-${PR}.bin" + +PACKAGE_ARCH = "${MACHINE_ARCH}" + +#inherit base + +do_compile () { + unset LDFLAGS + unset CFLAGS + unset CPPFLAGS + oe_runmake ${UBOOT_MACHINE} + oe_runmake all +} + +do_stage() { + install -m 755 tools/mkimage ${STAGING_BINDIR_NATIVE} +} + +do_deploy () { + install -d ${DEPLOY_DIR_IMAGE} + install ${S}/u-boot.bin ${DEPLOY_DIR_IMAGE}/${UBOOT_IMAGE} +} +do_deploy[dirs] = "${S}" +addtask deploy before do_build after do_compile -- cgit v1.2.3 From f7c358f0cf5b34042d9ef992a4d21c6e91e65bae Mon Sep 17 00:00:00 2001 From: Marcin Juszkiewicz Date: Thu, 4 Jan 2007 09:44:32 +0000 Subject: linux-hackndev: added recipe (not ideal one) --- packages/linux/linux-hackndev-2.6_svn.bb | 78 ++++++++++++++++++++++++++++++++ 1 file changed, 78 insertions(+) create mode 100644 packages/linux/linux-hackndev-2.6_svn.bb (limited to 'packages') diff --git a/packages/linux/linux-hackndev-2.6_svn.bb b/packages/linux/linux-hackndev-2.6_svn.bb new file mode 100644 index 0000000000..32868b5570 --- /dev/null +++ b/packages/linux/linux-hackndev-2.6_svn.bb @@ -0,0 +1,78 @@ +DESCRIPTION = "Hack&Dev's Linux kernel for Palm devices." +HOMEPAGE = "http://www.hackndev.com/" +SECTION = "kernel" +LICENSE = "GPL" + +COMPATIBLE_MACHINE = "(palmtx|palmld)" + +SRC_URI = "svn://svn.sourceforge.net/svnroot/hackndev/linux4palm/linux;module=trunk;proto=https \ + file://defconfig" + +SRC_URI_append_palmtx += "http://www.busybox.net/downloads/busybox-1.1.0.tar.bz2 \ + file://init \ + file://initramfs_list \ + file://busybox-config" + +S = "${WORKDIR}/trunk" + +K_MAJOR = "2" +K_MINOR = "6" +K_MICRO = "17" +HHV="hnd0" +PV = "${K_MAJOR}.${K_MINOR}.${K_MICRO}-${HHV}" + +inherit kernel + +PACKAGE_ARCH_palmtx = "palmtx" +PACKAGE_ARCH_palmld = "palmld" +PACKAGE_ARCH_palmz72 = "palmz72" + +do_configure() { + + if [ -f ${WORKDIR}/defconfig ]; then + install -m 0644 ${WORKDIR}/defconfig ${S}/.config || die "No configuration for ${MACHINE} available." + else + install -m 0644 ${S}/arch/arm/configs/${MACHINE}_defconfig ${S}/.config \ + || die "No default configuration for ${MACHINE} available." + fi + + if [ "${TARGET_OS}" == "linux-gnueabi" -o "${TARGET_OS}" == "linux-uclibcgnueabi" ]; then + echo "CONFIG_AEABI=y" >> ${S}/.config + echo "CONFIG_OABI_COMPAT=y" >> ${S}/.config + else + echo "# CONFIG_AEABI is not set" >> ${S}/.config + echo "# CONFIG_OABI_COMPAT is not set" >> ${S}/.config + fi + + if [ -f ${WORKDIR}/initramfs_list ]; then + install -m 0644 ${WORKDIR}/busybox-config ${WORKDIR}/busybox-1.1.0/.config \ + || die "No busybox configuration available." + + echo "CROSS_COMPILER_PREFIX=\"${TARGET_PREFIX}\"" >> ${WORKDIR}/busybox-1.1.0/.config + echo "USING_CROSS_COMPILER=y" >> ${WORKDIR}/busybox-1.1.0/.config + + MY_UID=`id -u` + MY_GID=`id -g` + + echo "CONFIG_INITRAMFS_SOURCE=\"../initramfs_list\"" >> ${S}/.config + echo "CONFIG_INITRAMFS_ROOT_UID=${MY_UID}" >> ${S}/.config + echo "CONFIG_INITRAMFS_ROOT_GID=${MY_GID}" >> ${S}/.config + else + echo "CONFIG_INITRAMFS_SOURCE=\"\"" >> ${S}/.config + echo "CONFIG_INITRAMFS_ROOT_UID=0" >> ${S}/.config + echo "CONFIG_INITRAMFS_ROOT_GID=0" >> ${S}/.config + + fi + + yes '' | oe_runmake oldconfig + +} + + +do_compile_prepend() { + if [ -f ${WORKDIR}/initramfs_list ]; then + cd ${WORKDIR}/busybox-1.1.0 + oe_runmake 'CC=${CC}' 'CROSS=${HOST_PREFIX}' + cd - + fi +} -- cgit v1.2.3 From 9abd501917eb870293f5ea95ecf81fb866715d2c Mon Sep 17 00:00:00 2001 From: Marcin Juszkiewicz Date: Thu, 4 Jan 2007 10:21:11 +0000 Subject: zip: drop 2.31 (not fetchable) --- packages/zip/zip-native_2.31.bb | 9 --------- packages/zip/zip_2.31.bb | 2 -- 2 files changed, 11 deletions(-) delete mode 100644 packages/zip/zip-native_2.31.bb delete mode 100644 packages/zip/zip_2.31.bb (limited to 'packages') diff --git a/packages/zip/zip-native_2.31.bb b/packages/zip/zip-native_2.31.bb deleted file mode 100644 index fde61efcb7..0000000000 --- a/packages/zip/zip-native_2.31.bb +++ /dev/null @@ -1,9 +0,0 @@ -SECTION = "console/utils" -inherit native -require zip_${PV}.bb -S = "${WORKDIR}/zip-${PV}" - -do_stage() { - install -d ${STAGING_BINDIR} - install zip zipnote zipsplit zipcloak ${STAGING_BINDIR} -} diff --git a/packages/zip/zip_2.31.bb b/packages/zip/zip_2.31.bb deleted file mode 100644 index b8c4ae9da0..0000000000 --- a/packages/zip/zip_2.31.bb +++ /dev/null @@ -1,2 +0,0 @@ -require zip.inc -PR="r0" -- cgit v1.2.3 From c8db53ec9dc7180c349236bd7dc405e2a65300dd Mon Sep 17 00:00:00 2001 From: Marcin Juszkiewicz Date: Thu, 4 Jan 2007 10:28:29 +0000 Subject: libxml2-native: fixed SRC_URI for 2.6.9 --- packages/libxml/libxml2-native_2.6.9.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'packages') diff --git a/packages/libxml/libxml2-native_2.6.9.bb b/packages/libxml/libxml2-native_2.6.9.bb index f83d974538..df3ab07460 100644 --- a/packages/libxml/libxml2-native_2.6.9.bb +++ b/packages/libxml/libxml2-native_2.6.9.bb @@ -1,6 +1,6 @@ DESCRIPTION = "GNOME XML library" -SRC_URI = "http://xmlsoft.org/sources/libxml2-${PV}.tar.gz" +SRC_URI = "ftp://xmlsoft.org/libxml2/old/libxml2-${PV}.tar.gz" FILESDIR = "${@os.path.dirname(bb.data.getVar('FILE',d,1))}/libxml2-${PV}" S = "${WORKDIR}/libxml2-${PV}" -- cgit v1.2.3 From d4d03c2b703961a227ad9d375eb5388b2679cfca Mon Sep 17 00:00:00 2001 From: Marcin Juszkiewicz Date: Thu, 4 Jan 2007 11:17:21 +0000 Subject: uboot-devkitidp-pxa255: merged in old uboot_cvs recipe, marked as BROKEN --- packages/uboot/uboot-devkitidp-pxa255_cvs.bb | 37 ++++++++++++++++++++++++++-- 1 file changed, 35 insertions(+), 2 deletions(-) (limited to 'packages') diff --git a/packages/uboot/uboot-devkitidp-pxa255_cvs.bb b/packages/uboot/uboot-devkitidp-pxa255_cvs.bb index a41d5d7082..4e50706087 100644 --- a/packages/uboot/uboot-devkitidp-pxa255_cvs.bb +++ b/packages/uboot/uboot-devkitidp-pxa255_cvs.bb @@ -1,4 +1,37 @@ -require uboot_cvs.bb +BROKEN = "1" +#not fetchable patch used +DESCRIPTION = "U-boot bootloader" +SECTION = "bootloader" +PRIORITY = "optional" +LICENSE = "GPL" +SRCDATE = "20050818" +PV = "0.0+cvs${SRCDATE}" +PR = "r3" + +PROVIDES = "virtual/bootloader" + +S = "${WORKDIR}/u-boot" + +SRC_URI = "cvs://anonymous@u-boot.cvs.sourceforge.net/cvsroot/u-boot;module=u-boot \ + file://arm_flags.patch;patch=1 \ + ftp://ftp.accelent.com/pxa255_idp/uboot/u-boot-1.1.2-cvs20050818-r2-pxa255idp1.patch;patch=1" + +EXTRA_OEMAKE = "CROSS_COMPILE=${TARGET_PREFIX}" +TARGET_LDFLAGS = "" UBOOT_MACHINE = "pxa255_idp_config" -SRC_URI += "ftp://ftp.accelent.com/pxa255_idp/uboot/u-boot-1.1.2-cvs20050818-r2-pxa255idp1.patch;patch=1" + +inherit base + +do_compile () { + oe_runmake ${UBOOT_MACHINE} + oe_runmake all +} + +do_deploy () { + install -d ${DEPLOY_DIR_IMAGE} + install ${S}/u-boot.bin ${DEPLOY_DIR_IMAGE}/u-boot-${MACHINE}-${DATETIME}.bin +} +do_deploy[dirs] = "${S}" +addtask deploy before do_build after do_compile + -- cgit v1.2.3 From 2c28852f2c640ff585800fc2b9a005be1ae47b6c Mon Sep 17 00:00:00 2001 From: Marcin Juszkiewicz Date: Thu, 4 Jan 2007 13:37:40 +0000 Subject: libnet: fix SRC_URI by pointing to Debian mirrors --- packages/libnet/libnet_1.0.2a.bb | 5 +++-- packages/libnet/libnet_1.1.2.1.bb | 3 ++- 2 files changed, 5 insertions(+), 3 deletions(-) (limited to 'packages') diff --git a/packages/libnet/libnet_1.0.2a.bb b/packages/libnet/libnet_1.0.2a.bb index 6e6067cf8f..c4e4396e1a 100644 --- a/packages/libnet/libnet_1.0.2a.bb +++ b/packages/libnet/libnet_1.0.2a.bb @@ -9,11 +9,12 @@ PR = "r1" # There are major API changes beween libnet v1.0 and libnet v1.1 PROVIDES = "libnet-1.0" -SRC_URI = "http://www.packetfactory.net/libnet/dist/deprecated/libnet-${PV}.tar.gz \ +#SRC_URI = "http://www.packetfactory.net/libnet/dist/deprecated/libnet-${PV}.tar.gz \ +SRC_URI = "${DEBIAN_MIRROR}/main/libn/libnet0/libnet0_${PV}.orig.tar.gz \ file://configure.patch;patch=1 \ file://configure.uclibc.patch;patch=1 \ " -S = "${WORKDIR}/Libnet-${PV}" +S = "${WORKDIR}/libnet-${PV}.orig" inherit autotools diff --git a/packages/libnet/libnet_1.1.2.1.bb b/packages/libnet/libnet_1.1.2.1.bb index 92457a8ff4..f9464ae8bb 100644 --- a/packages/libnet/libnet_1.1.2.1.bb +++ b/packages/libnet/libnet_1.1.2.1.bb @@ -8,7 +8,7 @@ DEPENDS = "libpcap" PROVIDES = "libnet-1.1" PR = "r1" -SRC_URI = "http://www.packetfactory.net/libnet/dist/libnet-${PV}.tar.gz \ +SRC_URI = "${DEBIAN_MIRROR}/main/libn/libnet/libnet_${PV}.orig.tar.gz \ file://support-uclibc.patch;patch=1 \ file://fix-endianess-test.patch;patch=1" @@ -31,6 +31,7 @@ do_stage () { oe_runmake -C include/libnet 'DESTDIR=${STAGING_INCDIR}' 'includedir=' install-libnetincludeHEADERS } +#static build PACKAGES = "${PN}-dev ${PN}-doc" FILES_${PN}-dev += "${bindir}/libnet-config" -- cgit v1.2.3 From 6cba197cde1575018a0c58483c96688b3bac54ec Mon Sep 17 00:00:00 2001 From: Marcin Juszkiewicz Date: Thu, 4 Jan 2007 14:37:54 +0000 Subject: tin: fix SRC_URI, unify --- packages/tin/tin_1.7.3.bb | 11 +++-------- packages/tin/tin_1.9.1.bb | 11 +++-------- 2 files changed, 6 insertions(+), 16 deletions(-) (limited to 'packages') diff --git a/packages/tin/tin_1.7.3.bb b/packages/tin/tin_1.7.3.bb index 58726d7a27..199011e5a6 100644 --- a/packages/tin/tin_1.7.3.bb +++ b/packages/tin/tin_1.7.3.bb @@ -1,17 +1,12 @@ -DESCRIPTION = "Tin is a powerful text mode news reader." -SECTION = "console/network" -DEPENDS = "ncurses" -LICENSE = "GPL" +require tin.inc + PR = "r3" -SRC_URI = "ftp://ftp.tin.org/pub/news/clients/tin/unstable/tin-${PV}.tar.gz \ +SRC_URI = "ftp://ftp.tin.org/pub/news/clients/tin/v1.7/tin-${PV}.tar.gz \ file://makecfg-buildcc.patch;patch=1 \ file://m4.patch;patch=1 \ file://configure.patch;patch=1" -inherit autotools - -EXTRA_OECONF = "--with-screen=ncurses" CFLAGS += "-DM_UNIX" do_compile() { diff --git a/packages/tin/tin_1.9.1.bb b/packages/tin/tin_1.9.1.bb index dcf53bd8b5..2b783b2a58 100644 --- a/packages/tin/tin_1.9.1.bb +++ b/packages/tin/tin_1.9.1.bb @@ -1,16 +1,11 @@ -DESCRIPTION = "Tin is a powerful text mode news reader." -SECTION = "console/network" -DEPENDS = "ncurses pcre" -LICENSE = "GPL" +require tin.inc + PR = "r0" -SRC_URI = "ftp://ftp.tin.org/pub/news/clients/tin/unstable/tin-${PV}.tar.gz \ +SRC_URI = "ftp://ftp.tin.org/pub/news/clients/tin/v1.9/tin-${PV}.tar.gz \ file://m4.patch;patch=1" -inherit autotools - PARALLEL_MAKE = "" -EXTRA_OECONF = "--with-screen=ncurses --with-pcre=${STAGING_LIBDIR}/.." export BUILD_CFLAGS += "-I${S}/include -DHAVE_CONFIG_H" -- cgit v1.2.3 From 3f73a1d98770908d59dcd77dde452744f53f4c24 Mon Sep 17 00:00:00 2001 From: Marcin Juszkiewicz Date: Thu, 4 Jan 2007 14:51:15 +0000 Subject: tin: added tin.inc --- packages/tin/tin.inc | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 packages/tin/tin.inc (limited to 'packages') diff --git a/packages/tin/tin.inc b/packages/tin/tin.inc new file mode 100644 index 0000000000..6175728ea7 --- /dev/null +++ b/packages/tin/tin.inc @@ -0,0 +1,21 @@ +DESCRIPTION = "Tin is a powerful text mode news reader." +SECTION = "console/network" +DEPENDS = "ncurses" +LICENSE = "GPL" +PR = "r3" + +SRC_URI = "ftp://ftp.tin.org/pub/news/clients/tin/v1.7/tin-${PV}.tar.gz \ + file://makecfg-buildcc.patch;patch=1 \ + file://m4.patch;patch=1 \ + file://configure.patch;patch=1" + +inherit autotools + +EXTRA_OECONF = "--with-screen=ncurses --with-pcre=${STAGING_LIBDIR}/.." +CFLAGS += "-DM_UNIX" + +do_compile() { + ${BUILD_CC} -DLINK_SIZE=2 -I${S}/include -c pcre/dftables.c + ${BUILD_CC} dftables.o -o pcre/dftables + oe_runmake build +} -- cgit v1.2.3 From d1b1c754d72fcaf47d9b312450c07ba200c22d8c Mon Sep 17 00:00:00 2001 From: Marcin Juszkiewicz Date: Thu, 4 Jan 2007 15:56:27 +0000 Subject: tin: dropped 1.7.3, added libpcre into DEPENDS --- packages/tin/files/configure.patch | 205 ------------------------------- packages/tin/files/makecfg-buildcc.patch | 24 ---- packages/tin/tin.inc | 15 +-- packages/tin/tin_1.7.3.bb | 16 --- 4 files changed, 1 insertion(+), 259 deletions(-) delete mode 100644 packages/tin/files/configure.patch delete mode 100644 packages/tin/files/makecfg-buildcc.patch delete mode 100644 packages/tin/tin_1.7.3.bb (limited to 'packages') diff --git a/packages/tin/files/configure.patch b/packages/tin/files/configure.patch deleted file mode 100644 index 4059fe086f..0000000000 --- a/packages/tin/files/configure.patch +++ /dev/null @@ -1,205 +0,0 @@ - -# -# Patch managed by http://www.mn-logistik.de/unsupported/pxa250/patcher -# - ---- tin-1.7.3/configure.in~configure -+++ tin-1.7.3/configure.in -@@ -34,8 +34,9 @@ - dnl - dnl Process this file with autoconf to produce a configure script. - --AC_PREREQ(2.13.20020210) --AC_INIT(include/tin.h) -+AC_PREREQ(2.57) -+AC_INIT -+AC_CONFIG_SRCDIR([include/tin.h]) - AC_CONFIG_HEADER(include/autoconf.h:include/autoconf.hin) - AC_PREFIX_DEFAULT(/usr/local) - -@@ -406,7 +407,7 @@ - CF_NCURSES_LIBS(ncursesw) - CF_NCURSES_VERSION - CF_XOPEN_CURSES -- test "$cf_cv_need_xopen_extension" = unknown && AC_ERROR(X/Open curses not found) -+ test "$cf_cv_need_xopen_extension" = unknown && AC_MSG_ERROR([X/Open curses not found]) - ;; - curses) #(vi - CF_CURSES_CPPFLAGS -@@ -432,25 +433,25 @@ - fi - - ## debugging libraries (do this after other libraries) --AC_MSG_CHECKING(if you want dbmalloc library) -+AC_MSG_CHECKING([if you want dbmalloc library]) - debug_malloc=none --AC_ARG_WITH(dbmalloc, -+AC_ARG_WITH([dbmalloc], - [ --with-dbmalloc use Conor Cahill's dbmalloc library], -- [AC_MSG_RESULT(yes) -- AC_CHECK_LIB(dbmalloc,debug_malloc, -- AC_CHECK_HEADER(dbmalloc.h,debug_malloc=DBMALLOC))], -- AC_MSG_RESULT(no)) -+ [AC_MSG_RESULT([yes]) -+ AC_CHECK_LIB([dbmalloc],[debug_malloc],[ -+ AC_CHECK_HEADER([dbmalloc.h],[debug_malloc=DBMALLOC])])], -+ AC_MSG_RESULT([no])) - --AC_MSG_CHECKING(if you want dmalloc library) --AC_ARG_WITH(dmalloc, -+AC_MSG_CHECKING([if you want dmalloc library]) -+AC_ARG_WITH([dmalloc], - [ --with-dmalloc use Gray Watson's dmalloc library], - [AC_MSG_RESULT(yes) -- AC_CHECK_LIB(dmalloc,dmalloc_debug, -- AC_CHECK_HEADER(dmalloc.h,debug_malloc=DMALLOC))], -+ AC_CHECK_LIB([dmalloc],[dmalloc_debug],[ -+ AC_CHECK_HEADER([dmalloc.h],[debug_malloc=DMALLOC])])], - AC_MSG_RESULT(no)) - --AC_MSG_CHECKING(if you want debugging-trace) --AC_ARG_WITH(trace, -+AC_MSG_CHECKING([if you want debugging-trace]) -+AC_ARG_WITH([trace], - [ --with-trace use debugging/traces], - [use_trace=yes], - [use_trace=no]) -@@ -667,7 +668,7 @@ - - ### checks for compiler characteristics - CF_MAKEFLAGS --AC_LANG_C -+AC_LANG([C]) - AC_C_CONST - AC_C_INLINE - CF_CPP_EXPANDS -@@ -763,14 +764,13 @@ - - dnl test to see if quad_t is defined - AC_MSG_CHECKING(for quad_t) --AC_TRY_COMPILE([ -+AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[ - #include - #if 0 - #include - #include - #endif /* 0 */ --],[quad_t x; x = 0], --ac_cv_quad_t=yes, ac_cv_quad_t=no) -+]], [[quad_t x; x = 0]])],[ac_cv_quad_t=yes],[ac_cv_quad_t=no]) - AC_MSG_RESULT($ac_cv_quad_t) - if test $ac_cv_quad_t = yes; then - AC_DEFINE(HAVE_QUAD_T) -@@ -778,10 +778,9 @@ - - dnl test to see if long long is defined - AC_MSG_CHECKING(for long long) --AC_TRY_COMPILE([ -+AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[ - #include --],[long long x; x = 0], --ac_cv_long_long=yes, ac_cv_long_long=no) -+]], [[long long x; x = 0]])],[ac_cv_long_long=yes],[ac_cv_long_long=no]) - AC_MSG_RESULT($ac_cv_long_long) - if test $ac_cv_long_long = yes; then - AC_DEFINE(HAVE_LONG_LONG) -@@ -789,7 +788,7 @@ - - dnl test to see if nl_item is defined - AC_MSG_CHECKING(for nl_item) --AC_TRY_COMPILE([ -+AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[ - #ifdef HAVE_LANGINFO_H - #include - #else -@@ -797,8 +796,7 @@ - #include - #endif - #endif --],[nl_item x; x = 0], --ac_cv_nl_item=yes, ac_cv_nl_item=no) -+]], [[nl_item x; x = 0]])],[ac_cv_nl_item=yes],[ac_cv_nl_item=no]) - AC_MSG_RESULT($ac_cv_nl_item) - if test $ac_cv_nl_item = yes; then - AC_DEFINE(HAVE_NL_ITEM) -@@ -845,14 +843,13 @@ - cf_save_LIBS="$LIBS" - cf_try_icuuc="no" - LIBS="$LIBS -licuuc" -- AC_TRY_LINK([#include ], [ -+ AC_LINK_IFELSE([AC_LANG_PROGRAM([[#include ]], [[ - int32_t needed, ustr = NULL; - UErrorCode status; -- needed = unorm_normalize(ustr, -1, UNORM_DEFAULT, 0, NULL, 0, &status);], [ -+ needed = unorm_normalize(ustr, -1, UNORM_DEFAULT, 0, NULL, 0, &status);]])],[ - AC_DEFINE(HAVE_LIBICUUC) -- cf_try_icuuc="yes"], -- LIBS=$cf_save_LIBS -- ) -+ cf_try_icuuc="yes"],[LIBS=$cf_save_LIBS -+ ]) - AC_MSG_RESULT($cf_try_icuuc) - ]) - ]) -@@ -866,15 +863,13 @@ - AC_MSG_CHECKING(if we should include termcap.h) - cf_save_CFLAGS="$CFLAGS" - CFLAGS="$CFLAGS -I$srcdir/include" -- AC_TRY_COMPILE([ -+ AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[ - #define HAVE_TERMCAP_H 1 --#include ],[ -+#include ]], [[ - #ifdef NCURSES_VERSION - make an error - #endif --], -- [cf_result=yes], -- [cf_result=no]) -+]])],[cf_result=yes],[cf_result=no]) - AC_MSG_RESULT($cf_result) - CFLAGS="$cf_save_CFLAGS" - test $cf_result = yes && AC_DEFINE(HAVE_TERMCAP_H) -@@ -889,8 +884,7 @@ - cf_tc_externs="$cf_tc_funcs tgoto tigetstr tputs tigetflag" - elif test ".$cf_cv_termlib" = .termcap ; then - # BSD 'tputs()' may need 'PC' to be set. -- AC_TRY_LINK([],[extern char PC; PC = 0], -- [AC_DEFINE(HAVE_EXTERN_TCAP_PC)]) -+ AC_LINK_IFELSE([AC_LANG_PROGRAM([[]], [[extern char PC; PC = 0]])],[AC_DEFINE(HAVE_EXTERN_TCAP_PC)],[]) - cf_tc_funcs="tgetint tgetnum tparam tparm" - cf_tc_externs="$cf_tc_funcs tgoto tgetstr tputs tgetent tgetflag" - fi -@@ -1172,7 +1166,7 @@ - - CF_CHECK_HEADERS(iconv.h) - AC_MSG_CHECKING(for iconv_open() //TRANSLIT extension) --AC_TRY_RUN([ -+AC_RUN_IFELSE([AC_LANG_SOURCE([[ - #ifdef HAVE_ICONV_H - # include - #endif /* HAVE_ICONV_H */ -@@ -1185,11 +1179,8 @@ - if ((cd = iconv_open("US-ASCII//TRANSLIT", "ISO-8859-1")) == (iconv_t) (-1)) - exit(1); - exit(0); --}], -- AC_DEFINE(HAVE_ICONV_OPEN_TRANSLIT) AC_MSG_RESULT(yes), -- AC_MSG_RESULT(no), -- AC_MSG_RESULT(unknown) --) -+}]])],[AC_DEFINE(HAVE_ICONV_OPEN_TRANSLIT) AC_MSG_RESULT(yes)],[AC_MSG_RESULT(no)],[AC_MSG_RESULT(unknown) -+]) - - - # tin has mkdirs.sh instead of mkinstalldirs, overwrite the result of test -@@ -1223,6 +1214,7 @@ - CF_DEFINE_STRING(TIN_LDFLAGS, "$LDFLAGS") - CF_DEFINE_STRING(TIN_LIBS, "$LIBS") - --AC_OUTPUT($PCRE_MAKEFILE -+AC_CONFIG_FILES([$PCRE_MAKEFILE - $SUB_MAKEFILE -- src/Makefile) -+ src/Makefile]) -+AC_OUTPUT diff --git a/packages/tin/files/makecfg-buildcc.patch b/packages/tin/files/makecfg-buildcc.patch deleted file mode 100644 index 2b3dba44f9..0000000000 --- a/packages/tin/files/makecfg-buildcc.patch +++ /dev/null @@ -1,24 +0,0 @@ - -# -# Patch managed by http://www.mn-logistik.de/unsupported/pxa250/patcher -# - ---- tin-1.7.3/src/Makefile.in~makecfg-buildcc -+++ tin-1.7.3/src/Makefile.in -@@ -462,7 +462,7 @@ - ./makecfg $(SRCDIR)/tincfg.tbl tincfg.h - - makecfg$(EXEEXT): $(OBJDIR)/makecfg.o -- $(LD) $(LDFLAGS) -o $@ $(OBJDIR)/makecfg.o @LIBS@ -+ $(BUILD_CC) $(BUILD_LDFLAGS) -o $@ $(OBJDIR)/makecfg.o - - $(OBJDIR)/active.o: $(SRCDIR)/active.c $(TIN_DEP) - $(OBJDIR)/art.o: $(SRCDIR)/art.c $(TIN_DEP) \ -@@ -519,6 +519,7 @@ - $(OBJDIR)/main.o: $(SRCDIR)/main.c $(TIN_DEP) \ - $(INCDIR)/version.h - $(OBJDIR)/makecfg.o: $(SRCDIR)/makecfg.c $(TIN_DEP) -+ $(BUILD_CC) $(BUILD_CFLAGS) -c -I../include -I../pcre -o $@ $(SRCDIR)/makecfg.c - $(OBJDIR)/memory.o: $(SRCDIR)/memory.c $(TIN_DEP) \ - $(INCDIR)/rfc2046.h - $(OBJDIR)/mimetypes.o: $(SRCDIR)/mimetypes.c $(TIN_DEP) diff --git a/packages/tin/tin.inc b/packages/tin/tin.inc index 6175728ea7..e66fe8c67a 100644 --- a/packages/tin/tin.inc +++ b/packages/tin/tin.inc @@ -1,21 +1,8 @@ DESCRIPTION = "Tin is a powerful text mode news reader." SECTION = "console/network" -DEPENDS = "ncurses" +DEPENDS = "ncurses libpcre" LICENSE = "GPL" -PR = "r3" - -SRC_URI = "ftp://ftp.tin.org/pub/news/clients/tin/v1.7/tin-${PV}.tar.gz \ - file://makecfg-buildcc.patch;patch=1 \ - file://m4.patch;patch=1 \ - file://configure.patch;patch=1" inherit autotools EXTRA_OECONF = "--with-screen=ncurses --with-pcre=${STAGING_LIBDIR}/.." -CFLAGS += "-DM_UNIX" - -do_compile() { - ${BUILD_CC} -DLINK_SIZE=2 -I${S}/include -c pcre/dftables.c - ${BUILD_CC} dftables.o -o pcre/dftables - oe_runmake build -} diff --git a/packages/tin/tin_1.7.3.bb b/packages/tin/tin_1.7.3.bb deleted file mode 100644 index 199011e5a6..0000000000 --- a/packages/tin/tin_1.7.3.bb +++ /dev/null @@ -1,16 +0,0 @@ -require tin.inc - -PR = "r3" - -SRC_URI = "ftp://ftp.tin.org/pub/news/clients/tin/v1.7/tin-${PV}.tar.gz \ - file://makecfg-buildcc.patch;patch=1 \ - file://m4.patch;patch=1 \ - file://configure.patch;patch=1" - -CFLAGS += "-DM_UNIX" - -do_compile() { - ${BUILD_CC} -DLINK_SIZE=2 -I${S}/include -c pcre/dftables.c - ${BUILD_CC} dftables.o -o pcre/dftables - oe_runmake build -} -- cgit v1.2.3