Changeset 40297
- Timestamp:
- 2014-03-29T17:59:26+01:00 (4 years ago)
- Location:
- trunk/package/network/services/dropbear
- Files:
-
- 1 added
- 1 deleted
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/package/network/services/dropbear/Makefile
r38413 r40297 9 9 10 10 PKG_NAME:=dropbear 11 PKG_VERSION:=201 3.5911 PKG_VERSION:=2014.63 12 12 PKG_RELEASE:=1 13 13 … … 16 16 http://matt.ucc.asn.au/dropbear/releases/ \ 17 17 https://dropbear.nl/mirror/releases/ 18 PKG_MD5SUM:= 6c1e6c2c297f4034488ffc95e8b7e6e918 PKG_MD5SUM:=7066bb9a2da708f3ed06314fdc9c47fd 19 19 20 20 PKG_LICENSE:=MIT … … 23 23 PKG_BUILD_PARALLEL:=1 24 24 25 PKG_CONFIG_DEPENDS:=CONFIG_DROPBEAR_ECC 26 25 27 include $(INCLUDE_DIR)/package.mk 26 28 27 29 define Package/dropbear/Default 28 30 URL:=http://matt.ucc.asn.au/dropbear/ 31 endef 32 33 define Package/dropbear/config 34 source "$(SOURCE)/Config.in" 29 35 endef 30 36 … … 73 79 TARGET_LDFLAGS += -Wl,--gc-sections 74 80 81 define Build/Prepare 82 $(call Build/Prepare/Default) 83 # Enforce that all replacements are made, otherwise options.h has changed 84 # format and this logic is broken. 85 for OPTION in DROPBEAR_ECDSA DROPBEAR_ECDH DROPBEAR_CURVE25519; do \ 86 awk 'BEGIN { rc = 1 } \ 87 /'$$$$OPTION'/ { $$$$0 = "$(if $(CONFIG_DROPBEAR_ECC),,// )#define '$$$$OPTION'"; rc = 0 } \ 88 { print } \ 89 END { exit(rc) }' $(PKG_BUILD_DIR)/options.h \ 90 >$(PKG_BUILD_DIR)/options.h.new && \ 91 mv $(PKG_BUILD_DIR)/options.h.new $(PKG_BUILD_DIR)/options.h || exit 1; \ 92 done 93 endef 94 75 95 define Build/Compile 76 96 +$(MAKE) $(PKG_JOBS) -C $(PKG_BUILD_DIR) \ -
trunk/package/network/services/dropbear/patches/100-pubkey_path.patch
r20460 r40297 1 1 --- a/svr-authpubkey.c 2 2 +++ b/svr-authpubkey.c 3 @@ -20 9,17 +209,21 @@ static int checkpubkey(unsigned char* al3 @@ -208,17 +208,21 @@ static int checkpubkey(unsigned char* al 4 4 goto out; 5 5 } … … 34 34 goto out; 35 35 } 36 @@ -37 2,26 +376,35 @@ static int checkpubkeyperms() {36 @@ -371,26 +375,35 @@ static int checkpubkeyperms() { 37 37 goto out; 38 38 } -
trunk/package/network/services/dropbear/patches/120-openwrt_options.patch
r38356 r40297 1 1 --- a/options.h 2 2 +++ b/options.h 3 @@ - 38,7 +38,7 @@3 @@ -41,7 +41,7 @@ 4 4 * Both of these flags can be defined at once, don't compile without at least 5 5 * one of them. */ … … 10 10 /* Setting this disables the fast exptmod bignum code. It saves ~5kB, but is 11 11 * perhaps 20% slower for pubkey operations (it is probably worth experimenting 12 @@ -49,7 +49,7 @@ 13 several kB in binary size however will make the symmetrical ciphers and hashes 14 slower, perhaps by 50%. Recommended for small systems that aren't doing 15 much traffic. */ 16 -/*#define DROPBEAR_SMALL_CODE*/ 17 +#define DROPBEAR_SMALL_CODE 18 19 /* Enable X11 Forwarding - server only */ 20 #define ENABLE_X11FWD 21 @@ -78,7 +78,7 @@ much traffic. */ 12 @@ -81,7 +81,7 @@ much traffic. */ 22 13 23 14 /* Enable "Netcat mode" option. This will forward standard input/output … … 28 19 /* Whether to support "-c" and "-m" flags to choose ciphers/MACs at runtime */ 29 20 #define ENABLE_USER_ALGO_LIST 30 @@ -9 2,8 +92,8 @@ much traffic. */21 @@ -95,8 +95,8 @@ much traffic. */ 31 22 #define DROPBEAR_AES256 32 23 /* Compiling in Blowfish will add ~6kB to runtime heap memory usage */ … … 39 30 /* Enable "Counter Mode" for ciphers. This is more secure than normal 40 31 * CBC mode against certain attacks. This adds around 1kB to binary 41 @@ -1 19,7 +119,7 @@ much traffic. */32 @@ -122,7 +122,7 @@ much traffic. */ 42 33 * If you disable MD5, Dropbear will fall back to SHA1 fingerprints, 43 34 * which are not the standard form. */ … … 48 39 /*#define DROPBEAR_SHA2_512_HMAC*/ 49 40 #define DROPBEAR_MD5_HMAC 50 @@ -1 57,7 +157,7 @@ much traffic. */41 @@ -175,7 +175,7 @@ much traffic. */ 51 42 52 43 /* Whether to print the message of the day (MOTD). This doesn't add much code … … 57 48 /* The MOTD file path */ 58 49 #ifndef MOTD_FILENAME 59 @@ - 195,7 +195,7 @@ much traffic. */50 @@ -213,7 +213,7 @@ much traffic. */ 60 51 * note that it will be provided for all "hidden" client-interactive 61 52 * style prompts - if you want something more sophisticated, use -
trunk/package/network/services/dropbear/patches/150-dbconvert_standalone.patch
r20460 r40297 10 10 +#endif 11 11 + 12 /* *****************************************************************13 * Define compile-time options below - the "#ifndef DROPBEAR_XXX .... #endif"14 * parts are to allow for commandline -DDROPBEAR_XXX options etc.12 /* Define compile-time options below - the "#ifndef DROPBEAR_XXX .... #endif" 13 * parts are to allow for commandline -DDROPBEAR_XXX options etc. */ 14 -
trunk/package/network/services/dropbear/patches/500-set-default-path.patch
r38356 r40297 1 1 --- a/options.h 2 2 +++ b/options.h 3 @@ -3 01,7 +301,7 @@ be overridden at runtime with -I. 0 disa3 @@ -318,7 +318,7 @@ be overridden at runtime with -I. 0 disa 4 4 #define DEFAULT_IDLE_TIMEOUT 0 5 5
Note: See TracChangeset
for help on using the changeset viewer.