ports/78082: Update port: www/links
Conrad J. Sabatier
conrads at cox.net
Fri Feb 25 17:20:16 UTC 2005
>Number: 78082
>Category: ports
>Synopsis: Update port: www/links
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: update
>Submitter-Id: current-users
>Arrival-Date: Fri Feb 25 17:20:15 GMT 2005
>Closed-Date:
>Last-Modified:
>Originator: Conrad J. Sabatier
>Release: FreeBSD 5.3-STABLE i386
>Organization:
>Environment:
System: FreeBSD gateway.local.net 5.3-STABLE FreeBSD 5.3-STABLE #0: Sat Feb 19 02:18:25 CST 2005 root at gateway.local.net:/usr/obj/usr/src/sys/CUSTOM i386
>Description:
Update www/links from version 2.1pre15 to 2.1pre16
>How-To-Repeat:
See the attached patch
>Fix:
--- links.diff begins here ---
Index: Makefile
===================================================================
RCS file: /home/ncvs/ports/www/links/Makefile,v
retrieving revision 1.42
diff -u -d -H -r1.42 Makefile
--- Makefile 13 Jul 2004 10:07:21 -0000 1.42
+++ Makefile 13 Feb 2005 23:20:06 -0000
@@ -6,11 +6,11 @@
#
PORTNAME= links
-PORTVERSION= 2.1.p15
+PORTVERSION= 2.1.p16
PORTEPOCH= 1
CATEGORIES?= www
MASTER_SITES= http://atrey.karlin.mff.cuni.cz/~clock/twibright/links/download/
-DISTNAME= ${PORTNAME}-2.1pre15
+DISTNAME= ${PORTNAME}-2.1pre16
MAINTAINER?= demon at FreeBSD.org
COMMENT= Lynx-like text WWW browser
Index: distinfo
===================================================================
RCS file: /home/ncvs/ports/www/links/distinfo,v
retrieving revision 1.18
diff -u -d -H -r1.18 distinfo
--- distinfo 13 Jul 2004 10:07:21 -0000 1.18
+++ distinfo 13 Feb 2005 23:20:48 -0000
@@ -1,2 +1,2 @@
-MD5 (links-2.1pre15.tar.bz2) = d70a0ad41fba921f04d222d3546827de
-SIZE (links-2.1pre15.tar.bz2) = 3789080
+MD5 (links-2.1pre16.tar.bz2) = 690b4e9563d7092a2aa6d49f64e2c71e
+SIZE (links-2.1pre16.tar.bz2) = 3825255
Index: files/patch-types.c
===================================================================
RCS file: /home/ncvs/ports/www/links/files/patch-types.c,v
retrieving revision 1.2
diff -u -d -H -r1.2 patch-types.c
--- files/patch-types.c 1 Mar 2003 19:13:14 -0000 1.2
+++ files/patch-types.c 25 Feb 2005 17:06:12 -0000
@@ -1,12 +1,12 @@
---- types.c.orig Sat Mar 1 19:06:39 2003
-+++ types.c Sat Mar 1 19:07:45 2003
-@@ -705,7 +705,8 @@
+--- types.c.orig Sun Jan 2 14:17:26 2005
++++ types.c Fri Feb 25 11:04:36 2005
+@@ -796,7 +796,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 (ext) while (ext[extl] && !dir_sep(ext[extl]) && !end_of_dir(url, ext[extl])) extl++;
- if ((extl == 3 && !casecmp(ext, "htm", 3)) ||
+ if (force_html ||
-+ (extl == 3 && !casecmp(ext, "htm", 3)) ||
++ (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);
-
+ foreach(e, extensions) {
+ unsigned char *fname = NULL;
--- links.diff ends here ---
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list