diff options
author | Marc Kleine-Budde <mkl@pengutronix.de> | 2009-03-03 17:08:15 +0000 |
---|---|---|
committer | Marc Kleine-Budde <mkl@pengutronix.de> | 2009-03-03 17:08:15 +0000 |
commit | 18994995680c1a864e55c2a4baa918df94814a54 (patch) | |
tree | 128b5060800130642f85ece6d8fbbdc606a99ab3 /rules/dropbear.make | |
parent | 2feeb9036de835db56feca375226e0b72a4cb6e6 (diff) | |
download | ptxdist-18994995680c1a864e55c2a4baa918df94814a54.tar.gz ptxdist-18994995680c1a864e55c2a4baa918df94814a54.tar.xz |
[dropbear] fix enabling/disabling of options
Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
git-svn-id: https://svn.pengutronix.de/svn/ptxdist/trunks/ptxdist-trunk@9932 33e552b5-05e3-0310-8538-816dae2090ed
Diffstat (limited to 'rules/dropbear.make')
-rw-r--r-- | rules/dropbear.make | 68 |
1 files changed, 49 insertions, 19 deletions
diff --git a/rules/dropbear.make b/rules/dropbear.make index 6b519fc30..afa14b2b4 100644 --- a/rules/dropbear.make +++ b/rules/dropbear.make @@ -111,31 +111,52 @@ else endif ifdef PTXCONF_DROPBEAR_DIS_TCP - @echo "ptxdist: enabling tcp" - @$(call enable_c, $(DROPBEAR_DIR)/options.h,DISABLE_TCPFWD) -else @echo "ptxdist: disabling tcp" - @$(call disable_c, $(DROPBEAR_DIR)/options.h,DISABLE_TCPFWD) + @$(call disable_c, $(DROPBEAR_DIR)/options.h,ENABLE_CLI_LOCALTCPFWD) + @$(call disable_c, $(DROPBEAR_DIR)/options.h,ENABLE_CLI_REMOTETCPFWD) + @$(call disable_c, $(DROPBEAR_DIR)/options.h,ENABLE_SVR_LOCALTCPFWD) + @$(call disable_c, $(DROPBEAR_DIR)/options.h,ENABLE_SVR_REMOTETCPFWD) +else + @echo "ptxdist: enabling tcp" + @$(call enable_c, $(DROPBEAR_DIR)/options.h,ENABLE_CLI_LOCALTCPFWD) + @$(call enable_c, $(DROPBEAR_DIR)/options.h,ENABLE_CLI_REMOTETCPFWD) + @$(call enable_c, $(DROPBEAR_DIR)/options.h,ENABLE_SVR_LOCALTCPFWD) + @$(call enable_c, $(DROPBEAR_DIR)/options.h,ENABLE_SVR_REMOTETCPFWD) endif ifdef PTXCONF_DROPBEAR_DIS_AGENT - @echo "ptxdist: enabling agent" - @$(call enable_c, $(DROPBEAR_DIR)/options.h,DISABLE_AGENTFWD) -else @echo "ptxdist: disabling agent" - @$(call disable_c, $(DROPBEAR_DIR)/options.h,DISABLE_AGENTFWD) + @$(call disable_c, $(DROPBEAR_DIR)/options.h,ENABLE_AGENTFWD) +else + @echo "ptxdist: enabling agent" + @$(call enable_c, $(DROPBEAR_DIR)/options.h,ENABLE_AGENTFWD) endif ifdef PTXCONF_DROPBEAR_AES128 @echo "ptxdist: enabling aes128" - @$(call enable_c, $(DROPBEAR_DIR)/options.h,DISABLE_AGENTFWD) @$(call enable_c, $(DROPBEAR_DIR)/options.h,DROPBEAR_AES128_CBC) else @echo "ptxdist: disabling aes128" @$(call disable_c, $(DROPBEAR_DIR)/options.h,DROPBEAR_AES128_CBC) endif +ifdef PTXCONF_DROPBEAR_3DES + @echo "ptxdist: enabling 3des" + @$(call enable_c, $(DROPBEAR_DIR)/options.h,DROPBEAR_3DES_CBC) +else + @echo "ptxdist: disabling 3des" + @$(call disable_c, $(DROPBEAR_DIR)/options.h,DROPBEAR_3DES_CBC) +endif + +ifdef PTXCONF_DROPBEAR_AES256 + @echo "ptxdist: enabling aes256" + @$(call enable_c, $(DROPBEAR_DIR)/options.h,DROPBEAR_AES256_CBC) +else + @echo "ptxdist: disabling aes256" + @$(call disable_c, $(DROPBEAR_DIR)/options.h,DROPBEAR_AES256_CBC) +endif + ifdef PTXCONF_DROPBEAR_BLOWFISH @echo "ptxdist: enabling blowfish" @$(call enable_c, $(DROPBEAR_DIR)/options.h,DROPBEAR_BLOWFISH_CBC) @@ -144,23 +165,24 @@ else @$(call disable_c, $(DROPBEAR_DIR)/options.h,DROPBEAR_BLOWFISH_CBC) endif -ifdef PTXCONF_DROPBEAR_TWOFISH123 - @echo "ptxdist: enabling twofish123" - @$(call enable_c, $(DROPBEAR_DIR)/options.h,DROPBEAR_TWOFISH128_CBC) +ifdef PTXCONF_DROPBEAR_TWOFISH256 + @echo "ptxdist: enabling twofish256" + @$(call enable_c, $(DROPBEAR_DIR)/options.h,DROPBEAR_TWOFISH256_CBC) else - @echo "ptxdist: disabling twofish123" - @$(call disable_c, $(DROPBEAR_DIR)/options.h,DROPBEAR_TWOFISH128_CBC) + @echo "ptxdist: disabling twofish256" + @$(call disable_c, $(DROPBEAR_DIR)/options.h,DROPBEAR_TWOFISH256_CBC) endif -ifdef PTXCONF_DROPBEAR_3DES - @echo "ptxdist: enabling 3des" - @$(call enable_c, $(DROPBEAR_DIR)/options.h,DROPBEAR_3DES_CBC) +ifdef PTXCONF_DROPBEAR_TWOFISH128 + @echo "ptxdist: enabling twofish128" + @$(call enable_c, $(DROPBEAR_DIR)/options.h,DROPBEAR_TWOFISH128_CBC) else - @echo "ptxdist: disabling 3des" - @$(call disable_c, $(DROPBEAR_DIR)/options.h,DROPBEAR_3DES_CBC) + @echo "ptxdist: disabling twofish128" + @$(call disable_c, $(DROPBEAR_DIR)/options.h,DROPBEAR_TWOFISH128_CBC) endif + ifdef PTXCONF_DROPBEAR_SHA1 @echo "ptxdist: enabling sha1" @$(call enable_c, $(DROPBEAR_DIR)/options.h,DROPBEAR_SHA1_HMAC) @@ -169,6 +191,14 @@ else @$(call disable_c, $(DROPBEAR_DIR)/options.h,DROPBEAR_SHA1_HMAC) endif +ifdef PTXCONF_DROPBEAR_SHA1_96 + @echo "ptxdist: enabling sha1-96" + @$(call enable_c, $(DROPBEAR_DIR)/options.h,DROPBEAR_SHA1_96_HMAC) +else + @echo "ptxdist: disabling sha1-96" + @$(call disable_c, $(DROPBEAR_DIR)/options.h,DROPBEAR_SHA1_96_HMAC) +endif + ifdef PTXCONF_DROPBEAR_MD5 @echo "ptxdist: enabling md5" @$(call enable_c, $(DROPBEAR_DIR)/options.h,DROPBEAR_MD5_HMAC) |