Changeset 20d1be8 in freewrt for package/openssl


Ignore:
Timestamp:
Apr 5, 2007, 11:56:11 AM (19 years ago)
Author:
Markus Wigge <markus@…>
Children:
67be89b
Parents:
3e09758
Message:
  • ported changes from 1.0 branch
  • upgrade to newer release again.
  • these changes were at least tested successfully with OpenVPN

git-svn-id: svn://www.freewrt.org/trunk/freewrt@2337 afb5a338-a214-0410-bd46-81f09a774fd1

Location:
package/openssl
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • package/openssl/Config.in

    r3e09758 r20d1be8  
    3434          This package contains the multi-purpose OpenSSL binary tool.
    3535
     36config FWRT_PACKAGE_LIBOPENSSL_CUSTOM_FEATURES
     37        prompt   "openssl-features................ Customize OpenSSL features"
     38        bool
     39        default n
     40        depends FWRT_PACKAGE_LIBOPENSSL
     41
     42config FWRT_PACKAGE_LIBOPENSSL_FEATURE_OCSP
     43        prompt   "openssl-feature-ocsp............ OCSP support (+23k)"
     44        bool
     45        default y
     46        depends FWRT_PACKAGE_LIBOPENSSL_CUSTOM_FEATURES
     47
     48#config FWRT_PACKAGE_LIBOPENSSL_FEATURE_PKCS7
     49#       prompt   "openssl-feature-pkcs7........... PKCS#7 support (+48k)"
     50#       bool
     51#       default y
     52#       depends FWRT_PACKAGE_LIBOPENSSL_CUSTOM_FEATURES
     53
     54config FWRT_PACKAGE_LIBOPENSSL_CUSTOM_CIPHERS
     55        prompt   "openssl-ciphers................. Customize OpenSSL cipher algorithms"
     56        bool
     57        default n
     58        depends FWRT_PACKAGE_LIBOPENSSL
     59
     60config FWRT_PACKAGE_LIBOPENSSL_CIPHER_DSA
     61        prompt   "openssl-cipher-dsa.............. DSA cipher (+10k)"
     62        bool
     63        default y
     64        depends FWRT_PACKAGE_LIBOPENSSL_CUSTOM_CIPHERS
     65
     66config FWRT_PACKAGE_LIBOPENSSL_CIPHER_RSA
     67        prompt   "openssl-cipher-rsa.............. RSA cipher (+25k)"
     68        bool
     69        default y
     70        depends FWRT_PACKAGE_LIBOPENSSL_CUSTOM_CIPHERS
     71
     72config FWRT_PACKAGE_LIBOPENSSL_CIPHER_AES
     73        prompt   "openssl-cipher-aes.............. AES cipher (+19k)"
     74        bool
     75        default y
     76        depends FWRT_PACKAGE_LIBOPENSSL_CUSTOM_CIPHERS
     77
     78config FWRT_PACKAGE_LIBOPENSSL_CIPHER_BLOWFISH
     79        prompt   "openssl-cipher-blowfish......... Blowfish cipher (+10k)"
     80        bool
     81        default y
     82        depends FWRT_PACKAGE_LIBOPENSSL_CUSTOM_CIPHERS
     83
     84config FWRT_PACKAGE_LIBOPENSSL_CIPHER_CAMELLIA
     85        prompt   "openssl-cipher-camellia......... Camellia cipher (+38k)"
     86        bool
     87        default n
     88        depends FWRT_PACKAGE_LIBOPENSSL_CUSTOM_CIPHERS
     89
     90config FWRT_PACKAGE_LIBOPENSSL_CIPHER_CAST
     91        prompt   "openssl-cipher-cast............. CAST cipher (+19k)"
     92        bool
     93        default y
     94        depends FWRT_PACKAGE_LIBOPENSSL_CUSTOM_CIPHERS
     95
     96config FWRT_PACKAGE_LIBOPENSSL_CIPHER_DES
     97        prompt   "openssl-cipher-des.............. DES/3DES cipher (+49k)"
     98        bool
     99        default y
     100        depends FWRT_PACKAGE_LIBOPENSSL_CUSTOM_CIPHERS
     101
     102config FWRT_PACKAGE_LIBOPENSSL_CIPHER_IDEA
     103        prompt   "openssl-cipher-idea............. IDEA cipher (+6.5k)"
     104        bool
     105        default n
     106        depends FWRT_PACKAGE_LIBOPENSSL_CUSTOM_CIPHERS
     107
     108config FWRT_PACKAGE_LIBOPENSSL_CIPHER_RC2
     109        prompt   "openssl-cipher-rc2.............. RC2 cipher (+4.5k)"
     110        bool
     111        default y
     112        depends FWRT_PACKAGE_LIBOPENSSL_CUSTOM_CIPHERS
     113
     114config FWRT_PACKAGE_LIBOPENSSL_CIPHER_RC4
     115        prompt   "openssl-cipher-rc4.............. RC4 cipher (+2.5k)"
     116        bool
     117        default y
     118        depends FWRT_PACKAGE_LIBOPENSSL_CUSTOM_CIPHERS
     119
     120config FWRT_PACKAGE_LIBOPENSSL_CIPHER_RC5
     121        prompt   "openssl-cipher-rc5.............. RC5 cipher (+6k)"
     122        bool
     123        default n
     124        depends FWRT_PACKAGE_LIBOPENSSL_CUSTOM_CIPHERS
     125
     126config FWRT_PACKAGE_LIBOPENSSL_CUSTOM_HASHES
     127        prompt   "openssl-hashes.................. Customize OpenSSL hash algorithms"
     128        bool
     129        default n
     130        depends FWRT_PACKAGE_LIBOPENSSL
     131
     132config FWRT_PACKAGE_LIBOPENSSL_HASH_MD2
     133        prompt   "openssl-hash-md2................ MD2 hash (+2.5k)"
     134        bool
     135        default n
     136        depends FWRT_PACKAGE_LIBOPENSSL_CUSTOM_HASHES
     137
     138config FWRT_PACKAGE_LIBOPENSSL_HASH_MD4
     139        prompt   "openssl-hash-md4................ MD4 hash (+7k)"
     140        bool
     141        default y
     142        depends FWRT_PACKAGE_LIBOPENSSL_CUSTOM_HASHES
     143
     144config FWRT_PACKAGE_LIBOPENSSL_HASH_MD5
     145        prompt   "openssl-hash-md5................ MD5 hash (+9.5k)"
     146        bool
     147        default y
     148        depends FWRT_PACKAGE_LIBOPENSSL_CUSTOM_HASHES
     149
     150config FWRT_PACKAGE_LIBOPENSSL_HASH_MDC2
     151        prompt   "openssl-hash-mdc2............... MDC2 hash (+1.5k)"
     152        bool
     153        default n
     154        depends FWRT_PACKAGE_LIBOPENSSL_CUSTOM_HASHES
     155
     156config FWRT_PACKAGE_LIBOPENSSL_HASH_RIPEMD
     157        prompt   "openssl-hash-ripemd............. RipeMD hash family (+20k)"
     158        bool
     159        default y
     160        depends FWRT_PACKAGE_LIBOPENSSL_CUSTOM_HASHES
     161
     162config FWRT_PACKAGE_LIBOPENSSL_HASH_SHA
     163        prompt   "openssl-hash-sha................ SHAn hash family (+18k)"
     164        bool
     165        default y
     166        depends FWRT_PACKAGE_LIBOPENSSL_CUSTOM_HASHES
     167
  • package/openssl/Makefile

    r3e09758 r20d1be8  
    88
    99PKG_NAME:=              openssl
    10 PKG_VERSION:=           0.9.8d
    11 PKG_RELEASE:=           2
    12 PKG_MD5SUM:=            8ed1853538e1d05a1f5ada61ebf8bffa
     10PKG_VERSION:=           0.9.8e
     11PKG_RELEASE:=           1
     12PKG_MD5SUM:=            3a7ff24f6ea5cd711984722ad654b927
    1313
    1414PKG_SOURCE_URL:=        http://www.openssl.org/source/ \
     
    1717                        ftp://ftp.sunet.se/pub/security/tools/net/openssl/source/
    1818
    19 OPENSSL_NO_CIPHERS:=    no-idea no-md2 no-mdc2 no-rc5 no-sha0 no-aes192
    20 OPENSSL_OPTIONS:=       shared no-ec no-err no-fips no-hw no-krb5 no-threads zlib-dynamic no-engines
     19OPENSSL_OPTIONS := shared no-ec no-err no-fips no-hw no-krb5 no-threads zlib-dynamic no-engines
     20
     21ifeq ($(FWRT_PACKAGE_LIBOPENSSL_CUSTOM_FEATURES),y)
     22OPENSSL_OPTIONS-$(FWRT_PACKAGE_LIBOPENSSL_FEATURE_OCSP) += ocsp
     23#OPENSSL_OPTIONS-$(FWRT_PACKAGE_LIBOPENSSL_FEATURE_PKCS7) += pkcs7
     24endif
     25
     26ifneq ($(FWRT_PACKAGE_LIBOPENSSL_CUSTOM_CIPHERS),y)
     27OPENSSL_OPTIONS += no-camellia no-idea no-rc5
     28else
     29OPENSSL_OPTIONS-$(FWRT_PACKAGE_LIBOPENSSL_CIPHER_DSA) += dsa
     30OPENSSL_OPTIONS-$(FWRT_PACKAGE_LIBOPENSSL_CIPHER_RSA) += rsa
     31OPENSSL_OPTIONS-$(FWRT_PACKAGE_LIBOPENSSL_CIPHER_AES) += aes
     32OPENSSL_OPTIONS-$(FWRT_PACKAGE_LIBOPENSSL_CIPHER_BLOWFISH) += bf
     33OPENSSL_OPTIONS-$(FWRT_PACKAGE_LIBOPENSSL_CIPHER_CAMELLIA) += camellia
     34OPENSSL_OPTIONS-$(FWRT_PACKAGE_LIBOPENSSL_CIPHER_CAST) += cast
     35OPENSSL_OPTIONS-$(FWRT_PACKAGE_LIBOPENSSL_CIPHER_DES) += des
     36OPENSSL_OPTIONS-$(FWRT_PACKAGE_LIBOPENSSL_CIPHER_IDEA) += idea
     37OPENSSL_OPTIONS-$(FWRT_PACKAGE_LIBOPENSSL_CIPHER_RC2) += rc2
     38OPENSSL_OPTIONS-$(FWRT_PACKAGE_LIBOPENSSL_CIPHER_RC4) += rc4
     39OPENSSL_OPTIONS-$(FWRT_PACKAGE_LIBOPENSSL_CIPHER_RC5) += rc5
     40endif
     41
     42ifneq ($(FWRT_PACKAGE_LIBOPENSSL_CUSTOM_HASHES),y)
     43OPENSSL_OPTIONS += no-md2 no-mdc2
     44else
     45OPENSSL_OPTIONS-$(FWRT_PACKAGE_LIBOPENSSL_HASH_MD2) += md2
     46OPENSSL_OPTIONS-$(FWRT_PACKAGE_LIBOPENSSL_HASH_MD4) += md4
     47OPENSSL_OPTIONS-$(FWRT_PACKAGE_LIBOPENSSL_HASH_MD5) += md5
     48OPENSSL_OPTIONS-$(FWRT_PACKAGE_LIBOPENSSL_HASH_MDC2) += mdc2
     49OPENSSL_OPTIONS-$(FWRT_PACKAGE_LIBOPENSSL_HASH_RIPEMD) += ripemd
     50OPENSSL_OPTIONS-$(FWRT_PACKAGE_LIBOPENSSL_HASH_SHA) += sha
     51endif
     52
     53OPENSSL_OPTIONS += $(addprefix no-,$(OPENSSL_OPTIONS-n) $(OPENSSL_OPTIONS-)) $(addprefix enable-,$(OPENSSL_OPTIONS-y))
    2154
    2255include ${TOPDIR}/mk/package.mk
Note: See TracChangeset for help on using the changeset viewer.