diff options
author | rafan <rafan@FreeBSD.org> | 2007-12-13 16:38:21 +0800 |
---|---|---|
committer | rafan <rafan@FreeBSD.org> | 2007-12-13 16:38:21 +0800 |
commit | 8bb1ce0e57c179f2d99991d67934dae38e57a5b2 (patch) | |
tree | d21deb6e950446f66ee9838ffa74373653dac9ed /www/lynx | |
parent | d71c3767b4a92283a393610bcd7bc4266dac9978 (diff) | |
download | freebsd-ports-gnome-8bb1ce0e57c179f2d99991d67934dae38e57a5b2.tar.gz freebsd-ports-gnome-8bb1ce0e57c179f2d99991d67934dae38e57a5b2.tar.zst freebsd-ports-gnome-8bb1ce0e57c179f2d99991d67934dae38e57a5b2.zip |
- With latest Lynx (2.8.6), no need to add --with-curses-dir. It works fine
with/without devel/ncurses installed. This also causes problem when
you specify to use OpenSSL from ports, as we add -L/usr before -L/usr/local.
- Add OPENSSLBASE to --with-ssl, no need to patch configurate script anymore.
- Add some instructions for using SSL
PR: ports/118096
Submitted by: bf <bf2006a at yahoo.com>
Approved by: Jason Harris <jharris at widomaker.com> (maintainer)
Diffstat (limited to 'www/lynx')
-rw-r--r-- | www/lynx/Makefile | 10 | ||||
-rw-r--r-- | www/lynx/files/pkg-message.in | 13 |
2 files changed, 18 insertions, 5 deletions
diff --git a/www/lynx/Makefile b/www/lynx/Makefile index 674a1d7c1322..fa1642ee02d6 100644 --- a/www/lynx/Makefile +++ b/www/lynx/Makefile @@ -7,7 +7,7 @@ PORTNAME= lynx PORTVERSION= 2.8.6.5 -PORTREVISION= 1 +PORTREVISION= 2 PORTEPOCH= 1 CATEGORIES= www ipv6 MASTER_SITES= http://lynx.isc.org/current/ \ @@ -24,8 +24,8 @@ USE_OPENSSL= yes WRKSRC= ${WRKDIR}/${PORTNAME}2-8-6 GNU_CONFIGURE= yes CONFIGURE_ARGS+=--with-screen=ncurses --with-zlib --libdir="${L_LIB}" \ - --enable-nsl-fork --enable-persistent-cookies --with-ssl \ - --with-curses-dir=/usr + --enable-nsl-fork --enable-persistent-cookies \ + --with-ssl="${OPENSSLBASE}" .if defined(WITHOUT_NLS) CONFIGURE_ARGS+=--disable-nls @@ -55,10 +55,10 @@ MAN1= lynx.1 L_LIB= ${PREFIX}/etc L_HELP= ${PREFIX}/share/lynx_help +SUB_FILES= pkg-message + post-patch: @${RM} -f ${WRKSRC}/CHANGES.orig - @${REINPLACE_CMD} -e 's|-lssl -lcrypto|-L${OPENSSLLIB} &|g' \ - ${WRKSRC}/configure post-install: ${CHOWN} -R ${SHAREOWN}:${SHAREGRP} ${DOCSDIR} diff --git a/www/lynx/files/pkg-message.in b/www/lynx/files/pkg-message.in new file mode 100644 index 000000000000..dc916cfe4dd0 --- /dev/null +++ b/www/lynx/files/pkg-message.in @@ -0,0 +1,13 @@ +To enable certificate handling for SSL connnections, set +SSL_CERT_DIR and SSL_CERT_FILE in your environment to the +proper values (depending upon which SSL library +%%PREFIX%%/bin/lynx uses), as described in: + +%%DOCSDIR%%/docs/README.sslcerts + +and: + +%%DOCSDIR%%/docs/README.rootcerts. + +You may also need to generate keys and certificates as +described in the latter document and your SSL documentation. |