Commit Graph

53 Commits

Author SHA1 Message Date
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
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
espie
1d897681a2 use bsd.port.arch.mk to handle pseudo-flavors 2011-10-21 17:04:23 +00:00
landry
abd5502a67 Apply the same fix as net/zabbix after pkgpath normalization. Ensure FLAVOR
is set to something in the case another ports (webacula in that case) asks
bacula for its pkgpath. Hints from espie@
2011-09-20 08:01:20 +00:00
espie
46d3548829 normalize pkgpath 2011-09-16 11:41:38 +00:00
naddy
86ec33ec14 configure mistakenly assumes xattr support if it finds any of the
openat() family of functions, so poison the autoconf cache.
None of these functions are used outside the code for Solaris xattr.
2011-07-14 15:02:18 +00:00
ajacoutot
c94ae4fc50 Add rc scripts and adapt documentation accordingly.
maintainer timeout
ok sthen@
2011-03-21 17:06:23 +00:00
espie
6c283d7e98 new depends 2010-11-20 17:22:40 +00:00
espie
709b054ab9 USE_GROFF=Yes 2010-10-19 07:43:00 +00:00
robert
36904a728e Check for EVP_PKEY_encrypt_old in by linking toe automagic test program
to -lcrypto and -lss. This fixes bacula "autodetecting" the OpenSSL version.

bump pkgnames
2010-10-12 19:47:06 +00:00
steven
69e7eb3acc no longer requires gnu libtool 2010-09-24 21:10:16 +00:00
landry
f9e60e32e4 Use gnu libtool, the infamous '.libs/bat vs bat' issue is back when
using ports libtool. To be revisited.
2010-09-22 06:56:57 +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
ajacoutot
38d2466bd1 s/LOCALBASE/TRUEPREFIX/
ok merdely@ (maintainer)
2010-03-28 16:05:25 +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
bb1310ac0a Update to 3.0.3. Add a patch to fix build on alpha.
ok sthen@
2009-11-08 01:26:08 +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
kili
8fc6287292 WANTLIB changes after xcb addition and bump. 2009-08-10 06:29:51 +00:00
sthen
6ed32bddcc fix -bat WANTLIB, bump -bat 2009-06-19 11:13:39 +00:00
sthen
555b47b93f "important bug fix" update to 2.4.4
ok merdely@ (maintainer).
2009-01-12 21:17:07 +00:00
sthen
4ac8b82cf7 apply dist patch from upstream; 'We recently found and corrected a
serious bug in Bacula that causes jobs to be orphaned or "stuck" in
the director during the pruning process'. Bacula users are advised
to upgrade their directors.

ok merdely
2008-11-04 21:32:44 +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
428ccf6e52 Set the default FileSet in bacula-dir.conf to something that exists (/).
Found by Jacob Yocom-Piatt
"looks ok" steven@
2007-10-09 15:39:17 +00:00
merdely
bce7420683 Added vendor supplied PATCHFILE to fix restore bug #935
(http://marc.info/?l=bacula-announce&m=118937444909561&w=2)
This only affects bacula-sd.

tweaks and ok sthen@, ok steven@
2007-09-14 14:58:58 +00:00
merdely
30aa15efdc Fix permissions on scripts/binaries from 754 to 755.
Bump package names.

ok steven@
2007-09-11 20:26:45 +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
merdely
18aed34482 Update my email address.
ok simon@
2007-09-01 19:19:41 +00:00