mirror of
https://git.freebsd.org/ports.git
synced 2025-07-18 01:39:16 -04:00
- Always use /var/run/bbackupd.pid for the server pidfile
- The default configuration directory has moved from /usr/local/etc/box to /usr/local/etc/boxbackup PR: ports/175497 Submitted by: thompsa@ Approved by: James O'Gorman <james@netinertia.co.uk> (maintainer)
This commit is contained in:
parent
0bf5d9e031
commit
a6ba17e7b8
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=311807
6 changed files with 39 additions and 13 deletions
10
UPDATING
10
UPDATING
|
@ -5,6 +5,16 @@ they are unavoidable.
|
||||||
You should get into the habit of checking this file for changes each time
|
You should get into the habit of checking this file for changes each time
|
||||||
you update your ports collection, before attempting any port upgrades.
|
you update your ports collection, before attempting any port upgrades.
|
||||||
|
|
||||||
|
20130206:
|
||||||
|
AFFECTS: users of sysutils/boxbackup
|
||||||
|
AUTHOR: bdrewery@FreeBSD.org
|
||||||
|
|
||||||
|
The default location of the configuration files changed from
|
||||||
|
/usr/local/etc/box to /usr/local/etc/boxbackup. Move your
|
||||||
|
configuration after upgrading:
|
||||||
|
|
||||||
|
mv /usr/local/etc/box /usr/local/etc/boxbackup
|
||||||
|
|
||||||
20130206:
|
20130206:
|
||||||
AFFECTS: users of x11/wbar
|
AFFECTS: users of x11/wbar
|
||||||
AUTHOR: nivit@FreeBSD.org
|
AUTHOR: nivit@FreeBSD.org
|
||||||
|
|
|
@ -3,7 +3,7 @@
|
||||||
|
|
||||||
PORTNAME= boxbackup
|
PORTNAME= boxbackup
|
||||||
PORTVERSION= 0.11.1
|
PORTVERSION= 0.11.1
|
||||||
PORTREVISION= 2
|
PORTREVISION= 3
|
||||||
CATEGORIES= sysutils
|
CATEGORIES= sysutils
|
||||||
MASTER_SITES= SF
|
MASTER_SITES= SF
|
||||||
PKGNAMESUFFIX= ${CLIENT_OR_SERVER}
|
PKGNAMESUFFIX= ${CLIENT_OR_SERVER}
|
||||||
|
@ -89,7 +89,8 @@ post-patch:
|
||||||
@${CAT} ${FILESDIR}/pkg-message.client >> ${PKGMESSAGE}
|
@${CAT} ${FILESDIR}/pkg-message.client >> ${PKGMESSAGE}
|
||||||
.endif
|
.endif
|
||||||
.if !defined(WITHOUT_SERVER)
|
.if !defined(WITHOUT_SERVER)
|
||||||
@${CAT} ${FILESDIR}/pkg-message.server >> ${PKGMESSAGE}
|
@${SED} -e 's,%%PREFIX%%,${PREFIX},g' \
|
||||||
|
${FILESDIR}/pkg-message.server.in >> ${PKGMESSAGE}
|
||||||
.endif
|
.endif
|
||||||
|
|
||||||
post-configure:
|
post-configure:
|
||||||
|
@ -97,12 +98,12 @@ post-configure:
|
||||||
|
|
||||||
post-install:
|
post-install:
|
||||||
.if !defined(WITHOUT_CLIENT)
|
.if !defined(WITHOUT_CLIENT)
|
||||||
@${MKDIR} -m 0700 ${PREFIX}/etc/box/bbackupd
|
@${MKDIR} -m 0700 ${PREFIX}/etc/boxbackup/bbackupd
|
||||||
@${MKDIR} ${PREFIX}/etc/periodic/monthly
|
@${MKDIR} ${PREFIX}/etc/periodic/monthly
|
||||||
${INSTALL_SCRIPT} ${WRKDIR}/999.boxbackup ${PREFIX}/etc/periodic/monthly
|
${INSTALL_SCRIPT} ${WRKDIR}/999.boxbackup ${PREFIX}/etc/periodic/monthly
|
||||||
.endif
|
.endif
|
||||||
.if !defined(WITHOUT_SERVER)
|
.if !defined(WITHOUT_SERVER)
|
||||||
@${MKDIR} -m 0700 ${PREFIX}/etc/box/bbstored
|
@${MKDIR} -m 0700 ${PREFIX}/etc/boxbackup/bbstored
|
||||||
.endif
|
.endif
|
||||||
@${CAT} ${PKGMESSAGE}
|
@${CAT} ${PKGMESSAGE}
|
||||||
|
|
||||||
|
|
11
sysutils/boxbackup/files/patch-bbackupd-config
Normal file
11
sysutils/boxbackup/files/patch-bbackupd-config
Normal file
|
@ -0,0 +1,11 @@
|
||||||
|
--- bin/bbackupd/bbackupd-config.in.orig 2013-01-25 13:17:39.942303010 +1300
|
||||||
|
+++ bin/bbackupd/bbackupd-config.in 2013-01-25 13:18:04.021348906 +1300
|
||||||
|
@@ -445,7 +445,7 @@
|
||||||
|
|
||||||
|
Server
|
||||||
|
{
|
||||||
|
- PidFile = $working_dir/bbackupd.pid
|
||||||
|
+ PidFile = /var/run/bbackupd.pid
|
||||||
|
}
|
||||||
|
|
||||||
|
|
|
@ -1,4 +0,0 @@
|
||||||
|
|
||||||
To run bbstored at startup, add bbstored_enable="YES" to /etc/rc.conf
|
|
||||||
Please see http://www.boxbackup.org/server.html for server configuration
|
|
||||||
options
|
|
8
sysutils/boxbackup/files/pkg-message.server.in
Normal file
8
sysutils/boxbackup/files/pkg-message.server.in
Normal file
|
@ -0,0 +1,8 @@
|
||||||
|
|
||||||
|
To run bbstored at startup, add bbstored_enable="YES" to /etc/rc.conf
|
||||||
|
Please see http://www.boxbackup.org/server.html for server configuration
|
||||||
|
options
|
||||||
|
|
||||||
|
The default location of configuration files changed from %%PREFIX%%/etc/box to
|
||||||
|
%%PREFIX%%/etc/boxbackup, if you are upgrading then run
|
||||||
|
mv %%PREFIX%%/etc/box %%PREFIX%%/etc/boxbackup
|
|
@ -7,11 +7,11 @@
|
||||||
%%SERVER%%sbin/bbstored-certs
|
%%SERVER%%sbin/bbstored-certs
|
||||||
%%SERVER%%sbin/bbstored-config
|
%%SERVER%%sbin/bbstored-config
|
||||||
%%SERVER%%sbin/raidfile-config
|
%%SERVER%%sbin/raidfile-config
|
||||||
%%CLIENT%%@exec mkdir -p -m 0700 %D/etc/box/bbackupd
|
%%CLIENT%%@exec mkdir -p -m 0700 %D/etc/boxbackup/bbackupd
|
||||||
%%SERVER%%@exec mkdir -p -m 0700 %D/etc/box/bbstored
|
%%SERVER%%@exec mkdir -p -m 0700 %D/etc/boxbackup/bbstored
|
||||||
%%CLIENT%%@dirrmtry etc/box/bbackupd
|
%%CLIENT%%@dirrmtry etc/boxbackup/bbackupd
|
||||||
%%SERVER%%@dirrmtry etc/box/bbstored
|
%%SERVER%%@dirrmtry etc/boxbackup/bbstored
|
||||||
etc/periodic/monthly/999.boxbackup
|
etc/periodic/monthly/999.boxbackup
|
||||||
@dirrmtry etc/periodic/monthly
|
@dirrmtry etc/periodic/monthly
|
||||||
@dirrmtry etc/periodic
|
@dirrmtry etc/periodic
|
||||||
@dirrmtry etc/box
|
@dirrmtry etc/boxbackup
|
||||||
|
|
Loading…
Add table
Reference in a new issue