Permalink
Browse files

Add axTLS sourcecode

git-svn-id: http://svn.luci.subsignal.org/luci/trunk@4268 ab181a69-ba2e-0410-a84d-ff88ab4c47bc
  • Loading branch information...
1 parent 35a50a4 commit 6c08a3e5ba0c93d738e2949653ed5a08465e5822 Cyrus committed Feb 22, 2009
Showing with 52,420 additions and 5 deletions.
  1. +1 −0 NOTICE
  2. +1 −1 libs/nixio/.gitignore
  3. +4 −4 libs/nixio/Makefile
  4. 0 libs/nixio/axTLS/.prepared
  5. +181 −0 libs/nixio/axTLS/Makefile
  6. +3 −0 libs/nixio/axTLS/README
  7. BIN libs/nixio/axTLS/_stage/libaxtls.a
  8. +1 −0 libs/nixio/axTLS/_stage/libaxtls.so.1
  9. BIN libs/nixio/axTLS/_stage/libaxtls.so.1.2
  10. +105 −0 libs/nixio/axTLS/bindings/Config.in
  11. +86 −0 libs/nixio/axTLS/bindings/Makefile
  12. +43 −0 libs/nixio/axTLS/bindings/README
  13. +35 −0 libs/nixio/axTLS/bindings/csharp/Makefile
  14. +491 −0 libs/nixio/axTLS/bindings/csharp/axTLS.cs
  15. +393 −0 libs/nixio/axTLS/bindings/generate_SWIG_interface.pl
  16. +322 −0 libs/nixio/axTLS/bindings/generate_interface.pl
  17. +94 −0 libs/nixio/axTLS/bindings/java/Makefile
  18. +137 −0 libs/nixio/axTLS/bindings/java/SSL.java
  19. +229 −0 libs/nixio/axTLS/bindings/java/SSLCTX.java
  20. +81 −0 libs/nixio/axTLS/bindings/java/SSLClient.java
  21. +61 −0 libs/nixio/axTLS/bindings/java/SSLReadHolder.java
  22. +72 −0 libs/nixio/axTLS/bindings/java/SSLServer.java
  23. +116 −0 libs/nixio/axTLS/bindings/java/SSLUtil.java
  24. +67 −0 libs/nixio/axTLS/bindings/lua/Makefile
  25. +91 −0 libs/nixio/axTLS/bindings/perl/Makefile
  26. +35 −0 libs/nixio/axTLS/bindings/vbnet/Makefile
  27. +200 −0 libs/nixio/axTLS/bindings/vbnet/axTLSvb.vb
  28. +112 −0 libs/nixio/axTLS/config/.config
  29. +114 −0 libs/nixio/axTLS/config/Config.in
  30. +247 −0 libs/nixio/axTLS/config/JMeter.jmx
  31. +220 −0 libs/nixio/axTLS/config/Rules.mak
  32. +136 −0 libs/nixio/axTLS/config/axhttpd.aip
  33. BIN libs/nixio/axTLS/config/axtls.RES
  34. +32 −0 libs/nixio/axTLS/config/axtls.rc
  35. +113 −0 libs/nixio/axTLS/config/config.h
  36. +119 −0 libs/nixio/axTLS/config/linuxconfig
  37. +127 −0 libs/nixio/axTLS/config/makefile.conf
  38. +65 −0 libs/nixio/axTLS/config/makefile.dotnet.conf
  39. +58 −0 libs/nixio/axTLS/config/makefile.java.conf
  40. +19 −0 libs/nixio/axTLS/config/makefile.post
  41. +255 −0 libs/nixio/axTLS/config/scripts/config/Kconfig-language.txt
  42. +121 −0 libs/nixio/axTLS/config/scripts/config/Makefile
  43. +583 −0 libs/nixio/axTLS/config/scripts/config/conf.c
  44. +458 −0 libs/nixio/axTLS/config/scripts/config/confdata.c
  45. +1,099 −0 libs/nixio/axTLS/config/scripts/config/expr.c
  46. +195 −0 libs/nixio/axTLS/config/scripts/config/expr.h
  47. +3,688 −0 libs/nixio/axTLS/config/scripts/config/lex.zconf.c_shipped
  48. +123 −0 libs/nixio/axTLS/config/scripts/config/lkc.h
  49. +40 −0 libs/nixio/axTLS/config/scripts/config/lkc_proto.h
  50. +4 −0 libs/nixio/axTLS/config/scripts/config/lxdialog/BIG.FAT.WARNING
  51. +372 −0 libs/nixio/axTLS/config/scripts/config/lxdialog/checklist.c
  52. +161 −0 libs/nixio/axTLS/config/scripts/config/lxdialog/colors.h
  53. +199 −0 libs/nixio/axTLS/config/scripts/config/lxdialog/dialog.h
  54. +240 −0 libs/nixio/axTLS/config/scripts/config/lxdialog/inputbox.c
  55. +438 −0 libs/nixio/axTLS/config/scripts/config/lxdialog/menubox.c
  56. +85 −0 libs/nixio/axTLS/config/scripts/config/lxdialog/msgbox.c
  57. +556 −0 libs/nixio/axTLS/config/scripts/config/lxdialog/textbox.c
  58. +375 −0 libs/nixio/axTLS/config/scripts/config/lxdialog/util.c
  59. +118 −0 libs/nixio/axTLS/config/scripts/config/lxdialog/yesno.c
  60. +977 −0 libs/nixio/axTLS/config/scripts/config/mconf.c
  61. +390 −0 libs/nixio/axTLS/config/scripts/config/menu.c
  62. +67 −0 libs/nixio/axTLS/config/scripts/config/mkconfigs
  63. +809 −0 libs/nixio/axTLS/config/scripts/config/symbol.c
  64. +109 −0 libs/nixio/axTLS/config/scripts/config/util.c
  65. +366 −0 libs/nixio/axTLS/config/scripts/config/zconf.l
  66. +2,130 −0 libs/nixio/axTLS/config/scripts/config/zconf.tab.c_shipped
  67. +125 −0 libs/nixio/axTLS/config/scripts/config/zconf.tab.h_shipped
  68. +690 −0 libs/nixio/axTLS/config/scripts/config/zconf.y
  69. +119 −0 libs/nixio/axTLS/config/win32config
  70. +19 −0 libs/nixio/axTLS/crypto/.depend
  71. +50 −0 libs/nixio/axTLS/crypto/Makefile
  72. +456 −0 libs/nixio/axTLS/crypto/aes.c
  73. +1,575 −0 libs/nixio/axTLS/crypto/bigint.c
  74. +99 −0 libs/nixio/axTLS/crypto/bigint.h
  75. +112 −0 libs/nixio/axTLS/crypto/bigint_impl.h
  76. +222 −0 libs/nixio/axTLS/crypto/crypto.h
  77. +357 −0 libs/nixio/axTLS/crypto/crypto_misc.c
  78. +100 −0 libs/nixio/axTLS/crypto/hmac.c
  79. +162 −0 libs/nixio/axTLS/crypto/md2.c
  80. +293 −0 libs/nixio/axTLS/crypto/md5.c
  81. +91 −0 libs/nixio/axTLS/crypto/rc4.c
  82. +268 −0 libs/nixio/axTLS/crypto/rsa.c
  83. +248 −0 libs/nixio/axTLS/crypto/sha1.c
  84. +39 −0 libs/nixio/axTLS/docsrc/Makefile
  85. +1,237 −0 libs/nixio/axTLS/docsrc/axTLS.dox
  86. +3 −0 libs/nixio/axTLS/docsrc/doco_footer.html
  87. BIN libs/nixio/axTLS/docsrc/images/axolotl.jpg
  88. BIN libs/nixio/axTLS/docsrc/images/tsbasbw.gif
  89. +163 −0 libs/nixio/axTLS/httpd/Config.in
  90. +127 −0 libs/nixio/axTLS/httpd/Makefile
  91. +154 −0 libs/nixio/axTLS/httpd/axhttp.h
  92. +604 −0 libs/nixio/axTLS/httpd/axhttpd.c
  93. +136 −0 libs/nixio/axTLS/httpd/htpasswd.c
  94. BIN libs/nixio/axTLS/httpd/kepler-1.1-snapshot-20070521-1825.tar.gz
  95. +64 −0 libs/nixio/axTLS/httpd/kepler.patch
  96. +1,238 −0 libs/nixio/axTLS/httpd/proc.c
  97. +119 −0 libs/nixio/axTLS/httpd/tdate_parse.c
  98. +63 −0 libs/nixio/axTLS/samples/Config.in
  99. +62 −0 libs/nixio/axTLS/samples/Makefile
  100. +76 −0 libs/nixio/axTLS/samples/c/Makefile
  101. +883 −0 libs/nixio/axTLS/samples/c/axssl.c
  102. +48 −0 libs/nixio/axTLS/samples/csharp/Makefile
  103. +758 −0 libs/nixio/axTLS/samples/csharp/axssl.cs
  104. +51 −0 libs/nixio/axTLS/samples/java/Makefile
  105. +760 −0 libs/nixio/axTLS/samples/java/axssl.java
  106. +1 −0 libs/nixio/axTLS/samples/java/manifest.mf
  107. +43 −0 libs/nixio/axTLS/samples/lua/Makefile
  108. +562 −0 libs/nixio/axTLS/samples/lua/axssl.lua
  109. +43 −0 libs/nixio/axTLS/samples/perl/Makefile
  110. +634 −0 libs/nixio/axTLS/samples/perl/axssl.pl
  111. +48 −0 libs/nixio/axTLS/samples/vbnet/Makefile
  112. +702 −0 libs/nixio/axTLS/samples/vbnet/axssl.vb
  113. +31 −0 libs/nixio/axTLS/ssl/.depend
  114. +132 −0 libs/nixio/axTLS/ssl/BigIntConfig.in
  115. +336 −0 libs/nixio/axTLS/ssl/Config.in
  116. +123 −0 libs/nixio/axTLS/ssl/Makefile
  117. +510 −0 libs/nixio/axTLS/ssl/asn1.c
  118. +43 −0 libs/nixio/axTLS/ssl/cert.h
  119. +164 −0 libs/nixio/axTLS/ssl/crypto_misc.h
  120. +363 −0 libs/nixio/axTLS/ssl/gen_cert.c
  121. +465 −0 libs/nixio/axTLS/ssl/loader.c
  122. +322 −0 libs/nixio/axTLS/ssl/openssl.c
  123. +158 −0 libs/nixio/axTLS/ssl/os_port.c
  124. +207 −0 libs/nixio/axTLS/ssl/os_port.h
  125. +486 −0 libs/nixio/axTLS/ssl/p12.c
  126. +54 −0 libs/nixio/axTLS/ssl/private_key.h
  127. +474 −0 libs/nixio/axTLS/ssl/ssl.h
  128. +97 −0 libs/nixio/axTLS/ssl/test/Makefile
  129. +15 −0 libs/nixio/axTLS/ssl/test/axTLS.ca_key.pem
  130. BIN libs/nixio/axTLS/ssl/test/axTLS.ca_x509.cer
  131. +13 −0 libs/nixio/axTLS/ssl/test/axTLS.ca_x509.pem
  132. BIN libs/nixio/axTLS/ssl/test/axTLS.device_key
  133. +15 −0 libs/nixio/axTLS/ssl/test/axTLS.device_key.pem
  134. BIN libs/nixio/axTLS/ssl/test/axTLS.encrypted.p8
  135. +11 −0 libs/nixio/axTLS/ssl/test/axTLS.encrypted_pem.p8
  136. BIN libs/nixio/axTLS/ssl/test/axTLS.key_1024
  137. +15 −0 libs/nixio/axTLS/ssl/test/axTLS.key_1024.pem
  138. BIN libs/nixio/axTLS/ssl/test/axTLS.key_2048
  139. +27 −0 libs/nixio/axTLS/ssl/test/axTLS.key_2048.pem
  140. BIN libs/nixio/axTLS/ssl/test/axTLS.key_4096
  141. +51 −0 libs/nixio/axTLS/ssl/test/axTLS.key_4096.pem
  142. BIN libs/nixio/axTLS/ssl/test/axTLS.key_512
  143. +9 −0 libs/nixio/axTLS/ssl/test/axTLS.key_512.pem
  144. +12 −0 libs/nixio/axTLS/ssl/test/axTLS.key_aes128.pem
  145. +12 −0 libs/nixio/axTLS/ssl/test/axTLS.key_aes256.pem
  146. BIN libs/nixio/axTLS/ssl/test/axTLS.noname.p12
  147. BIN libs/nixio/axTLS/ssl/test/axTLS.unencrypted.p8
  148. +10 −0 libs/nixio/axTLS/ssl/test/axTLS.unencrypted_pem.p8
  149. BIN libs/nixio/axTLS/ssl/test/axTLS.withCA.p12
  150. BIN libs/nixio/axTLS/ssl/test/axTLS.withoutCA.p12
  151. BIN libs/nixio/axTLS/ssl/test/axTLS.x509_1024.cer
  152. +12 −0 libs/nixio/axTLS/ssl/test/axTLS.x509_1024.pem
  153. BIN libs/nixio/axTLS/ssl/test/axTLS.x509_2048.cer
  154. +15 −0 libs/nixio/axTLS/ssl/test/axTLS.x509_2048.pem
  155. BIN libs/nixio/axTLS/ssl/test/axTLS.x509_4096.cer
  156. +20 −0 libs/nixio/axTLS/ssl/test/axTLS.x509_4096.pem
  157. BIN libs/nixio/axTLS/ssl/test/axTLS.x509_512.cer
  158. +11 −0 libs/nixio/axTLS/ssl/test/axTLS.x509_512.pem
  159. +11 −0 libs/nixio/axTLS/ssl/test/axTLS.x509_aes128.pem
  160. +11 −0 libs/nixio/axTLS/ssl/test/axTLS.x509_aes256.pem
  161. +11 −0 libs/nixio/axTLS/ssl/test/axTLS.x509_bad_after.pem
  162. +11 −0 libs/nixio/axTLS/ssl/test/axTLS.x509_bad_before.pem
  163. BIN libs/nixio/axTLS/ssl/test/axTLS.x509_device.cer
  164. +24 −0 libs/nixio/axTLS/ssl/test/axTLS.x509_device.pem
  165. +43 −0 libs/nixio/axTLS/ssl/test/datatest.c
  166. +280 −0 libs/nixio/axTLS/ssl/test/datatest.c.old
  167. BIN libs/nixio/axTLS/ssl/test/deutsche_telecom.x509_ca
  168. BIN libs/nixio/axTLS/ssl/test/equifax.x509_ca
  169. BIN libs/nixio/axTLS/ssl/test/gnutls.cer
  170. BIN libs/nixio/axTLS/ssl/test/header_issue.dat
  171. +2 −0 libs/nixio/axTLS/ssl/test/killopenssl.sh
  172. +174 −0 libs/nixio/axTLS/ssl/test/make_certs.sh
  173. BIN libs/nixio/axTLS/ssl/test/microsoft.x509_ca
  174. +24 −0 libs/nixio/axTLS/ssl/test/microsoft.x509_ca.pem
  175. +13 −0 libs/nixio/axTLS/ssl/test/ms_iis.cer
  176. +228 −0 libs/nixio/axTLS/ssl/test/perf_bigint.c
  177. BIN libs/nixio/axTLS/ssl/test/socgen.cer
  178. +1,983 −0 libs/nixio/axTLS/ssl/test/ssltest.c
  179. +1,940 −0 libs/nixio/axTLS/ssl/test/ssltest.c.bak
  180. +163 −0 libs/nixio/axTLS/ssl/test/test_axssl.sh
  181. BIN libs/nixio/axTLS/ssl/test/thawte.x509_ca
  182. BIN libs/nixio/axTLS/ssl/test/verisign.x509_ca
  183. +16 −0 libs/nixio/axTLS/ssl/test/verisign.x509_ca.pem
  184. BIN libs/nixio/axTLS/ssl/test/verisign.x509_my_cert
  185. +25 −0 libs/nixio/axTLS/ssl/test/verisign.x509_my_cert.pem
  186. +2,057 −0 libs/nixio/axTLS/ssl/tls1.c
  187. +289 −0 libs/nixio/axTLS/ssl/tls1.h
  188. +386 −0 libs/nixio/axTLS/ssl/tls1_clnt.c
  189. +476 −0 libs/nixio/axTLS/ssl/tls1_svr.c
  190. +1 −0 libs/nixio/axTLS/ssl/version.h
  191. +502 −0 libs/nixio/axTLS/ssl/x509.c
  192. +2 −0 libs/nixio/axTLS/www/bin/.htaccess
  193. BIN libs/nixio/axTLS/www/favicon.ico
  194. +7,106 −0 libs/nixio/axTLS/www/index.html
  195. +75 −0 libs/nixio/axTLS/www/lua/download.lua
  196. +26 −0 libs/nixio/axTLS/www/lua/env.lua
  197. +64 −0 libs/nixio/axTLS/www/lua/overview.lp
  198. +31 −0 libs/nixio/axTLS/www/lua/prepara_sql2.lua
  199. +38 −0 libs/nixio/axTLS/www/lua/test_conc.lua
  200. +13 −0 libs/nixio/axTLS/www/lua/test_cookies.lp
  201. +14 −0 libs/nixio/axTLS/www/lua/test_cookies.lua
  202. +4 −0 libs/nixio/axTLS/www/lua/test_err.lua
  203. +23 −0 libs/nixio/axTLS/www/lua/test_fs.lua
  204. +22 −0 libs/nixio/axTLS/www/lua/test_htk.lua
  205. +31 −0 libs/nixio/axTLS/www/lua/test_lib.lua
  206. +127 −0 libs/nixio/axTLS/www/lua/test_main.html
  207. +31 −0 libs/nixio/axTLS/www/lua/test_main.lp
  208. +46 −0 libs/nixio/axTLS/www/lua/test_main.lua
  209. +43 −0 libs/nixio/axTLS/www/lua/test_session.lua
  210. +13 −0 libs/nixio/axTLS/www/lua/test_sql.lua
  211. +24 −0 libs/nixio/axTLS/www/lua/test_sql2.lua
  212. +14 −0 libs/nixio/axTLS/www/lua/test_variables.lp
  213. +1 −0 libs/nixio/axTLS/www/test_dir/bin/.htaccess
  214. +1 −0 libs/nixio/axTLS/www/test_dir/no_http/.htaccess
  215. +2 −0 libs/nixio/axTLS/www/test_dir/no_http/.htpasswd
  216. +6 −0 libs/nixio/axTLS/www/test_dir/no_http/index.html
  217. +1 −0 libs/nixio/axTLS/www/test_dir/no_ssl/.htaccess
  218. +6 −0 libs/nixio/axTLS/www/test_dir/no_ssl/index.html
View
1 NOTICE
@@ -6,3 +6,4 @@ Licensed under the Apache License, Version 2.0.
Contains code from:
coxpcall - Copyright 2005 - Kepler Project (www.keplerproject.org)
ltn12/luasocket - Copyright 2004-2007 Diego Nehab
+axTLS - Copyright 2008 Cameron Rich
View
@@ -1 +1 @@
-axTLS
+src/libaxtls.a
View
@@ -40,9 +40,9 @@ compile: $(NIXIO_OBJ)
mkdir -p dist$(LUA_LIBRARYDIR)
cp src/nixio.so dist$(LUA_LIBRARYDIR)/nixio.so
-$(AXTLS_DIR)/.prepared: $(AXTLS_FILE)
- rm -rf $(AXTLS_DIR)
- tar xvfz $(AXTLS_FILE)
+$(AXTLS_DIR)/.prepared:
+ #rm -rf $(AXTLS_DIR)
+ #tar xvfz $(AXTLS_FILE)
cp axtls-config/{.config,config.h} $(AXTLS_DIR)/config
touch $@
@@ -52,4 +52,4 @@ src/libaxtls.a: $(AXTLS_DIR)/.prepared
clean: luaclean
rm -f src/*.o src/*.so src/*.a
- rm -rf $(AXTLS_DIR)
+ rm -f $(AXTLS_DIR)/.prepared
No changes.
View
@@ -0,0 +1,181 @@
+#
+# Copyright (c) 2007, Cameron Rich
+#
+# All rights reserved.
+#
+# Redistribution and use in source and binary forms, with or without
+# modification, are permitted provided that the following conditions are met:
+#
+# * Redistributions of source code must retain the above copyright notice,
+# this list of conditions and the following disclaimer.
+# * Redistributions in binary form must reproduce the above copyright
+# notice, this list of conditions and the following disclaimer in the
+# documentation and/or other materials provided with the distribution.
+# * Neither the name of the axTLS project nor the names of its
+# contributors may be used to endorse or promote products derived
+# from this software without specific prior written permission.
+#
+# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
+# "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
+# LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
+# A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR
+# CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
+# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED
+# TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
+# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY
+# OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+# NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
+# THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+#
+
+-include config/.config
+
+ifneq ($(strip $(HAVE_DOT_CONFIG)),y)
+all: menuconfig
+else
+all: target
+endif
+
+include config/makefile.conf
+
+target : $(STAGE) $(TARGET)
+
+# VERSION has to come from the command line
+RELEASE=axTLS-$(VERSION)
+
+# standard version
+target:
+ $(MAKE) -C crypto
+ $(MAKE) -C ssl
+ifdef CONFIG_AXHTTPD
+ $(MAKE) -C httpd
+endif
+ifdef CONFIG_BINDINGS
+ $(MAKE) -C bindings
+endif
+ifdef CONFIG_SAMPLES
+ $(MAKE) -C samples
+endif
+
+$(STAGE) : ssl/version.h
+ @mkdir -p $(STAGE)
+
+# create a version file with something in it.
+ssl/version.h:
+ @echo "#define AXTLS_VERSION \"(no version)\"" > ssl/version.h
+
+$(PREFIX) :
+ @mkdir -p $(PREFIX)/lib
+ @mkdir -p $(PREFIX)/bin
+
+release:
+ $(MAKE) -C config/scripts/config clean
+ -$(MAKE) clean
+ -@rm config/*.msi config/*.back.aip config/config.h config/.config*
+ -@rm www/index.20*
+ -@rm -fr $(STAGE)
+ @echo "#define AXTLS_VERSION \"$(VERSION)\"" > ssl/version.h
+ cd ../; tar cvfz $(RELEASE).tar.gz --wildcards-match-slash --exclude .svn axTLS; cd -;
+
+docs:
+ $(MAKE) -C docsrc doco
+
+# build the Win32 demo release version
+win32_demo:
+ @echo "#define AXTLS_VERSION \"$(VERSION)\"" > ssl/version.h
+ $(MAKE) win32releaseconf
+
+install: $(PREFIX) all
+ cp --no-dereference $(STAGE)/libax* $(PREFIX)/lib
+ chmod 755 $(PREFIX)/lib/libax*
+ifdef CONFIG_SAMPLES
+ install -m 755 $(STAGE)/ax* $(PREFIX)/bin
+endif
+ifdef CONFIG_HTTP_HAS_AUTHORIZATION
+ install -m 755 $(STAGE)/htpasswd $(PREFIX)/bin
+endif
+ifdef CONFIG_PLATFORM_CYGWIN
+ install -m 755 $(STAGE)/cygaxtls.dll $(PREFIX)/bin
+endif
+ifdef CONFIG_PERL_BINDINGS
+ install -m 755 $(STAGE)/axtlsp.pm `perl -e 'use Config; print $$Config{installarchlib};'`
+endif
+ @mkdir -p -m 755 $(PREFIX)/include/axTLS
+ install -m 644 crypto/*.h $(PREFIX)/include/axTLS
+ install -m 644 ssl/*.h $(PREFIX)/include/axTLS
+ -rm $(PREFIX)/include/axTLS/cert.h
+ -rm $(PREFIX)/include/axTLS/private_key.h
+ install -m 644 config/config.h $(PREFIX)/include/axTLS
+
+installclean:
+ -@rm $(PREFIX)/lib/libax* > /dev/null 2>&1
+ -@rm $(PREFIX)/bin/ax* > /dev/null 2>&1
+ -@rm $(PREFIX)/bin/axhttpd* > /dev/null 2>&1
+ -@rm `perl -e 'use Config; print $$Config{installarchlib};'`/axtlsp.pm > /dev/null 2>&1
+
+test:
+ cd $(STAGE); ssltest; ../ssl/test/test_axssl.sh; cd -;
+
+# tidy up things
+clean::
+ @cd crypto; $(MAKE) clean
+ @cd ssl; $(MAKE) clean
+ @cd httpd; $(MAKE) clean
+ @cd samples; $(MAKE) clean
+ @cd docsrc; $(MAKE) clean
+ @cd bindings; $(MAKE) clean
+
+# ---------------------------------------------------------------------------
+# mconf stuff
+# ---------------------------------------------------------------------------
+
+CONFIG_CONFIG_IN = config/Config.in
+CONFIG_DEFCONFIG = config/defconfig
+
+config/scripts/config/conf: config/scripts/config/Makefile
+ $(MAKE) -C config/scripts/config conf
+ -@if [ ! -f config/.config ] ; then \
+ cp $(CONFIG_DEFCONFIG) config/.config; \
+ fi
+
+config/scripts/config/mconf: config/scripts/config/Makefile
+ $(MAKE) -C config/scripts/config ncurses conf mconf
+ -@if [ ! -f config/.config ] ; then \
+ cp $(CONFIG_DEFCONFIG) .config; \
+ fi
+
+cleanconf:
+ $(MAKE) -C config/scripts/config clean
+ @rm -f config/.config
+
+menuconfig: config/scripts/config/mconf
+ @./config/scripts/config/mconf $(CONFIG_CONFIG_IN)
+
+config: config/scripts/config/conf
+ @./config/scripts/config/conf $(CONFIG_CONFIG_IN)
+
+oldconfig: config/scripts/config/conf
+ @./config/scripts/config/conf -o $(CONFIG_CONFIG_IN)
+
+default: config/scripts/config/conf
+ @./config/scripts/config/conf -d $(CONFIG_CONFIG_IN) > /dev/null
+ $(MAKE)
+
+randconfig: config/scripts/config/conf
+ @./config/scripts/config/conf -r $(CONFIG_CONFIG_IN)
+
+allnoconfig: config/scripts/config/conf
+ @./config/scripts/config/conf -n $(CONFIG_CONFIG_IN)
+
+allyesconfig: config/scripts/config/conf
+ @./config/scripts/config/conf -y $(CONFIG_CONFIG_IN)
+
+# The special win32 release configuration
+win32releaseconf: config/scripts/config/conf
+ @./config/scripts/config/conf -D config/win32config $(CONFIG_CONFIG_IN) > /dev/null
+ $(MAKE)
+
+# The special linux release configuration
+linuxconf: config/scripts/config/conf
+ @./config/scripts/config/conf -D config/linuxconfig $(CONFIG_CONFIG_IN) > /dev/null
+ $(MAKE)
View
@@ -0,0 +1,3 @@
+
+See www/index.html for the README, CHANGELOG, LICENSE and other notes.
+
Binary file not shown.
Binary file not shown.
@@ -0,0 +1,105 @@
+#
+# For a description of the syntax of this configuration file,
+# see scripts/config/Kconfig-language.txt
+#
+menu "Language Bindings"
+
+config CONFIG_BINDINGS
+ bool "Create language bindings"
+ default n
+ help
+ axTLS supports language bindings in C#, VB.NET, Java and Perl.
+
+ Select Y here if you want to build the various language bindings.
+
+config CONFIG_CSHARP_BINDINGS
+ bool "Create C# bindings"
+ default n
+ depends on CONFIG_BINDINGS
+ help
+ Build C# bindings.
+
+ This requires .NET to be installed on Win32 platforms and mono to be
+ installed on all other platforms.
+
+config CONFIG_VBNET_BINDINGS
+ bool "Create VB.NET bindings"
+ default n
+ depends on CONFIG_BINDINGS
+ help
+ Build VB.NET bindings.
+
+ This requires the .NET to be installed and is only built under Win32
+ platforms.
+
+menu ".Net Framework"
+depends on CONFIG_CSHARP_BINDINGS || CONFIG_VBNET_BINDINGS
+config CONFIG_DOT_NET_FRAMEWORK_BASE
+ string "Location of .NET Framework"
+ default "c:\\WINDOWS\\Microsoft.NET\\Framework\\v2.0.50727"
+endmenu
+
+config CONFIG_JAVA_BINDINGS
+ bool "Create Java bindings"
+ default n
+ depends on CONFIG_BINDINGS
+ help
+ Build Java bindings.
+
+ Current Issues (see README):
+ * Needs Java 1.4 or better.
+ * If building under Win32 it will use the Win32 JDK.
+
+menu "Java Home"
+depends on CONFIG_JAVA_BINDINGS
+config CONFIG_JAVA_HOME
+ string "Location of JDK"
+ default "c:\\Program Files\\Java\\jdk1.5.0_06" if CONFIG_PLATFORM_WIN32 || CONFIG_PLATFORM_CYGWIN
+ default "/usr/local/jdk142" if !CONFIG_PLATFORM_WIN32 && !CONFIG_PLATFORM_CYGWIN
+ depends on CONFIG_JAVA_BINDINGS
+ help
+ The location of Sun's JDK.
+endmenu
+
+config CONFIG_PERL_BINDINGS
+ bool "Create Perl bindings"
+ default n
+ depends on CONFIG_BINDINGS
+ help
+ Build Perl bindings.
+
+ Current Issues (see README):
+ * 64 bit versions don't work at present.
+ * libperl.so needs to be in the shared library path.
+
+menu "Perl Home"
+depends on CONFIG_PERL_BINDINGS && CONFIG_PLATFORM_WIN32
+config CONFIG_PERL_CORE
+ string "Location of Perl CORE"
+ default "c:\\perl\\lib\\CORE"
+ help:
+ works with ActiveState
+ "http://www.activestate.com/Products/ActivePerl"
+
+config CONFIG_PERL_LIB
+ string "Name of Perl Library"
+ default "perl58.lib"
+endmenu
+
+config CONFIG_LUA_BINDINGS
+ bool "Create Lua bindings"
+ default n
+ depends on CONFIG_BINDINGS && !CONFIG_PLATFORM_WIN32
+ help
+ Build Lua bindings (see www.lua.org).
+
+menu "Lua Home"
+depends on CONFIG_LUA_BINDINGS
+config CONFIG_LUA_CORE
+ string "Location of Lua CORE"
+ default "/usr/local"
+ help:
+ If the Lua exists on another directory then this needs to be changed
+endmenu
+
+endmenu
Oops, something went wrong.

0 comments on commit 6c08a3e

Please sign in to comment.