Index: head/www/links1/Makefile =================================================================== --- head/www/links1/Makefile (revision 524182) +++ head/www/links1/Makefile (revision 524183) @@ -1,28 +1,28 @@ # Created by: Michael Vasilenko # $FreeBSD$ PORTNAME= links -PORTVERSION= 1.03 -PORTREVISION= 1 +PORTVERSION= 1.04 PORTEPOCH= 1 CATEGORIES= www MASTER_SITES= http://www.jikos.cz/~mikulas/links/download/ PKGNAMESUFFIX= 1 MAINTAINER= pkubaj@FreeBSD.org COMMENT= Lynx-like text WWW browser LICENSE= GPLv2+ LICENSE_FILE= ${WRKSRC}/COPYING +USES= ssl + PLIST_FILES= man/man1/links.1.gz \ bin/links GNU_CONFIGURE= yes -USES= ssl CONFLICTS= links-2* CONFIGURE_ARGS+= --with-ssl=${OPENSSLBASE} .include Index: head/www/links1/distinfo =================================================================== --- head/www/links1/distinfo (revision 524182) +++ head/www/links1/distinfo (revision 524183) @@ -1,2 +1,3 @@ -SHA256 (links-1.03.tar.gz) = 32443c6f011216a8a43ed0806d9d23c1defdd19bc4b021ee00cda197782e175a -SIZE (links-1.03.tar.gz) = 641917 +TIMESTAMP = 1580052758 +SHA256 (links-1.04.tar.gz) = 003961d3c829efed2bd182e75843cf8fdd2f7976613654a0735d2f9652b072e9 +SIZE (links-1.04.tar.gz) = 670176 Index: head/www/links1/files/patch-connect.c =================================================================== --- head/www/links1/files/patch-connect.c (revision 524182) +++ head/www/links1/files/patch-connect.c (nonexistent) @@ -1,20 +0,0 @@ ---- connect.c.orig 2017-02-08 12:41:56 UTC -+++ connect.c -@@ -106,7 +106,7 @@ void ssl_want_read(struct connection *c) - - set_timeout(c); - -- if (c->no_tsl) c->ssl->options |= SSL_OP_NO_TLSv1; -+ if (c->no_tsl) SSL_set_options(c->ssl, SSL_OP_NO_TLSv1); - switch (SSL_get_error(c->ssl, SSL_connect(c->ssl))) { - case SSL_ERROR_NONE: - c->newconn = NULL; -@@ -186,7 +186,7 @@ void connected(struct connection *c) - if (c->ssl) { - c->ssl = getSSL(); - SSL_set_fd(c->ssl, *b->sock); -- if (c->no_tsl) c->ssl->options |= SSL_OP_NO_TLSv1; -+ if (c->no_tsl) SSL_set_options(c->ssl, SSL_OP_NO_TLSv1); - switch (SSL_get_error(c->ssl, SSL_connect(c->ssl))) { - case SSL_ERROR_WANT_READ: - setcstate(c, S_SSL_NEG); Property changes on: head/www/links1/files/patch-connect.c ___________________________________________________________________ Deleted: fbsd:nokeywords ## -1 +0,0 ## -yes \ No newline at end of property Deleted: svn:eol-style ## -1 +0,0 ## -native \ No newline at end of property Deleted: svn:mime-type ## -1 +0,0 ## -text/plain \ No newline at end of property Index: head/www/links1/files/patch-default.c =================================================================== --- head/www/links1/files/patch-default.c (revision 524182) +++ head/www/links1/files/patch-default.c (revision 524183) @@ -1,11 +1,11 @@ ---- default.c.orig 2011-11-23 00:54:28 UTC +--- default.c.orig 2018-11-27 22:19:36 UTC +++ default.c -@@ -361,7 +361,7 @@ void init_home() - get_system_name(); +@@ -785,7 +785,7 @@ void init_home() + get_compiler_name(); links_home = get_home(&first_use); if (!links_home) { - fprintf(stderr, "Unable to find or create links config directory. Please check, that you have $HOME variable set correctly and that you have write permission to your home directory.\n\007"); + fprintf(stderr, "Unable to find or create links config directory. Please check, that you have $HOME variable set correctly and that you have write permission to your home directory.\n"); sleep(3); return; } Index: head/www/links1/files/patch-https.c =================================================================== --- head/www/links1/files/patch-https.c (revision 524182) +++ head/www/links1/files/patch-https.c (revision 524183) @@ -1,14 +1,14 @@ ---- https.c.orig 2006-09-11 02:09:24 UTC +--- https.c.orig 2018-02-08 18:01:11 UTC +++ https.c -@@ -33,7 +33,10 @@ SSL *getSSL(void) - char f_randfile[PATH_MAX]; - - const char *f = RAND_file_name(f_randfile, sizeof(f_randfile)); -- if (f && RAND_egd(f)<0) { +@@ -34,7 +34,10 @@ SSL *getSSL(void) + { + char f_randfile[PATH_MAX]; + const char *f = RAND_file_name(f_randfile, sizeof(f_randfile)); +- if (f && RAND_egd(f)<0) { +#ifndef OPENSSL_NO_EGD -+ if (f && RAND_egd(f)<0) ++ if (f && RAND_egd(f)<0) +#endif -+ { - /* Not an EGD, so read and write to it */ - if (RAND_load_file(f_randfile, -1)) - RAND_write_file(f_randfile); ++ { + /* Not an EGD, so read and write to it */ + if (RAND_load_file(f_randfile, -1)) + RAND_write_file(f_randfile);