diff --git a/www/mod_random/Makefile b/www/mod_random/Makefile index 65cd8c6a887..f8523cba2dc 100644 --- a/www/mod_random/Makefile +++ b/www/mod_random/Makefile @@ -1,14 +1,13 @@ -# $OpenBSD: Makefile,v 1.7 2007/09/15 20:38:22 merdely Exp $ +# $OpenBSD: Makefile,v 1.8 2008/01/30 19:20:33 okan Exp $ COMMENT= Apache module that provides randomized services DISTNAME= mod_random-1.4 -PKGNAME= ${DISTNAME}p2 +PKGNAME= ${DISTNAME}p3 CATEGORIES= www -HOMEPAGE= http://software.tangent.org/projects.pl?view=mod_random -MASTER_SITES= http://software.tangent.org/download/ \ - ftp://ftp.tangent.org/pub/apache/ +HOMEPAGE= http://tangent.org/ +MASTER_SITES= http://download.tangent.org/ MODULES+= apache-module # BSD diff --git a/www/mod_random/pkg/DESCR b/www/mod_random/pkg/DESCR index 7d48aae9e83..9b8b836ab71 100644 --- a/www/mod_random/pkg/DESCR +++ b/www/mod_random/pkg/DESCR @@ -1,7 +1,7 @@ mod_random provides three services. The first service is as a -redirector. You feed it URLs and it will redirect to random URLs -that you have loaded. The second is that it provides environmental -variables that can be used for doing ad banner systems. The third -is that it can be used to display entire pages of random html. It -uses its own custom handlers in combination with random ads and -quotes that you feed into the system. +redirector. You feed it URLs and it will redirect to random URLs that +you have loaded. The second is that it provides environmental variables +that can be used for doing ad banner systems. The third is that it can +be used to display entire pages of random html. It uses its own custom +handlers in combination with random ads and quotes that you feed into +the system. diff --git a/www/mod_text2html/Makefile b/www/mod_text2html/Makefile index 072677893c6..24a6d674ba7 100644 --- a/www/mod_text2html/Makefile +++ b/www/mod_text2html/Makefile @@ -1,14 +1,13 @@ -# $OpenBSD: Makefile,v 1.7 2007/09/15 20:38:22 merdely Exp $ +# $OpenBSD: Makefile,v 1.8 2008/01/30 19:21:50 okan Exp $ COMMENT= Apache module designed to replace text/plain handler DISTNAME= mod_text2html-1.0 -PKGNAME= ${DISTNAME}p2 +PKGNAME= ${DISTNAME}p3 CATEGORIES= www -HOMEPAGE= http://software.tangent.org/projects.pl?view=mod_text2html -MASTER_SITES= http://software.tangent.org/download/ \ - ftp://ftp.tangent.org/pub/apache/ +HOMEPAGE= http://tangent.org/ +MASTER_SITES= http://download.tangent.org/ MODULES+= apache-module # Apache Software License diff --git a/www/mod_text2html/pkg/DESCR b/www/mod_text2html/pkg/DESCR index 663a4c7ec4f..c108b685b5e 100644 --- a/www/mod_text2html/pkg/DESCR +++ b/www/mod_text2html/pkg/DESCR @@ -1,18 +1,16 @@ -mod_text2html is an Apache module. It is written in C and was -designed to replace Apache's internal text/plain handler -(the core handler found in http_core.c). It has a couple -of key points. +mod_text2html is an Apache module. It is written in C and was designed +to replace Apache's internal text/plain handler (the core handler found +in http_core.c). It has a couple of key points. 1) It converts newlines to
. -2) If it finds valid URLs it turns them in (and does - a good job of trying to not muddle up HTML that has - been flagged as text). +2) If it finds valid URLs it turns them in (and does + a good job of trying to not muddle up HTML that has been flagged as + text). 3) It converts '<', '>', and '&' to HTML entities. 4) Using the same method as the Unix file utility it - determines if the file is text in the first place. If it - determines that it is not text it sends the files, but - does so as application/octet-stream (so no nasty - dumps of binary to the screen). + determines if the file is text in the first place. If it determines + that it is not text it sends the files, but does so as + application/octet-stream (so no nasty dumps of binary to the screen).