Commit Graph

83 Commits

Author SHA1 Message Date
ajacoutot
dc1c7c4872 MySQL -> MariaDB in READMEs. 2014-09-14 05:58:07 +00:00
brad
b94a402501 Switch from using MySQL to using MariaDB attempt #2. MariaDB is a drop-in replacement.
ok sthen@
2014-09-13 18:09:20 +00:00
ajacoutot
9978a4fabb Update to bacula-client-7.0.5. 2014-08-14 06:52:59 +00:00
ajacoutot
497984ddf0 rc.conf.local is in man(1) section 8, at least for now. 2014-07-10 13:09:06 +00:00
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
8da6e75884 Update to bacula 7.0.3.
ok sthen@
2014-05-21 10:12:34 +00:00
ajacoutot
845fd0b7d1 Sync wantlib after kerberos support got removed from postgresql. 2014-04-21 22:12:07 +00:00
sthen
fde3bb9550 tweak sample bacula-sd.conf; fix a couple of changer device names 2014-04-19 10:26:55 +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
e29522e2b8 Drop now unneeded CONFIGURE_ARGS. 2014-03-24 18:19:21 +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
brad
17833ea850 Revert back to using MySQL 5.1 for the time being. MariaDB 5.5 introduces
a new libmysqlclient non-blocking API which utilizes co-routines. The X86
specific GCC ASM co-routine support hid the fact that there was an issue.
The only fallback code so far is POSIX user contexts which OpenBSD does not
support.

Input from and Ok sthen@ jasper@
2013-06-12 20:36:33 +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
brad
0b77cf86a5 Switch from using MySQL to using MariaDB. MariaDB is a drop-in replacement.
ok sthen aja
2013-05-25 00:33:09 +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
f4a34124d1 Take MAINTAINER.
suggested by and ok merdely@ (current maintainer)
ok sthen@
2013-03-21 15:04:18 +00:00
espie
eae66e4a7b PERMIT_* / REGRESS->TEST sweep 2013-03-11 11:35:43 +00:00
ajacoutot
5db7ec3b4a Redo the autochanger patch to not include CVS tag which breaks 'make patch'
reported by krw@
2013-03-03 12:53:21 +00:00
ajacoutot
a009130a54 Implement "listall" for the autochanger chio(1) script; has been committed
upstream already.

ok sthen@ merdely@ (maintainer)
2013-03-02 13:54:52 +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
sthen
07491c240f trailing space in USE_LIBTOOL 2012-11-09 16:39:51 +00:00
ajacoutot
6f82aeee71 Fix the autochanger script to work when a device has several empty slots. 2012-10-01 10:34:54 +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
sthen
7df80f24fc update to Bacula 5.2.10, ok aja@ merdely@ 2012-07-09 18:40:58 +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
espie
4ed7caa04f first pass at handling sqlite3 move 2012-04-23 17:15:17 +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
0b88f3cbcc fix builds on a system which doesn't have already-existing _bacula users/groups.
spotted by naddy@, ok merdely@ aja@
2012-03-08 17:34:34 +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
sthen
02d77834f0 update Bacula to 5.2.2 (mostly bugfixes)
- Switch default flavour used by the port to pgsql; this is generally the
best-tested backend and gets the most testing. Setup isn't really
much more complicated than the old default in the port (sqlite) and
you don't really want to run into limitations and have to convert
it later. Doesn't affect packages as all flavours are built anyway.

ok ajacoutot@ merdely@ (maintainer)
2011-12-12 09:15:09 +00:00
ajacoutot
93635f2390 Remove uneeded patch for alpha; tested by naddy@ 2011-11-27 17:02:25 +00:00
ajacoutot
56da3454a4 Unfuck post-install target and use our libtool. 2011-11-25 11:00:27 +00:00
ajacoutot
82694f695b tyop, spotted by jasper@ 2011-11-24 09:57:38 +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