BSD Ports

www/websh 3.6.0.b5_9,1 FreeBSD

Embeds a TCL8 interpreter in the Apache server

System
FreeBSD
Repository
FreeBSD ports
Maintainer
[email protected]
License
APACHE20
Categories
www, tcl
Package size
92.4 KiB, 371.5 KiB installed

Description

Web|sh is a TCL module for Apache. It is currently the most advanced and the best supported of the several such modules listed at

http://tcl.apache.org/

Works with both Apache-1.3.x and 2.x and has an interesting development paradigm.

In the other systems

SystemPortVersion
FreeBSDwww/websh3.6.0.b5_9,1
DragonFlywww/websh3.6.0b5_9

Install

Binary package:

pkg install websh

From the ports tree:

cd /usr/ports/www/websh/ && make install clean

To depend on this port in another port's Makefile:

RUN_DEPENDS=	websh>0:www/websh
LIB_DEPENDS=	libwebsh.so:www/websh

Packages

The version each package repository carries. “-” means the repository builds no package of it, “n/a” that there is no such repository.

Repositoryaarch64amd64armv6armv7i386
FreeBSD:14:latest3.6.0.b5_9,13.6.0.b5_9,1-3.6.0.b5_9,13.6.0.b5_9,1
FreeBSD:14:quarterly3.6.0.b5_9,13.6.0.b5_9,1n/a3.6.0.b5_9,13.6.0.b5_9,1
FreeBSD:15:latest3.6.0.b5_9,13.6.0.b5_9,1n/a3.6.0.b5_9,13.6.0.b5_9,1
FreeBSD:15:quarterly3.6.0.b5_9,13.6.0.b5_9,1n/an/an/a
FreeBSD:16:latest3.6.0.b5_9,13.6.0.b5_9,1n/an/an/a
FreeBSD:16:quarterlyn/an/an/an/an/a

Dependencies

The Makefile names none itself; they come from USES and USE_*.

The full lists below include those, and their dependencies in turn.

Build dependencies 26
Run dependencies 21

No port depends on this one.

Configuration

Options name: www_websh

OptionDefaultDescription
DOCSoffBuild and/or install documentation
EXAMPLESoffBuild and/or install examples
USES
apache autoreconf gmake tcl:tea
Service scripts
none

Message after installing

The websh _executable_ is deliberately not installed by this port.
To load websh functionality into regular Tcl-scripts, simply use:

	package require websh


For a ready to use example on configuring the module, see:

	/usr/local/share/examples/websh/httpd.conf

The file can be simply copied into the

	/usr/local/etc/apache24/Includes/

under more recent Apache versions.

Be sure to create /usr/local/etc/websh.conf -- most likely, you'll
simply copy the installed /usr/local/etc/websh.conf.dist over.

Files

pkg-plist 10
  • lib/libwebsh.so.1.0
  • lib/libwebsh.so.1
  • lib/libwebsh.so
  • lib/websh/pkgIndex.tcl
  • lib/websh/htmlhandler.ws3
  • lib/websh/otherhandler.ws3
  • etc/websh.conf.dist
  • %%APACHEMODDIR%%/mod_websh.so
  • @postexec %D/sbin/apxs -e -A -n websh %D/%F
  • @preunexec %D/sbin/apxs -e -A -n websh %D/%F
distinfo 1
FileSizeSHA256
websh-3.6.0b5-src.tar.gz2695495d1cd89e1e2259453f5b82d29a516f12b2b33f7a6cf9b075719639684d4047f8
Master sites 1
  • https://archive.apache.org/dist/tcl/websh/source/

Commit history 0

No commits in the history this site was built from.