From owner-svn-ports-all@FreeBSD.ORG Sun Oct 14 21:09:22 2012 Return-Path: Delivered-To: svn-ports-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 1C9C34BB; Sun, 14 Oct 2012 21:09:22 +0000 (UTC) (envelope-from madpilot@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:4f8:fff6::2c]) by mx1.freebsd.org (Postfix) with ESMTP id DEE618FC0A; Sun, 14 Oct 2012 21:09:21 +0000 (UTC) Received: from svn.freebsd.org (localhost [127.0.0.1]) by svn.freebsd.org (8.14.4/8.14.4) with ESMTP id q9EL9LAh043073; Sun, 14 Oct 2012 21:09:21 GMT (envelope-from madpilot@svn.freebsd.org) Received: (from madpilot@localhost) by svn.freebsd.org (8.14.4/8.14.4/Submit) id q9EL9LWO043070; Sun, 14 Oct 2012 21:09:21 GMT (envelope-from madpilot@svn.freebsd.org) Message-Id: <201210142109.q9EL9LWO043070@svn.freebsd.org> From: Guido Falsi Date: Sun, 14 Oct 2012 21:09:21 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r305895 - head/sysutils/zfsnap X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 14 Oct 2012 21:09:22 -0000 Author: madpilot Date: Sun Oct 14 21:09:21 2012 New Revision: 305895 URL: http://svn.freebsd.org/changeset/ports/305895 Log: - Add hourly deletion script - While I'm here, trim Makefile headers PR: ports/172665 Submitted by: Aldis Berjoza (maintainer) Feature safe: yes Modified: head/sysutils/zfsnap/Makefile (contents, props changed) head/sysutils/zfsnap/pkg-plist (contents, props changed) Modified: head/sysutils/zfsnap/Makefile ============================================================================== --- head/sysutils/zfsnap/Makefile Sun Oct 14 21:05:33 2012 (r305894) +++ head/sysutils/zfsnap/Makefile Sun Oct 14 21:09:21 2012 (r305895) @@ -1,12 +1,9 @@ -# New ports collection makefile for: zfsnap -# Date created: 2010-08-02 -# Whom: Aldis Berjoza -# +# Created by: Aldis Berjoza # $FreeBSD$ -# PORTNAME= zfsnap PORTVERSION= 1.10.1 +PORTREVISION= 1 CATEGORIES= sysutils MASTER_SITES= http://files.bsdroot.lv/my/FreeBSD/distfiles/ DISTNAME= zfSnap-${PORTVERSION} @@ -25,7 +22,7 @@ do-patch: .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 +32,7 @@ do-install: @${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 Modified: head/sysutils/zfsnap/pkg-plist ============================================================================== --- head/sysutils/zfsnap/pkg-plist Sun Oct 14 21:05:33 2012 (r305894) +++ head/sysutils/zfsnap/pkg-plist Sun Oct 14 21:09:21 2012 (r305895) @@ -2,6 +2,7 @@ sbin/zfSnap %%PERIODICDIR%%/daily/402.zfSnap %%PERIODICDIR%%/daily/403.zfSnap_delete %%PERIODICDIR%%/hourly/402.zfSnap +%%PERIODICDIR%%/hourly/403.zfSnap_delete %%PERIODICDIR%%/monthly/402.zfSnap %%PERIODICDIR%%/monthly/403.zfSnap_delete %%PERIODICDIR%%/reboot/402.zfSnap