View | Details | Raw Unified | Return to bug 38180
Collapse All | Expand All

(-)links/Makefile (-2 / +2 lines)
Lines 6-19 Link Here
6
#
6
#
7
7
8
PORTNAME=	links
8
PORTNAME=	links
9
PORTVERSION=	0.97.p9
9
PORTVERSION=	0.97
10
PORTEPOCH=	1
10
PORTEPOCH=	1
11
CATEGORIES=	www
11
CATEGORIES=	www
12
MASTER_SITES=	http://artax.karlin.mff.cuni.cz/~mikulas/vyplody/links/download/ \
12
MASTER_SITES=	http://artax.karlin.mff.cuni.cz/~mikulas/vyplody/links/download/ \
13
		http://www.add.com.pl/links/download/ \
13
		http://www.add.com.pl/links/download/ \
14
		http://ice.dammit.lt/links/download/ \
14
		http://ice.dammit.lt/links/download/ \
15
		http://links.sourceforge.net/download/
15
		http://links.sourceforge.net/download/
16
DISTNAME=	${PORTNAME}-0.97pre7
16
#DISTNAME=	${PORTNAME}-0.97pre7
17
17
18
MAINTAINER=	demon@FreeBSD.org
18
MAINTAINER=	demon@FreeBSD.org
19
19
(-)links/distinfo (-1 / +1 lines)
Line 1 Link Here
1
MD5 (links-0.97pre7.tar.gz) = 67335b7d1938579932900e54219b868c
1
MD5 (links-0.97.tar.gz) = 57d4ade86c49038b3d4bab66ad24c066
(-)links/files/patch-default.c (-41 / +3 lines)
Lines 1-6 Link Here
1
--- default.c.orig	Wed Jan 30 06:53:48 2002
1
--- default.c.orig	Fri May 17 16:07:25 2002
2
+++ default.c	Fri Apr 26 09:12:21 2002
2
+++ default.c	Fri May 17 16:08:45 2002
3
@@ -265,7 +265,7 @@
3
@@ -267,7 +267,7 @@
4
 	get_system_name();
4
 	get_system_name();
5
 	links_home = get_home(&first_use);
5
 	links_home = get_home(&first_use);
6
 	if (!links_home) {
6
 	if (!links_home) {
Lines 9-49 Link Here
9
 		sleep(3);
9
 		sleep(3);
10
 		return;
10
 		return;
11
 	}
11
 	}
12
@@ -697,6 +697,11 @@
13
 	anonymous = 1;
14
 	return NULL;
15
 }
16
+unsigned char *force_html_cmd(struct option *o, unsigned char ***argv, int *argc)
17
+{
18
+	force_html = 1;
19
+	return NULL;
20
+}
21
 unsigned char *dump_cmd(struct option *o, unsigned char ***argv, int *argc)
22
 {
23
 	if (dmp != o->min && dmp) return "Can't use both -dump and -source";
24
@@ -769,6 +774,9 @@
25
   is allowed, but user can't add or modify entries in\n\
26
   association table.\n\
27
 \n\
28
+ -force-html\n\
29
+  Treat file as if it had an .html extension.\n\
30
+\n\
31
  -dump\n\
32
   Write a plain-text version of the given HTML document to\n\
33
   stdout.\n\
34
@@ -826,6 +834,7 @@
35
 int no_connect = 0;
36
 int base_session = 0;
37
 int dmp = 0;
38
+int force_html = 0;
39
 
40
 int async_lookup = 1;
41
 int download_utime = 0;
42
@@ -877,6 +886,7 @@
43
 	1, no_connect_cmd, NULL, NULL, 0, 0, NULL, NULL, "no-connect",
44
 	1, anonymous_cmd, NULL, NULL, 0, 0, NULL, NULL, "anonymous",
45
 	1, gen_cmd, num_rd, NULL, 0, MAXINT, &base_session, NULL, "base-session",
46
+	1, force_html_cmd, NULL, NULL, 0, 0, NULL, NULL, "force-html",
47
 	1, dump_cmd, NULL, NULL, D_DUMP, 0, NULL, NULL, "dump",
48
 	1, dump_cmd, NULL, NULL, D_SOURCE, 0, NULL, NULL, "source",
49
 	1, gen_cmd, num_rd, num_wr, 0, 1, &async_lookup, "async_dns", "async-dns",
(-)links/files/patch-links.h (-8 lines)
Lines 1-8 Link Here
1
--- links.h.orig	Sat Mar  2 05:35:30 2002
2
+++ links.h	Fri Apr 26 09:11:47 2002
3
@@ -1984,4 +1984,5 @@
4
 extern int no_connect;
5
 extern int base_session;
6
+extern int force_html;
7
 
8
 #define D_DUMP		1

Return to bug 38180