-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Discussion trimed to devel & beta

One purpose of this email is to document how the FreeBSD port differs
and where work is required.

Kern Sibbald wrote:

> 7. I *strongly* recommend that you use the following file placement.  This 
> does not agree with the LSB, but it does make it possible for the user to 
> much easier do a disaster recovery.  This kind of configuration is commonly 
> used on Solaris and is also used on Linux.  This is now the official Bacula 
> recommendation -- it may take a bit more time to update our documentation.

FreeBSD has a well defined layout which tells us where particular types
of files should go:

http://www.freebsd.org/cgi/man.cgi?query=hier&apropos=0&sektion=0&manpath=FreeBSD+7.1-RELEASE&format=html

or http://tinyurl.com/manhier

I imagine other OS may have their own constraints.

Below, I have tried to highlight the FreeBSD directories.

> 
> 
> ./configure \
>    --sbindir=/opt/bacula \

/usr/local/sbin

>    --sysconfdir=/opt/bacula \

/usr/local/etc

>    --libdir=/opt/bacula \

I think that's /usr/lib

>    --docdir=/opt/bacula/doc \
>    --htmldir=/opt/bacula/html \

Pretty sure both would be:

/usr/local/share/doc/bacula

FreeBSD installs the docs via sysutils/bacula-docs

man pages go to /usr/local/man

>    --with-pid-dir=/opt/bacula/working \

/var/run/bacula*.pid

>    --with-subsys-dir=/opt/bacula/working \
>    --with-working-dir=/opt/bacula/working \

both /var/db/bacula I think

>    --with-scriptdir=/opt/bacula/scripts \

/usr/local/share/bacula

>    --with-plugindir=/opt/bacula/plugins \

I don't know.

>    --enable-smartalloc \

we set this

>    --enable-bat \

And we have sysutils/bacula-bat to install this


>    --without-qwt \

At present, if bat is enabled, we set --with-qwt

>    --enable-batch-insert \

set

>    --with-openssl \

That is an option which can be set at install time.

>    --with-dump-email=r...@localhost \
>    --with-job-email=r...@localhost \

The FreeBSD port sets neither of those.  Work is required.

>    --with-tcp-wrappers \

set

>    --with-db-name=bacula \
>    --with-db-user=bacula \

The FreeBSD port sets neither of those.  Work is required.


>    --with-baseport=9101 \

Not set.

> #  --with-mysql
> # or
> #  --with-postgresql

FreeBSD offers SQLite2/3, MySQL, and PostgreSQL.

- --
Dan Langille

BSDCan - The Technical BSD Conference : http://www.bsdcan.org/
PGCon  - The PostgreSQL Conference:     http://www.pgcon.org/
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.11 (FreeBSD)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEARECAAYFAknPjcQACgkQCgsXFM/7nTxuhwCg3iE2e9EaqZNbNbI9x5igakDK
4J4An1mLN9+OoiDV8DE63z3L2fgQ2wg1
=gSLa
-----END PGP SIGNATURE-----

------------------------------------------------------------------------------
_______________________________________________
Bacula-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bacula-devel

Reply via email to