Module Name:    othersrc
Committed By:   agc
Date:           Thu Sep  8 04:30:35 UTC 2011

Added Files:
        othersrc/external/bsd/axtls: Makefile
        othersrc/external/bsd/axtls/bin: Makefile
        othersrc/external/bsd/axtls/bin/axhttpd: Makefile
        othersrc/external/bsd/axtls/bin/axssl: Makefile
        othersrc/external/bsd/axtls/bin/axtlswrap: Makefile
        othersrc/external/bsd/axtls/bin/htpasswd: Makefile
        othersrc/external/bsd/axtls/lib: Makefile config.h shlib_version

Log Message:
add a basic reachover infrastructure for axtls


To generate a diff of this commit:
cvs rdiff -u -r0 -r1.1 othersrc/external/bsd/axtls/Makefile
cvs rdiff -u -r0 -r1.1 othersrc/external/bsd/axtls/bin/Makefile
cvs rdiff -u -r0 -r1.1 othersrc/external/bsd/axtls/bin/axhttpd/Makefile
cvs rdiff -u -r0 -r1.1 othersrc/external/bsd/axtls/bin/axssl/Makefile
cvs rdiff -u -r0 -r1.1 othersrc/external/bsd/axtls/bin/axtlswrap/Makefile
cvs rdiff -u -r0 -r1.1 othersrc/external/bsd/axtls/bin/htpasswd/Makefile
cvs rdiff -u -r0 -r1.1 othersrc/external/bsd/axtls/lib/Makefile \
    othersrc/external/bsd/axtls/lib/config.h \
    othersrc/external/bsd/axtls/lib/shlib_version

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Added files:

Index: othersrc/external/bsd/axtls/Makefile
diff -u /dev/null othersrc/external/bsd/axtls/Makefile:1.1
--- /dev/null	Thu Sep  8 04:30:35 2011
+++ othersrc/external/bsd/axtls/Makefile	Thu Sep  8 04:30:34 2011
@@ -0,0 +1,12 @@
+#	$NetBSD: Makefile,v 1.1 2011/09/08 04:30:34 agc Exp $
+
+# sources from:
+#	http://sourceforge.net/projects/axtls/files/1.4.3/axTLS-1.4.3.tar.gz/download
+
+SUBDIR=		lib .WAIT
+SUBDIR+=	bin
+
+.include <bsd.subdir.mk>
+
+t:
+	cd bin && ${MAKE} t

Index: othersrc/external/bsd/axtls/bin/Makefile
diff -u /dev/null othersrc/external/bsd/axtls/bin/Makefile:1.1
--- /dev/null	Thu Sep  8 04:30:35 2011
+++ othersrc/external/bsd/axtls/bin/Makefile	Thu Sep  8 04:30:34 2011
@@ -0,0 +1,8 @@
+#	$NetBSD: Makefile,v 1.1 2011/09/08 04:30:34 agc Exp $
+
+SUBDIR=		axhttpd axssl htpasswd axtlswrap
+
+.include <bsd.subdir.mk>
+
+t:
+	cd axssl && ${MAKE} t

Index: othersrc/external/bsd/axtls/bin/axhttpd/Makefile
diff -u /dev/null othersrc/external/bsd/axtls/bin/axhttpd/Makefile:1.1
--- /dev/null	Thu Sep  8 04:30:35 2011
+++ othersrc/external/bsd/axtls/bin/axhttpd/Makefile	Thu Sep  8 04:30:34 2011
@@ -0,0 +1,63 @@
+# $NetBSD: Makefile,v 1.1 2011/09/08 04:30:34 agc Exp $
+
+.include <bsd.own.mk>
+
+PROG=		axhttpd
+SRCS=		axhttpd.c tdate_parse.c proc.c
+BINDIR=		/usr/bin
+
+CPPFLAGS+=	-I${DIST}/ssl -I${DIST}/crypto -I${.CURDIR}/../../lib
+CPPFLAGS+=	-Wno-format-nonliteral
+
+LIBAXTLSDIR!=	cd ${.CURDIR}/../../lib && ${PRINTOBJDIR}
+LDADD+=		-L${LIBAXTLSDIR} -laxtls
+DPADD+=		${LIBAXTLSDIR}/libaxtls.a
+
+MKMAN=		no
+
+WARNS=		4
+
+DIST=		${.CURDIR}/../../dist
+.PATH: ${DIST}/httpd
+
+.include <bsd.prog.mk>
+
+# note these numbers are assumed to be hex on input dn output
+t test: ${PROG}
+	@echo "No news is good news"
+	@echo "1. Testing FS, print and next"
+	@env LD_LIBRARY_PATH=${LIBAXTLSDIR} ./${PROG} -F: '/^#/ { next } { print $$1 }' /etc/passwd
+	@echo "2. Testing FS, non-first field, print and next"
+	@env LD_LIBRARY_PATH=${LIBAXTLSDIR} ./${PROG} -F: '/^#/ { next } { print $$1 ":" $$5 }' /etc/passwd
+	@echo "3. Another dynamic loading test"
+	@(cd ${.CURDIR}/../dist && env LD_LIBRARY_PATH=${LIBAXTLSDIR} ./dl.sh ${LIBAXTLSDIR}/../eawk/${PROG})
+	@echo "4. Another dynamic loading test"
+	@(cd ${.CURDIR}/../dist && env LD_LIBRARY_PATH=${LIBAXTLSDIR} ./dl2.sh ${LIBAXTLSDIR}/../eawk/${PROG})
+	@echo "5. Dynamic loading test 1 from libc::write(2)"
+	@(cd ${.CURDIR}/../dist && env LD_LIBRARY_PATH=${LIBAXTLSDIR} ./dl3.sh ${LIBAXTLSDIR}/../eawk/${PROG})
+	@echo "6. Dynamic loading test 2 from libc::printf(3)"
+	@(cd ${.CURDIR}/../dist && env LD_LIBRARY_PATH=${LIBAXTLSDIR} ./dl4.sh ${LIBAXTLSDIR}/../eawk/${PROG})
+	@echo "7. Dynamic loading test 3 from libc::printf(3) with immediate prototype"
+	@(cd ${.CURDIR}/../dist && env LD_LIBRARY_PATH=${LIBAXTLSDIR} ./dl5.sh ${LIBAXTLSDIR}/../eawk/${PROG})
+	@echo "8. Dynamic loading test 4 - storage allocation and use"
+	@(cd ${.CURDIR}/../dist && env LD_LIBRARY_PATH=${LIBAXTLSDIR} ./dl6.sh ${LIBAXTLSDIR}/../eawk/${PROG})
+	@echo "9. Dynamic loading test 5 - structure field test"
+	@(cd ${.CURDIR}/../dist && env LD_LIBRARY_PATH=${LIBAXTLSDIR} ./dl7.sh ${LIBAXTLSDIR}/../eawk/${PROG})
+	@echo "10. Standard functionality - shift test"
+	@(cd ${.CURDIR}/../dist && env LD_LIBRARY_PATH=${LIBAXTLSDIR} ./dl8.sh ${LIBAXTLSDIR}/../eawk/${PROG})
+	@echo "11. Standard functionality - awk \"in\" statement"
+	@(cd ${.CURDIR}/../dist && env LD_LIBRARY_PATH=${LIBAXTLSDIR} ./dl9.sh ${LIBAXTLSDIR}/../eawk/${PROG})
+	@echo "12. eawk using libnetpgp to print a signature"
+	@(cd ${.CURDIR}/../dist && env LD_LIBRARY_PATH=${LIBAXTLSDIR} ./dlA.sh ${LIBAXTLSDIR}/../eawk/${PROG})
+	@echo "13. eawk using libnetpgp to print a number of signatures"
+	@(cd ${.CURDIR}/../dist && env LD_LIBRARY_PATH=${LIBAXTLSDIR} ./dlB.sh -e ${LIBAXTLSDIR}/../eawk/${PROG} "agc@ root")
+	@echo "14. eawk using libnetpgp and c refs to print keys in keyring"
+	@(cd ${.CURDIR}/../dist && env LD_LIBRARY_PATH=${LIBAXTLSDIR} ./dlC.sh ${LIBAXTLSDIR}/../eawk/${PROG})
+	@echo "15. eawk using simple script and fprintf"
+	@(env LD_LIBRARY_PATH=${LIBAXTLSDIR} ./${PROG} 'BEGIN { dlopen(libc, "libc"); dlcall(libc, "int fprintf(cvar, awkptr)", "stdout", "hello world\n") }')
+	@echo "16. eawk and SHA256"
+	@(env LD_LIBRARY_PATH=${LIBAXTLSDIR} ./${PROG} 'BEGIN { f = "../Makefile"; dlopen(libc, "libc"); buf = dlalloc(65); dlcall(libc, "cptr SHA256_File(awkptr, cptr)", f, buf); dlcall(libc, "int printf(awkptr, awkptr, cptr)", "SHA256 (%s) = %s\n", f, buf) }')
+	@digest sha256 ../Makefile
+	@echo "17. eawk using bit arithmetic"
+	@(cd ${.CURDIR}/../dist && env LD_LIBRARY_PATH=${LIBAXTLSDIR} ./bit1.sh ${LIBAXTLSDIR}/../eawk/${PROG})
+	@echo "All tests complete"

Index: othersrc/external/bsd/axtls/bin/axssl/Makefile
diff -u /dev/null othersrc/external/bsd/axtls/bin/axssl/Makefile:1.1
--- /dev/null	Thu Sep  8 04:30:35 2011
+++ othersrc/external/bsd/axtls/bin/axssl/Makefile	Thu Sep  8 04:30:34 2011
@@ -0,0 +1,36 @@
+# $NetBSD: Makefile,v 1.1 2011/09/08 04:30:34 agc Exp $
+
+.include <bsd.own.mk>
+
+PROG=		axssl
+SRCS=		axssl.c
+BINDIR=		/usr/bin
+
+CPPFLAGS+=	-I${DIST}/ssl -I${DIST}/crypto -I${.CURDIR}/../../lib
+
+LIBAXTLSDIR!=	cd ${.CURDIR}/../../lib && ${PRINTOBJDIR}
+LDADD+=		-L${LIBAXTLSDIR} -laxtls
+DPADD+=		${LIBAXTLSDIR}/libaxtls.a
+
+MKMAN=		no
+
+WARNS=		4
+
+DIST=		${.CURDIR}/../../dist
+.PATH: ${DIST}/samples/c
+
+.include <bsd.prog.mk>
+
+t test: ${PROG}
+	@echo "No news is good news"
+	@echo "1. Testing ssl certs, w debug"
+	@env LD_LIBRARY_PATH=${LIBAXTLSDIR} ./${PROG} s_client -verify -connect www.yahoo.com:443 -cert ${.CURDIR}/../../certs/www.yahoo.com/www.yahoo.com.pem -CAfile ${.CURDIR}/../../certs/www.yahoo.com/Equifax_Secure_Certificate_Authority.cer.pem -debug
+	@echo "2. Testing ssl certs"
+	@env LD_LIBRARY_PATH=${LIBAXTLSDIR} ./${PROG} s_client -verify -connect www.yahoo.com:443 -cert ${.CURDIR}/../../certs/www.yahoo.com/www.yahoo.com.pem -CAfile ${.CURDIR}/../../certs/www.yahoo.com/Equifax_Secure_Certificate_Authority.cer.pem
+	@echo "3. Testing google ssl cert 0"
+	-@env LD_LIBRARY_PATH=${LIBAXTLSDIR} ./${PROG} s_client -verify -connect www.google.com:443 -cert ${.CURDIR}/../../certs/www.google.com/www.google.com.0
+	@echo "4. Testing google ssl cert 1"
+	-@env LD_LIBRARY_PATH=${LIBAXTLSDIR} ./${PROG} s_client -verify -connect www.google.com:443 -cert ${.CURDIR}/../../certs/www.google.com/www.google.com.1
+	@echo "5. Testing server and client"
+	@env LD_LIBRARY_PATH=${LIBAXTLSDIR} ./${PROG} s_client -connect localhost:4433 < Makefile
+	@echo "All tests complete"

Index: othersrc/external/bsd/axtls/bin/axtlswrap/Makefile
diff -u /dev/null othersrc/external/bsd/axtls/bin/axtlswrap/Makefile:1.1
--- /dev/null	Thu Sep  8 04:30:35 2011
+++ othersrc/external/bsd/axtls/bin/axtlswrap/Makefile	Thu Sep  8 04:30:34 2011
@@ -0,0 +1,34 @@
+# $NetBSD: Makefile,v 1.1 2011/09/08 04:30:34 agc Exp $
+
+.include <bsd.own.mk>
+
+PROG=		axtlswrap
+SRCS=		axtlswrap.c
+BINDIR=		/usr/bin
+
+CPPFLAGS+=	-I${DIST}/ssl -I${DIST}/crypto -I${.CURDIR}/../../lib
+
+LIBAXTLSDIR!=	cd ${.CURDIR}/../../lib && ${PRINTOBJDIR}
+LDADD+=		-L${LIBAXTLSDIR} -laxtls
+DPADD+=		${LIBAXTLSDIR}/libaxtls.a
+
+MKMAN=		no
+
+WARNS=		4
+
+DIST=		${.CURDIR}/../../dist
+.PATH: ${DIST}/axtlswrap
+
+.include <bsd.prog.mk>
+
+t test: ${PROG}
+	@echo "No news is good news"
+	@echo "1. Testing ssl certs, w debug"
+	@env LD_LIBRARY_PATH=${LIBAXTLSDIR} ./${PROG} s_client -verify -connect www.yahoo.com:443 -cert ${.CURDIR}/../../certs/www.yahoo.com/www.yahoo.com.pem -CAfile ${.CURDIR}/../../certs/www.yahoo.com/Equifax_Secure_Certificate_Authority.cer.pem -debug
+	@echo "2. Testing ssl certs"
+	@env LD_LIBRARY_PATH=${LIBAXTLSDIR} ./${PROG} s_client -verify -connect www.yahoo.com:443 -cert ${.CURDIR}/../../certs/www.yahoo.com/www.yahoo.com.pem -CAfile ${.CURDIR}/../../certs/www.yahoo.com/Equifax_Secure_Certificate_Authority.cer.pem
+	@echo "3. Testing google ssl cert 0"
+	@env LD_LIBRARY_PATH=${LIBAXTLSDIR} ./${PROG} s_client -verify -connect www.google.com:443 -cert ${.CURDIR}/../../certs/www.google.com/www.google.com.0
+	@echo "4. Testing google ssl cert 1"
+	@env LD_LIBRARY_PATH=${LIBAXTLSDIR} ./${PROG} s_client -verify -connect www.google.com:443 -cert ${.CURDIR}/../../certs/www.google.com/www.google.com.1
+	@echo "All tests complete"

Index: othersrc/external/bsd/axtls/bin/htpasswd/Makefile
diff -u /dev/null othersrc/external/bsd/axtls/bin/htpasswd/Makefile:1.1
--- /dev/null	Thu Sep  8 04:30:35 2011
+++ othersrc/external/bsd/axtls/bin/htpasswd/Makefile	Thu Sep  8 04:30:35 2011
@@ -0,0 +1,62 @@
+# $NetBSD: Makefile,v 1.1 2011/09/08 04:30:35 agc Exp $
+
+.include <bsd.own.mk>
+
+PROG=		axhtpasswd
+SRCS=		htpasswd.c
+BINDIR=		/usr/bin
+
+CPPFLAGS+=	-I${DIST}/ssl -I${DIST}/crypto -I${.CURDIR}/../../lib
+
+LIBAXTLSDIR!=	cd ${.CURDIR}/../../lib && ${PRINTOBJDIR}
+LDADD+=		-L${LIBAXTLSDIR} -laxtls
+DPADD+=		${LIBAXTLSDIR}/libaxtls.a
+
+MKMAN=		no
+
+WARNS=		0
+
+DIST=		${.CURDIR}/../../dist
+.PATH: ${DIST}/httpd
+
+.include <bsd.prog.mk>
+
+# note these numbers are assumed to be hex on input dn output
+t test: ${PROG}
+	@echo "No news is good news"
+	@echo "1. Testing FS, print and next"
+	@env LD_LIBRARY_PATH=${LIBAXTLSDIR} ./${PROG} -F: '/^#/ { next } { print $$1 }' /etc/passwd
+	@echo "2. Testing FS, non-first field, print and next"
+	@env LD_LIBRARY_PATH=${LIBAXTLSDIR} ./${PROG} -F: '/^#/ { next } { print $$1 ":" $$5 }' /etc/passwd
+	@echo "3. Another dynamic loading test"
+	@(cd ${.CURDIR}/../dist && env LD_LIBRARY_PATH=${LIBAXTLSDIR} ./dl.sh ${LIBAXTLSDIR}/../eawk/${PROG})
+	@echo "4. Another dynamic loading test"
+	@(cd ${.CURDIR}/../dist && env LD_LIBRARY_PATH=${LIBAXTLSDIR} ./dl2.sh ${LIBAXTLSDIR}/../eawk/${PROG})
+	@echo "5. Dynamic loading test 1 from libc::write(2)"
+	@(cd ${.CURDIR}/../dist && env LD_LIBRARY_PATH=${LIBAXTLSDIR} ./dl3.sh ${LIBAXTLSDIR}/../eawk/${PROG})
+	@echo "6. Dynamic loading test 2 from libc::printf(3)"
+	@(cd ${.CURDIR}/../dist && env LD_LIBRARY_PATH=${LIBAXTLSDIR} ./dl4.sh ${LIBAXTLSDIR}/../eawk/${PROG})
+	@echo "7. Dynamic loading test 3 from libc::printf(3) with immediate prototype"
+	@(cd ${.CURDIR}/../dist && env LD_LIBRARY_PATH=${LIBAXTLSDIR} ./dl5.sh ${LIBAXTLSDIR}/../eawk/${PROG})
+	@echo "8. Dynamic loading test 4 - storage allocation and use"
+	@(cd ${.CURDIR}/../dist && env LD_LIBRARY_PATH=${LIBAXTLSDIR} ./dl6.sh ${LIBAXTLSDIR}/../eawk/${PROG})
+	@echo "9. Dynamic loading test 5 - structure field test"
+	@(cd ${.CURDIR}/../dist && env LD_LIBRARY_PATH=${LIBAXTLSDIR} ./dl7.sh ${LIBAXTLSDIR}/../eawk/${PROG})
+	@echo "10. Standard functionality - shift test"
+	@(cd ${.CURDIR}/../dist && env LD_LIBRARY_PATH=${LIBAXTLSDIR} ./dl8.sh ${LIBAXTLSDIR}/../eawk/${PROG})
+	@echo "11. Standard functionality - awk \"in\" statement"
+	@(cd ${.CURDIR}/../dist && env LD_LIBRARY_PATH=${LIBAXTLSDIR} ./dl9.sh ${LIBAXTLSDIR}/../eawk/${PROG})
+	@echo "12. eawk using libnetpgp to print a signature"
+	@(cd ${.CURDIR}/../dist && env LD_LIBRARY_PATH=${LIBAXTLSDIR} ./dlA.sh ${LIBAXTLSDIR}/../eawk/${PROG})
+	@echo "13. eawk using libnetpgp to print a number of signatures"
+	@(cd ${.CURDIR}/../dist && env LD_LIBRARY_PATH=${LIBAXTLSDIR} ./dlB.sh -e ${LIBAXTLSDIR}/../eawk/${PROG} "agc@ root")
+	@echo "14. eawk using libnetpgp and c refs to print keys in keyring"
+	@(cd ${.CURDIR}/../dist && env LD_LIBRARY_PATH=${LIBAXTLSDIR} ./dlC.sh ${LIBAXTLSDIR}/../eawk/${PROG})
+	@echo "15. eawk using simple script and fprintf"
+	@(env LD_LIBRARY_PATH=${LIBAXTLSDIR} ./${PROG} 'BEGIN { dlopen(libc, "libc"); dlcall(libc, "int fprintf(cvar, awkptr)", "stdout", "hello world\n") }')
+	@echo "16. eawk and SHA256"
+	@(env LD_LIBRARY_PATH=${LIBAXTLSDIR} ./${PROG} 'BEGIN { f = "../Makefile"; dlopen(libc, "libc"); buf = dlalloc(65); dlcall(libc, "cptr SHA256_File(awkptr, cptr)", f, buf); dlcall(libc, "int printf(awkptr, awkptr, cptr)", "SHA256 (%s) = %s\n", f, buf) }')
+	@digest sha256 ../Makefile
+	@echo "17. eawk using bit arithmetic"
+	@(cd ${.CURDIR}/../dist && env LD_LIBRARY_PATH=${LIBAXTLSDIR} ./bit1.sh ${LIBAXTLSDIR}/../eawk/${PROG})
+	@echo "All tests complete"

Index: othersrc/external/bsd/axtls/lib/Makefile
diff -u /dev/null othersrc/external/bsd/axtls/lib/Makefile:1.1
--- /dev/null	Thu Sep  8 04:30:35 2011
+++ othersrc/external/bsd/axtls/lib/Makefile	Thu Sep  8 04:30:35 2011
@@ -0,0 +1,21 @@
+#	$NetBSD: Makefile,v 1.1 2011/09/08 04:30:35 agc Exp $
+
+.include <bsd.own.mk>
+
+DIST=	${.CURDIR}/../dist
+.PATH:	${DIST}/crypto ${DIST}/ssl ${DIST}/docsrc
+
+LIB=	axtls
+SRCS=	aes.c bigint.c crypto_misc.c hmac.c md2.c md5.c rc4.c
+SRCS+=	rsa.c sha1.c asn1.c gen_cert.c loader.c openssl.c
+SRCS+=	os_port.c p12.c tls1.c tls1_svr.c tls1_clnt.c x509.c
+CPPFLAGS+=	-I. -I${DIST}/ssl -I${DIST}/crypto
+MAN=	libaxtls.3
+
+WARNS=4
+
+INCS=	bigint.h bigint_impl.h config.h crypto.h crypto_misc.h
+INCS+=	ssl.h tls1.h version.h
+INCSDIR=	/usr/include/axtls
+
+.include <bsd.lib.mk>
Index: othersrc/external/bsd/axtls/lib/config.h
diff -u /dev/null othersrc/external/bsd/axtls/lib/config.h:1.1
--- /dev/null	Thu Sep  8 04:30:35 2011
+++ othersrc/external/bsd/axtls/lib/config.h	Thu Sep  8 04:30:35 2011
@@ -0,0 +1,127 @@
+/*
+ * Automatically generated header file: don't edit
+ */
+
+#define HAVE_DOT_CONFIG 1
+#define CONFIG_PLATFORM_LINUX 1
+#undef CONFIG_PLATFORM_CYGWIN
+#undef CONFIG_PLATFORM_WIN32
+
+/*
+ * General Configuration
+ */
+#define PREFIX "/usr/pkg"
+#undef CONFIG_DEBUG
+#define CONFIG_STRIP_UNWANTED_SECTIONS 1
+#undef CONFIG_VISUAL_STUDIO_7_0
+#undef CONFIG_VISUAL_STUDIO_8_0
+#undef CONFIG_VISUAL_STUDIO_10_0
+#define CONFIG_VISUAL_STUDIO_7_0_BASE ""
+#define CONFIG_VISUAL_STUDIO_8_0_BASE ""
+#define CONFIG_VISUAL_STUDIO_10_0_BASE ""
+#define CONFIG_EXTRA_CFLAGS_OPTIONS ""
+#define CONFIG_EXTRA_LDFLAGS_OPTIONS ""
+
+/*
+ * SSL Library
+ */
+#undef CONFIG_SSL_SERVER_ONLY
+#undef CONFIG_SSL_CERT_VERIFICATION
+#undef CONFIG_SSL_ENABLE_CLIENT
+#define CONFIG_SSL_FULL_MODE 1
+#undef CONFIG_SSL_SKELETON_MODE
+#undef CONFIG_SSL_PROT_LOW
+#define CONFIG_SSL_PROT_MEDIUM 1
+#undef CONFIG_SSL_PROT_HIGH
+#define CONFIG_SSL_USE_DEFAULT_KEY 1
+#define CONFIG_SSL_PRIVATE_KEY_LOCATION ""
+#define CONFIG_SSL_PRIVATE_KEY_PASSWORD ""
+#define CONFIG_SSL_X509_CERT_LOCATION ""
+#undef CONFIG_SSL_GENERATE_X509_CERT
+#define CONFIG_SSL_X509_COMMON_NAME ""
+#define CONFIG_SSL_X509_ORGANIZATION_NAME ""
+#define CONFIG_SSL_X509_ORGANIZATION_UNIT_NAME ""
+#define CONFIG_SSL_ENABLE_V23_HANDSHAKE 1
+#define CONFIG_SSL_HAS_PEM 1
+#define CONFIG_SSL_USE_PKCS12 1
+#define CONFIG_SSL_EXPIRY_TIME 24
+#define CONFIG_X509_MAX_CA_CERTS 4
+#define CONFIG_SSL_MAX_CERTS 2
+#undef CONFIG_SSL_CTX_MUTEXING
+#define CONFIG_USE_DEV_URANDOM 1
+#undef CONFIG_WIN32_USE_CRYPTO_LIB
+#undef CONFIG_OPENSSL_COMPATIBLE
+#undef CONFIG_PERFORMANCE_TESTING
+#undef CONFIG_SSL_TEST
+#undef CONFIG_AXTLSWRAP
+#define CONFIG_AXHTTPD 1
+
+/*
+ * Axhttpd Configuration
+ */
+#undef CONFIG_HTTP_STATIC_BUILD
+#define CONFIG_HTTP_PORT 80
+#define CONFIG_HTTP_HTTPS_PORT 443
+#define CONFIG_HTTP_SESSION_CACHE_SIZE 5
+#define CONFIG_HTTP_WEBROOT "../www"
+#define CONFIG_HTTP_TIMEOUT 300
+
+/*
+ * CGI
+ */
+#define CONFIG_HTTP_HAS_CGI 1
+#define CONFIG_HTTP_CGI_EXTENSIONS ".lua,.lp"
+#define CONFIG_HTTP_ENABLE_LUA 1
+#define CONFIG_HTTP_LUA_PREFIX "/usr/pkg"
+#define CONFIG_HTTP_LUA_CGI_LAUNCHER "/bin/cgi"
+#undef CONFIG_HTTP_BUILD_LUA
+#define CONFIG_HTTP_DIRECTORIES 1
+#define CONFIG_HTTP_HAS_AUTHORIZATION 1
+#undef CONFIG_HTTP_HAS_IPV6
+#undef CONFIG_HTTP_ENABLE_DIFFERENT_USER
+#define CONFIG_HTTP_USER ""
+#define CONFIG_HTTP_VERBOSE 1
+#undef CONFIG_HTTP_IS_DAEMON
+
+/*
+ * Language Bindings
+ */
+#undef CONFIG_BINDINGS
+#undef CONFIG_CSHARP_BINDINGS
+#undef CONFIG_VBNET_BINDINGS
+#define CONFIG_DOT_NET_FRAMEWORK_BASE ""
+#undef CONFIG_JAVA_BINDINGS
+#define CONFIG_JAVA_HOME ""
+#undef CONFIG_PERL_BINDINGS
+#define CONFIG_PERL_CORE ""
+#define CONFIG_PERL_LIB ""
+#undef CONFIG_LUA_BINDINGS
+#define CONFIG_LUA_CORE ""
+
+/*
+ * Samples
+ */
+#define CONFIG_SAMPLES 1
+#define CONFIG_C_SAMPLES 1
+#undef CONFIG_CSHARP_SAMPLES
+#undef CONFIG_VBNET_SAMPLES
+#undef CONFIG_JAVA_SAMPLES
+#undef CONFIG_PERL_SAMPLES
+#undef CONFIG_LUA_SAMPLES
+
+/*
+ * BigInt Options
+ */
+#undef CONFIG_BIGINT_CLASSICAL
+#undef CONFIG_BIGINT_MONTGOMERY
+#define CONFIG_BIGINT_BARRETT 1
+#define CONFIG_BIGINT_CRT 1
+#undef CONFIG_BIGINT_KARATSUBA
+#define MUL_KARATSUBA_THRESH 
+#define SQU_KARATSUBA_THRESH 
+#define CONFIG_BIGINT_SLIDING_WINDOW 1
+#define CONFIG_BIGINT_SQUARE 1
+#undef CONFIG_BIGINT_CHECK_ON
+#define CONFIG_INTEGER_32BIT 1
+#undef CONFIG_INTEGER_16BIT
+#undef CONFIG_INTEGER_8BIT
Index: othersrc/external/bsd/axtls/lib/shlib_version
diff -u /dev/null othersrc/external/bsd/axtls/lib/shlib_version:1.1
--- /dev/null	Thu Sep  8 04:30:35 2011
+++ othersrc/external/bsd/axtls/lib/shlib_version	Thu Sep  8 04:30:35 2011
@@ -0,0 +1,2 @@
+major=1
+minor=2

Reply via email to