ports/108053: New WWW Ports: mod_xmlns mod_proxy_xml mod_line_edit

Dominic Marks dom at helenmarks.co.uk
Wed Jan 17 19:20:31 UTC 2007


>Number:         108053
>Category:       ports
>Synopsis:       New WWW Ports: mod_xmlns mod_proxy_xml mod_line_edit
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Wed Jan 17 19:20:28 GMT 2007
>Closed-Date:
>Last-Modified:
>Originator:     Dominic Marks
>Release:        FreeBSD 6.2-PRERELEASE i386
>Organization:
>Environment:
	
>Description:
Add three Apache 2 modules from http://apache.webthing.com/

 mod_xmlns
   'mod_xmlns adds XML Namespace support to Apache, and may form
   the basis of XML-driven publishing systems. It runs as an output
   filter, so it works automatically with any content generator.'

   http://apache.webthing.com/mod_xmlns/

 mod_proxy_xml
   'mod_proxy_xml is an output filter to rewrite links in a proxy
   situation, to ensure that links work for users outside the proxy.
   It serves the same purpose as Apache's ProxyPassReverse directive
   does for HTTP headers, and is an essential component of a reverse
   proxy.'

   http://apache.webthing.com/mod_proxy_xml/

 mod_line_edit
   'mod_line_edit is a general-purpose filter for text documents.
   It operates as a simple on-the-fly line editor, applying
   search-and-replace rules defined in a configuration or .htaccess
   file.'

   http://apache.webthing.com/mod_line_edit/
>How-To-Repeat:
NA.
	
>Fix:
Tested with portlint and built them.
We are using mod_line_edit on a server with success. 

mod_xmlns.shar

# This is a shell archive.  Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file".  Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
#	mod_xmlns
#	mod_xmlns/pkg-descr
#	mod_xmlns/pkg-plist
#	mod_xmlns/Makefile
#	mod_xmlns/distinfo
#
echo c - mod_xmlns
mkdir -p mod_xmlns > /dev/null 2>&1
echo x - mod_xmlns/pkg-descr
sed 's/^X//' >mod_xmlns/pkg-descr << 'END-of-mod_xmlns/pkg-descr'
Xmod_xmlns adds XML Namespace support to Apache, and may form the basis
Xof XML-driven publishing systems. It runs as an output filter, so it
Xworks automatically with any content generator.
X
XWWW: http://apache.webthing.com/mod_xmlns/
END-of-mod_xmlns/pkg-descr
echo x - mod_xmlns/pkg-plist
sed 's/^X//' >mod_xmlns/pkg-plist << 'END-of-mod_xmlns/pkg-plist'
Xlibexec/apache2/mod_xmlns.so
X at exec %D/sbin/apxs -e -A -n xmlns %D/%F
X at unexec %D/sbin/apxs -e -A -n xmlns %D/%F
END-of-mod_xmlns/pkg-plist
echo x - mod_xmlns/Makefile
sed 's/^X//' >mod_xmlns/Makefile << 'END-of-mod_xmlns/Makefile'
X# New ports collection Makefile for:	mod_xmlns
X#
X# Date created:		10/01/2007
X# Whom:			Dominic Marks <dom at goodforbusiness.co.uk>
X#
X# $FreeBSD$
X#
X
XPORTNAME=	mod_xmlns
XPORTVERSION=	0.97
XCATEGORIES=	www
XMASTER_SITES=	http://apache.webthing.com/svn/apache/filters/xmlns/
XDISTFILES=	xmlns.h mod_xmlns.c
X
XMAINTAINER=	ports at FreeBSD.org
XCOMMENT=	Apache module for XML namespaces
X
XUSE_GNOME=	libxml2
XUSE_APACHE=	yes
XWITH_APACHE2=	yes
X
XXML2_INC=	${LOCALBASE}/include/libxml2
XXML2_LIB=	${LOCALBASE}/lib
X
Xdo-extract:
X	@${DO_NADA}
X
Xpre-fetch:
X	@${MKDIR} ${WRKDIR}
X
Xpost-fetch:
X	@${CP} ${DISTDIR}/xmlns.h ${DISTDIR}/mod_xmlns.c ${WRKDIR}
X
Xdo-build:
X	@(cd ${WRKDIR} && ${APXS} -c -I ${XML2_INC} -L ${XML2_LIB} -lxml2 mod_xmlns.c)
X
Xdo-install:
X	@(cd ${WRKDIR} && ${APXS} -A -i mod_xmlns.la)
X
X.include <bsd.port.mk>
END-of-mod_xmlns/Makefile
echo x - mod_xmlns/distinfo
sed 's/^X//' >mod_xmlns/distinfo << 'END-of-mod_xmlns/distinfo'
XMD5 (xmlns.h) = 6d3327342b3a996aa6eb9fc77a79de25
XSHA256 (xmlns.h) = ad1a411990601c2b22e5f4d5d071f125d9d484a4fe364d87fb3251de2607490d
XSIZE (xmlns.h) = 5751
XMD5 (mod_xmlns.c) = 12e727481234a67e341218900a744941
XSHA256 (mod_xmlns.c) = 00f06b0a411ae0c1797258a24597869c381da9e1d62337139e055e5164dd355e
XSIZE (mod_xmlns.c) = 26454
END-of-mod_xmlns/distinfo
exit

mod_proxy_xml.shar

# This is a shell archive.  Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file".  Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
#	mod_proxy_xml
#	mod_proxy_xml/pkg-descr
#	mod_proxy_xml/pkg-plist
#	mod_proxy_xml/Makefile
#	mod_proxy_xml/distinfo
#
echo c - mod_proxy_xml
mkdir -p mod_proxy_xml > /dev/null 2>&1
echo x - mod_proxy_xml/pkg-descr
sed 's/^X//' >mod_proxy_xml/pkg-descr << 'END-of-mod_proxy_xml/pkg-descr'
Xmod_proxy_xml is an output filter to rewrite links in a proxy
Xsituation, to ensure that links work for users outside the proxy.
XIt serves the same purpose as Apache's ProxyPassReverse directive
Xdoes for HTTP headers, and is an essential component of a reverse
Xproxy.
X
XWWW: http://apache.webthing.com/mod_proxy_xml/
END-of-mod_proxy_xml/pkg-descr
echo x - mod_proxy_xml/pkg-plist
sed 's/^X//' >mod_proxy_xml/pkg-plist << 'END-of-mod_proxy_xml/pkg-plist'
Xlibexec/apache2/mod_proxy_xml.so
X at exec %D/sbin/apxs -e -A -n proxy_xml %D/%F
X at unexec %D/sbin/apxs -e -A -n proxy_xml %D/%F
END-of-mod_proxy_xml/pkg-plist
echo x - mod_proxy_xml/Makefile
sed 's/^X//' >mod_proxy_xml/Makefile << 'END-of-mod_proxy_xml/Makefile'
X# New ports collection Makefile for:	mod_proxy_xml
X#
X# Date created:		10/01/2007
X# Whom:			Dominic Marks <dom at goodforbusiness.co.uk>
X#
X# $FreeBSD$
X#
X
XPORTNAME=	mod_proxy_xml
XPORTVERSION=	0.1
XCATEGORIES=	www
XMASTER_SITES=	http://apache.webthing.com/svn/apache/filters/xmlns/
XDISTFILES=	xmlns.h mod_proxy_xml.c
X
XMAINTAINER=	ports at FreeBSD.org
XCOMMENT=	Apache module for rewriting URI references in XML
X
XBUILD_DEPENDS=	mod_xmlns:${PORTSDIR}/www/mod_xmlns
X
XUSE_GNOME=	libxml2
XUSE_APACHE=	yes
XWITH_APACHE2=	yes
X
XXML2_INC=	${LOCALBASE}/include/libxml2
XXML2_LIB=	${LOCALBASE}/lib
X
Xdo-extract:
X	@${DO_NADA}
X
Xpre-fetch:
X	@${MKDIR} ${WRKDIR}
X
Xpost-fetch:
X	@${CP} ${DISTDIR}/xmlns.h ${DISTDIR}/mod_proxy_xml.c ${WRKDIR}
X
Xdo-build:
X	@(cd ${WRKDIR} && ${APXS} -c -I ${XML2_INC} -L ${XML2_LIB} -lxml2 mod_proxy_xml.c)
X
Xdo-install:
X	@(cd ${WRKDIR} && ${APXS} -A -i mod_proxy_xml.la)
X
X.include <bsd.port.mk>
END-of-mod_proxy_xml/Makefile
echo x - mod_proxy_xml/distinfo
sed 's/^X//' >mod_proxy_xml/distinfo << 'END-of-mod_proxy_xml/distinfo'
XMD5 (xmlns.h) = 6d3327342b3a996aa6eb9fc77a79de25
XSHA256 (xmlns.h) = ad1a411990601c2b22e5f4d5d071f125d9d484a4fe364d87fb3251de2607490d
XSIZE (xmlns.h) = 5751
XMD5 (mod_proxy_xml.c) = cef3882e5449166e9e82673e41023f1e
XSHA256 (mod_proxy_xml.c) = 91780947448d6da0e03d0db0ace9e4e0376009c644d75cb822ffec1e7711c088
XSIZE (mod_proxy_xml.c) = 11148
END-of-mod_proxy_xml/distinfo
exit

mod_line_edit.shar

# This is a shell archive.  Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file".  Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
#	mod_line_edit
#	mod_line_edit/pkg-descr
#	mod_line_edit/pkg-plist
#	mod_line_edit/Makefile
#	mod_line_edit/distinfo
#
echo c - mod_line_edit
mkdir -p mod_line_edit > /dev/null 2>&1
echo x - mod_line_edit/pkg-descr
sed 's/^X//' >mod_line_edit/pkg-descr << 'END-of-mod_line_edit/pkg-descr'
Xmod_line_edit is a general-purpose filter for text documents. It
Xoperates as a simple on-the-fly line editor, applying
Xsearch-and-replace rules defined in a configuration or .htaccess
Xfile.
X
XWWW: http://apache.webthing.com/mod_line_edit/
END-of-mod_line_edit/pkg-descr
echo x - mod_line_edit/pkg-plist
sed 's/^X//' >mod_line_edit/pkg-plist << 'END-of-mod_line_edit/pkg-plist'
Xlibexec/apache2/mod_line_edit.so
X at exec %D/sbin/apxs -e -A -n line_edit %D/%F
X at unexec %D/sbin/apxs -e -A -n line_edit %D/%F
END-of-mod_line_edit/pkg-plist
echo x - mod_line_edit/Makefile
sed 's/^X//' >mod_line_edit/Makefile << 'END-of-mod_line_edit/Makefile'
X# New ports collection Makefile for:	mod_line_edit
X#
X# Date created:		10/01/2007
X# Whom:			Dominic Marks <dom at goodforbusiness.co.uk>
X#
X# $FreeBSD$
X#
X
XPORTNAME=	mod_line_edit
XPORTVERSION=	1.0.0
XCATEGORIES=	www
XMASTER_SITES=	http://apache.webthing.com/mod_line_edit/
XDISTFILES=	mod_line_edit.c
X
XMAINTAINER=	ports at FreeBSD.org
XCOMMENT=	Apache module for simple text rewriting
X
XUSE_APACHE=	yes
XWITH_APACHE2=	yes
X
Xdo-extract:
X	@${DO_NADA}
X
Xpre-fetch:
X	@${MKDIR} ${WRKDIR}
X
Xpost-fetch:
X	@${CP} ${DISTDIR}/mod_line_edit.c ${WRKDIR}
X
Xdo-build:
X	@(cd ${WRKDIR} && ${APXS} -c mod_line_edit.c)
X
Xdo-install:
X	@(cd ${WRKDIR} && ${APXS} -A -i mod_line_edit.la)
X
X.include <bsd.port.mk>
END-of-mod_line_edit/Makefile
echo x - mod_line_edit/distinfo
sed 's/^X//' >mod_line_edit/distinfo << 'END-of-mod_line_edit/distinfo'
XMD5 (mod_line_edit.c) = 80d17d06a164bfc7f7e0dfb841693bb1
XSHA256 (mod_line_edit.c) = 9c6c33d401f545ebd3826df96a2ccaa07b25db0b99ba13e4d88b10a2d49f8b0b
XSIZE (mod_line_edit.c) = 17096
END-of-mod_line_edit/distinfo
exit

	
>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list