diff options
author | mnag <mnag@FreeBSD.org> | 2005-11-09 04:08:13 +0800 |
---|---|---|
committer | mnag <mnag@FreeBSD.org> | 2005-11-09 04:08:13 +0800 |
commit | eec15cbb769e495ff8d2be9ee691b9dbe7e6b867 (patch) | |
tree | 80c56599ae4c0dc13f585e274817a7f89ae91771 /www/lynx | |
parent | e189557fb9294e2b6aaa7ad73fad6f1ef6cb33ab (diff) | |
download | freebsd-ports-gnome-eec15cbb769e495ff8d2be9ee691b9dbe7e6b867.tar.gz freebsd-ports-gnome-eec15cbb769e495ff8d2be9ee691b9dbe7e6b867.tar.zst freebsd-ports-gnome-eec15cbb769e495ff8d2be9ee691b9dbe7e6b867.zip |
Add support to application/xhtml+xml
Bump PORTREVISION
Add SHA256
PR: 87694
Submitted by: Ed Schouten <ed@fxq.nl>
Approved by: maintainer timeout, 14 days
Diffstat (limited to 'www/lynx')
-rw-r--r-- | www/lynx/Makefile | 4 | ||||
-rw-r--r-- | www/lynx/distinfo | 8 | ||||
-rw-r--r-- | www/lynx/files/patch-src__HTInit.c | 32 |
3 files changed, 42 insertions, 2 deletions
diff --git a/www/lynx/Makefile b/www/lynx/Makefile index 29b38b68ad39..66cdc4d349ef 100644 --- a/www/lynx/Makefile +++ b/www/lynx/Makefile @@ -7,7 +7,7 @@ PORTNAME= lynx PORTVERSION= 2.8.5 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= www ipv6 MASTER_SITES= http://lynx.isc.org/current/ DISTNAME= ${PORTNAME}2.8.5rel.1 @@ -18,7 +18,7 @@ PATCH_SITES= ftp://lynx.isc.org/lynx2.8.5/patches/ .for i in 2 3 4 PATCHFILES+= 2.8.5rel.${i}.patch.gz 2.8.5rel.${i}.patch.gz.asc .endfor -PATCH_DIST_STRIP= -p1 +PATCH_DIST_STRIP= -p1 MAINTAINER?= jharris@widomaker.com COMMENT?= A non-graphical, text-based World-Wide Web client diff --git a/www/lynx/distinfo b/www/lynx/distinfo index ee64b3e0a5d4..8412f234c602 100644 --- a/www/lynx/distinfo +++ b/www/lynx/distinfo @@ -1,16 +1,24 @@ MD5 (lynx2.8.5rel.1.tar.bz2) = d1e5134e5d175f913c16cb6768bc30eb +SHA256 (lynx2.8.5rel.1.tar.bz2) = 37607008086933c869be26b4db687f61a768c51ddefa741e77225069b880bc63 SIZE (lynx2.8.5rel.1.tar.bz2) = 2177287 MD5 (lynx2.8.5rel.1.tar.bz2.asc) = 1c24e82ecefb1fb08d76d7260609bb68 +SHA256 (lynx2.8.5rel.1.tar.bz2.asc) = 528dbcd057484729597169a6711a119919087d5644c37a3c17a48d3a43a744da SIZE (lynx2.8.5rel.1.tar.bz2.asc) = 245 MD5 (2.8.5rel.2.patch.gz) = 16840d095311814751684c99dc201740 +SHA256 (2.8.5rel.2.patch.gz) = 2b930b8ca4fb360056debf3177a022a3ec943227c7b50fdb18a42375c2683fec SIZE (2.8.5rel.2.patch.gz) = 2445 MD5 (2.8.5rel.2.patch.gz.asc) = eda7526e78fcecd435a307637172257c +SHA256 (2.8.5rel.2.patch.gz.asc) = d916a10749259027e2bef281f568b96635e2fb365eafb7b313238bdc972dfa39 SIZE (2.8.5rel.2.patch.gz.asc) = 245 MD5 (2.8.5rel.3.patch.gz) = 23fb5d3b3e052fd380ae1a694afc06eb +SHA256 (2.8.5rel.3.patch.gz) = 9f1623d6d6a0f030ed08e081894da709d97798d830a58f507f6f2117d6b5ea0c SIZE (2.8.5rel.3.patch.gz) = 4376 MD5 (2.8.5rel.3.patch.gz.asc) = a74fd4fda1b3e1c2aa0e3db9075024d7 +SHA256 (2.8.5rel.3.patch.gz.asc) = acf1ec63b493f0f40e1de9d141c95e709d21908af1adec6a36c4794c49f497d1 SIZE (2.8.5rel.3.patch.gz.asc) = 245 MD5 (2.8.5rel.4.patch.gz) = 8407996c12e28c43cfe39b5724436789 +SHA256 (2.8.5rel.4.patch.gz) = 3acdf9b480b1eb4a9638b51863b7b1e839ca72a604d600e5f25544e99fd1974a SIZE (2.8.5rel.4.patch.gz) = 2543 MD5 (2.8.5rel.4.patch.gz.asc) = e882ecc39d01d0fb07d23c4c627402b1 +SHA256 (2.8.5rel.4.patch.gz.asc) = e1aa3c2d4523aed683986fa6a9a5b56c5a5be6397b8f1365eea5b97d59166226 SIZE (2.8.5rel.4.patch.gz.asc) = 245 diff --git a/www/lynx/files/patch-src__HTInit.c b/www/lynx/files/patch-src__HTInit.c new file mode 100644 index 000000000000..e9f112dbb12d --- /dev/null +++ b/www/lynx/files/patch-src__HTInit.c @@ -0,0 +1,32 @@ +--- src/HTInit.c.orig Thu Jan 8 00:03:09 2004 ++++ src/HTInit.c Tue Nov 8 17:55:15 2005 +@@ -149,6 +149,11 @@ + HTSetConversion("text/html", "text/plain", HTMLToPlain, 0.5, 0.0, 0.0, 0); + HTSetConversion("text/html", "www/present", HTMLPresent, 1.0, 0.0, 0.0, 0); + ++ HTSetConversion("application/xhtml+xml", "www/source", HTPlainPresent, 1.0, 0.0, 0.0, 0); ++ HTSetConversion("application/xhtml+xml", "text/x-c", HTMLToC, 0.5, 0.0, 0.0, 0); ++ HTSetConversion("application/xhtml+xml", "text/plain", HTMLToPlain, 0.5, 0.0, 0.0, 0); ++ HTSetConversion("application/xhtml+xml", "www/present", HTMLPresent, 1.0, 0.0, 0.0, 0); ++ + /* + * These should override the default types as necessary. + */ +@@ -1021,6 +1026,8 @@ + HTSetSuffix(".htmlx", "text/html", "8bit", 1.0); + HTSetSuffix(".htm", "text/html", "8bit", 1.0); + HTSetSuffix(".html", "text/html", "8bit", 1.0); ++ HTSetSuffix(".xht", "application/xhtml+xml", "8bit", 1.0); ++ HTSetSuffix(".xhtml", "application/xhtml+xml", "8bit", 1.0); + + } else { /* LYSuffixRules */ + /* +@@ -1044,6 +1051,8 @@ + */ + HTSetSuffix(".htm", "text/html", "8bit", 1.0); + HTSetSuffix(".html", "text/html", "8bit", 1.0); ++ HTSetSuffix(".xht", "application/xhtml+xml", "8bit", 1.0); ++ HTSetSuffix(".xhtml", "application/xhtml+xml", "8bit", 1.0); + #endif /* BUILTIN_SUFFIX_MAPS */ + + |