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.
===> The following configuration options are available for websh-3.6.0.b5_9,1:
DOCS=on: Build and/or install documentation
EXAMPLES=on: Build and/or install examples
===> Use 'make config' to modify these settings
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.
www/websh: Unbreak, undeprecate, unexpire. Add LICENSE.
I cannot figure out, why the port gradually began to break in
the test-stage -- but only, when building on the packaging-cluster.
I cannot reproduce the test-failure anywhere else...
The test-target remains there, but it is no longer done as post-build.
www/websh: Mark DEPRECATED
- Mark BROKEN on all versions of FreeBSD
- Upstream has marked the project dismissed
- Set EXPIRATION_DATE 2024-01-24
- Add LICENSE APACHE20
- Pet portclippy
Approved by: portmgr (blanket)
www/websh: report errors parsing cookie-expiration date
Original code would ignore such errors -- and would simply skip the
expiration-clause of any cookie. This MIGHT explain the test-failures
reported by Poudriere, even though I cannot reproduce this problem
locally.
Fix another minor problem, while I'm here -- and bump PORTREVISION.
www/websh: attempt to debug test-failures on Poudriere
When the tests succeed, they'll continue to succeed quietly. However,
when they fail -- as they've been doing during package-building for
FreeBSD-14 for a few months now -- the output will now contain more
information, which will, hopefully, allow me to fix them for good.
www/websh: newer compiler-versions find new warnings
Remove the variables, where lack of actual use was too hidden for
the earlier compilers.
Also change one remaining K&R style function to comply with clang-15+
requirement, however bogus it seems to be.
Remove WWW entries moved into port Makefiles
Commit b7f05445c00f has added WWW entries to port Makefiles based on
WWW: lines in pkg-descr files.
This commit removes the WWW: lines of moved-over URLs from these
pkg-descr files.
Approved by: portmgr (tcberner)
Add WWW entries to port Makefiles
It has been common practice to have one or more URLs at the end of the
ports' pkg-descr files, one per line and prefixed with "WWW:". These
URLs should point at a project website or other relevant resources.
Access to these URLs required processing of the pkg-descr files, and
they have often become stale over time. If more than one such URL was
present in a pkg-descr file, only the first one was tarnsfered into
the port INDEX, but for many ports only the last line did contain the
port specific URL to further information.
There have been several proposals to make a project URL available as
a macro in the ports' Makefiles, over time.
(Only the first 15 lines of the commit message are shown above )
www: remove 'Created by' lines
A big Thank You to the original contributors of these ports:
*
* <hvo.pm@xs4all.nl>
* Aaron Dalton <aaron@FreeBSD.org>
* Aaron Dalton <aaron@daltons.ca>
* Aaron LI <aly@aaronly.me>
* Aaron Zauner <az_mail@gmx.at>
* Abel Chow <achow@transoft.net>
* Adam Weinberger <adamw@FreeBSD.org>
* Ade Lovett <ade@FreeBSD.org>
* Adrian Steinmann <ast@marabu.ch>
* Akinori MUSHA aka knu <knu@idaemons.org>
(Only the first 15 lines of the commit message are shown above )
www/websh: unbreak after the recent upgrade of tcl86
Despite being only a micro-version bump, the new TCL changes the
TCL_SHARED_LIB_SUFFIX from being set to "86" (the version of TCL)
to being derived from the extension's own version, which in our
case is 3.6.0b5).
While here, remove reference to the long-gone apache-2.2 and
a bogus deprecation.
www/websh: Update MASTER_SITES, deprecate and set expiration date to 2022-03-31
Use a direct URL to Apache's release archive site as it's not mirrored
by upstream mirror sites
Abandoned by upstream in 2012
Reference:
https://tcl.apache.org/websh/
Approved by: rene (portmgr blanket), arrowd (mentor)
Differential Revision: https://reviews.freebsd.org/D32420
Patch an ancient upstream bug uncovered on HEAD by the new compiler
warning (-Wmisleading-indentation). Bump PORTREVISION...
Glory be to LLVM and -Werror.
Reported by: pkg-fallout
The output of tools like awk, date, sort, tr,... depends on the current
locale set by the user. Add LANG=C and LC_ALL=C at the beginning of
bsd.port.mk and export them so all commands are executed with the C locale.
LC_ALL=C overrides all other LC_* variables. LANG is used by setlocale(3)
as default value for LC_* variables, so normally it isn't used when LC_ALL
is set, but there's code out there that looks at LANG directly so it's safer
to set it as well. The only commands not captured by this are !=
assignments before any inclusion of bsd.port.*mk.
Introduce USE_LOCALE=<locale> that adds LANG=<locale> and LC_ALL=<locale> to
CONFIGURE_ENV and MAKE_ENV so upstream build systems can be executed with a
different locale (e.g. USE_LOCALE=en_US.UTF-8).
PR: 215882
Exp-run by: antoine
Approved by: portmgr (antoine)
MASTER_SITES cleanup.
- Replace ${MASTER_SITE_FOO} with FOO.
- Merge MASTER_SITE_SUBDIR into MASTER_SITES when possible. (This means 99.9%
of the time.)
- Remove occurrences of MASTER_SITE_LOCAL when no subdirectory was present and
no hint of what it should be was present.
- Fix some logic.
- And generally, make things more simple and easy to understand.
While there, add magic values to the FESTIVAL, GENTOO, GIMP, GNUPG, QT and
SAMBA macros.
Also, replace some EXTRACT_SUFX occurences with USES=tar:*.
Checked by: make fetch-urlall-list
With hat: portmgr
Sponsored by: Absolight
Convert GMAKE to MAKE_CMD
Please note that lots of invocation of MAKE_CMD here are wrong as they do not
properly respect MAKE_ENV and friends
With hat: portmgr
Add patches to build and work with Apache-2.4 (which
has special requrements for users of ap_log_error())
and Tcl-8.6 (which uses -fvisibility=hidden if it can).
No functional changes for those, who were able to build
before, thus no PORTREVISION bump (I wish, previous
committer followed this rule too).
- change required APACHE version from 13+ to 20+
(prepare to remove www/apache13)
- no PORTREVISION bump since apache22 is the default
with hat apache@
- Add LDFLAGS to CONFIGURE_ENV and MAKE_ENV (as it was done with LDFLAGS)
- Fix all ports that add {CPP,LD}FLAGS to *_ENV to modify flags instead
PR: 157936
Submitted by: myself
Exp-runs by: pav
Approved by: pav
Fix up the makefile post-configure to avoid useless
PACKAGE_-definitions, which may conflict with the
(equally useless) Apache ones.
Insist on TCL-8.4 -- using 8.5 causes self-test failures
including seg-faults... These are being investigated.
Webshell -- a TCL module for Apache. Appears to be the most advanced
and the best supported such module of the several listed at
http://tcl.apache.org/
Works with both Apache-1.3.x and 2.x and has an interesting development
paradigm.