- fix HOMEPAGE/MASTER_SITES

- run pkg/DESCR through fmt(1) while here

ok merdely@
This commit is contained in:
okan 2008-01-30 19:20:33 +00:00
parent 711d76b032
commit 3fe509c297
4 changed files with 23 additions and 27 deletions

View File

@ -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

View File

@ -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.

View File

@ -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

View File

@ -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 <BR>.
2) If it finds valid URLs it turns them in <A HREF> (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 <A HREF> (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).