file for FreeBSD
# PROVIDE: foswiki
# REQUIRE: DAEMON
# KEYWORD: shutdown
# foswiki params
if [ -r /usr/local/etc/$name ]; then
# foswiki defaults, if file does not set param
# load /etc/rc.conf params
# echo foswiki_root: $foswiki_root
desc="Foswiki backend server"
# Not sure why to set PATH or what to set it to.
chown $foswiki_user:$foswiki_group $pidfile
command_args="-n $children -l $bind -p $pidfile -d -c $check_size -x $max_requests -s $max_size"
if $quiet; then
sample content of
Configuration listed above works with
start, stop and status commands. Other commands were not tested.
Fixes look reasonable.
-- Sergei G; 12 January 2017
Fixing some typos, please check and verify my changes.
-- Manas; 7th January 2017
shoud be probably renamed to app_root. Variables
have special meaning to FreeBSD
rc processing and thus require specified names. However, this naming convension collides with
and that's why
is a goot alternative.
-- Sergei G September 28, 2015
The initial version of the Foswiki (1.0.6) port has been committed to the FreeBSD ports tree, and more information may be found here: http://www.freshports.org/www/foswiki/
. At the moment, Foswiki plugins are not packaged as individual ports, but support for that is coming in a future version of the port.
- 10 Aug 2009
The first version of a FreeBSD port of Foswiki is available, and I'd like some Foswiki users on FreeBSD to give it a try before I commit it to the ports tree.
It can be downloaded from: http://people.freebsd.org/~glarkin/shars/foswiki.shar
. Install the port with the following commands:
cd www/foswiki && make install clean
I'm interested in feedback for any of the following questions and more:
- Does the port have the correct OPTIONS?
- Are all necessary dependencies included?
- Is the sample Apache config file acceptable?
- Is the pkg-message clear enough?
- Are you able to get a working Foswiki installation without too much
- Does the port uninstall cleanly?
Uninstalling does leave a number of files and directories around (see
dirrmtry statements in pkg-plist) because I cannot predict how many new
topics will be created inside of the installation directory.
This port doesn't install of the plugins yet, but those will follow.
- 15 Jun 2009