All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH meta-oe 1/9] bridge-utils: add
@ 2011-12-16  2:39 b19537
  2011-12-16  2:39 ` [PATCH meta-oe 2/9] ietutils: add b19537
                   ` (8 more replies)
  0 siblings, 9 replies; 31+ messages in thread
From: b19537 @ 2011-12-16  2:39 UTC (permalink / raw)
  To: openembedded-devel

From: Zhenhua Luo <b19537@freescale.com>

    bridge-utils provides tools for ethernet bridging.

Signed-off-by: Zhenhua Luo <b19537@freescale.com>
---
 .../bridge-utils/bridge-utils.inc                  |   30 +++
 .../bridge-utils/bridge-utils_1.4.bb               |    6 +
 .../bridge-utils/files/ifupdown.sh                 |  245 ++++++++++++++++++++
 3 files changed, 281 insertions(+), 0 deletions(-)
 create mode 100644 meta-oe/recipes-connectivity/bridge-utils/bridge-utils.inc
 create mode 100644 meta-oe/recipes-connectivity/bridge-utils/bridge-utils_1.4.bb
 create mode 100644 meta-oe/recipes-connectivity/bridge-utils/files/ifupdown.sh

diff --git a/meta-oe/recipes-connectivity/bridge-utils/bridge-utils.inc b/meta-oe/recipes-connectivity/bridge-utils/bridge-utils.inc
new file mode 100644
index 0000000..5ac6c83
--- /dev/null
+++ b/meta-oe/recipes-connectivity/bridge-utils/bridge-utils.inc
@@ -0,0 +1,30 @@
+DESCRIPTION = "Tools for ethernet bridging."
+HOMEPAGE = "http://bridge.sourceforge.net/"
+SECTION = "console/network"
+LICENSE = "GPL"
+DEPENDS = "sysfsutils"
+RRECOMMENDS_${PN} = "kernel-module-bridge"
+
+SRC_URI = "${SOURCEFORGE_MIRROR}/bridge/bridge-utils-${PV}.tar.gz file://ifupdown.sh"
+
+inherit autotools
+
+EXTRA_OECONF = "--with-linux-headers=${STAGING_INCDIR}"
+
+do_install_append () {
+	mv ${D}${sbindir}/brctl ${D}${sbindir}/brctl.${PN}
+	install -d ${D}/${datadir}/bridge-utils
+	install -d ${D}/${sysconfdir}/network/if-pre-up.d
+	install -d ${D}/${sysconfdir}/network/if-post-down.d
+	install -m 0755 ${WORKDIR}/ifupdown.sh  ${D}/${datadir}/bridge-utils/
+	ln -s ${datadir}/bridge-utils/ifupdown.sh ${D}/${sysconfdir}/network/if-pre-up.d/bridge
+	ln -s ${datadir}/bridge-utils/ifupdown.sh ${D}/${sysconfdir}/network/if-post-down.d/bridge
+}
+
+pkg_postinst_${PN} () {
+	update-alternatives --install ${sbindir}/brctl brctl brctl.${PN} 100
+}
+
+pkg_prerm_${PN} () {
+	update-alternatives --remove brctl brctl.${PN}
+}
diff --git a/meta-oe/recipes-connectivity/bridge-utils/bridge-utils_1.4.bb b/meta-oe/recipes-connectivity/bridge-utils/bridge-utils_1.4.bb
new file mode 100644
index 0000000..00a5815
--- /dev/null
+++ b/meta-oe/recipes-connectivity/bridge-utils/bridge-utils_1.4.bb
@@ -0,0 +1,6 @@
+require bridge-utils.inc
+
+LIC_FILES_CHKSUM = "file://COPYING;md5=f9d20a453221a1b7e32ae84694da2c37"
+
+SRC_URI[md5sum] = "0182fcac3a2b307113bbec34e5f1c673"
+SRC_URI[sha256sum] = "876975e9bcc302aa8b829161ea3348b12b9b879f1db0dc98feaed8d0e5dd5933"
diff --git a/meta-oe/recipes-connectivity/bridge-utils/files/ifupdown.sh b/meta-oe/recipes-connectivity/bridge-utils/files/ifupdown.sh
new file mode 100644
index 0000000..a67ffcc
--- /dev/null
+++ b/meta-oe/recipes-connectivity/bridge-utils/files/ifupdown.sh
@@ -0,0 +1,245 @@
+#!/bin/sh
+
+# You don't usually need to touch this file at all, the full configuration
+# of the bridge can be done in a standard way on /etc/network/interfaces.
+
+# Have a look at /usr/share/doc/bridge-utils/README.Debian if you want
+# more info about the way on wich a bridge is set up on Debian.
+
+if [ ! -x /usr/sbin/brctl ]
+then
+  exit 0
+fi
+
+case "$IF_BRIDGE_PORTS" in
+    "")
+	exit 0
+	;;
+    none)
+	INTERFACES=""
+	;;
+    *)
+	INTERFACES="$IF_BRIDGE_PORTS"
+	;;
+esac
+
+# Previous work (create the interface)
+if [ "$MODE" = "start" ] ; then
+  brctl addbr $IFACE || exit 1
+# Wait for the ports to become available
+  if [ "$IF_BRIDGE_WAITPORT" ]
+  then
+    set x $IF_BRIDGE_WAITPORT &&   
+    shift &&
+    WAIT="$1" &&
+    shift &&
+    WAITPORT="$@" &&
+    if [ -z "$WAITPORT" ];then WAITPORT="$IF_BRIDGE_PORTS";fi &&
+    STARTTIME=$(date +%s) &&
+    NOTFOUND="true" &&
+    /bin/echo -e "\nWaiting for a max of $WAIT seconds for $WAITPORT to become available." &&
+    while [ "$(($(date +%s)-$STARTTIME))" -le "$WAIT" ] && [ -n "$NOTFOUND" ]
+    do
+      NOTFOUND=""
+      for i in $WAITPORT
+      do
+        if ! grep -q "^[\ ]*$i:.*$" /proc/net/dev;then NOTFOUND="true";fi
+      done
+      if [ -n "$NOTFOUND" ];then sleep 1;fi
+    done
+  fi
+# Previous work (stop the interface)
+elif [ "$MODE" = "stop" ];  then
+  ifconfig $IFACE down || exit 1
+fi
+
+all_interfaces= &&
+unset all_interfaces &&
+set x $INTERFACES &&
+shift &&
+while [ x"${1+set}" = xset ]
+do
+  # For compatibility: the `all' option.
+  case $1 in
+      all)
+	shift &&
+	set regex eth.\* noregex "$@"
+	;;
+  esac
+
+  # Primitive state machine...
+  case $1-`uname -s` in
+      regex-Linux)
+	all_interfaces=`sed -n 's%^[\ ]*\([^:]*\):.*$%\1%p' < /proc/net/dev`
+	shift
+	;;
+      regex-*)
+	echo -n "$0 needs to be ported for your `uname -s` system.  " >&2
+	echo "Trying to continue nevertheless." >&2
+	shift
+	;;
+      noregex-*)
+	all_interfaces=
+	unset all_interfaces
+	shift
+	;;
+  esac
+
+  case ${all_interfaces+regex}-${1+set} in
+      regex-set)
+	# The following interface specification are to be parsed as regular
+	# expressions against all interfaces the system provides.
+	i=`egrep "^$1$" << EOAI
+$all_interfaces
+EOAI
+`
+	shift
+	;;
+      *-set)
+	# Literal interfaces.
+	i=$1
+	shift
+	;;
+      *)
+	# No interface specification is following.
+	i=
+	;;
+  esac
+
+  for port in $i
+  do
+    # We attach and configure each port of the bridge
+    if [ "$MODE" = "start" ] ; then
+      if [ -x /etc/network/if-pre-up.d/vlan ]; then
+        env IFACE=$port /etc/network/if-pre-up.d/vlan
+      fi
+      if [ "$IF_BRIDGE_HW" ]
+      then
+         ifconfig $port down; ifconfig $port hw ether $IF_BRIDGE_HW
+      fi
+      brctl addif $IFACE $port && ifconfig $port 0.0.0.0 up
+    # We detach each port of the bridge
+    elif [ "$MODE" = "stop" ];  then
+      ifconfig $port down && brctl delif $IFACE $port && \
+        if [ -x /etc/network/if-post-down.d/vlan ]; then
+          env IFACE=$port /etc/network/if-post-down.d/vlan
+        fi
+    fi
+  done
+done
+
+# We finish setting up the bridge
+if [ "$MODE" = "start" ] ; then
+
+  if [ "$IF_BRIDGE_AGEING" ]
+  then
+    brctl setageing $IFACE $IF_BRIDGE_AGEING
+  fi
+
+  if [ "$IF_BRIDGE_BRIDGEPRIO" ]
+  then
+    brctl setbridgeprio $IFACE $IF_BRIDGE_BRIDGEPRIO
+  fi
+
+  if [ "$IF_BRIDGE_FD" ]
+  then
+    brctl setfd $IFACE $IF_BRIDGE_FD
+  fi
+
+  if [ "$IF_BRIDGE_GCINT" ]
+  then
+    brctl setgcint $IFACE $IF_BRIDGE_GCINT
+  fi
+
+  if [ "$IF_BRIDGE_HELLO" ]
+  then
+    brctl sethello $IFACE $IF_BRIDGE_HELLO
+  fi
+
+  if [ "$IF_BRIDGE_MAXAGE" ]
+  then
+    brctl setmaxage $IFACE $IF_BRIDGE_MAXAGE
+  fi
+
+  if [ "$IF_BRIDGE_PATHCOST" ]
+  then
+    brctl setpathcost $IFACE $IF_BRIDGE_PATHCOST
+  fi
+
+  if [ "$IF_BRIDGE_PORTPRIO" ]
+  then
+    brctl setportprio $IFACE $IF_BRIDGE_PORTPRIO
+  fi
+
+  if [ "$IF_BRIDGE_STP" ]
+  then
+    brctl stp $IFACE $IF_BRIDGE_STP
+  fi
+
+
+  # We activate the bridge
+  ifconfig $IFACE 0.0.0.0 up
+
+
+  # Calculate the maximum time to wait for the bridge to be ready
+  if [ "$IF_BRIDGE_MAXWAIT" ]
+  then
+    MAXWAIT=$IF_BRIDGE_MAXWAIT
+  else
+    MAXWAIT=$(brctl showstp $IFACE|sed -n 's/^.*forward delay[ \t]*\(.*\)\..*bridge forward delay[ \t]*\(.*\)\..*$/\1 \2/p')
+    if [ "$MAXWAIT" ]
+    then
+      if [ ${MAXWAIT% *} -gt ${MAXWAIT#* } ]
+      then
+        MAXWAIT=$((2*(${MAXWAIT% *}+1)))
+      else
+        MAXWAIT=$((2*(${MAXWAIT#* }+1)))
+      fi
+    else
+      if [ "$IF_BRIDGE_FD" ]
+      then
+        MAXWAIT=$((2*(${IF_BRIDGE_FD%.*}+1)))
+      else
+        MAXWAIT=32
+      fi
+      /bin/echo -e "\nWaiting $MAXWAIT seconds for $IFACE to get ready."
+      sleep $MAXWAIT
+      MAXWAIT=0
+    fi
+  fi
+
+  # Wait for the bridge to be ready
+  if [ "$MAXWAIT" != 0 ]
+  then
+    /bin/echo -e "\nWaiting for $IFACE to get ready (MAXWAIT is $MAXWAIT seconds)."
+
+    unset BREADY
+    unset TRANSITIONED
+    COUNT=0
+
+    while [ ! "$BREADY" -a $COUNT -lt $MAXWAIT ]
+    do
+      sleep 1
+      COUNT=$(($COUNT+1))
+      BREADY=true
+      for i in $(brctl showstp $IFACE|sed -n 's/^.*port id.*state[ \t]*\(.*\)$/\1/p')
+      do
+        if [ "$i" = "listening" -o "$i" = "learning" -o "$i" = "forwarding" -o "$i" = "blocking" ]
+        then
+          TRANSITIONED=true
+        fi
+        if [ "$i" != "forwarding" -a "$i" != "blocking" ] && [ ! "$TRANSITIONED" -o "$i" != "disabled" ]
+        then
+          unset BREADY
+        fi
+      done
+    done
+
+  fi
+
+# Finally we destroy the interface
+elif [ "$MODE" = "stop" ];  then
+
+  brctl delbr $IFACE
+
+fi
-- 
1.7.0.4





^ permalink raw reply related	[flat|nested] 31+ messages in thread

* [PATCH meta-oe 2/9] ietutils: add
  2011-12-16  2:39 [PATCH meta-oe 1/9] bridge-utils: add b19537
@ 2011-12-16  2:39 ` b19537
  2011-12-16  7:48   ` Koen Kooi
  2011-12-16  2:39 ` [PATCH meta-oe 3/9] ipsec-tools: add b19537
                   ` (7 subsequent siblings)
  8 siblings, 1 reply; 31+ messages in thread
From: b19537 @ 2011-12-16  2:39 UTC (permalink / raw)
  To: openembedded-devel

From: Zhenhua Luo <b19537@freescale.com>

    The GNU inetutils are a collection of common networking utilities 
    and servers including ftp, ftpd, rcp, rexec, rlogin, rlogind, rsh,
    rshd, syslog, syslogd, talk, talkd, telnet, telnetd, tftp, tftpd, 
    and uucpd.

Signed-off-by: Zhenhua Luo <b19537@freescale.com>
---
 .../inetutils/inetutils-1.8/fix-disable-ipv6.patch |   58 +++++++++++
 ...tf-parse-pull-in-features.h-for-__GLIBC__.patch |   27 +++++
 ...rgp-fix-program_invocation_name-detection.patch |   51 +++++++++
 .../inetutils-1.8/inetutils-1.8-0003-wchar.patch   |   12 ++
 ...me-ruserpass-to-avoid-C-library-collision.patch |   58 +++++++++++
 ...detect-__rcmd_errstr-support-in-the-C-lib.patch |   57 ++++++++++
 ...e-daemon-from-the-C-library-when-possible.patch |   42 ++++++++
 .../inetutils-1.8-1004-detect-fork-support.patch   |   54 ++++++++++
 ...-1.8-1005-ftpd-add-daemon-D-nommu-support.patch |  109 ++++++++++++++++++++
 .../inetutils/inetutils_1.8.bb                     |   66 ++++++++++++
 10 files changed, 534 insertions(+), 0 deletions(-)
 create mode 100644 meta-oe/recipes-connectivity/inetutils/inetutils-1.8/fix-disable-ipv6.patch
 create mode 100644 meta-oe/recipes-connectivity/inetutils/inetutils-1.8/inetutils-1.8-0001-printf-parse-pull-in-features.h-for-__GLIBC__.patch
 create mode 100644 meta-oe/recipes-connectivity/inetutils/inetutils-1.8/inetutils-1.8-0002-argp-fix-program_invocation_name-detection.patch
 create mode 100644 meta-oe/recipes-connectivity/inetutils/inetutils-1.8/inetutils-1.8-0003-wchar.patch
 create mode 100644 meta-oe/recipes-connectivity/inetutils/inetutils-1.8/inetutils-1.8-1001-ftp-rename-ruserpass-to-avoid-C-library-collision.patch
 create mode 100644 meta-oe/recipes-connectivity/inetutils/inetutils-1.8/inetutils-1.8-1002-rshd-detect-__rcmd_errstr-support-in-the-C-lib.patch
 create mode 100644 meta-oe/recipes-connectivity/inetutils/inetutils-1.8/inetutils-1.8-1003-use-daemon-from-the-C-library-when-possible.patch
 create mode 100644 meta-oe/recipes-connectivity/inetutils/inetutils-1.8/inetutils-1.8-1004-detect-fork-support.patch
 create mode 100644 meta-oe/recipes-connectivity/inetutils/inetutils-1.8/inetutils-1.8-1005-ftpd-add-daemon-D-nommu-support.patch
 create mode 100644 meta-oe/recipes-connectivity/inetutils/inetutils_1.8.bb

diff --git a/meta-oe/recipes-connectivity/inetutils/inetutils-1.8/fix-disable-ipv6.patch b/meta-oe/recipes-connectivity/inetutils/inetutils-1.8/fix-disable-ipv6.patch
new file mode 100644
index 0000000..75d51a1
--- /dev/null
+++ b/meta-oe/recipes-connectivity/inetutils/inetutils-1.8/fix-disable-ipv6.patch
@@ -0,0 +1,58 @@
+Upstream: http://www.mail-archive.com/bug-inetutils@gnu.org/msg02103.html
+
+diff -ur inetutils-1.8.orig/ping/ping_common.h inetutils-1.8/ping/ping_common.h
+--- inetutils-1.8.orig/ping/ping_common.h	2010-05-15 20:55:47.000000000 +0930
++++ inetutils-1.8/ping/ping_common.h	2010-12-01 12:19:08.000000000 +1030
+@@ -17,10 +17,14 @@
+   You should have received a copy of the GNU General Public License
+   along with this program.  If not, see `http://www.gnu.org/licenses/'. */
+ 
++#include <config.h>
++
+ #include <netinet/in_systm.h>
+ #include <netinet/in.h>
+ #include <netinet/ip.h>
++#ifdef HAVE_IPV6
+ #include <netinet/icmp6.h>
++#endif
+ #include <icmp.h>
+ #include <error.h>
+ #include <progname.h>
+@@ -66,13 +70,19 @@
+   (t).tv_usec = ((i)%PING_PRECISION)*(1000000/PING_PRECISION) ;\
+ } while (0)
+ 
++#ifdef HAVE_IPV6
+ /* Not sure about this step*/
+ #define _PING_BUFLEN(p, USE_IPV6) ((USE_IPV6)? ((p)->ping_datalen + sizeof (struct icmp6_hdr)) : \
+ 				   ((p)->ping_datalen + sizeof (icmphdr_t)))
++#else
++#define _PING_BUFLEN(p, USE_IPV6) ((p)->ping_datalen + sizeof (icmphdr_t))
++#endif
+ 
++#ifdef HAVE_IPV6
+ typedef int (*ping_efp6) (int code, void *closure, struct sockaddr_in6 * dest,
+ 			  struct sockaddr_in6 * from, struct icmp6_hdr * icmp,
+ 			  int datalen);
++#endif
+ 
+ typedef int (*ping_efp) (int code,
+ 			 void *closure,
+@@ -81,13 +91,17 @@
+ 			 struct ip * ip, icmphdr_t * icmp, int datalen);
+ 
+ union event {
++#ifdef HAVE_IPV6
+   ping_efp6 handler6;
++#endif
+   ping_efp handler;
+ };
+ 
+ union ping_address {
+   struct sockaddr_in ping_sockaddr;
++#ifdef HAVE_IPV6
+   struct sockaddr_in6 ping_sockaddr6;
++#endif
+ };
+ 
+ typedef struct ping_data PING;
diff --git a/meta-oe/recipes-connectivity/inetutils/inetutils-1.8/inetutils-1.8-0001-printf-parse-pull-in-features.h-for-__GLIBC__.patch b/meta-oe/recipes-connectivity/inetutils/inetutils-1.8/inetutils-1.8-0001-printf-parse-pull-in-features.h-for-__GLIBC__.patch
new file mode 100644
index 0000000..d328f13
--- /dev/null
+++ b/meta-oe/recipes-connectivity/inetutils/inetutils-1.8/inetutils-1.8-0001-printf-parse-pull-in-features.h-for-__GLIBC__.patch
@@ -0,0 +1,27 @@
+From 552a7d64ad4a7188a9b7cd89933ae7caf7ebfe90 Mon Sep 17 00:00:00 2001
+From: Mike Frysinger <vapier at gentoo.org>
+Date: Thu, 18 Nov 2010 16:59:14 -0500
+Subject: [PATCH gnulib] printf-parse: pull in features.h for __GLIBC__
+
+Signed-off-by: Mike Frysinger <vapier at gentoo.org>
+---
+ lib/printf-parse.h |    3 +++
+ 1 files changed, 3 insertions(+), 0 deletions(-)
+
+diff --git a/lib/printf-parse.h b/lib/printf-parse.h
+index 67a4a2a..3bd6152 100644
+--- a/lib/printf-parse.h
++++ b/lib/printf-parse.h
+@@ -25,6 +25,9 @@
+ 
+ #include "printf-args.h"
+ 
++#ifdef HAVE_FEATURES_H
++# include <features.h>	/* for __GLIBC__ */
++#endif
+ 
+ /* Flags */
+ #define FLAG_GROUP       1      /* ' flag */
+-- 
+1.7.3.2
+
diff --git a/meta-oe/recipes-connectivity/inetutils/inetutils-1.8/inetutils-1.8-0002-argp-fix-program_invocation_name-detection.patch b/meta-oe/recipes-connectivity/inetutils/inetutils-1.8/inetutils-1.8-0002-argp-fix-program_invocation_name-detection.patch
new file mode 100644
index 0000000..6861f21
--- /dev/null
+++ b/meta-oe/recipes-connectivity/inetutils/inetutils-1.8/inetutils-1.8-0002-argp-fix-program_invocation_name-detection.patch
@@ -0,0 +1,51 @@
+From 93dbd3319232613ff8f5f3f08bf5f57b21980ef1 Mon Sep 17 00:00:00 2001
+From: Mike Frysinger <vapier at gentoo.org>
+Date: Thu, 18 Nov 2010 17:14:21 -0500
+Subject: [PATCH gnulib] argp: fix program_invocation_name detection
+
+The current program_invocation_name symbol detection fails if the argp.h
+header is missing.  So check for the header first before detecting if the
+symbol exists.
+
+Signed-off-by: Mike Frysinger <vapier at gentoo.org>
+---
+ m4/argp.m4 |   15 +++++++++++++--
+ 1 files changed, 13 insertions(+), 2 deletions(-)
+
+diff --git a/m4/argp.m4 b/m4/argp.m4
+index d3ca5ba..efa562c 100644
+--- a/m4/argp.m4
++++ b/m4/argp.m4
+@@ -31,8 +31,14 @@ AC_DEFUN([gl_ARGP],
+   # are defined elsewhere. It is improbable that only one of them will
+   # be defined and other not, I prefer to stay on the safe side and to
+   # test each one separately.
++  AC_CHECK_HEADERS_ONCE([argp.h])
+   AC_MSG_CHECKING([whether program_invocation_name is defined])
+-  AC_TRY_LINK([#include <argp.h>],
++  AC_TRY_LINK([
++#include <errno.h>
++#ifdef HAVE_ARGP_H
++# include <argp.h>
++#endif
++],
+               [ program_invocation_name = "test"; ],
+               [ AC_DEFINE([HAVE_PROGRAM_INVOCATION_NAME], [1],
+                  [Define if program_invocation_name is defined])
+@@ -40,7 +46,12 @@ AC_DEFUN([gl_ARGP],
+               [ AC_MSG_RESULT([no])] )
+ 
+   AC_MSG_CHECKING([whether program_invocation_short_name is defined])
+-  AC_TRY_LINK([#include <argp.h>],
++  AC_TRY_LINK([
++#include <errno.h>
++#ifdef HAVE_ARGP_H
++# include <argp.h>
++#endif
++],
+               [ program_invocation_short_name = "test"; ],
+               [ AC_DEFINE([HAVE_PROGRAM_INVOCATION_SHORT_NAME], [1],
+                  [Define if program_invocation_short_name is defined])
+-- 
+1.7.3.2
+
diff --git a/meta-oe/recipes-connectivity/inetutils/inetutils-1.8/inetutils-1.8-0003-wchar.patch b/meta-oe/recipes-connectivity/inetutils/inetutils-1.8/inetutils-1.8-0003-wchar.patch
new file mode 100644
index 0000000..21635a7
--- /dev/null
+++ b/meta-oe/recipes-connectivity/inetutils/inetutils-1.8/inetutils-1.8-0003-wchar.patch
@@ -0,0 +1,12 @@
+--- inetutils-1.8/lib/wchar.in.h
++++ inetutils-1.8/lib/wchar.in.h
+@@ -70,6 +70,9 @@
+ /* The include_next requires a split double-inclusion guard.  */
+ #if @HAVE_WCHAR_H@
+ # @INCLUDE_NEXT@ @NEXT_WCHAR_H@
++#else
++# include <stddef.h>
++# define MB_CUR_MAX 1
+ #endif
+ 
+ #undef _GL_ALREADY_INCLUDING_WCHAR_H
diff --git a/meta-oe/recipes-connectivity/inetutils/inetutils-1.8/inetutils-1.8-1001-ftp-rename-ruserpass-to-avoid-C-library-collision.patch b/meta-oe/recipes-connectivity/inetutils/inetutils-1.8/inetutils-1.8-1001-ftp-rename-ruserpass-to-avoid-C-library-collision.patch
new file mode 100644
index 0000000..a6e366d
--- /dev/null
+++ b/meta-oe/recipes-connectivity/inetutils/inetutils-1.8/inetutils-1.8-1001-ftp-rename-ruserpass-to-avoid-C-library-collision.patch
@@ -0,0 +1,58 @@
+From 4f890adb39b52bc43c578966071625004988e3b8 Mon Sep 17 00:00:00 2001
+From: Mike Frysinger <vapier at gentoo.org>
+Date: Thu, 18 Nov 2010 22:11:48 -0500
+Subject: [PATCH] ftp: rename ruserpass to avoid C library collision
+
+The C library itself defines a "ruserpass" function.  When linking
+statically, it is possible to hit a symbol collision linker error.
+So rename the local ftp version to "remote_userpass".
+
+Signed-off-by: Mike Frysinger <vapier at gentoo.org>
+---
+ ftp/extern.h    |    2 +-
+ ftp/ftp.c       |    2 +-
+ ftp/ruserpass.c |    2 +-
+ 3 files changed, 3 insertions(+), 3 deletions(-)
+
+diff --git a/ftp/extern.h b/ftp/extern.h
+index 8cdb8aa..037cb61 100644
+--- a/ftp/extern.h
++++ b/ftp/extern.h
+@@ -119,7 +119,7 @@ void reset (int, char **);
+ void restart (int, char **);
+ void rmthelp (int, char **);
+ void rmtstatus (int, char **);
+-int ruserpass (char *, char **, char **, char **);
++int remote_userpass (char *, char **, char **, char **);
+ void sendrequest (char *, char *, char *, int);
+ void setascii (int, char **);
+ void setbell (int, char **);
+diff --git a/ftp/ftp.c b/ftp/ftp.c
+index c20ba41..95675cc 100644
+--- a/ftp/ftp.c
++++ b/ftp/ftp.c
+@@ -251,7 +251,7 @@ login (char *host)
+   int n, aflag = 0;
+ 
+   user = pass = acct = 0;
+-  if (ruserpass (host, &user, &pass, &acct) < 0)
++  if (remote_userpass (host, &user, &pass, &acct) < 0)
+     {
+       code = -1;
+       return (0);
+diff --git a/ftp/ruserpass.c b/ftp/ruserpass.c
+index 8572b95..c08fbc0 100644
+--- a/ftp/ruserpass.c
++++ b/ftp/ruserpass.c
+@@ -111,7 +111,7 @@ static struct toktab
+ };
+ 
+ int
+-ruserpass (char *host, char **aname, char **apass, char **aacct)
++remote_userpass (char *host, char **aname, char **apass, char **aacct)
+ {
+   char *hdir, buf[BUFSIZ], *tmp;
+   char *myname = 0, *mydomain;
+-- 
+1.7.3.2
+
diff --git a/meta-oe/recipes-connectivity/inetutils/inetutils-1.8/inetutils-1.8-1002-rshd-detect-__rcmd_errstr-support-in-the-C-lib.patch b/meta-oe/recipes-connectivity/inetutils/inetutils-1.8/inetutils-1.8-1002-rshd-detect-__rcmd_errstr-support-in-the-C-lib.patch
new file mode 100644
index 0000000..7708c40
--- /dev/null
+++ b/meta-oe/recipes-connectivity/inetutils/inetutils-1.8/inetutils-1.8-1002-rshd-detect-__rcmd_errstr-support-in-the-C-lib.patch
@@ -0,0 +1,57 @@
+From 730015f060fe76eee615f361a65eb719cdf22eef Mon Sep 17 00:00:00 2001
+From: Mike Frysinger <vapier at gentoo.org>
+Date: Thu, 18 Nov 2010 22:20:39 -0500
+Subject: [PATCH] rshd: detect __rcmd_errstr support in the C lib
+
+Not all C libraries support __rcmd_errstr, so add a configure test for it.
+
+Signed-off-by: Mike Frysinger <vapier at gentoo.org>
+---
+ configure.ac |    2 +-
+ src/rshd.c   |    4 ++++
+ 2 files changed, 5 insertions(+), 1 deletions(-)
+
+diff --git a/configure.ac b/configure.ac
+index c1ac270..79d655c 100644
+--- a/configure.ac
++++ b/configure.ac
+@@ -587,7 +587,7 @@ AC_CHECK_FUNCS(cfsetspeed cgetent dirfd fchdir flock \
+                setsid setregid setreuid setresgid setresuid setutent_r \
+                sigaction sigvec strchr setproctitle tcgetattr tzset utimes \
+                utime uname \
+-               updwtmp updwtmpx vhangup wait3 wait4 opendir2)
++               updwtmp updwtmpx vhangup wait3 wait4 opendir2 __rcmd_errstr)
+ 
+ dnl Functions that we will define if necessary.
+ AC_REPLACE_FUNCS(getpass getusershell memcmp memcpy memmove memset \
+diff --git a/src/rshd.c b/src/rshd.c
+index d49facd..9301ef2 100644
+--- a/src/rshd.c
++++ b/src/rshd.c
+@@ -284,7 +284,9 @@ extern char **environ;
+ void
+ doit (int sockfd, struct sockaddr_in *fromp)
+ {
++#ifdef HAVE___RCMD_ERRSTR
+   extern char *__rcmd_errstr;	/* syslog hook from libc/net/rcmd.c. */
++#endif
+   struct hostent *hp;
+   struct passwd *pwd;
+   u_short port;
+@@ -757,11 +759,13 @@ doit (int sockfd, struct sockaddr_in *fromp)
+                      && (iruserok (fromp->sin_addr.s_addr, pwd->pw_uid == 0,
+                                    remuser, locuser)) < 0))
+     {
++#ifdef HAVE___RCMD_ERRSTR
+       if (__rcmd_errstr)
+ 	syslog (LOG_INFO | LOG_AUTH,
+ 		"%s@%s as %s: permission denied (%s). cmd='%.80s'",
+ 		remuser, hostname, locuser, __rcmd_errstr, cmdbuf);
+       else
++#endif
+ 	syslog (LOG_INFO | LOG_AUTH,
+ 		"%s@%s as %s: permission denied. cmd='%.80s'",
+ 		remuser, hostname, locuser, cmdbuf);
+-- 
+1.7.3.2
+
diff --git a/meta-oe/recipes-connectivity/inetutils/inetutils-1.8/inetutils-1.8-1003-use-daemon-from-the-C-library-when-possible.patch b/meta-oe/recipes-connectivity/inetutils/inetutils-1.8/inetutils-1.8-1003-use-daemon-from-the-C-library-when-possible.patch
new file mode 100644
index 0000000..8575c10
--- /dev/null
+++ b/meta-oe/recipes-connectivity/inetutils/inetutils-1.8/inetutils-1.8-1003-use-daemon-from-the-C-library-when-possible.patch
@@ -0,0 +1,42 @@
+From 3b9f64c6a668849b37b884a7826885c70b95787b Mon Sep 17 00:00:00 2001
+From: Mike Frysinger <vapier at gentoo.org>
+Date: Thu, 18 Nov 2010 22:24:06 -0500
+Subject: [PATCH] use daemon from the C library when possible
+
+Signed-off-by: Mike Frysinger <vapier at gentoo.org>
+---
+ configure.ac          |    2 +-
+ libinetutils/daemon.c |    2 ++
+ 2 files changed, 3 insertions(+), 1 deletions(-)
+
+diff --git a/configure.ac b/configure.ac
+index 79d655c..25cc3db 100644
+--- a/configure.ac
++++ b/configure.ac
+@@ -579,7 +579,7 @@ AC_FUNC_MMAP
+ AC_FUNC_MALLOC
+ AC_FUNC_REALLOC
+ 
+-AC_CHECK_FUNCS(bcopy bcmp bzero cfsetspeed cgetent dirfd fchdir flock \
++AC_CHECK_FUNCS(bcopy bcmp bzero cfsetspeed cgetent daemon dirfd fchdir flock \
+                fpathconf ftruncate \
+ 	       getcwd getmsg getspnam initgroups initsetproctitle killpg \
+                mkstemp ptsname \
+diff --git a/libinetutils/daemon.c b/libinetutils/daemon.c
+index 2156af4..9beb255 100644
+--- a/libinetutils/daemon.c
++++ b/libinetutils/daemon.c
+@@ -197,8 +197,10 @@ waitdaemon (int nochdir, int noclose, int maxwait)
+   return ppid;
+ }
+ 
++#ifndef HAVE_DAEMON
+ int
+ daemon (int nochdir, int noclose)
+ {
+   return (waitdaemon (nochdir, noclose, 0) == -1) ? -1 : 0;
+ }
++#endif
+-- 
+1.7.3.2
+
diff --git a/meta-oe/recipes-connectivity/inetutils/inetutils-1.8/inetutils-1.8-1004-detect-fork-support.patch b/meta-oe/recipes-connectivity/inetutils/inetutils-1.8/inetutils-1.8-1004-detect-fork-support.patch
new file mode 100644
index 0000000..fc9d726
--- /dev/null
+++ b/meta-oe/recipes-connectivity/inetutils/inetutils-1.8/inetutils-1.8-1004-detect-fork-support.patch
@@ -0,0 +1,54 @@
+From 0acaed0d4b2bf9495e71ec4c898733bed2a86be0 Mon Sep 17 00:00:00 2001
+From: Mike Frysinger <vapier at gentoo.org>
+Date: Thu, 18 Nov 2010 22:27:55 -0500
+Subject: [PATCH] detect fork() support
+
+Linux/nommu systems cannot support a fork(), so add a configure test for
+it so apps can pick that or vfork().
+
+Signed-off-by: Mike Frysinger <vapier at gentoo.org>
+---
+ configure.ac                |    2 +-
+ libinetutils/libinetutils.h |    9 +++++++++
+ 2 files changed, 10 insertions(+), 1 deletions(-)
+
+diff --git a/configure.ac b/configure.ac
+index 25cc3db..98196f4 100644
+--- a/configure.ac
++++ b/configure.ac
+@@ -580,7 +580,7 @@ AC_FUNC_MALLOC
+ AC_FUNC_REALLOC
+ 
+ AC_CHECK_FUNCS(bcopy bcmp bzero cfsetspeed cgetent daemon dirfd fchdir flock \
+-               fpathconf ftruncate \
++               fork fpathconf ftruncate \
+ 	       getcwd getmsg getspnam initgroups initsetproctitle killpg \
+                mkstemp ptsname \
+                setegid seteuid setpgid \
+diff --git a/libinetutils/libinetutils.h b/libinetutils/libinetutils.h
+index 19bbde5..86365b0 100644
+--- a/libinetutils/libinetutils.h
++++ b/libinetutils/libinetutils.h
+@@ -17,6 +17,8 @@
+   You should have received a copy of the GNU General Public License
+   along with this program.  If not, see `http://www.gnu.org/licenses/'. */
+ 
++#include <config.h>
++
+ #include "argp-version-etc.h"
+ 
+ void utmp_init (char *line, char *user, char *id);
+@@ -32,3 +34,10 @@ extern const char *default_program_authors[];
+ #define iu_argp_init(name, authors)				\
+   argp_program_bug_address = "<" PACKAGE_BUGREPORT ">";		\
+   argp_version_setup (name, authors);
++
++#ifdef HAVE_FORK
++# define fork_exit(s) exit(s)
++#else
++# define fork() vfork()
++# define fork_exit(s) _exit(s)
++#endif
+-- 
+1.7.3.2
+
diff --git a/meta-oe/recipes-connectivity/inetutils/inetutils-1.8/inetutils-1.8-1005-ftpd-add-daemon-D-nommu-support.patch b/meta-oe/recipes-connectivity/inetutils/inetutils-1.8/inetutils-1.8-1005-ftpd-add-daemon-D-nommu-support.patch
new file mode 100644
index 0000000..844905b
--- /dev/null
+++ b/meta-oe/recipes-connectivity/inetutils/inetutils-1.8/inetutils-1.8-1005-ftpd-add-daemon-D-nommu-support.patch
@@ -0,0 +1,109 @@
+From 1dee55b90d2971859377156e6210efdfdf1bac84 Mon Sep 17 00:00:00 2001
+From: Mike Frysinger <vapier at gentoo.org>
+Date: Fri, 19 Nov 2010 20:26:48 -0500
+Subject: [PATCH] ftpd: add daemon (-D) nommu support
+
+The current daemon design of ftpd is to:
+	- loop in server_mode() waiting for a connection
+	- fork a child and return to main() to process like inetd
+	- have parent continue looping in server_mode()
+
+On a nommu system where we can only vfork(), the child returning
+from server_mode() corrupts the stack and messes up the the parent.
+So rather than having the child return, exec a new ftpd process in
+the normal inetd mode.  This also fixes the problem in nommu where
+a vfork-ed child pauses the parent until it either exits or execs
+something.
+
+Signed-off-by: Mike Frysinger <vapier at gentoo.org>
+---
+ ftpd/extern.h      |    3 ++-
+ ftpd/ftpd.c        |   17 ++++++++++++++---
+ ftpd/server_mode.c |    9 ++++++++-
+ 3 files changed, 24 insertions(+), 5 deletions(-)
+
+diff --git a/ftpd/extern.h b/ftpd/extern.h
+index 2483fe6..81182e0 100644
+--- a/ftpd/extern.h
++++ b/ftpd/extern.h
+@@ -110,7 +110,8 @@ extern char tmpline[];
+ extern off_t restart_point;
+ 
+ /* Exported from server_mode.c.  */
+-extern int server_mode (const char *pidfile, struct sockaddr_in *phis_addr);
++extern int server_mode (const char *pidfile, struct sockaddr_in *phis_addr,
++			char *argv[]);
+ 
+ /* Credential for the request.  */
+ struct credentials
+diff --git a/ftpd/ftpd.c b/ftpd/ftpd.c
+index aed74e6..c5c4c90 100644
+--- a/ftpd/ftpd.c
++++ b/ftpd/ftpd.c
+@@ -424,8 +424,7 @@ main (int argc, char *argv[], char **envp)
+   argp_parse (&argp, argc, argv, 0, &index, NULL);
+   
+   /* Bail out, wrong usage */
+-  argc -= index;
+-  if (argc != 0)
++  if (argc - index != 0)
+     error (1, 0, "surplus arguments; try `%s --help' for more info",
+ 	   program_name);
+ 
+@@ -438,7 +437,19 @@ main (int argc, char *argv[], char **envp)
+      fd = accept(). tcpd is check if compile with the support  */
+   if (daemon_mode)
+     {
+-      if (server_mode (pid_file, &his_addr) < 0)
++#ifndef HAVE_FORK
++      /* Shift out the daemon option in subforks  */
++      int i;
++      for (i = 0; i < argc; ++i)
++	if (strcmp (argv[i], "-D") == 0)
++	  {
++	    int j;
++	    for (j = i; j < argc; ++j)
++	      argv[j] = argv[j + 1];
++	    argv[--argc] = NULL;
++	  }
++#endif
++      if (server_mode (pid_file, &his_addr, argv) < 0)
+ 	exit (1);
+     }
+   else
+diff --git a/ftpd/server_mode.c b/ftpd/server_mode.c
+index 3d3a498..605e13e 100644
+--- a/ftpd/server_mode.c
++++ b/ftpd/server_mode.c
+@@ -37,6 +37,8 @@
+ # include <tcpd.h>
+ #endif
+ 
++#include <libinetutils.h>
++
+ static void reapchild (int);
+ 
+ #define DEFPORT 21
+@@ -92,7 +94,7 @@ reapchild (int signo ARG_UNUSED)
+ }
+ 
+ int
+-server_mode (const char *pidfile, struct sockaddr_in *phis_addr)
++server_mode (const char *pidfile, struct sockaddr_in *phis_addr, char *argv[])
+ {
+   int ctl_sock, fd;
+   struct servent *sv;
+@@ -176,5 +178,10 @@ server_mode (const char *pidfile, struct sockaddr_in *phis_addr)
+   if (!check_host ((struct sockaddr *) phis_addr))
+     return -1;
+ #endif
++
++#ifndef HAVE_FORK
++  _exit(execvp(argv[0], argv));
++#endif
++
+   return fd;
+ }
+-- 
+1.7.3.2
+
diff --git a/meta-oe/recipes-connectivity/inetutils/inetutils_1.8.bb b/meta-oe/recipes-connectivity/inetutils/inetutils_1.8.bb
new file mode 100644
index 0000000..8fc34d6
--- /dev/null
+++ b/meta-oe/recipes-connectivity/inetutils/inetutils_1.8.bb
@@ -0,0 +1,66 @@
+SECTION = "libs"
+DEPENDS = "ncurses fakeroot-native"
+LICENSE = "GPL"
+DESCRIPTION = "The GNU inetutils are a collection of common \
+networking utilities and servers including ftp, ftpd, rcp, \
+rexec, rlogin, rlogind, rsh, rshd, syslog, syslogd, talk, \
+talkd, telnet, telnetd, tftp, tftpd, and uucpd."
+
+LIC_FILES_CHKSUM = "file://COPYING;md5=adefda309052235aa5d1e99ce7557010"
+
+SRC_URI = "${GNU_MIRROR}/inetutils/inetutils-${PV}.tar.gz \
+           file://inetutils-1.8-0001-printf-parse-pull-in-features.h-for-__GLIBC__.patch \
+           file://inetutils-1.8-0002-argp-fix-program_invocation_name-detection.patch \
+           file://inetutils-1.8-0003-wchar.patch \
+           file://inetutils-1.8-1001-ftp-rename-ruserpass-to-avoid-C-library-collision.patch \
+           file://inetutils-1.8-1002-rshd-detect-__rcmd_errstr-support-in-the-C-lib.patch \
+           file://inetutils-1.8-1003-use-daemon-from-the-C-library-when-possible.patch \
+           file://inetutils-1.8-1004-detect-fork-support.patch \
+           file://inetutils-1.8-1005-ftpd-add-daemon-D-nommu-support.patch \
+           file://fix-disable-ipv6.patch \
+"
+
+inherit autotools gettext
+
+noipv6="${@base_contains('DISTRO_FEATURES', 'ipv6', '', '--disable-ipv6 gl_cv_socket_ipv6=no', d)}"
+EXTRA_OECONF = "--with-ncurses-include-dir=${STAGING_INCDIR} \
+		--with-path-procnet-dev=/proc/net/dev \
+		${noipv6} \
+		"
+
+do_configure_prepend () {
+	export HELP2MAN='true'
+	cp ${STAGING_DATADIR_NATIVE}/gettext/config.rpath ${S}/build-aux/config.rpath
+	rm -f ${S}/glob/configure*
+}
+
+fakeroot do_install () {
+	autotools_do_install
+	install -d ${D}${base_sbindir} ${D}${base_bindir}
+	mv ${D}${bindir}/tftp ${D}${bindir}/tftp.${PN}
+	mv ${D}${bindir}/telnet ${D}${bindir}/telnet.${PN}
+	mv ${D}${bindir}/logger ${D}${bindir}/logger.${PN}
+	mv ${D}${bindir}/traceroute ${D}${bindir}/traceroute.${PN}
+	mv ${D}${bindir}/hostname ${D}${base_bindir}/hostname.${PN}
+	mv ${D}${bindir}/ifconfig ${D}${base_sbindir}/ifconfig.${PN}
+}
+
+pkg_postinst_${PN} () {
+	update-alternatives --install ${bindir}/tftp tftp tftp.${PN} 100
+	update-alternatives --install ${bindir}/telnet telnet telnet.${PN} 100
+	update-alternatives --install ${bindir}/logger logger logger.${PN} 100
+	update-alternatives --install ${bindir}/traceroute traceroute traceroute.${PN} 100
+	update-alternatives --install ${base_bindir}/hostname hostname hostname.${PN} 100
+	update-alternatives --install ${base_sbindir}/ifconfig ifconfig ifconfig.${PN} 100
+}
+
+pkg_prerm_${PN} () {
+	update-alternatives --remove tftp tftp.${PN}
+	update-alternatives --remove telnet telnet.${PN}
+	update-alternatives --remove logger logger.${PN}
+	update-alternatives --remove traceroute traceroute.${PN}
+	update-alternatives --remove ifconfig ifconfig.${PN}
+}
+
+SRC_URI[md5sum] = "ad8fdcdf1797b9ca258264a6b04e48fd"
+SRC_URI[sha256sum] = "c8500baee04b9ea408c9e65e24ad7f5b41e7d96d42fb1d29abf25b52b68311c7"
-- 
1.7.0.4





^ permalink raw reply related	[flat|nested] 31+ messages in thread

* [PATCH meta-oe 3/9] ipsec-tools: add
  2011-12-16  2:39 [PATCH meta-oe 1/9] bridge-utils: add b19537
  2011-12-16  2:39 ` [PATCH meta-oe 2/9] ietutils: add b19537
@ 2011-12-16  2:39 ` b19537
  2011-12-16  7:49   ` Koen Kooi
  2011-12-16  2:39 ` [PATCH meta-oe 4/9] libnfnetlink: add b19537
                   ` (6 subsequent siblings)
  8 siblings, 1 reply; 31+ messages in thread
From: b19537 @ 2011-12-16  2:39 UTC (permalink / raw)
  To: openembedded-devel

From: Zhenhua Luo <b19537@freescale.com>

    IPsec-Tools is a port of KAME's IPsec utilities to the Linux IPsec
    implementation.

Signed-off-by: Zhenhua Luo <b19537@freescale.com>
---
 .../ipsec-tools/files/ipsec-tools-install.patch    |   14 +++++
 .../recipes-support/ipsec-tools/ipsec-tools.inc    |   52 ++++++++++++++++++++
 .../ipsec-tools/ipsec-tools_0.7.2.bb               |   11 ++++
 3 files changed, 77 insertions(+), 0 deletions(-)
 create mode 100644 meta-oe/recipes-support/ipsec-tools/files/ipsec-tools-install.patch
 create mode 100644 meta-oe/recipes-support/ipsec-tools/ipsec-tools.inc
 create mode 100644 meta-oe/recipes-support/ipsec-tools/ipsec-tools_0.7.2.bb

diff --git a/meta-oe/recipes-support/ipsec-tools/files/ipsec-tools-install.patch b/meta-oe/recipes-support/ipsec-tools/files/ipsec-tools-install.patch
new file mode 100644
index 0000000..6b9c39b
--- /dev/null
+++ b/meta-oe/recipes-support/ipsec-tools/files/ipsec-tools-install.patch
@@ -0,0 +1,14 @@
+Taken from pld-linux.org:
+http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/ipsec-tools/ipsec-tools-install.patch
+
+--- ipsec-tools-0.7.2/src/racoon/Makefile.am~	2008-07-23 13:48:40.000000000 +0200
++++ ipsec-tools-0.7.2/src/racoon/Makefile.am	2009-07-04 01:43:48.148433975 +0200
+@@ -3,7 +3,7 @@
+ sbin_PROGRAMS = racoon racoonctl plainrsa-gen
+ noinst_PROGRAMS = eaytest
+ include_racoon_HEADERS = racoonctl.h var.h vmbuf.h misc.h gcmalloc.h admin.h \
+-	schedule.h sockmisc.h vmbuf.h isakmp_var.h isakmp.h isakmp_xauth.h \
++	schedule.h sockmisc.h isakmp_var.h isakmp.h isakmp_xauth.h \
+ 	isakmp_cfg.h isakmp_unity.h ipsec_doi.h evt.h
+ lib_LTLIBRARIES = libracoon.la
+ 
diff --git a/meta-oe/recipes-support/ipsec-tools/ipsec-tools.inc b/meta-oe/recipes-support/ipsec-tools/ipsec-tools.inc
new file mode 100644
index 0000000..fffb897
--- /dev/null
+++ b/meta-oe/recipes-support/ipsec-tools/ipsec-tools.inc
@@ -0,0 +1,52 @@
+DESCRIPTION = "IPsec-Tools is a port of KAME's IPsec utilities to the \
+Linux-2.6 IPsec implementation."
+HOMEPAGE = "http://ipsec-tools.sourceforge.net/"
+SECTION = "console/network"
+LICENSE = "BSD"
+DEPENDS = "virtual/kernel openssl readline flex"
+
+SRC_URI = "${SOURCEFORGE_MIRROR}/ipsec-tools/ipsec-tools-${PV}.tar.bz2;name=ipsec-tools-${PV}"
+
+INC_PR = "r3"
+
+inherit autotools
+
+# Options:
+#  --enable-adminport      enable admin port
+#  --enable-rc5            enable RC5 encryption (patented)
+#  --enable-idea enable IDEA encryption (patented)
+#  --enable-gssapi         enable GSS-API authentication
+#  --enable-hybrid         enable hybrid, both mode-cfg and xauth support
+#  --enable-frag           enable IKE fragmentation payload support
+#  --enable-stats          enable statistics logging function
+#  --enable-dpd            enable dead peer detection
+#  --enable-samode-unspec  enable to use unspecified a mode of SA
+#  --disable-ipv6          disable ipv6 support
+#  --enable-natt           enable NAT-Traversal (yes/no/kernel)
+#  --enable-natt-versions=list    list of supported NAT-T versions delimited by coma.
+#  --with-kernel-headers=/lib/modules/<uname>/build/include
+#                          where your Linux Kernel headers are installed
+#  --with-readline         support readline input (yes by default)
+#  --with-flex             use directiory (default: no)
+#  --with-flexlib=<LIB>    specify flex library.
+#  --with-openssl=DIR      specify OpenSSL directory
+#  --with-libradius=DIR    specify libradius path (like/usr/pkg)
+#  --with-libpam=DIR       specify libpam path (like/usr/pkg)
+#
+# Note: if you give it the actual kernel headers it won't build, it actually
+# needs to point at the linux-libc-headers version of the kernel headers.
+#
+EXTRA_OECONF = "--with-kernel-headers=${STAGING_INCDIR} \
+                --with-readline \
+                --with-openssl=${STAGING_LIBDIR}/.. \
+                --without-libradius \
+                --without-gssapi \
+                --without-libpam"
+
+# See http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=530527
+CFLAGS += "-fno-strict-aliasing"
+
+# Sometimes it attempts to use y.tab.c before it is actually
+# generated. Note that the failure case is very rare, but it does
+# happen.
+PARALLEL_MAKE = ""
diff --git a/meta-oe/recipes-support/ipsec-tools/ipsec-tools_0.7.2.bb b/meta-oe/recipes-support/ipsec-tools/ipsec-tools_0.7.2.bb
new file mode 100644
index 0000000..e86f2cf
--- /dev/null
+++ b/meta-oe/recipes-support/ipsec-tools/ipsec-tools_0.7.2.bb
@@ -0,0 +1,11 @@
+PR = "${INC_PR}.1"
+
+require ipsec-tools.inc
+
+LIC_FILES_CHKSUM = "file://Makefile.in;endline=14;md5=c73d05590728997bfbab5c671ed38366"
+
+SRC_URI += "file://ipsec-tools-install.patch"
+SRC_URI[ipsec-tools-0.7.2.md5sum] = "72861f005746ee27984b2ee715ecc629"
+SRC_URI[ipsec-tools-0.7.2.sha256sum] = "08722ff6c62de3e042fef337454f03622a79053108d6dcc686c9c854f9f9e031"
+
+EXTRA_OECONF += " --disable-security-context"
-- 
1.7.0.4





^ permalink raw reply related	[flat|nested] 31+ messages in thread

* [PATCH meta-oe 4/9] libnfnetlink: add
  2011-12-16  2:39 [PATCH meta-oe 1/9] bridge-utils: add b19537
  2011-12-16  2:39 ` [PATCH meta-oe 2/9] ietutils: add b19537
  2011-12-16  2:39 ` [PATCH meta-oe 3/9] ipsec-tools: add b19537
@ 2011-12-16  2:39 ` b19537
  2011-12-16  7:50   ` Koen Kooi
  2011-12-16  2:39 ` [PATCH meta-oe 5/9] nerperf: add b19537
                   ` (5 subsequent siblings)
  8 siblings, 1 reply; 31+ messages in thread
From: b19537 @ 2011-12-16  2:39 UTC (permalink / raw)
  To: openembedded-devel

From: Zhenhua Luo <b19537@freescale.com>

    libnfnetlink is the low-level library for netfilter related kernel/userspace
    communication. It provides a generic messaging infrastructure for in-kernel
    netfilter subsystems (such as nfnetlink_log, nfnetlink_queue, nfnetlink_conntrack) 
    and their respective users and/or management tools in userspace.

Signed-off-by: Zhenhua Luo <b19537@freescale.com>
---
 .../libnfnetlink/libnfnetlink.inc                  |   15 +++++++++++++++
 .../libnfnetlink/libnfnetlink_1.0.0.bb             |    8 ++++++++
 2 files changed, 23 insertions(+), 0 deletions(-)
 create mode 100644 meta-oe/recipes-connectivity/libnfnetlink/libnfnetlink.inc
 create mode 100644 meta-oe/recipes-connectivity/libnfnetlink/libnfnetlink_1.0.0.bb

diff --git a/meta-oe/recipes-connectivity/libnfnetlink/libnfnetlink.inc b/meta-oe/recipes-connectivity/libnfnetlink/libnfnetlink.inc
new file mode 100644
index 0000000..1862282
--- /dev/null
+++ b/meta-oe/recipes-connectivity/libnfnetlink/libnfnetlink.inc
@@ -0,0 +1,15 @@
+DESCRIPTION = "libnfnetlink is the low-level library for netfilter related \
+kernel/userspace communication. It provides a generic messaging \
+infrastructure for in-kernel netfilter subsystems (such as nfnetlink_log, \
+nfnetlink_queue, nfnetlink_conntrack) and their respective users and/or \
+management tools in userspace."
+
+SECTION = "devel/libs"
+LICENSE = "GPL"
+HOMEPAGE = "http://www.netfilter.org/projects/libnfnetlink/index.html"
+INC_PR = "r0"
+
+SRC_URI = "http://www.netfilter.org/projects/libnfnetlink/files/libnfnetlink-${PV}.tar.bz2;name=libnfnetlink-${PV}"
+
+inherit autotools pkgconfig
+
diff --git a/meta-oe/recipes-connectivity/libnfnetlink/libnfnetlink_1.0.0.bb b/meta-oe/recipes-connectivity/libnfnetlink/libnfnetlink_1.0.0.bb
new file mode 100644
index 0000000..74decff
--- /dev/null
+++ b/meta-oe/recipes-connectivity/libnfnetlink/libnfnetlink_1.0.0.bb
@@ -0,0 +1,8 @@
+include libnfnetlink.inc
+
+PR = "${INC_PR}.0"
+
+LIC_FILES_CHKSUM = "file://Makefile.in;endline=13;md5=a44bb8f4c22793d55c5e879eec256702"
+
+SRC_URI[libnfnetlink-1.0.0.md5sum] = "016fdec8389242615024c529acc1adb8"
+SRC_URI[libnfnetlink-1.0.0.sha256sum] = "3752b03a4c09821ee9a2528d69289423a01e7171f1a22dfdd11d5459e03972fb"
-- 
1.7.0.4





^ permalink raw reply related	[flat|nested] 31+ messages in thread

* [PATCH meta-oe 5/9] nerperf: add
  2011-12-16  2:39 [PATCH meta-oe 1/9] bridge-utils: add b19537
                   ` (2 preceding siblings ...)
  2011-12-16  2:39 ` [PATCH meta-oe 4/9] libnfnetlink: add b19537
@ 2011-12-16  2:39 ` b19537
  2011-12-16  7:51   ` Koen Kooi
  2011-12-16  2:39 ` [PATCH meta-oe 6/9] ptpd: add b19537
                   ` (4 subsequent siblings)
  8 siblings, 1 reply; 31+ messages in thread
From: b19537 @ 2011-12-16  2:39 UTC (permalink / raw)
  To: openembedded-devel

From: Zhenhua Luo <b19537@freescale.com>

    Network performance benchmark including tests for TCP, UDP, sockets, 
    ATM and more.

Signed-off-by: Zhenhua Luo <b19537@freescale.com>
---
 .../recipes-benchmark/netperf/files/cpu_set.patch  |   24 +++++++++
 meta-oe/recipes-benchmark/netperf/files/init       |   51 ++++++++++++++++++++
 .../recipes-benchmark/netperf/files/vfork.patch    |   26 ++++++++++
 meta-oe/recipes-benchmark/netperf/netperf_2.4.4.bb |   47 ++++++++++++++++++
 4 files changed, 148 insertions(+), 0 deletions(-)
 create mode 100644 meta-oe/recipes-benchmark/netperf/files/cpu_set.patch
 create mode 100644 meta-oe/recipes-benchmark/netperf/files/init
 create mode 100755 meta-oe/recipes-benchmark/netperf/files/vfork.patch
 create mode 100644 meta-oe/recipes-benchmark/netperf/netperf_2.4.4.bb

diff --git a/meta-oe/recipes-benchmark/netperf/files/cpu_set.patch b/meta-oe/recipes-benchmark/netperf/files/cpu_set.patch
new file mode 100644
index 0000000..b2b95c7
--- /dev/null
+++ b/meta-oe/recipes-benchmark/netperf/files/cpu_set.patch
@@ -0,0 +1,24 @@
+Index: netperf-2.4.4/src/netlib.c
+===================================================================
+--- netperf-2.4.4.orig/src/netlib.c	2007-10-17 23:16:02.000000000 +0200
++++ netperf-2.4.4/src/netlib.c	2008-12-03 17:56:32.000000000 +0100
+@@ -1988,10 +1988,15 @@
+      fall-back on what we had before, which is to use just the size of
+      an unsigned long. raj 2006-09-14 */
+ 
+-#if defined(__CPU_SETSIZE)
+-#define NETPERF_CPU_SETSIZE __CPU_SETSIZE
+-#define NETPERF_CPU_SET(cpu, cpusetp)  __CPU_SET(cpu, cpusetp)
+-#define NETPERF_CPU_ZERO(cpusetp)      __CPU_ZERO (cpusetp)
++#if defined(CPU_SETSIZE)
++#define NETPERF_CPU_SETSIZE CPU_SETSIZE
++#define NETPERF_CPU_SET(cpu, cpusetp)  CPU_SET(cpu, cpusetp)
++#define NETPERF_CPU_ZERO(cpusetp)      CPU_ZERO (cpusetp)
++  typedef cpu_set_t netperf_cpu_set_t;
++#elif defined(__CPU_SETSIZE)
++#define NETPERF_CPU_SETSIZE __CPU_SETSIZE
++#define NETPERF_CPU_SET(cpu, cpusetp)  __CPU_SET (cpu, cpusetp)
++#define NETPERF_CPU_ZERO(cpusetp)      __CPU_ZERO (cpusetp)
+   typedef cpu_set_t netperf_cpu_set_t;
+ #else
+ #define NETPERF_CPU_SETSIZE sizeof(unsigned long)
diff --git a/meta-oe/recipes-benchmark/netperf/files/init b/meta-oe/recipes-benchmark/netperf/files/init
new file mode 100644
index 0000000..7cc053a
--- /dev/null
+++ b/meta-oe/recipes-benchmark/netperf/files/init
@@ -0,0 +1,51 @@
+#!/bin/sh
+#
+#
+# Written by Miquel van Smoorenburg <miquels@cistron.nl>.
+# Modified for Debian GNU/Linux by Ian Murdock <imurdock@gnu.org>.
+# Modified for Debian by Christoph Lameter <clameter@debian.org>
+# Modified for openembedded by Bruno Randolf <bruno.randolf@4g-systems.biz>
+
+PATH=/bin:/usr/bin:/sbin:/usr/sbin
+DAEMON=/usr/sbin/netserver
+
+test -f $DAEMON || exit 0
+
+case "$1" in
+  start)
+		echo -n "Starting network benchmark server: netserver"
+    start-stop-daemon -S -x $DAEMON > /dev/null 2>&1 
+		echo "."
+    ;;
+  stop)
+		echo -n "Stopping network benchmark server: netserver"
+    start-stop-daemon -K -x $DAEMON
+		echo "."
+    ;;
+  #reload)
+    #
+    # If the daemon can reload its config files on the fly
+    # for example by sending it SIGHUP, do it here.
+    #
+    # If the daemon responds to changes in its config file
+    # directly anyway, make this a do-nothing entry.
+    #
+    # start-stop-daemon --stop --signal 1 --verbose --exec $DAEMON
+    # ;;
+  restart|force-reload)
+  #
+  # If the "reload" option is implemented, move the "force-reload"
+  # option to the "reload" entry above. If not, "force-reload" is
+  # just the same as "restart".
+  #
+    start-stop-daemon -K -x $DAEMON
+    sleep 1
+    start-stop-daemon -S -x $DAEMON
+    ;;
+  *)
+    echo "Usage: /etc/init.d/netperf {start|stop|restart|force-reload}"
+    exit 1
+    ;;
+esac
+
+exit 0
diff --git a/meta-oe/recipes-benchmark/netperf/files/vfork.patch b/meta-oe/recipes-benchmark/netperf/files/vfork.patch
new file mode 100755
index 0000000..a40c96f
--- /dev/null
+++ b/meta-oe/recipes-benchmark/netperf/files/vfork.patch
@@ -0,0 +1,26 @@
+--- netperf-2.4.4/src/netserver.c	2007-10-17 17:09:12.000000000 -0400
++++ netperf-2.4.4.new/src/netserver.c	2011-01-23 12:26:39.000000000 -0500
+@@ -567,7 +567,11 @@
+   fflush (stdin);
+   fflush (stdout);
+   fflush (stderr);
++#if defined(HAVE_FORK)
+   switch (fork())
++#else
++  switch (vfork())
++#endif
+     {
+     case -1:  	
+       perror("netperf server error");
+@@ -712,7 +716,11 @@
+ #else
+       signal(SIGCLD, SIG_IGN);
+ 	  
++#if defined(HAVE_FORK)
+ 	  switch (fork())
++#else
++	  switch (vfork())
++#endif
+ 	    {
+ 	    case -1:
+ 	      /* something went wrong */
diff --git a/meta-oe/recipes-benchmark/netperf/netperf_2.4.4.bb b/meta-oe/recipes-benchmark/netperf/netperf_2.4.4.bb
new file mode 100644
index 0000000..e06385a
--- /dev/null
+++ b/meta-oe/recipes-benchmark/netperf/netperf_2.4.4.bb
@@ -0,0 +1,47 @@
+DESCRIPTION="Network performance benchmark including tests for TCP, UDP, sockets, ATM and more."
+SECTION = "console/network"
+HOMEPAGE = "http://www.netperf.org/"
+LICENSE = "netperf"
+PR = "r3"
+
+LIC_FILES_CHKSUM = "file://COPYING;md5=a0ab17253e7a3f318da85382c7d5d5d6"
+
+SRC_URI="ftp://ftp.netperf.org/netperf/archive/netperf-${PV}.tar.bz2 \
+         file://cpu_set.patch \
+         file://vfork.patch \
+         file://init"
+
+inherit update-rc.d autotools
+
+S = "${WORKDIR}/netperf-${PV}"
+
+# cpu_set.patch plus _GNU_SOURCE makes src/netlib.c compile with CPU_ macros
+CFLAGS_append = " -DDO_UNIX -DDO_IPV6 -D_GNU_SOURCE"
+
+do_install() {
+        install -d ${D}${sbindir} ${D}${bindir} ${D}${sysconfdir}/init.d
+        install -m 4755 src/netperf ${D}${bindir}
+        install -m 4755 src/netserver ${D}${sbindir}
+        install -m 0755 ${WORKDIR}/init ${D}${sysconfdir}/init.d/netperf
+
+        # man
+        install -d ${D}${mandir}/man1/
+        install -m 0644 doc/netserver.man ${D}${mandir}/man1/netserver.1
+        install -m 0644 doc/netperf.man ${D}${mandir}/man1/netperf.1
+
+        # move scripts to examples directory
+        install -d ${D}${docdir}/netperf/examples
+        install -m 0644 doc/examples/*_script ${D}${docdir}/netperf/examples/
+
+        # docs ..
+        install -m 0644 COPYING ${D}${docdir}/netperf
+        install -m 0644 Release_Notes ${D}${docdir}/netperf
+        install -m 0644 README ${D}${docdir}/netperf
+        install -m 0644 doc/netperf_old.ps ${D}${docdir}/netperf
+}
+
+INITSCRIPT_NAME="netperf"
+INITSCRIPT_PARAMS="defaults"
+
+SRC_URI[md5sum] = "0e942f22864e601406a994420231075b"
+SRC_URI[sha256sum] = "28e76af491ea3696885e4558ae2f5628a4b9ebdbefc2f1d9cf1b35db2813e497"
-- 
1.7.0.4





^ permalink raw reply related	[flat|nested] 31+ messages in thread

* [PATCH meta-oe 6/9] ptpd: add
  2011-12-16  2:39 [PATCH meta-oe 1/9] bridge-utils: add b19537
                   ` (3 preceding siblings ...)
  2011-12-16  2:39 ` [PATCH meta-oe 5/9] nerperf: add b19537
@ 2011-12-16  2:39 ` b19537
  2011-12-16  7:52   ` Koen Kooi
  2011-12-16 21:57   ` Khem Raj
  2011-12-16  2:39 ` [PATCH meta-oe 7/9] strongswan: add b19537
                   ` (3 subsequent siblings)
  8 siblings, 2 replies; 31+ messages in thread
From: b19537 @ 2011-12-16  2:39 UTC (permalink / raw)
  To: openembedded-devel

From: Zhenhua Luo <b19537@freescale.com>

    Precision Time Protocol (PTP) as defined by the IEEE 1588 standard.

Signed-off-by: Zhenhua Luo <b19537@freescale.com>
---
 .../ptpd/ptpd-1.0.0/add-limit-h.patch              |   26 ++++++++++++++++++++
 meta-oe/recipes-connectivity/ptpd/ptpd_1.0.0.bb    |   21 ++++++++++++++++
 2 files changed, 47 insertions(+), 0 deletions(-)
 create mode 100644 meta-oe/recipes-connectivity/ptpd/ptpd-1.0.0/add-limit-h.patch
 create mode 100644 meta-oe/recipes-connectivity/ptpd/ptpd_1.0.0.bb

diff --git a/meta-oe/recipes-connectivity/ptpd/ptpd-1.0.0/add-limit-h.patch b/meta-oe/recipes-connectivity/ptpd/ptpd-1.0.0/add-limit-h.patch
new file mode 100644
index 0000000..8ed3f2f
--- /dev/null
+++ b/meta-oe/recipes-connectivity/ptpd/ptpd-1.0.0/add-limit-h.patch
@@ -0,0 +1,26 @@
+ptpd: fix ftbfs by including limits.h so MAX_INT defined
+
+The current recipe for ptpd fails to build with:
+
+| arith.c: In function 'fromInternalTime':
+| arith.c:46: error: 'INT_MAX' undeclared (first use in this function)
+| arith.c:46: error: (Each undeclared identifier is reported only once
+| arith.c:46: error: for each function it appears in.)
+| arith.c: In function 'toInternalTime':
+| arith.c:64: error: 'INT_MAX' undeclared (first use in this function)
+| make: *** [arith.o] Error 1
+| make: *** Waiting for unfinished jobs....
+| FATAL: oe_runmake failed
+
+diff --git a/src/arith.c b/src/arith.c
+--- a/src/arith.c
++++ b/src/arith.c
+@@ -1,6 +1,7 @@
+ /* arith.c */
+ 
+ #include "ptpd.h"
++#include <limits.h>
+ 
+ /* from annex C of the spec */
+ UInteger32 crc_algorithm(Octet *buf, Integer16 length)
+
diff --git a/meta-oe/recipes-connectivity/ptpd/ptpd_1.0.0.bb b/meta-oe/recipes-connectivity/ptpd/ptpd_1.0.0.bb
new file mode 100644
index 0000000..a9c0351
--- /dev/null
+++ b/meta-oe/recipes-connectivity/ptpd/ptpd_1.0.0.bb
@@ -0,0 +1,21 @@
+DESCRIPTION = "Precision Time Protocol (PTP) as defined by the IEEE 1588 standard"
+HOMEPAGE = "http://sourceforge.net/projects/ptpd"
+LICENSE = "BSD"
+SECTION = "network"
+PR = "r1"
+
+LIC_FILES_CHKSUM = "file://../COPYRIGHT;md5=888bd1b2c9c013b93394b8bfb453c417"
+
+SRC_URI = "http://downloads.sourceforge.net/project/ptpd/ptpd/${PV}/ptpd-${PV}.tar.gz \
+           file://add-limit-h.patch;striplevel=2"
+
+S = "${WORKDIR}/ptpd-${PV}/src"
+
+do_install() {
+        install -d ${D}${bindir} ${D}${mandir}/man8
+        install -m 4555 ptpd ${D}${bindir}
+        install -m 644 ptpd.8 ${D}${mandir}/man8
+}
+
+SRC_URI[md5sum] = "b112b2bedc7f6e6e11a838608b9e0357"
+SRC_URI[sha256sum] = "8ac1fdcad1e246b0395097dd9af29966c6823533d7e6989aae91506048fb51bc"
-- 
1.7.0.4





^ permalink raw reply related	[flat|nested] 31+ messages in thread

* [PATCH meta-oe 7/9] strongswan: add
  2011-12-16  2:39 [PATCH meta-oe 1/9] bridge-utils: add b19537
                   ` (4 preceding siblings ...)
  2011-12-16  2:39 ` [PATCH meta-oe 6/9] ptpd: add b19537
@ 2011-12-16  2:39 ` b19537
  2011-12-16  7:53   ` Koen Kooi
  2011-12-16  2:39 ` [PATCH meta-oe 8/9] rng-tools: add b19537
                   ` (2 subsequent siblings)
  8 siblings, 1 reply; 31+ messages in thread
From: b19537 @ 2011-12-16  2:39 UTC (permalink / raw)
  To: openembedded-devel

From: Zhenhua Luo <b19537@freescale.com>

    strongSwan is an OpenSource IPsec implementation for the Linux operating system.

Signed-off-by: Zhenhua Luo <b19537@freescale.com>
---
 .../recipes-support/strongswan/strongswan_4.5.1.bb |   23 ++++++++++++++++++++
 1 files changed, 23 insertions(+), 0 deletions(-)
 create mode 100644 meta-oe/recipes-support/strongswan/strongswan_4.5.1.bb

diff --git a/meta-oe/recipes-support/strongswan/strongswan_4.5.1.bb b/meta-oe/recipes-support/strongswan/strongswan_4.5.1.bb
new file mode 100644
index 0000000..a692637
--- /dev/null
+++ b/meta-oe/recipes-support/strongswan/strongswan_4.5.1.bb
@@ -0,0 +1,23 @@
+SECTION = "console/network"
+DESCRIPTION = "strongSwan is an OpenSource IPsec implementation for the \
+Linux operating system."
+HOMEPAGE = "http://www.strongswan.org"
+LICENSE = "GPLv2"
+DEPENDS = "gmp openssl flex-native flex bison-native"
+RRECOMMENDS_${PN} = "kernel-module-ipsec"
+PR = "r0"
+
+LIC_FILES_CHKSUM = "file://COPYING;md5=0636e73ff0215e8d672dc4c32c317bb3"
+
+SRC_URI = "http://download.strongswan.org/strongswan-${PV}.tar.bz2"
+
+EXTRA_OECONF = "--disable-curl --disable-soup --disable-ldap \
+		--enable-gmp --disable-mysql --disable-sqlite \
+		--enable-openssl"
+
+inherit autotools
+
+FILES_${PN}-dbg += "${libexecdir}/ipsec/.debug ${libexecdir}/ipsec/plugins/.debug"
+
+SRC_URI[md5sum] = "81a4a699c4a1a49b74061dfa47b5a033"
+SRC_URI[sha256sum] = "252d7369d94aa2d79e6fad078853b07ca897ea811ab1e1a2b008bcec0d1e758a"
-- 
1.7.0.4





^ permalink raw reply related	[flat|nested] 31+ messages in thread

* [PATCH meta-oe 8/9] rng-tools: add
  2011-12-16  2:39 [PATCH meta-oe 1/9] bridge-utils: add b19537
                   ` (5 preceding siblings ...)
  2011-12-16  2:39 ` [PATCH meta-oe 7/9] strongswan: add b19537
@ 2011-12-16  2:39 ` b19537
  2011-12-16  7:53   ` Koen Kooi
  2011-12-16  2:39 ` [PATCH meta-oe 9/9] xfsprogs: add b19537
  2011-12-16  7:45 ` [PATCH meta-oe 1/9] bridge-utils: add Koen Kooi
  8 siblings, 1 reply; 31+ messages in thread
From: b19537 @ 2011-12-16  2:39 UTC (permalink / raw)
  To: openembedded-devel

From: Zhenhua Luo <b19537@freescale.com>

    Random number generator daemo.

Signed-off-by: Zhenhua Luo <b19537@freescale.com>
---
 meta-oe/recipes-support/rng-tools/files/default  |    2 +
 meta-oe/recipes-support/rng-tools/files/init     |   49 ++++++++++++++++++++++
 meta-oe/recipes-support/rng-tools/rng-tools_2.bb |   28 ++++++++++++
 3 files changed, 79 insertions(+), 0 deletions(-)
 create mode 100644 meta-oe/recipes-support/rng-tools/files/default
 create mode 100755 meta-oe/recipes-support/rng-tools/files/init
 create mode 100644 meta-oe/recipes-support/rng-tools/rng-tools_2.bb

diff --git a/meta-oe/recipes-support/rng-tools/files/default b/meta-oe/recipes-support/rng-tools/files/default
new file mode 100644
index 0000000..ab7cd93
--- /dev/null
+++ b/meta-oe/recipes-support/rng-tools/files/default
@@ -0,0 +1,2 @@
+# Specify rng device
+RNG_DEVICE=/dev/hwrng
diff --git a/meta-oe/recipes-support/rng-tools/files/init b/meta-oe/recipes-support/rng-tools/files/init
new file mode 100755
index 0000000..5fa5959
--- /dev/null
+++ b/meta-oe/recipes-support/rng-tools/files/init
@@ -0,0 +1,49 @@
+#! /bin/sh 
+#
+# This is an init script for openembedded
+# Copy it to /etc/init.d/rng-tools and type
+# > update-rc.d rng-tools defaults 60
+#
+
+rngd=/usr/sbin/rngd
+test -x "$rngd" || exit 1
+
+if [ -e /etc/default/rng-tools ]; then
+    . /etc/default/rng-tools
+fi
+
+if [ -n "$RNG_DEVICE" ]; then
+    EXTRA_ARGS="-- -r $RNG_DEVICE"
+fi
+
+
+case "$1" in
+  start)
+    echo -n "Starting random number generator daemon"
+    start-stop-daemon -S -q -x $rngd $EXTRA_ARGS
+    echo "."
+    ;;
+  stop)
+    echo -n "Stopping random number generator daemon"
+    start-stop-daemon -K -q -n rngd
+    echo "."
+    ;;
+  reload|force-reload)
+    echo -n "Signalling rng daemon restart"
+    start-stop-daemon -K -q -s 1 -x $rngd
+    start-stop-daemon -K -q -s 1 -x $rngd
+    ;;
+  restart)
+    echo -n "Stopping random number generator daemon"
+    start-stop-daemon -K -q -n rngd
+    echo "."
+    echo -n "Starting random number generator daemon"
+    start-stop-daemon -S -q -x $rngd $EXTRA_ARGS
+    echo "."
+    ;;
+  *)
+    echo "Usage: /etc/init.d/rng-tools {start|stop|reload|restart|force-reload}"
+    exit 1
+esac
+
+exit 0
\ No newline at end of file
diff --git a/meta-oe/recipes-support/rng-tools/rng-tools_2.bb b/meta-oe/recipes-support/rng-tools/rng-tools_2.bb
new file mode 100644
index 0000000..fc6c8ab
--- /dev/null
+++ b/meta-oe/recipes-support/rng-tools/rng-tools_2.bb
@@ -0,0 +1,28 @@
+DESCRIPTION = "Random number generator daemon"
+LICENSE = "GPL"
+DEPENDS_append_libc-uclibc = " argp-standalone"
+PR = "r4"
+
+LIC_FILES_CHKSUM = "file://COPYING;md5=94d55d512a9ba36caa9b7df079bae19f"
+
+SRC_URI = "http://heanet.dl.sourceforge.net/sourceforge/gkernel/${P}.tar.gz \
+           file://init \
+           file://default"
+
+inherit autotools update-rc.d
+
+INITSCRIPT_NAME = "rng-tools"
+INITSCRIPT_PARAMS = "defaults"
+
+do_install_append() {
+        install -d "${D}${sysconfdir}/init.d"
+        install -m 0755 ${WORKDIR}/init ${D}${sysconfdir}/init.d/rng-tools
+        sed -i -e 's,/etc/,${sysconfdir}/,' -e 's,/usr/sbin/,${sbindir},' \
+            ${D}${sysconfdir}/init.d/rng-tools
+
+        install -d "${D}${sysconfdir}/default"
+        install -m 0644 ${WORKDIR}/default ${D}${sysconfdir}/default
+}
+
+SRC_URI[md5sum] = "63d503191eabed630324c104cc024475"
+SRC_URI[sha256sum] = "1126f0ecc8cab3af14a562cddc5d8ffeef47df7eba34a7aadcdee35a25ec2b1e"
-- 
1.7.0.4





^ permalink raw reply related	[flat|nested] 31+ messages in thread

* [PATCH meta-oe 9/9] xfsprogs: add
  2011-12-16  2:39 [PATCH meta-oe 1/9] bridge-utils: add b19537
                   ` (6 preceding siblings ...)
  2011-12-16  2:39 ` [PATCH meta-oe 8/9] rng-tools: add b19537
@ 2011-12-16  2:39 ` b19537
  2011-12-16  7:54   ` Koen Kooi
  2011-12-16  7:45 ` [PATCH meta-oe 1/9] bridge-utils: add Koen Kooi
  8 siblings, 1 reply; 31+ messages in thread
From: b19537 @ 2011-12-16  2:39 UTC (permalink / raw)
  To: openembedded-devel

From: Zhenhua Luo <b19537@freescale.com>

    xfsprogs provides XFS filesystem utilities.

Signed-off-by: Zhenhua Luo <b19537@freescale.com>
---
 meta-oe/recipes-support/xfsprogs/xfsprogs_3.1.7.bb |   43 ++++++++++++++++++++
 1 files changed, 43 insertions(+), 0 deletions(-)
 create mode 100644 meta-oe/recipes-support/xfsprogs/xfsprogs_3.1.7.bb

diff --git a/meta-oe/recipes-support/xfsprogs/xfsprogs_3.1.7.bb b/meta-oe/recipes-support/xfsprogs/xfsprogs_3.1.7.bb
new file mode 100644
index 0000000..07644ac
--- /dev/null
+++ b/meta-oe/recipes-support/xfsprogs/xfsprogs_3.1.7.bb
@@ -0,0 +1,43 @@
+DESCRIPTION = "XFS Filesystem Utilities"
+HOMEPAGE = "http://oss.sgi.com/projects/xfs"
+LICENSE = "GPL"
+SECTION = "base"
+DEPENDS = "util-linux"
+
+LIC_FILES_CHKSUM = "file://Makefile;endline=3;md5=def2844770bb44eba37bc9ca8610fad4"
+
+SRC_URI = "ftp://oss.sgi.com/projects/xfs/cmd_tars/${P}.tar.gz"
+SRC_URI[md5sum] = "049cf9873794ea49d0bb3f12d45748a4"
+SRC_URI[sha256sum] = "e150914210ac5fd29c098ef0fd94bdec51d2fb231cf9faa765c16ec6d75c8eaa"
+
+PARALLEL_MAKE = ""
+inherit autotools
+EXTRA_OECONF = "--enable-gettext=no"
+LIBTOOL = "${HOST_SYS}-libtool"
+EXTRA_OEMAKE = "'LIBTOOL=${LIBTOOL}'"
+TARGET_CC_ARCH += "${LDFLAGS}"
+
+FILES_${PN}-dev += "${base_libdir}/libhandle.la \
+                    ${base_libdir}/libhandle.so"
+
+do_configure () {
+	export DEBUG="-DNDEBUG"
+	oe_runconf
+}
+
+do_install () {
+	export DIST_ROOT=${D}
+	oe_runmake install
+	# needed for xfsdump
+	oe_runmake install-dev
+	# replace extra links to /usr/lib with relative links (otherwise autotools_prepackage_lamangler fails to read nonexistent link)
+	rm -f ${D}/${base_libdir}/libhandle.la
+	rm -f ${D}/${base_libdir}/libhandle.a
+	ln -s ../usr/lib/libhandle.la ${D}/${base_libdir}/libhandle.la
+	ln -s ../usr/lib/libhandle.a ${D}/${base_libdir}/libhandle.a
+
+	# and link from /usr/lib/libhandle.so to /lib/libhandle.so
+	rm -f ${D}/${libdir}/libhandle.so
+	ln -s ../../lib/libhandle.a ${D}/${libdir}/libhandle.so
+}
+
-- 
1.7.0.4





^ permalink raw reply related	[flat|nested] 31+ messages in thread

* Re: [PATCH meta-oe 1/9] bridge-utils: add
  2011-12-16  2:39 [PATCH meta-oe 1/9] bridge-utils: add b19537
                   ` (7 preceding siblings ...)
  2011-12-16  2:39 ` [PATCH meta-oe 9/9] xfsprogs: add b19537
@ 2011-12-16  7:45 ` Koen Kooi
  2011-12-16  8:48   ` Luo Zhenhua-B19537
  8 siblings, 1 reply; 31+ messages in thread
From: Koen Kooi @ 2011-12-16  7:45 UTC (permalink / raw)
  To: openembedded-devel

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Op 16-12-11 03:39, b19537@freescale.com schreef:
> From: Zhenhua Luo <b19537@freescale.com>
> 
> bridge-utils provides tools for ethernet bridging.
> 
> Signed-off-by: Zhenhua Luo <b19537@freescale.com> --- 
> .../bridge-utils/bridge-utils.inc                  |   30 +++ 
> .../bridge-utils/bridge-utils_1.4.bb               |    6 + 
> .../bridge-utils/files/ifupdown.sh                 |  245
> ++++++++++++++++++++ 3 files changed, 281 insertions(+), 0 deletions(-) 
> create mode 100644
> meta-oe/recipes-connectivity/bridge-utils/bridge-utils.inc create mode
> 100644 meta-oe/recipes-connectivity/bridge-utils/bridge-utils_1.4.bb 
> create mode 100644
> meta-oe/recipes-connectivity/bridge-utils/files/ifupdown.sh
> 
> diff --git a/meta-oe/recipes-connectivity/bridge-utils/bridge-utils.inc
> b/meta-oe/recipes-connectivity/bridge-utils/bridge-utils.inc new file
> mode 100644 index 0000000..5ac6c83 --- /dev/null +++
> b/meta-oe/recipes-connectivity/bridge-utils/bridge-utils.inc @@ -0,0
> +1,30 @@ +DESCRIPTION = "Tools for ethernet bridging." +HOMEPAGE =
> "http://bridge.sourceforge.net/" +SECTION = "console/network" +LICENSE =
> "GPL"

That's not a valid license

> +DEPENDS = "sysfsutils" +RRECOMMENDS_${PN} = "kernel-module-bridge"

That needs to move below do_install. Does it also need ifupdown? Patch looks
OK otherwise.

regards,

Koen
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (Darwin)
Comment: GPGTools - http://gpgtools.org

iEYEARECAAYFAk7q9zcACgkQMkyGM64RGpFR3QCfes5gKH1Jk36n80JUJGUoa1nO
DWsAn1aWYMXjieT5K+xmiwEdACL6Ln+5
=RPWd
-----END PGP SIGNATURE-----




^ permalink raw reply	[flat|nested] 31+ messages in thread

* Re: [PATCH meta-oe 2/9] ietutils: add
  2011-12-16  2:39 ` [PATCH meta-oe 2/9] ietutils: add b19537
@ 2011-12-16  7:48   ` Koen Kooi
  0 siblings, 0 replies; 31+ messages in thread
From: Koen Kooi @ 2011-12-16  7:48 UTC (permalink / raw)
  To: openembedded-devel

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Op 16-12-11 03:39, b19537@freescale.com schreef:
> From: Zhenhua Luo <b19537@freescale.com>
> 
> The GNU inetutils are a collection of common networking utilities and
> servers including ftp, ftpd, rcp, rexec, rlogin, rlogind, rsh, rshd,
> syslog, syslogd, talk, talkd, telnet, telnetd, tftp, tftpd, and uucpd.
> 
> Signed-off-by: Zhenhua Luo <b19537@freescale.com>

> +++ b/meta-oe/recipes-connectivity/inetutils/inetutils_1.8.bb @@ -0,0
> +1,66 @@ +SECTION = "libs" +DEPENDS = "ncurses fakeroot-native" +LICENSE
> = "GPL"

That's not valid license, please include the version number, e.g. GPLv2 or
GPLv2+

> +DESCRIPTION = "The GNU inetutils are a collection of common \ 
> +networking utilities and servers including ftp, ftpd, rcp, \ +rexec,
> rlogin, rlogind, rsh, rshd, syslog, syslogd, talk, \ +talkd, telnet,
> telnetd, tftp, tftpd, and uucpd."

Please move that to the top

> + +LIC_FILES_CHKSUM =
> "file://COPYING;md5=adefda309052235aa5d1e99ce7557010"

And move that next to LICENSE

> + +SRC_URI = "${GNU_MIRROR}/inetutils/inetutils-${PV}.tar.gz \ +
> file://inetutils-1.8-0001-printf-parse-pull-in-features.h-for-__GLIBC__.patch
> \ +
> file://inetutils-1.8-0002-argp-fix-program_invocation_name-detection.patch
> \ +           file://inetutils-1.8-0003-wchar.patch \ +
> file://inetutils-1.8-1001-ftp-rename-ruserpass-to-avoid-C-library-collision.patch
> \ +
> file://inetutils-1.8-1002-rshd-detect-__rcmd_errstr-support-in-the-C-lib.patch
> \ +
> file://inetutils-1.8-1003-use-daemon-from-the-C-library-when-possible.patch
> \ +           file://inetutils-1.8-1004-detect-fork-support.patch \ +
> file://inetutils-1.8-1005-ftpd-add-daemon-D-nommu-support.patch \ +
> file://fix-disable-ipv6.patch \ +" + +inherit autotools gettext + 
> +noipv6="${@base_contains('DISTRO_FEATURES', 'ipv6', '', '--disable-ipv6
> gl_cv_socket_ipv6=no', d)}" +EXTRA_OECONF =
> "--with-ncurses-include-dir=${STAGING_INCDIR} \ +
> --with-path-procnet-dev=/proc/net/dev \ +		${noipv6} \ +		" + 
> +do_configure_prepend () { +	export HELP2MAN='true' +	cp
> ${STAGING_DATADIR_NATIVE}/gettext/config.rpath
> ${S}/build-aux/config.rpath +	rm -f ${S}/glob/configure* +} + +fakeroot
> do_install () {

explicit fakeroot isn't needed anymore, pseudo always runs.


> +	autotools_do_install +	install -d ${D}${base_sbindir}
> ${D}${base_bindir} +	mv ${D}${bindir}/tftp ${D}${bindir}/tftp.${PN} +	mv
> ${D}${bindir}/telnet ${D}${bindir}/telnet.${PN} +	mv ${D}${bindir}/logger
> ${D}${bindir}/logger.${PN} +	mv ${D}${bindir}/traceroute
> ${D}${bindir}/traceroute.${PN} +	mv ${D}${bindir}/hostname
> ${D}${base_bindir}/hostname.${PN} +	mv ${D}${bindir}/ifconfig
> ${D}${base_sbindir}/ifconfig.${PN} +} + +pkg_postinst_${PN} () { +
> update-alternatives --install ${bindir}/tftp tftp tftp.${PN} 100 +
> update-alternatives --install ${bindir}/telnet telnet telnet.${PN} 100 +
> update-alternatives --install ${bindir}/logger logger logger.${PN} 100 +
> update-alternatives --install ${bindir}/traceroute traceroute
> traceroute.${PN} 100 +	update-alternatives --install
> ${base_bindir}/hostname hostname hostname.${PN} 100 +	update-alternatives
> --install ${base_sbindir}/ifconfig ifconfig ifconfig.${PN} 100 +} + 
> +pkg_prerm_${PN} () { +	update-alternatives --remove tftp tftp.${PN} +
> update-alternatives --remove telnet telnet.${PN} +	update-alternatives
> --remove logger logger.${PN} +	update-alternatives --remove traceroute
> traceroute.${PN} +	update-alternatives --remove ifconfig ifconfig.${PN} 
> +} + +SRC_URI[md5sum] = "ad8fdcdf1797b9ca258264a6b04e48fd" 
> +SRC_URI[sha256sum] =
> "c8500baee04b9ea408c9e65e24ad7f5b41e7d96d42fb1d29abf25b52b68311c7"

Move those next to SRC_URI

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (Darwin)
Comment: GPGTools - http://gpgtools.org

iEYEARECAAYFAk7q99kACgkQMkyGM64RGpFtqQCfeLWLjY8SuCe3eSSd8CabPyo0
SNYAn2f32eL5hwGnPC4P9T5CtrYlBCRt
=oxmn
-----END PGP SIGNATURE-----




^ permalink raw reply	[flat|nested] 31+ messages in thread

* Re: [PATCH meta-oe 3/9] ipsec-tools: add
  2011-12-16  2:39 ` [PATCH meta-oe 3/9] ipsec-tools: add b19537
@ 2011-12-16  7:49   ` Koen Kooi
  0 siblings, 0 replies; 31+ messages in thread
From: Koen Kooi @ 2011-12-16  7:49 UTC (permalink / raw)
  To: openembedded-devel

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Op 16-12-11 03:39, b19537@freescale.com schreef:
> From: Zhenhua Luo <b19537@freescale.com>
> 
> IPsec-Tools is a port of KAME's IPsec utilities to the Linux IPsec 
> implementation.
> 
> Signed-off-by: Zhenhua Luo <b19537@freescale.com> --- 
> .../ipsec-tools/files/ipsec-tools-install.patch    |   14 +++++ 
> .../recipes-support/ipsec-tools/ipsec-tools.inc    |   52
> ++++++++++++++++++++ .../ipsec-tools/ipsec-tools_0.7.2.bb               |
> 11 ++++ 3 files changed, 77 insertions(+), 0 deletions(-) create mode
> 100644
> meta-oe/recipes-support/ipsec-tools/files/ipsec-tools-install.patch 
> create mode 100644 meta-oe/recipes-support/ipsec-tools/ipsec-tools.inc 
> create mode 100644
> meta-oe/recipes-support/ipsec-tools/ipsec-tools_0.7.2.bb
> 
> diff --git
> a/meta-oe/recipes-support/ipsec-tools/files/ipsec-tools-install.patch
> b/meta-oe/recipes-support/ipsec-tools/files/ipsec-tools-install.patch new
> file mode 100644 index 0000000..6b9c39b --- /dev/null +++
> b/meta-oe/recipes-support/ipsec-tools/files/ipsec-tools-install.patch @@
> -0,0 +1,14 @@ +Taken from pld-linux.org: 
> +http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/ipsec-tools/ipsec-tools-install.patch
>
> 
+
> +--- ipsec-tools-0.7.2/src/racoon/Makefile.am~	2008-07-23
> 13:48:40.000000000 +0200 ++++ ipsec-tools-0.7.2/src/racoon/Makefile.am
> 2009-07-04 01:43:48.148433975 +0200 +@@ -3,7 +3,7 @@ + sbin_PROGRAMS =
> racoon racoonctl plainrsa-gen + noinst_PROGRAMS = eaytest +
> include_racoon_HEADERS = racoonctl.h var.h vmbuf.h misc.h gcmalloc.h
> admin.h \ +-	schedule.h sockmisc.h vmbuf.h isakmp_var.h isakmp.h
> isakmp_xauth.h \ ++	schedule.h sockmisc.h isakmp_var.h isakmp.h
> isakmp_xauth.h \ + 	isakmp_cfg.h isakmp_unity.h ipsec_doi.h evt.h +
> lib_LTLIBRARIES = libracoon.la + diff --git
> a/meta-oe/recipes-support/ipsec-tools/ipsec-tools.inc
> b/meta-oe/recipes-support/ipsec-tools/ipsec-tools.inc new file mode
> 100644 index 0000000..fffb897 --- /dev/null +++
> b/meta-oe/recipes-support/ipsec-tools/ipsec-tools.inc @@ -0,0 +1,52 @@ 
> +DESCRIPTION = "IPsec-Tools is a port of KAME's IPsec utilities to the \ 
> +Linux-2.6 IPsec implementation." +HOMEPAGE =
> "http://ipsec-tools.sourceforge.net/" +SECTION = "console/network" 
> +LICENSE = "BSD" +DEPENDS = "virtual/kernel openssl readline flex" + 
> +SRC_URI =
> "${SOURCEFORGE_MIRROR}/ipsec-tools/ipsec-tools-${PV}.tar.bz2;name=ipsec-tools-${PV}"
>
> 
+
> +INC_PR = "r3"

remove that

> + +inherit autotools + +# Options: +#  --enable-adminport      enable
> admin port +#  --enable-rc5            enable RC5 encryption (patented) 
> +#  --enable-idea enable IDEA encryption (patented) +#  --enable-gssapi
> enable GSS-API authentication +#  --enable-hybrid         enable hybrid,
> both mode-cfg and xauth support +#  --enable-frag           enable IKE
> fragmentation payload support +#  --enable-stats          enable
> statistics logging function +#  --enable-dpd            enable dead peer
> detection +#  --enable-samode-unspec  enable to use unspecified a mode of
> SA +#  --disable-ipv6          disable ipv6 support +#  --enable-natt
> enable NAT-Traversal (yes/no/kernel) +#  --enable-natt-versions=list
> list of supported NAT-T versions delimited by coma. +#
> --with-kernel-headers=/lib/modules/<uname>/build/include +#
> where your Linux Kernel headers are installed +#  --with-readline
> support readline input (yes by default) +#  --with-flex             use
> directiory (default: no) +#  --with-flexlib=<LIB>    specify flex
> library. +#  --with-openssl=DIR      specify OpenSSL directory +#
> --with-libradius=DIR    specify libradius path (like/usr/pkg) +#
> --with-libpam=DIR       specify libpam path (like/usr/pkg) +# +# Note: if
> you give it the actual kernel headers it won't build, it actually +#
> needs to point at the linux-libc-headers version of the kernel headers. 
> +# +EXTRA_OECONF = "--with-kernel-headers=${STAGING_INCDIR} \ +
> --with-readline \ +                --with-openssl=${STAGING_LIBDIR}/.. \ 
> +                --without-libradius \ +                --without-gssapi
> \ +                --without-libpam" + +# See
> http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=530527 +CFLAGS +=
> "-fno-strict-aliasing" + +# Sometimes it attempts to use y.tab.c before
> it is actually +# generated. Note that the failure case is very rare, but
> it does +# happen. +PARALLEL_MAKE = "" diff --git
> a/meta-oe/recipes-support/ipsec-tools/ipsec-tools_0.7.2.bb
> b/meta-oe/recipes-support/ipsec-tools/ipsec-tools_0.7.2.bb new file mode
> 100644 index 0000000..e86f2cf --- /dev/null +++
> b/meta-oe/recipes-support/ipsec-tools/ipsec-tools_0.7.2.bb @@ -0,0 +1,11
> @@ +PR = "${INC_PR}.1"

and remove thart

> + +require ipsec-tools.inc + +LIC_FILES_CHKSUM =
> "file://Makefile.in;endline=14;md5=c73d05590728997bfbab5c671ed38366" + 
> +SRC_URI += "file://ipsec-tools-install.patch" 
> +SRC_URI[ipsec-tools-0.7.2.md5sum] = "72861f005746ee27984b2ee715ecc629" 
> +SRC_URI[ipsec-tools-0.7.2.sha256sum] =
> "08722ff6c62de3e042fef337454f03622a79053108d6dcc686c9c854f9f9e031" + 
> +EXTRA_OECONF += " --disable-security-context"

And put that in the .inc

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (Darwin)
Comment: GPGTools - http://gpgtools.org

iEYEARECAAYFAk7q+BYACgkQMkyGM64RGpGdggCePgqIdbPzcxHLdd2eNIH3t7FK
XXsAoKixgiw8dMxscOXWLVx/IXk+CJk7
=GSxm
-----END PGP SIGNATURE-----




^ permalink raw reply	[flat|nested] 31+ messages in thread

* Re: [PATCH meta-oe 4/9] libnfnetlink: add
  2011-12-16  2:39 ` [PATCH meta-oe 4/9] libnfnetlink: add b19537
@ 2011-12-16  7:50   ` Koen Kooi
  0 siblings, 0 replies; 31+ messages in thread
From: Koen Kooi @ 2011-12-16  7:50 UTC (permalink / raw)
  To: openembedded-devel

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Op 16-12-11 03:39, b19537@freescale.com schreef:
> From: Zhenhua Luo <b19537@freescale.com>
> 
> libnfnetlink is the low-level library for netfilter related
> kernel/userspace communication. It provides a generic messaging
> infrastructure for in-kernel netfilter subsystems (such as nfnetlink_log,
> nfnetlink_queue, nfnetlink_conntrack) and their respective users and/or
> management tools in userspace.
> 
> Signed-off-by: Zhenhua Luo <b19537@freescale.com> --- 
> .../libnfnetlink/libnfnetlink.inc                  |   15
> +++++++++++++++ .../libnfnetlink/libnfnetlink_1.0.0.bb             |    8
> ++++++++ 2 files changed, 23 insertions(+), 0 deletions(-) create mode
> 100644 meta-oe/recipes-connectivity/libnfnetlink/libnfnetlink.inc create
> mode 100644
> meta-oe/recipes-connectivity/libnfnetlink/libnfnetlink_1.0.0.bb
> 
> diff --git a/meta-oe/recipes-connectivity/libnfnetlink/libnfnetlink.inc
> b/meta-oe/recipes-connectivity/libnfnetlink/libnfnetlink.inc new file
> mode 100644 index 0000000..1862282 --- /dev/null +++
> b/meta-oe/recipes-connectivity/libnfnetlink/libnfnetlink.inc @@ -0,0
> +1,15 @@ +DESCRIPTION = "libnfnetlink is the low-level library for
> netfilter related \ +kernel/userspace communication. It provides a
> generic messaging \ +infrastructure for in-kernel netfilter subsystems
> (such as nfnetlink_log, \ +nfnetlink_queue, nfnetlink_conntrack) and
> their respective users and/or \ +management tools in userspace." + 
> +SECTION = "devel/libs" +LICENSE = "GPL"

Not a valid license.

> +HOMEPAGE = "http://www.netfilter.org/projects/libnfnetlink/index.html" 
> +INC_PR = "r0" + +SRC_URI =
> "http://www.netfilter.org/projects/libnfnetlink/files/libnfnetlink-${PV}.tar.bz2;name=libnfnetlink-${PV}"
>
> 
+
> +inherit autotools pkgconfig + diff --git
> a/meta-oe/recipes-connectivity/libnfnetlink/libnfnetlink_1.0.0.bb
> b/meta-oe/recipes-connectivity/libnfnetlink/libnfnetlink_1.0.0.bb new
> file mode 100644 index 0000000..74decff --- /dev/null +++
> b/meta-oe/recipes-connectivity/libnfnetlink/libnfnetlink_1.0.0.bb @@ -0,0
> +1,8 @@ +include libnfnetlink.inc + +PR = "${INC_PR}.0" + 
> +LIC_FILES_CHKSUM =
> "file://Makefile.in;endline=13;md5=a44bb8f4c22793d55c5e879eec256702" + 
> +SRC_URI[libnfnetlink-1.0.0.md5sum] = "016fdec8389242615024c529acc1adb8" 
> +SRC_URI[libnfnetlink-1.0.0.sha256sum] =
> "3752b03a4c09821ee9a2528d69289423a01e7171f1a22dfdd11d5459e03972fb"

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (Darwin)
Comment: GPGTools - http://gpgtools.org

iEYEARECAAYFAk7q+DQACgkQMkyGM64RGpFNiwCePUee3sI2WLe+WJ+8JmVp1yCJ
t1cAn3M1uDICBFvXICg42yweQD8hI/F9
=pvvn
-----END PGP SIGNATURE-----




^ permalink raw reply	[flat|nested] 31+ messages in thread

* Re: [PATCH meta-oe 5/9] nerperf: add
  2011-12-16  2:39 ` [PATCH meta-oe 5/9] nerperf: add b19537
@ 2011-12-16  7:51   ` Koen Kooi
  2011-12-16  9:19     ` Luo Zhenhua-B19537
  0 siblings, 1 reply; 31+ messages in thread
From: Koen Kooi @ 2011-12-16  7:51 UTC (permalink / raw)
  To: openembedded-devel

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Op 16-12-11 03:39, b19537@freescale.com schreef:
> From: Zhenhua Luo <b19537@freescale.com>
> 
> Network performance benchmark including tests for TCP, UDP, sockets, ATM
> and more.
> 
> Signed-off-by: Zhenhua Luo <b19537@freescale.com> ---

> +++ b/meta-oe/recipes-benchmark/netperf/netperf_2.4.4.bb @@ -0,0 +1,47
> @@ +DESCRIPTION="Network performance benchmark including tests for TCP,
> UDP, sockets, ATM and more." +SECTION = "console/network" +HOMEPAGE =
> "http://www.netperf.org/" +LICENSE = "netperf"

Can you include a comment on what type of license netperf is? MIT like, BSD
like, GPL like?

> +PR = "r3"

remove that

> + +LIC_FILES_CHKSUM =
> "file://COPYING;md5=a0ab17253e7a3f318da85382c7d5d5d6"

Move next to LICENSE

> + +SRC_URI="ftp://ftp.netperf.org/netperf/archive/netperf-${PV}.tar.bz2
> \ +         file://cpu_set.patch \ +         file://vfork.patch \ +
> file://init" + +inherit update-rc.d autotools + +S =
> "${WORKDIR}/netperf-${PV}" + +# cpu_set.patch plus _GNU_SOURCE makes
> src/netlib.c compile with CPU_ macros +CFLAGS_append = " -DDO_UNIX
> -DDO_IPV6 -D_GNU_SOURCE" + +do_install() { +        install -d
> ${D}${sbindir} ${D}${bindir} ${D}${sysconfdir}/init.d +        install -m
> 4755 src/netperf ${D}${bindir} +        install -m 4755 src/netserver
> ${D}${sbindir} +        install -m 0755 ${WORKDIR}/init
> ${D}${sysconfdir}/init.d/netperf + +        # man +        install -d
> ${D}${mandir}/man1/ +        install -m 0644 doc/netserver.man
> ${D}${mandir}/man1/netserver.1 +        install -m 0644 doc/netperf.man
> ${D}${mandir}/man1/netperf.1 + +        # move scripts to examples
> directory +        install -d ${D}${docdir}/netperf/examples +
> install -m 0644 doc/examples/*_script ${D}${docdir}/netperf/examples/ + +
> # docs .. +        install -m 0644 COPYING ${D}${docdir}/netperf +
> install -m 0644 Release_Notes ${D}${docdir}/netperf +        install -m
> 0644 README ${D}${docdir}/netperf +        install -m 0644
> doc/netperf_old.ps ${D}${docdir}/netperf +} + +INITSCRIPT_NAME="netperf" 
> +INITSCRIPT_PARAMS="defaults" + +SRC_URI[md5sum] =
> "0e942f22864e601406a994420231075b" +SRC_URI[sha256sum] =
> "28e76af491ea3696885e4558ae2f5628a4b9ebdbefc2f1d9cf1b35db2813e497"

move next to SRC_URI

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (Darwin)
Comment: GPGTools - http://gpgtools.org

iEYEARECAAYFAk7q+JUACgkQMkyGM64RGpGGHQCgnou5F2Pjm9TDWEC55MbufJvg
qTYAn0ooWerqftJ4JpElOvB96dTJWAb8
=L7Pg
-----END PGP SIGNATURE-----




^ permalink raw reply	[flat|nested] 31+ messages in thread

* Re: [PATCH meta-oe 6/9] ptpd: add
  2011-12-16  2:39 ` [PATCH meta-oe 6/9] ptpd: add b19537
@ 2011-12-16  7:52   ` Koen Kooi
  2011-12-16 21:57   ` Khem Raj
  1 sibling, 0 replies; 31+ messages in thread
From: Koen Kooi @ 2011-12-16  7:52 UTC (permalink / raw)
  To: openembedded-devel

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Op 16-12-11 03:39, b19537@freescale.com schreef:
> From: Zhenhua Luo <b19537@freescale.com>
> 
> Precision Time Protocol (PTP) as defined by the IEEE 1588 standard.
> 
> Signed-off-by: Zhenhua Luo <b19537@freescale.com> ---

> diff --git a/meta-oe/recipes-connectivity/ptpd/ptpd_1.0.0.bb
> b/meta-oe/recipes-connectivity/ptpd/ptpd_1.0.0.bb new file mode 100644 
> index 0000000..a9c0351 --- /dev/null +++
> b/meta-oe/recipes-connectivity/ptpd/ptpd_1.0.0.bb @@ -0,0 +1,21 @@ 
> +DESCRIPTION = "Precision Time Protocol (PTP) as defined by the IEEE 1588
> standard" +HOMEPAGE = "http://sourceforge.net/projects/ptpd" +LICENSE =
> "BSD" +SECTION = "network" +PR = "r1"

remove that

> + +LIC_FILES_CHKSUM =
> "file://../COPYRIGHT;md5=888bd1b2c9c013b93394b8bfb453c417"

move that next to LICENSE

> + +SRC_URI =
> "http://downloads.sourceforge.net/project/ptpd/ptpd/${PV}/ptpd-${PV}.tar.gz
> \ +           file://add-limit-h.patch;striplevel=2" + +S =
> "${WORKDIR}/ptpd-${PV}/src" + +do_install() { +        install -d
> ${D}${bindir} ${D}${mandir}/man8 +        install -m 4555 ptpd
> ${D}${bindir} +        install -m 644 ptpd.8 ${D}${mandir}/man8 +} + 
> +SRC_URI[md5sum] = "b112b2bedc7f6e6e11a838608b9e0357" +SRC_URI[sha256sum]
> = "8ac1fdcad1e246b0395097dd9af29966c6823533d7e6989aae91506048fb51bc"

move those next to SRC_URI

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (Darwin)
Comment: GPGTools - http://gpgtools.org

iEYEARECAAYFAk7q+LwACgkQMkyGM64RGpF1BQCeKzk8hQ6wwmP8059rerGkKD78
fJUAoIQZTtlHXlTkDlZ7c9XEROAvEwt5
=KpUq
-----END PGP SIGNATURE-----




^ permalink raw reply	[flat|nested] 31+ messages in thread

* Re: [PATCH meta-oe 7/9] strongswan: add
  2011-12-16  2:39 ` [PATCH meta-oe 7/9] strongswan: add b19537
@ 2011-12-16  7:53   ` Koen Kooi
  0 siblings, 0 replies; 31+ messages in thread
From: Koen Kooi @ 2011-12-16  7:53 UTC (permalink / raw)
  To: openembedded-devel

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Op 16-12-11 03:39, b19537@freescale.com schreef:
> From: Zhenhua Luo <b19537@freescale.com>
> 
> strongSwan is an OpenSource IPsec implementation for the Linux operating
> system.
> 
> Signed-off-by: Zhenhua Luo <b19537@freescale.com> --- 
> .../recipes-support/strongswan/strongswan_4.5.1.bb |   23
> ++++++++++++++++++++ 1 files changed, 23 insertions(+), 0 deletions(-) 
> create mode 100644
> meta-oe/recipes-support/strongswan/strongswan_4.5.1.bb
> 
> diff --git a/meta-oe/recipes-support/strongswan/strongswan_4.5.1.bb
> b/meta-oe/recipes-support/strongswan/strongswan_4.5.1.bb new file mode
> 100644 index 0000000..a692637 --- /dev/null +++
> b/meta-oe/recipes-support/strongswan/strongswan_4.5.1.bb @@ -0,0 +1,23
> @@ +SECTION = "console/network" +DESCRIPTION = "strongSwan is an
> OpenSource IPsec implementation for the \ +Linux operating system." 
> +HOMEPAGE = "http://www.strongswan.org" +LICENSE = "GPLv2" +DEPENDS =
> "gmp openssl flex-native flex bison-native" +RRECOMMENDS_${PN} =
> "kernel-module-ipsec"

Move below do_install

> +PR = "r0"

drop

> +LIC_FILES_CHKSUM =
> "file://COPYING;md5=0636e73ff0215e8d672dc4c32c317bb3"

move next to LICENSE

> +SRC_URI = "http://download.strongswan.org/strongswan-${PV}.tar.bz2" + 
> +EXTRA_OECONF = "--disable-curl --disable-soup --disable-ldap \ +
> --enable-gmp --disable-mysql --disable-sqlite \ +		--enable-openssl" + 
> +inherit autotools + +FILES_${PN}-dbg += "${libexecdir}/ipsec/.debug
> ${libexecdir}/ipsec/plugins/.debug" + +SRC_URI[md5sum] =
> "81a4a699c4a1a49b74061dfa47b5a033" +SRC_URI[sha256sum] =
> "252d7369d94aa2d79e6fad078853b07ca897ea811ab1e1a2b008bcec0d1e758a"


move next to SRC_URI

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (Darwin)
Comment: GPGTools - http://gpgtools.org

iEYEARECAAYFAk7q+OcACgkQMkyGM64RGpF9qgCgiJ5vKcsCyiFm1/T8xVCfkNhW
LBUAn1vqptZ1/neJw2xpdBi4MlIR2d21
=Tbw5
-----END PGP SIGNATURE-----




^ permalink raw reply	[flat|nested] 31+ messages in thread

* Re: [PATCH meta-oe 8/9] rng-tools: add
  2011-12-16  2:39 ` [PATCH meta-oe 8/9] rng-tools: add b19537
@ 2011-12-16  7:53   ` Koen Kooi
  0 siblings, 0 replies; 31+ messages in thread
From: Koen Kooi @ 2011-12-16  7:53 UTC (permalink / raw)
  To: openembedded-devel

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Op 16-12-11 03:39, b19537@freescale.com schreef:
> From: Zhenhua Luo <b19537@freescale.com>
> 
> Random number generator daemo.
> 
> Signed-off-by: Zhenhua Luo <b19537@freescale.com> --- 
> meta-oe/recipes-support/rng-tools/files/default  |    2 + 
> meta-oe/recipes-support/rng-tools/files/init     |   49
> ++++++++++++++++++++++ meta-oe/recipes-support/rng-tools/rng-tools_2.bb |
> 28 ++++++++++++ 3 files changed, 79 insertions(+), 0 deletions(-) create
> mode 100644 meta-oe/recipes-support/rng-tools/files/default create mode
> 100755 meta-oe/recipes-support/rng-tools/files/init create mode 100644
> meta-oe/recipes-support/rng-tools/rng-tools_2.bb
> 
> diff --git a/meta-oe/recipes-support/rng-tools/files/default
> b/meta-oe/recipes-support/rng-tools/files/default new file mode 100644 
> index 0000000..ab7cd93 --- /dev/null +++
> b/meta-oe/recipes-support/rng-tools/files/default @@ -0,0 +1,2 @@ +#
> Specify rng device +RNG_DEVICE=/dev/hwrng diff --git
> a/meta-oe/recipes-support/rng-tools/files/init
> b/meta-oe/recipes-support/rng-tools/files/init new file mode 100755 index
> 0000000..5fa5959 --- /dev/null +++
> b/meta-oe/recipes-support/rng-tools/files/init @@ -0,0 +1,49 @@ +#!
> /bin/sh +# +# This is an init script for openembedded +# Copy it to
> /etc/init.d/rng-tools and type +# > update-rc.d rng-tools defaults 60 +# 
> + +rngd=/usr/sbin/rngd +test -x "$rngd" || exit 1 + +if [ -e
> /etc/default/rng-tools ]; then +    . /etc/default/rng-tools +fi + +if [
> -n "$RNG_DEVICE" ]; then +    EXTRA_ARGS="-- -r $RNG_DEVICE" +fi + + 
> +case "$1" in +  start) +    echo -n "Starting random number generator
> daemon" +    start-stop-daemon -S -q -x $rngd $EXTRA_ARGS +    echo "." +
> ;; +  stop) +    echo -n "Stopping random number generator daemon" +
> start-stop-daemon -K -q -n rngd +    echo "." +    ;; +
> reload|force-reload) +    echo -n "Signalling rng daemon restart" +
> start-stop-daemon -K -q -s 1 -x $rngd +    start-stop-daemon -K -q -s 1
> -x $rngd +    ;; +  restart) +    echo -n "Stopping random number
> generator daemon" +    start-stop-daemon -K -q -n rngd +    echo "." +
> echo -n "Starting random number generator daemon" +    start-stop-daemon
> -S -q -x $rngd $EXTRA_ARGS +    echo "." +    ;; +  *) +    echo "Usage:
> /etc/init.d/rng-tools {start|stop|reload|restart|force-reload}" +    exit
> 1 +esac + +exit 0 \ No newline at end of file diff --git
> a/meta-oe/recipes-support/rng-tools/rng-tools_2.bb
> b/meta-oe/recipes-support/rng-tools/rng-tools_2.bb new file mode 100644 
> index 0000000..fc6c8ab --- /dev/null +++
> b/meta-oe/recipes-support/rng-tools/rng-tools_2.bb @@ -0,0 +1,28 @@ 
> +DESCRIPTION = "Random number generator daemon" +LICENSE = "GPL"

not a valid license

> +DEPENDS_append_libc-uclibc = " argp-standalone" +PR = "r4"

drop

> + +LIC_FILES_CHKSUM =
> "file://COPYING;md5=94d55d512a9ba36caa9b7df079bae19f"

move next to LICENSE

> + +SRC_URI =
> "http://heanet.dl.sourceforge.net/sourceforge/gkernel/${P}.tar.gz \ +
> file://init \ +           file://default" + +inherit autotools
> update-rc.d + +INITSCRIPT_NAME = "rng-tools" +INITSCRIPT_PARAMS =
> "defaults"

move below do_install

> + +do_install_append() { +        install -d "${D}${sysconfdir}/init.d" +
> install -m 0755 ${WORKDIR}/init ${D}${sysconfdir}/init.d/rng-tools +
> sed -i -e 's,/etc/,${sysconfdir}/,' -e 's,/usr/sbin/,${sbindir},' \ +
> ${D}${sysconfdir}/init.d/rng-tools + +        install -d
> "${D}${sysconfdir}/default" +        install -m 0644 ${WORKDIR}/default
> ${D}${sysconfdir}/default +} + +SRC_URI[md5sum] =
> "63d503191eabed630324c104cc024475" +SRC_URI[sha256sum] =
> "1126f0ecc8cab3af14a562cddc5d8ffeef47df7eba34a7aadcdee35a25ec2b1e"

move next to SRC_URI

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (Darwin)
Comment: GPGTools - http://gpgtools.org

iEYEARECAAYFAk7q+REACgkQMkyGM64RGpEleQCeLpiC3BmucY+EXjYuN9DrG/Ed
C8IAnA1qpgRM9BKaHkTyv0kD1XQHB8o0
=thLO
-----END PGP SIGNATURE-----




^ permalink raw reply	[flat|nested] 31+ messages in thread

* Re: [PATCH meta-oe 9/9] xfsprogs: add
  2011-12-16  2:39 ` [PATCH meta-oe 9/9] xfsprogs: add b19537
@ 2011-12-16  7:54   ` Koen Kooi
  0 siblings, 0 replies; 31+ messages in thread
From: Koen Kooi @ 2011-12-16  7:54 UTC (permalink / raw)
  To: openembedded-devel

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Op 16-12-11 03:39, b19537@freescale.com schreef:
> From: Zhenhua Luo <b19537@freescale.com>
> 
> xfsprogs provides XFS filesystem utilities.
> 
> Signed-off-by: Zhenhua Luo <b19537@freescale.com> --- 
> meta-oe/recipes-support/xfsprogs/xfsprogs_3.1.7.bb |   43
> ++++++++++++++++++++ 1 files changed, 43 insertions(+), 0 deletions(-) 
> create mode 100644 meta-oe/recipes-support/xfsprogs/xfsprogs_3.1.7.bb
> 
> diff --git a/meta-oe/recipes-support/xfsprogs/xfsprogs_3.1.7.bb
> b/meta-oe/recipes-support/xfsprogs/xfsprogs_3.1.7.bb new file mode
> 100644 index 0000000..07644ac --- /dev/null +++
> b/meta-oe/recipes-support/xfsprogs/xfsprogs_3.1.7.bb @@ -0,0 +1,43 @@ 
> +DESCRIPTION = "XFS Filesystem Utilities" +HOMEPAGE =
> "http://oss.sgi.com/projects/xfs" +LICENSE = "GPL"

not a valid license

> +SECTION = "base" +DEPENDS = "util-linux" + +LIC_FILES_CHKSUM =
> "file://Makefile;endline=3;md5=def2844770bb44eba37bc9ca8610fad4"

move next to LICENSE

> + +SRC_URI = "ftp://oss.sgi.com/projects/xfs/cmd_tars/${P}.tar.gz" 
> +SRC_URI[md5sum] = "049cf9873794ea49d0bb3f12d45748a4" +SRC_URI[sha256sum]
> = "e150914210ac5fd29c098ef0fd94bdec51d2fb231cf9faa765c16ec6d75c8eaa" + 
> +PARALLEL_MAKE = ""

move below inherit autotools

> +inherit autotools +EXTRA_OECONF = "--enable-gettext=no" +LIBTOOL =
> "${HOST_SYS}-libtool" +EXTRA_OEMAKE = "'LIBTOOL=${LIBTOOL}'" 
> +TARGET_CC_ARCH += "${LDFLAGS}" + +FILES_${PN}-dev +=
> "${base_libdir}/libhandle.la \ +
> ${base_libdir}/libhandle.so"

Move below do_install

> + +do_configure () { +	export DEBUG="-DNDEBUG" +	oe_runconf +} + 
> +do_install () { +	export DIST_ROOT=${D} +	oe_runmake install +	# needed
> for xfsdump +	oe_runmake install-dev +	# replace extra links to /usr/lib
> with relative links (otherwise autotools_prepackage_lamangler fails to
> read nonexistent link) +	rm -f ${D}/${base_libdir}/libhandle.la +	rm -f
> ${D}/${base_libdir}/libhandle.a +	ln -s ../usr/lib/libhandle.la
> ${D}/${base_libdir}/libhandle.la +	ln -s ../usr/lib/libhandle.a
> ${D}/${base_libdir}/libhandle.a + +	# and link from /usr/lib/libhandle.so
> to /lib/libhandle.so +	rm -f ${D}/${libdir}/libhandle.so +	ln -s
> ../../lib/libhandle.a ${D}/${libdir}/libhandle.so +} +

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (Darwin)
Comment: GPGTools - http://gpgtools.org

iEYEARECAAYFAk7q+T4ACgkQMkyGM64RGpGJBgCcDoVQ7+QAiUlcHgBtZRtU9atm
dKgAoLUGquZFtXaU9Xfy3nztzqsg3Ou6
=92fE
-----END PGP SIGNATURE-----




^ permalink raw reply	[flat|nested] 31+ messages in thread

* Re: [PATCH meta-oe 1/9] bridge-utils: add
  2011-12-16  7:45 ` [PATCH meta-oe 1/9] bridge-utils: add Koen Kooi
@ 2011-12-16  8:48   ` Luo Zhenhua-B19537
  0 siblings, 0 replies; 31+ messages in thread
From: Luo Zhenhua-B19537 @ 2011-12-16  8:48 UTC (permalink / raw)
  To: openembedded-devel

> -----Original Message-----
> From: openembedded-devel-bounces@lists.openembedded.org [mailto:openembedded-
> devel-bounces@lists.openembedded.org] On Behalf Of Koen Kooi
> Sent: Friday, December 16, 2011 3:46 PM
> To: openembedded-devel@lists.openembedded.org
> Subject: Re: [oe] [PATCH meta-oe 1/9] bridge-utils: add
> 
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> 
> Op 16-12-11 03:39, b19537@freescale.com schreef:
> > From: Zhenhua Luo <b19537@freescale.com>
> >
> > bridge-utils provides tools for ethernet bridging.
> >
> > Signed-off-by: Zhenhua Luo <b19537@freescale.com> ---
> > .../bridge-utils/bridge-utils.inc                  |   30 +++
> > .../bridge-utils/bridge-utils_1.4.bb               |    6 +
> > .../bridge-utils/files/ifupdown.sh                 |  245
> > ++++++++++++++++++++ 3 files changed, 281 insertions(+), 0
> > ++++++++++++++++++++ deletions(-)
> > create mode 100644
> > meta-oe/recipes-connectivity/bridge-utils/bridge-utils.inc create mode
> > 100644 meta-oe/recipes-connectivity/bridge-utils/bridge-utils_1.4.bb
> > create mode 100644
> > meta-oe/recipes-connectivity/bridge-utils/files/ifupdown.sh
> >
> > diff --git
> > a/meta-oe/recipes-connectivity/bridge-utils/bridge-utils.inc
> > b/meta-oe/recipes-connectivity/bridge-utils/bridge-utils.inc new file
> > mode 100644 index 0000000..5ac6c83 --- /dev/null +++
> > b/meta-oe/recipes-connectivity/bridge-utils/bridge-utils.inc @@ -0,0
> > +1,30 @@ +DESCRIPTION = "Tools for ethernet bridging." +HOMEPAGE =
> > "http://bridge.sourceforge.net/" +SECTION = "console/network" +LICENSE
> > = "GPL"
> 
> That's not a valid license
[Luo Zhenhua-B19537] The LICENSE is GPLv2, I will correct it in v2 patch

> > +DEPENDS = "sysfsutils" +RRECOMMENDS_${PN} = "kernel-module-bridge"
> 
> That needs to move below do_install. Does it also need ifupdown?
[Luo Zhenhua-B19537] ifupdown.sh is not needed, it will be dropped in v2 patch. 


Best Regards,

Zhenhua




^ permalink raw reply	[flat|nested] 31+ messages in thread

* Re: [PATCH meta-oe 5/9] nerperf: add
  2011-12-16  7:51   ` Koen Kooi
@ 2011-12-16  9:19     ` Luo Zhenhua-B19537
  2011-12-16  9:22       ` Koen Kooi
  0 siblings, 1 reply; 31+ messages in thread
From: Luo Zhenhua-B19537 @ 2011-12-16  9:19 UTC (permalink / raw)
  To: koen; +Cc: openembedded-devel

Hello Koen, 

> -----Original Message-----
> From: openembedded-devel-bounces@lists.openembedded.org [mailto:openembedded-
> devel-bounces@lists.openembedded.org] On Behalf Of Koen Kooi
> Sent: Friday, December 16, 2011 3:52 PM
> 
> > +++ b/meta-oe/recipes-benchmark/netperf/netperf_2.4.4.bb @@ -0,0 +1,47
> > @@ +DESCRIPTION="Network performance benchmark including tests for
> > TCP, UDP, sockets, ATM and more." +SECTION = "console/network"
> > +HOMEPAGE = "http://www.netperf.org/" +LICENSE = "netperf"
> 
> Can you include a comment on what type of license netperf is? MIT like, BSD like,
> GPL like?
[Luo Zhenhua-B19537] May I know which license type should be with following COPYING content?

              Copyright (C) 1993 Hewlett-Packard Company
                         ALL RIGHTS RESERVED.
 
  The enclosed software and documentation includes copyrighted works
  of Hewlett-Packard Co. For as long as you comply with the following
  limitations, you are hereby authorized to (i) use, reproduce, and
  modify the software and documentation, and to (ii) distribute the
  software and documentation, including modifications, for
  non-commercial purposes only.
      
  1.  The enclosed software and documentation is made available at no
      charge in order to advance the general development of
      high-performance networking products.
 
  2.  You may not delete any copyright notices contained in the
      software or documentation. All hard copies, and copies in
      source code or object code form, of the software or
      documentation (including modifications) must contain at least
      one of the copyright notices.
 
  3.  The enclosed software and documentation has not been subjected
      to testing and quality control and is not a Hewlett-Packard Co.
      product. At a future time, Hewlett-Packard Co. may or may not
      offer a version of the software and documentation as a product.
  
  4.  THE SOFTWARE AND DOCUMENTATION IS PROVIDED "AS IS".
      HEWLETT-PACKARD COMPANY DOES NOT WARRANT THAT THE USE,
      REPRODUCTION, MODIFICATION OR DISTRIBUTION OF THE SOFTWARE OR
      DOCUMENTATION WILL NOT INFRINGE A THIRD PARTY'S INTELLECTUAL
      PROPERTY RIGHTS. HP DOES NOT WARRANT THAT THE SOFTWARE OR
      DOCUMENTATION IS ERROR FREE. HP DISCLAIMS ALL WARRANTIES,
      EXPRESS AND IMPLIED, WITH REGARD TO THE SOFTWARE AND THE
      DOCUMENTATION. HP SPECIFICALLY DISCLAIMS ALL WARRANTIES OF
      MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
  
  5.  HEWLETT-PACKARD COMPANY WILL NOT IN ANY EVENT BE LIABLE FOR ANY
      DIRECT, INDIRECT, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES
      (INCLUDING LOST PROFITS) RELATED TO ANY USE, REPRODUCTION,
      MODIFICATION, OR DISTRIBUTION OF THE SOFTWARE OR DOCUMENTATION.


Best Regards,

Zhenhua




^ permalink raw reply	[flat|nested] 31+ messages in thread

* Re: [PATCH meta-oe 5/9] nerperf: add
  2011-12-16  9:19     ` Luo Zhenhua-B19537
@ 2011-12-16  9:22       ` Koen Kooi
  2011-12-16 21:54         ` Khem Raj
  0 siblings, 1 reply; 31+ messages in thread
From: Koen Kooi @ 2011-12-16  9:22 UTC (permalink / raw)
  To: Luo Zhenhua-B19537; +Cc: openembedded-devel

[-- Attachment #1: Type: text/plain, Size: 3134 bytes --]


Op 16 dec. 2011, om 10:19 heeft Luo Zhenhua-B19537 het volgende geschreven:

> Hello Koen, 
> 
>> -----Original Message-----
>> From: openembedded-devel-bounces@lists.openembedded.org [mailto:openembedded-
>> devel-bounces@lists.openembedded.org] On Behalf Of Koen Kooi
>> Sent: Friday, December 16, 2011 3:52 PM
>> 
>>> +++ b/meta-oe/recipes-benchmark/netperf/netperf_2.4.4.bb @@ -0,0 +1,47
>>> @@ +DESCRIPTION="Network performance benchmark including tests for
>>> TCP, UDP, sockets, ATM and more." +SECTION = "console/network"
>>> +HOMEPAGE = "http://www.netperf.org/" +LICENSE = "netperf"
>> 
>> Can you include a comment on what type of license netperf is? MIT like, BSD like,
>> GPL like?
> [Luo Zhenhua-B19537] May I know which license type should be with following COPYING content?

That looks like a BSD or MIT derivative, maybe Beth can give us some guidance on what to use as LICENSE

regards,

Koen


> 
>              Copyright (C) 1993 Hewlett-Packard Company
>                         ALL RIGHTS RESERVED.
> 
>  The enclosed software and documentation includes copyrighted works
>  of Hewlett-Packard Co. For as long as you comply with the following
>  limitations, you are hereby authorized to (i) use, reproduce, and
>  modify the software and documentation, and to (ii) distribute the
>  software and documentation, including modifications, for
>  non-commercial purposes only.
> 
>  1.  The enclosed software and documentation is made available at no
>      charge in order to advance the general development of
>      high-performance networking products.
> 
>  2.  You may not delete any copyright notices contained in the
>      software or documentation. All hard copies, and copies in
>      source code or object code form, of the software or
>      documentation (including modifications) must contain at least
>      one of the copyright notices.
> 
>  3.  The enclosed software and documentation has not been subjected
>      to testing and quality control and is not a Hewlett-Packard Co.
>      product. At a future time, Hewlett-Packard Co. may or may not
>      offer a version of the software and documentation as a product.
> 
>  4.  THE SOFTWARE AND DOCUMENTATION IS PROVIDED "AS IS".
>      HEWLETT-PACKARD COMPANY DOES NOT WARRANT THAT THE USE,
>      REPRODUCTION, MODIFICATION OR DISTRIBUTION OF THE SOFTWARE OR
>      DOCUMENTATION WILL NOT INFRINGE A THIRD PARTY'S INTELLECTUAL
>      PROPERTY RIGHTS. HP DOES NOT WARRANT THAT THE SOFTWARE OR
>      DOCUMENTATION IS ERROR FREE. HP DISCLAIMS ALL WARRANTIES,
>      EXPRESS AND IMPLIED, WITH REGARD TO THE SOFTWARE AND THE
>      DOCUMENTATION. HP SPECIFICALLY DISCLAIMS ALL WARRANTIES OF
>      MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
> 
>  5.  HEWLETT-PACKARD COMPANY WILL NOT IN ANY EVENT BE LIABLE FOR ANY
>      DIRECT, INDIRECT, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES
>      (INCLUDING LOST PROFITS) RELATED TO ANY USE, REPRODUCTION,
>      MODIFICATION, OR DISTRIBUTION OF THE SOFTWARE OR DOCUMENTATION.
> 
> 
> Best Regards,
> 
> Zhenhua
> 


[-- Attachment #2: Message signed with OpenPGP using GPGMail --]
[-- Type: application/pgp-signature, Size: 169 bytes --]

^ permalink raw reply	[flat|nested] 31+ messages in thread

* Re: [PATCH meta-oe 5/9] nerperf: add
  2011-12-16  9:22       ` Koen Kooi
@ 2011-12-16 21:54         ` Khem Raj
  2011-12-19  9:52           ` Luo Zhenhua-B19537
  2011-12-19 22:31           ` Flanagan, Elizabeth
  0 siblings, 2 replies; 31+ messages in thread
From: Khem Raj @ 2011-12-16 21:54 UTC (permalink / raw)
  To: openembedded-devel; +Cc: Luo Zhenhua-B19537

On (16/12/11 10:22), Koen Kooi wrote:
> 
> Op 16 dec. 2011, om 10:19 heeft Luo Zhenhua-B19537 het volgende geschreven:
> 
> > Hello Koen, 
> > 
> >> -----Original Message-----
> >> From: openembedded-devel-bounces@lists.openembedded.org [mailto:openembedded-
> >> devel-bounces@lists.openembedded.org] On Behalf Of Koen Kooi
> >> Sent: Friday, December 16, 2011 3:52 PM
> >> 
> >>> +++ b/meta-oe/recipes-benchmark/netperf/netperf_2.4.4.bb @@ -0,0 +1,47
> >>> @@ +DESCRIPTION="Network performance benchmark including tests for
> >>> TCP, UDP, sockets, ATM and more." +SECTION = "console/network"
> >>> +HOMEPAGE = "http://www.netperf.org/" +LICENSE = "netperf"
> >> 
> >> Can you include a comment on what type of license netperf is? MIT like, BSD like,
> >> GPL like?
> > [Luo Zhenhua-B19537] May I know which license type should be with following COPYING content?
> 
> That looks like a BSD or MIT derivative, maybe Beth can give us some guidance on what to use as LICENSE

it says "for non-commercial purposes only"

> 
> regards,
> 
> Koen
> 
> 
> > 
> >              Copyright (C) 1993 Hewlett-Packard Company
> >                         ALL RIGHTS RESERVED.
> > 
> >  The enclosed software and documentation includes copyrighted works
> >  of Hewlett-Packard Co. For as long as you comply with the following
> >  limitations, you are hereby authorized to (i) use, reproduce, and
> >  modify the software and documentation, and to (ii) distribute the
> >  software and documentation, including modifications, for
> >  non-commercial purposes only.
> > 
> >  1.  The enclosed software and documentation is made available at no
> >      charge in order to advance the general development of
> >      high-performance networking products.
> > 
> >  2.  You may not delete any copyright notices contained in the
> >      software or documentation. All hard copies, and copies in
> >      source code or object code form, of the software or
> >      documentation (including modifications) must contain at least
> >      one of the copyright notices.
> > 
> >  3.  The enclosed software and documentation has not been subjected
> >      to testing and quality control and is not a Hewlett-Packard Co.
> >      product. At a future time, Hewlett-Packard Co. may or may not
> >      offer a version of the software and documentation as a product.
> > 
> >  4.  THE SOFTWARE AND DOCUMENTATION IS PROVIDED "AS IS".
> >      HEWLETT-PACKARD COMPANY DOES NOT WARRANT THAT THE USE,
> >      REPRODUCTION, MODIFICATION OR DISTRIBUTION OF THE SOFTWARE OR
> >      DOCUMENTATION WILL NOT INFRINGE A THIRD PARTY'S INTELLECTUAL
> >      PROPERTY RIGHTS. HP DOES NOT WARRANT THAT THE SOFTWARE OR
> >      DOCUMENTATION IS ERROR FREE. HP DISCLAIMS ALL WARRANTIES,
> >      EXPRESS AND IMPLIED, WITH REGARD TO THE SOFTWARE AND THE
> >      DOCUMENTATION. HP SPECIFICALLY DISCLAIMS ALL WARRANTIES OF
> >      MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
> > 
> >  5.  HEWLETT-PACKARD COMPANY WILL NOT IN ANY EVENT BE LIABLE FOR ANY
> >      DIRECT, INDIRECT, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES
> >      (INCLUDING LOST PROFITS) RELATED TO ANY USE, REPRODUCTION,
> >      MODIFICATION, OR DISTRIBUTION OF THE SOFTWARE OR DOCUMENTATION.
> > 
> > 
> > Best Regards,
> > 
> > Zhenhua
> > 
> 



> _______________________________________________
> Openembedded-devel mailing list
> Openembedded-devel@lists.openembedded.org
> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel


-- 
-Khem



^ permalink raw reply	[flat|nested] 31+ messages in thread

* Re: [PATCH meta-oe 6/9] ptpd: add
  2011-12-16  2:39 ` [PATCH meta-oe 6/9] ptpd: add b19537
  2011-12-16  7:52   ` Koen Kooi
@ 2011-12-16 21:57   ` Khem Raj
  1 sibling, 0 replies; 31+ messages in thread
From: Khem Raj @ 2011-12-16 21:57 UTC (permalink / raw)
  To: openembedded-devel

On (16/12/11 10:39), b19537@freescale.com wrote:
> From: Zhenhua Luo <b19537@freescale.com>
> 
>     Precision Time Protocol (PTP) as defined by the IEEE 1588 standard.
> 
> Signed-off-by: Zhenhua Luo <b19537@freescale.com>
> ---
>  .../ptpd/ptpd-1.0.0/add-limit-h.patch              |   26 ++++++++++++++++++++
>  meta-oe/recipes-connectivity/ptpd/ptpd_1.0.0.bb    |   21 ++++++++++++++++
>  2 files changed, 47 insertions(+), 0 deletions(-)
>  create mode 100644 meta-oe/recipes-connectivity/ptpd/ptpd-1.0.0/add-limit-h.patch
>  create mode 100644 meta-oe/recipes-connectivity/ptpd/ptpd_1.0.0.bb
> 
> diff --git a/meta-oe/recipes-connectivity/ptpd/ptpd-1.0.0/add-limit-h.patch b/meta-oe/recipes-connectivity/ptpd/ptpd-1.0.0/add-limit-h.patch
> new file mode 100644
> index 0000000..8ed3f2f
> --- /dev/null
> +++ b/meta-oe/recipes-connectivity/ptpd/ptpd-1.0.0/add-limit-h.patch
> @@ -0,0 +1,26 @@
> +ptpd: fix ftbfs by including limits.h so MAX_INT defined
                                            ^^^^^^^
should be INT_MAX




^ permalink raw reply	[flat|nested] 31+ messages in thread

* Re: [PATCH meta-oe 5/9] nerperf: add
  2011-12-16 21:54         ` Khem Raj
@ 2011-12-19  9:52           ` Luo Zhenhua-B19537
  2011-12-19 19:20             ` Khem Raj
  2011-12-19 22:31           ` Flanagan, Elizabeth
  1 sibling, 1 reply; 31+ messages in thread
From: Luo Zhenhua-B19537 @ 2011-12-19  9:52 UTC (permalink / raw)
  To: Khem Raj; +Cc: openembedded-devel

Hello Khem, 

> -----Original Message-----
> From: Khem Raj [mailto:raj.khem@gmail.com]
> Sent: Saturday, December 17, 2011 5:55 AM
> > >>
> > >>> +++ b/meta-oe/recipes-benchmark/netperf/netperf_2.4.4.bb @@ -0,0
> > >>> +++ +1,47
> > >>> @@ +DESCRIPTION="Network performance benchmark including tests for
> > >>> TCP, UDP, sockets, ATM and more." +SECTION = "console/network"
> > >>> +HOMEPAGE = "http://www.netperf.org/" +LICENSE = "netperf"
> > >>
> > >> Can you include a comment on what type of license netperf is? MIT
> > >> like, BSD like, GPL like?
> > > [Luo Zhenhua-B19537] May I know which license type should be with following
> COPYING content?
> >
> > That looks like a BSD or MIT derivative, maybe Beth can give us some
> > guidance on what to use as LICENSE
> 
> it says "for non-commercial purposes only"
[Luo Zhenhua-B19537] Does this message mean netperf can't be included in meta-oe?

> > >
> > >              Copyright (C) 1993 Hewlett-Packard Company
> > >                         ALL RIGHTS RESERVED.
> > >
> > >  The enclosed software and documentation includes copyrighted works
> > > of Hewlett-Packard Co. For as long as you comply with the following
> > > limitations, you are hereby authorized to (i) use, reproduce, and
> > > modify the software and documentation, and to (ii) distribute the
> > > software and documentation, including modifications, for
> > > non-commercial purposes only.
> > >
> > >  1.  The enclosed software and documentation is made available at no
> > >      charge in order to advance the general development of
> > >      high-performance networking products.
> > >
> > >  2.  You may not delete any copyright notices contained in the
> > >      software or documentation. All hard copies, and copies in
> > >      source code or object code form, of the software or
> > >      documentation (including modifications) must contain at least
> > >      one of the copyright notices.
> > >
> > >  3.  The enclosed software and documentation has not been subjected
> > >      to testing and quality control and is not a Hewlett-Packard Co.
> > >      product. At a future time, Hewlett-Packard Co. may or may not
> > >      offer a version of the software and documentation as a product.
> > >
> > >  4.  THE SOFTWARE AND DOCUMENTATION IS PROVIDED "AS IS".
> > >      HEWLETT-PACKARD COMPANY DOES NOT WARRANT THAT THE USE,
> > >      REPRODUCTION, MODIFICATION OR DISTRIBUTION OF THE SOFTWARE OR
> > >      DOCUMENTATION WILL NOT INFRINGE A THIRD PARTY'S INTELLECTUAL
> > >      PROPERTY RIGHTS. HP DOES NOT WARRANT THAT THE SOFTWARE OR
> > >      DOCUMENTATION IS ERROR FREE. HP DISCLAIMS ALL WARRANTIES,
> > >      EXPRESS AND IMPLIED, WITH REGARD TO THE SOFTWARE AND THE
> > >      DOCUMENTATION. HP SPECIFICALLY DISCLAIMS ALL WARRANTIES OF
> > >      MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
> > >
> > >  5.  HEWLETT-PACKARD COMPANY WILL NOT IN ANY EVENT BE LIABLE FOR ANY
> > >      DIRECT, INDIRECT, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES
> > >      (INCLUDING LOST PROFITS) RELATED TO ANY USE, REPRODUCTION,
> > >      MODIFICATION, OR DISTRIBUTION OF THE SOFTWARE OR DOCUMENTATION.


Best Regards,

Zhenhua




^ permalink raw reply	[flat|nested] 31+ messages in thread

* Re: [PATCH meta-oe 5/9] nerperf: add
  2011-12-19  9:52           ` Luo Zhenhua-B19537
@ 2011-12-19 19:20             ` Khem Raj
  0 siblings, 0 replies; 31+ messages in thread
From: Khem Raj @ 2011-12-19 19:20 UTC (permalink / raw)
  To: Luo Zhenhua-B19537; +Cc: openembedded-devel

On Mon, Dec 19, 2011 at 1:52 AM, Luo Zhenhua-B19537
<B19537@freescale.com> wrote:
>> it says "for non-commercial purposes only"
> [Luo Zhenhua-B19537] Does this message mean netperf can't be included in meta-oe?

INAL however I think if its being added for commercial use then
probably not. But ark the legal folks.



^ permalink raw reply	[flat|nested] 31+ messages in thread

* Re: [PATCH meta-oe 5/9] nerperf: add
  2011-12-16 21:54         ` Khem Raj
  2011-12-19  9:52           ` Luo Zhenhua-B19537
@ 2011-12-19 22:31           ` Flanagan, Elizabeth
  2011-12-20  2:31             ` Luo Zhenhua-B19537
  2011-12-21  6:26             ` Luo Zhenhua-B19537
  1 sibling, 2 replies; 31+ messages in thread
From: Flanagan, Elizabeth @ 2011-12-19 22:31 UTC (permalink / raw)
  To: openembedded-devel, Luo Zhenhua-B19537

On Fri, Dec 16, 2011 at 1:54 PM, Khem Raj <raj.khem@gmail.com> wrote:
> On (16/12/11 10:22), Koen Kooi wrote:
>>
>> Op 16 dec. 2011, om 10:19 heeft Luo Zhenhua-B19537 het volgende geschreven:
>>
>> > Hello Koen,
>> >
>> >> -----Original Message-----
>> >> From: openembedded-devel-bounces@lists.openembedded.org [mailto:openembedded-
>> >> devel-bounces@lists.openembedded.org] On Behalf Of Koen Kooi
>> >> Sent: Friday, December 16, 2011 3:52 PM
>> >>
>> >>> +++ b/meta-oe/recipes-benchmark/netperf/netperf_2.4.4.bb @@ -0,0 +1,47
>> >>> @@ +DESCRIPTION="Network performance benchmark including tests for
>> >>> TCP, UDP, sockets, ATM and more." +SECTION = "console/network"
>> >>> +HOMEPAGE = "http://www.netperf.org/" +LICENSE = "netperf"
>> >>
>> >> Can you include a comment on what type of license netperf is? MIT like, BSD like,
>> >> GPL like?
>> > [Luo Zhenhua-B19537] May I know which license type should be with following COPYING content?
>>
>> That looks like a BSD or MIT derivative, maybe Beth can give us some guidance on what to use as LICENSE
>
> it says "for non-commercial purposes only"

Yeah.... in this case, I would do one of two things (and I have a
feeling one will be more valid that the other):

1. Email the author and see if we can use BSD-4-Clause. My guess is no.
2. We'll need to add a Netperf license to common-licenses and set
LICENSE = "Netperf"

I've checked the openSuSE Build Service and they have this as an
"Other" license, so, check with the author first, but be prepared to
add Netperf to the common-licenses directory.

And yes, Koen is right. I wouldn't use BSD or MIT for this,
specifically because of the non-commercial clause in (ii).

-b

>
>>
>> regards,
>>
>> Koen
>>
>>
>> >
>> >              Copyright (C) 1993 Hewlett-Packard Company
>> >                         ALL RIGHTS RESERVED.
>> >
>> >  The enclosed software and documentation includes copyrighted works
>> >  of Hewlett-Packard Co. For as long as you comply with the following
>> >  limitations, you are hereby authorized to (i) use, reproduce, and
>> >  modify the software and documentation, and to (ii) distribute the
>> >  software and documentation, including modifications, for
>> >  non-commercial purposes only.
>> >
>> >  1.  The enclosed software and documentation is made available at no
>> >      charge in order to advance the general development of
>> >      high-performance networking products.
>> >
>> >  2.  You may not delete any copyright notices contained in the
>> >      software or documentation. All hard copies, and copies in
>> >      source code or object code form, of the software or
>> >      documentation (including modifications) must contain at least
>> >      one of the copyright notices.
>> >
>> >  3.  The enclosed software and documentation has not been subjected
>> >      to testing and quality control and is not a Hewlett-Packard Co.
>> >      product. At a future time, Hewlett-Packard Co. may or may not
>> >      offer a version of the software and documentation as a product.
>> >
>> >  4.  THE SOFTWARE AND DOCUMENTATION IS PROVIDED "AS IS".
>> >      HEWLETT-PACKARD COMPANY DOES NOT WARRANT THAT THE USE,
>> >      REPRODUCTION, MODIFICATION OR DISTRIBUTION OF THE SOFTWARE OR
>> >      DOCUMENTATION WILL NOT INFRINGE A THIRD PARTY'S INTELLECTUAL
>> >      PROPERTY RIGHTS. HP DOES NOT WARRANT THAT THE SOFTWARE OR
>> >      DOCUMENTATION IS ERROR FREE. HP DISCLAIMS ALL WARRANTIES,
>> >      EXPRESS AND IMPLIED, WITH REGARD TO THE SOFTWARE AND THE
>> >      DOCUMENTATION. HP SPECIFICALLY DISCLAIMS ALL WARRANTIES OF
>> >      MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
>> >
>> >  5.  HEWLETT-PACKARD COMPANY WILL NOT IN ANY EVENT BE LIABLE FOR ANY
>> >      DIRECT, INDIRECT, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES
>> >      (INCLUDING LOST PROFITS) RELATED TO ANY USE, REPRODUCTION,
>> >      MODIFICATION, OR DISTRIBUTION OF THE SOFTWARE OR DOCUMENTATION.
>> >
>> >
>> > Best Regards,
>> >
>> > Zhenhua
>> >
>>
>
>
>
>> _______________________________________________
>> Openembedded-devel mailing list
>> Openembedded-devel@lists.openembedded.org
>> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel
>
>
> --
> -Khem
>
> _______________________________________________
> Openembedded-devel mailing list
> Openembedded-devel@lists.openembedded.org
> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel



-- 
Elizabeth Flanagan
Yocto Project
Build and Release



^ permalink raw reply	[flat|nested] 31+ messages in thread

* Re: [PATCH meta-oe 5/9] nerperf: add
  2011-12-19 22:31           ` Flanagan, Elizabeth
@ 2011-12-20  2:31             ` Luo Zhenhua-B19537
  2011-12-21  6:26             ` Luo Zhenhua-B19537
  1 sibling, 0 replies; 31+ messages in thread
From: Luo Zhenhua-B19537 @ 2011-12-20  2:31 UTC (permalink / raw)
  To: openembedded-devel

Thanks for the feedback.

I saw netperf is licensed under "netperf" in oe http://cgit.openembedded.org/openembedded/plain/recipes/netperf/netperf_2.4.4.bb. 

Anyway, I will send an email to the author to query about the license type. 


Best Regards,

Zhenhua

> -----Original Message-----
> From: Flanagan, Elizabeth [mailto:elizabeth.flanagan@intel.com]
> Sent: Tuesday, December 20, 2011 6:32 AM
> To: openembedded-devel@lists.openembedded.org; Luo Zhenhua-B19537
> Subject: Re: [oe] [PATCH meta-oe 5/9] nerperf: add
> 
> On Fri, Dec 16, 2011 at 1:54 PM, Khem Raj <raj.khem@gmail.com> wrote:
> > On (16/12/11 10:22), Koen Kooi wrote:
> >>
> >> Op 16 dec. 2011, om 10:19 heeft Luo Zhenhua-B19537 het volgende geschreven:
> >>
> >> > Hello Koen,
> >> >
> >> >> -----Original Message-----
> >> >> From: openembedded-devel-bounces@lists.openembedded.org
> >> >> [mailto:openembedded- devel-bounces@lists.openembedded.org] On
> >> >> Behalf Of Koen Kooi
> >> >> Sent: Friday, December 16, 2011 3:52 PM
> >> >>
> >> >>> +++ b/meta-oe/recipes-benchmark/netperf/netperf_2.4.4.bb @@ -0,0
> >> >>> +++ +1,47
> >> >>> @@ +DESCRIPTION="Network performance benchmark including tests
> >> >>> for TCP, UDP, sockets, ATM and more." +SECTION = "console/network"
> >> >>> +HOMEPAGE = "http://www.netperf.org/" +LICENSE = "netperf"
> >> >>
> >> >> Can you include a comment on what type of license netperf is? MIT
> >> >> like, BSD like, GPL like?
> >> > [Luo Zhenhua-B19537] May I know which license type should be with following
> COPYING content?
> >>
> >> That looks like a BSD or MIT derivative, maybe Beth can give us some
> >> guidance on what to use as LICENSE
> >
> > it says "for non-commercial purposes only"
> 
> Yeah.... in this case, I would do one of two things (and I have a feeling one
> will be more valid that the other):
> 
> 1. Email the author and see if we can use BSD-4-Clause. My guess is no.
> 2. We'll need to add a Netperf license to common-licenses and set LICENSE =
> "Netperf"
> 
> I've checked the openSuSE Build Service and they have this as an "Other" license,
> so, check with the author first, but be prepared to add Netperf to the common-
> licenses directory.
> 
> And yes, Koen is right. I wouldn't use BSD or MIT for this, specifically because
> of the non-commercial clause in (ii).
> 
> -b
> 
> >
> >>
> >> regards,
> >>
> >> Koen
> >>
> >>
> >> >
> >> >              Copyright (C) 1993 Hewlett-Packard Company
> >> >                         ALL RIGHTS RESERVED.
> >> >
> >> >  The enclosed software and documentation includes copyrighted works
> >> >  of Hewlett-Packard Co. For as long as you comply with the
> >> > following
> >> >  limitations, you are hereby authorized to (i) use, reproduce, and
> >> >  modify the software and documentation, and to (ii) distribute the
> >> >  software and documentation, including modifications, for
> >> >  non-commercial purposes only.
> >> >
> >> >  1.  The enclosed software and documentation is made available at
> >> > no
> >> >      charge in order to advance the general development of
> >> >      high-performance networking products.
> >> >
> >> >  2.  You may not delete any copyright notices contained in the
> >> >      software or documentation. All hard copies, and copies in
> >> >      source code or object code form, of the software or
> >> >      documentation (including modifications) must contain at least
> >> >      one of the copyright notices.
> >> >
> >> >  3.  The enclosed software and documentation has not been subjected
> >> >      to testing and quality control and is not a Hewlett-Packard Co.
> >> >      product. At a future time, Hewlett-Packard Co. may or may not
> >> >      offer a version of the software and documentation as a product.
> >> >
> >> >  4.  THE SOFTWARE AND DOCUMENTATION IS PROVIDED "AS IS".
> >> >      HEWLETT-PACKARD COMPANY DOES NOT WARRANT THAT THE USE,
> >> >      REPRODUCTION, MODIFICATION OR DISTRIBUTION OF THE SOFTWARE OR
> >> >      DOCUMENTATION WILL NOT INFRINGE A THIRD PARTY'S INTELLECTUAL
> >> >      PROPERTY RIGHTS. HP DOES NOT WARRANT THAT THE SOFTWARE OR
> >> >      DOCUMENTATION IS ERROR FREE. HP DISCLAIMS ALL WARRANTIES,
> >> >      EXPRESS AND IMPLIED, WITH REGARD TO THE SOFTWARE AND THE
> >> >      DOCUMENTATION. HP SPECIFICALLY DISCLAIMS ALL WARRANTIES OF
> >> >      MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
> >> >
> >> >  5.  HEWLETT-PACKARD COMPANY WILL NOT IN ANY EVENT BE LIABLE FOR
> >> > ANY
> >> >      DIRECT, INDIRECT, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES
> >> >      (INCLUDING LOST PROFITS) RELATED TO ANY USE, REPRODUCTION,
> >> >      MODIFICATION, OR DISTRIBUTION OF THE SOFTWARE OR DOCUMENTATION.
> >> >
> >> >
> >> > Best Regards,
> >> >
> >> > Zhenhua
> >> >
> >>
> >
> >
> >
> >> _______________________________________________
> >> Openembedded-devel mailing list
> >> Openembedded-devel@lists.openembedded.org
> >> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-deve
> >> l
> >
> >
> > --
> > -Khem
> >
> > _______________________________________________
> > Openembedded-devel mailing list
> > Openembedded-devel@lists.openembedded.org
> > http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel
> 
> 
> 
> --
> Elizabeth Flanagan
> Yocto Project
> Build and Release





^ permalink raw reply	[flat|nested] 31+ messages in thread

* Re: [PATCH meta-oe 5/9] nerperf: add
  2011-12-19 22:31           ` Flanagan, Elizabeth
  2011-12-20  2:31             ` Luo Zhenhua-B19537
@ 2011-12-21  6:26             ` Luo Zhenhua-B19537
  2011-12-21 17:37               ` Flanagan, Elizabeth
  1 sibling, 1 reply; 31+ messages in thread
From: Luo Zhenhua-B19537 @ 2011-12-21  6:26 UTC (permalink / raw)
  To: openembedded-devel, elizabeth.flanagan

I have sent an email to netperf-feedback@netperf.org to query the appropriate license type yesterday and not response.

I'd like to adopt following option, does it make sense?
> > 2. We'll need to add a Netperf license to common-licenses and set LICENSE = "Netperf"


Best Regards,

Zhenhua


> -----Original Message-----
> From: Luo Zhenhua-B19537
> Sent: Tuesday, December 20, 2011 10:32 AM
> To: openembedded-devel@lists.openembedded.org
> Subject: RE: [oe] [PATCH meta-oe 5/9] nerperf: add
> 
> Thanks for the feedback.
> 
> I saw netperf is licensed under "netperf" in oe
> http://cgit.openembedded.org/openembedded/plain/recipes/netperf/netperf_2.4.4.bb.
> 
> Anyway, I will send an email to the author to query about the license type.
> 
> 
> Best Regards,
> 
> Zhenhua
> 
> > -----Original Message-----
> > From: Flanagan, Elizabeth [mailto:elizabeth.flanagan@intel.com]
> > Sent: Tuesday, December 20, 2011 6:32 AM
> > To: openembedded-devel@lists.openembedded.org; Luo Zhenhua-B19537
> > Subject: Re: [oe] [PATCH meta-oe 5/9] nerperf: add
> >
> > On Fri, Dec 16, 2011 at 1:54 PM, Khem Raj <raj.khem@gmail.com> wrote:
> > > On (16/12/11 10:22), Koen Kooi wrote:
> > >>
> > >> Op 16 dec. 2011, om 10:19 heeft Luo Zhenhua-B19537 het volgende geschreven:
> > >>
> > >> > Hello Koen,
> > >> >
> > >> >> -----Original Message-----
> > >> >> From: openembedded-devel-bounces@lists.openembedded.org
> > >> >> [mailto:openembedded- devel-bounces@lists.openembedded.org] On
> > >> >> Behalf Of Koen Kooi
> > >> >> Sent: Friday, December 16, 2011 3:52 PM
> > >> >>
> > >> >>> +++ b/meta-oe/recipes-benchmark/netperf/netperf_2.4.4.bb @@
> > >> >>> +++ -0,0
> > >> >>> +++ +1,47
> > >> >>> @@ +DESCRIPTION="Network performance benchmark including tests
> > >> >>> for TCP, UDP, sockets, ATM and more." +SECTION = "console/network"
> > >> >>> +HOMEPAGE = "http://www.netperf.org/" +LICENSE = "netperf"
> > >> >>
> > >> >> Can you include a comment on what type of license netperf is?
> > >> >> MIT like, BSD like, GPL like?
> > >> > [Luo Zhenhua-B19537] May I know which license type should be with
> > >> > following
> > COPYING content?
> > >>
> > >> That looks like a BSD or MIT derivative, maybe Beth can give us
> > >> some guidance on what to use as LICENSE
> > >
> > > it says "for non-commercial purposes only"
> >
> > Yeah.... in this case, I would do one of two things (and I have a
> > feeling one will be more valid that the other):
> >
> > 1. Email the author and see if we can use BSD-4-Clause. My guess is no.
> > 2. We'll need to add a Netperf license to common-licenses and set
> > LICENSE = "Netperf"
> >
> > I've checked the openSuSE Build Service and they have this as an
> > "Other" license, so, check with the author first, but be prepared to
> > add Netperf to the common- licenses directory.
> >
> > And yes, Koen is right. I wouldn't use BSD or MIT for this,
> > specifically because of the non-commercial clause in (ii).
> >
> > -b
> >
> > >
> > >>
> > >> regards,
> > >>
> > >> Koen
> > >>
> > >>
> > >> >
> > >> >              Copyright (C) 1993 Hewlett-Packard Company
> > >> >                         ALL RIGHTS RESERVED.
> > >> >
> > >> >  The enclosed software and documentation includes copyrighted
> > >> > works
> > >> >  of Hewlett-Packard Co. For as long as you comply with the
> > >> > following
> > >> >  limitations, you are hereby authorized to (i) use, reproduce,
> > >> > and
> > >> >  modify the software and documentation, and to (ii) distribute
> > >> > the
> > >> >  software and documentation, including modifications, for
> > >> >  non-commercial purposes only.
> > >> >
> > >> >  1.  The enclosed software and documentation is made available at
> > >> > no
> > >> >      charge in order to advance the general development of
> > >> >      high-performance networking products.
> > >> >
> > >> >  2.  You may not delete any copyright notices contained in the
> > >> >      software or documentation. All hard copies, and copies in
> > >> >      source code or object code form, of the software or
> > >> >      documentation (including modifications) must contain at
> > >> > least
> > >> >      one of the copyright notices.
> > >> >
> > >> >  3.  The enclosed software and documentation has not been
> > >> > subjected
> > >> >      to testing and quality control and is not a Hewlett-Packard Co.
> > >> >      product. At a future time, Hewlett-Packard Co. may or may
> > >> > not
> > >> >      offer a version of the software and documentation as a product.
> > >> >
> > >> >  4.  THE SOFTWARE AND DOCUMENTATION IS PROVIDED "AS IS".
> > >> >      HEWLETT-PACKARD COMPANY DOES NOT WARRANT THAT THE USE,
> > >> >      REPRODUCTION, MODIFICATION OR DISTRIBUTION OF THE SOFTWARE
> > >> > OR
> > >> >      DOCUMENTATION WILL NOT INFRINGE A THIRD PARTY'S INTELLECTUAL
> > >> >      PROPERTY RIGHTS. HP DOES NOT WARRANT THAT THE SOFTWARE OR
> > >> >      DOCUMENTATION IS ERROR FREE. HP DISCLAIMS ALL WARRANTIES,
> > >> >      EXPRESS AND IMPLIED, WITH REGARD TO THE SOFTWARE AND THE
> > >> >      DOCUMENTATION. HP SPECIFICALLY DISCLAIMS ALL WARRANTIES OF
> > >> >      MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
> > >> >
> > >> >  5.  HEWLETT-PACKARD COMPANY WILL NOT IN ANY EVENT BE LIABLE FOR
> > >> > ANY
> > >> >      DIRECT, INDIRECT, SPECIAL, INCIDENTAL OR CONSEQUENTIAL
> > >> > DAMAGES
> > >> >      (INCLUDING LOST PROFITS) RELATED TO ANY USE, REPRODUCTION,
> > >> >      MODIFICATION, OR DISTRIBUTION OF THE SOFTWARE OR DOCUMENTATION.
> > >> >
> > >> >
> > >> > Best Regards,
> > >> >
> > >> > Zhenhua
> > >> >
> > >>
> > >
> > >
> > >
> > >> _______________________________________________
> > >> Openembedded-devel mailing list
> > >> Openembedded-devel@lists.openembedded.org
> > >> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-de
> > >> ve
> > >> l
> > >
> > >
> > > --
> > > -Khem
> > >
> > > _______________________________________________
> > > Openembedded-devel mailing list
> > > Openembedded-devel@lists.openembedded.org
> > > http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-dev
> > > el
> >
> >
> >
> > --
> > Elizabeth Flanagan
> > Yocto Project
> > Build and Release





^ permalink raw reply	[flat|nested] 31+ messages in thread

* Re: [PATCH meta-oe 5/9] nerperf: add
  2011-12-21  6:26             ` Luo Zhenhua-B19537
@ 2011-12-21 17:37               ` Flanagan, Elizabeth
  2011-12-22  2:44                 ` Luo Zhenhua-B19537
  0 siblings, 1 reply; 31+ messages in thread
From: Flanagan, Elizabeth @ 2011-12-21 17:37 UTC (permalink / raw)
  To: Luo Zhenhua-B19537; +Cc: openembedded-devel

On Tue, Dec 20, 2011 at 10:26 PM, Luo Zhenhua-B19537
<B19537@freescale.com>wrote:

> I have sent an email to netperf-feedback@netperf.org to query the
> appropriate license type yesterday and not response.
>
> I'd like to adopt following option, does it make sense?
> > > 2. We'll need to add a Netperf license to common-licenses and set
> LICENSE = "Netperf"
>
>
Yes, I agree. Although the Netperf license isn't really compatible with any
OSI compliant license I know of and may cause end user problems. One option
is to use Netperf 4 which is in fact GPL compliant. In that case it would
be licensed as LICENSE = "GPL-2.0+"

If netperf 4 was equivalent from a functional standpoint, I'd go consider
route, as the Netperf 2.x.x license can be problematic for some end users,
I'm sure.

-b


> Best Regards,
>
> Zhenhua
>
>
> > -----Original Message-----
> > From: Luo Zhenhua-B19537
> > Sent: Tuesday, December 20, 2011 10:32 AM
> > To: openembedded-devel@lists.openembedded.org
> > Subject: RE: [oe] [PATCH meta-oe 5/9] nerperf: add
> >
> > Thanks for the feedback.
> >
> > I saw netperf is licensed under "netperf" in oe
> >
> http://cgit.openembedded.org/openembedded/plain/recipes/netperf/netperf_2.4.4.bb
> .
> >
> > Anyway, I will send an email to the author to query about the license
> type.
> >
> >
> > Best Regards,
> >
> > Zhenhua
> >
> > > -----Original Message-----
> > > From: Flanagan, Elizabeth [mailto:elizabeth.flanagan@intel.com]
> > > Sent: Tuesday, December 20, 2011 6:32 AM
> > > To: openembedded-devel@lists.openembedded.org; Luo Zhenhua-B19537
> > > Subject: Re: [oe] [PATCH meta-oe 5/9] nerperf: add
> > >
> > > On Fri, Dec 16, 2011 at 1:54 PM, Khem Raj <raj.khem@gmail.com> wrote:
> > > > On (16/12/11 10:22), Koen Kooi wrote:
> > > >>
> > > >> Op 16 dec. 2011, om 10:19 heeft Luo Zhenhua-B19537 het volgende
> geschreven:
> > > >>
> > > >> > Hello Koen,
> > > >> >
> > > >> >> -----Original Message-----
> > > >> >> From: openembedded-devel-bounces@lists.openembedded.org
> > > >> >> [mailto:openembedded- devel-bounces@lists.openembedded.org] On
> > > >> >> Behalf Of Koen Kooi
> > > >> >> Sent: Friday, December 16, 2011 3:52 PM
> > > >> >>
> > > >> >>> +++ b/meta-oe/recipes-benchmark/netperf/netperf_2.4.4.bb @@
> > > >> >>> +++ -0,0
> > > >> >>> +++ +1,47
> > > >> >>> @@ +DESCRIPTION="Network performance benchmark including tests
> > > >> >>> for TCP, UDP, sockets, ATM and more." +SECTION =
> "console/network"
> > > >> >>> +HOMEPAGE = "http://www.netperf.org/" +LICENSE = "netperf"
> > > >> >>
> > > >> >> Can you include a comment on what type of license netperf is?
> > > >> >> MIT like, BSD like, GPL like?
> > > >> > [Luo Zhenhua-B19537] May I know which license type should be with
> > > >> > following
> > > COPYING content?
> > > >>
> > > >> That looks like a BSD or MIT derivative, maybe Beth can give us
> > > >> some guidance on what to use as LICENSE
> > > >
> > > > it says "for non-commercial purposes only"
> > >
> > > Yeah.... in this case, I would do one of two things (and I have a
> > > feeling one will be more valid that the other):
> > >
> > > 1. Email the author and see if we can use BSD-4-Clause. My guess is no.
> > > 2. We'll need to add a Netperf license to common-licenses and set
> > > LICENSE = "Netperf"
> > >
> > > I've checked the openSuSE Build Service and they have this as an
> > > "Other" license, so, check with the author first, but be prepared to
> > > add Netperf to the common- licenses directory.
> > >
> > > And yes, Koen is right. I wouldn't use BSD or MIT for this,
> > > specifically because of the non-commercial clause in (ii).
> > >
> > > -b
> > >
> > > >
> > > >>
> > > >> regards,
> > > >>
> > > >> Koen
> > > >>
> > > >>
> > > >> >
> > > >> >              Copyright (C) 1993 Hewlett-Packard Company
> > > >> >                         ALL RIGHTS RESERVED.
> > > >> >
> > > >> >  The enclosed software and documentation includes copyrighted
> > > >> > works
> > > >> >  of Hewlett-Packard Co. For as long as you comply with the
> > > >> > following
> > > >> >  limitations, you are hereby authorized to (i) use, reproduce,
> > > >> > and
> > > >> >  modify the software and documentation, and to (ii) distribute
> > > >> > the
> > > >> >  software and documentation, including modifications, for
> > > >> >  non-commercial purposes only.
> > > >> >
> > > >> >  1.  The enclosed software and documentation is made available at
> > > >> > no
> > > >> >      charge in order to advance the general development of
> > > >> >      high-performance networking products.
> > > >> >
> > > >> >  2.  You may not delete any copyright notices contained in the
> > > >> >      software or documentation. All hard copies, and copies in
> > > >> >      source code or object code form, of the software or
> > > >> >      documentation (including modifications) must contain at
> > > >> > least
> > > >> >      one of the copyright notices.
> > > >> >
> > > >> >  3.  The enclosed software and documentation has not been
> > > >> > subjected
> > > >> >      to testing and quality control and is not a Hewlett-Packard
> Co.
> > > >> >      product. At a future time, Hewlett-Packard Co. may or may
> > > >> > not
> > > >> >      offer a version of the software and documentation as a
> product.
> > > >> >
> > > >> >  4.  THE SOFTWARE AND DOCUMENTATION IS PROVIDED "AS IS".
> > > >> >      HEWLETT-PACKARD COMPANY DOES NOT WARRANT THAT THE USE,
> > > >> >      REPRODUCTION, MODIFICATION OR DISTRIBUTION OF THE SOFTWARE
> > > >> > OR
> > > >> >      DOCUMENTATION WILL NOT INFRINGE A THIRD PARTY'S INTELLECTUAL
> > > >> >      PROPERTY RIGHTS. HP DOES NOT WARRANT THAT THE SOFTWARE OR
> > > >> >      DOCUMENTATION IS ERROR FREE. HP DISCLAIMS ALL WARRANTIES,
> > > >> >      EXPRESS AND IMPLIED, WITH REGARD TO THE SOFTWARE AND THE
> > > >> >      DOCUMENTATION. HP SPECIFICALLY DISCLAIMS ALL WARRANTIES OF
> > > >> >      MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
> > > >> >
> > > >> >  5.  HEWLETT-PACKARD COMPANY WILL NOT IN ANY EVENT BE LIABLE FOR
> > > >> > ANY
> > > >> >      DIRECT, INDIRECT, SPECIAL, INCIDENTAL OR CONSEQUENTIAL
> > > >> > DAMAGES
> > > >> >      (INCLUDING LOST PROFITS) RELATED TO ANY USE, REPRODUCTION,
> > > >> >      MODIFICATION, OR DISTRIBUTION OF THE SOFTWARE OR
> DOCUMENTATION.
> > > >> >
> > > >> >
> > > >> > Best Regards,
> > > >> >
> > > >> > Zhenhua
> > > >> >
> > > >>
> > > >
> > > >
> > > >
> > > >> _______________________________________________
> > > >> Openembedded-devel mailing list
> > > >> Openembedded-devel@lists.openembedded.org
> > > >> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-de
> > > >> ve
> > > >> l
> > > >
> > > >
> > > > --
> > > > -Khem
> > > >
> > > > _______________________________________________
> > > > Openembedded-devel mailing list
> > > > Openembedded-devel@lists.openembedded.org
> > > > http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-dev
> > > > el
> > >
> > >
> > >
> > > --
> > > Elizabeth Flanagan
> > > Yocto Project
> > > Build and Release
>
>
>


-- 
Elizabeth Flanagan
Yocto Project
Build and Release


^ permalink raw reply	[flat|nested] 31+ messages in thread

* Re: [PATCH meta-oe 5/9] nerperf: add
  2011-12-21 17:37               ` Flanagan, Elizabeth
@ 2011-12-22  2:44                 ` Luo Zhenhua-B19537
  2011-12-29 18:19                   ` Flanagan, Elizabeth
  0 siblings, 1 reply; 31+ messages in thread
From: Luo Zhenhua-B19537 @ 2011-12-22  2:44 UTC (permalink / raw)
  To: Flanagan, Elizabeth; +Cc: openembedded-devel

May I know which license type should be put in the recipe?
LICENSE = "GPLv2+"
Or
LICENSE = "Netperf 4"


Best Regards,

Zhenhua

From: Flanagan, Elizabeth [mailto:elizabeth.flanagan@intel.com]
Sent: Thursday, December 22, 2011 1:38 AM
To: Luo Zhenhua-B19537
Cc: openembedded-devel@lists.openembedded.org
Subject: Re: [oe] [PATCH meta-oe 5/9] nerperf: add


On Tue, Dec 20, 2011 at 10:26 PM, Luo Zhenhua-B19537 <B19537@freescale.com<mailto:B19537@freescale.com>> wrote:
I have sent an email to netperf-feedback@netperf.org<mailto:netperf-feedback@netperf.org> to query the appropriate license type yesterday and not response.

I'd like to adopt following option, does it make sense?
> > 2. We'll need to add a Netperf license to common-licenses and set LICENSE = "Netperf"

Yes, I agree. Although the Netperf license isn't really compatible with any OSI compliant license I know of and may cause end user problems. One option is to use Netperf 4 which is in fact GPL compliant. In that case it would be licensed as LICENSE = "GPL-2.0+"

If netperf 4 was equivalent from a functional standpoint, I'd go consider route, as the Netperf 2.x.x license can be problematic for some end users, I'm sure.

-b

Best Regards,

Zhenhua


> -----Original Message-----
> From: Luo Zhenhua-B19537
> Sent: Tuesday, December 20, 2011 10:32 AM
> To: openembedded-devel@lists.openembedded.org<mailto:openembedded-devel@lists.openembedded.org>
> Subject: RE: [oe] [PATCH meta-oe 5/9] nerperf: add
>
> Thanks for the feedback.
>
> I saw netperf is licensed under "netperf" in oe
> http://cgit.openembedded.org/openembedded/plain/recipes/netperf/netperf_2.4.4.bb.
>
> Anyway, I will send an email to the author to query about the license type.
>
>
> Best Regards,
>
> Zhenhua
>
> > -----Original Message-----
> > From: Flanagan, Elizabeth [mailto:elizabeth.flanagan@intel.com<mailto:elizabeth.flanagan@intel.com>]
> > Sent: Tuesday, December 20, 2011 6:32 AM
> > To: openembedded-devel@lists.openembedded.org<mailto:openembedded-devel@lists.openembedded.org>; Luo Zhenhua-B19537
> > Subject: Re: [oe] [PATCH meta-oe 5/9] nerperf: add
> >
> > On Fri, Dec 16, 2011 at 1:54 PM, Khem Raj <raj.khem@gmail.com<mailto:raj.khem@gmail.com>> wrote:
> > > On (16/12/11 10:22), Koen Kooi wrote:
> > >>
> > >> Op 16 dec. 2011, om 10:19 heeft Luo Zhenhua-B19537 het volgende geschreven:
> > >>
> > >> > Hello Koen,
> > >> >
> > >> >> -----Original Message-----
> > >> >> From: openembedded-devel-bounces@lists.openembedded.org<mailto:openembedded-devel-bounces@lists.openembedded.org>
> > >> >> [mailto:openembedded-<mailto:openembedded-> devel-bounces@lists.openembedded.org<mailto:devel-bounces@lists.openembedded.org>] On
> > >> >> Behalf Of Koen Kooi
> > >> >> Sent: Friday, December 16, 2011 3:52 PM
> > >> >>
> > >> >>> +++ b/meta-oe/recipes-benchmark/netperf/netperf_2.4.4.bb<http://netperf_2.4.4.bb> @@
> > >> >>> +++ -0,0
> > >> >>> +++ +1,47
> > >> >>> @@ +DESCRIPTION="Network performance benchmark including tests
> > >> >>> for TCP, UDP, sockets, ATM and more." +SECTION = "console/network"
> > >> >>> +HOMEPAGE = "http://www.netperf.org/" +LICENSE = "netperf"
> > >> >>
> > >> >> Can you include a comment on what type of license netperf is?
> > >> >> MIT like, BSD like, GPL like?
> > >> > [Luo Zhenhua-B19537] May I know which license type should be with
> > >> > following
> > COPYING content?
> > >>
> > >> That looks like a BSD or MIT derivative, maybe Beth can give us
> > >> some guidance on what to use as LICENSE
> > >
> > > it says "for non-commercial purposes only"
> >
> > Yeah.... in this case, I would do one of two things (and I have a
> > feeling one will be more valid that the other):
> >
> > 1. Email the author and see if we can use BSD-4-Clause. My guess is no.
> > 2. We'll need to add a Netperf license to common-licenses and set
> > LICENSE = "Netperf"
> >
> > I've checked the openSuSE Build Service and they have this as an
> > "Other" license, so, check with the author first, but be prepared to
> > add Netperf to the common- licenses directory.
> >
> > And yes, Koen is right. I wouldn't use BSD or MIT for this,
> > specifically because of the non-commercial clause in (ii).
> >
> > -b
> >
> > >
> > >>
> > >> regards,
> > >>
> > >> Koen
> > >>
> > >>
> > >> >
> > >> >              Copyright (C) 1993 Hewlett-Packard Company
> > >> >                         ALL RIGHTS RESERVED.
> > >> >
> > >> >  The enclosed software and documentation includes copyrighted
> > >> > works
> > >> >  of Hewlett-Packard Co. For as long as you comply with the
> > >> > following
> > >> >  limitations, you are hereby authorized to (i) use, reproduce,
> > >> > and
> > >> >  modify the software and documentation, and to (ii) distribute
> > >> > the
> > >> >  software and documentation, including modifications, for
> > >> >  non-commercial purposes only.
> > >> >
> > >> >  1.  The enclosed software and documentation is made available at
> > >> > no
> > >> >      charge in order to advance the general development of
> > >> >      high-performance networking products.
> > >> >
> > >> >  2.  You may not delete any copyright notices contained in the
> > >> >      software or documentation. All hard copies, and copies in
> > >> >      source code or object code form, of the software or
> > >> >      documentation (including modifications) must contain at
> > >> > least
> > >> >      one of the copyright notices.
> > >> >
> > >> >  3.  The enclosed software and documentation has not been
> > >> > subjected
> > >> >      to testing and quality control and is not a Hewlett-Packard Co.
> > >> >      product. At a future time, Hewlett-Packard Co. may or may
> > >> > not
> > >> >      offer a version of the software and documentation as a product.
> > >> >
> > >> >  4.  THE SOFTWARE AND DOCUMENTATION IS PROVIDED "AS IS".
> > >> >      HEWLETT-PACKARD COMPANY DOES NOT WARRANT THAT THE USE,
> > >> >      REPRODUCTION, MODIFICATION OR DISTRIBUTION OF THE SOFTWARE
> > >> > OR
> > >> >      DOCUMENTATION WILL NOT INFRINGE A THIRD PARTY'S INTELLECTUAL
> > >> >      PROPERTY RIGHTS. HP DOES NOT WARRANT THAT THE SOFTWARE OR
> > >> >      DOCUMENTATION IS ERROR FREE. HP DISCLAIMS ALL WARRANTIES,
> > >> >      EXPRESS AND IMPLIED, WITH REGARD TO THE SOFTWARE AND THE
> > >> >      DOCUMENTATION. HP SPECIFICALLY DISCLAIMS ALL WARRANTIES OF
> > >> >      MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
> > >> >
> > >> >  5.  HEWLETT-PACKARD COMPANY WILL NOT IN ANY EVENT BE LIABLE FOR
> > >> > ANY
> > >> >      DIRECT, INDIRECT, SPECIAL, INCIDENTAL OR CONSEQUENTIAL
> > >> > DAMAGES
> > >> >      (INCLUDING LOST PROFITS) RELATED TO ANY USE, REPRODUCTION,
> > >> >      MODIFICATION, OR DISTRIBUTION OF THE SOFTWARE OR DOCUMENTATION.
> > >> >
> > >> >
> > >> > Best Regards,
> > >> >
> > >> > Zhenhua
> > >> >
> > >>
> > >
> > >
> > >
> > >> _______________________________________________
> > >> Openembedded-devel mailing list
> > >> Openembedded-devel@lists.openembedded.org<mailto:Openembedded-devel@lists.openembedded.org>
> > >> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-de
> > >> ve
> > >> l
> > >
> > >
> > > --
> > > -Khem
> > >
> > > _______________________________________________
> > > Openembedded-devel mailing list
> > > Openembedded-devel@lists.openembedded.org<mailto:Openembedded-devel@lists.openembedded.org>
> > > http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-dev
> > > el
> >
> >
> >
> > --
> > Elizabeth Flanagan
> > Yocto Project
> > Build and Release




--
Elizabeth Flanagan
Yocto Project
Build and Release


^ permalink raw reply	[flat|nested] 31+ messages in thread

* Re: [PATCH meta-oe 5/9] nerperf: add
  2011-12-22  2:44                 ` Luo Zhenhua-B19537
@ 2011-12-29 18:19                   ` Flanagan, Elizabeth
  0 siblings, 0 replies; 31+ messages in thread
From: Flanagan, Elizabeth @ 2011-12-29 18:19 UTC (permalink / raw)
  To: Luo Zhenhua-B19537; +Cc: openembedded-devel

On Wed, Dec 21, 2011 at 6:44 PM, Luo Zhenhua-B19537
<B19537@freescale.com> wrote:
> May I know which license type should be put in the recipe?
>
> LICENSE = "GPLv2+"
>
> Or
>
> LICENSE = "Netperf 4"

No, what I meant was, look at the version of Netperf, called Netperf 4.

http://www.netperf.org/svn/netperf4/

It's license would be GPL-2.0+.

>
>
>
>
>
> Best Regards,
>
>
>
> Zhenhua
>
>
>
> From: Flanagan, Elizabeth [mailto:elizabeth.flanagan@intel.com]
> Sent: Thursday, December 22, 2011 1:38 AM
> To: Luo Zhenhua-B19537
> Cc: openembedded-devel@lists.openembedded.org
>
> Subject: Re: [oe] [PATCH meta-oe 5/9] nerperf: add
>
>
>
>
>
> On Tue, Dec 20, 2011 at 10:26 PM, Luo Zhenhua-B19537 <B19537@freescale.com>
> wrote:
>
> I have sent an email to netperf-feedback@netperf.org to query the
> appropriate license type yesterday and not response.
>
> I'd like to adopt following option, does it make sense?
>
>> > 2. We'll need to add a Netperf license to common-licenses and set
>> > LICENSE = "Netperf"
>
>
> Yes, I agree. Although the Netperf license isn't really compatible with any
> OSI compliant license I know of and may cause end user problems. One option
> is to use Netperf 4 which is in fact GPL compliant. In that case it would be
> licensed as LICENSE = "GPL-2.0+"
>
> If netperf 4 was equivalent from a functional standpoint, I'd go consider
> route, as the Netperf 2.x.x license can be problematic for some end users,
> I'm sure.
>
> -b
>
>
>
> Best Regards,
>
> Zhenhua
>
>
>> -----Original Message-----
>
>> From: Luo Zhenhua-B19537
>> Sent: Tuesday, December 20, 2011 10:32 AM
>> To: openembedded-devel@lists.openembedded.org
>> Subject: RE: [oe] [PATCH meta-oe 5/9] nerperf: add
>>
>> Thanks for the feedback.
>>
>> I saw netperf is licensed under "netperf" in oe
>>
>> http://cgit.openembedded.org/openembedded/plain/recipes/netperf/netperf_2.4.4.bb.
>>
>> Anyway, I will send an email to the author to query about the license
>> type.
>>
>>
>> Best Regards,
>>
>> Zhenhua
>>
>> > -----Original Message-----
>> > From: Flanagan, Elizabeth [mailto:elizabeth.flanagan@intel.com]
>> > Sent: Tuesday, December 20, 2011 6:32 AM
>> > To: openembedded-devel@lists.openembedded.org; Luo Zhenhua-B19537
>> > Subject: Re: [oe] [PATCH meta-oe 5/9] nerperf: add
>> >
>
>> > On Fri, Dec 16, 2011 at 1:54 PM, Khem Raj <raj.khem@gmail.com> wrote:
>> > > On (16/12/11 10:22), Koen Kooi wrote:
>> > >>
>> > >> Op 16 dec. 2011, om 10:19 heeft Luo Zhenhua-B19537 het volgende
>> > >> geschreven:
>> > >>
>> > >> > Hello Koen,
>> > >> >
>> > >> >> -----Original Message-----
>> > >> >> From: openembedded-devel-bounces@lists.openembedded.org
>> > >> >> [mailto:openembedded- devel-bounces@lists.openembedded.org] On
>> > >> >> Behalf Of Koen Kooi
>> > >> >> Sent: Friday, December 16, 2011 3:52 PM
>> > >> >>
>> > >> >>> +++ b/meta-oe/recipes-benchmark/netperf/netperf_2.4.4.bb @@
>
>> > >> >>> +++ -0,0
>> > >> >>> +++ +1,47
>
>> > >> >>> @@ +DESCRIPTION="Network performance benchmark including tests
>> > >> >>> for TCP, UDP, sockets, ATM and more." +SECTION =
>> > >> >>> "console/network"
>> > >> >>> +HOMEPAGE = "http://www.netperf.org/" +LICENSE = "netperf"
>> > >> >>
>> > >> >> Can you include a comment on what type of license netperf is?
>> > >> >> MIT like, BSD like, GPL like?
>> > >> > [Luo Zhenhua-B19537] May I know which license type should be with
>> > >> > following
>> > COPYING content?
>> > >>
>> > >> That looks like a BSD or MIT derivative, maybe Beth can give us
>> > >> some guidance on what to use as LICENSE
>> > >
>> > > it says "for non-commercial purposes only"
>> >
>> > Yeah.... in this case, I would do one of two things (and I have a
>> > feeling one will be more valid that the other):
>> >
>> > 1. Email the author and see if we can use BSD-4-Clause. My guess is no.
>> > 2. We'll need to add a Netperf license to common-licenses and set
>> > LICENSE = "Netperf"
>> >
>> > I've checked the openSuSE Build Service and they have this as an
>> > "Other" license, so, check with the author first, but be prepared to
>
>> > add Netperf to the common- licenses directory.
>
>> >
>> > And yes, Koen is right. I wouldn't use BSD or MIT for this,
>> > specifically because of the non-commercial clause in (ii).
>> >
>> > -b
>> >
>> > >
>> > >>
>> > >> regards,
>> > >>
>> > >> Koen
>> > >>
>> > >>
>> > >> >
>> > >> >              Copyright (C) 1993 Hewlett-Packard Company
>> > >> >                         ALL RIGHTS RESERVED.
>> > >> >
>> > >> >  The enclosed software and documentation includes copyrighted
>> > >> > works
>> > >> >  of Hewlett-Packard Co. For as long as you comply with the
>> > >> > following
>> > >> >  limitations, you are hereby authorized to (i) use, reproduce,
>> > >> > and
>> > >> >  modify the software and documentation, and to (ii) distribute
>> > >> > the
>> > >> >  software and documentation, including modifications, for
>> > >> >  non-commercial purposes only.
>> > >> >
>> > >> >  1.  The enclosed software and documentation is made available at
>> > >> > no
>> > >> >      charge in order to advance the general development of
>> > >> >      high-performance networking products.
>> > >> >
>> > >> >  2.  You may not delete any copyright notices contained in the
>> > >> >      software or documentation. All hard copies, and copies in
>> > >> >      source code or object code form, of the software or
>> > >> >      documentation (including modifications) must contain at
>> > >> > least
>> > >> >      one of the copyright notices.
>> > >> >
>> > >> >  3.  The enclosed software and documentation has not been
>> > >> > subjected
>> > >> >      to testing and quality control and is not a Hewlett-Packard
>> > >> > Co.
>> > >> >      product. At a future time, Hewlett-Packard Co. may or may
>> > >> > not
>> > >> >      offer a version of the software and documentation as a
>> > >> > product.
>> > >> >
>> > >> >  4.  THE SOFTWARE AND DOCUMENTATION IS PROVIDED "AS IS".
>> > >> >      HEWLETT-PACKARD COMPANY DOES NOT WARRANT THAT THE USE,
>> > >> >      REPRODUCTION, MODIFICATION OR DISTRIBUTION OF THE SOFTWARE
>> > >> > OR
>> > >> >      DOCUMENTATION WILL NOT INFRINGE A THIRD PARTY'S INTELLECTUAL
>> > >> >      PROPERTY RIGHTS. HP DOES NOT WARRANT THAT THE SOFTWARE OR
>> > >> >      DOCUMENTATION IS ERROR FREE. HP DISCLAIMS ALL WARRANTIES,
>> > >> >      EXPRESS AND IMPLIED, WITH REGARD TO THE SOFTWARE AND THE
>> > >> >      DOCUMENTATION. HP SPECIFICALLY DISCLAIMS ALL WARRANTIES OF
>> > >> >      MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
>> > >> >
>> > >> >  5.  HEWLETT-PACKARD COMPANY WILL NOT IN ANY EVENT BE LIABLE FOR
>> > >> > ANY
>> > >> >      DIRECT, INDIRECT, SPECIAL, INCIDENTAL OR CONSEQUENTIAL
>> > >> > DAMAGES
>> > >> >      (INCLUDING LOST PROFITS) RELATED TO ANY USE, REPRODUCTION,
>> > >> >      MODIFICATION, OR DISTRIBUTION OF THE SOFTWARE OR
>> > >> > DOCUMENTATION.
>> > >> >
>> > >> >
>> > >> > Best Regards,
>> > >> >
>> > >> > Zhenhua
>> > >> >
>> > >>
>> > >
>> > >
>> > >
>> > >> _______________________________________________
>> > >> Openembedded-devel mailing list
>> > >> Openembedded-devel@lists.openembedded.org
>> > >> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-de
>> > >> ve
>> > >> l
>> > >
>> > >
>> > > --
>> > > -Khem
>> > >
>> > > _______________________________________________
>> > > Openembedded-devel mailing list
>> > > Openembedded-devel@lists.openembedded.org
>> > > http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-dev
>> > > el
>> >
>> >
>> >
>> > --
>> > Elizabeth Flanagan
>> > Yocto Project
>> > Build and Release
>
>
>
>
> --
> Elizabeth Flanagan
> Yocto Project
> Build and Release



-- 
Elizabeth Flanagan
Yocto Project
Build and Release



^ permalink raw reply	[flat|nested] 31+ messages in thread

end of thread, other threads:[~2011-12-29 18:26 UTC | newest]

Thread overview: 31+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-12-16  2:39 [PATCH meta-oe 1/9] bridge-utils: add b19537
2011-12-16  2:39 ` [PATCH meta-oe 2/9] ietutils: add b19537
2011-12-16  7:48   ` Koen Kooi
2011-12-16  2:39 ` [PATCH meta-oe 3/9] ipsec-tools: add b19537
2011-12-16  7:49   ` Koen Kooi
2011-12-16  2:39 ` [PATCH meta-oe 4/9] libnfnetlink: add b19537
2011-12-16  7:50   ` Koen Kooi
2011-12-16  2:39 ` [PATCH meta-oe 5/9] nerperf: add b19537
2011-12-16  7:51   ` Koen Kooi
2011-12-16  9:19     ` Luo Zhenhua-B19537
2011-12-16  9:22       ` Koen Kooi
2011-12-16 21:54         ` Khem Raj
2011-12-19  9:52           ` Luo Zhenhua-B19537
2011-12-19 19:20             ` Khem Raj
2011-12-19 22:31           ` Flanagan, Elizabeth
2011-12-20  2:31             ` Luo Zhenhua-B19537
2011-12-21  6:26             ` Luo Zhenhua-B19537
2011-12-21 17:37               ` Flanagan, Elizabeth
2011-12-22  2:44                 ` Luo Zhenhua-B19537
2011-12-29 18:19                   ` Flanagan, Elizabeth
2011-12-16  2:39 ` [PATCH meta-oe 6/9] ptpd: add b19537
2011-12-16  7:52   ` Koen Kooi
2011-12-16 21:57   ` Khem Raj
2011-12-16  2:39 ` [PATCH meta-oe 7/9] strongswan: add b19537
2011-12-16  7:53   ` Koen Kooi
2011-12-16  2:39 ` [PATCH meta-oe 8/9] rng-tools: add b19537
2011-12-16  7:53   ` Koen Kooi
2011-12-16  2:39 ` [PATCH meta-oe 9/9] xfsprogs: add b19537
2011-12-16  7:54   ` Koen Kooi
2011-12-16  7:45 ` [PATCH meta-oe 1/9] bridge-utils: add Koen Kooi
2011-12-16  8:48   ` Luo Zhenhua-B19537

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.