Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 29 Jun 2010 22:31:46 GMT
From:      "Peter C. Lai" <cowbert@gmail.com>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/148248: [NEW PORT]: www/mod_rivet - Apache Rivet (inline Tcl support for Apache httpd)
Message-ID:  <201006292231.o5TMVke5019907@www.freebsd.org>
Resent-Message-ID: <201006292240.o5TMe4HY054207@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         148248
>Category:       ports
>Synopsis:       [NEW PORT]: www/mod_rivet - Apache Rivet (inline Tcl support for Apache httpd)
>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:   Tue Jun 29 22:40:04 UTC 2010
>Closed-Date:
>Last-Modified:
>Originator:     Peter C. Lai
>Release:        8.0-RELEASE-p3
>Organization:
Hyperfine Informatics
>Environment:
8.0-RELEASE-p3
>Description:
New port: www/mod_rivet

New port to support Apache Rivet, an apache module allowing the Tcl interpreter to evaluate Tcl statements within webpages. It also ships with a bunch of Tcl modules that implement common web application components and their handlers.

WWW: http://tcl.apache.org/rivet/

>How-To-Repeat:

>Fix:
See attached shar

Patch attached with submission follows:

# 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_rivet
#	mod_rivet/Makefile
#	mod_rivet/distinfo
#	mod_rivet/pkg-descr
#	mod_rivet/pkg-plist
#
echo c - mod_rivet
mkdir -p mod_rivet > /dev/null 2>&1
echo x - mod_rivet/Makefile
sed 's/^X//' >mod_rivet/Makefile << '962c09a436144d9abf3c0cbf838056e9'
X# New ports collection makefile for:	mod_rivet
X# Date created:				June 16, 2010
X# Whom:					Peter Lai <cowbert@gmail.com>
X#
X# $FreeBSD: $
X#
X
XPORTNAME=	mod_rivet
XPORTVERSION=	2.0.0
XCATEGORIES=	www tcl
XMASTER_SITES=		${MASTER_SITE_APACHE}
XMASTER_SITE_SUBDIR=	tcl/rivet
XDISTNAME=		rivet-${PORTVERSION}
X
XMAINTAINER=     cowbert@gmail.com
XCOMMENT=        Embeds a Tcl interpreter in the Apache server
X
XWRKSRC=			${WRKDIR}/rivet-${PORTVERSION}
X
XMAKE_JOBS_SAFE=  yes
X
XUSE_APACHE=	1.3+
XUSE_AUTOTOOLS=	automake:110 autoconf:262
XUSE_TCL=	84+
XGMAKE=		yes
X
XGNU_CONFIGURE= yes
X
X.include <bsd.port.pre.mk>
X
X.if $(AP_VERSION) == 1.3
XCONFIGURE_ARGS+=	--with-apache-version=1
X.else
XCONFIGURE_ARGS+=	--with-apache-version=2
X.endif
X
XCONFIGURE_ARGS+=	--prefix=${PREFIX} --with-apxs=${APXS} \
X			--with-tcl=${TCL_LIBDIR} --with-tclsh=${TCLSH} \
X			--with-rivet-target-dir=${PREFIX}/lib/rivet
X
Xpre-configure:
X	@${ECHO_MSG} "Update dist install-sh with one from automake..."
X	${CP} -f ${AUTOMAKE_DIR}/install-sh ${WRKSRC}/tclconfig/install-sh
X	cd ${WRKSRC} && ${AUTORECONF} -v
X
Xpost-install:
X	@${ECHO_MSG} ""
X	@${ECHO_MSG} "===================================================="
X	@${ECHO_MSG} "Remember to modify your apache configuration file
X	@${ECHO_MSG} "to load mod_rivet:"
X	@${ECHO_MSG} ""
X	@${ECHO_MSG} "LoadModule mod_rivet ${APACHEMODDIR}/mod_rivet.so"
X	@${ECHO_MSG} ""
X	@${ECHO_MSG} "Visit http://tcl.apache.org/rivet/ for documentation"
X	@${ECHO_MSG} ""
X	@${ECHO_MSG} "===================================================="
X
X.include <bsd.port.post.mk>
962c09a436144d9abf3c0cbf838056e9
echo x - mod_rivet/distinfo
sed 's/^X//' >mod_rivet/distinfo << '2d32cab5e22fe8cb2f6c9cb551eb4f92'
XMD5 (rivet-2.0.0.tar.gz) = d1965b51046d8142735a092930b45b41
XSHA256 (rivet-2.0.0.tar.gz) = 2261ea6c18b99664c4a30b0a9c7a3cd47ae9a683d542fbb7c8ca561112b98097
XSIZE (rivet-2.0.0.tar.gz) = 1426089
2d32cab5e22fe8cb2f6c9cb551eb4f92
echo x - mod_rivet/pkg-descr
sed 's/^X//' >mod_rivet/pkg-descr << '30a35cbcce39d499cb883f1a41b350ce'
Xmod_rivet brings together the full power of the Tcl programming language
Xand the Apache HTTP server. You can use Tcl to manage Apache, respond to
Xrequests for web pages and much more.
X
Xmod_rivet gives you a persistent Tcl interpreter embedded in your web
Xserver. This lets you avoid the overhead of starting an external interpreter
Xand avoids the penalty of Tcl start-up time, giving you super-fast
Xdynamic content.
X
XAs you'd expect from the Tcl community, there are hundreds of modules
Xwritten for mod_rivet, everything from persistent database connections, to
Xtemplating sytems, to complete XML content delivery systems. Web sites like
XFlightAware use mod_rivet. 
X
XWWW: http://tcl.apache.org/rivet/
30a35cbcce39d499cb883f1a41b350ce
echo x - mod_rivet/pkg-plist
sed 's/^X//' >mod_rivet/pkg-plist << 'f899eacdf1c29fe6e01992749d4dab4a'
X%%APACHEMODDIR%%/mod_rivet.la
X%%APACHEMODDIR%%/mod_rivet.so
Xlib/rivet/librivet.so
Xlib/rivet/librivet.la
Xlib/rivet/librivetparser.so
Xlib/rivet/librivetparser.la
Xlib/rivet/rivet-tcl/wrap.tcl
Xlib/rivet/rivet-tcl/import_keyvalue_pairs.tcl
Xlib/rivet/rivet-tcl/read_file.tcl
Xlib/rivet/rivet-tcl/rivet_command_document.tcl
Xlib/rivet/rivet-tcl/html.tcl
Xlib/rivet/rivet-tcl/lassign.tcl
Xlib/rivet/rivet-tcl/incr0.tcl
Xlib/rivet/rivet-tcl/load_cookies.tcl
Xlib/rivet/rivet-tcl/parray.tcl
Xlib/rivet/rivet-tcl/tclIndex
Xlib/rivet/rivet-tcl/README
Xlib/rivet/rivet-tcl/lmatch.tcl
Xlib/rivet/rivet-tcl/lempty.tcl
Xlib/rivet/rivet-tcl/cookie.tcl
Xlib/rivet/rivet-tcl/load_response.tcl
Xlib/rivet/rivet-tcl/import_switch_args.tcl
Xlib/rivet/rivet-tcl/debug.tcl
Xlib/rivet/rivet-tcl/random.tcl
Xlib/rivet/packages/commserver/server.tcl
Xlib/rivet/packages/commserver/commserver.tcl
Xlib/rivet/packages/session/session-purge-mysql.sql
Xlib/rivet/packages/session/session-drop.sql
Xlib/rivet/packages/session/README.txt
Xlib/rivet/packages/session/pkgIndex.tcl
Xlib/rivet/packages/session/session-create-mysql.sql
Xlib/rivet/packages/session/session-create-oracle.sql
Xlib/rivet/packages/session/session-httpd.conf
Xlib/rivet/packages/session/session-class.tcl
Xlib/rivet/packages/session/session-create.sql
Xlib/rivet/packages/session/session-demo.rvt
Xlib/rivet/packages/tclrivet/tclrivet.tcl
Xlib/rivet/packages/tclrivet/pkgIndex.tcl
Xlib/rivet/packages/tclrivet/README
Xlib/rivet/packages/tclrivet/parse.tcl
Xlib/rivet/packages/tclrivet/tclrivetparser.tcl
Xlib/rivet/packages/simpledb/pkgIndex.tcl
Xlib/rivet/packages/simpledb/simpledb.test
Xlib/rivet/packages/simpledb/simpledb.tcl
Xlib/rivet/packages/dtcl/pkgIndex.tcl
Xlib/rivet/packages/dtcl/dtcl.tcl
Xlib/rivet/packages/rivet_ncgi/rivet_ncgi.tcl
Xlib/rivet/packages/dio/pkgIndex.tcl
Xlib/rivet/packages/dio/dio_Oracle.tcl
Xlib/rivet/packages/dio/dio_Sqlite.tcl
Xlib/rivet/packages/dio/dio_Postgresql.tcl
Xlib/rivet/packages/dio/dio.tcl
Xlib/rivet/packages/dio/dio_Mysql.tcl
Xlib/rivet/packages/dio/diodisplay.tcl
Xlib/rivet/packages/form/form.tcl
Xlib/rivet/packages/form/pkgIndex.tcl
Xlib/rivet/packages/README
Xlib/rivet/pkgIndex.tcl
Xlib/rivet/init.tcl
Xlib/rivet/README
X@dirrm lib/rivet/packages/tclrivet
X@dirrm lib/rivet/packages/simpledb
X@dirrm lib/rivet/packages/session
X@dirrm lib/rivet/packages/rivet_ncgi
X@dirrm lib/rivet/packages/form
X@dirrm lib/rivet/packages/dtcl
X@dirrm lib/rivet/packages/dio
X@dirrm lib/rivet/packages/commserver
X@dirrm lib/rivet/packages
X@dirrm lib/rivet/rivet-tcl
X@dirrm lib/rivet
f899eacdf1c29fe6e01992749d4dab4a
exit



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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201006292231.o5TMVke5019907>