View | Details | Raw Unified | Return to bug 113438
Collapse All | Expand All

(-)bacula-server-devel/Makefile (-86 / +18 lines)
Lines 6-12 Link Here
6
#
6
#
7
7
8
PORTNAME=	bacula
8
PORTNAME=	bacula
9
DISTVERSION=	1.39.34
9
DISTVERSION=	2.1.12
10
CATEGORIES=	sysutils
10
CATEGORIES=	sysutils
11
MASTER_SITES=	${MASTER_SITE_SOURCEFORGE}
11
MASTER_SITES=	${MASTER_SITE_SOURCEFORGE}
12
MASTER_SITE_SUBDIR=	bacula
12
MASTER_SITE_SUBDIR=	bacula
Lines 19-27 Link Here
19
19
20
UNIQUENAME?=${PORTNAME}${PKGNAMESUFFIX}
20
UNIQUENAME?=${PORTNAME}${PKGNAMESUFFIX}
21
21
22
USE_RC_SUBR?=	bacula-dir.sh bacula-sd.sh
22
USE_RC_SUBR?=	bacula-dir bacula-sd
23
23
24
SUB_FILES+=	pkg-message
24
.if defined(WITH_CLIENT_ONLY)
25
SUB_FILES+=	pkg-message.client
26
.else
27
SUB_FILES+=	pkg-message.server
28
.endif
25
29
26
# The user/group IDs below are registered, see
30
# The user/group IDs below are registered, see
27
# http://www.freebsd.org/doc/en_US.ISO8859-1/books/porters-handbook/book.html#DADS-UID
31
# http://www.freebsd.org/doc/en_US.ISO8859-1/books/porters-handbook/book.html#DADS-UID
Lines 53-60 Link Here
53
		PTHREAD_CFLAGS="${PTHREAD_CFLAGS}" \
57
		PTHREAD_CFLAGS="${PTHREAD_CFLAGS}" \
54
		PTHREAD_LIBS="${PTHREAD_LIBS}"
58
		PTHREAD_LIBS="${PTHREAD_LIBS}"
55
59
56
ALL_OPTIONS=	CLIENT_ONLY WXCONSOLE GNOMECONSOLE SQLITE3 MYSQL POSTGRESQL MTX OPENSSL DOCS
57
58
.for opt in ${ALL_OPTIONS}
60
.for opt in ${ALL_OPTIONS}
59
.if defined(WITH_${opt})
61
.if defined(WITH_${opt})
60
BATCH=	yes
62
BATCH=	yes
Lines 68-79 Link Here
68
.if defined(WITH_CLIENT_ONLY)
70
.if defined(WITH_CLIENT_ONLY)
69
OPTIONS+=	WXCONSOLE "Build with wxGTK based GUI console" off
71
OPTIONS+=	WXCONSOLE "Build with wxGTK based GUI console" off
70
OPTIONS+=	GNOMECONSOLE "Build with GNOME based GUI console" off
72
OPTIONS+=	GNOMECONSOLE "Build with GNOME based GUI console" off
71
OPTIONS+=	DOCS "Install documention" off
72
.else
73
.else
73
OPTIONS=	SQLITE3 "Use SqLite-3 database instead of SqLite-2" off
74
OPTIONS=	SQLITE3 "Use SqLite-3 database instead of SqLite-2" off
74
OPTIONS+=	MYSQL "Use MySQL database instead of SqLite" off
75
OPTIONS+=	MYSQL "Use MySQL database instead of SqLite" off
75
OPTIONS+=	POSTGRESQL "Use PostgreSQL database instead of SqLite" off
76
OPTIONS+=	POSTGRESQL "Use PostgreSQL database instead of SqLite" off
76
OPTIONS+=	MTX "Install mtx for control of autochanger devices" off
77
OPTIONS+=	MTX "Install mtx for control of autochanger devices" off
78
OPTIONS+=	AUTOSETEOT "Enable auto seteotmodel" off
77
.endif
79
.endif
78
80
79
OPTIONS+=	NLS "Native Language Support via gettext utilities" on
81
OPTIONS+=	NLS "Native Language Support via gettext utilities" on
Lines 90-104 Link Here
90
92
91
.include <bsd.port.pre.mk>
93
.include <bsd.port.pre.mk>
92
94
93
#DISTFILES=	${PORTNAME}-${PORTVERSION}.tar.gz
94
#.if defined(WITH_DOCS)
95
#DISTFILES+=	${PORTNAME}-docs-${PORTVERSION}.tar.gz
96
#.endif
97
98
.if defined(WITH_DOCS)
99
PORTDOCS=	ReleaseNotes bacula.pdf developers.pdf kernstodo manual bacula-web
100
.endif
101
102
.if defined(WITH_NLS)
95
.if defined(WITH_NLS)
103
USE_GETTEXT=	yes
96
USE_GETTEXT=	yes
104
CONFIGURE_ARGS+=	--enable-nls
97
CONFIGURE_ARGS+=	--enable-nls
Lines 150-156 Link Here
150
SUB_LIST+=		REQ_MYSQL="" REQ_PGSQL=postgresql
143
SUB_LIST+=		REQ_MYSQL="" REQ_PGSQL=postgresql
151
.elif defined(WITH_SQLITE3)
144
.elif defined(WITH_SQLITE3)
152
CONFIGURE_ARGS+=	--with-sqlite3=yes
145
CONFIGURE_ARGS+=	--with-sqlite3=yes
153
LIB_DEPENDS+=		sqlite3:${PORTSDIR}/databases/sqlite3
146
LIB_DEPENDS+=		sqlite3-threads>=0:${PORTSDIR}/databases/sqlite3-threads
154
DBTYPE=			sqlite3
147
DBTYPE=			sqlite3
155
.else
148
.else
156
CONFIGURE_ARGS+=	--with-sqlite=yes
149
CONFIGURE_ARGS+=	--with-sqlite=yes
Lines 172-178 Link Here
172
MAN8=bacula-fd.8 bconsole.8
165
MAN8=bacula-fd.8 bconsole.8
173
.else
166
.else
174
MAN8=bacula.8 bacula-dir.8 bacula-sd.8 bcopy.8 bextract.8 bls.8 bscan.8 btape.8 btraceback.8 dbcheck.8
167
MAN8=bacula.8 bacula-dir.8 bacula-sd.8 bcopy.8 bextract.8 bls.8 bscan.8 btape.8 btraceback.8 dbcheck.8
175
MAN1=bsmtp.1 bacula-console-gnome.1 bacula-tray-monitor.1 bacula-wxconsole.1
168
MAN1=bsmtp.1 bat.1
176
.endif
169
.endif
177
MAKE_ARGS+=	-E MAN8 -E MAN1
170
MAKE_ARGS+=	-E MAN8 -E MAN1
178
MAKE_ENV+=	MAN8="${MAN8}" MAN1="${MAN1}"
171
MAKE_ENV+=	MAN8="${MAN8}" MAN1="${MAN1}"
Lines 199-206 Link Here
199
	@${ECHO_MSG} ""
192
	@${ECHO_MSG} ""
200
	@${ECHO_MSG} "The default DB is SQLite-2!"
193
	@${ECHO_MSG} "The default DB is SQLite-2!"
201
.endif
194
.endif
202
	@${ECHO_MSG} "  WITH_DOCS=yes  		if you want the documentation installed."
203
	@${ECHO_MSG} "  WITH_OPENSSL=yes  	Enable OpenSSL for encrypted communication."
195
	@${ECHO_MSG} "  WITH_OPENSSL=yes  	Enable OpenSSL for encrypted communication."
196
.if !defined(WITH_AUTOSETEOT)
197
	@${ECHO_MSG} "  WITH_AUTOSETEOT=yes  	Enable auto seteotmodel (especially useful with TWO EOF = no.)"
198
.endif
204
	@${ECHO_MSG} ""
199
	@${ECHO_MSG} ""
205
	@${ECHO_MSG} "===> Using ${DBTYPE} as the bacula database."
200
	@${ECHO_MSG} "===> Using ${DBTYPE} as the bacula database."
206
	@${ECHO_MSG} ""
201
	@${ECHO_MSG} ""
Lines 220-225 Link Here
220
#	In server port don't install filed
215
#	In server port don't install filed
221
	@${REINPLACE_CMD} -e '/^fd_subdirs = /s|src/filed||' -e 's|src/console||' ${WRKSRC}/Makefile.in
216
	@${REINPLACE_CMD} -e '/^fd_subdirs = /s|src/filed||' -e 's|src/console||' ${WRKSRC}/Makefile.in
222
.endif
217
.endif
218
.if defined(WITH_AUTOSETEOT)
219
	@cd ${WRKSRC} && ${PATCH} --quiet < ${FILESDIR}/eotmodel-src-stored-dev.c.patch
220
.endif
221
223
222
224
pre-install:
223
pre-install:
225
	if [ ! -d "${BACULA_DIR}" ]; then \
224
	if [ ! -d "${BACULA_DIR}" ]; then \
Lines 264-282 Link Here
264
	fi
263
	fi
265
.endif
264
.endif
266
265
267
# Documentation is only installed in -client port
268
.if !defined(NOPORTDOCS) && defined(WITH_DOCS)
269
	for na in manual bacula-web; do \
270
		${MKDIR} ${DOCSDIR}/$$na ;\
271
		cd ${WRKDIR}/${PORTNAME}-docs-${PORTVERSION} && ${FIND} $$na | \
272
			${CPIO} -pdm -L -R root:wheel ${DOCSDIR}; \
273
	done
274
	${INSTALL_DATA} ${WRKDIR}/${PORTNAME}-${PORTVERSION}/ReleaseNotes ${DOCSDIR}
275
	${INSTALL_DATA} ${WRKDIR}/${PORTNAME}-docs-${PORTVERSION}/manual/bacula.pdf ${DOCSDIR}
276
	${INSTALL_DATA} ${WRKDIR}/${PORTNAME}-docs-${PORTVERSION}/developers/developers.pdf ${DOCSDIR}
277
	${INSTALL_DATA} ${WRKDIR}/${PORTNAME}-${PORTVERSION}/kernstodo ${DOCSDIR}
278
.endif
279
280
#	ensure that users in the bacula group can run bconsole
266
#	ensure that users in the bacula group can run bconsole
281
	${CHGRP} bacula ${PREFIX}/sbin/bconsole
267
	${CHGRP} bacula ${PREFIX}/sbin/bconsole
282
.else
268
.else
Lines 304-363 Link Here
304
		fi; \
290
		fi; \
305
	done
291
	done
306
292
307
# Inform user after install about important things ....
293
	@${CAT} ${PKGMESSAGE}
308
	@${ECHO_MSG} "*********************************************************************"
309
	@${ECHO_MSG} "NOTE:"
310
	@${ECHO_MSG} "Sample files are installed in ${PREFIX}/etc:"
311
	@${ECHO_MSG} "  bconsole.conf.sample, bacula-barcodes.sample, bacula-fd.conf.sample"
312
.if !defined(WITH_CLIENT_ONLY)
313
	@${ECHO_MSG} "  bacula-sd.conf.sample, bacula-dir.conf.sample"
314
	@${ECHO_MSG} ""
315
	@${ECHO_MSG} "An auto-changer manipulation script based on FreeBSDs"
316
	@${ECHO_MSG} "chio command is included and installed at"
317
	@${ECHO_MSG} ""
318
	@${ECHO_MSG} "  ${PREFIX}/sbin/chio-bacula"
319
	@${ECHO_MSG} ""
320
	@${ECHO_MSG} "Please have a look at it if you want to use an"
321
	@${ECHO_MSG} "autochanger. You have to configure the usage in"
322
	@${ECHO_MSG} ""
323
	@${ECHO_MSG} "  ${PREFIX}/etc/bacula-dir.conf"
324
	@${ECHO_MSG} ""
325
	@${ECHO_MSG} "Take care of correct permissions for changer and"
326
	@${ECHO_MSG} "tape device (e.g. /dev/ch0 and /dev/n[r]sa0) i.e."
327
	@${ECHO_MSG} "they must be accessible by user bacula."
328
	@${ECHO_MSG} ""
329
	@${ECHO_MSG} "Due to lack of some features in the FreeBSD tape driver"
330
	@${ECHO_MSG} "implementation you MUST add some OS dependent options to"
331
	@${ECHO_MSG} "the bacula-sd.conf file:"
332
	@${ECHO_MSG} ""
333
	@${ECHO_MSG} "  Hardware End of Medium = no;"
334
	@${ECHO_MSG} "  Backward Space Record = no;"
335
	@${ECHO_MSG} "  Backward Space File = no;"
336
	@${ECHO_MSG} ""
337
	@${ECHO_MSG} "With 2 filemarks at EOT (see man mt):"
338
	@${ECHO_MSG} "  Fast Forward Space File = no;"
339
	@${ECHO_MSG} "  BSF at EOM = yes;"
340
	@${ECHO_MSG} "  TWO EOF = yes;"
341
	@${ECHO_MSG} ""
342
	@${ECHO_MSG} "With 1 filemarks at EOT (see man mt):"
343
	@${ECHO_MSG} "  Fast Forward Space File = yes;"
344
	@${ECHO_MSG} "  BSF at EOM = no;"
345
	@${ECHO_MSG} "  TWO EOF = no;"
346
	@${ECHO_MSG} ""
347
	@${ECHO_MSG} "NOTE: YOU CAN SWITCH EOT model ONLY when starting"
348
	@${ECHO_MSG} "      from scratch with EMPTY tapes!!!!"
349
	@${ECHO_MSG} ""
350
	@${ECHO_MSG} "It is also important that all the scripts accessed"
351
	@${ECHO_MSG} "by RunBeforeJob and RunAfterJob can be executed by"
352
	@${ECHO_MSG} "the user bacula."
353
	@${ECHO_MSG} ""
354
	@${ECHO_MSG} "For USB support read the bacula manual!! It could be necessary"
355
	@${ECHO_MSG} "to configure/compile a new kernel!"
356
	@${ECHO_MSG} ""
357
	@${ECHO_MSG} "Look at ${PREFIX}/share/bacula/update_bacula_tables for"
358
	@${ECHO_MSG} "database update procedure. Details can be found in the"
359
	@${ECHO_MSG} "ReleaseNotes"
360
.endif
361
	@${ECHO_MSG} "*********************************************************************"
362
294
363
.include <bsd.port.post.mk>
295
.include <bsd.port.post.mk>
(-)bacula-server-devel/distinfo (-3 / +3 lines)
Lines 1-3 Link Here
1
MD5 (bacula-1.39.34.tar.gz) = 872e2570a7616e1734128869312030e0
1
MD5 (bacula-2.1.12.tar.gz) = c0fcb9a38462ee9a2e47fe550a60fcc6
2
SHA256 (bacula-1.39.34.tar.gz) = a848fe27113ea713beb79dd21c7c382458fb4cb4b5c5e2f4868e459b5605a050
2
SHA256 (bacula-2.1.12.tar.gz) = 4cf59985aa2847ba95fc05fd938c655ff191be3c60d28ed8f5c24eb62b045d83
3
SIZE (bacula-1.39.34.tar.gz) = 2487005
3
SIZE (bacula-2.1.12.tar.gz) = 2867285
(-)bacula-server-devel/files/bacula-dir.in (+31 lines)
Line 0 Link Here
1
#!/bin/sh
2
#
3
# $FreeBSD: ports/sysutils/bacula-server/files/bacula-dir.in,v 1.2 2007/01/04 23:22:30 itetcu Exp $
4
#
5
# PROVIDE: utility
6
# REQUIRE: DAEMON %%REQ_MYSQL%% %%REQ_PGSQL%%
7
# KEYWORD: shutdown
8
#
9
# Add the following lines to /etc/rc.conf.local or /etc/rc.conf
10
# to enable this service:
11
#
12
# bacula_dir_enable  (bool):   Set to NO by default.
13
#                Set it to YES to enable bacula_dir.
14
# bacula_dir_flags (params):   Set params used to start bacula_dir.
15
#
16
17
. %%RC_SUBR%%
18
19
name="bacula_dir"
20
rcvar=${name}_enable
21
command=%%PREFIX%%/sbin/bacula-dir
22
23
load_rc_config $name
24
25
pidfile="${bacula_dir_pidfile}"
26
27
: ${bacula_dir_enable="NO"}
28
: ${bacula_dir_flags=" -u bacula -g bacula -v -c %%PREFIX%%/etc/bacula-dir.conf"}
29
: ${bacula_dir_pidfile="/var/run/bacula-dir.9101.pid"}
30
31
run_rc_command "$1"
(-)bacula-server-devel/files/bacula-dir.sh.in (-31 lines)
Lines 1-31 Link Here
1
#!/bin/sh
2
#
3
# $FreeBSD: ports/sysutils/bacula-server-devel/files/bacula-dir.sh.in,v 1.3 2006/09/09 20:17:39 itetcu Exp $
4
#
5
# PROVIDE: utility
6
# REQUIRE: DAEMON %%REQ_MYSQL%% %%REQ_PGSQL%%
7
# KEYWORD: shutdown
8
#
9
# Add the following lines to /etc/rc.conf.local or /etc/rc.conf
10
# to enable this service:
11
#
12
# bacula_dir_enable  (bool):   Set to NO by default.
13
#                Set it to YES to enable bacula_dir.
14
# bacula_dir_flags (params):   Set params used to start bacula_dir.
15
#
16
17
. %%RC_SUBR%%
18
19
name="bacula_dir"
20
rcvar=${name}_enable
21
command=%%PREFIX%%/sbin/bacula-dir
22
23
load_rc_config $name
24
25
pidfile="${bacula_dir_pidfile}"
26
27
: ${bacula_dir_enable="NO"}
28
: ${bacula_dir_flags=" -u bacula -g bacula -v -c %%PREFIX%%/etc/bacula-dir.conf"}
29
: ${bacula_dir_pidfile="/var/run/bacula-dir.9101.pid"}
30
31
run_rc_command "$1"
(-)bacula-server-devel/files/bacula-fd.in (+31 lines)
Line 0 Link Here
1
#!/bin/sh
2
#
3
# $FreeBSD: ports/sysutils/bacula-server/files/bacula-fd.in,v 1.4 2007/03/01 12:19:01 miwi Exp $
4
#
5
# PROVIDE: utility
6
# REQUIRE: DAEMON
7
# KEYWORD: shutdown
8
#
9
# Add the following lines to /etc/rc.conf.local or /etc/rc.conf
10
# to enable this service:
11
#
12
# bacula_fd_enable  (bool):  Set to NO by default.
13
#               Set it to YES to enable bacula_fd.
14
# bacula_fd_flags (params):  Set params used to start bacula_fd.
15
#
16
17
. %%RC_SUBR%%
18
19
name="bacula_fd"
20
rcvar=${name}_enable
21
command=%%PREFIX%%/sbin/bacula-fd
22
23
load_rc_config $name
24
25
pidfile="${bacula_fd_pidfile}"
26
27
: ${bacula_fd_enable="NO"}
28
: ${bacula_fd_flags=" -u root -g wheel -v -c %%PREFIX%%/etc/bacula-fd.conf"}
29
: ${bacula_fd_pidfile="/var/run/bacula-fd.9102.pid"}
30
31
run_rc_command "$1"
(-)bacula-server-devel/files/bacula-fd.sh.in (-31 lines)
Lines 1-31 Link Here
1
#!/bin/sh
2
#
3
# $FreeBSD: ports/sysutils/bacula-server-devel/files/bacula-fd.sh.in,v 1.2 2006/09/09 20:17:39 itetcu Exp $
4
#
5
# PROVIDE: utility
6
# REQUIRE: DAEMON
7
# KEYWORD: shutdown
8
#
9
# Add the following lines to /etc/rc.conf.local or /etc/rc.conf
10
# to enable this service:
11
#
12
# bacula_fd_enable  (bool):  Set to NO by default.
13
#               Set it to YES to enable bacula_fd.
14
# bacula_fd_flags (params):  Set params used to start bacula_fd.
15
#
16
17
. %%RC_SUBR%%
18
19
name="bacula_fd"
20
rcvar=${name}_enable
21
command=/usr/local/sbin/bacula-fd
22
23
load_rc_config $name
24
25
pidfile="${bacula_fd_pidfile}"
26
27
: ${bacula_fd_enable="NO"}
28
: ${bacula_fd_flags=" -u root -g wheel -v -c /usr/local/etc/bacula-fd.conf"}
29
: ${bacula_fd_pidfile="/var/run/bacula-fd.9102.pid"}
30
31
run_rc_command "$1"
(-)bacula-server-devel/files/bacula-sd.conf.in (+20 lines)
Line 0 Link Here
1
--- src/stored/bacula-sd.conf.in.org	Tue Feb 13 18:56:09 2007
2
+++ src/stored/bacula-sd.conf.in	Tue Feb 13 18:56:16 2007
3
@@ -152,6 +152,7 @@
4
  #Device {
5
  #  Name = "DVD-Writer"
6
  #  Media Type = DVD
7
+#  Device Type = DVD
8
  #  Archive Device = /dev/hdc
9
  #  LabelMedia = yes;                   # lets Bacula label unlabeled media
10
  #  Random Access = Yes;
11
@@ -162,7 +163,9 @@
12
  #  RequiresMount = yes;
13
  #  MountPoint = /mnt/cdrom;
14
  #  MountCommand = "/bin/mount -t iso9660 -o ro %a %m";
15
+#  MountCommand = "/sbin/mount -t cd9660 -o ro %a %m";     # FreeBSD
16
  #  UnmountCommand = "/bin/umount %m";
17
+#  UnmountCommand = "/sbin/umount %m";                     # FreeBSD
18
  #  SpoolDirectory = /tmp/backup;
19
  #  WritePartCommand = "/etc/bacula/dvd-handler %a write %e %v"
20
  #  FreeSpaceCommand = "/etc/bacula/dvd-handler %a free"
(-)bacula-server-devel/files/bacula-sd.in (+31 lines)
Line 0 Link Here
1
#!/bin/sh
2
#
3
# $FreeBSD: ports/sysutils/bacula-server/files/bacula-sd.in,v 1.3 2007/02/28 21:13:11 laszlof Exp $
4
#
5
# PROVIDE: utility
6
# REQUIRE: DAEMON
7
# KEYWORD: shutdown
8
#
9
# Add the following lines to /etc/rc.conf.local or /etc/rc.conf
10
# to enable this service:
11
#
12
# bacula_sd_enable  (bool):  Set to NO by default.
13
#               Set it to YES to enable bacula_sd.
14
# bacula_sd_flags (params):  Set params used to start bacula_sd.
15
#
16
17
. %%RC_SUBR%%
18
19
name="bacula_sd"
20
rcvar=`set_rcvar`
21
command=%%PREFIX%%/sbin/bacula-sd
22
23
load_rc_config $name
24
25
pidfile="${bacula_sd_pidfile}"
26
27
: ${bacula_sd_enable="NO"}
28
: ${bacula_sd_flags=" -u bacula -g bacula -v -c %%PREFIX%%/etc/bacula-sd.conf"}
29
: ${bacula_sd_pidfile="/var/run/bacula-sd.9103.pid"}
30
31
run_rc_command "$1"
(-)bacula-server-devel/files/bacula-sd.sh.in (-31 lines)
Lines 1-31 Link Here
1
#!/bin/sh
2
#
3
# $FreeBSD: ports/sysutils/bacula-server-devel/files/bacula-sd.sh.in,v 1.3 2006/09/09 20:17:39 itetcu Exp $
4
#
5
# PROVIDE: utility
6
# REQUIRE: DAEMON
7
# KEYWORD: shutdown
8
#
9
# Add the following lines to /etc/rc.conf.local or /etc/rc.conf
10
# to enable this service:
11
#
12
# bacula_sd_enable  (bool):  Set to NO by default.
13
#               Set it to YES to enable bacula_sd.
14
# bacula_sd_flags (params):  Set params used to start bacula_sd.
15
#
16
17
. %%RC_SUBR%%
18
19
name="bacula_sd"
20
rcvar=`set_rcvar`
21
command=/usr/local/sbin/bacula-sd
22
23
load_rc_config $name
24
25
pidfile="${bacula_sd_pidfile}"
26
27
: ${bacula_sd_enable="NO"}
28
: ${bacula_sd_flags=" -u bacula -g bacula -v -c /usr/local/etc/bacula-sd.conf"}
29
: ${bacula_sd_pidfile="/var/run/bacula-sd.9103.pid"}
30
31
run_rc_command "$1"
(-)bacula-server-devel/files/eotmodel-src-stored-dev.c.patch (+10 lines)
Line 0 Link Here
1
Index: src/stored/dev.c
2
@@ -2368,7 +2368,7 @@
3
       }
4
    }
5
 /* Turn this on later when fully tested */
6
-#if defined(xxxMTIOCSETEOTMODEL) 
7
+#if defined(MTIOCSETEOTMODEL) 
8
    uint32_t neof;
9
    if (dev->has_cap(CAP_TWOEOF)) {
10
       neof = 2;
(-)bacula-server-devel/files/pkg-message.client.in (+23 lines)
Line 0 Link Here
1
################################################################################
2
3
NOTE:
4
Sample files are installed in ${PREFIX}/etc:
5
bconsole.conf.sample, bacula-barcodes.sample, bacula-fd.conf.sample
6
7
  Please read this file:
8
9
	%%DOCSDIR%%/ReleaseNotes
10
11
  as installed by docs port for the upgrade procedure.
12
13
IMPORTANT UPGRADE NOTES:
14
15
- A database upgrade is required.
16
- Your Director and SD must be simultaneously upgraded.
17
- The "Accept Any Volume" directive has been removed.
18
19
- Lots of new features
20
21
Read the ReleaseNotes for further information.
22
23
################################################################################
(-)bacula-server-devel/files/pkg-message.in (-24 lines)
Lines 1-24 Link Here
1
################################################################################
2
  Please read this file:
3
4
	%%DOCSDIR%%/ReleaseNotes
5
6
  for the upgrade procedure!
7
8
  IF YOU IGNORE THIS you may !! LOSE DATA !!
9
10
IMPORTANT UPGRADE NOTES:
11
12
- A database upgrade is required.
13
- Your Director and SD must be simultaneously upgraded.
14
- The "Accept Any Volume" directive has been removed.
15
16
- Lots of new features
17
18
Read the ReleaseNotes for further information.
19
20
  Please note that bacula-server no longer installs the client
21
  and that the documentation can be optionally installed with the
22
  client port (sysutils/bacula-client).
23
24
################################################################################
(-)bacula-server-devel/files/pkg-message.server.in (+66 lines)
Line 0 Link Here
1
################################################################################
2
NOTE:
3
4
An auto-changer manipulation script based on FreeBSDs
5
chio command is included and installed at
6
7
  ${PREFIX}/sbin/chio-bacula
8
9
Please have a look at it if you want to use an
10
autochanger. You have to configure the usage in
11
12
  ${PREFIX}/etc/bacula-dir.conf
13
14
Take care of correct permissions for changer and
15
tape device (e.g. /dev/ch0 and /dev/n[r]sa0) i.e.
16
they must be accessible by user bacula.
17
18
Due to lack of some features in the FreeBSD tape driver
19
implementation you MUST add some OS dependent options to
20
the bacula-sd.conf file:
21
22
  Hardware End of Medium = no;
23
  Backward Space Record  = no;
24
  Backward Space File    = no;
25
26
With 2 filemarks at EOT (see man mt):
27
  Fast Forward Space File = no;
28
  BSF at EOM = yes;
29
  TWO EOF    = yes;
30
31
With 1 filemarks at EOT (see man mt):
32
  Fast Forward Space File = yes;
33
  BSF at EOM = no;
34
  TWO EOF   = no;
35
36
NOTE: YOU CAN SWITCH EOT model ONLY when starting
37
      from scratch with EMPTY tapes.
38
39
It is also important that all the scripts accessed
40
by RunBeforeJob and RunAfterJob will be executed by
41
the user bacula.  Check your permissions.
42
43
For USB support read the bacula manual. It could be necessary
44
to configure/compile a new kernel.
45
46
Look at ${PREFIX}/share/bacula/update_bacula_tables for
47
database update procedure. Details can be found in the
48
ReleaseNotes
49
50
  Please read this file:
51
52
	%%DOCSDIR%%/ReleaseNotes
53
54
  as installed by docs port for the upgrade procedure.
55
56
IMPORTANT UPGRADE NOTES FOR THIS RELEASE:
57
58
- A database upgrade is required.
59
- Your Director and SD must be simultaneously upgraded.
60
- The "Accept Any Volume" directive has been removed.
61
62
- Lots of new features
63
64
Read the ReleaseNotes for further information.
65
66
################################################################################

Return to bug 113438