Openembedded Core Discussions
 help / color / mirror / Atom feed
* [PATCH 0/3] Recipes upgrade for dropbear,iproute2
@ 2011-11-30  5:57 Mei Lei
  2011-11-30  5:57 ` [PATCH 1/3] iproute2: Upgrade from 3.0.0 to 3.1.0 Mei Lei
                   ` (2 more replies)
  0 siblings, 3 replies; 6+ messages in thread
From: Mei Lei @ 2011-11-30  5:57 UTC (permalink / raw)
  To: openembedded-core

Hi Saul,
	These patches upgraded dropbear and iproute2, and update the distro tracking information for dropbear, iproute2 and net-tools. Please help to review and pull.

Thanks,
Lei

The following changes since commit 177df2c51927f44e3536856f4604364b38695bc2:
  Richard Purdie (1):
        qt-mobility: Add missing patch

are available in the git repository at:

  git://git.pokylinux.org/poky-contrib lmei3/upgrade1129
  http://git.pokylinux.org/cgit.cgi/poky-contrib/log/?h=lmei3/upgrade1129

Mei Lei (3):
  iproute2: Upgrade from 3.0.0 to 3.1.0
  dropbear: Upgrade from 0.53.1 to 2011.54
  distro_tracking_fields.inc: Update dropbear,iproute2,net-tools
    tracking information.

 .../conf/distro/include/distro_tracking_fields.inc |   20 +++++-----
 .../configure-cross.patch                          |    0
 .../{iproute2_3.0.0.bb => iproute2_3.1.0.bb}       |    4 +-
 .../configure.patch                                |    0
 meta/recipes-core/dropbear/dropbear.inc            |    8 ----
 .../dropbear/dropbear/allow-nopw.patch             |   40 --------------------
 meta/recipes-core/dropbear/dropbear_0.53.1.bb      |    6 ---
 meta/recipes-core/dropbear/dropbear_2011.54.bb     |    6 +++
 8 files changed, 18 insertions(+), 66 deletions(-)
 rename meta/recipes-connectivity/iproute2/{iproute2-3.0.0 => iproute2-3.1.0}/configure-cross.patch (100%)
 rename meta/recipes-connectivity/iproute2/{iproute2_3.0.0.bb => iproute2_3.1.0.bb} (72%)
 rename meta/recipes-core/dropbear/{dropbear-0.53.1 => dropbear-2011.54}/configure.patch (100%)
 delete mode 100644 meta/recipes-core/dropbear/dropbear/allow-nopw.patch
 delete mode 100644 meta/recipes-core/dropbear/dropbear_0.53.1.bb
 create mode 100644 meta/recipes-core/dropbear/dropbear_2011.54.bb




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

* [PATCH 1/3] iproute2: Upgrade from 3.0.0 to 3.1.0
  2011-11-30  5:57 [PATCH 0/3] Recipes upgrade for dropbear,iproute2 Mei Lei
@ 2011-11-30  5:57 ` Mei Lei
  2011-11-30 15:07   ` Richard Purdie
  2011-11-30  5:57 ` [PATCH 2/3] dropbear: Upgrade from 0.53.1 to 2011.54 Mei Lei
  2011-11-30  5:57 ` [PATCH 3/3] distro_tracking_fields.inc: Update dropbear, iproute2, net-tools tracking information Mei Lei
  2 siblings, 1 reply; 6+ messages in thread
From: Mei Lei @ 2011-11-30  5:57 UTC (permalink / raw)
  To: openembedded-core

Signed-off-by: Mei Lei <lei.mei@intel.com>
---
 .../configure-cross.patch                          |    0
 .../{iproute2_3.0.0.bb => iproute2_3.1.0.bb}       |    4 ++--
 2 files changed, 2 insertions(+), 2 deletions(-)
 rename meta/recipes-connectivity/iproute2/{iproute2-3.0.0 => iproute2-3.1.0}/configure-cross.patch (100%)
 rename meta/recipes-connectivity/iproute2/{iproute2_3.0.0.bb => iproute2_3.1.0.bb} (72%)

diff --git a/meta/recipes-connectivity/iproute2/iproute2-3.0.0/configure-cross.patch b/meta/recipes-connectivity/iproute2/iproute2-3.1.0/configure-cross.patch
similarity index 100%
rename from meta/recipes-connectivity/iproute2/iproute2-3.0.0/configure-cross.patch
rename to meta/recipes-connectivity/iproute2/iproute2-3.1.0/configure-cross.patch
diff --git a/meta/recipes-connectivity/iproute2/iproute2_3.0.0.bb b/meta/recipes-connectivity/iproute2/iproute2_3.1.0.bb
similarity index 72%
rename from meta/recipes-connectivity/iproute2/iproute2_3.0.0.bb
rename to meta/recipes-connectivity/iproute2/iproute2_3.1.0.bb
index 8d1db85..0b47046 100644
--- a/meta/recipes-connectivity/iproute2/iproute2_3.0.0.bb
+++ b/meta/recipes-connectivity/iproute2/iproute2_3.1.0.bb
@@ -1,7 +1,7 @@
 require iproute2.inc
 
-#v3.0.0 tag
-SRCREV = "ce691fb5ce78b2c75243c60a757a3990ae09681c"
+#v3.1.0 tag
+SRCREV = "9cbe6bc337a35b91882f92599eefeb161f3e776e"
 SRC_URI = "git://git.kernel.org/pub/scm/linux/kernel/git/shemminger/iproute2.git \
            file://configure-cross.patch"
 S = "${WORKDIR}/git"
-- 
1.7.0.4




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

* [PATCH 2/3] dropbear: Upgrade from 0.53.1 to 2011.54
  2011-11-30  5:57 [PATCH 0/3] Recipes upgrade for dropbear,iproute2 Mei Lei
  2011-11-30  5:57 ` [PATCH 1/3] iproute2: Upgrade from 3.0.0 to 3.1.0 Mei Lei
@ 2011-11-30  5:57 ` Mei Lei
  2011-11-30  7:32   ` Koen Kooi
  2011-11-30  5:57 ` [PATCH 3/3] distro_tracking_fields.inc: Update dropbear, iproute2, net-tools tracking information Mei Lei
  2 siblings, 1 reply; 6+ messages in thread
From: Mei Lei @ 2011-11-30  5:57 UTC (permalink / raw)
  To: openembedded-core

Signed-off-by: Mei Lei <lei.mei@intel.com>
---
 .../configure.patch                                |    0
 meta/recipes-core/dropbear/dropbear.inc            |    8 ----
 .../dropbear/dropbear/allow-nopw.patch             |   40 --------------------
 meta/recipes-core/dropbear/dropbear_0.53.1.bb      |    6 ---
 meta/recipes-core/dropbear/dropbear_2011.54.bb     |    6 +++
 5 files changed, 6 insertions(+), 54 deletions(-)
 rename meta/recipes-core/dropbear/{dropbear-0.53.1 => dropbear-2011.54}/configure.patch (100%)
 delete mode 100644 meta/recipes-core/dropbear/dropbear/allow-nopw.patch
 delete mode 100644 meta/recipes-core/dropbear/dropbear_0.53.1.bb
 create mode 100644 meta/recipes-core/dropbear/dropbear_2011.54.bb

diff --git a/meta/recipes-core/dropbear/dropbear-0.53.1/configure.patch b/meta/recipes-core/dropbear/dropbear-2011.54/configure.patch
similarity index 100%
rename from meta/recipes-core/dropbear/dropbear-0.53.1/configure.patch
rename to meta/recipes-core/dropbear/dropbear-2011.54/configure.patch
diff --git a/meta/recipes-core/dropbear/dropbear.inc b/meta/recipes-core/dropbear/dropbear.inc
index 1894715..9de13f0 100644
--- a/meta/recipes-core/dropbear/dropbear.inc
+++ b/meta/recipes-core/dropbear/dropbear.inc
@@ -16,7 +16,6 @@ SRC_URI = "http://matt.ucc.asn.au/dropbear/releases/dropbear-${PV}.tar.gz \
 		 file://dropbear-0.53.1-static_build_fix.patch \
 	         file://configure.patch \
 	         file://fix-2kb-keys.patch \
-	         file://allow-nopw.patch;apply=no \
 	         file://init \
                  ${@base_contains('DISTRO_FEATURES', 'pam', '${PAM_SRC_URI}', '', d)} "
 
@@ -40,13 +39,6 @@ EXTRA_OECONF += "\
 
 DISTRO_TYPE ?= "${@base_contains("IMAGE_FEATURES", "debug-tweaks", "debug", "",d)}"
 
-do_debug_patch() {
-	if [ "${DISTRO_TYPE}" = "debug" ]; then
-		bbnote "WARNING: applying allow-nopw.patch which allows password-less logins!"
-		patch -p1 < ${WORKDIR}/allow-nopw.patch
-	fi
-}
-
 addtask do_debug_patch after do_patch before do_configure
 
 do_install() {
diff --git a/meta/recipes-core/dropbear/dropbear/allow-nopw.patch b/meta/recipes-core/dropbear/dropbear/allow-nopw.patch
deleted file mode 100644
index 3909ef2..0000000
--- a/meta/recipes-core/dropbear/dropbear/allow-nopw.patch
+++ /dev/null
@@ -1,40 +0,0 @@
-Upstream-Status: Inappropriate [embedded specific]
-
-diff --git a/svr-auth.c b/svr-auth.c
-index 87e3c5e..3e78c1a 100644
---- a/svr-auth.c
-+++ b/svr-auth.c
-@@ -250,6 +250,7 @@ static int checkusername(unsigned char *username, unsigned int userlen) {
- 	}
- 
- 	/* check for an empty password */
-+#ifdef DISALLOW_EMPTY_PW
- 	if (ses.authstate.pw_passwd[0] == '\0') {
- 		TRACE(("leave checkusername: empty pword"))
- 		dropbear_log(LOG_WARNING, "User '%s' has blank password, rejected",
-@@ -257,6 +258,7 @@ static int checkusername(unsigned char *username, unsigned int userlen) {
- 		send_msg_userauth_failure(0, 1);
- 		return DROPBEAR_FAILURE;
- 	}
-+#endif
- 
- 	TRACE(("shell is %s", ses.authstate.pw_shell))
- 
-diff --git a/svr-authpasswd.c b/svr-authpasswd.c
-index a29fd63..6a3c7e9 100644
---- a/svr-authpasswd.c
-+++ b/svr-authpasswd.c
-@@ -64,9 +64,13 @@ void svr_auth_password() {
- 	 * since the shadow password may differ to that tested
- 	 * in auth.c */
- 	if (passwdcrypt[0] == '\0') {
-+#ifdef DISALLOW_EMPTY_PASSWD
- 		dropbear_log(LOG_WARNING, "User '%s' has blank password, rejected",
- 				ses.authstate.pw_name);
- 		send_msg_userauth_failure(0, 1);
-+#else
-+               send_msg_userauth_success();
-+#endif
- 		return;
- 	}
- 
diff --git a/meta/recipes-core/dropbear/dropbear_0.53.1.bb b/meta/recipes-core/dropbear/dropbear_0.53.1.bb
deleted file mode 100644
index 54f86e8..0000000
--- a/meta/recipes-core/dropbear/dropbear_0.53.1.bb
+++ /dev/null
@@ -1,6 +0,0 @@
-require dropbear.inc
-
-SRC_URI[md5sum] = "6b8d901859d9b8a18e2f6bfe0a892a03"
-SRC_URI[sha256sum] = "192538ca2a9ee778f12a2e8ddb6f098fa85dcb6457adc1cb40dd94b3c28f4df6"
-
-PR = "r0"
diff --git a/meta/recipes-core/dropbear/dropbear_2011.54.bb b/meta/recipes-core/dropbear/dropbear_2011.54.bb
new file mode 100644
index 0000000..b7b4b83
--- /dev/null
+++ b/meta/recipes-core/dropbear/dropbear_2011.54.bb
@@ -0,0 +1,6 @@
+require dropbear.inc
+
+SRC_URI[md5sum] = "ce1e236c4a8df0cb95253defee6716b5"
+SRC_URI[sha256sum] = "a5fe60fa9c11e7b0f6a21ef6e86a53ce3d55236548901905070ff1c1716fbf47"
+
+PR = "r0"
-- 
1.7.0.4




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

* [PATCH 3/3] distro_tracking_fields.inc: Update dropbear, iproute2, net-tools tracking information.
  2011-11-30  5:57 [PATCH 0/3] Recipes upgrade for dropbear,iproute2 Mei Lei
  2011-11-30  5:57 ` [PATCH 1/3] iproute2: Upgrade from 3.0.0 to 3.1.0 Mei Lei
  2011-11-30  5:57 ` [PATCH 2/3] dropbear: Upgrade from 0.53.1 to 2011.54 Mei Lei
@ 2011-11-30  5:57 ` Mei Lei
  2 siblings, 0 replies; 6+ messages in thread
From: Mei Lei @ 2011-11-30  5:57 UTC (permalink / raw)
  To: openembedded-core

Signed-off-by: Mei Lei <lei.mei@intel.com>
---
 .../conf/distro/include/distro_tracking_fields.inc |   20 ++++++++++----------
 1 files changed, 10 insertions(+), 10 deletions(-)

diff --git a/meta/conf/distro/include/distro_tracking_fields.inc b/meta/conf/distro/include/distro_tracking_fields.inc
index c07341e..d94e1c5 100644
--- a/meta/conf/distro/include/distro_tracking_fields.inc
+++ b/meta/conf/distro/include/distro_tracking_fields.inc
@@ -846,14 +846,15 @@ DISTRO_PN_ALIAS_pn-blktool = "Debian=blktool Mandriva=blktool"
 
 RECIPE_STATUS_pn-iproute2 = "green"
 RECIPE_DEPENDENCY_CHECK_pn-iproute2 = "not done"
-RECIPE_LATEST_VERSION_pn-iproute2 = "2.6.34"
+RECIPE_LATEST_VERSION_pn-iproute2 = "3.1.0"
 RECIPE_PATCH_pn-iproute2+configure-cross = "to be pushed upstream"
 RECIPE_INTEL_SECTION_pn-iproute2 = "base utils"
-RECIPE_TIME_BETWEEN_LAST_TWO_RELEASES_pn-iproute2 = "3 months"
-RECIPE_LATEST_RELEASE_DATE_pn-iproute2 = "May 01, 2010"
+RECIPE_TIME_BETWEEN_LAST_TWO_RELEASES_pn-iproute2 = "1 months"
+RECIPE_LATEST_RELEASE_DATE_pn-iproute2 = "Nov 17, 2011"
+RECIPE_NO_UPDATE_REASON_pn-iproute2="3.1.0 is the latest version, not 760"
 RECIPE_COMMENTS_pn-iproute2 = ""
 DISTRO_PN_ALIAS_pn-iproute2 = "OSPDT"
-RECIPE_LAST_UPDATE_pn-iproute2 = "Nov 10, 2010"
+RECIPE_LAST_UPDATE_pn-iproute2 = "Nov 29, 2011"
 RECIPE_MAINTAINER_pn-iproute2 = "Dongxiao Xu <dongxiao.xu@intel.com>"
 
 RECIPE_STATUS_pn-netbase = "green"
@@ -1060,6 +1061,7 @@ RECIPE_MAINTAINER_pn-ethtool = "Zhai Edwin <edwin.zhai@intel.com>"
 RECIPE_STATUS_pn-net-tools = "green"
 RECIPE_LAST_UPDATE_pn-net-tools = "Aug 16, 2010"
 RECIPE_LATEST_VERSION_pn-net-tools = "1.60-23"
+RECIPE_NO_UPDATE_REASON_pn-net-tools="1.60 is the latest version, 1.60-23 just its patch version"
 RECIPE_MAINTAINER_pn-net-tools = "Dongxiao Xu <dongxiao.xu@intel.com>"
 RECIPE_LATEST_VERSION_pn-net-tools = "1.60-23"
 
@@ -1603,21 +1605,19 @@ RECIPE_COMMENTS_pn-nfs-utils = ""
 
 RECIPE_STATUS_pn-dropbear = "green"
 DISTRO_PN_ALIAS_pn-dropbear = "Debian=dropbear Ubuntu=dropbear"
-RECIPE_LAST_UPDATE_pn-dropbear = "Sep 30, 2011"
+RECIPE_LAST_UPDATE_pn-dropbear = "Nov 29, 2011"
 RECIPE_MAINTAINER_pn-dropbear = "Mei Lei <lei.mei@intel.com>"
 RECIPE_DEPENDENCY_CHECK_pn-dropbear = "not done"
-RECIPE_LATEST_VERSION_pn-dropbear = "0.53.1"
+RECIPE_LATEST_VERSION_pn-dropbear = "2011.54"
 RECIPE_PATCH_pn-dropbear+urandom-xauth-changes-to-options.h = "xauth path change"
 RECIPE_PATCH_pn-dropbear+configure = "use configure cache value for cross compiling"
 RECIPE_PATCH_pn-dropbear+fix-skb-keys = "enlarge key buffer size"
-RECIPE_PATCH_pn-dropbear+allow-nopw = "allow login with no password, applied on in occasions"
 RECIPE_PATCH_pn-dropbear+init = "init script"
 RECIPE_PATCH_pn-dropbear+dropbear-0.53.1-static_build_fix = "fix link error in 0.53.1 release"
 RECIPE_INTEL_SECTION_pn-dropbear = "base utils"
-RECIPE_TIME_BETWEEN_LAST_TWO_RELEASES_pn-dropbear = "1 month"
-RECIPE_LATEST_RELEASE_DATE_pn-dropbear = "Mar 01, 2011"
+RECIPE_TIME_BETWEEN_LAST_TWO_RELEASES_pn-dropbear = "8 month"
+RECIPE_LATEST_RELEASE_DATE_pn-dropbear = "Nov 08, 2011"
 RECIPE_COMMENTS_pn-dropbear = ""
-RECIPE_NO_UPDATE_REASON_pn-dropbear="0.53.1 is the latest version,not 0.255"
 
 RECIPE_STATUS_pn-hal = "green"
 RECIPE_LAST_UPDATE_pn-hal = "Jul 20, 2010"
-- 
1.7.0.4




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

* Re: [PATCH 2/3] dropbear: Upgrade from 0.53.1 to 2011.54
  2011-11-30  5:57 ` [PATCH 2/3] dropbear: Upgrade from 0.53.1 to 2011.54 Mei Lei
@ 2011-11-30  7:32   ` Koen Kooi
  0 siblings, 0 replies; 6+ messages in thread
From: Koen Kooi @ 2011-11-30  7:32 UTC (permalink / raw)
  To: Patches and discussions about the oe-core layer

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


Op 30 nov. 2011, om 06:57 heeft Mei Lei het volgende geschreven:

> Signed-off-by: Mei Lei <lei.mei@intel.com>

So the commit summary says 'upgrade', but look here:

> --- a/meta/recipes-core/dropbear/dropbear.inc
> +++ b/meta/recipes-core/dropbear/dropbear.inc
> @@ -16,7 +16,6 @@ SRC_URI = "http://matt.ucc.asn.au/dropbear/releases/dropbear-${PV}.tar.gz \
> 		 file://dropbear-0.53.1-static_build_fix.patch \
> 	         file://configure.patch \
> 	         file://fix-2kb-keys.patch \
> -	         file://allow-nopw.patch;apply=no \

Why did you remove that?

> 	         file://init \
>                  ${@base_contains('DISTRO_FEATURES', 'pam', '${PAM_SRC_URI}', '', d)} "
> 
> @@ -40,13 +39,6 @@ EXTRA_OECONF += "\
> 
> DISTRO_TYPE ?= "${@base_contains("IMAGE_FEATURES", "debug-tweaks", "debug", "",d)}"
> 
> -do_debug_patch() {
> -	if [ "${DISTRO_TYPE}" = "debug" ]; then
> -		bbnote "WARNING: applying allow-nopw.patch which allows password-less logins!"
> -		patch -p1 < ${WORKDIR}/allow-nopw.patch
> -	fi
> -}
> -

And why did you remove that as well?

> addtask do_debug_patch after do_patch before do_configure

After removing the previous 2, why did you leave this one in?

Why are you breaking passwwdless logins without mentioning it in the commit summary!?!?!?

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

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

* Re: [PATCH 1/3] iproute2: Upgrade from 3.0.0 to 3.1.0
  2011-11-30  5:57 ` [PATCH 1/3] iproute2: Upgrade from 3.0.0 to 3.1.0 Mei Lei
@ 2011-11-30 15:07   ` Richard Purdie
  0 siblings, 0 replies; 6+ messages in thread
From: Richard Purdie @ 2011-11-30 15:07 UTC (permalink / raw)
  To: Patches and discussions about the oe-core layer; +Cc: openembedded-core

On Wed, 2011-11-30 at 13:57 +0800, Mei Lei wrote:
> Signed-off-by: Mei Lei <lei.mei@intel.com>
> ---
>  .../configure-cross.patch                          |    0
>  .../{iproute2_3.0.0.bb => iproute2_3.1.0.bb}       |    4 ++--
>  2 files changed, 2 insertions(+), 2 deletions(-)
>  rename meta/recipes-connectivity/iproute2/{iproute2-3.0.0 => iproute2-3.1.0}/configure-cross.patch (100%)
>  rename meta/recipes-connectivity/iproute2/{iproute2_3.0.0.bb => iproute2_3.1.0.bb} (72%)

I merged this to master, thanks. Koen has feedback on the dropbear
changes which aren't acceptable.

Cheers,

Richard




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

end of thread, other threads:[~2011-11-30 15:14 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-11-30  5:57 [PATCH 0/3] Recipes upgrade for dropbear,iproute2 Mei Lei
2011-11-30  5:57 ` [PATCH 1/3] iproute2: Upgrade from 3.0.0 to 3.1.0 Mei Lei
2011-11-30 15:07   ` Richard Purdie
2011-11-30  5:57 ` [PATCH 2/3] dropbear: Upgrade from 0.53.1 to 2011.54 Mei Lei
2011-11-30  7:32   ` Koen Kooi
2011-11-30  5:57 ` [PATCH 3/3] distro_tracking_fields.inc: Update dropbear, iproute2, net-tools tracking information Mei Lei

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox