Skip to contentSkip to conversation

Bugfixes needed to build against upstream latest

PATCH In review David Nyström 2 participants 8 messages Jan 22, 2013

lore
Share & tools
lore
#0 lore raw

cover Bugfixes needed to build against upstream latest

Fixed build breakage when updating to latest.
Tested with:

Build Configuration:

BB_VERSION        = "1.17.0"
BUILD_SYS         = "x86_64-linux"
NATIVELSBSTRING   = "Ubuntu-12.04"
TARGET_SYS        = "x86_64-poky-linux"
MACHINE           = "qemux86-64"
DISTRO            = "poky"
DISTRO_VERSION    = "1.3+snapshot-20130122"
TUNE_FEATURES     = "m64"
TARGET_FPU        = ""

meta
meta-yocto
meta-yocto-bsp = "master:2ad18945202c46cd71fe6823c80b472ec434000d"
meta-oe
meta-networking = "master:26debc05d8b1b9d06d66612bb52de36e3c37f09a"
meta-virtualization = "master:da3865d5fbfec9ece87e7b2bd266e9fcc4818bd0"

David Nyström (6):
Added meta-networking dependency
Changed libvirt dependency to netcat-openbsd to match meta-networking Removed openbsd-netcat since it now recides in meta-networking Removed ebtables, since it now recides in meta-networking Moved bbappend to match updated master branch in oe-core Fixed build breakage in iasl-native

 README                                             |    2 +
 .../ebtables-2.0.9-2/01debian_defaultconfig.patch  |   50 ------
 .../04compensate-for-missing-aligned-u64.patch     |   16 --
 .../ebtables/ebtables-2.0.9-2/ebtables.init        |  186 --------------------
 .../ebtables-2.0.9-2/installcreatedirs.patch       |   25 ---
 .../ebtables/ebtables-2.0.9-2/installnonroot.patch |   45 -----
 recipes-extended/ebtables/ebtables_2.0.9-2.bb      |   64 -------
 recipes-extended/iasl/iasl_20120215.bb             |    4 +-
 ..._1.4.15.bbappend => iptables_1.4.16.3.bbappend} |    0
 recipes-extended/libvirt/libvirt_1.0.0.bb          |    2 +-
 recipes-networking/netcat/openbsd-netcat_1.6.bb    |   29 ---
 11 files changed, 5 insertions(+), 418 deletions(-)
 delete mode 100644 recipes-extended/ebtables/ebtables-2.0.9-2/01debian_defaultconfig.patch
 delete mode 100644 recipes-extended/ebtables/ebtables-2.0.9-2/04compensate-for-missing-aligned-u64.patch
 delete mode 100755 recipes-extended/ebtables/ebtables-2.0.9-2/ebtables.init
 delete mode 100644 recipes-extended/ebtables/ebtables-2.0.9-2/installcreatedirs.patch
 delete mode 100644 recipes-extended/ebtables/ebtables-2.0.9-2/installnonroot.patch
 delete mode 100644 recipes-extended/ebtables/ebtables_2.0.9-2.bb
 rename recipes-extended/iptables/{iptables_1.4.15.bbappend => iptables_1.4.16.3.bbappend} (100%)
 delete mode 100644 recipes-networking/netcat/openbsd-netcat_1.6.bb
Signature · 1 line
1.7.9.5
#1 lore raw

PATCH 1/6 Added meta-networking dependency

---
 README |    2 ++
 1 file changed, 2 insertions(+)
README +2 -0
index c630494..e8c5252 100644
@@ -17,6 +17,8 @@ URI: git://github.com/openembedded/meta-oe.git
 branch: master
 revision: HEAD
 layers: meta-oe
+	meta-networking
+
 BBFILE_PRIORITY_openembedded-layer = "4"
 
 Maintenance
Signature · 1 line
1.7.9.5
#2 lore raw

PATCH 2/6 Changed libvirt dependency to netcat-openbsd to match meta-networking

In reply to David Nyström
---
 recipes-extended/libvirt/libvirt_1.0.0.bb |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
recipes-extended/libvirt/libvirt_1.0.0.bb +1 -1
index 5374237..90d7dbb 100644
@@ -11,7 +11,7 @@ DEPENDS = "bridge-utils gnutls libxml2 lvm2 avahi parted curl libpcap util-linux
 # These might be included by PACKAGECONFIG
 #RRECOMMENDS+= "polkit qemu yajl libnl lxc netcf"
 
-RDEPENDS_libvirt-libvirtd += "bridge-utils iptables pm-utils dnsmasq openbsd-netcat"
+RDEPENDS_libvirt-libvirtd += "bridge-utils iptables pm-utils dnsmasq netcat-openbsd"
 RDEPENDS_libvirt-libvirtd_append_x86-64 = " dmidecode"
 RDEPENDS_libvirt-libvirtd_append_x86 = " dmidecode"
 
Signature · 1 line
1.7.9.5
#3 lore raw

PATCH 3/6 Removed openbsd-netcat since it now recides in meta-networking

In reply to David Nyström
---
 recipes-networking/netcat/openbsd-netcat_1.6.bb |   29 -----------------------
 1 file changed, 29 deletions(-)
 delete mode 100644 recipes-networking/netcat/openbsd-netcat_1.6.bb
recipes-networking/netcat/openbsd-netcat_1.6.bb deleted +0 -29
deleted file mode 100644
index 1ae3f37..0000000
@@ -1,29 +0,0 @@
-DESCRIPTION = "OpenBSD Netcat"
-HOMEPAGE = "http://code.google.com/p/openbsd-netcat/"
-SECTION = "console/network"
-LICENSE = "BSD-3-Clause"
-PR = "r0"
-
-SRCREV = "5"
-
-SRC_URI = "svn://openbsd-netcat.googlecode.com/svn;module=trunk;protocol=http"
-S = "${WORKDIR}/trunk"
-
-inherit update-alternatives gettext
-
-do_configure[noexec] = "1"
-
-do_compile() {
-	cd ${S}
-	oe_runmake
-}
-
-do_install() {
-	install -d ${D}${bindir}
-	install -m 755 ${S}/nc ${D}${bindir}/nc.${BPN}
-}
-
-ALTERNATIVE_${PN} = "nc"
-ALTERNATIVE_PRIORITY = "101"
-
-BBCLASSEXTEND = "nativesdk"
Signature · 1 line
1.7.9.5
#4 lore raw

PATCH 4/6 Removed ebtables, since it now recides in meta-networking

In reply to David Nyström
---
 .../ebtables-2.0.9-2/01debian_defaultconfig.patch  |   50 ------
 .../04compensate-for-missing-aligned-u64.patch     |   16 --
 .../ebtables/ebtables-2.0.9-2/ebtables.init        |  186 --------------------
 .../ebtables-2.0.9-2/installcreatedirs.patch       |   25 ---
 .../ebtables/ebtables-2.0.9-2/installnonroot.patch |   45 -----
 recipes-extended/ebtables/ebtables_2.0.9-2.bb      |   64 -------
 6 files changed, 386 deletions(-)
 delete mode 100644 recipes-extended/ebtables/ebtables-2.0.9-2/01debian_defaultconfig.patch
 delete mode 100644 recipes-extended/ebtables/ebtables-2.0.9-2/04compensate-for-missing-aligned-u64.patch
 delete mode 100755 recipes-extended/ebtables/ebtables-2.0.9-2/ebtables.init
 delete mode 100644 recipes-extended/ebtables/ebtables-2.0.9-2/installcreatedirs.patch
 delete mode 100644 recipes-extended/ebtables/ebtables-2.0.9-2/installnonroot.patch
 delete mode 100644 recipes-extended/ebtables/ebtables_2.0.9-2.bb
recipes-extended/ebtables/ebtables-2.0.9-2/01debian_defaultconfig.patch deleted +0 -50
deleted file mode 100644
index c260403..0000000
@@ -1,50 +0,0 @@
-#! /bin/sh /usr/share/dpatch/dpatch-run
-## debian_defaultconfig.dpatch by  <[email protected]>
-##
-## DP: Debian enhancements to the ebtables "sysconfig" default settings.
-
-@DPATCH@
-
---- ebtables-2.0.8.1.orig/ebtables-config
-+++ ebtables-2.0.8.1/ebtables-config
-@@ -1,17 +1,3 @@
--# Save (and possibly restore) in text format.
--#   Value: yes|no,  default: yes
--# Save the firewall rules in text format to __SYSCONFIG__/ebtables
--# If EBTABLES_BINARY_FORMAT="no" then restoring the firewall rules
--# is done using this text format.
--EBTABLES_TEXT_FORMAT="yes"
--
--# Save (and restore) in binary format.
--#   Value: yes|no,  default: yes
--# Save (and restore) the firewall rules in binary format to (and from)
--# __SYSCONFIG__/ebtables.<chain>. Enabling this option will make
--# firewall initialisation a lot faster.
--EBTABLES_BINARY_FORMAT="yes"
--
- # Unload modules on restart and stop
- #   Value: yes|no,  default: yes
- # This option has to be 'yes' to get to a sane state for a firewall
-@@ -19,6 +5,12 @@
- # modules.
- EBTABLES_MODULES_UNLOAD="yes"
- 
-+# Load firewall rules on system startup.
-+#   Value: yes|no,  default: no
-+# Restores the ebtables rulesets from the last saved state when the
-+# system boots up.
-+EBTABLES_LOAD_ON_START="no"
-+
- # Save current firewall rules on stop.
- #   Value: yes|no,  default: no
- # Saves all firewall rules if firewall gets stopped
-@@ -35,3 +27,9 @@
- # Save rule counters when saving a kernel table to a file. If the
- # rule counters were saved, they will be restored when restoring the table.
- EBTABLES_SAVE_COUNTER="no"
-+
-+# Backup suffix for ruleset save files.
-+#   Value: <string>,  default: "~"
-+# Keep one backup level of saved rules.
-+# Set this variable to the empty string to disable backups.
-+EBTABLES_BACKUP_SUFFIX="~"
recipes-extended/ebtables/ebtables-2.0.9-2/04compensate-for-missing-aligned-u64.patch deleted +0 -16
deleted file mode 100644
index aae7f4b..0000000
@@ -1,16 +0,0 @@
-http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=661449
-
---- ebtables-2.0.9.2.orig/extensions/ebt_pkttype.c	2010-02-03 21:17:45.000000000 +0000
-+++ ebtables-2.0.9.2/extensions/ebt_pkttype.c	2012-03-03 15:22:57.000000000 +0000
-@@ -12,6 +12,11 @@
- #include <getopt.h>
- #include <netdb.h>
- #include "../include/ebtables_u.h"
-+/* BEGIN: Workaround */
-+#ifndef __aligned_u64
-+#define __aligned_u64 __u64 __attribute__((aligned(8)))
-+#endif
-+/* END: Workaround */
- #include <linux/if_packet.h>
- #include <linux/netfilter_bridge/ebt_pkttype.h>
- 
recipes-extended/ebtables/ebtables-2.0.9-2/ebtables.init deleted +0 -186

186 lines not on this page · raw message

recipes-extended/ebtables/ebtables-2.0.9-2/installcreatedirs.patch deleted +0 -25
deleted file mode 100644
index 86bc4f0..0000000
@@ -1,25 +0,0 @@
-
-#
-# Patch managed by http://www.mn-logistik.de/unsupported/pxa250/patcher
-#
-
---- ebtables-v2.0.6/Makefile~installcreatedirs	2004-06-03 13:34:17.000000000 -0500
-+++ ebtables-v2.0.6/Makefile	2004-06-03 13:35:21.000000000 -0500
-@@ -47,14 +47,17 @@
- 
- $(MANDIR)/man8/ebtables.8: ebtables.8
- 	mkdir -p $(@D)
-+	install -d $(MANDIR)/man8
- 	install -m 0644 $(INSTALLOWN) $< $@
- 
- $(ETHERTYPESFILE): ethertypes
- 	mkdir -p $(@D)
-+	install -d $(ETHERTYPESPATH)
- 	install -m 0644 $(INSTALLOWN) $< $@
- 
- .PHONY: exec
- exec: ebtables
-+	install -d $(BINPATH)
- 	install -m 0755 $(INSTALLOWN) $< $(BINFILE)
- 
- .PHONY: install
recipes-extended/ebtables/ebtables-2.0.9-2/installnonroot.patch deleted +0 -45

45 lines not on this page · raw message

recipes-extended/ebtables/ebtables_2.0.9-2.bb deleted +0 -64

64 lines not on this page · raw message

Signature · 1 line
1.7.9.5
#5 lore raw

Re: [PATCH 4/6] Removed ebtables, since it now recides in meta-networking

Minor 'nit:

s/recides/resides/

Bruce

Quoted 496 lines · David Nyström
---
 .../ebtables-2.0.9-2/01debian_defaultconfig.patch  |   50 ------
 .../04compensate-for-missing-aligned-u64.patch     |   16 --
 .../ebtables/ebtables-2.0.9-2/ebtables.init        |  186
--------------------
 .../ebtables-2.0.9-2/installcreatedirs.patch       |   25 ---
 .../ebtables/ebtables-2.0.9-2/installnonroot.patch |   45 -----
 recipes-extended/ebtables/ebtables_2.0.9-2.bb      |   64 -------
 6 files changed, 386 deletions(-)
 delete mode 100644
recipes-extended/ebtables/ebtables-2.0.9-2/01debian_defaultconfig.patch
 delete mode 100644
recipes-extended/ebtables/ebtables-2.0.9-2/04compensate-for-missing-aligned-u64.patch
 delete mode 100755
recipes-extended/ebtables/ebtables-2.0.9-2/ebtables.init
 delete mode 100644
recipes-extended/ebtables/ebtables-2.0.9-2/installcreatedirs.patch
 delete mode 100644
recipes-extended/ebtables/ebtables-2.0.9-2/installnonroot.patch
 delete mode 100644 recipes-extended/ebtables/ebtables_2.0.9-2.bb

diff --git a/recipes-extended/ebtables/ebtables-2.0.9-2/01debian_defaultconfig.patch b/recipes-extended/ebtables/ebtables-2.0.9-2/01debian_defaultconfig.patch deleted file mode 100644
index c260403..0000000
---
a/recipes-extended/ebtables/ebtables-2.0.9-2/01debian_defaultconfig.patch +++ /dev/null

recipes-extended/ebtables/ebtables-2.0.9-2/01debian_defaultconfig.patch deleted +0 -43
@@ -1,50 +0,0 @@
-#! /bin/sh /usr/share/dpatch/dpatch-run
-## debian_defaultconfig.dpatch by  <[email protected]>
-##
-## DP: Debian enhancements to the ebtables "sysconfig" default settings.
-
-@DPATCH@
-
---- ebtables-2.0.8.1.orig/ebtables-config
-+++ ebtables-2.0.8.1/ebtables-config
-@@ -1,17 +1,3 @@
--# Save (and possibly restore) in text format.
--#   Value: yes|no,  default: yes
--# Save the firewall rules in text format to __SYSCONFIG__/ebtables
--# If EBTABLES_BINARY_FORMAT="no" then restoring the firewall rules
--# is done using this text format.
--EBTABLES_TEXT_FORMAT="yes"
--
--# Save (and restore) in binary format.
--#   Value: yes|no,  default: yes
--# Save (and restore) the firewall rules in binary format to (and from)
--# __SYSCONFIG__/ebtables.<chain>. Enabling this option will make
--# firewall initialisation a lot faster.
--EBTABLES_BINARY_FORMAT="yes"
--
- # Unload modules on restart and stop
- #   Value: yes|no,  default: yes
- # This option has to be 'yes' to get to a sane state for a firewall
-@@ -19,6 +5,12 @@
- # modules.
- EBTABLES_MODULES_UNLOAD="yes"
-
-+# Load firewall rules on system startup.
-+#   Value: yes|no,  default: no
-+# Restores the ebtables rulesets from the last saved state when the
-+# system boots up.
-+EBTABLES_LOAD_ON_START="no"
-+
- # Save current firewall rules on stop.
- #   Value: yes|no,  default: no
- # Saves all firewall rules if firewall gets stopped
-@@ -35,3 +27,9 @@
- # Save rule counters when saving a kernel table to a file. If the
- # rule counters were saved, they will be restored when restoring the

table.
- EBTABLES_SAVE_COUNTER="no"
-+
-+# Backup suffix for ruleset save files.
-+# Value: <string>, default: "~"
-+# Keep one backup level of saved rules.
-+# Set this variable to the empty string to disable backups. -+EBTABLES_BACKUP_SUFFIX="~"
diff --git a/recipes-extended/ebtables/ebtables-2.0.9-2/04compensate-for-missing-aligned-u64.patch b/recipes-extended/ebtables/ebtables-2.0.9-2/04compensate-for-missing-aligned-u64.patch deleted file mode 100644
index aae7f4b..0000000
---
a/recipes-extended/ebtables/ebtables-2.0.9-2/04compensate-for-missing-aligned-u64.patch +++ /dev/null

recipes-extended/ebtables/ebtables-2.0.9-2/04compensate-for-missing-aligned-u64.patch deleted +0 -3
@@ -1,16 +0,0 @@
-http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=661449
-
---- ebtables-2.0.9.2.orig/extensions/ebt_pkttype.c     2010-02-03

21:17:45.000000000 +0000
-+++ ebtables-2.0.9.2/extensions/ebt_pkttype.c 2012-03-03 15:22:57.000000000 +0000
-@@ -12,6 +12,11 @@
- #include <getopt.h>
- #include <netdb.h>
- #include "../include/ebtables_u.h"
-+/* BEGIN: Workaround */
-+#ifndef __aligned_u64
-+#define __aligned_u64 __u64 __attribute__((aligned(8))) -+#endif
-+/* END: Workaround */
- #include <linux/if_packet.h>
- #include <linux/netfilter_bridge/ebt_pkttype.h>

(quoted diff) +0 -1
-
recipes-extended/ebtables/ebtables-2.0.9-2/ebtables.init deleted +0 -8
deleted file mode 100755
index 0044e98..0000000
@@ -1,186 +0,0 @@
-#!/bin/sh
-#
-# init script for the Ethernet Bridge filter tables
-#
-# Written by Dag Wieers <[email protected]>
-# Modified by Rok Papez <[email protected]>
-#           Bart De Schuymer <[email protected]>
-# Adapted to Debian by Jan Christoph Nordholz <

[email protected]>

recipes-extended/ebtables/ebtables-2.0.9-2/ebtables.init deleted +0 -15
-# Adapted to OpenEmbedded by Roman I Khimov <[email protected]>
-#
-# chkconfig: - 15 85
-# description: Ethernet Bridge filtering tables
-#
-### BEGIN INIT INFO
-# Provides:            ebtables
-# Required-Start:
-# Required-Stop:
-# Should-Start:                $local_fs
-# Should-Stop:         $local_fs
-# Default-Start:       S
-# Default-Stop:                0 6
-# Short-Description:   ebtables ruleset management
-# Description:         Saves and restores the state of the ebtables

rulesets.

recipes-extended/ebtables/ebtables-2.0.9-2/ebtables.init deleted +0 -27
-### END INIT INFO
-
-[ -x /sbin/ebtables ] || exit 1
-
-EBTABLES_DUMPFILE_STEM=/etc/ebtables/dump
-
-RETVAL=0
-prog="ebtables"
-desc="Ethernet bridge filtering"
-umask 0077
-
-#default configuration
-EBTABLES_MODULES_UNLOAD="yes"
-EBTABLES_LOAD_ON_START="no"
-EBTABLES_SAVE_ON_STOP="no"
-EBTABLES_SAVE_ON_RESTART="no"
-EBTABLES_SAVE_COUNTER="no"
-EBTABLES_BACKUP_SUFFIX="~"
-
-config=/etc/default/$prog
-[ -f "$config" ] && . "$config"
-
-function get_supported_tables() {
-       EBTABLES_SUPPORTED_TABLES=
-       /sbin/ebtables -t filter -L 2>&1 1>/dev/null | grep -q permission
-       if [ $? -eq 0 ]; then
-               echo "Error: insufficient privileges to access the

ebtables rulesets."

recipes-extended/ebtables/ebtables-2.0.9-2/ebtables.init deleted +0 -6
-               exit 1
-       fi
-       for table in filter nat broute; do
-               /sbin/ebtables -t $table -L &> /dev/null
-               if [ $? -eq 0 ]; then
-

EBTABLES_SUPPORTED_TABLES="${EBTABLES_SUPPORTED_TABLES} $table"

recipes-extended/ebtables/ebtables-2.0.9-2/ebtables.init deleted +0 -12
-               fi
-       done
-}
-
-function load() {
-       RETVAL=0
-       get_supported_tables
-       echo -n "Restoring ebtables rulesets: "
-       for table in $EBTABLES_SUPPORTED_TABLES; do
-               echo -n "$table "
-               if [ -s ${EBTABLES_DUMPFILE_STEM}.$table ]; then
-                       /sbin/ebtables -t $table --atomic-file

${EBTABLES_DUMPFILE_STEM}.$table --atomic-commit

recipes-extended/ebtables/ebtables-2.0.9-2/ebtables.init deleted +0 -55
-                       RET=$?
-                       if [ $RET -ne 0 ]; then
-                               echo -n "(failed) "
-                               RETVAL=$RET
-                       fi
-               else
-                       echo -n "(no saved state) "
-               fi
-       done
-       if [ -z "$EBTABLES_SUPPORTED_TABLES" ]; then
-               echo -n "no kernel support. "
-       else
-               echo -n "done. "
-       fi
-       if [ $RETVAL -eq 0 ]; then
-               echo "ok"
-       else
-               echo "fail"
-       fi
-}
-
-function clear() {
-       RETVAL=0
-       get_supported_tables
-       echo -n "Clearing ebtables rulesets: "
-       for table in $EBTABLES_SUPPORTED_TABLES; do
-               echo -n "$table "
-               /sbin/ebtables -t $table --init-table
-       done
-
-       if [ "$EBTABLES_MODULES_UNLOAD" = "yes" ]; then
-               for mod in $(grep -E '^(ebt|ebtable)_' /proc/modules | cut
-d' ' -f1) ebtables; do
-                       rmmod $mod 2> /dev/null
-               done
-       fi
-       if [ -z "$EBTABLES_SUPPORTED_TABLES" ]; then
-               echo -n "no kernel support. "
-       else
-               echo -n "done. "
-       fi
-       if [ $RETVAL -eq 0 ]; then
-               echo "ok"
-       else
-               echo "fail"
-       fi
-}
-
-function save() {
-       RETVAL=0
-       get_supported_tables
-       echo -n "Saving ebtables rulesets: "
-       for table in $EBTABLES_SUPPORTED_TABLES; do
-               echo -n "$table "
-               [ -n "$EBTABLES_BACKUP_SUFFIX" ] && [ -s

${EBTABLES_DUMPFILE_STEM}.$table ] && \
- mv ${EBTABLES_DUMPFILE_STEM}.$table
${EBTABLES_DUMPFILE_STEM}.$table$EBTABLES_BACKUP_SUFFIX
- /sbin/ebtables -t $table --atomic-file
${EBTABLES_DUMPFILE_STEM}.$table --atomic-save

recipes-extended/ebtables/ebtables-2.0.9-2/ebtables.init deleted +0 -7
-               RET=$?
-               if [ $RET -ne 0 ]; then
-                       echo -n "(failed) "
-                       RETVAL=$RET
-               else
-                       if [ "$EBTABLES_SAVE_COUNTER" = "no" ]; then
-                               /sbin/ebtables -t $table --atomic-file

${EBTABLES_DUMPFILE_STEM}.$table -Z

recipes-extended/ebtables/ebtables-2.0.9-2/ebtables.init deleted +0 -41
-                       fi
-               fi
-       done
-       if [ -z "$EBTABLES_SUPPORTED_TABLES" ]; then
-               echo -n "no kernel support. "
-       else
-               echo -n "done. "
-       fi
-       if [ $RETVAL -eq 0 ]; then
-               echo "ok"
-       else
-               echo "fail"
-       fi
-}
-
-case "$1" in
-  start)
-       [ "$EBTABLES_LOAD_ON_START" = "yes" ] && load
-       ;;
-  stop)
-       [ "$EBTABLES_SAVE_ON_STOP" = "yes" ] && save
-       clear
-       ;;
-  restart|reload|force-reload)
-       [ "$EBTABLES_SAVE_ON_RESTART" = "yes" ] && save
-       clear
-       [ "$EBTABLES_LOAD_ON_START" = "yes" ] && load
-       ;;
-  load)
-       load
-       ;;
-  save)
-       save
-       ;;
-  status)
-       get_supported_tables
-       if [ -z "$EBTABLES_SUPPORTED_TABLES" ]; then
-               echo "No kernel support for ebtables."
-               RETVAL=1
-       else
-               echo -n "Ebtables support available, number of installed

rules: "

recipes-extended/ebtables/ebtables-2.0.9-2/ebtables.init deleted +0 -2
-               for table in $EBTABLES_SUPPORTED_TABLES; do
-                       COUNT=$(( $(/sbin/ebtables -t $table -L | sed -e

"/^Bridge chain/! d" -e "s/^.*entries: //" -e "s/,.*$/ +/") 0 ))

recipes-extended/ebtables/ebtables-2.0.9-2/ebtables.init deleted +0 -8
-                       echo -n "$table($COUNT) "
-               done
-               echo ok
-               RETVAL=0
-       fi
-       ;;
-  *)
-       echo "Usage: $0

{start|stop|restart|reload|force-reload|load|save|status}" >&2

recipes-extended/ebtables/ebtables-2.0.9-2/ebtables.init deleted +0 -4
-       RETVAL=1
-esac
-
-exit $RETVAL

diff --git a/recipes-extended/ebtables/ebtables-2.0.9-2/installcreatedirs.patch b/recipes-extended/ebtables/ebtables-2.0.9-2/installcreatedirs.patch deleted file mode 100644
index 86bc4f0..0000000

recipes-extended/ebtables/ebtables-2.0.9-2/installcreatedirs.patch deleted +0 -6
@@ -1,25 +0,0 @@
-
-#
-# Patch managed by http://www.mn-logistik.de/unsupported/pxa250/patcher
-#
-
---- ebtables-v2.0.6/Makefile~installcreatedirs 2004-06-03

13:34:17.000000000 -0500
-+++ ebtables-v2.0.6/Makefile 2004-06-03 13:35:21.000000000 -0500
-@@ -47,14 +47,17 @@

recipes-extended/ebtables/ebtables-2.0.9-2/installcreatedirs.patch deleted +0 -17
-
- $(MANDIR)/man8/ebtables.8: ebtables.8
-       mkdir -p $(@D)
-+      install -d $(MANDIR)/man8
-       install -m 0644 $(INSTALLOWN) $< $@
-
- $(ETHERTYPESFILE): ethertypes
-       mkdir -p $(@D)
-+      install -d $(ETHERTYPESPATH)
-       install -m 0644 $(INSTALLOWN) $< $@
-
- .PHONY: exec
- exec: ebtables
-+      install -d $(BINPATH)
-       install -m 0755 $(INSTALLOWN) $< $(BINFILE)
-
- .PHONY: install

diff --git a/recipes-extended/ebtables/ebtables-2.0.9-2/installnonroot.patch b/recipes-extended/ebtables/ebtables-2.0.9-2/installnonroot.patch deleted file mode 100644
index 4d42cc0..0000000

recipes-extended/ebtables/ebtables-2.0.9-2/installnonroot.patch deleted +0 -13
@@ -1,45 +0,0 @@
-
-#
-# Patch managed by http://www.mn-logistik.de/unsupported/pxa250/patcher
-#
-
-Index: ebtables-v2.0.9-2/Makefile
-===================================================================
---- ebtables-v2.0.9-2.orig/Makefile    2010-02-04 00:17:45.000000000 +0300
-+++ ebtables-v2.0.9-2/Makefile 2010-05-24 16:15:35.000000000 +0400
-@@ -154,28 +154,28 @@
- .PHONY: scripts
- scripts: ebtables-save ebtables.sysv ebtables-config
-       cat ebtables-save | sed 's/__EXEC_PATH__/$(tmp1)/g' >

ebtables-save_
-- install -m 0755 -o root -g root ebtables-save_
$(DESTDIR)$(BINDIR)/ebtables-save
-+ install -m 0755 ebtables-save_ $(DESTDIR)$(BINDIR)/ebtables-save
- cat ebtables.sysv | sed 's/__EXEC_PATH__/$(tmp1)/g' | sed
's/__SYSCONFIG__/$(tmp2)/g' > ebtables.sysv_
-- install -m 0755 -o root -g root ebtables.sysv_
$(DESTDIR)$(INITDIR)/ebtables
-+ install -m 0755 ebtables.sysv_ $(DESTDIR)$(INITDIR)/ebtables
- cat ebtables-config | sed 's/__SYSCONFIG__/$(tmp2)/g' >
ebtables-config_
-- install -m 0600 -o root -g root ebtables-config_
$(DESTDIR)$(SYSCONFIGDIR)/ebtables-config
-+ install -m 0600 ebtables-config_
$(DESTDIR)$(SYSCONFIGDIR)/ebtables-config

recipes-extended/ebtables/ebtables-2.0.9-2/installnonroot.patch deleted +0 -5
-       rm -f ebtables-save_ ebtables.sysv_ ebtables-config_
-
- $(MANDIR)/man8/ebtables.8: ebtables.8
-       mkdir -p $(DESTDIR)$(@D)
-       sed 's/$$(VERSION)/$(PROGVERSION)/' ebtables.8 | sed

's/$$(DATE)/$(PROGDATE)/' > ebtables.8_
-- install -m 0644 -o root -g root ebtables.8_ $(DESTDIR)$@
-+ install -m 0644 ebtables.8_ $(DESTDIR)$@

recipes-extended/ebtables/ebtables-2.0.9-2/installnonroot.patch deleted +0 -11
-       rm -f ebtables.8_
-
- $(ETHERTYPESFILE): ethertypes
-       mkdir -p $(DESTDIR)$(@D)
--      install -m 0644 -o root -g root $< $(DESTDIR)$@
-+      install -m 0644 $< $(DESTDIR)$@
-
- .PHONY: exec
- exec: ebtables ebtables-restore
-       mkdir -p $(DESTDIR)$(BINDIR)
--      install -m 0755 -o root -g root $(PROGNAME)

$(DESTDIR)$(BINDIR)/$(PROGNAME)
-- install -m 0755 -o root -g root ebtables-restore
$(DESTDIR)$(BINDIR)/ebtables-restore
-+ install -m 0755 $(PROGNAME) $(DESTDIR)$(BINDIR)/$(PROGNAME)
-+ install -m 0755 ebtables-restore
$(DESTDIR)$(BINDIR)/ebtables-restore

recipes-extended/ebtables/ebtables-2.0.9-2/installnonroot.patch deleted +0 -3
-
- .PHONY: install
- install: $(MANDIR)/man8/ebtables.8 $(ETHERTYPESFILE) exec scripts
(quoted diff) +0 -0

ebtables_2.0.9-2.bb
deleted file mode 100644
index 66c7b95..0000000

recipes-extended/ebtables/ebtables_2.0.9-2.bb deleted +0 -1
@@ -1,64 +0,0 @@
-DESCRIPTION = "Utility that enables basic Ethernet frame filtering on a

Linux bridge, MAC NAT and brouting."

recipes-extended/ebtables/ebtables_2.0.9-2.bb deleted +0 -18
-PRIORITY = "optional"
-LICENSE = "GPLv2"
-SECTION = "console/network"
-PR = "r2"
-LIC_FILES_CHKSUM = "file://COPYING;md5=53b4a999993871a28ab1488fdbd2e73e"
-
-TARGET_CC_ARCH += "${LDFLAGS}"
-
-SRC_URI = " \
-       ${SOURCEFORGE_MIRROR}/ebtables/ebtables-v${PV}.tar.gz \
-       file://installnonroot.patch \
-       file://01debian_defaultconfig.patch \
-       file://04compensate-for-missing-aligned-u64.patch \
-       file://ebtables.init \
-       "
-
-SRC_URI[md5sum] = "b880429a6424186728eb57ae80ef878a"
-SRC_URI[sha256sum] =

"98855f644d43c615a8e663197978e49c95642f46f2bbf8e6f3213af87f8ad6a3"

recipes-extended/ebtables/ebtables_2.0.9-2.bb deleted +0 -31
-
-S = "${WORKDIR}/ebtables-v${PV}"
-
-ASNEEDED_pn-${PN} = ""
-
-#Load the necessary kernel modules
-RRECOMMENDS_${PN} += "kernel-module-ebtables \
-                     kernel-module-ebtable-nat \
-                     kernel-module-ebtable-filter \
-                     kernel-module-ebtable_broute \
-                     "
-
-EXTRA_OEMAKE = " \
-       BINDIR=${base_sbindir} \
-       MANDIR=${mandir} \
-       ETHERTYPESPATH=${sysconfdir} \
-       INITDIR=${sysconfdir}/init.d \
-       SYSCONFIGDIR=${sysconfdir}/default \
-       LIBDIR=${base_libdir}/ebtables \
-       'CC=${CC}' \
-       'CFLAGS=${CFLAGS}' \
-       'LD=${LD}' \
-       "
-
-do_install () {
-       install -d ${D}${sysconfdir}/init.d
-       install -d ${D}${sysconfdir}/default
-       install -d ${D}${sysconfdir}/ebtables
-       install -d ${D}/sbin
-       oe_runmake DESTDIR='${D}' install
-       install -m 0755 ${WORKDIR}/ebtables.init

${D}/${sysconfdir}/init.d/ebtables
- mv ${D}${sysconfdir}/default/ebtables-config
${D}${sysconfdir}/default/ebtables

recipes-extended/ebtables/ebtables_2.0.9-2.bb deleted +0 -14
-}
-
-CONFFILES_${PN} += "${sysconfdir}/default/ebtables"
-
-inherit update-rc.d
-
-INITSCRIPT_NAME = "ebtables"
-INITSCRIPT_PARAMS = "start 41 S . stop 41 6 ."
-
-FILES_${PN}-dbg += "${base_libdir}/ebtables/.debug"
-FILES_${PN} += "${base_libdir}/ebtables/*.so"
-
-RDEPENDS_${PN} = " perl"
--

1.7.9.5

_______________________________________________
meta-virtualization mailing list
[email protected]
https://lists.yoctoproject.org/listinfo/meta-virtualization

Signature · 2 lines
"Thou shalt not follow the NULL pointer, for chaos and madness await thee
at its end"
#6 lore raw

PATCH 5/6 Moved bbappend to match updated master branch in oe-core

In reply to David Nyström
---
 ..._1.4.15.bbappend => iptables_1.4.16.3.bbappend} |    0
 1 file changed, 0 insertions(+), 0 deletions(-)
 rename recipes-extended/iptables/{iptables_1.4.15.bbappend => iptables_1.4.16.3.bbappend} (100%)
recipes-extended/iptables/iptables_1.4.16.3.bbappend renamed from recipes-extended/iptables/iptables_1.4.15.bbappend +0 -0
similarity index 100%
rename from recipes-extended/iptables/iptables_1.4.15.bbappend
rename to recipes-extended/iptables/iptables_1.4.16.3.bbappend
Signature · 1 line
1.7.9.5
#7 lore raw

PATCH 6/6 Fixed build breakage in iasl-native

In reply to David Nyström
---
 recipes-extended/iasl/iasl_20120215.bb |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
recipes-extended/iasl/iasl_20120215.bb +2 -2
index 9474e56..b48e380 100644
@@ -3,7 +3,7 @@ HOMEPAGE = "http://www.acpica.org/"
 LICENSE = "Intel"
 LIC_FILES_CHKSUM = "file://asldefine.h;endline=115;md5=d4d7cf809b8b5e03131327b3f718e8f0"
 SECTION = "console/tools"
-PR="r0"
+PR="r1"
 
 DEPENDS="flex bison"
 
@@ -18,7 +18,7 @@ NATIVE_INSTALL_WORKS = "1"
 BBCLASSEXTEND = "native"
 
 do_compile() {
-	CFLAGS= $MAKE
+	CFLAGS="-Wno-error=redundant-decls" $MAKE
 }
 
 do_install() {
Signature · 1 line
1.7.9.5