svn commit: r536749 - in head/www/links: . files
Jimmy Olgeni
olgeni at FreeBSD.org
Thu May 28 08:01:48 UTC 2020
Author: olgeni
Date: Thu May 28 08:01:47 2020
New Revision: 536749
URL: https://svnweb.freebsd.org/changeset/ports/536749
Log:
Update www/links to version 2.20.2.
PR: 242036
Submitted by: olgeni
Approved by: maintainer
Modified:
head/www/links/Makefile
head/www/links/distinfo
head/www/links/files/patch-types.c
Modified: head/www/links/Makefile
==============================================================================
--- head/www/links/Makefile Thu May 28 07:51:53 2020 (r536748)
+++ head/www/links/Makefile Thu May 28 08:01:47 2020 (r536749)
@@ -2,8 +2,7 @@
# $FreeBSD$
PORTNAME= links
-DISTVERSION= 2.16
-PORTREVISION= 2
+DISTVERSION= 2.20.2
PORTEPOCH= 1
CATEGORIES= www
MASTER_SITES= http://links.twibright.com/download/
@@ -62,7 +61,9 @@ UTF8_CONFIGURE_ENABLE= utf8
X11_USES= xorg
X11_USE= xorg=x11,xorgproto
X11_LIB_DEPENDS= libevent.so:devel/libevent \
- libfontconfig.so:x11-fonts/fontconfig
+ libfontconfig.so:x11-fonts/fontconfig \
+ libfreetype.so:print/freetype2
+
X11_CONFIGURE_WITH= x
X11_PLIST_FILES= share/pixmaps/links.xpm
Modified: head/www/links/distinfo
==============================================================================
--- head/www/links/distinfo Thu May 28 07:51:53 2020 (r536748)
+++ head/www/links/distinfo Thu May 28 08:01:47 2020 (r536749)
@@ -1,3 +1,3 @@
-TIMESTAMP = 1535040129
-SHA256 (links-2.16.tar.gz) = 83ab4557d9b121570384d1bd27adf16f962b9b007bac5780ae094e6fff6b3d62
-SIZE (links-2.16.tar.gz) = 7365133
+TIMESTAMP = 1574015007
+SHA256 (links-2.20.2.tar.gz) = f0ec13b019e5501ef29858bf61a3bf89cece0b0f065b5064be242bce84e675bd
+SIZE (links-2.20.2.tar.gz) = 7063295
Modified: head/www/links/files/patch-types.c
==============================================================================
--- head/www/links/files/patch-types.c Thu May 28 07:51:53 2020 (r536748)
+++ head/www/links/files/patch-types.c Thu May 28 08:01:47 2020 (r536749)
@@ -1,12 +1,12 @@
---- types.c.orig 2016-06-17 20:33:57 UTC
+--- types.c.orig 2019-11-17 18:26:27 UTC
+++ types.c
-@@ -849,7 +849,8 @@ unsigned char *get_content_type_by_exten
+@@ -872,7 +872,8 @@ unsigned char *get_content_type_by_extension(unsigned
ext = NULL;
}
if (ext) while (ext[extl] && ext[extl] != '.' && !dir_sep(ext[extl]) && !end_of_dir(url, ext[extl])) extl++;
- if ((extl == 3 && !casecmp(ext, cast_uchar "htm", 3)) ||
-+ if (force_html ||
++ if (force_html ||
+ (extl == 3 && !casecmp(ext, cast_uchar "htm", 3)) ||
- (extl == 4 && !casecmp(ext, cast_uchar "html", 4))) return stracpy(cast_uchar "text/html");
- foreach(e, extensions) {
- unsigned char *fname = NULL;
+ (extl == 4 && !casecmp(ext, cast_uchar "html", 4)) ||
+ (extl == 5 && !casecmp(ext, cast_uchar "xhtml", 5))) return stracpy(cast_uchar "text/html");
+ foreach(struct list, l, ll, extensions.list_entry) {
More information about the svn-ports-head
mailing list