I just uploaded
http://www.sschwarzer.net/download/webware_port-0.2.tar.gz

If you don't see any more problems I would like to send the port
to the FreeBSD maintainers.

Changes wrt webware_port-0.1:

- /usr/local/Webware has become /usr/local/share/webware

- /usr/local/webware has become /usr/local/www/webkit

- named the user webkit instead of webware (if reinstalling from the
  new port, delete user webware first with rmuser(8))

- /usr/local/www/webkit has permissions root:wheel; Cache,
  ErrorMsgs, Logs, Sessions have permissions webkit:webkit

- /usr/local/share/webware/WebKit/Native is deleted; installing
  mod_webkit should be left to an individual port (see below)

- fixed the packaging list (start/stop script wasn't deleted on
  deinstallation)

Some thoughts on other things (taken from the Makefile):

# TODO (or not)
#
# - Don't store info in the package for files that are generated by install.py
#   -> So far no real problem because the pyc files are overwritten anyway
#   during the installation. Otherwise, this would cause problems if the
#   Python versions for the packaging and running are different.
#
# - Copy WebKit.cgi and OneShot.cgi if /usr/local/www/cgi-bin exists
#   -> This has the problem that the overall installation result will be
#   different depending on installation order of a webserver and Webware.
#
# - Patch so that logging goes to /var/log/webkit for default workdir
#   -> I won't do this because there are still "global" settings in the
#   files in ${WEBWARE_MASTER_DIR}. Changing them would prohibit other
#   AppWorkDirs with different log locations.
#
# - Provide other useful defaults
#   -> Which defaults? Please provide input. :-)
#
# - Install mod_webkit if Apache is installed (see ports for PHP, mod_python
#   and mod_auth_pgsql)
#   -> This should be left to another port, mod_webkit, in order to avoid
#   dynamic dependencies and packaging lists, depending on whether mod_webkit
#   should be installed or not. (Not everyone who uses Webware will like
#   to be forced to also install Apache!)

Notes on Geoffrey's and Ian's mails:

On 11 Jul 2002, Ian Bicking wrote:
> On Thu, 2002-07-11 at 09:51, Geoffrey Talvola wrote:
> > Stefan Schwarzer wrote:
> > > /usr/local/Webware is simply a copy of the directories and files as
> > > extracted from the tarball. I didn't change any permissions. The
> > > owner/group of these files is root:wheel.
> > >
> > > /usr/local/webware is generated from the AppWorkDir.py script. Here, I
> > > also have nothing done on the permissions. However, the user/group of
> > > the whole /usr/local/webware is webware:webware.
> >
> > I'm not following this whole discussion, but I did notice this.  PLEASE
> > don't create two directories that differ only by case...
>
> I don't know BSD conventions, but it seems like the local files
> (/usr/local/webware) should go in /var/lib/webware, /var/www/webware,

/var/lib and /var/www don't seem to be used, "man hier" doesn't list
them either.

> /home/webware, or somesuch -- /home/webware seems most likely,
> especially if you create a webware user.

I rather don't like "system users" in the regular home directory. The
PostgreSQL port for FreeBSD behaves similar. (I don't know of the
policies of other ports, though.)

> Or maybe /usr/local/Webware should go in /usr/local/share/Webware.

This seems appropriate for Python scripts; MoinMoin also installs in
/usr/local/share. - Done. :-)

Stefan




-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Gadgets, caffeine, t-shirts, fun stuff.
http://thinkgeek.com/sf
_______________________________________________
Webware-discuss mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/webware-discuss

Reply via email to