mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-21 00:25:50 +00:00
- Our date(1) does not support -r switch the way GNU date(1) does; instead of
pulling gdate(1) dependency use stat(1) command to obtain modification time - Fix whitespace in Makefile, improve `do-install' target, and fix a typo and bogus EOL space in pkg-descr while I'm here PR: 192072
This commit is contained in:
parent
3ed93d2cde
commit
000836e31f
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=362804
@ -3,29 +3,30 @@
|
||||
|
||||
PORTNAME= tartarus
|
||||
PORTVERSION= 0.9.8
|
||||
PORTREVISION= 1
|
||||
PORTREVISION= 2
|
||||
CATEGORIES= sysutils
|
||||
MASTER_SITES= http://wertarbyte.de/tartarus/ \
|
||||
http://ftp.wilbury.sk/pub/FreeBSD/local/distfiles/
|
||||
http://ftp.wilbury.sk/pub/FreeBSD/local/distfiles/
|
||||
|
||||
MAINTAINER= otis@sk.FreeBSD.org
|
||||
COMMENT= Wrappers around common unix tools for simplified backup solution
|
||||
COMMENT= Wrappers around common Unix tools for simplified backup solution
|
||||
|
||||
LICENSE= GPLv3
|
||||
LICENSE_FILE= ${WRKSRC}/COPYING
|
||||
|
||||
RUN_DEPENDS= ${LOCALBASE}/bin/bash:${PORTSDIR}/shells/bash \
|
||||
${LOCALBASE}/bin/gtar:${PORTSDIR}/archivers/gtar \
|
||||
${LOCALBASE}/bin/curl:${PORTSDIR}/ftp/curl
|
||||
${LOCALBASE}/bin/gtar:${PORTSDIR}/archivers/gtar \
|
||||
${LOCALBASE}/bin/curl:${PORTSDIR}/ftp/curl
|
||||
|
||||
USES= gmake perl5 shebangfix tar:bzip2
|
||||
SHEBANG_FILES= ${WRKSRC}/bin/*
|
||||
|
||||
do-install:
|
||||
cd ${WRKSRC}/bin; ${INSTALL_SCRIPT} charon charon.ftp charon.local \
|
||||
cd ${WRKSRC}/bin && ${INSTALL_SCRIPT} charon charon.ftp charon.local \
|
||||
charon.pipe orpheus tartarus ${STAGEDIR}${PREFIX}/bin
|
||||
cd ${WRKSRC}/lib; ${COPYTREE_SHARE} Tartarus ${STAGEDIR}${SITE_PERL}
|
||||
cd ${WRKSRC}/man; ${INSTALL_MAN} charon.1 charon.ftp.1 charon.local.1 \
|
||||
charon.pipe.1 tartarus.1 ${STAGEDIR}${MANPREFIX}/man/man1
|
||||
cd ${WRKSRC}/lib && ${COPYTREE_SHARE} Tartarus ${STAGEDIR}${SITE_PERL}
|
||||
cd ${WRKSRC}/man && ${INSTALL_MAN} charon.ftp.1 charon.local.1 \
|
||||
charon.pipe.1 tartarus.1 ${STAGEDIR}${PREFIX}/man/man1
|
||||
${LN} -sf charon.ftp.1 ${STAGEDIR}${PREFIX}/man/man1/charon.1
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
@ -56,6 +56,15 @@
|
||||
#=back
|
||||
#
|
||||
#=cut
|
||||
@@ -616,7 +649,7 @@
|
||||
constructFilename() {
|
||||
local INC=""
|
||||
if isEnabled "$INCREMENTAL_BACKUP"; then
|
||||
- local BASEDON=$(date -r "$INCREMENTAL_TIMESTAMP_FILE" '+%Y%m%d-%H%M')
|
||||
+ local BASEDON=$(stat -f '%Sm' -t '%Y%m%d-%H%M' "$INCREMENTAL_TIMESTAMP_FILE")
|
||||
INC="-inc-${BASEDON}"
|
||||
fi
|
||||
local CHUNK=""
|
||||
@@ -638,10 +671,10 @@
|
||||
case "$ASSEMBLY_METHOD" in
|
||||
tar|"")
|
||||
|
@ -6,7 +6,7 @@ It has the ability to do full as well as incremental backups and is published
|
||||
by Stefan Tomanek under the rules of the GPL.
|
||||
|
||||
Instead of relying on single usage backup scripts or complicated command lines,
|
||||
tartarus reads its configuration from easily managable configuration files.
|
||||
tartarus reads its configuration from easily manageable configuration files.
|
||||
It can store gathered data in regular files, or upload the backup directly (on
|
||||
the fly) to an FTP server. For more specific usage scenarios, custom methods
|
||||
can also be defined within the config file.
|
||||
|
Loading…
Reference in New Issue
Block a user