summaryrefslogtreecommitdiff
path: root/www
diff options
context:
space:
mode:
authorMarcus Alves Grando <mnag@FreeBSD.org>2005-11-08 20:08:13 +0000
committerMarcus Alves Grando <mnag@FreeBSD.org>2005-11-08 20:08:13 +0000
commit194da695365e5e0a1d229a847ae46929e358f49c (patch)
tree54aeb2e4ec638066991b7a5ad4ffd6472d11f9c7 /www
parent- Fix broken condition: OSVERSION >= 700000 not 70000 (diff)
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
Notes
Notes: svn path=/head/; revision=147629
Diffstat (limited to 'www')
-rw-r--r--www/lynx/Makefile4
-rw-r--r--www/lynx/distinfo8
-rw-r--r--www/lynx/files/patch-src__HTInit.c32
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 */
+
+