diff options
| author | Philip M. Gollucci <pgollucci@FreeBSD.org> | 2010-09-09 03:21:49 +0000 |
|---|---|---|
| committer | Philip M. Gollucci <pgollucci@FreeBSD.org> | 2010-09-09 03:21:49 +0000 |
| commit | 189c0ba63826eb5b669fc293ff45fa561bff79fe (patch) | |
| tree | e49bc9d6a9100311b79c7294958ce4ead0c96714 | |
| parent | Belatedly (and perhaps pointlessly) document [1]: (diff) | |
mod_rivet brings together the full power of the Tcl programming language
and the Apache HTTP server. You can use Tcl to manage Apache, respond to
requests for web pages and much more.
mod_rivet gives you a persistent Tcl interpreter embedded in your web
server. This lets you avoid the overhead of starting an external interpreter
and avoids the penalty of Tcl start-up time, giving you super-fast
dynamic content.
As you'd expect from the Tcl community, there are hundreds of modules
written for mod_rivet, everything from persistent database connections, to
templating sytems, to complete XML content delivery systems. Web sites like
FlightAware use mod_rivet.
WWW: http://tcl.apache.org/rivet/
PR: ports/148248
Submitted by: Peter Lai <cowbert at gmail.com>
| -rw-r--r-- | www/Makefile | 1 | ||||
| -rw-r--r-- | www/mod_rivet/Makefile | 58 | ||||
| -rw-r--r-- | www/mod_rivet/distinfo | 3 | ||||
| -rw-r--r-- | www/mod_rivet/pkg-descr | 15 | ||||
| -rw-r--r-- | www/mod_rivet/pkg-plist | 71 |
5 files changed, 148 insertions, 0 deletions
diff --git a/www/Makefile b/www/Makefile index 7075a2d34772..86c72d33a6f8 100644 --- a/www/Makefile +++ b/www/Makefile @@ -532,6 +532,7 @@ SUBDIR += mod_python3 SUBDIR += mod_realip SUBDIR += mod_remoteip + SUBDIR += mod_rivet SUBDIR += mod_roaming SUBDIR += mod_roaming2 SUBDIR += mod_rpaf diff --git a/www/mod_rivet/Makefile b/www/mod_rivet/Makefile new file mode 100644 index 000000000000..96ff61318423 --- /dev/null +++ b/www/mod_rivet/Makefile @@ -0,0 +1,58 @@ +# New ports collection makefile for: mod_rivet +# Date created: June 16, 2010 +# Whom: Peter Lai <cowbert@gmail.com> +# +# $FreeBSD$ +# + +PORTNAME= mod_rivet +PORTVERSION= 2.0.0 +CATEGORIES= www tcl +MASTER_SITES= ${MASTER_SITE_APACHE} +MASTER_SITE_SUBDIR= tcl/rivet +DISTNAME= rivet-${PORTVERSION} + +MAINTAINER= cowbert@gmail.com +COMMENT= Embeds a Tcl interpreter in the Apache server + +WRKSRC= ${WRKDIR}/rivet-${PORTVERSION} + +MAKE_JOBS_SAFE= yes + +USE_APACHE= 1.3+ +USE_AUTOTOOLS= automake:110 autoconf:262 +USE_TCL= 84+ +GMAKE= yes + +GNU_CONFIGURE= yes + +.include <bsd.port.pre.mk> + +.if ${AP_VERSION} == 1.3 +CONFIGURE_ARGS+= --with-apache-version=1 +.else +CONFIGURE_ARGS+= --with-apache-version=2 +.endif + +CONFIGURE_ARGS+= --prefix=${PREFIX} --with-apxs=${APXS} \ + --with-tcl=${TCL_LIBDIR} --with-tclsh=${TCLSH} \ + --with-rivet-target-dir=${PREFIX}/lib/rivet + +pre-configure: + @${ECHO_MSG} "Update dist install-sh with one from automake..." + ${CP} -f ${AUTOMAKE_DIR}/install-sh ${WRKSRC}/tclconfig/install-sh + cd ${WRKSRC} && ${AUTORECONF} -v + +post-install: + @${ECHO_MSG} "" + @${ECHO_MSG} "====================================================" + @${ECHO_MSG} "Remember to modify your apache configuration file + @${ECHO_MSG} "to load mod_rivet:" + @${ECHO_MSG} "" + @${ECHO_MSG} "LoadModule mod_rivet ${APACHEMODDIR}/mod_rivet.so" + @${ECHO_MSG} "" + @${ECHO_MSG} "Visit http://tcl.apache.org/rivet/ for documentation" + @${ECHO_MSG} "" + @${ECHO_MSG} "====================================================" + +.include <bsd.port.post.mk> diff --git a/www/mod_rivet/distinfo b/www/mod_rivet/distinfo new file mode 100644 index 000000000000..757a1bc3045d --- /dev/null +++ b/www/mod_rivet/distinfo @@ -0,0 +1,3 @@ +MD5 (rivet-2.0.0.tar.gz) = d1965b51046d8142735a092930b45b41 +SHA256 (rivet-2.0.0.tar.gz) = 2261ea6c18b99664c4a30b0a9c7a3cd47ae9a683d542fbb7c8ca561112b98097 +SIZE (rivet-2.0.0.tar.gz) = 1426089 diff --git a/www/mod_rivet/pkg-descr b/www/mod_rivet/pkg-descr new file mode 100644 index 000000000000..0ee4c036c24c --- /dev/null +++ b/www/mod_rivet/pkg-descr @@ -0,0 +1,15 @@ +mod_rivet brings together the full power of the Tcl programming language +and the Apache HTTP server. You can use Tcl to manage Apache, respond to +requests for web pages and much more. + +mod_rivet gives you a persistent Tcl interpreter embedded in your web +server. This lets you avoid the overhead of starting an external interpreter +and avoids the penalty of Tcl start-up time, giving you super-fast +dynamic content. + +As you'd expect from the Tcl community, there are hundreds of modules +written for mod_rivet, everything from persistent database connections, to +templating sytems, to complete XML content delivery systems. Web sites like +FlightAware use mod_rivet. + +WWW: http://tcl.apache.org/rivet/ diff --git a/www/mod_rivet/pkg-plist b/www/mod_rivet/pkg-plist new file mode 100644 index 000000000000..be1f1b9d7eb4 --- /dev/null +++ b/www/mod_rivet/pkg-plist @@ -0,0 +1,71 @@ +%%APACHEMODDIR%%/mod_rivet.la +%%APACHEMODDIR%%/mod_rivet.so +lib/rivet/librivet.so +lib/rivet/librivet.la +lib/rivet/librivetparser.so +lib/rivet/librivetparser.la +lib/rivet/rivet-tcl/wrap.tcl +lib/rivet/rivet-tcl/import_keyvalue_pairs.tcl +lib/rivet/rivet-tcl/read_file.tcl +lib/rivet/rivet-tcl/rivet_command_document.tcl +lib/rivet/rivet-tcl/html.tcl +lib/rivet/rivet-tcl/lassign.tcl +lib/rivet/rivet-tcl/incr0.tcl +lib/rivet/rivet-tcl/load_cookies.tcl +lib/rivet/rivet-tcl/parray.tcl +lib/rivet/rivet-tcl/tclIndex +lib/rivet/rivet-tcl/README +lib/rivet/rivet-tcl/lmatch.tcl +lib/rivet/rivet-tcl/lempty.tcl +lib/rivet/rivet-tcl/cookie.tcl +lib/rivet/rivet-tcl/load_response.tcl +lib/rivet/rivet-tcl/import_switch_args.tcl +lib/rivet/rivet-tcl/debug.tcl +lib/rivet/rivet-tcl/random.tcl +lib/rivet/packages/commserver/server.tcl +lib/rivet/packages/commserver/commserver.tcl +lib/rivet/packages/session/session-purge-mysql.sql +lib/rivet/packages/session/session-drop.sql +lib/rivet/packages/session/README.txt +lib/rivet/packages/session/pkgIndex.tcl +lib/rivet/packages/session/session-create-mysql.sql +lib/rivet/packages/session/session-create-oracle.sql +lib/rivet/packages/session/session-httpd.conf +lib/rivet/packages/session/session-class.tcl +lib/rivet/packages/session/session-create.sql +lib/rivet/packages/session/session-demo.rvt +lib/rivet/packages/tclrivet/tclrivet.tcl +lib/rivet/packages/tclrivet/pkgIndex.tcl +lib/rivet/packages/tclrivet/README +lib/rivet/packages/tclrivet/parse.tcl +lib/rivet/packages/tclrivet/tclrivetparser.tcl +lib/rivet/packages/simpledb/pkgIndex.tcl +lib/rivet/packages/simpledb/simpledb.test +lib/rivet/packages/simpledb/simpledb.tcl +lib/rivet/packages/dtcl/pkgIndex.tcl +lib/rivet/packages/dtcl/dtcl.tcl +lib/rivet/packages/rivet_ncgi/rivet_ncgi.tcl +lib/rivet/packages/dio/pkgIndex.tcl +lib/rivet/packages/dio/dio_Oracle.tcl +lib/rivet/packages/dio/dio_Sqlite.tcl +lib/rivet/packages/dio/dio_Postgresql.tcl +lib/rivet/packages/dio/dio.tcl +lib/rivet/packages/dio/dio_Mysql.tcl +lib/rivet/packages/dio/diodisplay.tcl +lib/rivet/packages/form/form.tcl +lib/rivet/packages/form/pkgIndex.tcl +lib/rivet/packages/README +lib/rivet/pkgIndex.tcl +lib/rivet/init.tcl +lib/rivet/README +@dirrm lib/rivet/packages/tclrivet +@dirrm lib/rivet/packages/simpledb +@dirrm lib/rivet/packages/session +@dirrm lib/rivet/packages/rivet_ncgi +@dirrm lib/rivet/packages/form +@dirrm lib/rivet/packages/dtcl +@dirrm lib/rivet/packages/dio +@dirrm lib/rivet/packages/commserver +@dirrm lib/rivet/packages +@dirrm lib/rivet/rivet-tcl +@dirrm lib/rivet |
