Changeset 2308
- Timestamp:
- 01/10/2008 13:37:21 (3 years ago)
- Location:
- box/james/FreeBSD
- Files:
-
- 1 added
- 4 edited
-
Makefile (modified) (6 diffs)
-
files/999.boxbackup.in (added)
-
files/pkg-message.client (modified) (1 diff)
-
files/pkg-message.server (modified) (1 diff)
-
pkg-plist (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
box/james/FreeBSD/Makefile
r2078 r2308 7 7 8 8 PORTNAME= boxbackup 9 PORTVERSION= 0.11 9 DISTVERSION= 0.11rc2 10 10 CATEGORIES= sysutils 11 11 MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} 12 12 MASTER_SITE_SUBDIR=${PORTNAME} 13 PKGNAMESUFFIX= ${CLIENT_OR_SERVER} 13 14 EXTRACT_SUFX= .tgz 14 15 … … 19 20 GNU_CONFIGURE= yes 20 21 USE_PERL5= yes 21 USE_GCC= 3.2+ 22 USE_AUTOTOOLS= autoconf:261 aclocal:19 autoheader:261 22 USE_AUTOTOOLS= autoconf:262 aclocal:19 autoheader:262 23 23 ACLOCAL_ARGS+= -I ${WRKSRC}/infrastructure/m4 24 24 … … 58 58 ALL_TARGET+= build-backup-client 59 59 INSTALL_TARGET+=install-backup-client 60 MAN5+= bbackupd.conf 61 MAN8+= bbackupd.8 bbackupctl.8 bbackupd-config.8 bbackupquery.8 62 SUB_FILES+= 999.boxbackup 60 63 .else 61 64 PLIST_SUB+= CLIENT="@comment " … … 67 70 ALL_TARGET+= build-backup-server 68 71 INSTALL_TARGET+=install-backup-server 72 MAN5+= bbstored.conf raidfile.conf 73 MAN8+= bbstored.8 bbstoreaccounts.8 bbstored-certs.8 bbstored-config.8 raidfile-config.8 69 74 .else 70 75 PLIST_SUB+= SERVER="@comment " … … 74 79 .if defined(WITHOUT_CLIENT) 75 80 CONFLICTS= boxbackup-client-[0-9]* 76 PKGNAMESUFFIX=-server81 CLIENT_OR_SERVER=-server 77 82 .elif defined(WITHOUT_SERVER) 78 83 CONFLICTS= boxbackup-server-[0-9]* 79 PKGNAMESUFFIX=-client84 CLIENT_OR_SERVER=-client 80 85 .endif 81 86 … … 93 98 ${SH} ${PKGINSTALL} ${PKGNAME} PRE-INSTALL 94 99 .endif 100 101 do-install: 102 @(cd ${INSTALL_WRKSRC} && ${SETENV} ${MAKE_ENV} ${MAKE} ${MAKE_FLAGS} ${MAKEFILE} ${MAKE_ARGS} ${INSTALL_TARGET}) 103 .if !defined(WITHOUT_CLIENT) 104 @${MKDIR} ${PREFIX}/etc/periodic/monthly; \ 105 ${INSTALL_SCRIPT} ${WRKDIR}/999.boxbackup ${PREFIX}/etc/periodic/monthly 106 .endif 107 .for manpage in ${MAN5} 108 @${INSTALL_MAN} ${WRKSRC}/documentation/${manpage} ${PREFIX}/man/man5 109 .endfor 110 .for manpage in ${MAN8} 111 @${INSTALL_MAN} ${WRKSRC}/documentation/${manpage} ${PREFIX}/man/man8 112 .endfor 95 113 96 114 post-install: -
box/james/FreeBSD/files/pkg-message.client
r2008 r2308 1 1 2 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 4 configuration options 3 Please read bbackupd-config(8) and bbackupd.conf(5) for client configuration 4 options. 5 6 If you wish to run an automatic store compare every month, add 7 monthly_boxbackup_compare_enable="YES" to /etc/periodic.conf. 8 By default this runs a quick compare. To change this, set 9 monthly_boxbackup_compare_args as appropriate in /etc/periodic.conf. 10 See bbackupquery(8). 11 12 Warning: The monthly periodic script will cause the monthly periodic(8) run to 13 take much longer than usual, depending on the size of your backup store. Please 14 read the comments in the script if you wish to run this as a separate job. 15 -
box/james/FreeBSD/files/pkg-message.server
r2008 r2308 1 1 2 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 server4 configuration options 3 Please read bbstored-config(8) and bbstored.conf(5) for server configuration 4 options. -
box/james/FreeBSD/pkg-plist
r2008 r2308 1 %%CLIENT%%bin/bbackupctl 2 %%CLIENT%%bin/bbackupd 3 %%CLIENT%%bin/bbackupd-config 4 %%CLIENT%%bin/bbackupquery 5 %%SERVER%%bin/bbstoreaccounts 6 %%SERVER%%bin/bbstored 7 %%SERVER%%bin/bbstored-certs 8 %%SERVER%%bin/bbstored-config 9 %%SERVER%%bin/raidfile-config 1 %%CLIENT%%sbin/bbackupctl 2 %%CLIENT%%sbin/bbackupd 3 %%CLIENT%%sbin/bbackupd-config 4 %%CLIENT%%sbin/bbackupquery 5 %%CLIENT%%etc/periodic/monthly/999.boxbackup 6 %%SERVER%%sbin/bbstoreaccounts 7 %%SERVER%%sbin/bbstored 8 %%SERVER%%sbin/bbstored-certs 9 %%SERVER%%sbin/bbstored-config 10 %%SERVER%%sbin/raidfile-config 10 11 %%CLIENT%%@exec mkdir -p -m 0700 %D/etc/box/bbackupd 11 12 %%SERVER%%@exec mkdir -p -m 0700 %D/etc/box/bbstored 13 %%CLIENT%%@exec mkdir -p -m 0755 %D/etc/periodic/monthly 12 14 %%CLIENT%%@dirrmtry etc/box/bbackupd 13 15 %%SERVER%%@dirrmtry etc/box/bbstored 16 %%CLIENT%%@dirrmtry etc/periodic/monthly 17 %%CLIENT%%@dirrmtry etc/periodic 14 18 @dirrmtry etc/box
Note: See TracChangeset
for help on using the changeset viewer.
