41 Commits

Author SHA1 Message Date
ajacoutot
62ecb1279b Completely rework the way this port is handled. Drop all FLAVORs and
move to MULTI_PACKAGEs (the no_bat PSEUDO_FLAVOR is still available).
This modifies the packages as:
bacula-client	- no change
bacula-server	- the server part, now unflavored and depends on a proper SQL package support
bacula-bat	- no change
bacula-mysql	- new, MySQL support for bacula-server
bacula-pgsql	- new, PostgreSQL support for bacula-server
bacula-sqlite3	- new, SQLite3 support for bacula-server

All SQL support packages conflict with each others.
For users of mysql and sqlite3, a manual step will be needed to properly
upgrade bacula-server; sthen@ will take care of this in current.html.

Tested by myself and sthen@
ok sthen@
2014-06-23 07:57:48 +00:00
ajacoutot
c81333d1de Fix some default values. 2014-06-13 15:31:21 +00:00
ajacoutot
b9020e8ce8 Fix path to doc. 2014-06-13 13:34:38 +00:00
ajacoutot
fddb42ba17 Update to bacula-client-7.0.4. 2014-06-04 14:40:08 +00:00
ajacoutot
186a14223e Major update to Bacula 7.0.2.
Some info at:
http://blog.bacula.org/p710/
http://blog.bacula.org/release-7-0-2/

Now builds with our libtool(1).

While there's a huge amount of changes, existing setups "should" just
work without any modification.

tested by sthen@ and myself
ok sthen@, my new co-maintainer :-)
2014-04-19 09:44:11 +00:00
ajacoutot
9b09ee214c Revert previous; I am being morning-stupid, the client runs as root... 2014-01-28 09:02:12 +00:00
ajacoutot
8a73f52491 gecos: Bacula Director -> Bacula Daemon -- since this user is used on both
the director and the client.
2014-01-28 08:50:58 +00:00
ajacoutot
d4efdbbb5c Set @mode explicitely. 2014-01-19 09:54:18 +00:00
ajacoutot
21f28e6522 Revert the mysql->MariaDB blurb in the READMEs.
It seems the MariaDB move will be reverted.
2013-06-06 13:57:48 +00:00
ajacoutot
f3f9bbf22b "operator" can be used as well. 2013-06-05 16:23:14 +00:00
ajacoutot
7e402be7dc Clearer. 2013-06-05 16:12:05 +00:00
ajacoutot
26941f5ac8 Fix up permissions for tape devices versus autochangers. 2013-06-05 15:05:01 +00:00
ajacoutot
8118543b5a mysql -> MariaDB 2013-06-05 14:30:23 +00:00
sthen
b468cf0d0b add a meta rc.d script for bacula, modelled after samba's, to start and
stop the various daemons together in order suggested by upstream's scripts.
ok ajacoutot@
2013-05-03 18:40:32 +00:00
ajacoutot
ee32ff12e2 Update to bacula-5.2.13.
ok sthen@
2013-04-12 10:39:04 +00:00
ajacoutot
c0b9a6094b Document device permissions.
ok sthen@
2013-01-15 12:46:52 +00:00
sthen
f289cb4e94 update to Bacula 5.2.12, ok aja@ merdely@
- minor bugfix (and rolling in a more important fix we already had in patches)
2013-01-11 22:15:31 +00:00
ajacoutot
03de2da4f4 Update to bacula-5.2.11.
ok sthen@
2012-09-14 08:14:30 +00:00
ajacoutot
bcf7859592 No need to add FULLPKGNAME-main to SUBST_VARS now that the infrastructure
does the right thing; thanks espie@ !
2012-08-04 15:17:06 +00:00
sthen
bcc6542df5 Fix README-main, pointed out by "Jiri B" on ports@. ok merdely aja 2012-07-17 09:31:21 +00:00
ajacoutot
cac5264dc0 Rename our autochanger to chio-autochanger-openbsd and fix a couple of
bugs in it. All functions successfully tested (only listall is not
implemented yet).
While here, set the default tape device to /dev/nrst0.

ok sthen@
2012-07-04 12:02:56 +00:00
ajacoutot
587f3e6db4 Add a chio-changer script in replacement for the mtx-changer script.
Adapted from NetBSD pkgsrc and FreeBSD ports.
@sample the script so that people can apply local modifications if
needed.

Tested on an LTO-4, 8 slots.

Why do all chio(1) behave differently!!!???

ok sthen@ merdely@ (maintainer)
2012-06-28 19:24:56 +00:00
robert
5d7f1afe2a Rework the PgSQL part of the documentation in order to setup proper
permissions of the database while creating it.

ok ajacoutot@, sthen@, merdely@
2012-06-16 07:08:55 +00:00
merdely
136feb26c0 Move some files from PLIST to PLIST-server so that FLAVOR=no_server make
works again.
Conflict with older versions of the client.
Make mtx-changer.conf @sample-able so we don't overwrite on update.

ok & help from sthen and aja
2012-04-04 21:30:56 +00:00
sthen
302b21f525 Adjust new user creation in Bacula which had some duplication between
packages which depend on each other:

- only create the _bacula user in -main (client parts)
- only create the _bacula-sd user in -server

Change _bacula's home dir from /var/bacula to /nonexistent.
/var/bacula needs to be writable by the _bacula group and since
/usr/libexec/security actually checks that user home dirs are
group-writable, whereas /etc/security just checked if the user
home dir was a writable *file*(!), it whines every day for
every machine with bacula client installed. (This will only
affect new installations so if you're annoyed by these mails
too, just vipw and change it by hand).

ok ajacoutot@ merdely@
2012-04-03 10:05:47 +00:00
sthen
78137264de update to Bacula 5.2.6, ok ajacoutot@ merdely@
- don't use ports libtool, it passes invalid flags to the linker
- since libbaccats-${BACKEND} must have the same .so version as
libbaccats, use a variable to make sure they are kept in-sync
- mark as being SHARED_ONLY and sync/merge plists
2012-03-06 20:11:33 +00:00
ajacoutot
56da3454a4 Unfuck post-install target and use our libtool. 2011-11-25 11:00:27 +00:00
ajacoutot
62aa4a57d4 Reorder LDFLAGS (prefer -L.libs over /usr/local/lib) so that bacula can
be rebuilt while already installed.
Also use gnu LIBTOOL, ours doesn't work correctly.
2011-11-24 09:29:55 +00:00
ajacoutot
b549864bc8 Major update to bacula 5.2.1.
As usual with major version bump, do not forget to run the upgrade
script corresponding to your DB.
A new README is provided in the package.

Tested by sthen@ and myself.
"Don't wait on me" merdely@ (maintainer)

ok sthen@
2011-11-17 23:45:56 +00:00
ajacoutot
c94ae4fc50 Add rc scripts and adapt documentation accordingly.
maintainer timeout
ok sthen@
2011-03-21 17:06:23 +00:00
merdely
933c12c4c5 Fix links to documentation in MESSAGE-{main,server}.
From Jiri B.
ok sthen@
2010-08-05 13:32:27 +00:00
merdely
b92ffdaba9 Update bacula to 5.0.2.
Fixes the weird install issues with the bat binary

New features can be found here:
http://www.bacula.org/5.0.x-manuals/en/main/main/New_Features_in_5_0_0.html

Thanks to sthen for help with the new wantlib/lib_depends stuff,
removing the sqlite flavor, ...

Thanks to giovanni for pointing out a ${TRUEPREFIX} -> /usr/local that
crept into one of my patch files.

ok sthen@
2010-07-20 14:38:39 +00:00
sthen
1e9eafc865 Move %%SHARED%% up in the plist; it was in an @group _bacula @mode 640
section so the libraries weren't accessible by a normal user. These libs
were split off from the individual binaries in the last major update of
bacula (between openbsd 4.6 and 4.7) meaning that users not in group
_bacula would be unable to use the admin applications.

ok jasper@ merdely@
2010-01-19 14:50:51 +00:00
sthen
7964e23e14 Use @unexec-delete instead of @unexec for the *-update-* goos.
prodded by espie@
discussed with espie@ ajacoutot@ landry@
2009-12-22 12:51:52 +00:00
merdely
c74b337ec9 Update bacula to 3.0.2:
* Shared objects
	* Virtual backups
	* Duplicate Job Control
	* TLS Authentication
	* Exclude Dir Containing = <filename-string>
	* Plugins including Exchange 2003/2007 Plugin
	* libdbi backend abstraction
	* Bat enhancements

Upgrading from 2.4.4 to 3.0.2 requires updating the database using
/usr/local/libexec/bacula/update_bacula_database.  Database upgrades
from older databases can be done with other scripts in
/usr/local/libexec/bacula/updatedb.  You can determine your database
version in mysql and postgresql with 'select * from version'.

As sthen@ reminded me and the documentation points out, when upgrading
between major versions (2.x.x -> 3.x.x), you should upgrade all of your
components at the same time due to protocol changes.

a *lot* of help from and ok sthen@
2009-10-02 02:34:05 +00:00
sthen
555b47b93f "important bug fix" update to 2.4.4
ok merdely@ (maintainer).
2009-01-12 21:17:07 +00:00
merdely
a23f39a1d5 Update to bacula 2.4.3.
Add no_server PSEUDO_FLAVOR
Reorganize the Makefile some.
Remove dependency on qwt.
Set FULLPKGPATH for -main and -bat to remove backend dependencies
   (found by and solution from naddy@)
Use SUBST_CMD.

ok jdixon@, okan@
2008-10-19 03:44:42 +00:00
merdely
3687d4b37e Fix _bacula-sd uid. Bump package names.
Pointed out by sthen@
"reads fine" jasper@
2008-02-16 21:22:41 +00:00
merdely
27df66b44d Update bacula to 2.2.8.
Bacula changelog:
http://bacula.svn.sourceforge.net/viewvc/bacula/branches/Branch-2.2/bacula/ChangeLog?revision=6309&view=markup

Major port change in this version:
-main subpackage is now bacula-client
-server subpackage remains bacula-server
-bat subpackage is new bacula admin tool
-client subpackage goes away.

If the old -main subpackage was installed, the upgrade path is to
install both bacula-client and bacula-server.

Lots of input and assistance from sthen and okan.
ok okan;  "if it works for you, go for it" sthen
2008-02-07 02:53:35 +00:00
merdely
f7d1ecce3a Fix client to create /var/bacula directory. Prompted by robert@
ok robert@, simon@
2007-09-05 07:57:33 +00:00
robert
2dd63b900d import of bacula 2.0.3;
Bacula is a set of computer programs that permit you (or the system
administrator) to manage backup, recovery, and verification of
computer data across a network of computers of different kinds.
In technical terms, it is a network Client/Server based backup program.
Bacula is relatively easy to use and efficient, while offering many
advanced storage management features that make it easy to find and
recover lost or damaged files. Due to its modular design, Bacula is
scalable from small single computer systems to systems consisting of
hundreds of computers located over a large network.

from Mike Erdely <mike@erdelynet.com>
2007-07-20 11:02:14 +00:00