aboutsummaryrefslogtreecommitdiffstats
path: root/www
diff options
context:
space:
mode:
authordemon <demon@FreeBSD.org>2002-07-04 04:59:55 +0800
committerdemon <demon@FreeBSD.org>2002-07-04 04:59:55 +0800
commit61bff5a9a466185aae8a475790c8455e89fdcb0f (patch)
treebef6d9232154e91e1ccb3fc0c8926784f8388ab5 /www
parentc1b578a01fd0cce470faf2d67373928e116c5f73 (diff)
downloadfreebsd-ports-gnome-61bff5a9a466185aae8a475790c8455e89fdcb0f.tar.gz
freebsd-ports-gnome-61bff5a9a466185aae8a475790c8455e89fdcb0f.tar.zst
freebsd-ports-gnome-61bff5a9a466185aae8a475790c8455e89fdcb0f.zip
Put links-0.97 back as links1. This corresponds to www/links port as of
27.06.2002. links-2 is not fully compatible with links-0.97 and this breaks doc builds.
Diffstat (limited to 'www')
-rw-r--r--www/Makefile1
-rw-r--r--www/links1/Makefile26
-rw-r--r--www/links1/distinfo1
-rw-r--r--www/links1/files/patch-ab14
-rw-r--r--www/links1/files/patch-default.c11
-rw-r--r--www/links1/files/patch-types.c10
-rw-r--r--www/links1/files/patch-width63
-rw-r--r--www/links1/pkg-comment1
-rw-r--r--www/links1/pkg-descr23
-rw-r--r--www/links1/pkg-plist1
10 files changed, 151 insertions, 0 deletions
diff --git a/www/Makefile b/www/Makefile
index f612f5c8af0b..e4267fd53a97 100644
--- a/www/Makefile
+++ b/www/Makefile
@@ -125,6 +125,7 @@
SUBDIR += libwww
SUBDIR += libxpg4-ns
SUBDIR += links
+ SUBDIR += links1
SUBDIR += linux-flashplugin
SUBDIR += linux-lesstif-ns
SUBDIR += linux-mozilla
diff --git a/www/links1/Makefile b/www/links1/Makefile
new file mode 100644
index 000000000000..d6a95872a179
--- /dev/null
+++ b/www/links1/Makefile
@@ -0,0 +1,26 @@
+# New ports collection makefile for: links
+# Date created: 21 January 2000
+# Whom: Michael Vasilenko <acid@stu.cn.ua>
+#
+# $FreeBSD$
+#
+
+PORTNAME= links
+PORTVERSION= 0.97
+PORTREVISION= 1
+PORTEPOCH= 1
+CATEGORIES= www
+MASTER_SITES= http://atrey.karlin.mff.cuni.cz/~clock/twibright/links/download/ \
+ http://ice.dammit.lt/links/download/ \
+ http://links.sourceforge.net/download/ \
+ ftp://ftp.fu-berlin.de/unix/network/www/links/
+
+MAINTAINER= demon@FreeBSD.org
+
+GNU_CONFIGURE= yes
+
+USE_OPENSSL= yes
+
+MAN1= links.1
+
+.include <bsd.port.mk>
diff --git a/www/links1/distinfo b/www/links1/distinfo
new file mode 100644
index 000000000000..38fa1daa4f21
--- /dev/null
+++ b/www/links1/distinfo
@@ -0,0 +1 @@
+MD5 (links-0.97.tar.gz) = 57d4ade86c49038b3d4bab66ad24c066
diff --git a/www/links1/files/patch-ab b/www/links1/files/patch-ab
new file mode 100644
index 000000000000..c977c5f01f78
--- /dev/null
+++ b/www/links1/files/patch-ab
@@ -0,0 +1,14 @@
+--- kbd.c.orig Thu Jan 11 13:26:36 2001
++++ kbd.c Thu Jan 11 13:28:37 2001
+@@ -479,9 +479,9 @@
+ case 'B': ev.x = KBD_DOWN; break;
+ case 'C': ev.x = KBD_RIGHT; break;
+ case 'D': ev.x = KBD_LEFT; break;
+- case 'F':
++ case 'F': ev.x = KBD_END; break;
+ case 'e': ev.x = KBD_END; break;
+- case 'H':
++ case 'H': ev.x = KBD_HOME; break;
+ case 0: ev.x = KBD_HOME; break;
+ case 'I': ev.x = KBD_PAGE_UP; break;
+ case 'G': ev.x = KBD_PAGE_DOWN; break;
diff --git a/www/links1/files/patch-default.c b/www/links1/files/patch-default.c
new file mode 100644
index 000000000000..5ccd03bad611
--- /dev/null
+++ b/www/links1/files/patch-default.c
@@ -0,0 +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 @@
+ 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");
+ sleep(3);
+ return;
+ }
diff --git a/www/links1/files/patch-types.c b/www/links1/files/patch-types.c
new file mode 100644
index 000000000000..59ac9b2731a7
--- /dev/null
+++ b/www/links1/files/patch-types.c
@@ -0,0 +1,10 @@
+--- types.c.orig Fri Apr 26 09:11:15 2002
++++ types.c Fri Apr 26 09:12:27 2002
+@@ -66,5 +66,6 @@
+ 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)) ||
++ if (force_html ||
++ (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/links1/files/patch-width b/www/links1/files/patch-width
new file mode 100644
index 000000000000..ebaf38fffe06
--- /dev/null
+++ b/www/links1/files/patch-width
@@ -0,0 +1,63 @@
+--- default.c Tue Mar 5 11:31:44 2002
++++ default.c Tue Mar 5 11:26:50 2002
+@@ -773,6 +773,9 @@
+ Write a plain-text version of the given HTML document to\n\
+ stdout.\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\
+@@ -831,6 +834,7 @@
+ int download_utime = 0;
+ int max_connections = 10;
+ int max_connections_to_host = 2;
++int screen_width = 80;
+ int max_tries = 3;
+ int receive_timeout = 120;
+ int unrestartable_receive_timeout = 600;
+@@ -884,6 +888,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;
diff --git a/www/links1/pkg-comment b/www/links1/pkg-comment
new file mode 100644
index 000000000000..c02d23d5888f
--- /dev/null
+++ b/www/links1/pkg-comment
@@ -0,0 +1 @@
+Lynx-like text WWW browser
diff --git a/www/links1/pkg-descr b/www/links1/pkg-descr
new file mode 100644
index 000000000000..0a03e6e67397
--- /dev/null
+++ b/www/links1/pkg-descr
@@ -0,0 +1,23 @@
+Lynx-like text WWW browser with many features like displaying tables,
+menus, etc.
+
+Keys: ESC display menu
+ ^C quit
+ ^P, ^N scroll up, down
+ [, ] scroll left, right
+ up, down select link
+ -> follow link
+ <- go back
+ g go to url
+ / search
+ ? search back
+ n find next
+ N find previous
+ = document info
+ \ document source
+ d download
+
+WWW: http://artax.karlin.mff.cuni.cz/~mikulas/vyplody/links/
+
+- Michael Vasilenko
+acid@stu.cn.ua
diff --git a/www/links1/pkg-plist b/www/links1/pkg-plist
new file mode 100644
index 000000000000..191550099363
--- /dev/null
+++ b/www/links1/pkg-plist
@@ -0,0 +1 @@
+bin/links