FreeBSD Bugzilla – Attachment 179758 Details for
Bug 216915
www/links1: set LICENSE, fix build with openssl-devel / libressl-devel, take maintainership, use PLIST_FILES
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
patch
links1.patch (text/plain), 3.98 KB, created by
Piotr Kubaj
on 2017-02-08 13:27:40 UTC
(
hide
)
Description:
patch
Filename:
MIME Type:
Creator:
Piotr Kubaj
Created:
2017-02-08 13:27:40 UTC
Size:
3.98 KB
patch
obsolete
>Index: Makefile >=================================================================== >--- Makefile (revision 433476) >+++ Makefile (working copy) >@@ -9,9 +9,15 @@ > MASTER_SITES= http://www.jikos.cz/~mikulas/links/download/ > PKGNAMESUFFIX= 1 > >-MAINTAINER= ports@FreeBSD.org >+MAINTAINER= pkubaj@anongoth.pl > COMMENT= Lynx-like text WWW browser > >+LICENSE= GPLv2+ >+LICENSE_FILE= ${WRKSRC}/COPYING >+ >+PLIST_FILES= man/man1/links.1.gz \ >+ bin/links >+ > GNU_CONFIGURE= yes > > USES= ssl >@@ -19,10 +25,4 @@ > > CONFIGURE_ARGS+= --with-ssl=${OPENSSLBASE} > >-.include <bsd.port.pre.mk> >- >-.if ${SSL_DEFAULT:Mopenssl-devel} >-BROKEN= Does not build with openssl-devel >-.endif >- >-.include <bsd.port.post.mk> >+.include <bsd.port.mk> >Index: files/patch-connect.c >=================================================================== >--- files/patch-connect.c (revision 0) >+++ files/patch-connect.c (working copy) >@@ -0,0 +1,20 @@ >+--- 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: files/patch-connect.c >___________________________________________________________________ >Added: fbsd:nokeywords >## -0,0 +1 ## >+yes >\ No newline at end of property >Added: svn:eol-style >## -0,0 +1 ## >+native >\ No newline at end of property >Added: svn:mime-type >## -0,0 +1 ## >+text/plain >\ No newline at end of property >Index: files/patch-default.c >=================================================================== >--- files/patch-default.c (revision 433476) >+++ files/patch-default.c (working copy) >@@ -1,6 +1,6 @@ >---- default.c.orig Sun May 19 20:12:20 2002 >-+++ default.c Sun May 19 20:12:23 2002 >-@@ -267,7 +267,7 @@ >+--- default.c.orig 2011-11-23 00:54:28 UTC >++++ default.c >+@@ -361,7 +361,7 @@ void init_home() > get_system_name(); > links_home = get_home(&first_use); > if (!links_home) { >Index: files/patch-kbd.c >=================================================================== >--- files/patch-kbd.c (revision 433476) >+++ files/patch-kbd.c (working copy) >@@ -1,6 +1,6 @@ >---- kbd.c.orig 2013-03-12 19:47:22.000000000 +0400 >-+++ kbd.c 2013-03-12 19:47:24.000000000 +0400 >-@@ -582,10 +582,10 @@ >+--- kbd.c.orig 2011-11-22 22:27:53 UTC >++++ kbd.c >+@@ -582,10 +582,10 @@ int process_queue(struct itrm *itrm) > case 'B': ev.x = KBD_DOWN; break; > case 'C': ev.x = KBD_RIGHT; break; > case 'D': ev.x = KBD_LEFT; break; >Index: files/patch-types.c >=================================================================== >--- files/patch-types.c (revision 433476) >+++ files/patch-types.c (working copy) >@@ -1,6 +1,7 @@ >---- types.c.orig Fri Apr 26 09:11:15 2002 >-+++ types.c Fri Apr 26 09:12:27 2002 >-@@ -66,5 +66,6 @@ >+--- types.c.orig 2011-11-16 19:19:29 UTC >++++ types.c >+@@ -66,7 +66,8 @@ unsigned char *get_content_type(unsigned >+ if (*ct == '.') ext = ct + 1; > else if (dir_sep(*ct)) ext = NULL; > if (ext) while (ext[extl] && !dir_sep(ext[extl]) && !end_of_dir(ext[extl])) extl++; > - if ((extl == 3 && !casecmp(ext, "htm", 3)) || >@@ -8,3 +9,4 @@ > + (extl == 3 && !casecmp(ext, "htm", 3)) || > (extl == 4 && !casecmp(ext, "html", 4))) return stracpy("text/html"); > foreach(e, extensions) if (is_in_list(e->ext, ext, extl)) return stracpy(e->ct); >+ exxt = init_str(); el = 0; >Index: pkg-plist >=================================================================== >--- pkg-plist (revision 433476) >+++ pkg-plist (working copy) >@@ -1,2 +0,0 @@ >-man/man1/links.1.gz >-bin/links
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 216915
: 179758