diff options
author | Dmitry Sivachenko <demon@FreeBSD.org> | 2003-03-01 19:13:14 +0000 |
---|---|---|
committer | Dmitry Sivachenko <demon@FreeBSD.org> | 2003-03-01 19:13:14 +0000 |
commit | 09aeb3ea5dd3ac3bc943ec52ec7208a3198529a3 (patch) | |
tree | ee8a2f168609dbd0e12a379f1f95a3dce349347b /www | |
parent | Because of Stephen Paskaluk's patches, this should no longer be (diff) |
Update to the latest version (2.1.p9).
Remove patch-width since it is useless without -dump option which
is absent in links version2...
Submitted by: Thomas Seck <tmseck-lists@netcologne.de>
Notes
Notes:
svn path=/head/; revision=76707
Diffstat (limited to 'www')
-rw-r--r-- | www/links/Makefile | 4 | ||||
-rw-r--r-- | www/links/distinfo | 2 | ||||
-rw-r--r-- | www/links/files/patch-ab | 6 | ||||
-rw-r--r-- | www/links/files/patch-default.c | 8 | ||||
-rw-r--r-- | www/links/files/patch-types.c | 8 | ||||
-rw-r--r-- | www/links/files/patch-width | 63 |
6 files changed, 15 insertions, 76 deletions
diff --git a/www/links/Makefile b/www/links/Makefile index cbba051670d3..d8ccdb72314c 100644 --- a/www/links/Makefile +++ b/www/links/Makefile @@ -6,11 +6,11 @@ # PORTNAME= links -PORTVERSION= 2.1.p7 +PORTVERSION= 2.1.p9 PORTEPOCH= 1 CATEGORIES= www MASTER_SITES= http://atrey.karlin.mff.cuni.cz/~clock/twibright/links/download/ -DISTNAME= ${PORTNAME}-2.1pre7 +DISTNAME= ${PORTNAME}-2.1pre9 MAINTAINER?= demon@FreeBSD.org COMMENT= Lynx-like text WWW browser diff --git a/www/links/distinfo b/www/links/distinfo index 889a8f77c107..be9fa8eef751 100644 --- a/www/links/distinfo +++ b/www/links/distinfo @@ -1 +1 @@ -MD5 (links-2.1pre7.tar.bz2) = 73579a90ed96d43a5db053d67ddaf261 +MD5 (links-2.1pre9.tar.bz2) = d602768af82c3262051cca8f9aa76176 diff --git a/www/links/files/patch-ab b/www/links/files/patch-ab index c977c5f01f78..cf7fa0d78353 100644 --- a/www/links/files/patch-ab +++ b/www/links/files/patch-ab @@ -1,6 +1,6 @@ ---- kbd.c.orig Thu Jan 11 13:26:36 2001 -+++ kbd.c Thu Jan 11 13:28:37 2001 -@@ -479,9 +479,9 @@ +--- kbd.c.orig Sat Oct 12 19:47:58 2002 ++++ kbd.c Sat Mar 1 16:03:31 2003 +@@ -746,9 +746,9 @@ case 'B': ev.x = KBD_DOWN; break; case 'C': ev.x = KBD_RIGHT; break; case 'D': ev.x = KBD_LEFT; break; diff --git a/www/links/files/patch-default.c b/www/links/files/patch-default.c index 5ccd03bad611..02295e855138 100644 --- a/www/links/files/patch-default.c +++ b/www/links/files/patch-default.c @@ -1,11 +1,11 @@ ---- 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 Tue Feb 11 21:54:38 2003 ++++ default.c Sat Mar 1 16:03:31 2003 +@@ -300,7 +300,7 @@ get_system_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"); ++ fprintf(stderr, "Unable to find or create links config directory. Please check, that you have set the $HOME variable correctly and that you have write permission to your home directory.\n"); sleep(3); return; } diff --git a/www/links/files/patch-types.c b/www/links/files/patch-types.c index 59ac9b2731a7..0633d8a866e8 100644 --- a/www/links/files/patch-types.c +++ b/www/links/files/patch-types.c @@ -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 Sat Mar 1 19:06:39 2003 ++++ types.c Sat Mar 1 19:07:45 2003 +@@ -705,7 +705,8 @@ + 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); + diff --git a/www/links/files/patch-width b/www/links/files/patch-width deleted file mode 100644 index 88c9b8f0a52b..000000000000 --- a/www/links/files/patch-width +++ /dev/null @@ -1,63 +0,0 @@ ---- default.c.orig Fri Jun 28 14:53:11 2002 -+++ default.c Fri Jun 28 14:56:17 2002 -@@ -908,6 +908,9 @@ - is allowed, but user can't add or modify entries in\n\ - association table.\n\ - \n\ -+ -width <size>\n\ -+ Size of screen in characters, used in combination with -dump\n\ -+\n\ - -no-connect\n\ - Runs links as a separate instance - instead of connecting to\n\ - existing instance.\n\ -@@ -982,6 +985,7 @@ - int download_utime = 0; - int max_connections = 10; - int max_connections_to_host = 8; -+int screen_width = 80; - int max_tries = 3; - int receive_timeout = 120; - int unrestartable_receive_timeout = 600; -@@ -1060,6 +1064,7 @@ - {1, gen_cmd, num_rd, num_wr, 1, 16, &max_connections, "max_connections", "max-connections"}, - {1, gen_cmd, num_rd, num_wr, 1, 8, &max_connections_to_host, "max_connections_to_host", "max-connections-to-host"}, - {1, gen_cmd, num_rd, num_wr, 1, 16, &max_tries, "retries", "retries"}, -+ {1, gen_cmd, num_rd, num_wr, 40, 512, &screen_width, "screen_width", "width"}, - {1, gen_cmd, num_rd, num_wr, 1, 1800, &receive_timeout, "receive_timeout", "receive-timeout"}, - {1, gen_cmd, num_rd, num_wr, 1, 1800, &unrestartable_receive_timeout, "unrestartable_receive_timeout", "unrestartable-receive-timeout"}, - {1, gen_cmd, num_rd, num_wr, 0, 256, &max_format_cache_entries, "format_cache_size", "format-cache-size"}, ---- links.1 Mon Jan 1 09:26:52 2001 -+++ links.1 Tue Mar 5 11:34:37 2002 -@@ -94,6 +94,11 @@ - Write a plain-text version of the given HTML document to stdout. - - .TP -+\f3-width \f2<size>\f1 -+Size of screen in characters, used in combination with -dump. -+(default: 80) -+ -+.TP - \f3-no-connect\f1 - Runs links as a separate instance - instead of connecting to - existing instance. ---- links.h Mon Jun 11 20:14:25 2001 -+++ links.h Tue Mar 5 11:25:24 2002 -@@ -1975,6 +1975,7 @@ - extern int max_connections; - extern int max_connections_to_host; - extern int max_tries; -+extern int screen_width; - extern int receive_timeout; - extern int unrestartable_receive_timeout; - ---- main.c Mon Apr 9 06:46:06 2001 -+++ main.c Tue Mar 5 11:24:41 2002 -@@ -198,7 +198,7 @@ - memset(&fd, 0, sizeof(struct f_data_c)); - o.xp = 0; - o.yp = 1; -- o.xw = 80; -+ o.xw = screen_width; - o.yw = 25; - o.col = 0; - o.cp = 0; |