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

(-)Makefile (-47 / +37 lines)
Lines 6-21 Link Here
6
#
6
#
7
7
8
PORTNAME=	boxbackup
8
PORTNAME=	boxbackup
9
PORTVERSION=	0.10
9
PORTVERSION=	0.11.r${SVNVERSION:C/^[0-9\.]+_[a-z]+_([0-9]+)/\1/}
10
PORTREVISION=	2
11
CATEGORIES=	sysutils
10
CATEGORIES=	sysutils
12
MASTER_SITES=	SF
11
MASTER_SITES=	http://www.boxbackup.org/snapshots/%SUBDIR%/
12
PKGNAMESUFFIX=	${CLIENT_OR_SERVER}-devel
13
DISTNAME=	${PORTNAME}-${SVNVERSION}
13
EXTRACT_SUFX=	.tgz
14
EXTRACT_SUFX=	.tgz
14
PKGNAMESUFFIX=	-devel
15
15
16
MAINTAINER=	james@netinertia.co.uk
16
MAINTAINER=	james@netinertia.co.uk
17
COMMENT=	An open source, completely automatic on-line backup system for UNIX
17
COMMENT=	An open source, completely automatic on-line backup system for UNIX
18
18
19
MASTER_SITE_SUBDIR=201108
20
SVNVERSION=	0.11_trunk_2979
21
19
NO_LATEST_LINK=	yes
22
NO_LATEST_LINK=	yes
20
23
21
USE_OPENSSL=	yes
24
USE_OPENSSL=	yes
Lines 24-40 Link Here
24
USE_AUTOTOOLS=	autoconf aclocal autoheader
27
USE_AUTOTOOLS=	autoconf aclocal autoheader
25
ACLOCAL_ARGS+=	-I ${WRKSRC}/infrastructure/m4
28
ACLOCAL_ARGS+=	-I ${WRKSRC}/infrastructure/m4
26
29
30
# Box now defaults to /etc for configuration. Linux devs make me sad.
31
# Override this.
32
CONFIGURE_ARGS+=--sysconfdir=${PREFIX}/etc
33
27
PKGMESSAGE=	${WRKDIR}/pkg-message
34
PKGMESSAGE=	${WRKDIR}/pkg-message
28
35
29
OPTIONS=	CLIENT "Install the bbackupd client" On \
36
OPTIONS=	CLIENT "Install the bbackupd client" On \
30
		SERVER "Install the bbstored server" On \
37
		SERVER "Install the bbstored server" On \
31
		GNUREADLINE "Enable the use of GNU readline" Off \
38
		GNUREADLINE "Enable the use of GNU readline" Off
32
		TESTS  "Allows use of a 'test' target to run tests" Off
33
39
34
.include <bsd.port.pre.mk>
40
.include <bsd.port.pre.mk>
35
41
36
TARGETOS!=	${ECHO_CMD} `${UNAME} -s``${UNAME} -r | ${SED} -e 's/[-(].*//'` | ${TR} A-Z a-z
37
38
.if defined(WITH_GNUREADLINE)
42
.if defined(WITH_GNUREADLINE)
39
CONFIGURE_ARGS+=--enable-gnu-readline
43
CONFIGURE_ARGS+=--enable-gnu-readline
40
.endif
44
.endif
Lines 44-98 Link Here
44
		Please 'make config' again
48
		Please 'make config' again
45
.endif
49
.endif
46
50
47
.if defined(WITHOUT_CLIENT)
51
MANCOMPRESSED=	yes
48
PLIST_SUB+=	CLIENT="@comment "
52
.if defined(WITH_CLIENT)
49
.else
53
USE_RC_SUBR+=	bbackupd
50
USE_RC_SUBR+=	bbackupd.sh
51
PLIST_SUB+=	CLIENT=""
54
PLIST_SUB+=	CLIENT=""
52
ALL_TARGET+=	parcels/${DISTNAME}-backup-client-${TARGETOS}.tgz
55
ALL_TARGET+=	build-backup-client
53
INSTALL_TARGET+=install-backup-client
56
INSTALL_TARGET+=install-backup-client
57
MAN5+=		bbackupd.conf.5
58
MAN8+=		bbackupd.8 bbackupctl.8 bbackupd-config.8 bbackupquery.8
59
SUB_FILES+=	999.boxbackup
60
.else
61
PLIST_SUB+=	CLIENT="@comment "
54
.endif
62
.endif
55
63
56
.if defined(WITHOUT_SERVER)
64
.if defined(WITH_SERVER)
57
PLIST_SUB+=	SERVER="@comment "
65
USE_RC_SUBR+=	bbstored
58
.else
66
USERS+=		_bbstored
59
USE_RC_SUBR+=	bbstored.sh
67
GROUPS+=	_bbstored
60
PLIST_SUB+=	SERVER=""
68
PLIST_SUB+=	SERVER=""
61
ALL_TARGET+=	parcels/${DISTNAME}-backup-server-${TARGETOS}.tgz
69
ALL_TARGET+=	build-backup-server
62
INSTALL_TARGET+=install-backup-server
70
INSTALL_TARGET+=install-backup-server
71
MAN5+=		bbstored.conf.5 raidfile.conf.5
72
MAN8+=		bbstored.8 bbstoreaccounts.8 bbstored-certs.8 bbstored-config.8 raidfile-config.8
73
.else
74
PLIST_SUB+=	SERVER="@comment "
63
.endif
75
.endif
64
76
65
CONFLICTS=	boxbackup-server-[0-9]* boxbackup-client-[0-9]*
77
CONFLICTS=	boxbackup-server-[0-9]* boxbackup-client-[0-9]*
66
.if defined(WITHOUT_CLIENT)
78
.if defined(WITHOUT_CLIENT)
67
CONFLICTS=	boxbackup-client-[0-9]*
79
CONFLICTS=	boxbackup-client-[0-9]*
68
PKGNAMESUFFIX=	-server
80
CLIENT_OR_SERVER=-server
69
.elif defined(WITHOUT_SERVER)
81
.elif defined(WITHOUT_SERVER)
70
CONFLICTS=	boxbackup-server-[0-9]*
82
CONFLICTS=	boxbackup-server-[0-9]*
71
PKGNAMESUFFIX=	-client
83
CLIENT_OR_SERVER=-client
72
.endif
84
.endif
73
85
74
post-patch:
86
post-patch:
75
# Replace hard-coded /etc/box with $PREFIX/etc/box
76
	@${REINPLACE_CMD} -e 's,%%PREFIX%%,${PREFIX},' \
77
		${WRKSRC}/lib/common/BoxPortsAndFiles.h
78
# Fix path to perl
79
	@${FIND} ${WRKSRC} -name "*.pl" -exec \
80
		${REINPLACE_CMD} -e 's,/usr/bin/perl,${PERL},g' {} \;
81
	@${REINPLACE_CMD} -e 's,/usr/bin/perl,${PERL},g' \
82
		${WRKSRC}/bin/bbackupd/bbackupd-config \
83
		${WRKSRC}/bin/bbstored/bbstored-certs \
84
		${WRKSRC}/bin/bbstored/bbstored-config \
85
		${WRKSRC}/lib/raidfile/raidfile-config
86
	@${FIND} ${WRKSRC} -name "Makefile.extra" -exec \
87
		${REINPLACE_CMD} -e 's,perl,${PERL},g' {} \;
88
	@${REINPLACE_CMD} -e 's,perl ,${PERL} ,g' \
89
		${WRKSRC}/test/bbackupd/testfiles/bbackupd.conf \
90
		${WRKSRC}/infrastructure/makebuildenv.pl
91
	@${REINPLACE_CMD} -e 's,"perl ,PERL_EXECUTABLE " ,g' \
92
		${WRKSRC}/test/backupstorefix/testbackupstorefix.cpp
93
# Fix hard-coded g++
94
	@${REINPLACE_CMD} -e 's,g++,${CXX},' \
95
		 ${WRKSRC}/infrastructure/makebuildenv.pl
96
.if !defined(WITHOUT_CLIENT)
87
.if !defined(WITHOUT_CLIENT)
97
	@${CAT} ${FILESDIR}/pkg-message.client >> ${PKGMESSAGE}
88
	@${CAT} ${FILESDIR}/pkg-message.client >> ${PKGMESSAGE}
98
.endif
89
.endif
Lines 100-109 Link Here
100
	@${CAT} ${FILESDIR}/pkg-message.server >> ${PKGMESSAGE}
91
	@${CAT} ${FILESDIR}/pkg-message.server >> ${PKGMESSAGE}
101
.endif
92
.endif
102
93
103
.if !defined(WITHOUT_SERVER)
94
do-install:
104
pre-install:
95
	@(cd ${INSTALL_WRKSRC} && ${SETENV} ${MAKE_ENV} ${MAKE} ${MAKE_FLAGS} ${MAKEFILE} ${MAKE_ARGS} ${INSTALL_TARGET})
105
	@${SETENV} PKG_PREFIX=${PREFIX} \
96
.if !defined(WITHOUT_CLIENT)
106
		${SH} ${PKGINSTALL} ${PKGNAME} PRE-INSTALL
97
	@${MKDIR} ${PREFIX}/etc/periodic/monthly; \
98
	 ${INSTALL_SCRIPT} ${WRKDIR}/999.boxbackup ${PREFIX}/etc/periodic/monthly
107
.endif
99
.endif
108
100
109
post-install:
101
post-install:
Lines 115-124 Link Here
115
.endif
107
.endif
116
	@${CAT} ${PKGMESSAGE}
108
	@${CAT} ${PKGMESSAGE}
117
109
118
.if defined(WITH_TESTS)
119
test:
110
test:
120
	 @${ECHO_CMD} "===> Running tests"
111
	 @${ECHO_CMD} "===> Running tests"
121
	 @${MAKE} -C ${WRKSRC} test
112
	 @${MAKE} -C ${WRKSRC} test
122
.endif
123
113
124
.include <bsd.port.post.mk>
114
.include <bsd.port.post.mk>
(-)distinfo (-2 / +2 lines)
Lines 1-2 Link Here
1
SHA256 (boxbackup-0.10.tgz) = 09e88f4ee26b76b3d6e6a0cf3fc374e55d79dd84e9884dfc6a7635593862d361
1
SHA256 (boxbackup-0.11_trunk_2979.tgz) = 8d49959c7bd173de468837a6645883b37f5c2d485ba2245f9178b74e8b1f8c9e
2
SIZE (boxbackup-0.10.tgz) = 842450
2
SIZE (boxbackup-0.11_trunk_2979.tgz) = 2185279
(-)pkg-deinstall (-69 lines)
Removed Link Here
1
#! /bin/sh
2
#
3
# ex:ts=4
4
5
ask() {
6
	local question default answer
7
8
	question=$1
9
	default=$2
10
	if [ -z "${PACKAGE_BUILDING}" -a -z "${BATCH}" ]; then
11
		read -p "${question} [${default}]? " answer
12
	fi
13
	echo ${answer:-${default}}
14
}
15
16
yesno() {
17
	local question default answer
18
19
	question=$1
20
	default=$2
21
	while :; do
22
		answer=$(ask "${question}" "${default}")
23
		case "${answer}" in
24
		[Yy]*)	return 0;;
25
		[Nn]*)	return 1;;
26
		esac
27
		echo "Please answer yes or no."
28
	done
29
}
30
31
delete_account() {
32
	local u pw
33
34
	u=$1
35
	pw=`pw usershow ${u} >/dev/null 2>&1`
36
	if [ $? -eq 0 ]; then
37
		if yesno "Do you want me to remove user \"${u}\"" n; then
38
			pw userdel -n ${u}
39
			echo "Done."
40
		fi
41
	fi
42
}
43
44
case $2 in
45
46
DEINSTALL)
47
	if ps -axc | grep -qw bbstored; then
48
		if yesno "bbstored is still running. Shall I stop it?" y; then
49
			killall bbstored
50
			sleep 2
51
		else
52
			echo "OK ... I hope you know what you are doing."
53
		fi
54
	fi
55
56
	if ps -axc | grep -qw bbackupd; then
57
		if yesno "bbackupd is still running. Shall I stop it?" y; then
58
			killall bbackupd
59
			sleep 2
60
		else
61
			echo "OK ... I hope you know what you are doing."
62
		fi
63
	fi
64
65
	delete_account _bbstored
66
67
	;;
68
69
esac
(-)pkg-descr (-1 / +1 lines)
Lines 10-13 Link Here
10
Once set up, there should be no need for user or administrative
10
Once set up, there should be no need for user or administrative
11
intervention, apart from usual system maintenance.
11
intervention, apart from usual system maintenance.
12
12
13
WWW: http://www.fluffy.co.uk/boxbackup/
13
WWW: http://www.boxbackup.org/
(-)pkg-install (-36 lines)
Removed Link Here
1
#!/bin/sh
2
3
# $FreeBSD: ports/sysutils/boxbackup-devel/pkg-install,v 1.4 2011/01/25 02:46:13 sahil Exp $
4
5
case $2 in
6
PRE-INSTALL)
7
	USER=_bbstored
8
	GROUP=${USER}
9
	UID=505
10
	GID=${UID}
11
12
	if pw group show "${GROUP}" 2>/dev/null; then
13
		echo "You already have a group \"${GROUP}\", so I will use it."
14
	else
15
		if pw groupadd ${GROUP} -g ${GID}; then
16
                        echo "Added group \"${GROUP}\"."
17
                else
18
                        echo "Adding group \"${GROUP}\" failed..."
19
                        exit 1
20
                fi
21
        fi
22
23
	if pw user show "${USER}" 2>/dev/null; then
24
		echo "You already have a user \"${USER}\", so I will use it."
25
	else
26
		if pw useradd ${USER} -u ${UID} -g ${GROUP} -h - \
27
			-d /nonexistent -c "Box Backup Store Daemon"
28
		then
29
			echo "Added user \"${USER}\"."
30
		else
31
			echo "Adding user \"${USER}\" failed..."
32
			exit 1
33
		fi
34
	fi
35
	;;
36
esac
(-)pkg-plist (-9 / +9 lines)
Lines 1-12 Link Here
1
%%CLIENT%%bin/bbackupctl
1
%%CLIENT%%sbin/bbackupctl
2
%%CLIENT%%bin/bbackupd
2
%%CLIENT%%sbin/bbackupd
3
%%CLIENT%%bin/bbackupd-config
3
%%CLIENT%%sbin/bbackupd-config
4
%%CLIENT%%bin/bbackupquery
4
%%CLIENT%%sbin/bbackupquery
5
%%SERVER%%bin/bbstoreaccounts
5
%%SERVER%%sbin/bbstoreaccounts
6
%%SERVER%%bin/bbstored
6
%%SERVER%%sbin/bbstored
7
%%SERVER%%bin/bbstored-certs
7
%%SERVER%%sbin/bbstored-certs
8
%%SERVER%%bin/bbstored-config
8
%%SERVER%%sbin/bbstored-config
9
%%SERVER%%bin/raidfile-config
9
%%SERVER%%sbin/raidfile-config
10
%%CLIENT%%@exec mkdir -p -m 0700 %D/etc/box/bbackupd
10
%%CLIENT%%@exec mkdir -p -m 0700 %D/etc/box/bbackupd
11
%%SERVER%%@exec mkdir -p -m 0700 %D/etc/box/bbstored
11
%%SERVER%%@exec mkdir -p -m 0700 %D/etc/box/bbstored
12
%%CLIENT%%@dirrmtry etc/box/bbackupd
12
%%CLIENT%%@dirrmtry etc/box/bbackupd
(-)files/999.boxbackup.in (+66 lines)
Added Link Here
1
#!/bin/sh
2
#
3
# $FreeBSD$
4
#
5
# Box Backup monthly store compare
6
#
7
# Add the following to /etc/periodic.conf to enable the monthly compare:
8
#  monthly_boxbackup_compare_enable="YES"
9
#
10
# By default the script will run "compare -aq". If you want to change this to
11
# run a full compare, add the following to periodic.conf:
12
#  monthly_boxbackup_compare_args="-a"
13
#
14
# NOTE: This script will cause the monthly periodic(8) run to take much longer
15
# than usual, depending on the size of your backup store.
16
#
17
# If you wish to run this independently of the monthly job, you can create a
18
# new periodic entry as follows:
19
#
20
#  # mkdir /usr/local/etc/periodic/boxbackup
21
#  # mv /usr/local/etc/periodic/monthly/999.boxbackup \
22
#       /usr/local/etc/periodic/boxbackup/100.compare
23
#
24
# Then add the following to /etc/crontab:
25
# 30      5       1       *       *       root    periodic boxbackup
26
#
27
# (adjust the timings as necessary)
28
#
29
# You may also wish to add boxbackup_output="root" to periodic.conf so that
30
# mail comes from periodic rather than cron.
31
32
monthly_boxbackup_compare_enable="NO"
33
monthly_boxbackup_compare_args="-aq"
34
35
if [ -r /etc/defaults/periodic.conf ]
36
then
37
	. /etc/defaults/periodic.conf
38
	source_periodic_confs
39
fi
40
41
rc=0
42
43
case "$monthly_boxbackup_compare_enable" in
44
	[Yy][Ee][Ss])
45
		echo
46
		echo "Running Box Backup store compare:"
47
		%%PREFIX%%/sbin/bbackupquery -q "compare -c $monthly_boxbackup_compare_args" quit
48
49
		# Return codes:
50
		#  1    Comparison was exact
51
		#  2    Differences were found
52
		#  3    An error occured
53
		if [ $? -eq 2 ]; then
54
			echo
55
			echo "Differences were found. Please check the output."
56
			rc=3
57
		elif [ $? -eq 3 ]; then
58
			echo
59
			echo "An error occurred. Please check the output."
60
			rc=3
61
		fi
62
63
		;;
64
esac
65
66
exit $rc
(-)files/bbackupd.in (+27 lines)
Added Link Here
1
#!/bin/sh
2
#
3
# $FreeBSD: ports/sysutils/boxbackup-devel/files/bbackupd.sh.in,v 1.4 2011/01/25 02:46:13 sahil Exp $
4
#
5
# PROVIDE: bbackupd
6
# REQUIRE: NETWORKING
7
# KEYWORD: shutdown
8
9
#
10
# Add the following line to /etc/rc.conf to enable bbackupd:
11
#
12
#bbackupd_enable="YES"
13
#
14
15
: ${bbackupd_enable:="NO"}
16
: ${bbackupd_flags:="%%PREFIX%%/etc/box/bbackupd.conf"}
17
: ${bbackupd_pidfile:="/var/run/bbackupd.pid"}
18
19
. /etc/rc.subr
20
21
name="bbackupd"
22
rcvar=`set_rcvar`
23
command="%%PREFIX%%/bin/bbackupd"
24
extra_commands="reload"
25
26
load_rc_config $name
27
run_rc_command "$1"
(-)files/bbackupd.sh.in (-27 lines)
Removed Link Here
1
#!/bin/sh
2
#
3
# $FreeBSD: ports/sysutils/boxbackup-devel/files/bbackupd.sh.in,v 1.4 2011/01/25 02:46:13 sahil Exp $
4
#
5
# PROVIDE: bbackupd
6
# REQUIRE: NETWORKING
7
# KEYWORD: shutdown
8
9
#
10
# Add the following line to /etc/rc.conf to enable bbackupd:
11
#
12
#bbackupd_enable="YES"
13
#
14
15
: ${bbackupd_enable:="NO"}
16
: ${bbackupd_flags:="%%PREFIX%%/etc/box/bbackupd.conf"}
17
: ${bbackupd_pidfile:="/var/run/bbackupd.pid"}
18
19
. /etc/rc.subr
20
21
name="bbackupd"
22
rcvar=`set_rcvar`
23
command="%%PREFIX%%/bin/bbackupd"
24
extra_commands="reload"
25
26
load_rc_config $name
27
run_rc_command "$1"
(-)files/bbstored.in (+27 lines)
Added Link Here
1
#!/bin/sh
2
#
3
# $FreeBSD: ports/sysutils/boxbackup-devel/files/bbstored.sh.in,v 1.4 2011/01/25 02:46:13 sahil Exp $
4
#
5
# PROVIDE: bbstored
6
# REQUIRE: NETWORKING
7
# KEYWORD: shutdown
8
9
#
10
# Add the following line to /etc/rc.conf to enable bbstored:
11
#
12
#bbstored_enable="YES"
13
#
14
15
: ${bbstored_enable:="NO"}
16
: ${bbstored_flags:="%%PREFIX%%/etc/box/bbstored.conf"}
17
: ${bbstored_pidfile:="/var/run/bbstored.pid"}
18
19
. /etc/rc.subr
20
21
name="bbstored"
22
rcvar=`set_rcvar`
23
command="%%PREFIX%%/bin/bbstored"
24
extra_commands="reload"
25
26
load_rc_config $name
27
run_rc_command "$1"
(-)files/bbstored.sh.in (-27 lines)
Removed Link Here
1
#!/bin/sh
2
#
3
# $FreeBSD: ports/sysutils/boxbackup-devel/files/bbstored.sh.in,v 1.4 2011/01/25 02:46:13 sahil Exp $
4
#
5
# PROVIDE: bbstored
6
# REQUIRE: NETWORKING
7
# KEYWORD: shutdown
8
9
#
10
# Add the following line to /etc/rc.conf to enable bbstored:
11
#
12
#bbstored_enable="YES"
13
#
14
15
: ${bbstored_enable:="NO"}
16
: ${bbstored_flags:="%%PREFIX%%/etc/box/bbstored.conf"}
17
: ${bbstored_pidfile:="/var/run/bbstored.pid"}
18
19
. /etc/rc.subr
20
21
name="bbstored"
22
rcvar=`set_rcvar`
23
command="%%PREFIX%%/bin/bbstored"
24
extra_commands="reload"
25
26
load_rc_config $name
27
run_rc_command "$1"
(-)files/patch-configure.ac (-35 lines)
Removed Link Here
1
--- configure.ac.orig	Thu Mar 16 22:26:39 2006
2
+++ configure.ac	Thu Mar 16 22:28:31 2006
3
@@ -2,7 +2,7 @@
4
 # Process this file with autoconf to produce a configure script.
5
 
6
 AC_PREREQ(2.59)
7
-AC_INIT([Box Backup], 0.09, [box@fluffy.co.uk])
8
+AC_INIT([Box Backup], 0.10, [box@fluffy.co.uk])
9
 AC_CONFIG_SRCDIR([lib/common/Box.h])
10
 AC_CONFIG_HEADERS([lib/common/BoxConfig.h])
11
 
12
@@ -26,6 +26,12 @@
13
   # Use -rdynamic if we have gcc. This is needed for backtrace
14
   AC_SUBST([LDADD_RDYNAMIC], ['-rdynamic'])
15
 fi
16
+AC_PATH_PROG([PERL], [perl], [no])
17
+if test "x$PERL" != "xno"; then
18
+  AC_DEFINE_UNQUOTED([PERL_EXECUTABLE], ["$PERL"], [Location of the perl executable])
19
+else
20
+  AC_MSG_ERROR([[perl executable was not found]])
21
+fi
22
 
23
 
24
 ### Checks for libraries.
25
@@ -208,8 +214,8 @@
26
 
27
 # Configure the Box build system
28
 echo
29
-perl ./infrastructure/makebuildenv.pl &&
30
-  perl ./infrastructure/makeparcels.pl
31
+$PERL ./infrastructure/makebuildenv.pl &&
32
+  $PERL ./infrastructure/makeparcels.pl
33
 
34
 # Write summary of important info
35
 cat <<EOC
(-)files/patch-lib-common-BoxPortsAndFiles.h (-25 lines)
Removed Link Here
1
--- lib/common/BoxPortsAndFiles.h.orig	Thu Mar 16 19:28:09 2006
2
+++ lib/common/BoxPortsAndFiles.h	Thu Mar 16 19:28:38 2006
3
@@ -53,7 +53,7 @@
4
 
5
 // Backup store daemon
6
 #define BOX_PORT_BBSTORED					(BOX_PORT_BASE+1)
7
-#define BOX_FILE_BBSTORED_DEFAULT_CONFIG	"/etc/box/bbstored.conf"
8
+#define BOX_FILE_BBSTORED_DEFAULT_CONFIG	"%%PREFIX%%/etc/box/bbstored.conf"
9
 // directory within the RAIDFILE root for the backup store daemon
10
 #define BOX_RAIDFILE_ROOT_BBSTORED			"backup"
11
 
12
@@ -61,11 +61,11 @@
13
 #ifdef WIN32
14
 #define BOX_FILE_BBACKUPD_DEFAULT_CONFIG	"C:\\Program Files\\Box Backup\\bbackupd.conf"
15
 #else
16
-#define BOX_FILE_BBACKUPD_DEFAULT_CONFIG	"/etc/box/bbackupd.conf"
17
+#define BOX_FILE_BBACKUPD_DEFAULT_CONFIG	"%%PREFIX%%/etc/box/bbackupd.conf"
18
 #endif
19
 
20
 // RaidFile conf location default
21
-#define BOX_FILE_RAIDFILE_DEFAULT_CONFIG	"/etc/box/raidfile.conf"
22
+#define BOX_FILE_RAIDFILE_DEFAULT_CONFIG	"%%PREFIX%%/etc/box/raidfile.conf"
23
 
24
 // Default name of the named pipe
25
 #define BOX_NAMED_PIPE_NAME L"\\\\.\\pipe\\boxbackup"
(-)files/pkg-message.client (-2 / +2 lines)
Lines 1-4 Link Here
1
1
2
To run bbackupd at startup, add bbackupd_enable="YES" to /etc/rc.conf
2
To run bbackupd at startup, add bbackupd_enable="YES" to /etc/rc.conf
3
Please see http://www.fluffy.co.uk/boxbackup/client.html for client
3
Please see http://www.boxbackup.org/client.html for client configuration
4
configuration options
4
options
(-)files/pkg-message.server (-2 / +2 lines)
Lines 1-4 Link Here
1
1
2
To run bbstored at startup, add bbstored_enable="YES" to /etc/rc.conf
2
To run bbstored at startup, add bbstored_enable="YES" to /etc/rc.conf
3
Please see http://www.fluffy.co.uk/boxbackup/server.html for server
3
Please see http://www.boxbackup.org/server.html for server configuration
4
configuration options
4
options

Return to bug 159966