Add https support. Okay okan@.

This commit is contained in:
pirofti 2008-12-08 18:04:52 +00:00
parent 20ba2b84b8
commit 71113a9ecc
2 changed files with 18 additions and 3 deletions

View File

@ -1,8 +1,9 @@
# $OpenBSD: Makefile,v 1.1.1.1 2008/12/07 22:03:28 okan Exp $
# $OpenBSD: Makefile,v 1.2 2008/12/08 18:04:52 pirofti Exp $
COMMENT = interactive, multi-threaded text mode web browser
DISTNAME = retawq-0.2.6c
PKGNAME = ${DISTNAME}p0
CATEGORIES = www
HOMEPAGE = http://retawq.sourceforge.net
@ -16,10 +17,10 @@ PERMIT_PACKAGE_FTP = Yes
PERMIT_DISTFILES_CDROM = Yes
PERMIT_DISTFILES_FTP = Yes
WANTLIB = c pthread ncurses
WANTLIB = c crypto pthread ncurses ssl
CONFIGURE_STYLE = simple
CONFIGURE_ARGS = --enable-ipv6
CONFIGURE_ARGS = --enable-ipv6 --set-tls=2
NO_REGRESS = Yes

View File

@ -0,0 +1,14 @@
$OpenBSD: patch-tool_tlsmode,v 1.1 2008/12/08 18:04:52 pirofti Exp $
--- tool/tlsmode.orig Sun Mar 19 09:21:23 2006
+++ tool/tlsmode Mon Dec 8 19:58:57 2008
@@ -38,8 +38,8 @@ case "x$option_tls" in
cflags=`libgnutls-config --cflags`;
liblink=`libgnutls-config --libs` ;;
x2) # xopenssl | xOpenSSL)
- cflags=`pkg-config --cflags openssl`;
- liblink=`pkg-config --libs openssl` ;;
+ cflags='-I/usr/include/openssl';
+ liblink='-L/usr/lib/ -lcrypto -lssl';;
x3) # xmatrixssl | xMatrixSSL)
liblink='-lmatrixssl' ;;
*) echo "$me: bad OPTION_TLS parameter" >&2; (exit 1); exit 1 ;;