head	1.3;
access;
symbols;
locks; strict;
comment	@# @;


1.3
date	2026.10.14.22.35.14;	author agc;	state dead;
branches;
next	1.2;
commitid	wZSuuEeWXNhWPuZG;

1.2
date	2011.09.08.04.36.49;	author agc;	state Exp;
branches;
next	1.1;

1.1
date	2011.09.08.04.30.34;	author agc;	state Exp;
branches;
next	;


desc
@@


1.3
log
@Remove the old version of axtls from 2011 - not relevant anymore, and just
wasting space.
@
text
@# $NetBSD: Makefile,v 1.2 2011/09/08 04:36:49 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"
@


1.2
log
@Bring forward some changes to make this build with WARNS=4, to give some
namespace protection for SHA1 and MD5 routines (implemented and used in
axtls itself)
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.2 2011/09/01 05:07:12 agc Exp $
@


1.1
log
@add a basic reachover infrastructure for axtls
@
text
@@

