Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 13 Oct 2012 18:10:08 GMT
From:      Aldis Berjoza <graudeejs@gmail.com>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/172665: [PATCH] sysutils/zfsnap add hourly deletion script
Message-ID:  <201210131810.q9DIA80O065396@red.freebsd.org>
Resent-Message-ID: <201210131820.q9DIK0TM071344@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>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:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201210131810.q9DIA80O065396>