Changeset 34496


Ignore:
Timestamp:
2012-12-04T17:40:17+01:00 (5 years ago)
Author:
florian
Message:

dropbear: update to 2012.55 and refresh patches

Upstream has a few code cleanups, more eagerly burns sensitive memory and
includes the fix for CVE-2012-0920. Full changelog:
https://matt.ucc.asn.au/dropbear/CHANGES

Local changes:

  • Removed PKG_MULTI which is no longer in options.h (even before 2011.54)
  • Merged DO_HOST_LOOKUP into 120-openwrt_options.patch
  • Removed LD from make opts (now included in TARGET_CONFIGURE_OPTS)
  • Removed 400-CVE-2012-0920.patch which is included in 2012.55

Signed-off-by: Catalin Patulea <cat@…>
Signed-off-by: Florian Fainelli <florian@…>

Location:
trunk/package/network/services/dropbear
Files:
1 deleted
4 edited

Legend:

Unmodified
Added
Removed
  • trunk/package/network/services/dropbear/Makefile

    r33861 r34496  
    99 
    1010PKG_NAME:=dropbear 
    11 PKG_VERSION:=2011.54 
     11PKG_VERSION:=2012.55 
    1212PKG_RELEASE:=2 
    1313 
     
    1616        http://matt.ucc.asn.au/dropbear/releases/ \ 
    1717        http://www.mirrors.wiretapped.net/security/cryptography/apps/ssh/dropbear/ 
    18 PKG_MD5SUM:=c627ffe09570fad7aa94d8eac2b9320c 
     18PKG_MD5SUM:=8c784baec3054cdb1bb4bfa792c87812 
    1919 
    2020PKG_LICENSE:=MIT 
     
    7373TARGET_LDFLAGS += -Wl,--gc-sections 
    7474 
    75 define Build/Configure 
    76         $(SED) 's,^/\* #define PKG_MULTI.*,#define PKG_MULTI,g' $(PKG_BUILD_DIR)/options.h 
    77         $(SED) 's,^#define DO_HOST_LOOKUP,/* & */,g' $(PKG_BUILD_DIR)/options.h 
    78         $(call Build/Configure/Default) 
    79 endef 
    80  
    8175define Build/Compile 
    8276        +$(MAKE) $(PKG_JOBS) -C $(PKG_BUILD_DIR) \ 
    8377                $(TARGET_CONFIGURE_OPTS) \ 
    84                 LD="$(TARGET_CC)" \ 
    8578                PROGRAMS="dropbear dbclient dropbearkey scp" \ 
    8679                MULTI=1 SCPPROGRESS=1 
    8780        +$(MAKE) $(PKG_JOBS) -C $(PKG_BUILD_DIR) \ 
    8881                $(TARGET_CONFIGURE_OPTS) \ 
    89                 LD="$(TARGET_CC)" \ 
    9082                PROGRAMS="dropbearconvert" 
    9183endef 
  • trunk/package/network/services/dropbear/patches/110-change_user.patch

    r29330 r34496  
    11--- a/svr-chansession.c 
    22+++ b/svr-chansession.c 
    3 @@ -884,12 +884,12 @@ static void execchild(void *user_data) { 
     3@@ -891,12 +891,12 @@ static void execchild(void *user_data) { 
    44        /* We can only change uid/gid as root ... */ 
    55        if (getuid() == 0) { 
  • trunk/package/network/services/dropbear/patches/120-openwrt_options.patch

    r29330 r34496  
    4848  
    4949 /* Hostkey/public key algorithms - at least one required, these are used 
    50 @@ -148,7 +148,7 @@ much traffic. */ 
     50@@ -144,11 +144,11 @@ much traffic. */ 
     51 #endif 
     52  
     53 /* Whether to do reverse DNS lookups. */ 
     54-#define DO_HOST_LOOKUP 
     55+/*#define DO_HOST_LOOKUP*/ 
    5156  
    5257 /* Whether to print the message of the day (MOTD). This doesn't add much code 
  • trunk/package/network/services/dropbear/patches/140-disable_assert.patch

    r30714 r34496  
    11--- a/dbutil.h 
    22+++ b/dbutil.h 
    3 @@ -94,6 +94,10 @@ int m_str_to_uint(const char* str, unsig 
     3@@ -93,6 +93,10 @@ int m_str_to_uint(const char* str, unsig 
    44 #define DEF_MP_INT(X) mp_int X = {0, 0, 0, NULL} 
    55  
Note: See TracChangeset for help on using the changeset viewer.