• Home
  • History
  • Annotate
Name Date Size #Lines LOC

..03-Jun-2021-

files/H03-Jun-2021-10797

resources/H03-Jun-2021-10891

Makefile.inH A D03-Jun-20215 KiB167109

READMEH A D03-Jun-20212.5 KiB5644

installer-gencontents.pyH A D03-Jun-20211.7 KiB5740

README

1Bacula file daemon package builder for Mac OS X
2===============================================
3
4This package build script lets you download, compile and package the bacula
5file daemon easily with a single command line. In addition to the Bacula file daemon
6the resulting installer package contains a short ReadMe file with instructions
7on how to install and use the software. Also a basic launchd property list is
8included along with preupgrade and postflight installer scripts to stop and
9restart the daemon while upgrading. To ensure the security of the users the
10passwords in the configuration files are generated during a first time
11installation and file permissions are checked and corrected on upgrades.
12
13Requirements:
14* Mac OS X 10.5 or later (building/packaging), 10.4 or later (deployment)
15* Mac OS X developer tools installed
16
17Example (compile and create package from within Bacula source tree):
18$ ./configure --enable-client-only
19$ make -C platforms/osx
20
21By moving the contents of platforms/osx to some other directory (e.g.
22~/bacula-standalone-bulder), it is possible to create installer packages from
23older bacula versions and for specific platforms.
24
25Examples (standalone mode):
26 1. Create an installer package from the newest supported bacula source
27    containing the bacula file daemon as a PPC/Intel universal binary.
28    $ make dmg
29
30 2. Create an installer package from a specified version of the bacula source
31    containing the bacula file daemon as a PPC/Intel universal binary.
32    $ make dmg BACULA_VERSION=3.0.0
33
34 3. Create an installer package from the newest supported bacula source
35    containing the bacula file daemon for PPC architecture only.
36    $ make dmg ARCHFLAGS="-arch ppc" PACKAGE_TITLE="Bacula File Daemon PPC x.y.z"
37
38 4. Create an installer package from a specified version of the bacula source
39    containing the bacula file daemon for the current architecture.
40    $ make dmg BACULA_VERSION=2.4.4 ARCHFLAGS=""
41
42You find the built disk images in the products folder.
43
44Misc commands:
45  1. Cleanup the build directory
46     $ make clean
47  2. Additionally remove the downloads and products:
48     $ make distclean
49
50Additional notes on the build-script:
51  * The following *FLAGS are used tu build universal binary with 10.4 SDK:
52    CPPFLAGS=-isysroot /Developer/SDKs/MacOSX10.4u.sdk -mmacosx-version-min=10.4
53    CFLAGS=-O -g -arch i386 -arch ppc
54    CXXFLAGS=${CFLAGS}
55    LDFLAGS=-Wl,-syslibroot,/Developer/SDKs/MacOSX10.4u.sdk -mmacosx-version-min=10.4 -arch i386 -arch ppc
56