Date: Fri, 17 May 2002 16:15:11 +0400 (MSD) From: "Sergey A.Osokin" <osa@FreeBSD.org> To: FreeBSD-gnats-submit@FreeBSD.org Cc: demon@FreeBSD.org Subject: ports/38180: update www/links to 0.97 Message-ID: <20020517121511.E3FB9A8@freebsd.org.ru>
next in thread | raw e-mail | index | archive | help
>Number: 38180 >Category: ports >Synopsis: update www/links to 0.97 >Confidential: no >Severity: non-critical >Priority: medium >Responsible: freebsd-ports >State: open >Quarter: >Keywords: >Date-Required: >Class: update >Submitter-Id: current-users >Arrival-Date: Fri May 17 05:20:03 PDT 2002 >Closed-Date: >Last-Modified: >Originator: Sergey A. Osokin >Release: FreeBSD 4.5-STABLE i386 >Organization: n/a >Environment: System: FreeBSD 4.5-STABLE i386 >Description: update www/links to 0.97 >How-To-Repeat: >Fix: diff -ruN links.old/Makefile links/Makefile --- links.old/Makefile Fri May 17 16:03:24 2002 +++ links/Makefile Fri May 17 16:04:15 2002 @@ -6,14 +6,14 @@ # PORTNAME= links -PORTVERSION= 0.97.p9 +PORTVERSION= 0.97 PORTEPOCH= 1 CATEGORIES= www MASTER_SITES= http://artax.karlin.mff.cuni.cz/~mikulas/vyplody/links/download/ \ http://www.add.com.pl/links/download/ \ http://ice.dammit.lt/links/download/ \ http://links.sourceforge.net/download/ -DISTNAME= ${PORTNAME}-0.97pre7 +#DISTNAME= ${PORTNAME}-0.97pre7 MAINTAINER= demon@FreeBSD.org diff -ruN links.old/distinfo links/distinfo --- links.old/distinfo Fri May 17 16:03:24 2002 +++ links/distinfo Fri May 17 16:03:52 2002 @@ -1 +1 @@ -MD5 (links-0.97pre7.tar.gz) = 67335b7d1938579932900e54219b868c +MD5 (links-0.97.tar.gz) = 57d4ade86c49038b3d4bab66ad24c066 diff -ruN links.old/files/patch-default.c links/files/patch-default.c --- links.old/files/patch-default.c Fri May 17 16:03:24 2002 +++ links/files/patch-default.c Fri May 17 16:09:05 2002 @@ -1,6 +1,6 @@ ---- default.c.orig Wed Jan 30 06:53:48 2002 -+++ default.c Fri Apr 26 09:12:21 2002 -@@ -265,7 +265,7 @@ +--- default.c.orig Fri May 17 16:07:25 2002 ++++ default.c Fri May 17 16:08:45 2002 +@@ -267,7 +267,7 @@ get_system_name(); links_home = get_home(&first_use); if (!links_home) { @@ -9,41 +9,3 @@ sleep(3); return; } -@@ -697,6 +697,11 @@ - anonymous = 1; - return NULL; - } -+unsigned char *force_html_cmd(struct option *o, unsigned char ***argv, int *argc) -+{ -+ force_html = 1; -+ return NULL; -+} - unsigned char *dump_cmd(struct option *o, unsigned char ***argv, int *argc) - { - if (dmp != o->min && dmp) return "Can't use both -dump and -source"; -@@ -769,6 +774,9 @@ - is allowed, but user can't add or modify entries in\n\ - association table.\n\ - \n\ -+ -force-html\n\ -+ Treat file as if it had an .html extension.\n\ -+\n\ - -dump\n\ - Write a plain-text version of the given HTML document to\n\ - stdout.\n\ -@@ -826,6 +834,7 @@ - int no_connect = 0; - int base_session = 0; - int dmp = 0; -+int force_html = 0; - - int async_lookup = 1; - int download_utime = 0; -@@ -877,6 +886,7 @@ - 1, no_connect_cmd, NULL, NULL, 0, 0, NULL, NULL, "no-connect", - 1, anonymous_cmd, NULL, NULL, 0, 0, NULL, NULL, "anonymous", - 1, gen_cmd, num_rd, NULL, 0, MAXINT, &base_session, NULL, "base-session", -+ 1, force_html_cmd, NULL, NULL, 0, 0, NULL, NULL, "force-html", - 1, dump_cmd, NULL, NULL, D_DUMP, 0, NULL, NULL, "dump", - 1, dump_cmd, NULL, NULL, D_SOURCE, 0, NULL, NULL, "source", - 1, gen_cmd, num_rd, num_wr, 0, 1, &async_lookup, "async_dns", "async-dns", diff -ruN links.old/files/patch-links.h links/files/patch-links.h --- links.old/files/patch-links.h Fri May 17 16:03:24 2002 +++ links/files/patch-links.h Thu Jan 1 03:00:00 1970 @@ -1,8 +0,0 @@ ---- links.h.orig Sat Mar 2 05:35:30 2002 -+++ links.h Fri Apr 26 09:11:47 2002 -@@ -1984,4 +1984,5 @@ - extern int no_connect; - extern int base_session; -+extern int force_html; - - #define D_DUMP 1 >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020517121511.E3FB9A8>