ports/172665: [PATCH] sysutils/zfsnap add hourly deletion script
Aldis Berjoza
graudeejs at gmail.com
Sat Oct 13 18:20:00 UTC 2012
>Number: 172665
>Category: ports
>Synopsis: [PATCH] sysutils/zfsnap add hourly deletion script
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: maintainer-update
>Submitter-Id: current-users
>Arrival-Date: Sat Oct 13 18:20:00 UTC 2012
>Closed-Date:
>Last-Modified:
>Originator: Aldis Berjoza
>Release:
>Organization:
>Environment:
>Description:
Add hourly deletion script
>How-To-Repeat:
>Fix:
Patch attached with submission follows:
diff -u zfsnap.bak/Makefile zfsnap/Makefile
--- zfsnap.bak/Makefile 2012-10-13 21:05:12.209356942 +0300
+++ zfsnap/Makefile 2012-10-13 21:06:34.533356246 +0300
@@ -7,6 +7,7 @@
PORTNAME= zfsnap
PORTVERSION= 1.10.1
+PORTREVISION= 1
CATEGORIES= sysutils
MASTER_SITES= http://files.bsdroot.lv/my/FreeBSD/distfiles/
DISTNAME= zfSnap-${PORTVERSION}
@@ -25,7 +26,7 @@
.for period in hourly daily weekly monthly reboot
@${SED} -e "s/xPERIODICx/${period}/g" -e "s#xPREFIXx#${PREFIX}/sbin#g" ${WRKSRC}/xPERIODICx_zfSnap.sh > ${WRKSRC}/${period}_zfSnap.sh
.endfor
-.for period in daily weekly monthly
+.for period in hourly daily weekly monthly
@${SED} -e "s/xPERIODICx/${period}/g" -e "s#xPREFIXx#${PREFIX}/sbin#g" ${WRKSRC}/xPERIODICx_zfSnap_delete.sh > ${WRKSRC}/${period}_zfSnap_delete.sh
.endfor
@@ -35,7 +36,7 @@
@${MKDIR} ${PERIODICDIR}/${period}
@${INSTALL_SCRIPT} ${WRKSRC}/${period}_zfSnap.sh ${PERIODICDIR}/${period}/402.zfSnap
.endfor
-.for period in daily weekly monthly
+.for period in hourly daily weekly monthly
@${INSTALL_SCRIPT} ${WRKSRC}/${period}_zfSnap_delete.sh ${PERIODICDIR}/${period}/403.zfSnap_delete
.endfor
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list