FreeBSD Bugzilla – Attachment 167553 Details for
Bug 207560
New port: sysutils/tarsnap-periodic -- script that uses periodic(8) to automate tarsnap backups
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
tarsnap-periodic.shar -- bugfix + bumping commit and port version
file_207560.txt (text/plain), 3.17 KB, created by
Kamila Součková
on 2016-02-29 09:25:26 UTC
(
hide
)
Description:
tarsnap-periodic.shar -- bugfix + bumping commit and port version
Filename:
MIME Type:
Creator:
Kamila Součková
Created:
2016-02-29 09:25:26 UTC
Size:
3.17 KB
patch
obsolete
># This is a shell archive. Save it in a file, remove anything before ># this line, and then unpack it by entering "sh file". Note, it may ># create directories; files and directories will be owned by you and ># have default permissions. ># ># This archive contains: ># ># tarsnap-periodic ># tarsnap-periodic/pkg-descr ># tarsnap-periodic/distinfo ># tarsnap-periodic/pkg-message ># tarsnap-periodic/Makefile ># >echo c - tarsnap-periodic >mkdir -p tarsnap-periodic > /dev/null 2>&1 >echo x - tarsnap-periodic/pkg-descr >sed 's/^X//' >tarsnap-periodic/pkg-descr << '55bad58d8adabe8af7f6ee6e60c8dc16' >XScript that uses the periodic system to create and manage tarsnap >Xbackups. Easily configured via /etc/periodic.conf >X >XWWW: https://github.com/anotherkamila/tarsnap-periodic >55bad58d8adabe8af7f6ee6e60c8dc16 >echo x - tarsnap-periodic/distinfo >sed 's/^X//' >tarsnap-periodic/distinfo << '99edaad9ef56d69e5f91af927c996c24' >XSHA256 (anotherkamila-tarsnap-periodic-1.0.20160229-e593907_GH0.tar.gz) = 993515aa412b7e6d2784081f51305a5202b81d11fa420d6ad94ed1ce85bba0eb >XSIZE (anotherkamila-tarsnap-periodic-1.0.20160229-e593907_GH0.tar.gz) = 2107 >99edaad9ef56d69e5f91af927c996c24 >echo x - tarsnap-periodic/pkg-message >sed 's/^X//' >tarsnap-periodic/pkg-message << 'f1af31ec63e10903b53435c356c1fcaf' >X >XIn order to enable periodic tarsnap backups you need >Xto add these lines to your /etc/periodic.conf >X >Xdaily_tarsnap_backup_enable="YES" >Xdaily_tarsnap_backup_paths="/" >Xdaily_tarsnap_backup_keep=7 >Xweekly_tarsnap_backup_enable="YES" >Xweekly_tarsnap_backup_paths="/" >Xweekly_tarsnap_backup_keep=5 >Xmonthly_tarsnap_backup_enable="YES" >Xmonthly_tarsnap_backup_paths="/" >Xmonthly_tarsnap_backup_keep=2 >f1af31ec63e10903b53435c356c1fcaf >echo x - tarsnap-periodic/Makefile >sed 's/^X//' >tarsnap-periodic/Makefile << '4b9c43d5f60667beca68d001ebe6d34f' >X# Created by: Kamila Souckova <kamila@ksp.sk> >X# $FreeBSD$ >X >XPORTNAME= tarsnap-periodic >XPORTVERSION= 1.0.20160229 >XCATEGORIES= sysutils >X >XMAINTAINER= kamila@ksp.sk >XCOMMENT= Simple way of making tarsnap backups using the periodic system >X >XRUN_DEPENDS= tarsnap:${PORTSDIR}/sysutils/tarsnap >X >XUSE_GITHUB= yes >XGH_ACCOUNT= anotherkamila >XGH_TAGNAME= e593907 >X >XNO_ARCH= yes >XNO_BUILD= yes >X >XPERIODIC_DIRS= etc/periodic/daily etc/periodic/weekly \ >X etc/periodic/monthly etc/periodic >X >XPERIODIC_FILES= etc/periodic/daily/000.tarsnap-backup \ >X etc/periodic/weekly/000.tarsnap-backup \ >X etc/periodic/monthly/000.tarsnap-backup >X >XSCRIPT_FILE= bin/tarsnap-backup >X >XPLIST_FILES= ${PERIODIC_FILES} ${SCRIPT_FILE} >X >Xpost-patch: >X @${REINPLACE_CMD} -e "s|TARSNAP_CMD=.*|TARSNAP_CMD=${PREFIX}/bin/tarsnap|" \ >X ${WRKSRC}/${SCRIPT_FILE} >X.for _file in ${PERIODIC_FILES} >X @${REINPLACE_CMD} -e "s|tarsnap-backup|${PREFIX}/bin/tarsnap-backup|" \ >X ${WRKSRC}/${_file} >X.endfor >X >Xdo-install: >X ${INSTALL_SCRIPT} ${WRKSRC}/bin/tarsnap-backup ${STAGEDIR}${PREFIX}/bin >X.for _dir in ${PERIODIC_DIRS} >X @${MKDIR} ${STAGEDIR}${PREFIX}/${_dir} >X.endfor >X >X.for _file in ${PERIODIC_FILES} >X ${INSTALL_SCRIPT} ${WRKSRC}/${_file} ${STAGEDIR}${PREFIX}/${_file} >X.endfor >X >X.include <bsd.port.mk> >4b9c43d5f60667beca68d001ebe6d34f >exit
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Flags:
rakuco
:
maintainer-approval+
Actions:
View
Attachments on
bug 207560
:
167514
|
167515
| 167553